From 771554c9b2961c9841e44a0fcc11d1d79322996f Mon Sep 17 00:00:00 2001
From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com>
Date: Thu, 26 Sep 2024 14:33:08 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E9=85=8D=E7=BD=AE=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E6=96=B0=E5=A2=9E=E6=A0=87=E5=87=86=E7=B1=BB=E5=9E=8B?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/parseDicom.js | 8 +-
.../trial-config/components/processConfig.vue | 876 ++++++++++++------
2 files changed, 581 insertions(+), 303 deletions(-)
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"
>
-
+
-