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 @@