阅片更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f499557c01
commit
e80d439377
|
@ -840,15 +840,15 @@ export default {
|
||||||
const nFrames = instance.NumberOfFrames || 0
|
const nFrames = instance.NumberOfFrames || 0
|
||||||
if (nFrames === 0) {
|
if (nFrames === 0) {
|
||||||
// 单帧
|
// 单帧
|
||||||
stack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}`)
|
stack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}`)
|
||||||
} else {
|
} else {
|
||||||
// 多帧
|
// 多帧
|
||||||
for (let i = 0; i < nFrames; i++) {
|
for (let i = 0; i < nFrames; i++) {
|
||||||
const newImageId = `wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}&frame=${i + 1}`
|
const newImageId = `wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}&frame=${i + 1}`
|
||||||
stack.push(newImageId)
|
stack.push(newImageId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
imageIds.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}`)
|
imageIds.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}`)
|
||||||
this.instanceInfo[instance.Id] = { taskIndex, studyIndex, seriesIndex }
|
this.instanceInfo[instance.Id] = { taskIndex, studyIndex, seriesIndex }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -868,12 +868,12 @@ export default {
|
||||||
keyImages.forEach(instance => {
|
keyImages.forEach(instance => {
|
||||||
if (instance.KeyFramesList.length > 0) {
|
if (instance.KeyFramesList.length > 0) {
|
||||||
instance.KeyFramesList.map(i => {
|
instance.KeyFramesList.map(i => {
|
||||||
keyStack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}&frame=${i}`)
|
keyStack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}&frame=${i}`)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
keyStack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}`)
|
keyStack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}`)
|
||||||
}
|
}
|
||||||
keyImageIds.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}`)
|
keyImageIds.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}`)
|
||||||
})
|
})
|
||||||
res1.Result[keyStudyIndex].SeriesList[keySeriesIndex].ImageIds = keyImageIds
|
res1.Result[keyStudyIndex].SeriesList[keySeriesIndex].ImageIds = keyImageIds
|
||||||
res1.Result[keyStudyIndex].SeriesList[keySeriesIndex].Stack = keyStack
|
res1.Result[keyStudyIndex].SeriesList[keySeriesIndex].Stack = keyStack
|
||||||
|
@ -1292,7 +1292,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
const measureData = Object.assign({}, annotation)
|
const measureData = Object.assign({}, annotation)
|
||||||
const params = {}
|
const params = {}
|
||||||
params.VisitTaskId = annotation.visitTaskId
|
params.VisitTaskId = this.taskInfo.VisitTaskId
|
||||||
params.StudyId = annotation.studyId
|
params.StudyId = annotation.studyId
|
||||||
params.SeriesId = annotation.seriesId
|
params.SeriesId = annotation.seriesId
|
||||||
params.InstanceId = annotation.instanceId
|
params.InstanceId = annotation.instanceId
|
||||||
|
|
|
@ -190,15 +190,15 @@ export default {
|
||||||
const stack = []
|
const stack = []
|
||||||
if (nFrames === 0) {
|
if (nFrames === 0) {
|
||||||
// 单帧
|
// 单帧
|
||||||
stack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}`)
|
stack.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}`)
|
||||||
} else {
|
} else {
|
||||||
// 多帧
|
// 多帧
|
||||||
for (let i = 0; i < nFrames; i++) {
|
for (let i = 0; i < nFrames; i++) {
|
||||||
const newImageId = `wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}&frame=${i + 1}`
|
const newImageId = `wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}&frame=${i + 1}`
|
||||||
stack.push(newImageId)
|
stack.push(newImageId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
imageIds.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?visitTaskId=${taskId}&instanceId=${instance.Id}`)
|
imageIds.push(`wadouri:${this.OSSclientConfig.basePath}${instance.Path}?instanceId=${instance.Id}`)
|
||||||
obj.Stack = stack
|
obj.Stack = stack
|
||||||
obj.ImageIds = imageIds
|
obj.ImageIds = imageIds
|
||||||
obj.SliceIndex = 0
|
obj.SliceIndex = 0
|
||||||
|
|
|
@ -133,7 +133,7 @@ export default {
|
||||||
}
|
}
|
||||||
const res = await getCustomTableQuestionAnswer(param)
|
const res = await getCustomTableQuestionAnswer(param)
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.readingTaskState = res.OtherInfo.ReadingTaskState
|
// this.readingTaskState = res.OtherInfo.ReadingTaskState
|
||||||
res.Result.SinglePage.map((v) => {
|
res.Result.SinglePage.map((v) => {
|
||||||
if (v.Type === 'group' && v.Childrens.length === 0) return
|
if (v.Type === 'group' && v.Childrens.length === 0) return
|
||||||
if (!v.IsPage && v.Type !== 'group' && v.Type !== 'summary' && v.Type !== 'table' && v.Type !== 'basicTable' && v.Type !== 'number') {
|
if (!v.IsPage && v.Type !== 'group' && v.Type !== 'summary' && v.Type !== 'table' && v.Type !== 'basicTable' && v.Type !== 'number') {
|
||||||
|
|
|
@ -706,7 +706,7 @@ export default {
|
||||||
})
|
})
|
||||||
// tableQuestionAnswer.push({})
|
// tableQuestionAnswer.push({})
|
||||||
} else {
|
} else {
|
||||||
answers.push({ questionId: k, answer: this.questionForm[k].toString() })
|
answers.push({ questionId: k, answer: this.questionForm[k] })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var params = {
|
var params = {
|
||||||
|
|
Loading…
Reference in New Issue