You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.4 KiB
52 lines
1.4 KiB
import request from '@/config/axios'
|
|
|
|
// 查询(精简)列表
|
|
export const getPaymentList = async (params) => {
|
|
return await request.get({ url: '/admin-api/crm/sign-pay-record/list', params })
|
|
}
|
|
|
|
// 查询列表
|
|
export const getPaymentPage = async (params) => {
|
|
return await request.get({ url: '/admin-api/crm/sign-pay-record/page', params })
|
|
}
|
|
|
|
// 新增
|
|
export const createPayment = async (data) => {
|
|
return await request.post({
|
|
url: '/admin-api/crm/sign-pay-record/create',
|
|
data,
|
|
isSubmitForm: true
|
|
})
|
|
}
|
|
|
|
// 审核
|
|
export const auditPayment = async (data) => {
|
|
return await request.post({ url: '/admin-api/crm/sign-pay-record/check', data })
|
|
}
|
|
|
|
export const batchAuditPayment = async (data) => {
|
|
return await request.post({ url: '/admin-api/crm/sign-pay-record/batch/check', data })
|
|
}
|
|
|
|
// 撤销
|
|
export const cancelApplyPayment = async (data) => {
|
|
return await request.post({ url: '/admin-api/crm/sign-pay-record/revoke', params: data })
|
|
}
|
|
|
|
// 查询详情
|
|
export const getPaymentDetail = async (params) => {
|
|
return await request.get({ url: '/admin-api/crm/sign-pay-record/get', params })
|
|
}
|
|
|
|
// 撤销
|
|
export const updateApplyPayment = async (data) => {
|
|
return await request.post({
|
|
url: '/admin-api/crm/sign-pay-record/updateRecordMoney',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 导出
|
|
export const exportPayment = async (params) => {
|
|
return await request.download({ url: '/admin-api/crm/sign-pay-record/export-excel', params })
|
|
}
|
|
|