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 8e7535a..9f27ad0 100644 --- a/src/views/trials/trials-inspection/components/pull-image-list.vue +++ b/src/views/trials/trials-inspection/components/pull-image-list.vue @@ -117,7 +117,7 @@ clearable multiple collapse-tags - style="width: 140px;" + style="width: 140px" > item.Id === val) this.ModalityList = pacs.ModalityList this.timeFrame = pacs.PacsSearchMaxDays this.MaxStudyCount = pacs.MaxStudyCount - this.handleReset() + if (!f) { + this.handleReset() + } }, // 验证pacs async cMoveVerify(data) { @@ -568,7 +570,10 @@ export default { // data.PatientBirthDate = null // } if (this.StudyDate && this.StudyDate[0] && this.StudyDate[1]) { - data.StudyDate = this.StudyDate[0] + '-' + this.StudyDate[1] + data.StudyDate = + this.$moment(this.StudyDate[0]).format('YYYYMMDD') + + '-' + + this.$moment(this.StudyDate[1]).format('YYYYMMDD') } else { data.StudyDate = null } @@ -605,7 +610,7 @@ export default { } }, // 获取列表 - async getAEList() { + async getAEList(f = false) { let data = { CalledAE: null, IP: null, @@ -623,10 +628,14 @@ export default { if (res.IsSuccess) { this.AElist = res.Result.CurrentPageData if (this.AElist.length > 0) { - this.searchData.PacsDicomAEId = this.AElist[0].Id - this.ModalityList = this.AElist[0].ModalityList - this.timeFrame = this.AElist[0].PacsSearchMaxDays - this.MaxStudyCount = this.AElist[0].MaxStudyCount + if (!f) { + this.searchData.PacsDicomAEId = this.AElist[0].Id + this.ModalityList = this.AElist[0].ModalityList + this.timeFrame = this.AElist[0].PacsSearchMaxDays + this.MaxStudyCount = this.AElist[0].MaxStudyCount + } else { + this.pacsDicomAEIdChange(this.searchData.PacsDicomAEId, true) + } this.getList() } } @@ -646,12 +655,12 @@ export default { // 查询 handleSearch() { // this.searchData.PageIndex = 1 - this.getList() + this.getAEList(true) }, // 重置 handleReset() { this.reset() - this.getList() + this.getAEList(true) }, // 初始化 reset() {