From b437f94d1aa840ad4988c3427a6723003c95a829 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 15 Apr 2025 16:58:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BA=BA=E5=91=98=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Select/SelectRole.vue | 98 +++++++++++++++++++++++++++ src/components/index.ts | 2 + src/views/admin/system/user/index.vue | 3 + 3 files changed, 103 insertions(+) create mode 100644 src/components/Select/SelectRole.vue diff --git a/src/components/Select/SelectRole.vue b/src/components/Select/SelectRole.vue new file mode 100644 index 0000000..3a30668 --- /dev/null +++ b/src/components/Select/SelectRole.vue @@ -0,0 +1,98 @@ + + + diff --git a/src/components/index.ts b/src/components/index.ts index 28fa17f..3e7ad0f 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -30,6 +30,7 @@ import SelectHardSpuCategory from "/@/components/Select/SelectHardSpuCategory.vu import SelectHard from "/@/components/Select/SelectHard.vue" import SelectHardSpu from "/@/components/Select/SelectHardSpu.vue" import SelectHardGroup from "/@/components/Select/selectHardGroup.vue" +import SelectRole from "/@/components/Select/SelectRole.vue" // 第三方组件 import ElementPlus from "element-plus" @@ -81,6 +82,7 @@ export default { app.component("SelectHandlerUser", SelectHandlerUser) app.component("SelectSupplier", SelectSupplier) app.component("SelectMchRule", SelectMchRule) + app.component("SelectRole", SelectRole) // 导入全部的elmenet-plus的图标 for (const [key, component] of Object.entries(ElementPlusIconsVue)) { diff --git a/src/views/admin/system/user/index.vue b/src/views/admin/system/user/index.vue index 44110d2..b7ac970 100644 --- a/src/views/admin/system/user/index.vue +++ b/src/views/admin/system/user/index.vue @@ -26,6 +26,9 @@ + + + 查询 重置