This commit is contained in:
lijing
2026-08-26 15:25:12 +08:00
parent 79ab93547c
commit da0bc74ae2
2 changed files with 38 additions and 24 deletions
+9 -2
View File
@@ -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('获取不了学校!');
+29 -22
View File
@@ -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(){