From b1aafc30d70b80753dac70683f65f6c3d18aa190 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Fri, 1 Apr 2022 13:53:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=B0=83=E6=95=B4=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../points/pointsintegraladjustmentcheck.vue | 98 +++++++++++++++---- .../modules/points/userinfo-points-adjust.vue | 66 +++++++++++-- 2 files changed, 138 insertions(+), 26 deletions(-) diff --git a/src/views/modules/points/pointsintegraladjustmentcheck.vue b/src/views/modules/points/pointsintegraladjustmentcheck.vue index bbacc22..811dbda 100644 --- a/src/views/modules/points/pointsintegraladjustmentcheck.vue +++ b/src/views/modules/points/pointsintegraladjustmentcheck.vue @@ -16,32 +16,39 @@ - - - - + + + + + + - - - - + + + + - + - + - + - - - - + + + + + + @@ -54,6 +61,23 @@ @size-change="pageSizeChangeHandle" @current-change="pageCurrentChangeHandle"> + + + + + + + + + + + + + + @@ -75,11 +99,51 @@ export default { }, dataForm: { id: '' - } + }, + form: { + checkOpinion: '', + state: '2', + id: '' + + }, + dialogFormVisible: false } }, components: { AddOrUpdate - } + }, + methods:{ + openCheckHandle(id){ + this.dialogFormVisible = true + this.form.id = id + this.form.checkOpinion = '' + this.form.state = '2' + }, + checkHandle() { + // if(this.form.state === ''){ + // this.$message({ + // message: '请填写审核意见', + // type: 'error', + // duration: 1500, + // onClose: () => {} + // }) + // return false; + // } + this.$http['put']('/points/pointsintegraladjustmentcheck/updateCheck', this.form).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.dialogFormVisible = false + this.getDataList() + } + }) + }).catch(() => { }) + } + } } diff --git a/src/views/modules/points/userinfo-points-adjust.vue b/src/views/modules/points/userinfo-points-adjust.vue index ddd7b61..20bddc3 100644 --- a/src/views/modules/points/userinfo-points-adjust.vue +++ b/src/views/modules/points/userinfo-points-adjust.vue @@ -45,17 +45,22 @@ - + 加积分 减积分 + + + + + + - +