pref: 待处理时进入动态中点击重置,重置提示中的参数为空,点击确定后,提示流程不存在或者删除

This commit is contained in:
kuaifan 2022-01-25 15:04:03 +08:00
parent 6e76514a24
commit f12c79d292

View File

@ -216,11 +216,14 @@ export default {
return list
}
if (this.taskId > 0 && $A.isJson(record.flow)) {
list.push({
id,
button: '重置',
content: `确定重置为【${$A.getMiddle(record.flow.flow_item_name, "|")}】吗?`,
})
let name = $A.getMiddle(record.flow.flow_item_name, "|")
if (name) {
list.push({
id,
button: '重置',
content: `确定重置为【${name}】吗?`,
})
}
}
return list;
},