|
|
|
@ -107,7 +107,7 @@ const buildColumns = (that,isParent) => {
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
if (course_groups && course_groups.length) {
|
|
|
|
|
columns.push({
|
|
|
|
|
this.isStudentPage && columns.push({
|
|
|
|
|
title: '分班',
|
|
|
|
|
dataIndex: 'course_group_name',
|
|
|
|
|
key: 'course_group_name',
|
|
|
|
@ -687,6 +687,7 @@ class studentsList extends Component{
|
|
|
|
|
} else {
|
|
|
|
|
pageType = TYPE_COURSE_GOURP_PARENT
|
|
|
|
|
}
|
|
|
|
|
// 本页面有2个状态,学生列表、具体分班
|
|
|
|
|
const isStudentPage = pageType == TYPE_STUDENTS
|
|
|
|
|
this.isStudentPage = isStudentPage
|
|
|
|
|
const isGroupChildPage = pageType == TYPE_COURSE_GOURP_CHILD
|
|
|
|
|