移动端V1.0

This commit is contained in:
2025-07-16 15:34:34 +08:00
commit 194b0750fd
1083 changed files with 178295 additions and 0 deletions

11
utils/dict.js Normal file
View File

@@ -0,0 +1,11 @@
export function getDiseaseTypeByDictValue(dictType, dictValue, data) {
// 过滤出特定类型的字典数据
const filteredData = data.filter(item => item.dictType === dictType);
// 在过滤后的数据中查找匹配的dictValue
for (const item of filteredData) {
if (item.dictValue === dictValue) {
return item.dictLabel;
}
}
return '未知';
}