From d97ed7a999c410f8d38eb8b950fb9068db1b1511 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 30 May 2025 16:59:26 +0800 Subject: [PATCH] 1 --- .../components/pullImage/byPatient.vue | 14 +++++++++----- .../components/pullImage/byTrials.vue | 9 ++++++--- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/views/trials/trials-inspection/components/pullImage/byPatient.vue b/src/views/trials/trials-inspection/components/pullImage/byPatient.vue index a1efc58..5e9cb71 100644 --- a/src/views/trials/trials-inspection/components/pullImage/byPatient.vue +++ b/src/views/trials/trials-inspection/components/pullImage/byPatient.vue @@ -86,8 +86,10 @@ - + @@ -411,7 +413,7 @@ export default { }, }, created() { - // this.getAEList() + this.getAEList(false, true) }, methods: { pacsDicomAEIdChange(val, f = false) { @@ -496,7 +498,7 @@ export default { } }, // 获取列表 - async getAEList(f = false) { + async getAEList(f = false, isFirst = false) { let data = { CalledAE: null, IP: null, @@ -525,7 +527,9 @@ export default { } else { this.pacsDicomAEIdChange(this.searchData.PacsDicomAEId, true) } - this.getList() + if (!isFirst) { + this.getList() + } } } } catch (err) { diff --git a/src/views/trials/trials-inspection/components/pullImage/byTrials.vue b/src/views/trials/trials-inspection/components/pullImage/byTrials.vue index 88a5a6a..bf81d7a 100644 --- a/src/views/trials/trials-inspection/components/pullImage/byTrials.vue +++ b/src/views/trials/trials-inspection/components/pullImage/byTrials.vue @@ -446,7 +446,7 @@ export default { this.trialList = res.Result if (!this.trialList || this.trialList.length <= 0) return false this.searchData.TrialId = this.trialList[0].TrialId - // this.getAEList() + this.getAEList(false, true) } } catch (err) { console.log(err) @@ -535,7 +535,7 @@ export default { } }, // 获取列表 - async getAEList(f = false) { + async getAEList(f = false, isFirst = false) { let data = { CalledAE: null, IP: null, @@ -564,7 +564,10 @@ export default { } else { this.pacsDicomAEIdChange(this.searchData.PacsDicomAEId, true) } - this.getList() + if (!isFirst) { + this.getList() + } + } } } catch (err) {