feat: 候选角色组可选表达式

This commit is contained in:
tony
2022-12-14 16:25:11 +08:00
parent be2171de98
commit f8a4d8f9a7
2 changed files with 12 additions and 9 deletions

View File

@@ -443,18 +443,17 @@ export default {
},
/** 审批任务 */
taskComplete() {
const that = this
if (!that.taskForm.values && that.checkSendUser){
that.msgError("请选择流程接收人员");
if (!this.taskForm.values && this.checkSendUser){
this.msgError("请选择流程接收人员");
return;
}
if (!that.taskForm.comment){
that.msgError("请输入审批意见");
if (!this.taskForm.comment){
this.msgError("请输入审批意见");
return;
}
complete(that.taskForm).then(response => {
that.msgSuccess(response.msg);
that.goBack();
complete(this.taskForm).then(response => {
this.msgSuccess(response.msg);
this.goBack();
});
},
/** 委派任务 */