@@ -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('获取不了学校!');
|
||||
|
||||
@@ -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;
|
||||
@@ -727,12 +734,13 @@ export default {
|
||||
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('获取不了学校!');
|
||||
}
|
||||
},
|
||||
|
||||
//附件上传模态框关闭事件
|
||||
UpfileModalcloseclick2:function(){
|
||||
this.stuIdImportModalVisible=false;
|
||||
@@ -743,7 +751,6 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
//学生转出
|
||||
batchTransferStudent(){
|
||||
if (!this.selectedRows.length) return this.$Message.warning('请勾选学生');
|
||||
|
||||
Reference in New Issue
Block a user