diff --git a/src/utils/parseDicom.js b/src/utils/parseDicom.js index 4d7f7c0f..562630a0 100644 --- a/src/utils/parseDicom.js +++ b/src/utils/parseDicom.js @@ -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)) { diff --git a/src/views/trials/trials-panel/setting/trial-config/components/processConfig.vue b/src/views/trials/trials-panel/setting/trial-config/components/processConfig.vue index eef426fa..007e6450 100644 --- a/src/views/trials/trials-panel/setting/trial-config/components/processConfig.vue +++ b/src/views/trials/trials-panel/setting/trial-config/components/processConfig.vue @@ -6,7 +6,7 @@ v-loading="loading" :model="form" label-width="300px" - style="width:800px;" + style="width: 800px" :rules="rules" size="small" > @@ -35,12 +35,12 @@ @@ -260,7 +263,10 @@ @@ -268,7 +274,12 @@ @@ -276,7 +287,11 @@ @@ -284,7 +299,11 @@ @@ -303,12 +322,7 @@ custom-class="base-dialog-wrapper" >
- +
-