Browse Source

logo & menu icon

master
liujiangyong 2 years ago
parent
commit
84af18b975
  1. 9
      web/client/assets/images/logo.svg
  2. 3
      web/client/assets/images/menu/home.svg
  3. 6
      web/client/assets/images/menu/issue.svg
  4. 3
      web/client/assets/images/menu/org.svg
  5. 3
      web/client/assets/images/menu/structure.svg
  6. 8
      web/client/assets/images/menu/xun.svg
  7. 6
      web/client/src/layout/components/header/index.js
  8. 2
      web/client/src/sections/issueHandle/nav-item.js
  9. 2
      web/client/src/sections/organization/nav-item.js
  10. 2
      web/client/src/sections/patrolManage/nav-item.js
  11. 2
      web/client/src/sections/projectRegime/nav-item.js
  12. 2
      web/client/src/sections/shouye/nav-item.js

9
web/client/assets/images/logo.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.0 MiB

3
web/client/assets/images/menu/home.svg

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont">
<path d="M19.7616274,8.25891126 L17.9386377,6.51787661 L11.9136569,0.763757181 C10.8460502,-0.254585727 9.11652554,-0.254585727 8.04891882,0.763757181 L2.04216785,6.49176109 L0.219178192,8.23279574 C-0.0905265444,8.57818243 -0.0697038513,9.09303584 0.266974106,9.41457797 C0.603652063,9.7361201 1.14274096,9.75600668 1.50438591,9.46022515 L1.77783436,9.20777511 L1.77783436,14.5179307 C1.77783436,16.4410245 3.41019491,18 5.4238137,18 L14.538762,18 C16.5523808,18 18.1847414,16.4410245 18.1847414,14.5179307 L18.1847414,9.20777511 L18.4764197,9.48634067 C18.6445204,9.63664874 18.8659608,9.72062083 19.0962362,9.72138034 C19.3366605,9.71810976 19.5659929,9.62424302 19.7342826,9.46022515 C20.0777075,9.13095892 20.0897452,8.60211993 19.7616274,8.25891126 Z M9.06979301,16.2502602 L9.06979301,13.1163979 C9.06979301,12.9240885 9.23302907,12.7681909 9.43439095,12.7681909 L10.5281848,12.7681909 C10.6248821,12.7681909 10.7176191,12.8048769 10.7859944,12.8701784 C10.8543698,12.9354799 10.8927827,13.0240476 10.8927827,13.1163979 L10.8927827,16.2502602 L9.06979301,16.2502602 Z M16.3617517,14.5092256 C16.3617517,14.9709767 16.1696873,15.4138156 15.8278104,15.740323 C15.4859335,16.0668303 15.0222489,16.2502602 14.538762,16.2502602 L12.7157724,16.2502602 L12.7157724,13.1163979 C12.7107781,11.9645231 11.7342813,11.031926 10.5281848,11.0271563 L9.43439095,11.0271563 C8.22829443,11.031926 7.25179761,11.9645231 7.24680336,13.1163979 L7.24680336,16.2502602 L5.4238137,16.2502602 C4.94032677,16.2502602 4.47664221,16.0668303 4.13476533,15.740323 C3.79288844,15.4138156 3.60082402,14.9709767 3.60082402,14.5092256 L3.60082402,7.45803531 L9.33412653,1.98248141 C9.50527482,1.81768148 9.73824912,1.72498386 9.98128785,1.72498386 C10.2243266,1.72498386 10.4573009,1.81768148 10.6284492,1.98248141 L16.3617517,7.46674049 L16.3617517,14.5092256 Z" transform="translate(2 3)" fill="#006BE3" fill-rule="nonzero"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

