From b1e972ad4b5b1888b9bc6950a9d6ff247e676c6f Mon Sep 17 00:00:00 2001 From: songyunpeng Date: Wed, 13 May 2020 08:47:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=97=E6=84=BF=E8=80=85=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E8=A1=8C=E4=B8=BA=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../points/volunteerinfo-points-adjust.vue | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/modules/points/volunteerinfo-points-adjust.vue b/src/views/modules/points/volunteerinfo-points-adjust.vue index 31959c2..aabe836 100644 --- a/src/views/modules/points/volunteerinfo-points-adjust.vue +++ b/src/views/modules/points/volunteerinfo-points-adjust.vue @@ -41,9 +41,9 @@ prop="behaviorCode"> + :key="item.behaviorCode" + :label="item.behaviorDesc" + :value="item.behaviorCode"> @@ -169,24 +169,24 @@ export default { } this.$http['post']( '/points/pointslogs/confirmAdjustPoint', this.dataForm).then(({ data: res }) => { - if (res.code !== 0) { - return this.$message.error(res.msg) + 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') } - this.$message({ - message: this.$t('prompt.success'), - type: 'success', - duration: 500, - onClose: () => { - this.visible = false - this.$emit('refreshDataList') - } - }) - }).catch(() => { }) + }) + }).catch(() => { }) }, 1000, { 'leading': true, 'trailing': false }) }), getBehaviorTypeList () { this.$http - .get(`/sys/dict/listSimple/pointsrule_behavior`) + .get(`/points/pointsbehavior/getAllBehaviorDesc`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg)