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 @@
-
-
-
-