From f829df79f80af0f5d12031e099d4a757c1fc3f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Wed, 27 Aug 2025 17:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=AD=A6=E6=A0=A1=E7=9A=84=E5=8A=9F=E8=83=BD=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20=E9=A2=84=E8=A7=88=E7=8F=AD=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/class/index.vue | 3 ++ src/views/menu/index.vue | 1 + src/views/school/preview.vue | 79 ++++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 src/views/school/preview.vue diff --git a/src/views/class/index.vue b/src/views/class/index.vue index 228e376..3f38e20 100644 --- a/src/views/class/index.vue +++ b/src/views/class/index.vue @@ -33,12 +33,14 @@ const tableData: TableConfig = { operationColumn: true, // 显示操作按钮 operationColumnData: [ { + perms: "班级修改", // 操作按钮 topBtn: false, // 是头部按钮 label: "修改", btnType: "edit", // 按钮类型 add edit del custom }, { + perms: "班级新增", topBtn: true, // 头部按钮 label: "新增", btnType: "custom", // 按钮类型 add edit del custom @@ -52,6 +54,7 @@ const tableData: TableConfig = { }, }, { + perms: "班级删除", topBtn: false, // 头部按钮 show: true, label: "删除", diff --git a/src/views/menu/index.vue b/src/views/menu/index.vue index 4a7a9ca..ef6f80f 100644 --- a/src/views/menu/index.vue +++ b/src/views/menu/index.vue @@ -18,6 +18,7 @@ :expand-on-click-node="false" show-checkbox ref="treeRef" + :check-strictly="true" :class="isAuthorized ? `menu-tree menu-tree1` : `menu-tree`" >