6
web/client/assets/images/menu/issue.svg

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont">
<g stroke="#0F7EFB" fill="#0F7EFB" fill-rule="nonzero">
<path d="M19.6428571,18.3623077 C19.6428571,17.9799567 19.9466639,17.67 20.3214286,17.67 C20.6961932,17.67 21,17.9799567 21,18.3623077 L21,19.9615385 C21,20.5350649 20.5442898,21 19.9821429,21 L3.01785714,21 C2.45571017,21 2,20.5350649 2,19.9615385 L2,4.03846154 C2,3.46493507 2.45571017,3 3.01785714,3 L19.9821429,3 C20.5442898,3 21,3.46493507 21,4.03846154 L21,7.63292308 L3.35714286,7.63292308 L3.35714286,19.6153846 L19.6428571,19.6153846 L19.6428571,18.3623077 Z M19.6428571,6.24830769 L19.6428571,4.38461538 L3.35714286,4.38461538 L3.35714286,6.24830769 L19.6428571,6.24830769 Z" stroke-width=".2"/>
<path d="M14.255,9.68630769 C14.3831695,9.32689779 14.7726498,9.14154369 15.1249286,9.27230772 C15.4772073,9.40307175 15.6588838,9.80043624 15.5307143,10.1598462 L12.8164286,17.7752308 C12.6882591,18.1346407 12.2987788,18.3199948 11.9465,18.1892308 C11.5942212,18.0584667 11.4125448,17.6611022 11.5407143,17.3016923 L14.255,9.68630769 L14.255,9.68630769 Z M17.1022857,11.0785385 C16.9400999,10.8945192 16.8864592,10.6362018 16.9615697,10.4008918 C17.0366801,10.1655819 17.2291306,9.98902866 17.4664268,9.93773799 C17.7037231,9.88644732 17.9498142,9.96821151 18.112,10.1522308 L20.7930357,13.1949231 C21.0249152,13.4581131 21.0249152,13.8573485 20.7930357,14.1205385 L18.112,17.1632308 C17.9499354,17.34725 17.7039563,17.4290802 17.4667207,17.3778966 C17.229485,17.3267131 17.0370345,17.1502918 16.9618635,16.9150889 C16.8866925,16.6798861 16.9402211,16.4216346 17.1022857,16.2376154 L19.3761786,13.6580769 L17.1029643,11.0785385 L17.1022857,11.0785385 Z M9.93589286,11.0785385 C10.0980787,10.8946429 10.151784,10.6364397 10.0767785,10.4011916 C10.0017731,10.1659435 9.80945196,9.98939025 9.57226068,9.93803775 C9.3350694,9.88668525 9.08904296,9.96833517 8.92685714,10.1522308 L6.24514286,13.1949231 C6.01326337,13.4581131 6.01326337,13.8573485 6.24514286,14.1205385 L8.92685714,17.1632308 C9.08760241,17.352278 9.33583894,17.4380958 9.57611462,17.3876855 C9.8163903,17.3372752 10.0112928,17.1584859 10.0858782,16.9200658 C10.1604635,16.6816457 10.1031182,16.4207182 9.93589286,16.2376154 L7.66267857,13.6580769 L9.93589286,11.0785385 L9.93589286,11.0785385 Z" stroke-width=".5"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

3
web/client/assets/images/menu/org.svg

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont">
<path d="M8.19326312,0.205274579 C8.69800611,-0.0684248598 9.30344093,-0.0684248598 9.80818392,0.205274579 L17.0897982,4.15361219 C17.6498111,4.45710382 18,5.05082771 18,5.697589 L18,14.1143251 C18,14.7478271 17.6628346,15.3341846 17.1172924,15.642096 L9.83857222,19.779011 C9.31763001,20.073663 8.68381701,20.073663 8.16287483,19.779011 L0.884154661,15.642096 C0.339558896,15.3340277 0.00129481775,14.7500895 0,14.1157984 L0,5.697589 C0,5.04935447 0.350188913,4.45710382 0.911648846,4.15213894 L8.19326312,0.205274579 Z M9.00072352,1.65643599 L8.95731167,1.66674881 L1.67859152,5.61508642 C1.64833197,5.63106061 1.62939137,5.66288643 1.62939137,5.697589 L1.62939137,14.1143251 C1.62939137,14.1482101 1.64820323,14.1791486 1.67569739,14.1953544 L8.95731167,18.3293228 C8.98335877,18.3440554 9.01808826,18.3440554 9.04413538,18.3293228 L16.3257497,14.1938812 C16.354433,14.1773752 16.3720598,14.1463964 16.3720598,14.1128518 L16.3720598,5.697589 C16.3723772,5.66320564 16.3540018,5.63145864 16.3243026,5.61508642 L9.04268831,1.66674881 C9.01643646,1.6526048 8.98501059,1.6526048 8.95875873,1.66674881 L9.00072352,1.65643599 Z M14.4633813,6.87177746 C14.6629798,7.2188939 14.5521866,7.66484345 14.2144867,7.87359447 L14.2043572,7.8794875 L9.72425436,10.5475619 L9.72570141,15.783529 C9.72776935,16.0467016 9.59177601,16.2910064 9.36894876,16.424416 C9.14612151,16.5578256 8.87031312,16.560072 8.64541793,16.430309 C8.42052274,16.300546 8.28070769,16.0584877 8.27863975,15.7953151 L8.27863975,10.5829202 L3.74933675,7.87801424 C3.41746167,7.66850264 3.30876004,7.22867341 3.50372038,6.88419971 C3.69868072,6.53972602 4.1269526,6.41490941 4.47142052,6.60217082 L4.48154995,6.60806385 L8.9674411,9.2893976 L13.4721441,6.60806385 C13.8170007,6.40265984 14.2601118,6.52071966 14.4619342,6.87177746 L14.4633813,6.87177746 Z" transform="translate(3 2)" fill="#0F7EFB" fill-rule="nonzero" stroke="#0F7EFB" stroke-width=".2"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

