|
|
|
@ -343,6 +343,7 @@ class PollDetailTabForthRules extends Component{
|
|
|
|
|
render(){
|
|
|
|
|
let {rules,course_group,flagPageEdit}=this.state
|
|
|
|
|
let isAdmin=this.props.isAdmin();
|
|
|
|
|
console.log(flagPageEdit)
|
|
|
|
|
return(
|
|
|
|
|
<div className="bor-top-greyE pt20">
|
|
|
|
|
<p className="clearfix mb10">
|
|
|
|
@ -477,7 +478,7 @@ class PollDetailTabForthRules extends Component{
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
flagPageEdit ?
|
|
|
|
|
flagPageEdit ?this.props.isAdmin()?
|
|
|
|
|
<li className="fl pt5">
|
|
|
|
|
{rule.p_timeflag===undefined?r > 0&&rule.publish_time===null?<Tooltip title="删除">
|
|
|
|
|
<a className="mr20" onClick={()=>this.removeRules(`${r}`)}><i className="iconfont icon-shanchu color-grey-9 font-18"></i></a>
|
|
|
|
@ -508,7 +509,7 @@ class PollDetailTabForthRules extends Component{
|
|
|
|
|
}
|
|
|
|
|
<Tooltip title="新增"><a className="mt6" onClick={this.AddRules}><i className="iconfont icon-tianjiafangda color-green font-18"></i></a> </Tooltip>
|
|
|
|
|
</li>
|
|
|
|
|
:""
|
|
|
|
|
:"":""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|