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.
129 lines
2.6 KiB
129 lines
2.6 KiB
2 years ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// Pc根据条件分页查询数据的列表
|
||
|
export function pagerList(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getDeliveryPlanList',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 初始化
|
||
|
export function getDeliveryPlanInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getDeliveryPlanInfo',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 提交
|
||
|
export function submit(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/submitDeliveryPlanInfo',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 发票初始化
|
||
|
export function getInvoiceInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getInvoiceInfo',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 合格证初始化
|
||
|
export function getCertificateInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getCertificateInfo',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 保单初始化
|
||
|
export function getPolicyInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getPolicyInfo',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 随车资料初始化
|
||
|
export function getVehicleInformationInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getVehicleInformationInfo',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 其他资料初始化
|
||
|
export function getOtherDataInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/getOtherDataInfo',
|
||
|
method: 'get',
|
||
|
params: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 随车资料确认
|
||
|
export function saveHandoverMaterials(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/saveHandoverMaterials',
|
||
|
method: 'post',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 合格证、发票确认
|
||
|
export function saveState(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/saveState',
|
||
|
method: 'put',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 保单确认
|
||
|
export function savePolicyInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/savePolicyInfo',
|
||
|
method: 'put',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 其他资料确认
|
||
|
export function saveOtherDataInfo(data) {
|
||
|
return request({
|
||
|
url: '/buscenter/v1/bushandoverprepare/saveOtherDataInfo',
|
||
|
method: 'put',
|
||
|
data: data,
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
|