Selaa lähdekoodia

规则测试代码提交

Morphone0429 4 vuotta sitten
vanhempi
commit
fb59bbff86

+ 3 - 0
src/components/testManager/knowledgeMapRule/KnowledgeMapRuleTest.vue

@@ -65,6 +65,7 @@
               type="text"
               size="small"
               @click="goToFailedOrSuccessPage(scope.row, 'success')"
+              :disabled="runningStatusArr[scope.$index] === 1"
               >{{ scope.row.ruleSuccessNum }}</el-button
             >
           </template>
@@ -75,6 +76,7 @@
               type="text"
               size="small"
               @click="goToFailedOrSuccessPage(scope.row, 'failed')"
+              :disabled="runningStatusArr[scope.$index] === 1"
               >{{ scope.row.ruleFailedNum }}</el-button
             >
           </template>
@@ -134,6 +136,7 @@ export default {
       if (Object.keys(to.params).length === 0) return;
       vm.getDataList(to.params.hospitalId);
       // vm.hospitalId = to.params.hospitalId;
+      vm._getRunningStatus();
     });
   },
   methods: {

+ 3 - 0
src/components/testManager/staticKnowledgeMap/StaticKnowledgeMapTest.vue

@@ -56,6 +56,7 @@
               type="text"
               size="small"
               @click="goToInnerPage(scope.row, 'noMap')"
+              :disabled="runningStatusArr[scope.$index] === 1"
               >{{ scope.row.unMappingNum }}</el-button
             >
           </template>
@@ -66,6 +67,7 @@
               type="text"
               size="small"
               @click="goToInnerPage(scope.row, 'lessStatic')"
+              :disabled="runningStatusArr[scope.$index] === 1"
               >{{ scope.row.withoutKnowledgeNum }}</el-button
             >
           </template>
@@ -132,6 +134,7 @@ export default {
       Object.assign(vm, to.params);
       if (Object.keys(to.params).length === 0) return;
       vm.getDataList(to.params.hospitalId);
+      vm._getRunningStatus()
     });
   },
   methods: {