From bad4f79a0c2aa6f366d23d1fc4e3b00a5c2461f4 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 22 Jun 2021 10:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=93=E4=BF=AE=EF=BC=9A=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=92=8C=E6=89=B9=E9=87=8F=E4=BF=AE=E6=94=B9?= =?UTF-8?q?issue=E7=8A=B6=E6=80=81=E8=A6=81=E6=9B=B4=E6=96=B0=E6=95=B0?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Order/order.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/forge/Order/order.js b/src/forge/Order/order.js index 2443d105..79a95bd2 100644 --- a/src/forge/Order/order.js +++ b/src/forge/Order/order.js @@ -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(); }