yxk-20260611-自动生成审批意见

部门经办人反馈节点-自动生成审批意见
This commit is contained in:
ye1023
2026-06-11 11:18:04 +08:00
parent 5f618a0577
commit dbab3c6676
@@ -350,6 +350,7 @@
const handleReasonTemplateMap: Record<string, () => string> = { const handleReasonTemplateMap: Record<string, () => string> = {
Task_137y5vq: buildLeaderDeptReason, Task_137y5vq: buildLeaderDeptReason,
Task_0d4iflp: buildDeptLeaderAssignReason, Task_0d4iflp: buildDeptLeaderAssignReason,
Task_01ynnpq: buildDeptHandlerFeedbackReason,
}; };
const defaultHandleReason = computed(() => { const defaultHandleReason = computed(() => {
const builder = handleReasonTemplateMap[String(processInfo.value.taskDefKey || '')]; const builder = handleReasonTemplateMap[String(processInfo.value.taskDefKey || '')];
@@ -503,6 +504,10 @@
return userNameText ? `${userNameText}办理。` : ''; return userNameText ? `${userNameText}办理。` : '';
} }
function buildDeptHandlerFeedbackReason() {
return '已完成反馈,请领导审批。';
}
function normalizeDeptNames(value: any) { function normalizeDeptNames(value: any) {
return splitDeptNames(value).join('、'); return splitDeptNames(value).join('、');
} }