diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index 2c02c93..8bef0a8 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -153,12 +153,14 @@ export default { this.$message.error('请填写完整信息') } else { if (this.form.TYPE !== '2') { + this.loading = true requestFN('/xgf/user/approveMax', this.form) .then((data) => { this.$message.success('推送成功') this.visible = false this.$emit('refresh', '') this.handleClose() + this.loading = false }) .catch((e) => { console.log(e) @@ -174,12 +176,14 @@ export default { formData.append('weiTuoShu', this.form.APPOINT_ANNEX[i].raw) } } + this.loading = true upload('/xgf/user/approveMax', formData) .then((data) => { this.$message.success('推送成功') this.visible = false this.$emit('refresh', '') this.handleClose() + this.loading = false }) .catch((e) => { console.log(e)