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