From 73d47aae5737b7ea7a7ba2189ad8099c08bcaedf Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 31 Oct 2023 11:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=87=BA=E5=BA=93=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E7=AE=A1=E7=90=86--=E5=A2=9E=E5=8A=A0=E9=87=8D?= =?UTF-8?q?=E6=8E=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chukuguanli/chukubanli/chukushenqing.vue | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue index d45f09f151..a42e1f08aa 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue @@ -404,12 +404,23 @@ export default { // 重推 toPush() { if (this.sids.length === 1) { - ckxstz({ ckSid: this.sids[0] }).then((resp) => { - if (resp.success) { - this.$message({ showClose: true, type: 'success', message: '重推成功' }) - this.getList() - } - }) + if (this.multipleSelection[0].nodeState === '已办结') { + const loading = this.$loading({ + lock: true, + text: 'Loading', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }) + ckxstz({ ckSid: this.sids[0] }).then((resp) => { + loading.close() + if (resp.success) { + this.$message({ showClose: true, type: 'success', message: '重推成功' }) + this.getList() + } + }) + } else { + this.$message({ showClose: true, type: 'error', message: '请选择状态为已办结的记录进行重推操作' }) + } } else { this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行重推操作' }) }