修复124 系统管理-》业务规则配置-》执行科室配置:项目名称显示数字
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user