sunyize 2 rokov pred
rodič
commit
e5ce132b65

+ 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"
+              }
+              }
+
           }
 
         })