NurseStationOperateUI/src/api/system/order.js

72 lines
1.5 KiB
JavaScript
Raw Normal View History

2022-11-04 14:22:46 +08:00
import request from '@/utils/request'
// 查询护理类型信息列表
export function appointmentOrderDetailsList(query) {
return request({
url: 'system/appointmentOrder/list',
method: 'get',
params: query
})
}
export function Detailed(id) {
return request({
2022-11-09 18:25:04 +08:00
url: `/system/appointmentOrderDetails/getCancelOrderInfo` + `?orderNo=${id}`,
2022-11-04 14:22:46 +08:00
method: 'get',
})
}
2022-11-09 18:25:04 +08:00
2022-11-10 15:18:43 +08:00
export function appointmentOrderDetails(id) {
return request({
url: `/system/appointmentOrderDetails/Detailed` + `?orderNo=${id}`,
method: 'get',
})
}
2022-11-09 18:25:04 +08:00
// 确定按钮
export function xylWeChatRefundNotify(data) {
return request({
url: '/nurseApp/weChatPayment/weChatRefundOrderApply',
method: 'post',
data: data
})
}
2022-11-04 14:22:46 +08:00
//删除
export function deldetailed(appointmentOrderId) {
return request({
2022-11-08 17:10:11 +08:00
url: '/system/appointmentOrder/' + appointmentOrderId,
2022-11-04 14:22:46 +08:00
method: 'post',
})
}
// 派单
export function getPerson(query) {
return request({
url: '/system/appointmentOrder/getPerson',
method: 'get',
params: query
})
}
// 确认派单
export function dispatchsubmit(data) {
return request({
url: '/system/appointmentOrder/dispatch',
method: 'post',
data: data
})
}
// 确认取消订单
2022-11-08 17:10:11 +08:00
export function confirmCancel(appointmentOrderId) {
2022-11-04 14:22:46 +08:00
return request({
2022-11-08 17:10:11 +08:00
url: `/system/appointmentOrder/confirmCancel?appointmentOrderId=${appointmentOrderId}`,
method: 'post'
2022-11-04 14:22:46 +08:00
})
2022-11-09 18:25:04 +08:00
}