!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?",