duy 2 anni fa
parent
commit
8e0e9aff54
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/tentative/detect/test-form.vue

+ 2 - 2
src/views/tentative/detect/test-form.vue

@@ -2,11 +2,11 @@
     <div class="hc-page-box">
         <HcCard actionUi="text-center">
             <template #header>
-                <el-button :type="authBtnTabKey === '1'?'primary':''" hc-btn @click="authBtnTabClick('1')">
+                <el-button :type="authBtnTabKey === '1'?'primary':''" hc-btn @click="authBtnTabClick('1')" :disabled="router.currentRoute.value.query?.id&&router.currentRoute.value.query?.id.length>0||nodeIdvalue.length>0||newId.length>0">
                     <HcIcon name="folder-user"/>
                     <span>施工自检</span>
                 </el-button>
-                <el-button :type="authBtnTabKey === '2'?'primary':''" hc-btn @click="authBtnTabClick('2')">
+                <el-button :type="authBtnTabKey === '2'?'primary':''" hc-btn @click="authBtnTabClick('2')" :disabled="router.currentRoute.value.query?.id&&router.currentRoute.value.query?.id.length>0||nodeIdvalue.length>0||newId.length>0">
                     <HcIcon name="folder-shield"/>
                     <span>监理质检</span>
                 </el-button>