From b3b63793f71feb99f8312486def3dcffd348537c Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Thu, 1 Aug 2024 07:55:27 +0800 Subject: [PATCH] =?UTF-8?q?style:=20:lipstick:=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/menu/index.vue | 68 ++++++++++++++++++--------------- src/views/system/role/index.vue | 2 +- 2 files changed, 39 insertions(+), 31 deletions(-) diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index fbe5fc20..f5fc0003 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -11,13 +11,14 @@ /> - 搜索 + + + 搜索 + - 重置 + 重置 + @@ -30,8 +31,8 @@ @click="handleOpenDialog(0)" > - 新增 + 新增 + 目录 - 菜单 - 按钮 - 外链 + 目录 + + + 菜单 + + + 按钮 + + + 外链 + @@ -131,7 +133,8 @@ size="small" @click.stop="handleOpenDialog(scope.row.id)" > - 新增 + + 新增 - 编辑 + + 编辑 + > + 删除 @@ -276,12 +281,12 @@ placeholder="system/user/index" style="width: 95%" > - - + + @@ -303,8 +308,9 @@ type="success" plain @click="formData.params = [{ key: '', value: '' }]" - >添加路由参数 + 添加路由参数 +
@@ -368,8 +374,10 @@ 始终显示 @@ -492,7 +500,7 @@ const rules = reactive({ // 选择表格的行菜单ID const selectedMenuId = ref(); -// 查询 +// 查询菜单 function handleQuery() { loading.value = true; MenuAPI.getList(queryParams) diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index a468756e..8fa34dc9 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -454,7 +454,7 @@ function togglePermTree() { } } -/** 权限筛选 */ +/** 权限筛选 */ watch(permKeywords, (val) => { permTreeRef.value!.filter(val); });