feiyu02
2025-10-20 eb4111e0fd7110e5aa6a00608da2da9af21a3035
2025.10.18 修改嫉妒报告生成逻辑
已修改2个文件
8 ■■■■ 文件已修改
public/underway_season_report.docx 补丁 | 查看 | 原始文档 | blame | 历史
src/views/historymode/component/MissionReport.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/underway_season_report.docx
Binary files differ
src/views/historymode/component/MissionReport.vue
@@ -277,7 +277,7 @@
      item._time = formatDateTimeRange(item.startTime, item.endTime);
      item._airQulity = `AQI:${item.aqi}(${item.pollutionDegree})`;
      item._abnormalFactors = item.abnormalFactors
        .map((factor) => factor)
        .map((factor) => factorName[factor])
        .join('、');
      item._kilometres = Math.round(item.kilometres / 1000);
@@ -321,9 +321,9 @@
      radioOptions(TYPE0).forEach((f) => {
        const _factor = item.dataStatistics.find((e) => e.factor == f.name);
        item[`avgValue_${f.name}`] = _factor?.avgValue ?? '-';
        item[`maxValue_${f.name}`] = _factor?.maxValue ?? '-';
        item[`minValue_${f.name}`] = _factor?.minValue ?? '-';
        item[`avgValue_${f.name}`] = _factor?.avgValue.toFixed(0) ?? '-';
        item[`maxValue_${f.name}`] = _factor?.maxValue.toFixed(0) ?? '-';
        item[`minValue_${f.name}`] = _factor?.minValue.toFixed(0) ?? '-';
      });
      return item;