Riku
2025-06-11 5679cbbb630092a197d991cb41997a2d953261e9
src/components/map/MapToolbox.vue
@@ -7,7 +7,7 @@
  >
    <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,14 +74,14 @@
          }
        },
        {
          icon: 'fa fa-compass',
          icon: 'fa fa-crosshairs',
          label: '坐标拾取',
          value: false,
          click: function () {
            this.value = !this.value;
            toolbox.toggleCoorPicking(this.value);
          }
        }
        },
        // {
        //   icon: 'fa fa-compass',
        //   label: '数据标记',
@@ -82,15 +91,24 @@
        //     // todo 数据标记
        //   }
        // },
        // {
        //   icon: 'fa fa-compass',
        //   label: '数据弹框',
        //   value: true,
        //   click: function () {
        //     this.value = !this.value;
        //     // todo 数据弹框
        //   }
        // }
        {
          icon: 'fa fa-comment-alt',
          label: '数据弹框',
          value: true,
          click: function () {
            this.value = !this.value;
            toolbox.toggleDataDialogStatus(this.value);
          }
        },
        {
          icon: 'fa fa-comment-alt',
          label: '溯源清单',
          value: true,
          click: function () {
            this.value = !this.value;
            toolbox.toggleSceneSearch(this.value);
          }
        }
      ]
    };
  },