From ca79de57d2366fa1448b98187b45eb8753df27b6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Fri, 9 Aug 2024 14:14:23 +0800 Subject: [PATCH] =?UTF-8?q?PACS=E9=85=8D=E7=BD=AE=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting/trial-config/components/dicomConfig.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/setting/trial-config/components/dicomConfig.vue b/src/views/trials/trials-panel/setting/trial-config/components/dicomConfig.vue index 42027f2f..35b5627e 100644 --- a/src/views/trials/trials-panel/setting/trial-config/components/dicomConfig.vue +++ b/src/views/trials/trials-panel/setting/trial-config/components/dicomConfig.vue @@ -422,12 +422,13 @@ export default { let res = await getTrialDicomAE(data); this.loading = false; if (res.IsSuccess) { + res.Result = res.Result || {}; this.form.IsPACSConnect = res.OtherInfo.IsPACSConnect; this.form.IsTrialPACSConfirmed = res.OtherInfo.IsTrialPACSConfirmed; if (!res.OtherInfo.IsTrialPACSConfirmed) { this.isEdit = true; } - this.form.IsTestOK = res.Result.IsTestOK; + this.form.IsTestOK = res.Result.IsTestOK || null; this.form.CalledAE = res.Result.CalledAE; this.form.Ip = res.Result.IP; this.form.Port = res.Result.Port; @@ -460,7 +461,7 @@ export default { this.loading = false; if (res.IsSuccess) { // this.$emit("refresh"); - return res.Result; + return res.Result || res.IsSuccess; } return false; } catch (err) {