预览影像更改
continuous-integration/drone/push Build is running Details

uat_us
caiyiling 2024-09-27 16:23:19 +08:00
parent bdb45c7b4e
commit 7874f69bfe
2 changed files with 18 additions and 5 deletions

View File

@ -45,9 +45,15 @@ export function saveImageLabelList(param) {
})
}
export function getStudyInfo(studyId) {
export function getStudyInfo(studyId, visitTaskId) {
let url = ''
if (visitTaskId) {
url = `/Study/item/${studyId}?visitTaskId=${visitTaskId}`
} else {
url = `/Study/item/${studyId}`
}
return request({
url: `/Study/item/${studyId}`,
url: url,
method: 'get'
})
}

View File

@ -194,7 +194,8 @@ export default {
imageList: [],
showSeriesList: [],
currentLoadIns: [],
isFromCRCUpload: false
isFromCRCUpload: false,
visitTaskId: null
}
},
created: function() {
@ -216,6 +217,7 @@ export default {
this.initSeries()
} else if (this.type === 'Study') {
this.showDelete = parseInt(this.$router.currentRoute.query.showDelete)
this.visitTaskId = this.$router.currentRoute.visitTaskId
this.loadStudy()
} else if (this.type === 'Share') {
this.loadStudy()
@ -237,7 +239,12 @@ export default {
},
methods: {
async loadStudy() {
const data = await getStudyInfo(this.studyId)
let data = null
if (this.visitTaskId) {
data = await getStudyInfo(this.studyId, this.visitTaskId)
} else {
data = await getStudyInfo(this.studyId)
}
if (data.IsSuccess) {
if (data.Result) {
this.studyCode = data.Result.StudyCode
@ -251,7 +258,7 @@ export default {
},
async loadPatientStudy() {
try {
let data = await getPatientSeriesList(this.studyId);
const data = await getPatientSeriesList(this.studyId)
if (data.IsSuccess) {
const { Result } = data
var seriesList = []