分割恢复部分问题解决
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d6f36cbbda
commit
4a17946598
|
|
@ -811,7 +811,12 @@ export default {
|
||||||
volume.destroy();
|
volume.destroy();
|
||||||
// 2. 从缓存中移除
|
// 2. 从缓存中移除
|
||||||
volume.removeFromCache();
|
volume.removeFromCache();
|
||||||
cache.removeImageLoadObject(`wadouri:${this.OSSclientConfig.basePath}${this.curSegmentGroup.segUrl}`)
|
if (this.curSegmentGroup.oldSegUrl) {
|
||||||
|
cache.removeImageLoadObject(`wadouri:${this.OSSclientConfig.basePath}${this.curSegmentGroup.oldSegUrl}`)
|
||||||
|
this.curSegmentGroup.oldSegUrl = null
|
||||||
|
} else {
|
||||||
|
cache.removeImageLoadObject(`wadouri:${this.OSSclientConfig.basePath}${this.curSegmentGroup.segUrl}`)
|
||||||
|
}
|
||||||
this.getSegmentation(this.segmentationId)
|
this.getSegmentation(this.segmentationId)
|
||||||
DicomEvent.$emit('renderSegmentationBychangeSegmention')
|
DicomEvent.$emit('renderSegmentationBychangeSegmention')
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
|
@ -1660,6 +1665,7 @@ export default {
|
||||||
}/${this.visitInfo.VisistId}/${this.series.StudyId
|
}/${this.visitInfo.VisistId}/${this.series.StudyId
|
||||||
}/${this.series.Id}/${segmentGroup.name}.dcm`
|
}/${this.series.Id}/${segmentGroup.name}.dcm`
|
||||||
const result = await this.OSSclient.put(path, blob)
|
const result = await this.OSSclient.put(path, blob)
|
||||||
|
segmentGroup.oldSegUrl = segmentGroup.segUrl
|
||||||
segmentGroup.segUrl = this.$getObjectName(result.url)
|
segmentGroup.segUrl = this.$getObjectName(result.url)
|
||||||
DicomEvent.$emit("IsBeSegment", { StudyId: this.series.StudyId, Id: this.series.Id, IsBeSegment: true })
|
DicomEvent.$emit("IsBeSegment", { StudyId: this.series.StudyId, Id: this.series.Id, IsBeSegment: true })
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1667,7 +1673,7 @@ export default {
|
||||||
segmentGroup.segUrl = null
|
segmentGroup.segUrl = null
|
||||||
}
|
}
|
||||||
|
|
||||||
this.addOrUpdateSegmentation({ name: segmentGroup.name, id: segmentGroup.segmentationId, url: segmentGroup.segUrl })
|
this.addOrUpdateSegmentation({ name: segmentGroup.name, id: segmentGroup.segmentationId, url: segmentGroup.segUrl, size: blob.size })
|
||||||
this.changeSegmentationSavedStatus(segmentGroup.segmentationId, saveSegment)
|
this.changeSegmentationSavedStatus(segmentGroup.segmentationId, saveSegment)
|
||||||
if (saveSegment) {
|
if (saveSegment) {
|
||||||
await this.getBidirectionalSaveSegment(segmentList)
|
await this.getBidirectionalSaveSegment(segmentList)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue