NurseStationUI/src/api/system/order.js

72 lines
1.5 KiB
JavaScript
Raw Normal View History

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