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 61d1640c..1c3857d4 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 @@ -37,7 +37,7 @@
-
+
@@ -174,7 +174,7 @@ - +
@@ -233,7 +233,7 @@ export default { formChanged: false, digitPlaces: 2, addOrEdit: { visible: false, title: '' }, - upload: { visible: false, title: '' }, + upload: { visible: false, title: '', TableName: '' }, qsList: [], answersList: [], qsForm: {}, @@ -668,7 +668,8 @@ export default { console.log(e) } }, - uploadTpl(lesionType) { + uploadTpl(lesionType, TableName) { + this.upload.TableName = TableName this.upload.title = `导入( ${this.$fd('LesionType', lesionType)} )` this.upload.visible = true }, diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/UploadExcel.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/UploadExcel.vue index 0de95483..abf167de 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/UploadExcel.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/UploadExcel.vue @@ -39,6 +39,10 @@ export default { visitTaskId: { type: String, required: true + }, + TableName: { + type: String, + default: '' } }, data() { @@ -64,6 +68,7 @@ export default { data.append('file', param.file) data.append('visitTaskId', this.visitTaskId) data.append('readingImportType', 0) + data.append('TableName', this.TableName) await readingImport(data) this.$emit('close') this.$message.success('导入成功!') 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 c650cd6e..10b7cf93 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 @@ -37,7 +37,7 @@
-
+
@@ -169,7 +169,7 @@ - +
@@ -228,7 +228,7 @@ export default { formChanged: false, digitPlaces: 2, addOrEdit: { visible: false, title: '', lesionType: null }, - upload: { visible: false, title: '', lesionType: null }, + upload: { visible: false, title: '', lesionType: null, TableName: '', }, qsList: [], answersList: [], qsForm: {}, @@ -669,8 +669,9 @@ export default { console.log(e) } }, - uploadTpl(lesionType) { + uploadTpl(lesionType, TableName) { this.upload.lesionType = lesionType + this.upload.TableName = TableName this.upload.title = `导入( ${this.$fd('LesionType', lesionType)} )` this.upload.visible = true }, diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/UploadExcel.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/UploadExcel.vue index a8c0bbf0..8a7e5ef0 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/OCT/UploadExcel.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/UploadExcel.vue @@ -43,6 +43,10 @@ export default { lesionType: { type: Number, required: true + }, + TableName: { + type: String, + default: '' } }, data() { @@ -67,7 +71,7 @@ export default { var data = new FormData() data.append('file', param.file) data.append('visitTaskId', this.visitTaskId) - + data.append('TableName', this.TableName) if (this.lesionType === 112) { data.append('readingImportType', 1) await readingImport(data) diff --git a/src/views/trials/trials-panel/reading/dicoms/index.vue b/src/views/trials/trials-panel/reading/dicoms/index.vue index a5fe9e1b..028f9b9c 100644 --- a/src/views/trials/trials-panel/reading/dicoms/index.vue +++ b/src/views/trials/trials-panel/reading/dicoms/index.vue @@ -346,6 +346,7 @@ export default { localStorage.setItem('digitPlaces', res.Result.DigitPlaces) localStorage.setItem('IsExistUnprocessedFeedback', res.Result.IsExistUnprocessedFeedback) localStorage.setItem('taskInfo', JSON.stringify(res.Result)) + sessionStorage.setItem('taskInfo', JSON.stringify(res.Result)) this.readingCategory = res.Result.ReadingCategory this.readingVersionEnum = res.Result.ReadingVersionEnum this.questionFormChangeState = false diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue index c0bae338..d92f2aff 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue @@ -190,7 +190,7 @@ export default { } }, mounted() { - this.taskInfo = JSON.parse(localStorage.getItem('taskInfo')) + this.taskInfo = JSON.parse(sessionStorage.getItem('taskInfo')) const digitPlaces = Number(localStorage.getItem('digitPlaces')) this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces this.$nextTick(() => { 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 ed0e5068..0bc8a2a7 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -297,7 +297,8 @@