From ff879e4c625fc86aa69cef17ab3390240dae8d56 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 30 Apr 2024 09:48:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9D=83=E9=99=90=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- src/pages/index.vue | 6 +- src/plugins/auth.js | 110 ++++++++++++++++---------------- src/static/images/icon8.png | Bin 0 -> 23779 bytes src/static/images/icon9.png | Bin 0 -> 22210 bytes src/store/modules/countStore.ts | 15 ----- 6 files changed, 60 insertions(+), 74 deletions(-) create mode 100644 src/static/images/icon8.png create mode 100644 src/static/images/icon9.png diff --git a/.env.development b/.env.development index 84af96b..c3f886a 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,5 @@ VITE_BASE_URL=http://192.168.0.106:12080/admin-api #VITE_BASE_URL=http://dev.ccwin-in.com:25202/api/admin-api -VITE_BASE_URL_IMAGE=http://localhost:12080/admin-api \ No newline at end of file +VITE_BASE_URL_IMAGE=http://192.168.0.106:12080/admin-api + diff --git a/src/pages/index.vue b/src/pages/index.vue index 9e955c2..3118b01 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -46,7 +46,7 @@ - + @@ -60,7 +60,7 @@ - + {{cur.name}} @@ -93,7 +93,6 @@ getAccessToken } from '@/utils/auth' import { storeToRefs } from 'pinia' - import auth from '@/plugins/auth' import { useCountStore } from '@/store' import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove.js" @@ -143,7 +142,6 @@ }) // 获取一级待审核数据 async function sparePartsApplicationApprovePage(){ - await sparePartsApplicationApproveApi.sparePartsApplicationApprovePage(params.value).then((res) => { number1.value = res.data.total console.log(res.data.total) diff --git a/src/plugins/auth.js b/src/plugins/auth.js index 3ef15d0..fb5665d 100644 --- a/src/plugins/auth.js +++ b/src/plugins/auth.js @@ -1,62 +1,64 @@ // import store from '@/store' - import { useCountStore } from '@/store' - const store = useCountStore() - console.log(store) +import { + useCountStore +} from '@/store' +const store = useCountStore() + function authPermission(permission) { - const all_permission = "*:*:*" - const permissions = store && store.permissions - if (permission && permission.length > 0) { - return permissions.some(v => { - return all_permission === v || v === permission - }) - } else { - return false - } + const all_permission = "*:*:*" + const permissions = store && store.permissions + if (permission && permission.length > 0) { + return permissions.some(v => { + return all_permission === v || v === permission + }) + } else { + return false + } } function authRole(role) { - const super_admin = "admin" - const roles = store && store.roles - if (role && role.length > 0) { - return roles.some(v => { - return super_admin === v || v === role - }) - } else { - return false - } + const super_admin = "admin" + const roles = store && store.roles + if (role && role.length > 0) { + return roles.some(v => { + return super_admin === v || v === role + }) + } else { + return false + } } export default { - // 验证用户是否具备某权限 - hasPermi(permission) { - return authPermission(permission) - }, - // 验证用户是否含有指定权限,只需包含其中一个 - hasPermiOr(permissions) { - return permissions.some(item => { - return authPermission(item) - }) - }, - // 验证用户是否含有指定权限,必须全部拥有 - hasPermiAnd(permissions) { - return permissions.every(item => { - return authPermission(item) - }) - }, - // 验证用户是否具备某角色 - hasRole(role) { - return authRole(role) - }, - // 验证用户是否含有指定角色,只需包含其中一个 - hasRoleOr(roles) { - return roles.some(item => { - return authRole(item) - }) - }, - // 验证用户是否含有指定角色,必须全部拥有 - hasRoleAnd(roles) { - return roles.every(item => { - return authRole(item) - }) - } -} + // 验证用户是否具备某权限 + hasPermi(permission) { + return authPermission(permission) + }, + // 验证用户是否含有指定权限,只需包含其中一个 + hasPermiOr(permissions) { + return permissions.some(item => { + return authPermission(item) + }) + }, + // 验证用户是否含有指定权限,必须全部拥有 + hasPermiAnd(permissions) { + return permissions.every(item => { + return authPermission(item) + }) + }, + // 验证用户是否具备某角色 + hasRole(role) { + return authRole(role) + }, + // 验证用户是否含有指定角色,只需包含其中一个 + hasRoleOr(roles) { + return roles.some(item => { + return authRole(item) + }) + }, + // 验证用户是否含有指定角色,必须全部拥有 + hasRoleAnd(roles) { + return roles.every(item => { + return authRole(item) + }) + } +} \ No newline at end of file diff --git a/src/static/images/icon8.png b/src/static/images/icon8.png new file mode 100644 index 0000000000000000000000000000000000000000..414fc84b11fc58f85c6b5174f7b92722db2132b5 GIT binary patch literal 23779 zcmeI42T+q+xA#MD(yR2|B#_XFH0d2gsz?bTATBT}SD z6+}u95TwbCdWwg0UcUF8d%y3SJ40qdvi92Rzn}fvW$h<354Q~T)JcgMi2(orsiuaC zA?7pZ`l9Rq?GZPL zO=xH-Gc=4}gbfjEWZs<3;jeMHaQo)vDB~;AYitw6PlNo?tE>AX`}K<%iwC`aedH)g zD&Dw-JSTvRVT3GXlr2VIELRYH;UOND=j^pPWjI2~Rz~Vl;PO3!`tXM<9D`BHoG=NtOfXYi%cEo^00KmmBP>B=pfE2K@ zr74dG7%fSdpa+cRF_#bm?qC5@`PI3x6`uoaj6)5Du$x-}Ic18R!nn;9SSa&nqUzYF z20VcGU9(tnMH>JrRY|BDz%GpqP-dm>!C}|I$pO7-nl7<+kEqeW0yKBs>q*vrBSuqm zubjwc^$zi&+&QcTYWS(E`UO>4?Sl6;lnVFdk0pfSCeyz1z^ksaCK_eQf! z|8A6@^noI4R<6M-Sr%qu5|ULO+uR1wT$KEg*bHJiDtH^?{Wk8u4!D-4m|EVPAAWcZ z>gHWxcz3Z2R|)L4v&i+WBO>JRuE4;o_@gUAw6{N--KsI*)a~%AHH=f?czth{YAHnY zGh5OjQGyRCpzMZzv)(g;r(G`1!E0F9QDkOsya9^Ao4{yBk~jc`gSe>Q4giqQv>T&% z4hzteTrdX!)PH2SazBw?=OrNkppp|RSb2fqObbm}Gg(FpOMNpvHWXh)@eFsfEQJ#O zJc^k(mm%rGS)*piDDKlr9L5~Vv>A#gEnsQV#c8T5q08>{_%;k#tqk=yh;T2wBBX|L zKyFgn-W}!aC8STii^~bs5RXR{urJ-Dxyaf6%A)|gM9C@6QiE#)=s_cM=ZfN9?D#8o z(c1^N>(#-Dp^q=(yv6oXti8|1c>86J=KxZi+!B?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*GC<7JVRIZKUS~ZH5 zL)izBCQBQ4c-OJH$;E&55TK)dy+z1bSCgrT9}yOa&D#M}lyR4%8!Gb_*xQm2Bw+Pu zLrr>9U*j_%o*>-X3*5(T*h@?NS@urneFGJm>>O` zxw$P$DJG=A1>Bw7L2G@rexg=H_*Yd7@uHC7g{;p@xfkiRvIpUN%=#RfXo>2URZeLZ z%(n;J94=ZMlLoJ;-omWgv1N_b1pvX{IGvDJ_? qkEwX*dZB_o`^)WbN#qAdfDCembsoS%#jCD`| literal 0 HcmV?d00001 diff --git a/src/static/images/icon9.png b/src/static/images/icon9.png new file mode 100644 index 0000000000000000000000000000000000000000..2c8dbd24b1915a4b4c0f23c051c64c03d4c8e796 GIT binary patch literal 22210 zcmeI4c{r5c|Nrk9l$~VXv$Zg0F?J?vB>PUb!B~fx7`tkS@{TOovZhoh5)sKVB_tw5 zMI>1xTS+4C?`ZX&_xt1b`CQ-c@AtdD*JZA2-19oG^Ln29JkB|W0|3GOIc7oD$;+Im*UK0dON|%vW$D-mKt!~d_7SViW!CcmI*OG| zttmQ&-jbbTSGKOj!^mEG-JF<_ynWT~>StqYV=e3yW`$lAR2~nVd;fm*`D*P%_QYC8 zNGA(%7n?-V_+>9Z(KK2`>4i{&k?zCRIwF`ucbHn3b-e9?J53V+%u|H~pCH^ixCSc4 z0bl^%D=o&>^5)M|HO3NFfN&BpEW$Ry07^6k9!Z-&Vh0{^1Gmg>yV3(G0Duh%*AM}& zGXXOn52I*+7e&dhxPTXz`HN_Qb08pNpN<$1)&&8iw$vx-N4jO$ zt5cuy1})AHkL($FfGyKNbM0q!qZ<{;PR|nEtvf-b-@ym~yenPz*A)&XPK=Mf8F!n& z&V6jUyzV`Z6G81+c)ea52c`yC4Lj%h9mmG{sPHYITLBH;MMr^tOTgpxioMJLU7jud z)6kXJ5QQ~0!Q4y6k5mNs=@}T_i#uPcgT0MK{VDSXHynH76WO~y5IPSW%T&uKA?2U? zdJOFwc+)g~qK#Su?z=o8y516f@@xG5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`YHlzK>f^4w?%BMk zkFDbIXtUxQM8}rZHr4$aIpOTyNc#m=)kn%hJ%2`sS67=JdK=Q$)fg?M%JG!icPCca z$S&wa&ii}Ty0L`D3NunXb8G$`CKeAUf8&VtL0()-eiazJ##|R|_JM5{L}`SVxnO2QDl zBqjyek;@B=spTDEs{HP~uI=i>UTSlb^9M^vm4vd#FPT6f)DB-wma!Ecv%WHnCf?FW z2f9=6+0y7y!7Ir#I~>?p9}-8+YHo(N2v~AL_>475^7)IoVJ8PIz$82oQ+%ZV(uUmhirT<*@=CrAzppO3SmrB>)JOl^t z4hB9ehQ=JC(YLW;Q7~~doFxS_eij@Fwmv7X2$`OQ7t}wUf~ZMGD8`(V8tz9);26L#95+>rnE+}l2hN2f@PAFVHOSs$1l$>VdJ9hZL9LlPO@NkobE zguKJdaMi3h%treRx3PK->s9QIFH>(0&lsRt&=ZVAkRM#rYtpfjkeG9CWu}@Cp^|0J z+7-QVG`Y!h;=JC++Xshyt#_b5YCL4pM{7kiHYd`GOY*JiehDT+`;^R3FZA;8UyW@p$X2Hj?&|j>ect1bwNDT$6S}D#k4N-X?mQ8kQ0sh?thMIWgVJ z6jPLz&!ARG#yZvT-{FRq`U`l7H>&L?pBRr`39f9lrX!z(iaYf8z}WUBKL36I1uX{k z5aSuc48l_j3pn9lEg+?D$;VG-VNMWo+L&Qo9%#9Fpo-<|t&1D~4D7JBq1H_er^x>T DL3&k0 literal 0 HcmV?d00001 diff --git a/src/store/modules/countStore.ts b/src/store/modules/countStore.ts index 45883e5..c77fc99 100644 --- a/src/store/modules/countStore.ts +++ b/src/store/modules/countStore.ts @@ -68,21 +68,6 @@ const useStore = defineStore('storeId', { } }) - // if (menus.filter(item => item.path == 'device') && menus.filter(item => item.path == 'device').length > 0) { - // this.deviceMenus = menus.filter(item => item.path == 'device')[0].children - // } else { - // this.deviceMenus = [] - // } - // if (menus.filter(item => item.path == 'mold') && menus.filter(item => item.path == 'mold').length > 0) { - // this.moldMenus = menus.filter(item => item.path == 'mold')[0].children - // } else { - // this.moldMenus = [] - // } - // if (menus.filter(item => item.path != 'device' && item.path != 'mold') && menus.filter(item => item.path != 'device' && item.path != 'mold').length > 0) { - // this.thchMenus = menus.filter(item => item.path != 'device' && item.path != 'mold') - // } else { - // this.thchMenus = [] - // } this.meaus = menus } else {