diff --git a/src/views/schoolAdmin/student/index.vue b/src/views/schoolAdmin/student/index.vue
index 67068d9..110099d 100644
--- a/src/views/schoolAdmin/student/index.vue
+++ b/src/views/schoolAdmin/student/index.vue
@@ -26,8 +26,6 @@
{{ className(row.schoolClassId) }}
-
-
编辑
@@ -62,8 +60,6 @@
-
-
取消
@@ -90,7 +86,7 @@ const form = ref({});
const faculties = ref([]);
const majors = ref([]);
const classes = ref([]);
-const studentTemplateHeaders = ["姓名", "学号", "性别", "所属院系", "所属专业", "所属班级", "手机", "邮箱"];
+const studentTemplateHeaders = ["姓名", "学号", "性别", "所属院系", "所属专业", "所属班级"];
const sexOptions = [
{ label: "男", value: "男" },
{ label: "女", value: "女" },
@@ -144,11 +140,11 @@ const downloadStudentTemplate = async () => {
const sampleOrg = firstOrgRow();
const templateRows = [
studentTemplateHeaders,
- ["张三", "20260001", "男", sampleOrg.所属院系, sampleOrg.所属专业, sampleOrg.所属班级, "13800000000", "zhangsan@example.com"],
+ ["张三", "20260001", "男", sampleOrg.所属院系, sampleOrg.所属专业, sampleOrg.所属班级],
];
const templateSheet = XLSX.utils.aoa_to_sheet(templateRows);
- templateSheet["!cols"] = [{ wch: 14 }, { wch: 18 }, { wch: 10 }, { wch: 18 }, { wch: 18 }, { wch: 18 }, { wch: 18 }, { wch: 28 }];
- templateSheet["!autofilter"] = { ref: "A1:H1" };
+ templateSheet["!cols"] = [{ wch: 14 }, { wch: 18 }, { wch: 10 }, { wch: 18 }, { wch: 18 }, { wch: 18 }];
+ templateSheet["!autofilter"] = { ref: "A1:F1" };
const orgSheet = XLSX.utils.json_to_sheet(orgRows().length ? orgRows() : [{ 所属院系: "请先维护院系", 所属专业: "请先维护专业", 所属班级: "请先维护班级" }]);
orgSheet["!cols"] = [{ wch: 22 }, { wch: 22 }, { wch: 22 }];
diff --git a/src/views/teacherEnd/student/index.vue b/src/views/teacherEnd/student/index.vue
index d982ae7..b35c7f9 100644
--- a/src/views/teacherEnd/student/index.vue
+++ b/src/views/teacherEnd/student/index.vue
@@ -58,8 +58,6 @@
-
-
@@ -104,12 +102,6 @@
-
-
-
-
-
-