更新
This commit is contained in:
parent
8872456cff
commit
e854f75882
@ -115,7 +115,9 @@ public class HitRegInfoServiceImpl implements IHitRegInfoService {
|
|||||||
}
|
}
|
||||||
case "2": {
|
case "2": {
|
||||||
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserIdNoYear(regInfoUser.getUserId());
|
HitRegistrationTeachInfo hitRegistrationTeachInfo = teachInfoMapper.selectHitRegistrationTeachInfoByUserIdNoYear(regInfoUser.getUserId());
|
||||||
|
if (hitRegistrationTeachInfo != null) {
|
||||||
regInfo.getZdTeacher().add(hitRegistrationTeachInfo);
|
regInfo.getZdTeacher().add(hitRegistrationTeachInfo);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "1":
|
case "1":
|
||||||
|
|||||||
@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
<el-table-column type="expand">
|
<el-table-column type="expand">
|
||||||
<template slot-scope="props">
|
<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.teacherName }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="老师职务">{{ props.row.ldTeacher.teacherJob }}</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>
|
<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++) {
|
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)
|
||||||
|
console.log('看看执行报错的地方')
|
||||||
this.HitRegistrationStudentInfoList[i].registrationInformation = {}
|
this.HitRegistrationStudentInfoList[i].registrationInformation = {}
|
||||||
//循环this.registrationInformation
|
//循环this.registrationInformation
|
||||||
if (this.registrationInformation) {
|
if (this.registrationInformation) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user