|
|
|
@ -34,7 +34,7 @@ class Collaborators extends Component {
|
|
|
|
|
Collaboratorsvisibleadmin: false,
|
|
|
|
|
value: 1,
|
|
|
|
|
page: 1,
|
|
|
|
|
Searchadmin: [],
|
|
|
|
|
Searchadmin: undefined,
|
|
|
|
|
allChangechecked: false,
|
|
|
|
|
Collaboratorslist: [],
|
|
|
|
|
Collaboratorslisttype: false,
|
|
|
|
@ -434,10 +434,10 @@ class Collaborators extends Component {
|
|
|
|
|
height: '30px',
|
|
|
|
|
lineHeight: '30px',
|
|
|
|
|
};
|
|
|
|
|
// console.log(collaboratorList)
|
|
|
|
|
|
|
|
|
|
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
|
|
|
|
|
|
|
|
|
|
console.log(Searchadmin)
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<p className="clearfix mt30"
|
|
|
|
@ -533,9 +533,9 @@ class Collaborators extends Component {
|
|
|
|
|
<Spin indicator={antIcon} spinning={this.state.spinnings}>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<ul className="upload_select_box fl" id="search_not_teachers_list" onScroll={this.contentViewScrolledit}>
|
|
|
|
|
{Searchadmin.length === 0 ? <li style={{textAlign: 'center'}}>
|
|
|
|
|
{Searchadmin === undefined ? <li style={{textAlign: 'center'}}>
|
|
|
|
|
<span>请试试搜索一下</span>
|
|
|
|
|
</li> : Searchadmin.map((item, key) => {
|
|
|
|
|
</li>:Searchadmin.length === 0 ? "": Searchadmin.map((item, key) => {
|
|
|
|
|
return (
|
|
|
|
|
<li key={key} style={{display: item.identify === "专业人士" ? "none" : "block"}}>
|
|
|
|
|
<Checkbox className="fl mr20" checked={item.checked}
|
|
|
|
|