Browse Source

Merge branch 'bug0818' into test

1178232204@qq.com 2 years ago
parent
commit
a3c6d8329b

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

@@ -264,8 +264,6 @@ export default {
       console.log(this.runningStatusArr, 222);
       if (this.statusIndex !== "") {
         this.runningStatusArr = this.runningStatusArr.map((item, idx) => {
-          console.log(idx);
-          console.log(this.statusIndex, 112);
           if (idx === this.statusIndex) {
             return 1;
           } else {
@@ -289,6 +287,8 @@ export default {
         if (res.data.code === "00020007") {
           this.$message.error(res.data.msg || "数据存在异常");
           this.getDataList(this.hospitalId); // 重新获取列表
+          this._getRunningStatus()
+          this.getRunningState
         } else if (res.data.code === "0" && res.data.data) {
           this.$message({
             message: "测试成功",
@@ -298,6 +298,8 @@ export default {
         } else {
           this.$message.error(res.data.msg || "数据存在异常");
           this.getDataList(this.hospitalId);
+          this._getRunningStatus()
+          this.getRunningState
         }
         this.runningStatusArr = [0, 0, 0, 0, 0, 0, 0];
       });