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 return list
} }
if (this.taskId > 0 && $A.isJson(record.flow)) { if (this.taskId > 0 && $A.isJson(record.flow)) {
list.push({ let name = $A.getMiddle(record.flow.flow_item_name, "|")
id, if (name) {
button: '重置', list.push({
content: `确定重置为【${$A.getMiddle(record.flow.flow_item_name, "|")}】吗?`, id,
}) button: '重置',
content: `确定重置为【${name}】吗?`,
})
}
} }
return list; return list;
}, },