feat(admin): 部门管理改造为组织树形结构
This commit is contained in:
1 parent
c5b7cc662b
commit
48fe19ed71
21 files changed
+1086
-234
No files matched your search
@@ -1244,6 +1244,12 @@
|
||||
"subtitle": "Manage organization structure",
|
||||
"edit": "Edit Department",
|
||||
"add": "Add New Department",
|
||||
"addChild": "Add sub-department",
|
||||
"expandAll": "Expand all",
|
||||
"collapseAll": "Collapse all",
|
||||
"expand": "Expand",
|
||||
"collapse": "Collapse",
|
||||
"noCompany": "Unassigned company",
|
||||
"noDepts": "No departments configured.",
|
||||
"noSearchResults": "No matching departments found",
|
||||
"searchPlaceholder": "Search by name, code, or company…",
|
||||
@@ -1262,8 +1268,12 @@
|
||||
"members": {
|
||||
"title": "{name} Members",
|
||||
"count": "{count} members",
|
||||
"includeDescendants": "Include sub-departments",
|
||||
"fromDepartment": "From: {department}",
|
||||
"countTitle": "{count} people in total (incl. sub-departments)",
|
||||
"empty": "No members"
|
||||
},
|
||||
"tags": { "hidden": "Hidden" },
|
||||
"fields": {
|
||||
"name": "Name",
|
||||
"namePlaceholder": "e.g. IT Department",
|
||||
@@ -1272,6 +1282,12 @@
|
||||
"company": "Company",
|
||||
"companyPlaceholder": "e.g. HQ",
|
||||
"description": "Description",
|
||||
"parent": "Parent department",
|
||||
"parentRoot": "(As top-level department)",
|
||||
"sort": "Sibling order",
|
||||
"visibility": "Visibility",
|
||||
"hidden": "Hide in organization tree",
|
||||
"hiddenHint": "Hidden departments are excluded from the organization tree but remain visible here (maps to ERP \"show in org chart\")",
|
||||
"descriptionPlaceholder": "Department description..."
|
||||
},
|
||||
"confirmDelete": "Delete this department?",
|
||||
|
||||
@@ -598,6 +598,13 @@
|
||||
"TRANSFER.DOCUMENT_NOT_FOUND": "Transfer ticket not found.",
|
||||
"INTEGRATION.BINDING_LEGACY_PUT_REJECTED": "Legacy single-step fields would truncate this binding's multi-step recipe; submit ordered steps via steps_json instead.",
|
||||
"INTEGRATION.CALL_NOT_FOUND": "Integration call not found.",
|
||||
"INTEGRATION.BINDING_STEPS_INVALID": "Binding steps invalid: steps_json is required, must be a non-empty array of objects."
|
||||
"INTEGRATION.BINDING_STEPS_INVALID": "Binding steps invalid: steps_json is required, must be a non-empty array of objects.",
|
||||
"DEPT.NAME_REQUIRED": "Department name is required.",
|
||||
"DEPT.PARENT_INVALID": "Parent department does not exist or has been deleted.",
|
||||
"DEPT.NAME_EXISTS": "A sibling department with the same name already exists.",
|
||||
"DEPT.CODE_EXISTS": "Department code is already used by another department.",
|
||||
"DEPT.CYCLE_FORBIDDEN": "A department cannot be its own parent or descendant.",
|
||||
"DEPT.HAS_CHILDREN": "This department has child departments; move or delete them first.",
|
||||
"DEPT.HAS_MEMBERS": "This department still has members and cannot be deleted."
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user