|
|
|
@ -453,29 +453,52 @@ class Collaborators extends Component {
|
|
|
|
|
// console.log(Searchadmin)
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<p className=" mt30 sortinxdirection"
|
|
|
|
|
<style>
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.sortinxdirectionbox{
|
|
|
|
|
height: 76px;
|
|
|
|
|
border-bottom: 1px solid #F4F4F4;
|
|
|
|
|
}
|
|
|
|
|
.pt25{
|
|
|
|
|
padding-top:25px;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<p className="sortinxdirection sortinxdirectionbox"
|
|
|
|
|
style={{display:this.props.identity<5?"flex":"none"}}
|
|
|
|
|
>
|
|
|
|
|
<div className="yslwushiwidth">
|
|
|
|
|
<p className="edu-default-btn edu-greenback-btn ml20 height28 yslwushiwidthcolortest">共{collaboratorList&&collaboratorList.length}人</p>
|
|
|
|
|
<p className="edu-default-btn edu-greenback-btn ml20 height28 mt25 color333hezuo">{collaboratorList&&collaboratorList.length}人</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="yslwushiwidth xaxisreverseorder">
|
|
|
|
|
<a onClick={() => this.showCollaboratorsvisible("cooperation")}
|
|
|
|
|
className="edu-default-btn edu-greenback-btn mr20 height40 yslwushiwidthbuton"
|
|
|
|
|
data-remote="true">
|
|
|
|
|
<span className={"line27"}>+ </span>添加合作者
|
|
|
|
|
</a>
|
|
|
|
|
<a onClick={() => this.showCollaboratorsvisible("admin")}
|
|
|
|
|
<div className="yslwushiwidth xaxisreverseorder pt25">
|
|
|
|
|
{/*<a onClick={() => this.showCollaboratorsvisible("cooperation")}*/}
|
|
|
|
|
{/* className="edu-default-btn edu-greenback-btn mr20 height40 yslwushiwidthbuton"*/}
|
|
|
|
|
{/* data-remote="true">*/}
|
|
|
|
|
{/* <span className={"line27"}>+ </span>添加合作者*/}
|
|
|
|
|
{/*</a>*/}
|
|
|
|
|
{/*<a onClick={() => this.showCollaboratorsvisible("admin")}*/}
|
|
|
|
|
{/* style={{display:this.props.identity===1?"flex":"none"}}*/}
|
|
|
|
|
{/* data-remote="true"*/}
|
|
|
|
|
{/* className="edu-default-btn edu-greenback-btn mr20 height40 yslwushiwidthbuton">*/}
|
|
|
|
|
{/* <p style={{*/}
|
|
|
|
|
{/* textAlign: "center",*/}
|
|
|
|
|
{/* width:'100%',*/}
|
|
|
|
|
{/* lineHeight: "29px",*/}
|
|
|
|
|
{/* }}>更换管理员</p>*/}
|
|
|
|
|
{/*</a>*/}
|
|
|
|
|
<Button type="primary"
|
|
|
|
|
onClick={() => this.showCollaboratorsvisible("cooperation")}
|
|
|
|
|
className="edu-default-btn edu-greenback-btn mr20 heighthezuo34 yslwushiwidthbuton"
|
|
|
|
|
>添加合作者</Button>
|
|
|
|
|
<Button type="primary" ghost
|
|
|
|
|
style={{display:this.props.identity===1?"flex":"none"}}
|
|
|
|
|
data-remote="true"
|
|
|
|
|
className="edu-default-btn edu-greenback-btn mr20 height40 yslwushiwidthbuton">
|
|
|
|
|
<p style={{
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width:'100%',
|
|
|
|
|
lineHeight: "29px",
|
|
|
|
|
}}>更换管理员</p>
|
|
|
|
|
</a>
|
|
|
|
|
onClick={() => this.showCollaboratorsvisible("admin")}
|
|
|
|
|
className="edu-default-btn mr20 heighthezuo34">
|
|
|
|
|
更换管理员
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -633,10 +656,10 @@ class Collaborators extends Component {
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p className="color-grey-B2 font-12 mb10 sortinxdirection mt14">
|
|
|
|
|
<p className="yslwushiwidth90 sortinxdirection">
|
|
|
|
|
<p className={item.user.identity===null||item.user.identity===undefined||item.user.identity===""?" font-16 ":"mr20 font-16 w70"}>{item.user.identity}</p>
|
|
|
|
|
<p className="hezuozhe660 sortinxdirection space-between">
|
|
|
|
|
{/*<p className={item.user.identity===null||item.user.identity===undefined||item.user.identity===""?" font-16 ":"mr20 font-16 w70"}>{item.user.identity}</p>*/}
|
|
|
|
|
<p className={item.user.school_name===null||item.user.school_name===""?"":"mr40 font-16 maxnamewidth150"}>{item.user.school_name}</p>
|
|
|
|
|
<p className="fabushixunwidth">发布实训项目 <span className="fabushixunwidthcolor ml2">{item.user.user_shixuns_count}</span></p>
|
|
|
|
|
<p className="fabushixunwidth color888hezuo">发布实训项目 <span className="ml2">{item.user.user_shixuns_count}</span></p>
|
|
|
|
|
</p>
|
|
|
|
|
<div className="xaxisreverseorder yslwushiwidth10">
|
|
|
|
|
{item.user.shixun_manager === true ? "" :
|
|
|
|
|