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
|
clearable
|
||||||
multiple
|
multiple
|
||||||
collapse-tags
|
collapse-tags
|
||||||
style="width: 140px;"
|
style="width: 140px"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in ModalityList"
|
v-for="item in ModalityList"
|
||||||
|
@ -528,12 +528,14 @@ export default {
|
||||||
this.getAEList()
|
this.getAEList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
pacsDicomAEIdChange(val) {
|
pacsDicomAEIdChange(val, f = false) {
|
||||||
let pacs = this.AElist.find((item) => item.Id === val)
|
let pacs = this.AElist.find((item) => item.Id === val)
|
||||||
this.ModalityList = pacs.ModalityList
|
this.ModalityList = pacs.ModalityList
|
||||||
this.timeFrame = pacs.PacsSearchMaxDays
|
this.timeFrame = pacs.PacsSearchMaxDays
|
||||||
this.MaxStudyCount = pacs.MaxStudyCount
|
this.MaxStudyCount = pacs.MaxStudyCount
|
||||||
this.handleReset()
|
if (!f) {
|
||||||
|
this.handleReset()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 验证pacs
|
// 验证pacs
|
||||||
async cMoveVerify(data) {
|
async cMoveVerify(data) {
|
||||||
|
@ -568,7 +570,10 @@ export default {
|
||||||
// data.PatientBirthDate = null
|
// data.PatientBirthDate = null
|
||||||
// }
|
// }
|
||||||
if (this.StudyDate && this.StudyDate[0] && this.StudyDate[1]) {
|
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 {
|
} else {
|
||||||
data.StudyDate = null
|
data.StudyDate = null
|
||||||
}
|
}
|
||||||
|
@ -605,7 +610,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 获取列表
|
// 获取列表
|
||||||
async getAEList() {
|
async getAEList(f = false) {
|
||||||
let data = {
|
let data = {
|
||||||
CalledAE: null,
|
CalledAE: null,
|
||||||
IP: null,
|
IP: null,
|
||||||
|
@ -623,10 +628,14 @@ export default {
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.AElist = res.Result.CurrentPageData
|
this.AElist = res.Result.CurrentPageData
|
||||||
if (this.AElist.length > 0) {
|
if (this.AElist.length > 0) {
|
||||||
this.searchData.PacsDicomAEId = this.AElist[0].Id
|
if (!f) {
|
||||||
this.ModalityList = this.AElist[0].ModalityList
|
this.searchData.PacsDicomAEId = this.AElist[0].Id
|
||||||
this.timeFrame = this.AElist[0].PacsSearchMaxDays
|
this.ModalityList = this.AElist[0].ModalityList
|
||||||
this.MaxStudyCount = this.AElist[0].MaxStudyCount
|
this.timeFrame = this.AElist[0].PacsSearchMaxDays
|
||||||
|
this.MaxStudyCount = this.AElist[0].MaxStudyCount
|
||||||
|
} else {
|
||||||
|
this.pacsDicomAEIdChange(this.searchData.PacsDicomAEId, true)
|
||||||
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -646,12 +655,12 @@ export default {
|
||||||
// 查询
|
// 查询
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
// this.searchData.PageIndex = 1
|
// this.searchData.PageIndex = 1
|
||||||
this.getList()
|
this.getAEList(true)
|
||||||
},
|
},
|
||||||
// 重置
|
// 重置
|
||||||
handleReset() {
|
handleReset() {
|
||||||
this.reset()
|
this.reset()
|
||||||
this.getList()
|
this.getAEList(true)
|
||||||
},
|
},
|
||||||
// 初始化
|
// 初始化
|
||||||
reset() {
|
reset() {
|
||||||
|
|
Loading…
Reference in New Issue