|
|
|
@ -1009,8 +1009,10 @@ class TPMBanner extends Component {
|
|
|
|
|
placement="bottom"
|
|
|
|
|
visible={this.state.openknow}
|
|
|
|
|
>
|
|
|
|
|
<Tooltip placement="bottom" title={"发布后,可以使用到自己的课堂和课程"}>
|
|
|
|
|
<a onClick={this.applyrelease} className="fr kaike kkbths mr20 font-18 height39"
|
|
|
|
|
id="challenge_begin">发布</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Popover>: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1087,21 +1089,28 @@ class TPMBanner extends Component {
|
|
|
|
|
placement="bottom"
|
|
|
|
|
visible={this.state.openshowpublictype}
|
|
|
|
|
>
|
|
|
|
|
<Button type="primary" ghost id="challenge_begin" onClick={this.openpublic} className="fr kaike kkbths mr20 font-18 height39">
|
|
|
|
|
申请公开
|
|
|
|
|
</Button>
|
|
|
|
|
<Tooltip placement="bottom" title={"审核通过后,平台用户可以查看实训"}>
|
|
|
|
|
<Button type="primary" ghost id="challenge_begin" onClick={this.openpublic} className="fr kaike kkbths mr20 font-18 height39">
|
|
|
|
|
申请公开
|
|
|
|
|
</Button>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Popover>: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{shixunsDetails.shixun_status === 2 && shixunsDetails.public===1 && this.props.identity < 5 ?
|
|
|
|
|
<Button type="primary" ghost id="challenge_begin" onClick={this.hidenpublic} className="fr kaike kkbths mr20 font-18 height39" style={{'width': '140px'}}>
|
|
|
|
|
撤销申请公开
|
|
|
|
|
</Button>: ""
|
|
|
|
|
<Tooltip placement="bottom" title={"撤销后,仅可以使用到自己的课堂和课程"}>
|
|
|
|
|
<Button type="primary" ghost id="challenge_begin" onClick={this.hidenpublic} className="fr kaike kkbths mr20 font-18 height39" style={{'width': '140px'}}>
|
|
|
|
|
撤销申请公开
|
|
|
|
|
</Button>
|
|
|
|
|
</Tooltip>: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{shixunsDetails.shixun_status === 2 && shixunsDetails.public===0 && this.props.identity < 5 ?
|
|
|
|
|
<Tooltip placement="bottom" title={"撤销发布后,学员将无法进行练习"}>
|
|
|
|
|
<a onClick={this.cancel_publish} className="fr kaike kkbths mr20 font-18 height39"
|
|
|
|
|
id="challenge_begin">撤销发布</a> : ""
|
|
|
|
|
id="challenge_begin">撤销发布</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|