修复125 【住院登记】的入院科室无法选择,入院病区也无法选择
This commit is contained in:
@@ -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)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user