From 8529add85da71a7e53512c46c91648168ad6d95a Mon Sep 17 00:00:00 2001 From: lijing Date: Tue, 1 Sep 2026 08:45:54 +0800 Subject: [PATCH] 1 --- src/frame/layout.vue | 4 +- src/views/studentManage/Christianity.vue | 4 +- src/views/studentManage/HigherEducation.vue | 106 ++++++++++---------- 3 files changed, 57 insertions(+), 57 deletions(-) diff --git a/src/frame/layout.vue b/src/frame/layout.vue index f78ee29..f98b9a0 100644 --- a/src/frame/layout.vue +++ b/src/frame/layout.vue @@ -17,7 +17,7 @@ {{ userInfo.name }}
- + @@ -97,7 +97,7 @@
- + 首页 diff --git a/src/views/studentManage/Christianity.vue b/src/views/studentManage/Christianity.vue index c4168ec..e392e33 100644 --- a/src/views/studentManage/Christianity.vue +++ b/src/views/studentManage/Christianity.vue @@ -407,8 +407,8 @@ uploadHeader() { //附件上传header let config = {}; if (localStorage.getItem("currentRole")) { - let currentRole = localStorage.getItem("currentRole"); - config["currentRole"] = currentRole; + let currentRole = localStorage.getItem("currentRole"); + config["currentRole"] = currentRole; } return config; }, diff --git a/src/views/studentManage/HigherEducation.vue b/src/views/studentManage/HigherEducation.vue index c685ee8..6fa74a3 100644 --- a/src/views/studentManage/HigherEducation.vue +++ b/src/views/studentManage/HigherEducation.vue @@ -173,25 +173,25 @@
-
- - - - - - - -
导入失败,请修改Excel文件中相关数据后再重新上传!
-
导入成功!
-
+ + + + + + + + +
导入失败,请修改Excel文件中相关数据后再重新上传!
+
导入成功!
+
@@ -338,22 +338,22 @@ export default { datapre:{}, actionUrl:APIConfig.BschClassSystem.importStudentClassNo, columns:[ - { - title: '行号', - key: 'rows', - align: 'center', - width:'80' - }, - { - title: '内容', - key: 'columnValue', - align: 'center', - }, - { - title: '错误详情', - key: 'errorMsg', - align: 'center', - } + { + title: '行号', + key: 'rows', + align: 'center', + width:'80' + }, + { + title: '内容', + key: 'columnValue', + align: 'center', + }, + { + title: '错误详情', + key: 'errorMsg', + align: 'center', + } ], }, @@ -392,8 +392,8 @@ export default { uploadHeader() { //附件上传header let config = {}; if (localStorage.getItem("currentRole")) { - let currentRole = localStorage.getItem("currentRole"); - config["currentRole"] = currentRole; + let currentRole = localStorage.getItem("currentRole"); + config["currentRole"] = currentRole; } return config; }, @@ -401,7 +401,7 @@ export default { created() { this.getgradeselect(); this.getClassTree(); - this.initTableColumn() + this.initTableColumn(); }, methods: { //获取年级下拉 @@ -409,10 +409,10 @@ export default { const _this = this; var item={}; _this.$api.get(APIConfig.BschClassSystem.getgradeselect, item, resp => { - if(resp.code==0) - { - this.gradeselectlist=resp.data; - } + if(resp.code==0) + { + this.gradeselectlist=resp.data; + } }); }, //获取班级下拉 @@ -422,10 +422,10 @@ export default { gradeId:_this.enrollYear }; _this.$api.get(APIConfig.BschClassSystem.getschclassselect, item, resp => { - if(resp.code==0) - { - this.schclassselectlist=resp.data; - } + if(resp.code==0) + { + this.schclassselectlist=resp.data; + } }); }, //获取学生状态列表 @@ -513,12 +513,12 @@ export default { this.enrollYear=treeNode.enrollYear?treeNode.enrollYear+'':''; this.classId=treeNode.classId?treeNode.classId+'':''; this.selectnodeid=treeNode.id; - this.pageNum = 1 - this.loadData() + this.pageNum = 1; + this.loadData(); }, // 多选行回调 selectionChange(rows) { - this.selectedRows = rows + this.selectedRows = rows; }, // 加载列表数据 @@ -623,7 +623,7 @@ export default { this.$api.post(url, JSON.stringify(newItem), resp => { if (resp.code == 0) { this.$Message.success("编辑保存成功!"); - this.editModalVisible = false + this.editModalVisible = false; this.loadData(); } else if (resp.code == 4) { this.$Message.info(resp.msg); @@ -635,7 +635,7 @@ export default { // 批量删除 batchDelete() { if (!this.selectedRows.length) { - return this.$Message.warning('请先勾选学生') + return this.$Message.warning('请先勾选学生'); } this.$Modal.confirm({ title: '提示', @@ -646,8 +646,8 @@ export default { this.$api.post(url,{}, resp => { if (resp.code == 0) { this.$Message.success("删除成功!"); - this.selectedRows = [] - this.loadData() + this.selectedRows = []; + this.loadData(); } else if (resp.code == 4) { this.$Message.info(resp.msg); }