feat: 增加审批步骤发起人部门限制

- 增加配置期与提审期合法审批账号校验

- 冻结发起人部门并统一待办与办理权限判断

- 增加兼容迁移、前端联动和自动化测试
This commit is contained in:
2026-07-31 09:38:53 +08:00
parent 0b764b79de
commit 048aa9bc1e
19 changed files with 1089 additions and 18 deletions

View File

@@ -82,6 +82,8 @@
"finishedAt": "Finished At",
"assigneeType": "Assignee Type",
"assigneeTarget": "Assignee",
"restrictToApplicantDept": "Applicant department only",
"applicantDept": "Applicant Department",
"selectedDeptCount": "Selected departments: {value}",
"actedBy": "Acted By",
"actedAt": "Acted At",
@@ -118,6 +120,7 @@
"needStep": "At least one step is required",
"needStepAssignee": "Each approval step requires an assignee",
"confirmAssigneeTypeChange": "Changing the assignee type clears the current selections. Continue?",
"confirmApplicantDeptRestriction": "This will switch to role approval and clear selected departments. Continue?",
"saveSuccess": "Flow saved",
"statusUpdated": "Flow status updated",
"deleteSuccess": "Flow deleted",

View File

@@ -82,6 +82,8 @@
"finishedAt": "完成时间",
"assigneeType": "对象类型",
"assigneeTarget": "审批对象",
"restrictToApplicantDept": "限发起人部门",
"applicantDept": "发起人部门",
"selectedDeptCount": "已选 {value} 个部门",
"actedBy": "处理人",
"actedAt": "处理时间",
@@ -118,6 +120,7 @@
"needStep": "至少需要一个审批步骤",
"needStepAssignee": "每个审批步骤都需要配置审批对象",
"confirmAssigneeTypeChange": "切换审批方式会清空当前已选对象,确认继续吗?",
"confirmApplicantDeptRestriction": "开启后将改为角色审批并清空已选部门,确认继续吗?",
"saveSuccess": "审批流程已保存",
"statusUpdated": "流程状态已更新",
"deleteSuccess": "流程已删除",