forked from Gitlink/forgeplus-react
易修:批量删除和批量修改issue状态要更新数量
This commit is contained in:
parent
fad42414dc
commit
bad4f79a0c
|
@ -437,6 +437,8 @@ class order extends Component {
|
|||
status_id: select_params.update_status_id
|
||||
}).then(result => {
|
||||
if (result) {
|
||||
const { getDetail } = this.props;
|
||||
(select_params && select_params.update_status_id) && getDetail && getDetail();
|
||||
this.props.showNotification("修改成功!");
|
||||
this.successFunc();
|
||||
}
|
||||
|
@ -450,7 +452,6 @@ class order extends Component {
|
|||
const { status_type } = this.state;
|
||||
this.getIssueList(status_type);
|
||||
}
|
||||
|
||||
resetSelectParams = () => {
|
||||
let select_params = this.state.select_params;
|
||||
select_params.update_author_id = undefined;
|
||||
|
@ -481,6 +482,8 @@ class order extends Component {
|
|||
ids: checkedValue
|
||||
}).then(result => {
|
||||
if (result) {
|
||||
const { getDetail } = this.props;
|
||||
getDetail && getDetail();
|
||||
this.props.showNotification("删除成功!");
|
||||
this.successFunc();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue