import request from '../../utils/request'
|
|
// 查询
|
export function fetchList (data) {
|
return request.post('/business/insuranceApply/page', data, {
|
trim: true
|
})
|
}
|
|
// 修改
|
export function updateById (data) {
|
return request.post('/business/insuranceApply/updateById', data)
|
}
|
|
// 新建
|
export function create (data) {
|
return request.post('/business/insuranceApply/create', data)
|
}
|
|
export function check (data) {
|
return request.post('/business/insuranceApply/check', data)
|
}
|
export function back (data) {
|
return request.post('/business/insuranceApply/back', data)
|
}
|
|
export function uploadToubaodan (data) {
|
return request.post('/business/insuranceApply/uploadToubaodan', data)
|
}
|
export function uploadBaoxiandan(data) {
|
return request.post('/business/insuranceApply/uploadBaoxiandan', data)
|
}
|
export function editBaoxiandan(data) {
|
return request.post('/business/insuranceApply/editBaoxiandan', data)
|
}
|
export function dealBackApply(data) {
|
return request.post('/business/insuranceApply/dealBackApply', data)
|
}
|
|
// 获取保单止期与初始金额
|
export function getCountCyclePriceVO (data) {
|
return request.post('/business/insuranceApply/getCountCyclePriceVO', data)
|
}
|
|
// 申请记录状态处理
|
export function applyOpt (data) {
|
return request.post('/business/insuranceApply/applyOpt', data)
|
}
|
|
export function exportDetailExcel (data) {
|
return request.post('/business/insuranceApply/exportDetailExcel', data, {
|
trim: true,
|
download: true
|
})
|
}
|
export function getDetail (id) {
|
return request.get(`business/insuranceApply/${id}`)
|
}
|
export function getSignLink (id) {
|
return request.get(`business/insuranceApply/getSignLink/${id}`)
|
}
|
export function getDetailList (data) {
|
return request.post('/business/applyDetail/list', data, {
|
trim: true
|
})
|
}
|
|
// 列表查询
|
export function findList (data) {
|
return request.post('/business/applyDetail/findList', data)
|
}
|
|
// 修改
|
export function updateData (data) {
|
return request.post('/business/insuranceApply/updateData', data)
|
}
|
|
// 在保分页查询
|
export function applyDetailPage (data) {
|
return request.post('/business/applyDetail/page', data)
|
}
|
|
// 加减、换场分页查询
|
export function applyChagneDetailPage (data) {
|
return request.post('/business/applyChagneDetail/page', data)
|
}
|
// 导出在保人员详单Excel
|
export function exportExcel (data) {
|
return request.post('/business/applyDetail/exportExcel', data, {
|
trim: true,
|
download: true
|
})
|
}
|
|
// 导出Excel
|
export function applyChagneDetailExcel (data) {
|
return request.post('/business/applyChagneDetail/exportExcel', data, {
|
trim: true,
|
download: true
|
})
|
}
|