From 349efe0ce8ac0f589fdbce38cb1e59af49553d5a Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Fri, 18 Oct 2024 09:22:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=8A=A5=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E8=AF=A5=E6=93=8D=E4=BD=9C=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index 69094de..43aed2e 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -170,18 +170,20 @@ isShowItemApprove2.value = isHave.children.some(item=>{ return item.componentName == 'itemApprove2' }) - await sparePartsApplicationApprovePage() - await sparePartsApplicationApprovePage1() // 如果只有一级审核 、待审核数量等于一级审核数量 if(isShowItemApprove1.value && !isShowItemApprove2.value){ + await sparePartsApplicationApprovePage() number.value =number1.value } // 如果只有二级审核 待审核数量等于二级审核数量 - if(isShowItemApprove1.value && !isShowItemApprove2.value){ - number.value =number2.value + if(!isShowItemApprove1.value && isShowItemApprove2.value){ + await sparePartsApplicationApprovePage1() + number.value =number2.value } // 如果一级审核二级审核都存在 待审核数量等于二级审核数量 if(isShowItemApprove1.value && isShowItemApprove2.value){ + await sparePartsApplicationApprovePage() + await sparePartsApplicationApprovePage1() meaus.value[isHaveIndex].children.splice(1,1) number.value =number2.value }