!29 fix(admin): 部门树首屏默认展开第一层,成员表居中消除集中空白

Merge pull request !29 from 王瑞雪/departmental-structure
This commit is contained in:
sophie authored and Gitee committed 2026-10-30 03:29:32 +00:00
commit b2fe9b78e2
28 files changed
+2101 -412

No files matched your search

+33 -5
View File
@@ -1292,6 +1292,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…",
@@ -1304,14 +1310,30 @@
},
"actions": {
"edit": "Edit",
"delete": "Delete",
"viewMembers": "View department members"
"delete": "Delete"
},
"members": {
"title": "{name} Members",
"count": "{count} members",
"empty": "No members"
"empty": "No members in this department",
"includeDescendants": "Include sub-departments",
"searchPlaceholder": "Search name / employee ID / email / phone",
"total": "{total} people in total",
"hint": "Click a department on the left to view its members",
"prevPage": "Previous page",
"nextPage": "Next page",
"columns": {
"name": "Name",
"contact": "Contact",
"employeeId": "Employee ID",
"department": "Department",
"status": "Status"
},
"status": {
"active": "Active",
"pending": "Pending",
"rejected": "Rejected"
}
},
"tags": { "hidden": "Hidden" },
"fields": {
"name": "Name",
"namePlaceholder": "e.g. IT Department",
@@ -1320,6 +1342,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?",
+7
View File
@@ -622,6 +622,13 @@
"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.",
"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.",
"SHIPPING.CUSTOMER_REBIND_BLOCKED": "Customer cannot be changed after a shipping notice/Excel has been generated — undo it first",
"SHIPPING.CUSTOMER_REBIND_SAME_CUSTOMER": "The selected customer is already the confirmed customer",
"SHIPPING.CUSTOMER_RESOLUTION_REQUIRED": "Confirm the customer identification first",