2025-11-12 openHIS 发版

This commit is contained in:
whm
2025-11-12 17:06:09 +08:00
parent 88535b8e7c
commit e8d67e6681
777 changed files with 62002 additions and 20046 deletions

View File

@@ -0,0 +1,21 @@
// 选择患者信息
export const patientInfo = ref()
export function updatePatientInfo(info) {
patientInfo.value = info
}
// 多选患者
export const patientInfoList = ref([])
export function updatePatientInfoList(info) {
patientInfoList.value = info
}
// 获取单选患者信息(去掉复选框模式下使用)
export function getSinglePatient() {
// 如果有选中的患者,只返回第一个患者信息,实现单选效果
if (patientInfoList.value && patientInfoList.value.length > 0) {
return patientInfoList.value[0];
}
return null;
}