From da0bc74ae2221c9c92efe37779cf3fc92cd14dcc Mon Sep 17 00:00:00 2001 From: lijing Date: Wed, 26 Aug 2026 15:25:12 +0800 Subject: [PATCH] 1 --- src/views/studentManage/Christianity.vue | 11 ++++- src/views/studentManage/HigherEducation.vue | 51 ++++++++++++--------- 2 files changed, 38 insertions(+), 24 deletions(-) diff --git a/src/views/studentManage/Christianity.vue b/src/views/studentManage/Christianity.vue index aa9edae..c4168ec 100644 --- a/src/views/studentManage/Christianity.vue +++ b/src/views/studentManage/Christianity.vue @@ -717,7 +717,14 @@ } }, //按照学生学号导入 - openStuIdImportModal() { this.stuIdImportModalVisible = true }, + openStuIdImportModal() { + this.UpParmas2.datapre={ + schsystemId:this.schsystemId, + gradeId:this.gradeId, + classId:this.classId + }; + this.stuIdImportModalVisible = true + }, //导入成功返回 importFile2(response, file, fileList){ const _this=this; @@ -744,7 +751,7 @@ if (localStorage.getItem("currentRole")) { let currentRole = localStorage.getItem("currentRole"); let { schId, roleId, userId, childId } = JSON.parse(decodeURIComponent(currentRole)); - var url=APIConfig.BschClassSystem.studentClassNoTemplate+'?schId='+schId; + var url=APIConfig.BschClassSystem.studentClassNoTemplate+'?schId='+schId+'&schsystemId='+this.schsystemId+'&gradeId='+this.gradeId+'&classId='+this.classId; window.location.href=url; }else{ this.$Message.info('获取不了学校!'); diff --git a/src/views/studentManage/HigherEducation.vue b/src/views/studentManage/HigherEducation.vue index 50d2445..358be06 100644 --- a/src/views/studentManage/HigherEducation.vue +++ b/src/views/studentManage/HigherEducation.vue @@ -700,7 +700,14 @@ export default { } }, //按照学生学号导入 - openStuIdImportModal() { this.stuIdImportModalVisible = true }, + openStuIdImportModal() { + this.UpParmas2.datapre={ + schsystemId:this.schsystemId, + gradeId:this.gradeId, + classId:this.classId + }; + this.stuIdImportModalVisible = true; + }, //导入成功返回 importFil2(response, file, fileList){ const _this=this; @@ -722,27 +729,27 @@ export default { const _this=this; _this.spinShow=true; }, - MoBanExceldaochu2() { - var _this = this; - if (localStorage.getItem("currentRole")) { - let currentRole = localStorage.getItem("currentRole"); - let { schId, roleId, userId, childId } = JSON.parse(decodeURIComponent(currentRole)); - var url=APIConfig.BschClassSystem.studentClassNoTemplate+'?schId='+schId; - window.location.href=url; - }else{ - this.$Message.info('获取不了学校!'); - } - }, - //附件上传模态框关闭事件 - UpfileModalcloseclick2:function(){ - this.stuIdImportModalVisible=false; - this.UpParmas2={ - fileName:'', - listData:{}, - datapre:{}, - } - }, - + MoBanExceldaochu2() { + var _this = this; + if (localStorage.getItem("currentRole")) { + let currentRole = localStorage.getItem("currentRole"); + let { schId, roleId, userId, childId } = JSON.parse(decodeURIComponent(currentRole)); + var url=APIConfig.BschClassSystem.studentClassNoTemplate+'?schId='+schId+'&schsystemId='+this.schsystemId+'&gradeId='+this.gradeId+'&classId='+this.classId; + window.location.href=url; + }else{ + this.$Message.info('获取不了学校!'); + } + }, + + //附件上传模态框关闭事件 + UpfileModalcloseclick2:function(){ + this.stuIdImportModalVisible=false; + this.UpParmas2={ + fileName:'', + listData:{}, + datapre:{}, + } + }, //学生转出 batchTransferStudent(){