|
|
@ -35,8 +35,8 @@ class Teacherentry extends Component {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<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" onClick={isAdmin?(e)=>{e.stopPropagation();this.props.qiandaoxiangq(true,item.id)}:""}>
|
|
|
|
<p className={isAdmin?"ws100s teachedivp ymaxnamewidthdivp xiaoshou":"ws100s teachedivp ymaxnamewidthdivp"} onClick={isAdmin?()=>this.props.qiandaoxiangq(true,item.id):""}>
|
|
|
|
<p className={isAdmin?"ws100s teachedivp ymaxnamewidthdivp xiaoshou color-blue":"ws100s teachedivp ymaxnamewidthdivp"} >
|
|
|
|
{
|
|
|
|
{
|
|
|
|
item.name
|
|
|
|
item.name
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -95,18 +95,18 @@ class Teacherentry extends Component {
|
|
|
|
isAdmin === true ?
|
|
|
|
isAdmin === true ?
|
|
|
|
this.props.defaultActiveKey === "1" ?
|
|
|
|
this.props.defaultActiveKey === "1" ?
|
|
|
|
<div className="ws100s xaxisreverseorder">
|
|
|
|
<div className="ws100s xaxisreverseorder">
|
|
|
|
<div className="jiezhis h40s xiaoshou" onClick={()=>this.props.thisEnd(item.id)}>截止</div>
|
|
|
|
<div className="jiezhis h40s xiaoshou" onClick={(e)=>{e.stopPropagation();this.props.thisEnd(item.id)}}>截止</div>
|
|
|
|
<div className="shanchu h40s xiaoshou" onClick={()=>this.props.thisdelete(item.id)}>删除</div>
|
|
|
|
<div className="shanchu h40s xiaoshou" onClick={(e)=>{e.stopPropagation();this.props.thisdelete(item.id)}}>删除</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
item.edit_auth === true ?
|
|
|
|
item.edit_auth === true ?
|
|
|
|
<div className="ws100s xaxisreverseorder">
|
|
|
|
<div className="ws100s xaxisreverseorder">
|
|
|
|
<div className="jiezhis h40s xiaoshou" onClick={()=>this.props.Signinnamestypes(item.id,true,item.name)}>编辑</div>
|
|
|
|
<div className="jiezhis h40s xiaoshou" onClick={(e)=>{e.stopPropagation();this.props.Signinnamestypes(item.id,true,item.name)}}>编辑</div>
|
|
|
|
<div className="shanchu h40s xiaoshou" onClick={()=>this.props.thisdelete(item.id)}>删除</div>
|
|
|
|
<div className="shanchu h40s xiaoshou" onClick={(e)=>{e.stopPropagation();this.props.thisdelete(item.id)}}>删除</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<div className="ws100s xaxisreverseorder">
|
|
|
|
<div className="ws100s xaxisreverseorder">
|
|
|
|
<div className="jiezhis h40s color-reds xiaoshou" onClick={()=>this.props.thisdelete(item.id)}>删除</div>
|
|
|
|
<div className="jiezhis h40s color-reds xiaoshou" onClick={(e)=>{e.stopPropagation();this.props.thisdelete(item.id)}}>删除</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
(
|
|
|
|
(
|
|
|
@ -116,7 +116,7 @@ class Teacherentry extends Component {
|
|
|
|
item.attendance_status?
|
|
|
|
item.attendance_status?
|
|
|
|
(
|
|
|
|
(
|
|
|
|
item.attendance_status==="ABSENCE"?
|
|
|
|
item.attendance_status==="ABSENCE"?
|
|
|
|
<div className="qiandaobutton xiaoshou" onClick={()=>this.props.Signin(item.mode,item.id,item.attendance_code)}>
|
|
|
|
<div className="qiandaobutton xiaoshou" onClick={(e)=>{e.stopPropagation();this.props.Signin(item.mode,item.id,item.attendance_code)}}>
|
|
|
|
签到
|
|
|
|
签到
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
|