Parcourir la source

修复流程审批页面右侧审批按钮打开表单无法获取flowName导致的bug

cfort il y a 3 ans
Parent
commit
3000689e36
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/views/platform/bpmn/bpmTask/list.vue

+ 3 - 0
src/views/platform/bpmn/bpmTask/list.vue

@@ -313,6 +313,9 @@ console.log("11111",request)
         //   }
         //  })
 
+        // 打开表单前给给flowName赋值,避免流程节点状态bug
+        this.flowName = this.listData.find(item => item.id === id).name
+        
          request({
                    url: BUSINESS_BASE_URL() + '/getFormData/flag',
                     method: 'post',