From d3d713f13145d695a2a23aee88d75973a70f484a Mon Sep 17 00:00:00 2001 From: gaoxq <376340421@qq.com> Date: Thu, 5 Mar 2026 18:32:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E9=A1=B5=E9=9D=A2=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- screen-vue/src/components/Layout/index.vue | 4 - screen-vue/src/router/index.js | 4 +- screen-vue/src/views/desktop/index.vue | 414 ++++++++------------- screen-vue/src/views/system/menu/form.vue | 82 +++- screen-vue/src/views/system/menu/list.vue | 59 ++- screen-vue/src/views/system/role/index.vue | 51 ++- 6 files changed, 315 insertions(+), 299 deletions(-) diff --git a/screen-vue/src/components/Layout/index.vue b/screen-vue/src/components/Layout/index.vue index 6d9735e..8fa875e 100644 --- a/screen-vue/src/components/Layout/index.vue +++ b/screen-vue/src/components/Layout/index.vue @@ -163,10 +163,6 @@ import { ref, watch, onMounted, onUnmounted, nextTick } from 'vue' import { useRouter, useRoute } from 'vue-router' import { ElMessage, ElMessageBox } from 'element-plus' -import { - ArrowDown, Lock, SwitchButton, User, FullScreen, Monitor, - Expand, Fold, Close, ArrowLeft, ArrowRight, Menu, House -} from '@element-plus/icons-vue' import { getUserMenuList } from '@/api/bizMenu' import LogoImg from '@/assets/logo.png' import EditPswd from './components/editPswd.vue' diff --git a/screen-vue/src/router/index.js b/screen-vue/src/router/index.js index 380b50f..4ba0778 100644 --- a/screen-vue/src/router/index.js +++ b/screen-vue/src/router/index.js @@ -5,7 +5,7 @@ import Layout from '@/components/Layout/index.vue' import Dashboard from '@/views/desktop/index.vue' import bigScreen from '@/views/screen/index.vue' -const modules = import.meta.glob('../views/**/index.vue', { +const modules = import.meta.glob('../views/**/{index,list}.vue', { eager: false, import: 'default' }) @@ -41,7 +41,7 @@ const generateRoutes = () => { component: module }) }) - + return routes } diff --git a/screen-vue/src/views/desktop/index.vue b/screen-vue/src/views/desktop/index.vue index 2ce214e..adf95ef 100644 --- a/screen-vue/src/views/desktop/index.vue +++ b/screen-vue/src/views/desktop/index.vue @@ -1,313 +1,203 @@ \ No newline at end of file diff --git a/screen-vue/src/views/system/menu/form.vue b/screen-vue/src/views/system/menu/form.vue index a9c4495..4627fe5 100644 --- a/screen-vue/src/views/system/menu/form.vue +++ b/screen-vue/src/views/system/menu/form.vue @@ -22,7 +22,7 @@ @@ -61,14 +61,15 @@ v-model="formData.sort" placeholder="请输入菜单序号" clearable + type="number" />
- + @@ -83,12 +84,23 @@ - - - + +
+ + + + {{ iconName }} +
+
@@ -110,7 +122,8 @@