From 48522a260148e61c260d5bf0e15c16d5da2fdea9 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Wed, 13 Jul 2022 17:53:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=BC=80=E5=8F=91=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BC=9A=E5=91=98=E7=BC=B4=E8=B4=B9=E4=B8=8E=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E7=BC=B4=E8=B4=B9=E6=92=A4=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/memberManage.js | 2 +- src/api/standardsAssociationApi.js | 8 +- .../CertificateManagement.vue | 93 ++++++++++++------- .../PaymentInfo/MemberInfo.vue | 28 +++++- 4 files changed, 96 insertions(+), 35 deletions(-) diff --git a/src/api/memberManage.js b/src/api/memberManage.js index cd962cf..5c8d934 100644 --- a/src/api/memberManage.js +++ b/src/api/memberManage.js @@ -23,7 +23,7 @@ export function httpAction(url,parameter,method) { export function putAction(url,parameter) { return axios({ url: url, - method:'post', + method:'put', data: parameter }) } diff --git a/src/api/standardsAssociationApi.js b/src/api/standardsAssociationApi.js index fbbc45f..419d85b 100644 --- a/src/api/standardsAssociationApi.js +++ b/src/api/standardsAssociationApi.js @@ -3,7 +3,7 @@ import Vue from 'vue' // eslint-disable-next-line no-unused-vars import { getAction as incomeGetAction, postAction as incomePostAction } from '@api/manage' // eslint-disable-next-line no-unused-vars -import { getAction, postAction } from '@api/memberManage' +import { getAction, postAction,putAction } from '@api/memberManage' import { ACCESS_TOKEN } from '@/store/mutation-types' @@ -63,6 +63,8 @@ const getCertificateByMemberId = (params) => getAction('/vinCertificate/vinCerti const getMemberInfoById = (params) => getAction('/memberInfo/memberInfo/queryById', params) const getCheckInfo = (params) => getAction('/paymentInfo/paymentCheckinfo/queryByPaymentId', params) const getByMemberTime = (params) => getAction('/threshold/thresholdSetting/getByMemberTime', params) +// 撤回会员缴费 +const withDrawPayment = (params) => putAction('/paymentInfo/withdraw', params) // 判断会员是否有未审核的缴费 const judgeMemberNotApprove = (params) => getAction('/paymentInfo/existNotApproved', params) // 会员下载缴费通知单 @@ -71,6 +73,8 @@ const downNewestNotice = (params) => getAction('/approvalDocumentNumber/approval /****证书缴费 列表页所用接口-开始 ****/ // 证书缴费 const getCertificateById = (params) => getAction('/vinCertificate/vinCertificate/getCertificateById', params) +// 撤回收费证书 +const withDrawChargeCertificate = (params) => postAction('/vinCertificate/vinCertificate/withdrawChargeCertificate', params) /****证书缴费 列表页所用接口-结束 ****/ @@ -92,6 +96,7 @@ export { ajaxGetDictItems, getLastPaymentByMemberId, getCertificateByMemberId, + withDrawPayment, getMemberInfoById, getCheckInfo, @@ -99,6 +104,7 @@ export { judgeMemberNotApprove, downNewestNotice, getCertificateById, + withDrawChargeCertificate, application, determineOrCancel, diff --git a/src/views/standardsAssociation/CertificateManagement.vue b/src/views/standardsAssociation/CertificateManagement.vue index 1cf28d4..449d4a8 100644 --- a/src/views/standardsAssociation/CertificateManagement.vue +++ b/src/views/standardsAssociation/CertificateManagement.vue @@ -12,7 +12,7 @@ placeholder="请选择证书类型" v-model="queryParam.certificateType" :title="queryParam.certificateType" - dictCode="certificate_type" /> + dictCode="certificate_type"/> @@ -55,7 +55,7 @@ 查询 - 重置 + 重置 + style="max-width:80px;font-size: 12px;font-style: italic;"/> + + 撤回 查看 绑定会员 @@ -205,17 +207,18 @@