From 3bfab54ef10a6b82f64341409a565a9d9ecc4eec Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 24 Mar 2025 16:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8F=97=E8=AF=95=E8=80=85?= =?UTF-8?q?=E6=AD=A3=E5=88=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials/trials-inspection/components/add-trials-list.vue | 2 +- .../trials/trials-inspection/components/pullImage/byTrials.vue | 2 +- .../subject/subject-list/components/add-subject.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-inspection/components/add-trials-list.vue b/src/views/trials/trials-inspection/components/add-trials-list.vue index 6106018..a923cec 100644 --- a/src/views/trials/trials-inspection/components/add-trials-list.vue +++ b/src/views/trials/trials-inspection/components/add-trials-list.vue @@ -132,7 +132,7 @@ clearable @input=" addSubjectForm.SubjectCode = addSubjectForm.SubjectCode.replace( - /[^0-9a-zA-Z]/g, + /[^0-9a-zA-Z\_\-]/g, '' ) " diff --git a/src/views/trials/trials-inspection/components/pullImage/byTrials.vue b/src/views/trials/trials-inspection/components/pullImage/byTrials.vue index c1caa85..992a5a2 100644 --- a/src/views/trials/trials-inspection/components/pullImage/byTrials.vue +++ b/src/views/trials/trials-inspection/components/pullImage/byTrials.vue @@ -475,6 +475,7 @@ export default { } }, async getList() { + if (!this.searchData.TrialId) return false if (!this.searchData.PacsDicomAEId) return this.$message.warning( this.$t('trials:inspection:pullImage:message:mustPacsDicomAEId') @@ -535,7 +536,6 @@ export default { }, // 获取列表 async getAEList(f = false) { - if (!this.searchData.TrialId) return false let data = { CalledAE: null, IP: null, diff --git a/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue b/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue index 103cb17..fa5f3de 100644 --- a/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue +++ b/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue @@ -145,7 +145,7 @@ clearable @input=" addSubjectForm2.SubjectCode = - addSubjectForm2.SubjectCode.replace(/[^0-9a-zA-Z]/g, '') + addSubjectForm2.SubjectCode.replace(/[^0-9a-zA-Z\_\-]/g, '') " @focus="errMessage = null" >