diff --git a/src/api/reading.js b/src/api/reading.js index e686f326..5e6315fd 100644 --- a/src/api/reading.js +++ b/src/api/reading.js @@ -431,4 +431,20 @@ export function studyUndoMaskImage(data) { method: 'post', data }) +} +// 获取分割组历史版本 +export function getSegmentationVersionList(data) { + return request({ + url: `/Segmentation/getSegmentationVersionList`, + method: 'post', + data + }) +} +// 恢复分割历史版本 +export function restoreSegmentationVersion(data) { + return request({ + url: `/Segmentation/restoreSegmentationVersion`, + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue index aadf4a6f..4ea14080 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -145,6 +145,9 @@
{{ $t('trials:reading:Segmentations:button:exportSegmentGroup') }}
+
+ {{ $t('trials:reading:Segmentations:button:recoverySegmentGroup') }} +
{{ $t('trials:reading:Segmentations:button:deleteSegmentGroup') }}
@@ -228,9 +231,10 @@ {{ k }} {{ JSON.stringify(item.stats[k].value) !== 'null' ? - k === 'count' ? Number(item.stats[k].value).toFixed(0) : Number(item.stats[k].value).toFixed(digitPlaces) + k === 'count' ? Number(item.stats[k].value).toFixed(0) : + Number(item.stats[k].value).toFixed(digitPlaces) : null - }}{{ item.stats[k].unit }} + }}{{ item.stats[k].unit }}
{{ index + 1 }}
@@ -278,10 +282,37 @@ {{ $t("trials:reading:Segmentations:button:saveAll") }} + + + + + + + + + + + + + + + + + +