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/components/map/MapToolbox.vue | 52 ++++++++++++++++++++++++++++++++--------------------
1 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/src/components/map/MapToolbox.vue b/src/components/map/MapToolbox.vue
index 270e612..270d63b 100644
--- a/src/components/map/MapToolbox.vue
+++ b/src/components/map/MapToolbox.vue
@@ -1,13 +1,13 @@
<template>
<el-dropdown
- class="p-events-auto dropdown-wrap"
+ class="p-events-auto"
trigger="click"
size="small"
@command="handleCommand"
>
<el-button type="primary" class="el-button-custom">
<el-icon class="el-icon--left"><TakeawayBox /></el-icon>
- 鍦板浘宸ュ叿绠�
+ 宸ュ叿绠�
<el-icon class="el-icon--right"><arrow-down /></el-icon>
</el-button>
<template #dropdown>
@@ -39,6 +39,15 @@
toolItem: [
{
icon: 'fa fa-map-signs',
+ label: '琛屾斂鍖哄垝',
+ value: false,
+ click: function () {
+ this.value = !this.value;
+ toolbox.toggleDistrict(this.value);
+ }
+ },
+ {
+ icon: 'fa fa-map-signs',
label: '鍦扮墿鏍囨敞',
value: false,
click: function () {
@@ -65,7 +74,7 @@
}
},
{
- icon: 'fa fa-compass',
+ icon: 'fa fa-crosshairs',
label: '鍧愭爣鎷惧彇',
value: false,
click: function () {
@@ -73,22 +82,31 @@
toolbox.toggleCoorPicking(this.value);
}
},
+ // {
+ // icon: 'fa fa-compass',
+ // label: '鏁版嵁鏍囪',
+ // value: true,
+ // click: function () {
+ // this.value = !this.value;
+ // // todo 鏁版嵁鏍囪
+ // }
+ // },
{
- icon: 'fa fa-compass',
- label: '鏁版嵁鏍囪',
- value: true,
- click: function () {
- this.value = !this.value;
- // todo 鏁版嵁鏍囪
- }
- },
- {
- icon: 'fa fa-compass',
+ icon: 'fa fa-comment-alt',
label: '鏁版嵁寮规',
value: true,
click: function () {
this.value = !this.value;
- // todo 鏁版嵁寮规
+ toolbox.toggleDataDialogStatus(this.value);
+ }
+ },
+ {
+ icon: 'fa fa-comment-alt',
+ label: '婧簮娓呭崟',
+ value: true,
+ click: function () {
+ this.value = !this.value;
+ toolbox.toggleSceneSearch(this.value);
}
}
]
@@ -103,12 +121,6 @@
</script>
<style scoped>
-.dropdown-wrap {
- position: absolute;
- top: 10px;
- left: 2px;
-}
-
.el-button {
margin: initial !important;
}
--
Gitblit v1.9.3