|
|
|
@ -17,19 +17,6 @@ import DownloadMessageysl from "../../modals/DownloadMessageysl";
|
|
|
|
|
import CreateGroupByImportModal from './modal/CreateGroupByImportModal'
|
|
|
|
|
|
|
|
|
|
const Search =Input.Search;
|
|
|
|
|
const dataSource = [{
|
|
|
|
|
check:<Checkbox></Checkbox>,
|
|
|
|
|
id: <span className="color-grey-6">1</span>,
|
|
|
|
|
name: <a href="javascript:void(0)"className="color-grey-3">胡莎莎</a>,
|
|
|
|
|
StuNo: <span className="color-grey-9">32</span>,
|
|
|
|
|
classes: <span className="color-grey-3 task-hide classesName">西湖区湖底公园1号</span>
|
|
|
|
|
}, {
|
|
|
|
|
check:<Checkbox></Checkbox>,
|
|
|
|
|
id: <span className="color-grey-6">2</span>,
|
|
|
|
|
name: <a href="javascript:void(0)"className="color-grey-3">胡莎莎</a>,
|
|
|
|
|
StuNo: <span className="color-grey-9">32</span>,
|
|
|
|
|
classes: <span className="color-grey-3 task-hide classesName">西湖区湖底公园2号</span>
|
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
const buildColumns = (that) => {
|
|
|
|
|
const { course_groups } = that.state
|
|
|
|
@ -100,7 +87,7 @@ const buildColumns = (that) => {
|
|
|
|
|
dataIndex: 'check',
|
|
|
|
|
key: 'check',
|
|
|
|
|
render: (text, item) => {
|
|
|
|
|
return <Checkbox value={item.course_member_id}></Checkbox>
|
|
|
|
|
return <Checkbox value={item.course_member_id} key={item.course_member_id} ></Checkbox>
|
|
|
|
|
},
|
|
|
|
|
width:"5%"
|
|
|
|
|
})
|
|
|
|
@ -280,6 +267,7 @@ class studentsList extends Component{
|
|
|
|
|
}
|
|
|
|
|
componentDidUpdate(prevProps) {
|
|
|
|
|
if (prevProps.match.params.course_group_id != this.props.match.params.course_group_id) {
|
|
|
|
|
this.setState({checkBoxValues: []})
|
|
|
|
|
this.fetchAll(1)
|
|
|
|
|
}
|
|
|
|
|
// 加载了2次
|
|
|
|
|