Commit ae301b60 by YuleiLan

fix: 修复创建工单无法执行任务的bug。

parent 82b4e9e0
Showing with 2 additions and 1 deletions
......@@ -154,7 +154,8 @@ export default {
'form_data': []
}
// 绑定流程任务
this.ruleForm.tasks = this.processStructureValue.process.tasks === undefined ? [] : this.processStructureValue.process.tasks
console.log(this.processStructureValue.process)
this.ruleForm.tasks = this.processStructureValue.process.task === undefined ? [] : this.processStructureValue.process.task
// 追加节点任务
if (this.processStructureValue.nodes[this.active].task !== undefined && this.processStructureValue.nodes[this.active].task.length > 0) {
for (var task of this.processStructureValue.nodes[this.active].task) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment