From 43f49a36c0b776de30a8d7720b7c63ed7fb510a0 Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Mon, 23 Sep 2024 16:47:57 +0800
Subject: [PATCH] =?UTF-8?q?ivus=E6=B7=BB=E5=8A=A0=E4=B8=8B=E8=BD=BD?=
=?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=8F=8Aoct=E6=A0=87=E5=87=86=E6=9B=B4?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/reading.js | 10 +-
.../dicoms/components/IVUS/QuestionList.vue | 47 +-
.../components/IVUS/QuestionTableFormItem.vue | 40 +-
.../dicoms/components/OCT/QuestionForm.vue | 534 ----------------
.../dicoms/components/OCT/QuestionList.vue | 595 ++++++++++--------
.../components/OCT/QuestionTableFormItem.vue | 291 +++++++++
6 files changed, 691 insertions(+), 826 deletions(-)
delete mode 100644 src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionForm.vue
create mode 100644 src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionTableFormItem.vue
diff --git a/src/api/reading.js b/src/api/reading.js
index 4bc72f32..42df353e 100644
--- a/src/api/reading.js
+++ b/src/api/reading.js
@@ -1,5 +1,5 @@
import request from '@/utils/request'
-
+import requestDownload from '@/utils/request-download'
export function addBaseLineLesion(param) {
return request({
url: '/report/addBaseLineLesion',
@@ -201,3 +201,11 @@ export function getTaskUploadedDicomStudyList(param) {
data: param
})
}
+export function getIVUSTemplate(param) {
+ return requestDownload({
+ url: '/IVUSCalculate/getIVUSTemplate',
+ method: 'post',
+ responseType: 'blob',
+ data: param
+ })
+}
diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue
index 9a4b9097..2396454c 100644
--- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue
@@ -46,7 +46,7 @@
{{ item.QuestionName }}
-
+
@@ -82,7 +82,7 @@
:render-header="renderHeader"
/>
{{ $t('common:button:edit') }}
-
+
{{ $t('common:button:delete') }}
@@ -203,7 +203,7 @@
-
diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue
index 8938318a..6aae7ef4 100644
--- a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue
@@ -29,8 +29,8 @@
-
-
+
+
{{ language==='en'?qs.GroupEnName:qs.GroupName }}
@@ -41,75 +41,63 @@
size="small"
:model="questionForm"
>
-
+
-
+
{{ item.QuestionName }}
-
-
-
-
-
-
- {{ getLesionName(item.OrderMark,q.RowIndex) }}
-
-
-
-
-
-
-
-
-
-
-
- min: {{ numberToFixed(item.TableQuestions.Answers[i].min,'μm') }}
-
-
- mean: {{ numberToFixed(item.TableQuestions.Answers[i].mean,'μm') }}
-
-
- {{ numberToFixed(item.TableQuestions.Answers[i].angle,'°') }}
-
-
-
-
-
+
+
+
+
+
+
+ {{ $t('common:button:edit') }}
+
+
+ {{ $t('common:button:delete') }}
+
+
+
+
-
-
+
{formItemChange(val, item)})"
- @blur="limitBlur(item.Id, item.ValueType)"
- >
-
- {{ $fd('ValueUnit', parseInt(item.Unit)) }}
-
-
+ v-model="questionForm[qs.Id]"
+ type="textarea"
+ :autosize="{ minRows: 2, maxRows: 4}"
+ :disabled="!isCurrentTask || readingTaskState>=2"
+ @change="((val)=>{formItemChange(val, qs)})"
+ />
-
@@ -690,6 +714,7 @@ export default {
}
.add-icon{
+ display: inline-block;
padding: 5px;
font-weight: bold;
color: #ddd;
@@ -720,9 +745,14 @@ export default {
color: #ddd;
border: 1px solid #5e5e5e;
}
+ /deep/ .el-textarea__inner{
+ background-color: transparent;
+ color: #ddd;
+ border: 1px solid #5e5e5e;
+ }
/deep/ .el-form-item{
display: flex;
- flex-direction: row;
+ flex-direction: column;
justify-content: flex-start;
}
/deep/ .el-form-item__content{
@@ -734,47 +764,62 @@ export default {
/deep/ .el-select.is-disabled .el-input__inner{
background-color: #646464a1;
}
- /deep/ .el-button--mini, .el-button--mini.is-round {
- padding: 7px 10px;
- }
+
.el-form-item__content
.el-select{
width: 100%;
}
}
- .el-collapse{
- border-bottom:none;
- border-top:none;
- /deep/ .el-collapse-item{
- background-color: #000!important;
- color: #ddd;
-
+ .table-wrapper {
+ ::-webkit-scrollbar {
+ width: 5px;
+ height: 8px;
}
- /deep/ .el-collapse-item__header{
- background-color: #000!important;
- color: #ddd;
- border-bottom-color:#5a5a5a;
- padding-left: 5px;
- height: 35px;
- line-height: 35px;
+ ::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ background: #d0d0d0;
}
- /deep/ .el-collapse-item__wrap{
- background-color: #000!important;
- color: #ddd;
+ /deep/ .el-table,
+ .el-table__expanded-cell {
+ background-color: #000;
+ color: #fff;
+ border-color: #444444;
}
- /deep/ .el-collapse-item__content{
- width:260px;
- position: absolute;
- top: 0px;
- right: 0px;
- // border: 1px solid #ffeb3b;
- border: 1px solid #fff;
- z-index: 1;
- color: #ddd;
- padding: 5px;
- background-color:#1e1e1e;
+ /deep/ .el-table th,
+ .el-table tr {
+ background-color: #000;
+ color: #fff;
+ border-color: #444444;
+ }
+ /deep/ .el-table__body tr > td {
+ background-color: #000 !important;
+ color: #fff;
+ border-color: #444444;
+ }
+ /deep/ .el-table__body tr:hover > td {
+ background-color: #858282 !important;
+ color: #fff;
+ border-color: #444444;
+ }
+ /deep/ .el-table--border th.gutter:last-of-type {
+ border: none;
+ }
+ /deep/ .el-table__fixed-right {
+ height: 100% !important;
+ }
+ // /deep/ .el-table .cell {
+ // line-height: 20px;
+ // }
+ /deep/ .el-table__cell {
+ padding: 5px 0;
+ }
+ /deep/.el-table__fixed-right-patch {
+ background-color: #000 !important;
+ border-color: #444444;
+ }
+ /deep/.el-table__fixed-body-wrapper tr:hover > td {
+ background-color: #000 !important;
}
-
}
}
diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionTableFormItem.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionTableFormItem.vue
new file mode 100644
index 00000000..b0eafc69
--- /dev/null
+++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionTableFormItem.vue
@@ -0,0 +1,291 @@
+
+
+
+
+ {{ language==='en'?question.GroupEnName:question.GroupName }}
+
+
+
+
+
+ {formItemChange(val, question)})"
+ />
+
+ {formItemChange(val, question)})"
+ />
+
+ {formItemChange(val, question)})"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {formItemChange(val, question)})"
+ >
+
+
+ {{ item.label }}
+
+
+
+
+ {{ val }}
+
+
+
+
+ {formItemChange(val, question)})"
+ >
+
+ {{ val }}
+
+
+
+
+
+ {formItemChange(val, question)})"
+ >
+
+ {{ $fd('ValueUnit', parseInt(question.Unit)) }}
+
+
+
+ {formItemChange(val, question)})"
+ >
+
+ {{ $fd('ValueUnit', parseInt(question.Unit)) }}
+
+
+
+
+
+
+
+
+
+