解决合并冲突

This commit is contained in:
2025-12-10 14:20:24 +08:00
parent e1385cb3e6
commit 18f6a845e6
804 changed files with 61881 additions and 13577 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;
}