课堂管理者才有权利进行管理公告aliyun 分支

dev_hss
杨树林 5 years ago
parent 220820a313
commit 880e6e76f6

@ -216,9 +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);
// console.log("Bullsubdirectory");
// console.log(this.props.isAdmin());
// console.log(this.props.yslbool);
return(
<React.Fragment >
<div >
@ -241,7 +241,7 @@ class Bullsubdirectory extends Component{
<div>
<span className="fr yslbianji" style={{marginRight:"17px"}}>
{
this.props.isAdmin() === true ?
this.props.isClassManagement() === true ?
(this.props.yslbool===false?
<Tooltip placement="bottom" title={<div>
编辑
@ -256,7 +256,7 @@ class Bullsubdirectory extends Component{
</span>
<span className="fr yslbianji" style={{marginRight:"22px"}}>
{
this.props.isAdmin() === true ?
this.props.isClassManagement() === true ?
(this.props.yslbool===false?
<Tooltip placement="bottom" title={<div>
删除

@ -231,7 +231,7 @@ class Eduinforms extends Component{
<p style={{height: '20px'}}>
<span className="font-18 fl color-dark-21">公告栏</span>
{
this.props.isAdmin()===true?
this.props.isClassManagement()===true?
(this.state.yslbool===false?
<li className="btn colorblue font-16 fr bluebkbk pointer"
onClick={() => this.bianji(true)}>

Loading…
Cancel
Save