门诊医生站-》开立诊断 页面调整
This commit is contained in:
@@ -24,104 +24,4 @@ export function updateCallNumberVoiceConfig(data) {
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 分诊排队管理相关API
|
||||
// 获取智能候选池(已签到未入队)
|
||||
export function getCandidatePool(params) {
|
||||
return request({
|
||||
url: '/triage/queue/candidatePool',
|
||||
method: 'get',
|
||||
params: params,
|
||||
skipErrorMsg: true // 跳过错误提示,由组件处理
|
||||
}).catch(() => {
|
||||
// 返回一个 rejected promise,让组件可以捕获
|
||||
return Promise.reject(new Error('API未实现'))
|
||||
})
|
||||
}
|
||||
|
||||
// 获取智能队列(当前队列)
|
||||
export function getQueueList(params) {
|
||||
return request({
|
||||
url: '/triage/queue/list',
|
||||
method: 'get',
|
||||
params: params,
|
||||
skipErrorMsg: true // 跳过错误提示,由组件处理
|
||||
}).catch(() => {
|
||||
// 返回一个 rejected promise,让组件可以捕获
|
||||
return Promise.reject(new Error('API未实现'))
|
||||
})
|
||||
}
|
||||
|
||||
// 获取统计信息
|
||||
export function getQueueStatistics(params) {
|
||||
return request({
|
||||
url: '/triage/queue/statistics',
|
||||
method: 'get',
|
||||
params: params,
|
||||
skipErrorMsg: true // 跳过错误提示,由组件处理
|
||||
}).catch(() => {
|
||||
// 返回一个 rejected promise,让组件可以捕获
|
||||
return Promise.reject(new Error('API未实现'))
|
||||
})
|
||||
}
|
||||
|
||||
// 将患者加入队列
|
||||
export function addToQueue(data) {
|
||||
return request({
|
||||
url: '/triage/queue/add',
|
||||
method: 'post',
|
||||
data: data,
|
||||
skipErrorMsg: true
|
||||
}).catch(() => Promise.reject(new Error('API未实现')))
|
||||
}
|
||||
|
||||
// 调整队列顺序
|
||||
export function adjustQueueOrder(data) {
|
||||
return request({
|
||||
url: '/triage/queue/adjust',
|
||||
method: 'put',
|
||||
data: data,
|
||||
skipErrorMsg: true
|
||||
}).catch(() => Promise.reject(new Error('API未实现')))
|
||||
}
|
||||
|
||||
// 叫号控制
|
||||
export function callPatient(data) {
|
||||
return request({
|
||||
url: '/triage/queue/call',
|
||||
method: 'post',
|
||||
data: data,
|
||||
skipErrorMsg: true
|
||||
}).catch(() => Promise.reject(new Error('API未实现')))
|
||||
}
|
||||
|
||||
// 跳过患者
|
||||
export function skipPatient(data) {
|
||||
return request({
|
||||
url: '/triage/queue/skip',
|
||||
method: 'post',
|
||||
data: data,
|
||||
skipErrorMsg: true
|
||||
}).catch(() => Promise.reject(new Error('API未实现')))
|
||||
}
|
||||
|
||||
// 完成叫号
|
||||
export function completeCall(data) {
|
||||
return request({
|
||||
url: '/triage/queue/complete',
|
||||
method: 'post',
|
||||
data: data,
|
||||
skipErrorMsg: true
|
||||
}).catch(() => Promise.reject(new Error('API未实现')))
|
||||
}
|
||||
|
||||
// 过号重排
|
||||
export function requeuePatient(data) {
|
||||
return request({
|
||||
url: '/triage/queue/requeue',
|
||||
method: 'post',
|
||||
data: data,
|
||||
skipErrorMsg: true
|
||||
}).catch(() => Promise.reject(new Error('API未实现')))
|
||||
}
|
||||
Reference in New Issue
Block a user