3
web/client/assets/images/menu/structure.svg

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont">
<path d="M9.2678204,0.0732479433 C11.293719,-0.330786958 13.2663681,0.977516531 13.6705797,2.99047613 C14.0772117,5.00343572 12.7604986,6.96348599 10.7346,7.36511592 L10.7346,7.36511592 L10.7346,8.53633614 L16.2555972,8.53633614 C16.6549679,8.52912123 16.9841462,8.84417225 16.9914075,9.23858728 L16.9914075,9.23858728 L16.9914075,10.8234623 L19.2690306,10.8234623 C19.6659809,10.8162474 19.9927387,11.1312984 20,11.5257134 L20,11.5257134 L20,17.2976406 C19.9927387,17.6920556 19.6659809,18.0047016 19.2690306,17.9999465 L19.2690306,17.9999465 L13.2470047,17.9999465 C12.8500545,18.0047016 12.5257171,17.6920556 12.5184558,17.2976406 L12.5184558,17.2976406 L12.5184558,11.5233084 C12.5257171,11.1288934 12.8524749,10.8162474 13.2494251,10.8234623 L13.2494251,10.8234623 L15.5270483,10.8234623 L15.5270483,9.93843344 L4.47295171,9.93843344 L4.47295171,10.8234623 L6.75299528,10.8234623 C7.14994554,10.8186523 7.47428295,11.1312984 7.48154423,11.5257134 L7.48154423,11.5257134 L7.48154423,17.2976406 C7.47428295,17.6920556 7.14752511,18.0047016 6.75057485,17.9974867 L6.75057485,17.9974867 L0.730969382,17.9974867 C0.334019121,18.0022967 0.00726128525,17.6896506 0,17.2952356 L0,17.2952356 L0,11.5233084 C0.00726128525,11.1288934 0.334019121,10.8162474 0.730969382,10.8210573 L0.730969382,10.8210573 L3.00859252,10.8210573 L3.00859252,9.23618231 C3.01827423,8.84176728 3.3474525,8.52671626 3.74440276,8.53393117 L3.74440276,8.53393117 L9.2678204,8.53393117 L9.2678204,7.36511592 C7.78651821,7.07170962 6.627133,5.91972916 6.33184074,4.44788774 C5.92520876,2.43492814 7.24192182,0.474877875 9.2678204,0.0732479433 Z M6.01960547,12.2255596 L1.46193876,12.2255596 L1.46193876,16.5953894 L6.01960547,16.5953894 L6.01960547,12.2255596 Z M18.5380612,12.2255596 L13.9803945,12.2255596 L13.9803945,16.5953894 L18.5380612,16.5953894 L18.5380612,12.2255596 Z M10.0751383,1.50136969 L9.91891565,1.50179992 C8.66029287,1.54508937 7.67517851,2.59606111 7.72116665,3.84664532 C7.74537093,5.07317984 8.76437129,6.04959752 9.99636936,6.03276273 C10.0254145,6.03276273 10.0520392,6.03035776 10.0810844,6.03035776 C11.3397071,5.98706831 12.3248215,4.93609657 12.2788334,3.68551236 C12.2352656,2.43492814 11.1775384,1.45610549 9.91891565,1.50179992 Z" transform="translate(2 3)" fill="#006BE3" fill-rule="nonzero" stroke="#006BE3" stroke-width=".2"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

