feat: 支持审批步骤绑定部门与多对象

- 新增审批对象关联表和存量数据迁移

- 支持用户、角色、部门多选及办理权限匹配

- 完善部门状态与批量管理交互
This commit is contained in:
2026-07-30 15:13:11 +08:00
parent 864cea6135
commit 57bd7b5d06
29 changed files with 3694 additions and 365 deletions

View File

@@ -24,7 +24,8 @@
"revoke": "Revoke",
"submit": "Submit Approval",
"addScope": "Add Scope",
"addStep": "Add Step"
"addStep": "Add Step",
"removeTarget": "Remove"
},
"scope": {
"category": "Category",
@@ -32,7 +33,8 @@
},
"assignee": {
"role": "Role",
"user": "User"
"user": "User",
"dept": "Department"
},
"status": {
"enabled": "Enabled",
@@ -53,7 +55,8 @@
},
"helper": {
"scope": "Limit the flow by resource category or applicant department. Leave empty to apply globally.",
"scopeEmpty": "No scope configured. This flow applies globally."
"scopeEmpty": "No scope configured. This flow applies globally.",
"assigneeAny": "Any selected assignee can process the same step."
},
"fields": {
"flowName": "Flow Name",
@@ -77,7 +80,9 @@
"applicantId": "Applicant ID",
"submittedAt": "Submitted At",
"finishedAt": "Finished At",
"assigneeType": "Assignee Type",
"assigneeTarget": "Assignee",
"selectedDeptCount": "Selected departments: {value}",
"actedBy": "Acted By",
"actedAt": "Acted At",
"comment": "Comment",
@@ -112,6 +117,7 @@
"message": {
"needStep": "At least one step is required",
"needStepAssignee": "Each approval step requires an assignee",
"confirmAssigneeTypeChange": "Changing the assignee type clears the current selections. Continue?",
"saveSuccess": "Flow saved",
"statusUpdated": "Flow status updated",
"deleteSuccess": "Flow deleted",