diff --git a/src/api/reading.js b/src/api/reading.js index b2e7a1bb..55170036 100644 --- a/src/api/reading.js +++ b/src/api/reading.js @@ -311,3 +311,11 @@ export function changePlottingScaleChangeAnswer(param) { data: param }) } +// 阅片获取图表数据 +export function getReportsChartData(param) { + return request({ + url: `/ReadingImageTask/getReportsChartData`, + method: 'post', + data: param + }) +} \ No newline at end of file diff --git a/src/components/readingChart/index.vue b/src/components/readingChart/index.vue new file mode 100644 index 00000000..aecca89d --- /dev/null +++ b/src/components/readingChart/index.vue @@ -0,0 +1,143 @@ + + + + + \ No newline at end of file diff --git a/src/icons/svg/readingChart.svg b/src/icons/svg/readingChart.svg new file mode 100644 index 00000000..db700743 --- /dev/null +++ b/src/icons/svg/readingChart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index d95173e6..77906de2 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -357,4 +357,11 @@ body .el-table th.gutter { .el-message-box__wrapper { z-index: 9999 !important; +} + +.svg-readingChart { + width: 28px !important; + height: 30px !important; + margin-left: 10px; + cursor: pointer; } \ No newline at end of file diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index 4e864c1a..4562ac64 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -341,7 +341,7 @@ :last-viewport-task-id="lastViewportTaskId" :visit-info="s" @resetAnnotations="resetAnnotations" @setReadingTaskState="setReadingTaskState" @viewCustomAnnotationSeries="viewCustomAnnotationSeries" @getCustomScreenshots="getCustomScreenshots" @setReadingToolActive="setReadingToolActive" - @setReadingToolPassive="setReadingToolPassive" /> + @setReadingToolPassive="setReadingToolPassive" @handleReadingChart="handleReadingChart" /> @@ -427,6 +427,7 @@ +