|
|
|
@ -88,10 +88,14 @@ class commonWork extends Component{
|
|
|
|
|
let {page,search,order}=this.state;
|
|
|
|
|
this.getList(page,search,order);
|
|
|
|
|
}
|
|
|
|
|
useBankSuccess = () => {
|
|
|
|
|
useBankSuccess = (checkBoxValues, newWorkIdArray) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
page:1
|
|
|
|
|
page:1,
|
|
|
|
|
checkBoxValues: newWorkIdArray
|
|
|
|
|
}, () => {
|
|
|
|
|
this.refs['publishModalRef'].open()
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
let {search, order}=this.state;
|
|
|
|
|
this.getList(1, search, order);
|
|
|
|
|
}
|
|
|
|
@ -418,7 +422,7 @@ class commonWork extends Component{
|
|
|
|
|
onClick={this.onWorkDelete}>删除</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="li_line">
|
|
|
|
|
<PublishRightnow showActionButton={true} {...this.props} checkBoxValues={checkBoxValues}
|
|
|
|
|
<PublishRightnow ref="publishModalRef" showActionButton={true} {...this.props} checkBoxValues={checkBoxValues}
|
|
|
|
|
isPublish={true} doWhenSuccess={this.doWhenSuccess} fromListPage={true}></PublishRightnow>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="li_line">
|
|
|
|
|