PACS拉取配置信息每次查询获取一次
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e9cefc1157
commit
c949a0b6fb
|
@ -117,7 +117,7 @@
|
|||
clearable
|
||||
multiple
|
||||
collapse-tags
|
||||
style="width: 140px;"
|
||||
style="width: 140px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in ModalityList"
|
||||
|
@ -528,12 +528,14 @@ export default {
|
|||
this.getAEList()
|
||||
},
|
||||
methods: {
|
||||
pacsDicomAEIdChange(val) {
|
||||
pacsDicomAEIdChange(val, f = false) {
|
||||
let pacs = this.AElist.find((item) => 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() {
|
||||
|
|
Loading…
Reference in New Issue