From c34200db1905f7ce92f90b2952b1291f9b02306e Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 9 Sep 2025 14:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93PM=E5=8F=AA=E6=9C=89=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E8=AF=BE=E9=A2=98=E7=BB=84=E6=97=B6=EF=BC=8C=E6=8B=89=E5=8F=96?= =?UTF-8?q?=E5=BD=B1=E5=83=8F=E6=97=B6=EF=BC=8C=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=AF=BE=E9=A2=98=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/pullImage/byPatient.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-inspection/components/pullImage/byPatient.vue b/src/views/trials/trials-inspection/components/pullImage/byPatient.vue index 4a92db7..3ce06b2 100644 --- a/src/views/trials/trials-inspection/components/pullImage/byPatient.vue +++ b/src/views/trials/trials-inspection/components/pullImage/byPatient.vue @@ -686,14 +686,20 @@ export default { this.group_model.title = this.$t('trials:inspection:dialogTitle:collect') } else { this.group_model.title = this.$t('trials:inspection:dialogTitle:pull') + if (this.hospitalGroupList.length === 1) { + this.form.HospitalGroupIdList = [this.hospitalGroupList[0].Id] + return this.pullImage() + } } this.group_model.visible = true }, // 拉取pacs数据 async pullImage() { try { - let validate = await this.$refs.groupFrom.validate() - if (!validate) return false + if (this.$refs.groupFrom) { + let validate = await this.$refs.groupFrom.validate() + if (!validate) return false + } if (this.groupStatus === 1) return this.handleSaveGroup() let row = this.currentData let data = {