From f148c76a7f756e5fa82ec9a2293a0a18c13bb760 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 5 Jun 2025 18:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E9=98=85=E7=89=87?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/customize/CustomizeQuestionsPreview.vue | 4 +--- .../reading/dicoms3D/components/customize/QuestionList.vue | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue index de1cffe6..0fc1ee59 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue @@ -233,9 +233,7 @@ export default { this.questionForm[v] = '' }, setFormItemData(obj) { - console.log('setFormItemData', obj) - this.$set(this.questionForm, obj.key, JSON.parse(JSON.stringify(obj.val))) - console.log(this.questionForm) + this.$set(this.questionForm, obj.key, obj.val) this.classArr.map(i=>{ if (i.triggerId === obj.key) { let answer = null diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue index 6da0e15f..4afa0ff3 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue @@ -132,7 +132,7 @@ export default { this.visitTaskId = this.visitInfo.VisitTaskId this.taskInfo = JSON.parse(localStorage.getItem('taskInfo')) this.isBaseLineTask = this.taskInfo.IsBaseLine - this.criterionType = this.taskInfo.CriterionType + this.criterionId = this.taskInfo.TrialReadingCriterionId const digitPlaces = Number(localStorage.getItem('digitPlaces')) this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces this.getQuestionCalculateRelation() @@ -326,7 +326,7 @@ export default { this.questionForm[v] = null }, setFormItemData(obj) { - this.$set(this.questionForm, obj.key, JSON.parse(JSON.stringify(obj.val))) + this.$set(this.questionForm, obj.key, obj.val) this.classArr.map(i => { if (i.triggerId === obj.key) { let answer = null