From 46e793908893bc976d876f5af5124a1f5498f5bd Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Wed, 21 Aug 2024 17:12:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E6=A3=80=E6=9F=A5=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=BD=B1=E5=83=8F=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../image-inspect/components/view-study.vue | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue b/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue index c75a6100..08c4eb53 100644 --- a/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue +++ b/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue @@ -23,10 +23,10 @@ style="width: 140px" > @@ -41,6 +41,7 @@ :range-separator="$t('baseForm:daterange:rangeSeparator')" :start-placeholder="$t('imageInspect:daterange:startPlaceholder')" :end-placeholder="$t('imageInspect:daterange:endPlaceholder')" + value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']" > @@ -218,12 +219,8 @@ export default { }); data.PatientId = this.Patient.PatientId; if (this.dateValue && this.dateValue[0] && this.dateValue[1]) { - data.EarliestStudyTime = this.$moment(this.dateValue[0]).format( - "YYYY-MM-DD HH:mm:ss" - ); - data.LatestStudyTime = this.$moment(this.dateValue[1]).format( - "YYYY-MM-DD HH:mm:ss" - ); + data.EarliestStudyTime = this.dateValue[0]; + data.LatestStudyTime = this.dateValue[1]; } else { data.EarliestStudyTime = null; data.LatestStudyTime = null;