From 4ca375b2e3dae98d6ececc1b7b421a12f3fa8a26 Mon Sep 17 00:00:00 2001
From: 董国庆 <364620639@qq.com>
Date: 星期二, 01 七月 2025 09:00:38 +0800
Subject: [PATCH] 修改bug,验收通过

---
 laboratory/src/views/deliveryAssessment/testerWorkerEvaluate/add.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/laboratory/src/views/deliveryAssessment/testerWorkerEvaluate/add.vue b/laboratory/src/views/deliveryAssessment/testerWorkerEvaluate/add.vue
index 1b361f0..4258f45 100644
--- a/laboratory/src/views/deliveryAssessment/testerWorkerEvaluate/add.vue
+++ b/laboratory/src/views/deliveryAssessment/testerWorkerEvaluate/add.vue
@@ -263,12 +263,12 @@
       }
       const activeIndex = evaluateTable.activeIndex;
       const evaluateData = {
-        evaluateOne: this.getEvaluateValue(activeIndex[0].score),
-        evaluateTwo: this.getEvaluateValue(activeIndex[1].score),
-        evaluateThree: this.getEvaluateValue(activeIndex[2].score),
-        evaluateFour: this.getEvaluateValue(activeIndex[3].score),
-        evaluateFive: this.getEvaluateValue(activeIndex[4].score),
-        evaluateSix: this.getEvaluateValue(activeIndex[5].score),
+        evaluateOne:activeIndex[0].score? this.getEvaluateValue(activeIndex[0].score):0,
+        evaluateTwo: activeIndex[1].score?this.getEvaluateValue(activeIndex[1].score):0,
+        evaluateThree: activeIndex[2].score?this.getEvaluateValue(activeIndex[2].score):0,
+        evaluateFour: activeIndex[3].score?this.getEvaluateValue(activeIndex[3].score):0,
+        evaluateFive: activeIndex[4].score?this.getEvaluateValue(activeIndex[4].score):0,
+        evaluateSix: activeIndex[5].score?this.getEvaluateValue(activeIndex[5].score):0,
         evaluateTime: moment().format("YYYY-MM-DD HH:mm:ss"),
         resultEvaluateJson: JSON.stringify(activeIndex),
         dispatchId: this.tableData[0]?.id,

--
Gitblit v1.7.1