易修:批量删除和批量修改issue状态要更新数量

This commit is contained in:
caishi 2021-06-22 10:21:31 +08:00
parent fad42414dc
commit bad4f79a0c
1 changed files with 4 additions and 1 deletions

View File

@ -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();
}