9.21更新
This commit is contained in:
parent
0eee3a2fa0
commit
85ae66dc87
@ -288,10 +288,9 @@ export default {
|
||||
for (let i = 0; i < this.HitRegistrationStudentInfoList.length; i++) {
|
||||
//判断当前登录用户是否为指导老师
|
||||
this.HitRegistrationStudentInfoList[i].zdTeacherList =this.HitRegistrationStudentInfoList[i].zdTeacher.map(teacher => teacher.userId)
|
||||
// this.HitRegistrationStudentInfoList[i].status = ''
|
||||
this.HitRegistrationStudentInfoList[i].registrationInformation= {}
|
||||
//循环this.registrationInformation
|
||||
for (let j = 0; j < this.registrationInformation.length; j++) {
|
||||
console.log("看看执行")
|
||||
if (this.registrationInformation[j].regId == this.HitRegistrationStudentInfoList[i].id){
|
||||
this.HitRegistrationStudentInfoList[i].registrationInformation = this.registrationInformation[j]
|
||||
}
|
||||
@ -300,8 +299,6 @@ export default {
|
||||
}
|
||||
console.log("this.HitRegistrationStudentInfoList", this.HitRegistrationStudentInfoList)
|
||||
|
||||
// this.zdTeacherList = this.HitRegistrationStudentInfoList[0].zdTeacher.map(teacher => teacher.userId);
|
||||
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
@ -317,7 +314,6 @@ export default {
|
||||
//指导老师同意
|
||||
submitData(data,status) {
|
||||
data.status = status
|
||||
// this.registrationInformation.regId = regId
|
||||
|
||||
console.log("这是提交的信息", data)
|
||||
editRegUser(data).then(res => {
|
||||
|
Loading…
Reference in New Issue
Block a user