This commit is contained in:
lijing
2026-08-18 17:10:35 +08:00
parent c5bfa3b623
commit fb17d564c7
9 changed files with 117 additions and 34 deletions
+4 -4
View File
@@ -385,14 +385,14 @@
// 新增学生表单
addForm: { grade:'', classId:'', name:'', stuClassNo:'', idCard:'', account:'', pwd:'' },
// 编辑学生表单
editForm: { grade:'', classId:'', name:'', stuClassNo:'', idCard:'', account:'', id:null,stuId:0,status:1 },
editForm: { grade:'', classId:'', name:'', stuClassNo:'', idCard:'', account:'', id:null,stuId:0,status:0 },
// 调班弹窗
currentSelectClass: '',
targetClass: '',
// 异动弹窗
currentStuName: '',
selectedStatus: 1,
selectedStatus: 0,
studentabnormallist: [],
formRules: {
grade: [{ required: true, message: '请选择年级', trigger: 'change' }],
@@ -593,7 +593,7 @@
account:this.addForm.account,
pwd:this.addForm.pwd,
stuId:0,
status:1
status:0
}
const url = APIConfig.BschClassSystem.studentsave;
this.$api.post(url, JSON.stringify(newItem), resp => {
@@ -813,7 +813,7 @@
this.changeStatusModalVisible = true;
this.currentStuName = this.selectedRows[0].name;
this.getstudentabnormal();
this.selectedStatus = 1;
this.selectedStatus = 0;
},
submitChangeStatus() {
const newItem = {