From b98febcff5e3ecece213ab1689e5d1c03d4ab6b9 Mon Sep 17 00:00:00 2001 From: KAI <1373639299@qq.com> Date: Sat, 28 Dec 2024 15:00:09 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=88=86=E5=89=B2?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/GiCell/GiCellStatus.vue | 2 +- src/components/SplitPanel/index.vue | 409 +++++++++++++++++++++++++ src/types/components.d.ts | 1 + src/views/system/dict/index.vue | 104 ++++--- src/views/system/dict/tree/index.vue | 2 +- src/views/system/user/dept/index.vue | 2 +- src/views/system/user/index.vue | 160 +++++----- 7 files changed, 549 insertions(+), 131 deletions(-) create mode 100644 src/components/SplitPanel/index.vue diff --git a/src/components/GiCell/GiCellStatus.vue b/src/components/GiCell/GiCellStatus.vue index 2376a4c..234c35c 100644 --- a/src/components/GiCell/GiCellStatus.vue +++ b/src/components/GiCell/GiCellStatus.vue @@ -17,7 +17,7 @@ const props = withDefaults(defineProps(), { }) interface Props { - status: 0 | 1 + status: 1 | 2 } diff --git a/src/components/SplitPanel/index.vue b/src/components/SplitPanel/index.vue new file mode 100644 index 0000000..d46da10 --- /dev/null +++ b/src/components/SplitPanel/index.vue @@ -0,0 +1,409 @@ + + + + + diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 89911eb..604dfd6 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -51,6 +51,7 @@ declare module 'vue' { RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] SecondForm: typeof import('./../components/GenCron/CronForm/component/second-form.vue')['default'] + SplitPanel: typeof import('./../components/SplitPanel/index.vue')['default'] TextCopy: typeof import('./../components/TextCopy/index.vue')['default'] UserSelect: typeof import('./../components/UserSelect/index.vue')['default'] Verify: typeof import('./../components/Verify/index.vue')['default'] diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 5d6b7a4..f78bcd7 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -5,57 +5,61 @@
字典管理
- - + + + + diff --git a/src/views/system/dict/tree/index.vue b/src/views/system/dict/tree/index.vue index cfae43c..59bc57b 100644 --- a/src/views/system/dict/tree/index.vue +++ b/src/views/system/dict/tree/index.vue @@ -218,7 +218,7 @@ onMounted(() => { background-color: var(--color-bg-1); position: relative; height: 100%; - margin-bottom:10px; +/* margin-bottom:10px;*/ .tree { position: absolute; top: 0; diff --git a/src/views/system/user/dept/index.vue b/src/views/system/user/dept/index.vue index 89ddf20..4c169b7 100644 --- a/src/views/system/user/dept/index.vue +++ b/src/views/system/user/dept/index.vue @@ -150,7 +150,7 @@ onMounted(() => { background-color: var(--color-bg-1); position: relative; height: 100%; - margin-bottom:10px; +/* margin-bottom:10px;*/ .tree { position: absolute; top: 0; diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 4c4b33e..a66e369 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -5,86 +5,90 @@
用户管理
- - + + +