8
web/client/assets/images/menu/xun.svg

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="design-iconfont">
<g fill="#006BE3" fill-rule="nonzero">
<path d="M16.5825673,15.8346577 C19.9218849,12.1060589 19.8029068,6.37036341 16.2177012,2.78456208 C14.4379618,0.999222942 12.0200893,-0.0029190478 9.49940669,6.3869485e-06 C7.06828832,6.3869485e-06 4.63716992,0.928195893 2.78111219,2.78456208 C-0.927037395,6.49332785 -0.927037395,12.5106516 2.78111219,16.2194173 C4.63716994,18.0757835 7.06828832,19.0000064 9.49940669,19.0000064 C11.7639558,19.0000064 14.0324708,18.1947813 15.8290396,16.5803774 L17.3797203,18.1313158 C17.4828346,18.2344473 17.6176764,18.286013 17.7564841,18.286013 C17.8952919,18.286013 18.0261678,18.2344473 18.133248,18.1313158 C18.3394766,17.9250529 18.3394766,17.5878924 18.133248,17.3816295 L16.5825673,15.8346577 L16.5825673,15.8346577 Z M12.6800869,17.3221306 C11.6710192,17.7314616 10.5922774,17.9415886 9.50337264,17.9409209 C8.40877448,17.9409209 7.33797193,17.7346564 6.32665841,17.3221306 C5.28081541,16.8989073 4.33117063,16.2688536 3.5346399,15.469731 C2.72955501,14.6645123 2.10690317,13.7244294 1.68254807,12.6772485 C1.27328501,11.6680131 1.06319297,10.5890921 1.06386056,9.5000064 C1.06386056,8.40522634 1.27009079,7.33424585 1.68254807,6.32276428 C2.10690317,5.27558336 2.72955501,4.33550048 3.5346399,3.53028181 C4.33972479,2.72506314 5.27965147,2.10230783 6.32665841,1.67788224 C7.33797193,1.26932302 8.40480855,1.05909351 9.50337264,1.05909351 C10.5979708,1.05909351 11.6687734,1.26535641 12.6800869,1.67788224 C13.7270938,2.10230784 14.6670205,2.72506316 15.4721054,3.53028181 C16.2771903,4.33550048 16.8998421,5.27558336 17.3241972,6.32276428 C17.7326885,7.33424585 17.9428831,8.40125976 17.9428831,9.5000064 C17.9428831,10.5947865 17.7366545,11.6657669 17.3241972,12.6772485 C16.9010443,13.7232653 16.2710952,14.6730679 15.4721054,15.469731 C14.6630546,16.2749497 13.7270938,16.897705 12.6800869,17.3221306 Z" stroke="#006BE3" stroke-width=".8" transform="translate(3 3)"/>
<path d="M10.7486763,11.899796 C10.8636885,12.173491 11.1690655,12.3083552 11.446681,12.213157 C11.7599899,12.1020923 11.9106954,11.7450988 11.7679217,11.4436377 L10.5583114,8.92881681 C10.4195037,8.63528881 10.4195037,8.2981283 10.5662433,8.00856691 L11.8987976,5.34698206 C12.0732988,5.00188834 11.8987976,4.58142934 11.5299656,4.4584649 C11.2047589,4.35136685 10.8557566,4.51796382 10.7328126,4.83529138 L9.59458914,7.84196994 C9.43198579,8.27432873 9.43991766,8.75032006 9.61441883,9.17474567 L10.7486763,11.899796 L10.7486763,11.899796 Z M13.2987728,11.8164975 C13.3771001,12.0042039 13.5519504,12.1339049 13.7542813,12.154386 C13.9566122,12.1748671 14.1539,12.0828361 14.2682426,11.9146329 C14.3825852,11.7464298 14.3956025,11.5290922 14.3021544,11.3484394 L13.1996244,9.17474567 C12.9742733,8.7299571 12.9728023,8.20471572 13.1956585,7.75867146 L14.3259501,5.49771265 C14.4885534,5.17245192 14.3219841,4.77975907 13.9769477,4.66869441 C13.682023,4.57534865 13.3647855,4.7236473 13.2472156,5.00982154 L12.2002087,7.56827493 C11.9779456,8.11591673 11.9822251,8.72942374 12.2121065,9.27391052 L13.2987728,11.8164975 L13.2987728,11.8164975 Z" transform="translate(3 3)"/>
<path d="M8.34928545,11.9791279 C8.45681806,12.259582 8.76782214,12.4036869 9.05125601,12.3043887 C9.36059897,12.1972906 9.51130452,11.8482303 9.3764627,11.5467691 L8.22237551,9.0081487 C8.06770403,8.66305499 8.06770403,8.26639555 8.22237551,7.92526843 L9.40819019,5.3192159 C9.5549298,4.99792175 9.41215612,4.61712869 9.09091536,4.4663981 C8.74587898,4.30773433 8.33738764,4.48226447 8.21444363,4.83925797 L7.23882353,7.67140637 C7.07225425,8.15136429 7.08415205,8.67495475 7.26261914,9.14697949 L8.34928545,11.9791279 L8.34928545,11.9791279 Z M5.38276578,6.53696038 C5.46208449,6.84238815 5.78729119,7.0169183 6.08473634,6.91378685 C6.08870227,6.91378685 6.09266822,6.90982027 6.09663414,6.90982025 C6.37821556,6.81065539 6.52892109,6.50126103 6.42977272,6.21963282 C6.27510124,5.77934084 6.12439569,5.33508227 5.96972423,4.89479029 C5.87454178,4.62109528 5.57313069,4.48226447 5.30344708,4.58936252 L5.29551521,4.59332913 C5.04962721,4.69249398 4.91875134,4.96222241 4.99807005,5.21608444 C5.1487756,5.68017599 5.27568552,6.12046797 5.38276578,6.53696038 Z" transform="translate(3 3)"/>
<path d="M14.0483346,13.6649305 C13.1441013,13.7759952 12.0415713,13.8553271 10.7367785,13.8989596 C9.12264283,13.9544919 7.77422481,13.2920707 6.69945633,12.613783 C6.46535224,12.4640185 6.32341713,12.2055043 6.32269246,11.9275622 C6.32665839,11.2651409 6.33459027,9.99583071 6.35045402,9.07558079 C6.35441995,8.69478773 6.04904294,8.37746017 5.6643472,8.37746019 L5.37483392,8.37746019 C5.11704811,8.37746019 4.76804581,8.36952699 4.33179291,8.34969402 C4.20884706,8.34424174 4.08906956,8.38959716 4.00056109,8.47511955 C3.91205262,8.56064194 3.86260266,8.67880464 3.86379085,8.80188578 L3.86379085,8.81775217 C3.86379085,9.06764762 4.07004118,9.26597734 4.3198951,9.25407754 C4.60544245,9.24217776 4.8473645,9.23424456 5.04962721,9.23027798 C5.20429869,9.22631139 5.32724268,9.34927581 5.32724269,9.50397299 L5.32724269,12.1060589 C5.32724269,12.6256828 5.10118438,13.1175405 4.71252271,13.4586676 C4.57371496,13.581632 4.42300943,13.7164963 4.25644014,13.8672268 C4.03038183,14.0734897 4.05021151,14.4344498 4.29213356,14.6208798 C4.29609949,14.6248464 4.30006544,14.6248464 4.30006542,14.628813 C4.53405561,14.8073097 4.87512604,14.7398776 5.02186566,14.482049 C5.18050307,14.208354 5.4184592,14.0020911 5.60485816,13.768062 C5.90230332,13.3912355 6.19974847,13.307937 6.62410356,13.621298 C7.04845865,13.9346589 7.52833683,14.2123206 8.0637381,14.4463496 C8.59913938,14.6843453 9.48750891,14.8073097 10.7328126,14.8231761 C11.8393086,14.8350759 12.9696002,14.8311093 14.1157555,14.8073097 C14.3576775,14.8033431 14.5678721,14.6407128 14.6392589,14.4106503 C14.6392589,14.4066837 14.6432249,14.4027171 14.6432249,14.3987505 C14.7741008,14.0060577 14.4568259,13.6133648 14.0483346,13.6649305 L14.0483346,13.6649305 Z" transform="translate(3 3)"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

