소스 검색

图标展示

sunyize 2 년 전
부모
커밋
e5ce132b65
1개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. 10 4
      src/views/smscheck/modules/TaskUploadDataZG.vue

+ 10 - 4
src/views/smscheck/modules/TaskUploadDataZG.vue

@@ -2944,6 +2944,7 @@ export default {
         //slot:"icon"
         this.steps.stepsNow[this.steps.current].type="solution",
           this.steps.stepsNow[this.steps.current].slot="icon"
+        this.steps.stepsNow[this.steps.current].status = "final"
       }
     },
     // 步骤条动态变化
@@ -3061,10 +3062,15 @@ export default {
             }
             // 改变步骤条状态
             if (that.infoModel[fileAttribute].length > 0) {
-              that.steps.stepsNow[that.steps.current].status = "finish"
-            } else {
-              that.steps.stepsNow[that.steps.current].status = "wait"
-            }
+              if (that.steps.stepsNow[that.steps.current].status === "error"){
+                that.steps.stepsNow[this.steps.current].type="solution",
+                  that.steps.stepsNow[this.steps.current].slot="icon"
+                that.steps.stepsNow[that.steps.current].status = "final"
+              }else {
+                that.steps.stepsNow[that.steps.current].status = "wait"
+              }
+              }
+
           }
 
         })