From 46c64369d8af14db141e81759e8a605d06139df0 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 13 Dec 2024 16:14:07 +0800 Subject: [PATCH] =?UTF-8?q?pacs=E6=8B=89=E5=8F=96=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/pull-image-list.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/trials/trials-inspection/components/pull-image-list.vue b/src/views/trials/trials-inspection/components/pull-image-list.vue index ce7f620..7a62e22 100644 --- a/src/views/trials/trials-inspection/components/pull-image-list.vue +++ b/src/views/trials/trials-inspection/components/pull-image-list.vue @@ -343,7 +343,11 @@ export default { searchData: defaultSearchData(), PatientBirthDate: [], StudyDate: [], - StudyTime: [], + // StudyTime: [ + // new Date(2016, 9, 10, 0, 0, 0), + // new Date(2016, 9, 10, 23, 59, 59), + // ], + StudyTime: null, // 可加入项目列表 loading: false, list: [], @@ -380,7 +384,10 @@ export default { data.StudyDate = null } if (this.StudyTime && this.StudyTime[0] && this.StudyTime[1]) { - data.StudyTime = this.StudyTime[0] + '-' + this.StudyTime[1] + data.StudyTime = + this.$moment(this.StudyTime[0]).format('HHmmss') + + '-' + + this.$moment(this.StudyTime[1]).format('HHmmss') } else { data.StudyTime = null } @@ -443,7 +450,7 @@ export default { }) this.PatientBirthDate = [] this.StudyDate = [] - this.StudyTime = [] + this.StudyTime = null }, // 表格排序 handleSortByColumn(sort) { @@ -460,7 +467,7 @@ export default { // 拉取pacs数据 async pullImage(row) { try { - let confirm = this.$confirm( + let confirm = await this.$confirm( this.$t('trials:inspection:pullImage:confirm:pull') ) if (!confirm) return false