6
web/client/src/layout/components/header/index.js

@ -33,11 +33,11 @@ const Header = props => {
return (
<div className={styles.header}>
<div className={styles['header-fold']}>
<span onClick={toggleCollapsed} style={{ marginRight: 20 }}>
{/* <span onClick={toggleCollapsed} style={{ marginRight: 20 }}>
{collapsed ? <MenuUnfoldOutlined /> : <MenuFoldOutlined />}
</span>
</span> */}
<img src='/assets/images/logo.svg' style={{ margin: '-14px 12px 0 0', height: 24 }} />
<div className={styles['header-title']} style={{}}>
{/* <img src='/assets/images/logo.png' style={{ margin: '0 12px 4px 12px', height: 42, borderRadius: 4 }} /> */}
<div className={styles['title-cn']}>运维巡检平台</div>
<div className={styles['title-en']}>RUNNING MANAGEMENT SYSTEM</div>
</div>

2
web/client/src/sections/issueHandle/nav-item.js

@ -13,7 +13,7 @@ export function getNavItem(user, dispatch) {
(Func.isAuthorized("SHENHE")
|| Func.isAuthorized("ZHIDINGJIHUA")
|| Func.isAuthorized("CHAKANXIANGQING")) &&
<Menu.Item icon={<CompressOutlined />} key="issueHandle">
<Menu.Item icon={<img src='/assets/images/menu/issue.svg' style={{ width: 24, height: 24 }} />} key="issueHandle">
<Link to="/issueHandle">问题处理</Link>
</Menu.Item>

2
web/client/src/sections/organization/nav-item.js

@ -10,7 +10,7 @@ export function getNavItem(user, dispatch) {
// return null
// }
return (
Func.isAuthorized('ORG_MANAGE') && <SubMenu key="organization" icon={<FormatPainterOutlined />} title={'组织管理'}>
Func.isAuthorized('ORG_MANAGE') && <SubMenu key="organization" icon={<img src='/assets/images/menu/org.svg' style={{ width: 24, height: 24 }} />} title={'组织管理'}>
{Func.isAuthorized('USER_CONFIG') && <Menu.Item key="userManage">
<Link to="/organization/user">部门成员</Link>
</Menu.Item>}

2
web/client/src/sections/patrolManage/nav-item.js

@ -10,7 +10,7 @@ export function getNavItem (user, dispatch) {
// return null
// }
return (
Func.isAuthorized('PATROL_MANAGE') && <SubMenu key="patrolManage" icon={<GatewayOutlined />} title={'巡检管理'}>
Func.isAuthorized('PATROL_MANAGE') && <SubMenu key="patrolManage" icon={<img src='/assets/images/menu/xun.svg' style={{ width: 24, height: 24 }} />} title={'巡检管理'}>
{Func.isAuthorized('PATROL_PLAN_CONFIG') && <Menu.Item key="patrolPlan">
<Link to="/patrolManage/patrolPlan">巡检计划制定</Link>
</Menu.Item>}

2
web/client/src/sections/projectRegime/nav-item.js

@ -6,7 +6,7 @@ import { Func } from '$utils';
const SubMenu = Menu.SubMenu;
export function getNavItem (user, dispatch) {
return Func.isAuthorized('STRUCTURE_MANAGE') && <SubMenu key="projectRegime" icon={<FunnelPlotOutlined />} title={'结构物管理'}>
return Func.isAuthorized('STRUCTURE_MANAGE') && <SubMenu key="projectRegime" icon={<img src='/assets/images/menu/structure.svg' style={{ width: 24, height: 24 }} />} title={'结构物管理'}>
{Func.isAuthorized('STRU_INFO_CONFIG') &&<Menu.Item key="information">
<Link to="/projectRegime/information">结构物基础信息管理</Link>
</Menu.Item>}

2
web/client/src/sections/shouye/nav-item.js

@ -14,7 +14,7 @@ export function getNavItem (user, dispatch) {
// <Link to="/projectRegime/qrCode">二维码管理</Link>
// </Menu.Item>} */}
// </SubMenu>
return <Menu.Item key="shouye" icon={<HomeOutlined />}>
return <Menu.Item key="shouye" icon={<img src='/assets/images/menu/home.svg' style={{ width: 24, height: 24 }} />}>
<Link to="/shouye">首页</Link>
</Menu.Item>

Loading…
Cancel
Save