From 971608053266e75e3f37e528d7454f377a37af62 Mon Sep 17 00:00:00 2001 From: shidongli Date: Thu, 19 Dec 2024 17:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=91=BC=E8=AE=B0=E5=BD=95=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Satisfactionsurvey/index.vue | 62 ++++++++++++++++--- 1 file changed, 52 insertions(+), 10 deletions(-) diff --git a/src/views/manage/Satisfactionsurvey/index.vue b/src/views/manage/Satisfactionsurvey/index.vue index a42ac83..33c5f15 100644 --- a/src/views/manage/Satisfactionsurvey/index.vue +++ b/src/views/manage/Satisfactionsurvey/index.vue @@ -170,6 +170,22 @@ + + + + + +
@@ -219,7 +235,7 @@ /> + + + + +
-
总分:{{ totalScoredata }}分
+
总分:{{ questiondata.totalScore }}分
{ this.questiondata = res.data; + console.log( this.questiondata,' this.questiondata') this.questiondata.subjectResultList.forEach((e) => { - if(e.whetherScore==1){ - e.optionResults.forEach((el) => { - if(el.optionChooseSign=="0"){ - this.totalScoredata += el.optionScore - } - }) - } + // if(e.whetherScore==1){ + // e.optionResults.forEach((el) => { + // if(el.optionChooseSign=="0"){ + // this.totalScoredata += el.optionScore + // } + // }) + // } e.optionResults.forEach((el) => { if ( (el.optionChooseSign == "0" &&