|
|
|
@ -75,7 +75,6 @@ class commonWork extends Component{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
componentDidUpdate(prevProps, prevState) {
|
|
|
|
|
debugger;
|
|
|
|
|
if (prevProps.match.path != this.props.match.path) {
|
|
|
|
|
this.componentDidMount()
|
|
|
|
|
}
|
|
|
|
@ -198,6 +197,7 @@ class commonWork extends Component{
|
|
|
|
|
this.clearSelection()
|
|
|
|
|
let {search,order}=this.state;
|
|
|
|
|
this.getList(1,search,order);
|
|
|
|
|
this.props.updataleftNavfun()
|
|
|
|
|
}
|
|
|
|
|
console.log(response)
|
|
|
|
|
}).catch((error) => {
|
|
|
|
@ -395,11 +395,11 @@ class commonWork extends Component{
|
|
|
|
|
</li>
|
|
|
|
|
<li className="li_line">
|
|
|
|
|
<PublishRightnow showActionButton={true} {...this.props} checkBoxValues={checkBoxValues}
|
|
|
|
|
isPublish={true} doWhenSuccess={this.doWhenSuccess}></PublishRightnow>
|
|
|
|
|
isPublish={true} doWhenSuccess={this.doWhenSuccess} fromListPage={true}></PublishRightnow>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="li_line">
|
|
|
|
|
<PublishRightnow showActionButton={true} {...this.props} checkBoxValues={checkBoxValues}
|
|
|
|
|
isPublish={false} doWhenSuccess={this.doWhenSuccess}></PublishRightnow>
|
|
|
|
|
isPublish={false} doWhenSuccess={this.doWhenSuccess} fromListPage={true}></PublishRightnow>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
{ !!course_public && <li className="li_line"><a href="javascript:void(0)" onClick={this.onSetPublic} className="color-grey-9">设为公开</a></li>}
|
|
|
|
|