Parcourir la source

Merge branch 'bug0818' into test

1178232204@qq.com il y a 2 ans
Parent
commit
d233fd373e

+ 0 - 7
src/components/autoTest/AutoKnowledgeMapRuleTest.vue

@@ -241,10 +241,6 @@ export default {
     },
     // 执行测试
     handleTest(row, index) {
-      if (this.implement) {
-        this._getRunningStatus();
-        return 
-      }
       this.runningStatusArr = this.runningStatusArr.map((item, idx) => {
         if (idx === index) {
           return 1;
@@ -281,9 +277,6 @@ export default {
         });
         return;
       }
-      if (this.implement) {
-        this._getRunningStatus();
-      }
       this.runningStatusArr = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
       api.allRuleTest({ hospitalId: this.hospitalId }).then((res) => {
         this.runningStatusArr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];

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

@@ -257,6 +257,7 @@ export default {
       this.type = this.handleType(caseName); //术语类型(1:诊断、2:检验、3:检查、4:药品、5:手术/操作)
       this.caseId = caseId; //测试用例id
       this.statusIndex = index;
+      this.getRunningState()
     },
 
     // 导入数据
@@ -265,6 +266,7 @@ export default {
         this._getRunningStatus();
         return;
       }
+      console.log(123);
       if (this.statusIndex !== "") {
         this.runningStatusArr = this.runningStatusArr.map((item, idx) => {
           if (idx === this.statusIndex) {