实现科室护士管理患者排队叫号队列,实现患者智能分诊、队列调整、叫号控制等功能

This commit is contained in:
2026-01-06 14:48:45 +08:00
parent 8d69dc3c00
commit 941054734f
6 changed files with 221 additions and 67 deletions

View File

@@ -81,11 +81,11 @@
{{
Object.keys(patientInfo).length !== 0
? patientInfo.patientName +
' / ' +
patientInfo.age +
' / ' +
patientInfo.genderEnum_enumText +
' / ' +
' / ' +
patientInfo.age +
' / ' +
patientInfo.genderEnum_enumText +
' / ' +
(patientInfo?.contractName ? patientInfo.contractName : '') +
'/' +
patientInfo.phone +
@@ -137,9 +137,9 @@
:patientInfo="patientInfo"
ref="emrRef"
@save="
(value) => {
saveStatus = value;
}
(value) => {
saveStatus = value;
}
"
/>
</el-tab-pane> -->
@@ -430,10 +430,10 @@ function getEnPrescription(encounterId) {
type: 'error',
message: '暂无处方单',
});
return;
}
return;
}
prescriptionInfo.value = res.data.records;
openPrescriptionDialog.value = true;
openPrescriptionDialog.value = true;
});
}
@@ -540,7 +540,7 @@ const onHospitalization = async () => {
ElMessage({
type: 'error',
message: '该患者,已办理入院,不允许重复办理',
});
});
}
};
</script>

View File

@@ -23,6 +23,7 @@
<el-option label="全部" value="0" />
<el-option label="儿科" value="1" />
<el-option label="神经内科" :value="2" />
<el-option label="心内科" :value="3" />
</el-select>
<el-date-picker v-model="searchForm.endTime" v-if="searchForm.drugType == '1'" type="date" placeholder="截止时间"
style="width: 100px" />

View File

@@ -24,4 +24,104 @@ 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未实现')))
}