Browse Source

登录报没有该操作权限问题修复

master
ljlong_2630 1 month ago
parent
commit
349efe0ce8
  1. 10
      src/pages/index.vue

10
src/pages/index.vue

@ -170,18 +170,20 @@
isShowItemApprove2.value = isHave.children.some(item=>{ isShowItemApprove2.value = isHave.children.some(item=>{
return item.componentName == 'itemApprove2' return item.componentName == 'itemApprove2'
}) })
await sparePartsApplicationApprovePage()
await sparePartsApplicationApprovePage1()
// //
if(isShowItemApprove1.value && !isShowItemApprove2.value){ if(isShowItemApprove1.value && !isShowItemApprove2.value){
await sparePartsApplicationApprovePage()
number.value =number1.value number.value =number1.value
} }
// //
if(isShowItemApprove1.value && !isShowItemApprove2.value){ if(!isShowItemApprove1.value && isShowItemApprove2.value){
number.value =number2.value await sparePartsApplicationApprovePage1()
number.value =number2.value
} }
// //
if(isShowItemApprove1.value && isShowItemApprove2.value){ if(isShowItemApprove1.value && isShowItemApprove2.value){
await sparePartsApplicationApprovePage()
await sparePartsApplicationApprovePage1()
meaus.value[isHaveIndex].children.splice(1,1) meaus.value[isHaveIndex].children.splice(1,1)
number.value =number2.value number.value =number2.value
} }

Loading…
Cancel
Save