From 800a2665a018148047c377f344f3ed7f835e5374 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=89=88=E5=85=86=E5=A2=9E?= <你的邮箱@example.com>
Date: Tue, 11 Aug 2026 16:24:41 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8B=E6=8B=89=E6=A1=86?=
=?UTF-8?q?=E9=80=89=E6=8B=A9=EF=BC=8C=E5=8F=B3=E4=BE=A7=E5=88=87=E6=8D=A2?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/BaseLayerSwitcher/index.vue | 17 +-
frontend/src/components/BasicTable/index.vue | 23 +-
.../components/GlobalRightDrawer/index.vue | 115 +++
.../src/components/MapModal/column.config.ts | 6 +-
.../MapModal/components/MonitorInfo.vue | 328 +++++++-
.../components/NormalResearchSituation.vue | 9 +-
frontend/src/components/MapModal/index.vue | 23 +-
.../src/components/mapController/index.vue | 15 +-
frontend/src/components/mapFilter/index.vue | 68 +-
frontend/src/layout/components/AppMain.vue | 26 +-
frontend/src/modules/GYZLLB/index.vue | 13 +-
.../index.vue | 414 ++++++----
.../rightSearchDrawer/basicInfo/config.ts | 27 -
.../rightSearchDrawer/basicInfo/index.vue | 15 +-
.../rightSearchDrawer/monitorInfo/index.vue | 151 ----
.../monitoringTable/components/Animal.vue | 321 ++++++++
.../components/FlowDischarge.vue | 417 ++++++++++
.../components/FlowMeasure.vue | 493 ++++++++++++
.../monitoringTable/components/GYZLLB.vue | 303 +++++++
.../monitoringTable/components/Plant.vue | 444 ++++++++++
.../monitoringTable/components/QXDInfo.vue | 760 ++++++++++++++++++
.../components/VerticalWaterTemperature.vue | 454 +++++++++++
.../components/WaterQuality.vue | 696 ++++++++++++++++
.../components/WaterTemperature.vue | 531 ++++++++++++
.../components/monitorInfo.vue} | 199 ++++-
.../monitoringTable/index.vue | 56 ++
frontend/src/store/modules/map.ts | 4 +
frontend/src/store/modules/ui.ts | 10 +-
frontend/src/styles/index.scss | 3 +
.../views/guoYuSheShi/sheShiZhuangKuang.vue | 16 +-
.../home/huanBaoSheShiYunXingZhuangKuang.vue | 14 +-
.../views/home/huanBaoZhiLiangZhuangKuang.vue | 12 +-
.../views/home/shuiDianKaiFaZhuangKuang.vue | 14 +-
frontend/src/views/qiXiDi/shengTaiDiBaoHu.vue | 16 +-
.../shuiWenJianCe/diWenShuiJianHuanSheShi.vue | 2 +
.../src/views/shuiWenJianCe/shuiWenFenXi.vue | 12 +-
.../views/shuiWenJianCe/shuiWenQingKuang.vue | 16 +-
.../shuiHuanJingZhiLiangZhuangKuang.vue | 14 +-
.../views/zengZhiFangLiu/yuLieZengZhiZhan.vue | 18 +-
.../views/zhenXIZhiWuYuan/zhenXIZhiWuYuan.vue | 14 +-
40 files changed, 5538 insertions(+), 551 deletions(-)
create mode 100644 frontend/src/components/GlobalRightDrawer/index.vue
delete mode 100644 frontend/src/modules/rightSearchDrawer/monitorInfo/index.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/Animal.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowDischarge.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowMeasure.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/GYZLLB.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/Plant.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/QXDInfo.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/VerticalWaterTemperature.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterQuality.vue
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterTemperature.vue
rename frontend/src/{components/MapModal/componentsEcharts/MonitorInfoEcharts.vue => modules/rightSearchDrawer/monitoringTable/components/monitorInfo.vue} (65%)
create mode 100644 frontend/src/modules/rightSearchDrawer/monitoringTable/index.vue
diff --git a/frontend/src/components/BaseLayerSwitcher/index.vue b/frontend/src/components/BaseLayerSwitcher/index.vue
index 0783fcb7..a69ab4f5 100644
--- a/frontend/src/components/BaseLayerSwitcher/index.vue
+++ b/frontend/src/components/BaseLayerSwitcher/index.vue
@@ -2,7 +2,7 @@
+
+
diff --git a/frontend/src/components/MapModal/column.config.ts b/frontend/src/components/MapModal/column.config.ts
index 80dd5881..7af9f682 100644
--- a/frontend/src/components/MapModal/column.config.ts
+++ b/frontend/src/components/MapModal/column.config.ts
@@ -2349,7 +2349,7 @@ const FBPointColumns: Array
= [
},
{
name: '生产工艺',
- filed: 'zzfkgy',
+ filed: 'zzflgy',
visible: true,
type: 'select',
url: ''
@@ -2478,7 +2478,7 @@ const VaPointColumns: Array = [
},
{
name: '保护方式',
- filed: 'bhfs',
+ filed: 'protmthd',
visible: true,
type: 'input',
url: ''
@@ -2586,7 +2586,7 @@ const VPPointColumns: Array = [
},
{
name: '保护方式',
- filed: 'bhfs',
+ filed: 'protmthd',
visible: true,
type: 'input',
url: ''
diff --git a/frontend/src/components/MapModal/components/MonitorInfo.vue b/frontend/src/components/MapModal/components/MonitorInfo.vue
index 4898a5f7..35111e8e 100644
--- a/frontend/src/components/MapModal/components/MonitorInfo.vue
+++ b/frontend/src/components/MapModal/components/MonitorInfo.vue
@@ -23,7 +23,7 @@
-
+
@@ -31,6 +34,14 @@ const isZhiNengPeiTu = computed(() => {
+
+
+
+
+
+
+
+
{
height: 100%;
pointer-events: none;
}
+.global-drawer-wrap {
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 450px;
+ height: 100%;
+ z-index: 100;
+ pointer-events: all;
+}
diff --git a/frontend/src/modules/GYZLLB/index.vue b/frontend/src/modules/GYZLLB/index.vue
index bfa7ed5d..a42860af 100644
--- a/frontend/src/modules/GYZLLB/index.vue
+++ b/frontend/src/modules/GYZLLB/index.vue
@@ -52,13 +52,20 @@
:footer="null"
@cancel="handleModalClose"
>
-
+
\ No newline at end of file
+
diff --git a/frontend/src/modules/rightSearchDrawer/basicInfo/config.ts b/frontend/src/modules/rightSearchDrawer/basicInfo/config.ts
index 64733972..4789bd9a 100644
--- a/frontend/src/modules/rightSearchDrawer/basicInfo/config.ts
+++ b/frontend/src/modules/rightSearchDrawer/basicInfo/config.ts
@@ -116,27 +116,11 @@ const VPInfo = [
value: 'stnm',
col: 24
},
- {
- label: '站址',
- value: 'stlc',
- col: 24
- },
{
label: '所属流域',
value: 'hbrvcdName',
col: 24
},
- {
- label: '建成日期',
- value: 'jcdt',
- type: 'date',
- col: 12
- },
- {
- label: '面积(km²)',
- value: 'area',
- col: 12
- },
{
label: '保护对象',
value: 'protObj',
@@ -154,22 +138,11 @@ const VAInfo = [
value: 'stnm',
col: 24
},
- {
- label: '站址',
- value: 'stlc',
- col: 24
- },
{
label: '所属流域',
value: 'hbrvcdName',
col: 24
},
- {
- label: '建成日期',
- value: 'jcdt',
- type: 'date',
- col: 12
- },
{
label: '保护对象',
value: 'protobj',
diff --git a/frontend/src/modules/rightSearchDrawer/basicInfo/index.vue b/frontend/src/modules/rightSearchDrawer/basicInfo/index.vue
index dafe8631..5eaa554c 100644
--- a/frontend/src/modules/rightSearchDrawer/basicInfo/index.vue
+++ b/frontend/src/modules/rightSearchDrawer/basicInfo/index.vue
@@ -79,7 +79,6 @@ watch(
async newVal => {
if (!newVal?.stcd) return;
loading.value = true;
- console.log(newVal);
try {
logo.value = '';
const res = await getStcdDetail(
@@ -87,7 +86,6 @@ watch(
newVal.stcd
);
const data = res.data.msStbprpT || {};
- console.log(data);
if (data.logo) {
logo.value = baseUrl + '/?' + data.logo;
} else {
@@ -96,13 +94,17 @@ watch(
if (data.sttpCode == 'ENG') {
data.sttp = data.sttpCode;
}
- const code = data.sttp.split('_')[0];
- formDiv.value = moduleMap[code + 'Info'];
+ if (data.sttp && data.sttp.includes('_')) {
+ const code = data.sttp.split('_')[0];
+ formDiv.value = moduleMap[code + 'Info'] || null;
+ } else {
+ // 处理没有下划线的情况
+ formDiv.value = moduleMap[data.sttp + 'Info'];
+ }
if (data.ttpwr) {
data.ttpwr = data.ttpwr / 1000;
}
- console.log(data);
info.value = data;
} finally {
loading.value = false;
@@ -110,13 +112,14 @@ watch(
},
{ immediate: true, deep: true }
);
+
const iconClick = () => {
if (info.value.sttpMap == 'ylfb') {
modelStore.ylfbModalVisible = true;
modelStore.params = info.value;
} else {
modelStore.modalVisible = true;
- modelStore.params = info.value;
+ modelStore.params = modelStore.selectedAnchorPoint;
modelStore.title = info.value.titleName || info.value.stnm;
}
};
diff --git a/frontend/src/modules/rightSearchDrawer/monitorInfo/index.vue b/frontend/src/modules/rightSearchDrawer/monitorInfo/index.vue
deleted file mode 100644
index ce5d581a..00000000
--- a/frontend/src/modules/rightSearchDrawer/monitorInfo/index.vue
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/Animal.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/Animal.vue
new file mode 100644
index 00000000..17970cea
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/Animal.vue
@@ -0,0 +1,321 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowDischarge.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowDischarge.vue
new file mode 100644
index 00000000..a0c3b102
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowDischarge.vue
@@ -0,0 +1,417 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowMeasure.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowMeasure.vue
new file mode 100644
index 00000000..3eb6fbd3
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/FlowMeasure.vue
@@ -0,0 +1,493 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/GYZLLB.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/GYZLLB.vue
new file mode 100644
index 00000000..f6d23f5f
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/GYZLLB.vue
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/Plant.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/Plant.vue
new file mode 100644
index 00000000..d325531f
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/Plant.vue
@@ -0,0 +1,444 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/QXDInfo.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/QXDInfo.vue
new file mode 100644
index 00000000..3a67d85a
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/QXDInfo.vue
@@ -0,0 +1,760 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/VerticalWaterTemperature.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/VerticalWaterTemperature.vue
new file mode 100644
index 00000000..15ff0027
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/VerticalWaterTemperature.vue
@@ -0,0 +1,454 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterQuality.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterQuality.vue
new file mode 100644
index 00000000..e384e2ab
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterQuality.vue
@@ -0,0 +1,696 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterTemperature.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterTemperature.vue
new file mode 100644
index 00000000..05655701
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/WaterTemperature.vue
@@ -0,0 +1,531 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ summaryRow.label }}
+
+
+ {{ summaryRow.cells[col.dataIndex]?.value ?? '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/MapModal/componentsEcharts/MonitorInfoEcharts.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/monitorInfo.vue
similarity index 65%
rename from frontend/src/components/MapModal/componentsEcharts/MonitorInfoEcharts.vue
rename to frontend/src/modules/rightSearchDrawer/monitoringTable/components/monitorInfo.vue
index a9be5ce0..c152ab18 100644
--- a/frontend/src/components/MapModal/componentsEcharts/MonitorInfoEcharts.vue
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/components/monitorInfo.vue
@@ -1,17 +1,48 @@
-
+
+
+
+
+
+
+
+
diff --git a/frontend/src/modules/rightSearchDrawer/monitoringTable/index.vue b/frontend/src/modules/rightSearchDrawer/monitoringTable/index.vue
new file mode 100644
index 00000000..06dacdb2
--- /dev/null
+++ b/frontend/src/modules/rightSearchDrawer/monitoringTable/index.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/store/modules/map.ts b/frontend/src/store/modules/map.ts
index 4a9eac70..94280365 100644
--- a/frontend/src/store/modules/map.ts
+++ b/frontend/src/store/modules/map.ts
@@ -816,6 +816,10 @@ export const useMapStore = defineStore('map', () => {
mapViewStore.setCheckedLayerKeys(checkKeys);
+ // 备注:勾选态变化后按最新勾选集合重建合并锚点数据,保证搜索下拉框等消费方
+ // 始终拿到当前勾选图层的数据,避免旧重建结果只包含部分图层导致下拉数据缺失。
+ syncPointDataForFilter(checkKeys);
+
// 收集变化的图层 key(新增选中 / 取消选中)
const newlyChecked: string[] = [];
const newlyUnchecked: string[] = [];
diff --git a/frontend/src/store/modules/ui.ts b/frontend/src/store/modules/ui.ts
index b00fa19f..818e5703 100644
--- a/frontend/src/store/modules/ui.ts
+++ b/frontend/src/store/modules/ui.ts
@@ -12,6 +12,8 @@ export const useUiStore = defineStore('ui', () => {
const skipRoamCameraRestore = ref(false);
// 搜索抽屉状态
const searchDrawerOpen = ref(false);
+ // 全局兜底抽屉状态(AppMain 通用抽屉,给未自带抽屉的页面用)
+ const globalDrawerOpen = ref(false);
// 切换抽屉状态
const toggleDrawer = () => {
@@ -23,10 +25,12 @@ export const useUiStore = defineStore('ui', () => {
};
// 设置搜索抽屉状态
const setSearchDrawerOpen = (open: boolean) => {
- console.log(open);
-
searchDrawerOpen.value = open;
};
+ // 设置全局兜底抽屉状态
+ const setGlobalDrawerOpen = (open: boolean) => {
+ globalDrawerOpen.value = open;
+ };
const markMapSwitchCompleted = () => {
mapSwitchCompletedTick.value += 1;
@@ -40,6 +44,8 @@ export const useUiStore = defineStore('ui', () => {
setDrawerOpen,
setSearchDrawerOpen,
searchDrawerOpen,
+ globalDrawerOpen,
+ setGlobalDrawerOpen,
mapType,
mapSwitchCompletedTick,
markMapSwitchCompleted
diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss
index 431b807c..1ffd9939 100644
--- a/frontend/src/styles/index.scss
+++ b/frontend/src/styles/index.scss
@@ -126,3 +126,6 @@ svg {
.ant-dropdown {
z-index: 9999 !important;
}
+.ant-table-pagination.ant-pagination {
+ padding: 0 4px !important;
+}
diff --git a/frontend/src/views/guoYuSheShi/sheShiZhuangKuang.vue b/frontend/src/views/guoYuSheShi/sheShiZhuangKuang.vue
index 35c95a28..51583bbf 100644
--- a/frontend/src/views/guoYuSheShi/sheShiZhuangKuang.vue
+++ b/frontend/src/views/guoYuSheShi/sheShiZhuangKuang.vue
@@ -1,6 +1,4 @@
@@ -16,14 +12,8 @@ const uiStore = useUiStore();
diff --git a/frontend/src/views/home/huanBaoZhiLiangZhuangKuang.vue b/frontend/src/views/home/huanBaoZhiLiangZhuangKuang.vue
index 51d1f0dd..db2b5c13 100644
--- a/frontend/src/views/home/huanBaoZhiLiangZhuangKuang.vue
+++ b/frontend/src/views/home/huanBaoZhiLiangZhuangKuang.vue
@@ -1,7 +1,5 @@
@@ -16,14 +12,8 @@ const uiStore = useUiStore();
diff --git a/frontend/src/views/qiXiDi/shengTaiDiBaoHu.vue b/frontend/src/views/qiXiDi/shengTaiDiBaoHu.vue
index 14b6fbc7..b0118642 100644
--- a/frontend/src/views/qiXiDi/shengTaiDiBaoHu.vue
+++ b/frontend/src/views/qiXiDi/shengTaiDiBaoHu.vue
@@ -1,13 +1,10 @@
@@ -17,15 +14,10 @@ const uiStore = useUiStore();
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/frontend/src/views/shuiWenJianCe/diWenShuiJianHuanSheShi.vue b/frontend/src/views/shuiWenJianCe/diWenShuiJianHuanSheShi.vue
index c7c6fceb..eb78755d 100644
--- a/frontend/src/views/shuiWenJianCe/diWenShuiJianHuanSheShi.vue
+++ b/frontend/src/views/shuiWenJianCe/diWenShuiJianHuanSheShi.vue
@@ -1,6 +1,7 @@
@@ -15,13 +12,8 @@ const uiStore = useUiStore();
diff --git a/frontend/src/views/shuiWenJianCe/shuiWenQingKuang.vue b/frontend/src/views/shuiWenJianCe/shuiWenQingKuang.vue
index c18bfd27..47cbdcdd 100644
--- a/frontend/src/views/shuiWenJianCe/shuiWenQingKuang.vue
+++ b/frontend/src/views/shuiWenJianCe/shuiWenQingKuang.vue
@@ -1,13 +1,10 @@
@@ -17,15 +14,10 @@ const uiStore = useUiStore();
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/frontend/src/views/shuiZhiJianCe/shuiHuanJingZhiLiangZhuangKuang.vue b/frontend/src/views/shuiZhiJianCe/shuiHuanJingZhiLiangZhuangKuang.vue
index 49dd5606..08527ef3 100644
--- a/frontend/src/views/shuiZhiJianCe/shuiHuanJingZhiLiangZhuangKuang.vue
+++ b/frontend/src/views/shuiZhiJianCe/shuiHuanJingZhiLiangZhuangKuang.vue
@@ -1,7 +1,5 @@