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
---
hx-ai-intelligent/src/router/organizationManage.ts | 4 +-
.../src/view/departmentManage/index.vue | 220 --------
.../organizationManage/departmentManage/index.vue | 306 +++++++++++
.../view/organizationManage/usermanage/index.vue | 598 +++++++++++++++++++++
lib/component/table/use-table-column.ts | 2 +-
5 files changed, 907 insertions(+), 223 deletions(-)
delete mode 100644 hx-ai-intelligent/src/view/departmentManage/index.vue
create mode 100644 hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue
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/departmentManage/index.vue
deleted file mode 100644
index 5327a42..0000000
--- a/hx-ai-intelligent/src/view/departmentManage/index.vue
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
-
部门管理
-
-
- 新增部门
- 新增子部门
- 删除
-
-
- {{ title }}
-
-
-
-
-
-
-
-
- 2
-
- 取消
- 确定
-
-
-
-
-
-
-
-
diff --git a/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue
new file mode 100644
index 0000000..dd4ac37
--- /dev/null
+++ b/hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
部门管理
+
+
+ 新增部门
+ 新增子部门
+ 删除
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+ 2
+
+ 取消
+ {{
+ disabled ? '编辑' : '确定'
+ }}
+
+
+
+
+
角色管理
+
+
+ 新增角色
+ 新增子角色
+ 删除
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+ 2
+
+ 取消
+ 确定
+
+
+
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue b/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue
new file mode 100644
index 0000000..f025282
--- /dev/null
+++ b/hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue
@@ -0,0 +1,598 @@
+
+
+
+
+
+
+
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,