feat: 新审批接口(开发中)

This commit is contained in:
gaoyunqi
2024-03-05 11:29:53 +08:00
parent 106c07f921
commit b9dd84e576
2 changed files with 18 additions and 4 deletions

View File

@ -74,6 +74,7 @@
label: item['F_RealName']
};
});
formState.assignees = selected;
}
}
if (action === 'reject') {
@ -89,10 +90,15 @@
}
function onClickOK() {
const nextTaskUser = {};
if (_nextNodes.length === 1) {
nextTaskUser[_nextNodes[0].activityId] = formState.assignees.join(',');
}
if (_callback && typeof _callback === 'function') {
_callback({
opinion: formState.opinion,
rejectNodeId: rejectNodeId.value
rejectNodeId: rejectNodeId.value,
nextTaskUser
});
}
isOpen.value = false;