diff --git a/src/api/reading.js b/src/api/reading.js index 7a672889..4fff9530 100644 --- a/src/api/reading.js +++ b/src/api/reading.js @@ -294,3 +294,12 @@ export function readingImport(param) { data: param }) } + +// 阅片获取图表数据 +export function getReportsChartData(param) { + return request({ + url: `/ReadingImageTask/getReportsChartData`, + method: 'post', + data: param + }) +} diff --git a/src/components/readingChart/index.vue b/src/components/readingChart/index.vue new file mode 100644 index 00000000..4d51866d --- /dev/null +++ b/src/components/readingChart/index.vue @@ -0,0 +1,240 @@ + + + + + \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index d95173e6..13ba518a 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -357,4 +357,18 @@ 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; +} + +.svg-readingChart-mini { + width: 18px !important; + height: 20px !important; + vertical-align: -0.4em !important; + cursor: pointer; } \ No newline at end of file diff --git a/src/views/dictionary/template/components/CriterionQuestionForm.vue b/src/views/dictionary/template/components/CriterionQuestionForm.vue index 425f1166..87fd02d6 100644 --- a/src/views/dictionary/template/components/CriterionQuestionForm.vue +++ b/src/views/dictionary/template/components/CriterionQuestionForm.vue @@ -361,6 +361,13 @@ + + + + {{ item.label }} + + @@ -552,6 +559,7 @@ export default { FileType: [], ClassifyQuestionId: null, ClassifyAlgorithms: null, + ShowChartTypeEnum: 0, OptionTypeEnum: 0 }, rules: { @@ -879,6 +887,7 @@ export default { data.HighlightAnswerList = [] // data.ExportIdentification = 0 data.ExportResult = [] + data.ShowChartTypeEnum = 0 data.FileType = [] data.ClassifyQuestionId = null data.ClassifyAlgorithms = null diff --git a/src/views/dictionary/template/components/TableQsForm.vue b/src/views/dictionary/template/components/TableQsForm.vue index 61dd9686..a6690f13 100644 --- a/src/views/dictionary/template/components/TableQsForm.vue +++ b/src/views/dictionary/template/components/TableQsForm.vue @@ -289,6 +289,13 @@ + + + + {{ item.label }} + + @@ -442,6 +449,7 @@ export default { // ExportIdentification: 0, ExportResult: [], DefaultValue: null, + ShowChartTypeEnum: 0, OptionTypeEnum: 0 // IsEnable: true }, @@ -769,6 +777,7 @@ export default { // form.ExportIdentification = 0 form.ExportResult = [] form.DefaultValue = null + form.ShowChartTypeEnum = 0 form.OptionTypeEnum = 0 }, close() { diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue index 0e7571f7..45ecb24b 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue @@ -475,6 +475,7 @@ :question-form-change-num="questionFormChangeNum" :is-show="isShow" :is-reading-show-subject-info="isReadingShowSubjectInfo" + @handleReadingChart="handleReadingChart" />