From 7210002c694a3b0914272bd45cf6709eec88bba1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com>
Date: Thu, 25 Sep 2025 16:57:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=AD=A6=E6=A0=A1?=
=?UTF-8?q?=E9=A2=84=E8=A7=88=E7=95=8C=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/school/index.vue | 4 +-
src/views/school/preview.vue | 82 ------------------------------------
2 files changed, 2 insertions(+), 84 deletions(-)
delete mode 100644 src/views/school/preview.vue
diff --git a/src/views/school/index.vue b/src/views/school/index.vue
index 8ece4c7..ad2b340 100644
--- a/src/views/school/index.vue
+++ b/src/views/school/index.vue
@@ -38,11 +38,13 @@ const tableData: TableConfig = intTableData({
// 操作按钮
topBtn: false, // 是头部按钮
label: "修改",
+ perms: "学校修改",
btnType: "edit", // 按钮类型 add edit del custom
},
{
topBtn: true, // 头部按钮
label: "新增学校",
+ perms: "学校新增",
btnType: "custom", // 按钮类型 add edit del custom
btnStyle: "success", // topBtn: true才生效 success danger
custom: {
@@ -79,10 +81,8 @@ const tableData: TableConfig = intTableData({
label: "学校项目",
width: "200px",
type: "dropdown",
- search: new TableColumnSearch(true),
edit: {
multiple: true,
-
edit: true,
},
},
diff --git a/src/views/school/preview.vue b/src/views/school/preview.vue
deleted file mode 100644
index 87664ee..0000000
--- a/src/views/school/preview.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-