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)