diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index ac9d22119..748345c87 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -32,13 +32,6 @@ function buildColumns(that) { const isAdminOrTeacher = that.props.isAdminOrTeacher() const { course_groups } = that.state const columns = [{ - title: '', - dataIndex: 'course_member_id', - key: 'course_member_id', - render: (content, item, index) => { - return - } - },{ title: '序号', // dataIndex: 'name', key: 'index', @@ -152,6 +145,16 @@ function buildColumns(that) { }, }) } + if(isAdmin) { + columns.unshift({ + title: '', + dataIndex: 'course_member_id', + key: 'course_member_id', + render: (content, item, index) => { + return + } + }) + } return columns } @@ -540,7 +543,7 @@ class studentsList extends Component{ `}
- 已选 {checkBoxValues.length} 个 + { isAdmin && 已选 {checkBoxValues.length} 个 } {
{ this.hasGraduationModule() && isAdminOrTeacher &&
  • 加入答辩组