feat: 医嘱闭环模块完整开发 - Mapper/Service/Controller + API + 测试通过
This commit is contained in:
30
healthlink-his-ui/src/api/orderclosedloop.js
Normal file
30
healthlink-his-ui/src/api/orderclosedloop.js
Normal file
@@ -0,0 +1,30 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// ==================== 医嘱闭环 ====================
|
||||
export function listOrderExecuteRecord(params) {
|
||||
return request({ url: '/api/v1/order-closed-loop/list', method: 'get', params })
|
||||
}
|
||||
|
||||
export function getOrderClosedLoopStatus(orderId) {
|
||||
return request({ url: `/api/v1/order-closed-loop/status/${orderId}`, method: 'get' })
|
||||
}
|
||||
|
||||
export function getOrderStatistics() {
|
||||
return request({ url: '/api/v1/order-closed-loop/statistics', method: 'get' })
|
||||
}
|
||||
|
||||
export function executeOrder(data) {
|
||||
return request({ url: '/api/v1/order-closed-loop/execute', method: 'post', data })
|
||||
}
|
||||
|
||||
export function completeOrder(data) {
|
||||
return request({ url: '/api/v1/order-closed-loop/complete', method: 'post', data })
|
||||
}
|
||||
|
||||
export function cancelOrder(data) {
|
||||
return request({ url: '/api/v1/order-closed-loop/cancel', method: 'post', data })
|
||||
}
|
||||
|
||||
export function getClosedLoopStatistics(params) {
|
||||
return request({ url: '/api/v1/order-closed-loop/statistics', method: 'get', params })
|
||||
}
|
||||
Reference in New Issue
Block a user