更新
This commit is contained in:
parent
8872456cff
commit
e854f75882
@ -115,7 +115,9 @@ public class HitRegInfoServiceImpl implements IHitRegInfoService {
|
||||
}
|
||||
case "2": {
|
||||
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserIdNoYear(regInfoUser.getUserId());
|
||||
regInfo.getZdTeacher().add(hitRegistrationTeachInfo);
|
||||
if (hitRegistrationTeachInfo != null) {
|
||||
regInfo.getZdTeacher().add(hitRegistrationTeachInfo);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "1":
|
||||
|
@ -100,7 +100,7 @@
|
||||
|
||||
<el-table-column type="expand">
|
||||
<template slot-scope="props">
|
||||
<el-descriptions :title="'领队老师'" style="margin-left: 10%">
|
||||
<el-descriptions :title="'领队老师'" style="margin-left: 10%" v-if="props.row.ldTeacher">
|
||||
<el-descriptions-item label="老师姓名">{{ props.row.ldTeacher.teacherName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="老师职务">{{ props.row.ldTeacher.teacherJob }}</el-descriptions-item>
|
||||
<el-descriptions-item label="老师手机号">{{ props.row.ldTeacher.teacherNumber }}</el-descriptions-item>
|
||||
@ -511,6 +511,7 @@ export default {
|
||||
for (let i = 0; i < this.HitRegistrationStudentInfoList.length; i++) {
|
||||
//判断当前登录用户是否为指导老师
|
||||
this.HitRegistrationStudentInfoList[i].zdTeacherList = this.HitRegistrationStudentInfoList[i].zdTeacher.map(teacher => teacher.userId)
|
||||
console.log('看看执行报错的地方')
|
||||
this.HitRegistrationStudentInfoList[i].registrationInformation = {}
|
||||
//循环this.registrationInformation
|
||||
if (this.registrationInformation) {
|
||||
|
Loading…
Reference in New Issue
Block a user