feat(dept): 部门管理改为表格,系统精简为 5 列、自定义表格化并支持拖动排序
build / build (push) Successful in 2m53s

- 系统部门:卡片网格改为表格(序号/部门名称/上级/人员/状态),层级用缩进+折叠表达;
  去掉新增、排序与操作列,只保留启停与「包含子组」
- 人员列:memberCount + memberNames 前 3 个姓名 + N,Tooltip 展示完整预览,
  点击弹窗分页查看全部(/api/sysuser/List?groupId=,不传 withSub 只看直属)
- 自定义部门:卡片改表格(序号/名称/人员/状态/操作),行拖动排序沿用 customDeptSort,
  分类列表支持拖动(customDeptCategorySort),原有新增/编辑/删除/成员/上下移保留
- DeptCard.vue、CustomDeptCard.vue 标记为已废弃(无引用,可安全删除)
This commit is contained in:
chenxing
2026-10-23 10:31:04 +08:00
parent 83a73dfcc8
commit c39c0f83d7
5 changed files with 751 additions and 60 deletions
+1
View File
@@ -1,3 +1,4 @@
<!-- 自定义部门卡片(已被 CustomDeptPanel.vue 的表格取代,2026-10-23)。保留文件仅作参考,无任何引用,可安全删除。 -->
<template>
<article class="cdept-card" :class="{ 'is-off': !dept.enabled }">
<div class="row-1">