修复125 【住院登记】的入院科室无法选择,入院病区也无法选择

This commit is contained in:
HuangShun
2026-01-28 14:05:35 +08:00
parent df2a4c1694
commit b8d7e3cdf1

View File

@@ -424,8 +424,8 @@ function handleWardClick(item) {
function getInitOptions() { function getInitOptions() {
getOrgList().then((res) => { getOrgList().then((res) => {
// organization.value = res.data.records // 直接从records中过滤而不是从records[0].children
organization.value = res.data.records[0].children.filter( organization.value = res.data.records.filter(
(record) => record.typeEnum === 2 && checkClassEnumValue(record.classEnum, 2) (record) => record.typeEnum === 2 && checkClassEnumValue(record.classEnum, 2)
); );
}); });