dev_ec
hjm 6 years ago
parent f5a31fcc50
commit 1a2de9b995

@ -164,16 +164,16 @@ function buildColumns(that) {
}, },
}) })
} }
// if(isAdminOrTeacher && hasGraduationModule) { if(isAdminOrTeacher && hasGraduationModule) {
// columns.unshift({ columns.unshift({
// title: '', title: '',
// dataIndex: 'course_member_id', dataIndex: 'course_member_id',
// key: 'course_member_id', key: 'course_member_id',
// render: (content, item, index) => { render: (content, item, index) => {
// return content ? <Checkbox value={content}></Checkbox> : '' return content ? <Checkbox value={content}></Checkbox> : ''
// } }
// }) })
// } }
return columns return columns
} }
@ -688,6 +688,10 @@ class studentsList extends Component{
line-height:30px!important; line-height:30px!important;
flex: 0 0 30px; flex: 0 0 30px;
} }
.teacher_table .ant-table-thead > tr > th, .ant-table-tbody > tr > td {
padding: 16px 10px;
}
`}</style> `}</style>
<div className="mt20 edu-back-white padding20 teacherList"> <div className="mt20 edu-back-white padding20 teacherList">
@ -741,7 +745,7 @@ class studentsList extends Component{
</div> } </div> }
</div>} </div>}
<Spin size="large" spinning={this.state.isSpin}> <Spin size="large" spinning={this.state.isSpin}>
<div className="clearfix stu_table"> <div className="clearfix stu_table teacher_table">
{combineArray.length ? {combineArray.length ?
<Checkbox.Group style={{ width: '100%' }} onChange={this.onCheckBoxChange} value={checkBoxValues}> <Checkbox.Group style={{ width: '100%' }} onChange={this.onCheckBoxChange} value={checkBoxValues}>
{/* pagination={{ current: page, total: total_count, pageSize:20, onChange: this.onPageChange }} */} {/* pagination={{ current: page, total: total_count, pageSize:20, onChange: this.onPageChange }} */}

Loading…
Cancel
Save