From 3f236bb1b1db396fd8c96ea9dbdc2863c363ca6d Mon Sep 17 00:00:00 2001 From: dinghao <2639919794@qq.com> Date: Wed, 22 May 2024 16:31:55 +0800 Subject: [PATCH] feat --- .../src/router/organizationManage.ts | 4 +- .../departmentManage/index.vue | 108 +++- .../organizationManage/usermanage/index.vue | 598 ++++++++++++++++++ lib/component/table/use-table-column.ts | 2 +- 4 files changed, 698 insertions(+), 14 deletions(-) rename hx-ai-intelligent/src/view/{ => organizationManage}/departmentManage/index.vue (62%) create mode 100644 hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue diff --git a/hx-ai-intelligent/src/router/organizationManage.ts b/hx-ai-intelligent/src/router/organizationManage.ts index 8081979..6592192 100644 --- a/hx-ai-intelligent/src/router/organizationManage.ts +++ b/hx-ai-intelligent/src/router/organizationManage.ts @@ -39,7 +39,7 @@ const organizationManage = { { path: 'index', name: 'userManageIndex', - component: () => import('/@/view/developing.vue'), + component: () => import('/@/view/organizationManage/usermanage/index.vue'), meta: { title: '用户管理', keepAlive: true, @@ -63,7 +63,7 @@ const organizationManage = { { path: 'index', name: 'authorityManageIndex', - component: () => import('/@/view/departmentManage/index.vue'), + component: () => import('/@/view/organizationManage/departmentManage/index.vue'), meta: { title: '部门/权限', keepAlive: true, diff --git a/hx-ai-intelligent/src/view/departmentManage/index.vue b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue similarity index 62% rename from hx-ai-intelligent/src/view/departmentManage/index.vue rename to hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue index 5327a42..dd4ac37 100644 --- a/hx-ai-intelligent/src/view/departmentManage/index.vue +++ b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue @@ -6,9 +6,9 @@
部门管理
- 新增部门 - 新增子部门 - 删除 + 新增部门 + 新增子部门 + 删除 + diff --git a/lib/component/table/use-table-column.ts b/lib/component/table/use-table-column.ts index 5c25a54..86f65bf 100644 --- a/lib/component/table/use-table-column.ts +++ b/lib/component/table/use-table-column.ts @@ -33,7 +33,7 @@ export function useTableColumn({ columnActions }: any) { if (autoMergeAction) { const _actions = []; const actionsLength = actions.length; - if (actionsLength > 2) { + if (actionsLength > 4) { const moreAction = { label: '更多', openPermission: true,