From 763e00a6cad6a8dbed53a9365c4e9fbd96ea08c4 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 7 May 2026 15:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=89=B2=E6=95=B0=E6=8D=AE=E6=81=A2?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reading.js | 16 ++ .../dicoms3D/components/Segmentations.vue | 188 +++++++++++++++++- .../dicoms3D/components/VolumeViewport.vue | 8 +- .../components/helpers/segmentations.js | 1 + 4 files changed, 206 insertions(+), 7 deletions(-) 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") }} + + + + + + + + + + + + + + + + + +