|
|
|
@ -216,7 +216,9 @@ class Bullsubdirectory extends Component{
|
|
|
|
|
let{description,whethertoeditysl,addonAfter,eduintits,informs,isSpinysl} =this.state;
|
|
|
|
|
let{myname,mydescription,id}=this.props;
|
|
|
|
|
const {getFieldDecorator} = this.props.form;
|
|
|
|
|
|
|
|
|
|
console.log("Bullsubdirectory");
|
|
|
|
|
console.log(this.props.isAdmin());
|
|
|
|
|
console.log(this.props.yslbool);
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment >
|
|
|
|
|
<div >
|
|
|
|
@ -239,10 +241,13 @@ class Bullsubdirectory extends Component{
|
|
|
|
|
<div>
|
|
|
|
|
<span className="fr yslbianji" style={{marginRight:"17px"}}>
|
|
|
|
|
{
|
|
|
|
|
this.props.isClassManagement() === true ?
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(this.props.yslbool===false?
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
编辑
|
|
|
|
|
</div>}>
|
|
|
|
|
<i className="iconfont icon-bianji1 newbianji1" onClick={()=>this.bianji(true)}></i>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
)
|
|
|
|
@ -251,10 +256,13 @@ class Bullsubdirectory extends Component{
|
|
|
|
|
</span>
|
|
|
|
|
<span className="fr yslbianji" style={{marginRight:"22px"}}>
|
|
|
|
|
{
|
|
|
|
|
this.props.isClassManagement() === true ?
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(this.props.yslbool===false?
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
删除
|
|
|
|
|
</div>}>
|
|
|
|
|
<i className="iconfont icon-shanchu newbianji1" style={{ color: "#4CACFF"}} onClick={()=>this.setModeltrue(true)}></i>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
)
|
|
|
|
|