PCqiandao
杨树明 5 years ago
parent b9476a4a23
commit 8228762cd8

@ -36,7 +36,7 @@ class Teacherentry extends Component {
<React.Fragment> <React.Fragment>
<div className={index===0?"ws100s edu-back-white ": "ws100s edu-back-white mt20"}> <div className={index===0?"ws100s edu-back-white ": "ws100s edu-back-white mt20"}>
<div className="ws100s teacherentrydiv "> <div className="ws100s teacherentrydiv ">
<p className="ws100s teachedivp ymaxnamewidthdivp xiaoshou" onClick={()=>this.props.qiandaoxiangq(true,item.id)}> <p className={isAdmin?"ws100s teachedivp ymaxnamewidthdivp xiaoshou":"ws100s teachedivp ymaxnamewidthdivp"} onClick={isAdmin?()=>this.props.qiandaoxiangq(true,item.id):""}>
{ {
item.name item.name
} }

@ -219,24 +219,29 @@ class Signedinlist extends Component {
title: '序号', title: '序号',
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
width:300,
className: "textcenter", className: "textcenter",
}, },
{ {
title: '姓名', title: '姓名',
dataIndex: 'user_name', dataIndex: 'user_name',
key: 'user_name', key: 'user_name',
width:300,
className: "textcenter", className: "textcenter",
}, },
{ {
title: '学号', title: '学号',
dataIndex: 'student_id', dataIndex: 'student_id',
key: 'student_id', key: 'student_id',
width:300,
className: "textcenter", className: "textcenter",
}, },
{ {
title: '状态', title: '状态',
key: 'attendance_status', key: 'attendance_status',
width:300,
dataIndex: 'attendance_status', dataIndex: 'attendance_status',
className: "textcenter",
render: (text, record) => ( render: (text, record) => (
<span> <span>
<Select key={record.index} defaultValue={record.attendance_status} className={"Signedinlistbox"} style={{ width: 167 }} onChange={(e)=>this.handleChange(e,record.user_id)}> <Select key={record.index} defaultValue={record.attendance_status} className={"Signedinlistbox"} style={{ width: 167 }} onChange={(e)=>this.handleChange(e,record.user_id)}>

Loading…
Cancel
Save