|
@@ -265,7 +265,21 @@
|
|
</p>
|
|
</p>
|
|
</td>
|
|
</td>
|
|
<td style="width: 140px">{{ evaluation.evaluation }}</td>
|
|
<td style="width: 140px">{{ evaluation.evaluation }}</td>
|
|
- <td style="width: 80px">{{ evaluation.targetWeight }}</td>
|
|
|
|
|
|
+
|
|
|
|
+ <td
|
|
|
|
+ v-if="!eindex"
|
|
|
|
+ style="width: 80px"
|
|
|
|
+ :rowspan="item.evaluationList.length - 1"
|
|
|
|
+ >
|
|
|
|
+ {{ item.normalTargetWeight }}
|
|
|
|
+ </td>
|
|
|
|
+ <td
|
|
|
|
+ v-else-if="eindex === item.evaluationList.length - 1"
|
|
|
|
+ style="width: 80px"
|
|
|
|
+ >
|
|
|
|
+ {{ evaluation.targetWeight }}
|
|
|
|
+ </td>
|
|
|
|
+
|
|
<td style="width: 100px">{{ evaluation.targetScore }}</td>
|
|
<td style="width: 100px">{{ evaluation.targetScore }}</td>
|
|
<td style="width: 100px">{{ evaluation.targetAvgScore }}</td>
|
|
<td style="width: 100px">{{ evaluation.targetAvgScore }}</td>
|
|
<td
|
|
<td
|
|
@@ -412,7 +426,14 @@ export default {
|
|
|
|
|
|
this.courseTargetValue =
|
|
this.courseTargetValue =
|
|
data.courseEvaluationResultInfo.targetEvaluationSumValue;
|
|
data.courseEvaluationResultInfo.targetEvaluationSumValue;
|
|
- this.courseTargetList = data.courseEvaluationResultInfo.targetList;
|
|
|
|
|
|
+ this.courseTargetList = data.courseEvaluationResultInfo.targetList.map(
|
|
|
|
+ (target) => {
|
|
|
|
+ target.normalTargetWeight = calcSum(
|
|
|
|
+ target.evaluationList.slice(0, -1).map((elem) => elem.targetWeight)
|
|
|
|
+ );
|
|
|
|
+ return target;
|
|
|
|
+ }
|
|
|
|
+ );
|
|
|
|
|
|
const {
|
|
const {
|
|
courseEvaluationSpreadInfo: { questionInfo, scoreList },
|
|
courseEvaluationSpreadInfo: { questionInfo, scoreList },
|