From f0eda2bc66cf3b3830d633f7dd23316215987b0f Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Mon, 2 Sep 2024 14:12:26 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=9B=BE=E7=89=87=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main.js | 29 ++++----
.../trials-panel/reading/ad-review/index.vue | 16 +----
.../dicoms/components/Lugano/QuestionForm.vue | 7 --
.../customize/CustomizeQuestionFormItem.vue | 20 +++++-
.../customize/CustomizeQuestionItem.vue | 52 ++++++++------
.../CustomizeQuestionTableFormItem.vue | 53 +++++++++------
.../customize/CustomizeReportPageUpload.vue | 67 ++++++++++---------
.../medical-feedback/components/ChatForm.vue | 7 --
.../mim-medical-audit/components/ChatForm.vue | 7 --
.../components/Conclusions.vue | 20 +-----
10 files changed, 137 insertions(+), 141 deletions(-)
diff --git a/src/main.js b/src/main.js
index 7b1423e2..b1998a3e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -28,25 +28,22 @@ Vue.use(permission)
import Viewer from 'v-viewer'
import './assets/css/viewer.css'
-
-Vue.use(Viewer)
Viewer.setDefaults({
- Options: {
- 'inline': true,
- 'button': true,
- 'navbar': true,
- 'title': true,
- 'toolbar': true,
- 'tooltip': true,
- 'movable': true,
- 'zoomable': true,
- 'rotatable': true,
- 'scalable': true,
- 'transition': true,
- 'keyboard': true,
- 'url': 'data-source'
+ // navbar: true, //底部缩略图
+ toolbar: {
+ zoomIn: true,
+ zoomOut: true,
+ reset: true,
+ prev: true,
+ next: true,
+ rotateLeft: true,
+ rotateRight: true,
+ flipHorizontal: true,
+ flipVertical: true,
}
})
+Vue.use(Viewer)
+
import hasPermi from './directive/permission'
Vue.use(hasPermi)
diff --git a/src/views/trials/trials-panel/reading/ad-review/index.vue b/src/views/trials/trials-panel/reading/ad-review/index.vue
index 5c32a23f..ea386cc9 100644
--- a/src/views/trials/trials-panel/reading/ad-review/index.vue
+++ b/src/views/trials/trials-panel/reading/ad-review/index.vue
@@ -445,7 +445,6 @@ import SignForm from "@/views/trials/components/newSignForm";
import DicomEvent from "@/views/trials/trials-panel/reading/dicoms/components/DicomEvent";
// import store from '@/store'
import { changeURLStatic } from "@/utils/history.js";
-import Viewer from "v-viewer";
export default {
name: "AdReview",
components: { SignForm },
@@ -532,7 +531,6 @@ export default {
// }
// },
mounted() {
- this.initializeViewer();
this.criterionType = parseInt(this.$route.query.criterionType);
this.getAdInfo();
if (this.isReadingShowPreviousResults) {
@@ -960,19 +958,7 @@ export default {
this.loading = false;
console.log(e);
}
- },
- initializeViewer() {
- Viewer.setDefaults({
- toolbar: {
- zoomIn: true,
- zoomOut: true,
- rotateLeft: true,
- rotateRight: true,
- flipHorizontal: true,
- flipVertical: true,
- },
- });
- },
+ }
},
};
diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue b/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue
index c5e7430a..74c2b4a2 100644
--- a/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/components/Lugano/QuestionForm.vue
@@ -276,7 +276,6 @@ import { submitTableQuestion, deleteReadingRowAnswer, getIsSuvMaxLesion } from '
// import { uploadPrintscreen } from '@/api/reading'
import DicomEvent from './../DicomEvent'
import store from '@/store'
-import Viewer from 'v-viewer'
export default {
name: 'MeasurementForm',
props: {
@@ -353,7 +352,6 @@ export default {
}
},
mounted() {
- this.initializeViewer()
this.trialId = this.$route.query.trialId
this.initForm()
DicomEvent.$on('handleImageQualityAbnormal', () => {
@@ -380,11 +378,6 @@ export default {
}
}
},
- initializeViewer() {
- Viewer.setDefaults({
- toolbar: { zoomIn: true, zoomOut: true, rotateLeft: true, rotateRight: true, flipHorizontal: true, flipVertical: true }
- })
- },
previewImage() {
this.$refs.viewer[0].$viewer.show()
},
diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue
index c40d341a..bf289f13 100644
--- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue
@@ -239,7 +239,7 @@
-
+