diff --git a/src/views/class/edit.vue b/src/views/class/edit.vue
index 8da2f5f..9a6de3c 100644
--- a/src/views/class/edit.vue
+++ b/src/views/class/edit.vue
@@ -261,7 +261,6 @@ const handlePagedCallback = () => {
};
const handleSubmitForm = async () => {
- debugger;
if (props.id <= 0 || ClassNames.value.length < 1) {
ElMessage.error("班级列表为空!");
return;
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 @@
-
-
-
-
diff --git a/src/views/teacher/edit.vue b/src/views/teacher/edit.vue
index fb16dbc..1cfb886 100644
--- a/src/views/teacher/edit.vue
+++ b/src/views/teacher/edit.vue
@@ -386,7 +386,6 @@ const handleSubmitForm = async () => {
}
try {
loading.value = true;
- debugger;
const postIdArr = positionList.value.map((s) => s.id).filter((s) => s != null);
const addPArr = positionList.value
diff --git a/src/views/toschoolinfomanage/index.vue b/src/views/toschoolinfomanage/index.vue
index b8f3aeb..9478bd7 100644
--- a/src/views/toschoolinfomanage/index.vue
+++ b/src/views/toschoolinfomanage/index.vue
@@ -225,7 +225,6 @@ const tableRowClassName = ({ row, rowIndex }: { row: TableItem; rowIndex: number
const d = new Date(row.endTime + " ");
const startTime = new Date(row.times + " ");
const daysDiff1 = (nD.getTime() - startTime.getTime()) / (1000 * 60 * 60 * 24);
- debugger;
const daysDiff = (d.getTime() - nD.getTime()) / (1000 * 60 * 60 * 24);
if (daysDiff <= -errorDay) {
return "error-row";