pacs拉取检查时间查询修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2024-12-13 16:14:07 +08:00
parent 0942c32cba
commit 46c64369d8
1 changed files with 11 additions and 4 deletions

View File

@ -343,7 +343,11 @@ export default {
searchData: defaultSearchData(), searchData: defaultSearchData(),
PatientBirthDate: [], PatientBirthDate: [],
StudyDate: [], StudyDate: [],
StudyTime: [], // StudyTime: [
// new Date(2016, 9, 10, 0, 0, 0),
// new Date(2016, 9, 10, 23, 59, 59),
// ],
StudyTime: null,
// //
loading: false, loading: false,
list: [], list: [],
@ -380,7 +384,10 @@ export default {
data.StudyDate = null data.StudyDate = null
} }
if (this.StudyTime && this.StudyTime[0] && this.StudyTime[1]) { 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 { } else {
data.StudyTime = null data.StudyTime = null
} }
@ -443,7 +450,7 @@ export default {
}) })
this.PatientBirthDate = [] this.PatientBirthDate = []
this.StudyDate = [] this.StudyDate = []
this.StudyTime = [] this.StudyTime = null
}, },
// //
handleSortByColumn(sort) { handleSortByColumn(sort) {
@ -460,7 +467,7 @@ export default {
// pacs // pacs
async pullImage(row) { async pullImage(row) {
try { try {
let confirm = this.$confirm( let confirm = await this.$confirm(
this.$t('trials:inspection:pullImage:confirm:pull') this.$t('trials:inspection:pullImage:confirm:pull')
) )
if (!confirm) return false if (!confirm) return false