{ // pageType !== TYPE_STUDENTS &&
@@ -177,10 +177,13 @@ function CourseGroupList(props) {
padding-bottom: 8px;
}
.drop_down_menu .drop_down_btn{
- border-top:none;
+ border-top:none;
}
.dividerStyle.ant-divider-horizontal{
- margin: 0px;
+ margin: 0px;
+ }
+ .courseGroupList .ant-table-tbody tr:last-child td {
+ border-bottom: none;
}
`}
{ isAdmin &&
@@ -207,17 +210,28 @@ function CourseGroupList(props) {
onPressEnter={onPressEnter}
>
-
-
- {course_groups && !!course_groups.length ?
+ 未分班:
+ {none_group_member_count}个学生
+
+ {props.history.push(`/courses/${courseId}/course_groups/0`)}}>查看
+
+
+
+ {course_groups && !!course_groups.length ?
+
+
+ :
- }
-
-
+ >
+
+ :
+ }
+
)
}
diff --git a/public/react/src/modules/courses/members/CourseGroupListTable.js b/public/react/src/modules/courses/members/CourseGroupListTable.js
index 779e40f5e..f1dd3aafd 100644
--- a/public/react/src/modules/courses/members/CourseGroupListTable.js
+++ b/public/react/src/modules/courses/members/CourseGroupListTable.js
@@ -93,29 +93,33 @@ function CourseGroupListTable(props) {
render: (member_manager, record, index) => {
return member_manager
}
- },
- isAdmin ? {
- title: '邀请码',
- dataIndex: 'invite_code',
- key: 'invite_code',
- align:'center',
- width:"10%",
- className:"color-grey-6",
- render: (invite_code, record, index) => {
- return invite_code
- }
- } : {
- title: '你当前所在分班',
- dataIndex: 'group',
- key: 'group',
- align:'center',
- width:"20%",
- className:"color-grey-6",
- render: (invite_code, record, index) => {
- return props.current_group_id == record.id &&