xnzt/xnzt-h5/api/insurance/insuranceOrder.js
2024-11-11 10:27:27 +08:00

45 lines
888 B
JavaScript

import request from '@/utils/request'
// 查询保险预约记录列表
export function listInsuranceOrder(query) {
return request({
url: '/insurance/insuranceOrder/list',
method: 'get',
params: query
})
}
// 查询保险预约记录详细
export function getInsuranceOrder(id) {
return request({
url: '/insurance/insuranceOrder/' + id,
method: 'get'
})
}
// 新增保险预约记录
export function addInsuranceOrder(data) {
return request({
url: '/insurance/insuranceOrder',
method: 'post',
data: data
})
}
// 修改保险预约记录
export function updateInsuranceOrder(data) {
return request({
url: '/insurance/insuranceOrder',
method: 'put',
data: data
})
}
// 删除保险预约记录
export function delInsuranceOrder(id) {
return request({
url: '/insurance/insuranceOrder/' + id,
method: 'delete'
})
}