9.21更新

This commit is contained in:
许允枞 2024-09-21 13:58:50 +08:00
parent 0eee3a2fa0
commit 85ae66dc87

View File

@ -288,10 +288,9 @@ export default {
for (let i = 0; i < this.HitRegistrationStudentInfoList.length; i++) { for (let i = 0; i < this.HitRegistrationStudentInfoList.length; i++) {
// //
this.HitRegistrationStudentInfoList[i].zdTeacherList =this.HitRegistrationStudentInfoList[i].zdTeacher.map(teacher => teacher.userId) this.HitRegistrationStudentInfoList[i].zdTeacherList =this.HitRegistrationStudentInfoList[i].zdTeacher.map(teacher => teacher.userId)
// this.HitRegistrationStudentInfoList[i].status = '' this.HitRegistrationStudentInfoList[i].registrationInformation= {}
//this.registrationInformation //this.registrationInformation
for (let j = 0; j < this.registrationInformation.length; j++) { for (let j = 0; j < this.registrationInformation.length; j++) {
console.log("看看执行")
if (this.registrationInformation[j].regId == this.HitRegistrationStudentInfoList[i].id){ if (this.registrationInformation[j].regId == this.HitRegistrationStudentInfoList[i].id){
this.HitRegistrationStudentInfoList[i].registrationInformation = this.registrationInformation[j] this.HitRegistrationStudentInfoList[i].registrationInformation = this.registrationInformation[j]
} }
@ -300,8 +299,6 @@ export default {
} }
console.log("this.HitRegistrationStudentInfoList", this.HitRegistrationStudentInfoList) console.log("this.HitRegistrationStudentInfoList", this.HitRegistrationStudentInfoList)
// this.zdTeacherList = this.HitRegistrationStudentInfoList[0].zdTeacher.map(teacher => teacher.userId);
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}); });
@ -317,7 +314,6 @@ export default {
// //
submitData(data,status) { submitData(data,status) {
data.status = status data.status = status
// this.registrationInformation.regId = regId
console.log("这是提交的信息", data) console.log("这是提交的信息", data)
editRegUser(data).then(res => { editRegUser(data).then(res => {