|
|
@ -420,10 +420,12 @@ export default { |
|
|
|
processTaskId: params.processTaskId, |
|
|
|
}; |
|
|
|
// 将新加的任务加到store |
|
|
|
// 判断不是子任务 |
|
|
|
if (!this.task || !this.task.id || this.task.process === 4) { |
|
|
|
this.addNewTasks(newTasks); |
|
|
|
} |
|
|
|
// 判断不是子任务 -- 暂无子任务,暂不判断 |
|
|
|
// if (!this.task || !this.task.id || this.task.process === 4) { |
|
|
|
// this.addNewTasks(newTasks); |
|
|
|
// } |
|
|
|
|
|
|
|
this.addNewTasks(newTasks); |
|
|
|
} catch (error) { |
|
|
|
this.$emit('closeMask'); |
|
|
|
console.error('error: ', error); |
|
|
|