Compare commits

...

2 Commits

Author SHA1 Message Date
DESKTOP-6C3NK6N\WXS e8a21fa5a3 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing Details
2024-09-26 14:33:14 +08:00
DESKTOP-6C3NK6N\WXS 771554c9b2 标准配置列表新增标准类型字段 2024-09-26 14:33:08 +08:00
2 changed files with 581 additions and 303 deletions

View File

@ -113,10 +113,14 @@ export const parseDicom = (file, name = false) => {
}
})
uintKey.forEach(key => {
res[key] = data.uint16(dicom[key])
if (res.hasOwnProperty(key)) {
res[key] = data.uint16(dicom[key])
}
})
intStringKey.forEach(key => {
res[key] = data.intString(dicom[key])
if (res.hasOwnProperty(key)) {
res[key] = data.intString(dicom[key])
}
})
defaultKey.forEach(key => {
if (!res[key] && res.hasOwnProperty(key)) {