易修:批量删除和批量修改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
|
status_id: select_params.update_status_id
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result) {
|
if (result) {
|
||||||
|
const { getDetail } = this.props;
|
||||||
|
(select_params && select_params.update_status_id) && getDetail && getDetail();
|
||||||
this.props.showNotification("修改成功!");
|
this.props.showNotification("修改成功!");
|
||||||
this.successFunc();
|
this.successFunc();
|
||||||
}
|
}
|
||||||
|
@ -450,7 +452,6 @@ class order extends Component {
|
||||||
const { status_type } = this.state;
|
const { status_type } = this.state;
|
||||||
this.getIssueList(status_type);
|
this.getIssueList(status_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
resetSelectParams = () => {
|
resetSelectParams = () => {
|
||||||
let select_params = this.state.select_params;
|
let select_params = this.state.select_params;
|
||||||
select_params.update_author_id = undefined;
|
select_params.update_author_id = undefined;
|
||||||
|
@ -481,6 +482,8 @@ class order extends Component {
|
||||||
ids: checkedValue
|
ids: checkedValue
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result) {
|
if (result) {
|
||||||
|
const { getDetail } = this.props;
|
||||||
|
getDetail && getDetail();
|
||||||
this.props.showNotification("删除成功!");
|
this.props.showNotification("删除成功!");
|
||||||
this.successFunc();
|
this.successFunc();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue