From 87e19b5a396ac8fed6a551828b87d263f6425c31 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 16 十月 2025 10:26:12 +0800
Subject: [PATCH] 2025.10.16 修改季度报告生成逻辑
---
src/views/historymode/HistoryMode.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/historymode/HistoryMode.vue b/src/views/historymode/HistoryMode.vue
index 5e72264..452fc0d 100644
--- a/src/views/historymode/HistoryMode.vue
+++ b/src/views/historymode/HistoryMode.vue
@@ -55,7 +55,7 @@
<SourceTrace
class="source-trace"
v-model:factorType="factorType"
- direction="right"
+ direction="left"
mode="history"
:mission-code="missionCode"
></SourceTrace>
@@ -126,7 +126,7 @@
factorType(nValue, oValue) {
if (nValue != oValue && this.status == 0) {
Layer.clear();
- this.draw();
+ this.draw(true);
// this.drawHighlightPollution();
}
}
@@ -169,13 +169,17 @@
done();
this.draw();
},
- draw() {
+ draw(notSetBound) {
// 鍒锋柊鍥句緥
const factor = this.factorDatas.factor[this.factorType];
sector.clearSector();
// this.drawRoadLine(factor);
this.drawRoadMap(factor);
this.drawMassMarks(factor);
+ // 璋冩暣鍦板浘瑙嗚
+ if (!notSetBound) {
+ mapUtil.setBound(this.factorDatas.lnglats_GD);
+ }
},
// 缁樺埗3D璧拌璺嚎鍥�
drawRoadMap(e) {
@@ -190,8 +194,6 @@
marks.drawMassMarks(this.factorDatas, e, (index) => {
this.handelIndexChange(index);
});
- // 璋冩暣鍦板浘瑙嗚
- mapUtil.setBound(this.factorDatas.lnglats_GD);
},
drawSector(index) {
// 1. 缁樺埗鏂版墖褰㈠尯鍩�
--
Gitblit v1.9.3