From aa8e8a331598b9a1773d5ba72cb285722cad6526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E6=A0=91=E9=80=9A?= <1976590620@qq.com> Date: Tue, 7 Apr 2020 18:10:25 +0800 Subject: [PATCH] =?UTF-8?q?PC=E7=AB=AF=EF=BC=8C=E5=BF=97=E6=84=BF=E8=80=85?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E7=A7=AF=E5=88=86=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E6=95=B4=E5=8E=9F=E5=9B=A0=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=EF=BC=8C=E7=B3=BB=E7=BB=9F=E6=8A=A5=E9=94=99?= =?UTF-8?q?=EF=BC=8C=E4=BD=86=E6=98=AF=E7=A7=AF=E5=88=86=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../points/volunteerinfo-points-adjust.vue | 104 ++++++++++-------- 1 file changed, 57 insertions(+), 47 deletions(-) diff --git a/src/views/modules/points/volunteerinfo-points-adjust.vue b/src/views/modules/points/volunteerinfo-points-adjust.vue index 5c9bee14..0df92cdd 100644 --- a/src/views/modules/points/volunteerinfo-points-adjust.vue +++ b/src/views/modules/points/volunteerinfo-points-adjust.vue @@ -1,18 +1,18 @@ @@ -148,7 +158,7 @@ export default { ...this.dataForm, ...res.data } - }).catch(() => {}) + }).catch(() => { }) }, dataFormSubmitHandle: debounce(function () { this.$refs['dataForm'].validate(valid => { @@ -157,19 +167,19 @@ export default { } this.$http['post']( '/points/pointslogs/confirmAdjustPoint', this.dataForm).then(({ data: res }) => { - if (res.code !== 0) { - return this.$message.error(res.msg) - } - this.$message({ - message: this.$t('prompt.success'), - type: 'success', - duration: 500, - onClose: () => { - this.visible = false - this.$emit('refreshDataList') + if (res.code !== 0) { + return this.$message.error(res.msg) } - }) - }).catch(() => {}) + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.visible = false + this.$emit('refreshDataList') + } + }) + }).catch(() => { }) }, 1000, { 'leading': true, 'trailing': false }) }), getBehaviorTypeList () { @@ -181,7 +191,7 @@ export default { } this.behaviorTypeList = res.data }) - .catch(() => {}) + .catch(() => { }) } } }