修复124 系统管理-》业务规则配置-》执行科室配置:项目名称显示数字

This commit is contained in:
HuangShun
2026-01-28 09:38:00 +08:00
parent 9bd5caaa1b
commit ba31371b6f

View File

@@ -225,7 +225,15 @@ function getList() {
loading.value = true;
getDiagnosisTreatmentList(queryParams.value).then((res) => {
loading.value = false;
catagoryList.value = res.data.records;
catagoryList.value = res.data.records.map(record => {
// 为每一行初始化 filteredOptions确保显示框能正确显示项目名称
const filteredOptions = allImplementDepartmentList.value.slice(0, 100);
return {
...record,
loading: false,
filteredOptions: filteredOptions
};
});
total.value = res.data.total;
});
}