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: '请选择一条记录进行重推操作' }) }