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

@ -36,7 +36,7 @@ class Teacherentry extends Component {
<React.Fragment>
<div className={index===0?"ws100s edu-back-white ": "ws100s edu-back-white mt20"}>
<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
}

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

Loading…
Cancel
Save