From 3832a82fb79d4cec4cca5e2854e54953f2095ef8 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 06 九月 2024 16:55:08 +0800 Subject: [PATCH] 1. 添加溯源清单功能 2. 修复切换至走航监测界面后,之前正在加载的历史数据依旧展示至地图的问题 3. 添加折线图下载图片功能; 4. 添加数据导出功能; 5. 添加设备管理功能; 6. 添加数据弹框和溯源清单开关功能; 7. 优化3D里面的颜色展示逻辑,底部颜色由原来的因子最小值颜色改为当前量级的上一个量级对应的颜色 --- src/components/map/MapToolbox.vue | 57 +++++++++++++++++++++++++++++++++------------------------ 1 files changed, 33 insertions(+), 24 deletions(-) diff --git a/src/components/map/MapToolbox.vue b/src/components/map/MapToolbox.vue index ba324db..e2d3c45 100644 --- a/src/components/map/MapToolbox.vue +++ b/src/components/map/MapToolbox.vue @@ -1,19 +1,27 @@ <template> <el-dropdown - class="fy-container 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> <el-dropdown-menu> - <el-dropdown-item v-for="(item, index) in toolItem" :key="index" :command="index"> - <el-button :type="item.value ? 'primary' : 'info'" plain size="default"> + <el-dropdown-item + v-for="(item, index) in toolItem" + :key="item.label" + :command="index" + > + <el-button + :type="item.value ? 'primary' : 'info'" + plain + size="default" + > <font-awesome-icon :icon="item.icon" class="m-r-4" /> {{ item.label + ': ' + (item.value ? '寮�' : '鍏�') }} </el-button> @@ -57,7 +65,7 @@ } }, { - icon: 'fa fa-compass', + icon: 'fa fa-crosshairs', label: '鍧愭爣鎷惧彇', value: false, click: function () { @@ -65,22 +73,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); } } ] @@ -95,14 +112,6 @@ </script> <style scoped> -.dropdown-wrap { - position: absolute; - top: 10px; - left: 2px; -} - - - .el-button { margin: initial !important; } -- Gitblit v1.9.3