This commit is contained in:
唐明明
2023-05-22 11:13:29 +08:00
parent c77b741c61
commit 0fe6fd4aaf
47 changed files with 6090 additions and 39 deletions

View File

@@ -0,0 +1,93 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
* 碌碌无为枉半生,一朝惊醒万事空。
* moduleName: 综法订单
*/
import { request } from '../index'
// 年费订单
const servicesOrder = (data) =>{
return request({
url : "app/synthesis/services/orders",
data
})
}
// 咨询订单
const synthesisOrder = (data) =>{
return request({
url : "app/synthesis/orders",
data
})
}
// 委托订单
const entrustOrder = (data) =>{
return request({
url : "app/synthesis/entrusts/orders",
data
})
}
// 拓展订单
const expandOrder = (data) =>{
return request({
url : "app/synthesis/expands/orders",
data
})
}
// 年费订单 - 详情
const servicesInfo = service_id => {
return request({
url : 'app/synthesis/service/order/' + service_id
})
}
// 咨询订单 - 详情
const synthesisInfo = service_id => {
return request({
url : 'app/synthesis/order/' + service_id
})
}
// 委托订单 - 详情
const entrustInfo = service_id => {
return request({
url : 'app/synthesis/entrust/order/' + service_id
})
}
// 拓展订单 - 详情
const expandInfo = service_id => {
return request({
url : 'app/synthesis/expand/order/' + service_id
})
}
// 订单详情
const oderinfo = (order_id, order_type) => {
return request({
url : 'pay/cashier_desk/info',
data : {
order_id,
order_type
},
method : 'POST'
})
}
export {
servicesOrder,
synthesisOrder,
entrustOrder,
expandOrder,
servicesInfo,
synthesisInfo,
entrustInfo,
expandInfo,
oderinfo
}