Преглед изворни кода

修改实施项目,用其他人账户进入实施详情,实施进度不对bug

humingbo пре 1 година
родитељ
комит
24ad0aa29d
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      src/views/enforceflow/enforceflow.vue

+ 6 - 1
src/views/enforceflow/enforceflow.vue

@@ -1046,7 +1046,12 @@ export default {
       this.enforceFlowId = row.id
       this.enforceFlowTitle = row.name + "实施流程明细"
       let step = row.act.step
-      if (step === undefined) {
+      let steps=row.step
+      if(step === undefined){
+        step=steps
+        this.maxStep=step
+      }
+      if (step === undefined && steps===undefined) {
         step = 12
         this.maxStep = 12
       }