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/api/trials.js b/src/api/trials.js index 717ce7c0..c7ea66b9 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -4466,4 +4466,11 @@ export function updateReadModuleClinicalData(data) { method: 'post', data }) +} + +export function getTrialUnreadVisitList(trialId) { + return request({ + url: `/DownloadAndUpload/getTrialUnreadVisitList?trialId=${trialId}`, + method: 'get' + }) } \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 368b8e35..1dbe29da 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -50,11 +50,11 @@ export const constantRoutes = [ component: () => import('@/views/login/index'), hidden: true }, - // { - // path: '/test', - // component: () => import('@/views/test/index'), - // hidden: true - // }, + { + path: '/test', + component: () => import('@/views/test/index'), + hidden: true + }, { path: '/resetpassword', component: () => import('@/views/forgetpassword/index'), diff --git a/src/views/test/index.vue b/src/views/test/index.vue index 301b347c..c10c3b89 100644 --- a/src/views/test/index.vue +++ b/src/views/test/index.vue @@ -1,25 +1,136 @@ \ 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") }} + + + + + + + + + + + + + + + + + +