<template>
  <div class="gis-view">
    <div id="mapContainer" />
    <div ref="popupRef" class="map-popup-container" style="display: none"></div>

    <!-- 地图图例 -->
    <!-- tabType="{baseType[0]?.tagType}"
        legendData="{legendData}"
        legendDataMap="{legendDataMap}"
        setLegendDataMap="{updateLegendDataMap}"
        dvtpType="{dvtpType}"
        mapList="{mapList}"
        loading="{loading}"
        pointData="{pointData}" -->
    <MapLegend :setLegendDataMap="updateLegendDataMap" />
    <!-- 地图筛选器 -->
    <MapFilter />
    <!-- 地图控制器 -->
    <MapController :map="mapClass" :onClick="handleMapController" />
    <!-- 基础图层切换器 -->
    <BaseLayerSwitcher :map="mapClass" />
    <!-- <IconDiv style="position: absolute; top: 10px; left: 300px; z-index: 1000" /> -->
    <!-- <MapFilter inverse={true} searchList={mapSearchList} pointData={pointData} fish={fish}
    wqElementsList={wqElementsList} className={'map-filter'} initialValues={{ timeRange: searchTimeRange, dvtp: dvtpType, year: yearTime }}
    getFormRef={(ref: any) => (mapFilterFormRef.current = ref)}
    fetchPointData={fetchPointData} /> -->
  </div>
</template>
<script setup lang="ts">
import _ from "lodash";
import { ref, onMounted, watch, onUnmounted, createApp, h } from "vue";
import MapLegend from "@/components/mapLegend/index.vue";
import MapFilter from "@/components/mapFilter/index.vue";
import MapController from "@/components/mapController/index.vue";
import BaseLayerSwitcher from "@/components/BaseLayerSwitcher/index.vue";
import { useRoute } from "vue-router";
import { useMapStore } from "@/store/modules/map";
import "leaflet/dist/leaflet.css";
import IconDiv from "@/components/iconDiv/index.vue";
import {
  // getCheckedLayerConfigs,
  // getMapConfig,
  // layerConfig2Flat,
  legendData2Obj,
} from "./gisUtils";

import { MapClass } from "./map.class";

import { useJidiSelectEventStore } from "@/store/modules/jidiSelectEvent";
const JidiSelectEventStore = useJidiSelectEventStore();
const mapStore: any = useMapStore();
const route = useRoute();
// const router = useRouter();

const mapClass = MapClass.getInstance();
const mapIsInited = ref(false);
const legendDataAll: any = ref([]); // 所有的图例数据
const legendDataAllMap: any = ref({}); // 所有图例数据映射关系
// const layerConfigsByPage: any = ref({}); // 所有页面的图层配置项
// const legendDataByPage: any = ref({}); // 所有页面的图例数据
const legendDataMapByPage: any = ref({}); // 所有页面的图例默认配置
// const pointDataCache = ref({}); // 锚点数据缓存
// const firstInited = ref(false); // 是否第一次初始化完成
// const oldLayerConfigs = ref([]); // 缓存更新前的图层树配置
// const isRouteChange = ref(false); // 是否路由变化，判断是否需要缩放地图到全国
// const isRequestingPointData = ref(false); // 是否正在加载锚点数据

const tlyLayerVisible = ref(false);
let pageKey = "";
/** 更新图例关系数据，同时更新缓存 */
const updateLegendDataMap = () => {
  // legendDataMapRef.current = data
  // legendDataMapByPage[pageKey] = data
  // MemoryCache.remove('map_legendDataMap')
  // MemoryCache.add('map_legendDataMap', data)
};
/** 请求地图配置数据：图层、图例 */
const fetchMapConfigs = async () => {
  // const page = route.path.split("/")[2];
  // console.log(moduleId);
  // let _layerConfigs: any = [];
  // 所有图例数据
  const legdata = [
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "地图",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "水系",
          code: "baseLayer",
          icon: "map-shuixi",
          nameEn: "riverSystem",
          layerCode: "riverSystem",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "国界线",
          code: "baseLayer",
          icon: "map-guojiexian",
          nameEn: "nineDottedLine",
          layerCode: "nineDottedLine",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "行政区",
          code: "baseLayer",
          icon: "map-xingzhengzhuji",
          nameEn: "administrativeDistrict",
          layerCode: "administrativeDistrict",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "基础底图",
          code: "baseLayer",
          icon: "hupo",
          nameEn: "customBaseLayer",
          layerCode: "customBaseLayer",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "海岸线",
          code: "baseLayer",
          icon: "map-haianxian",
          nameEn: "coastline",
          layerCode: "coastline",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "省会",
          code: "baseLayer",
          icon: "map-xzSheng",
          nameEn: "provincial_capital",
          layerCode: "provincial_capital",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 5,
          minHeightThd: 1200000,
          maxHeightThd: 99999999999,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "地、州、市",
          code: "baseLayer",
          icon: "map-xzShi",
          nameEn: "city",
          layerCode: "city",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: 5,
          maxZoom: 8,
          minHeightThd: 800000,
          maxHeightThd: 1200000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "县",
          code: "baseLayer",
          icon: "map-xzXian",
          nameEn: "county",
          layerCode: "county",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: 8,
          maxZoom: 16,
          minHeightThd: 0,
          maxHeightThd: 800000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "省(自治区)界",
          code: "baseLayer",
          icon: "map-shengjie",
          nameEn: "province_boundaries",
          layerCode: "province_boundaries",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: 0,
          maxZoom: 5,
          minHeightThd: 800000,
          maxHeightThd: 1200000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "一级河流",
          code: "baseLayer",
          icon: "heliu-1",
          nameEn: "heliu1",
          layerCode: "heliu1",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: 0,
          maxZoom: 18,
          minHeightThd: 0,
          maxHeightThd: 99999999999,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "二级河流",
          code: "baseLayer",
          icon: "heliu-2",
          nameEn: "heliu2",
          layerCode: "heliu2",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: 4,
          maxZoom: 18,
          minHeightThd: 0,
          maxHeightThd: 1200000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "三级河流",
          code: "baseLayer",
          icon: "heliu-3",
          nameEn: "heliu3",
          layerCode: "heliu3",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: 6,
          maxZoom: 18,
          minHeightThd: 0,
          maxHeightThd: 800000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "湖泊",
          code: "baseLayer",
          icon: "hupo",
          nameEn: "hupo",
          layerCode: "hupo",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 8,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "水电基地",
          code: "baseLayer",
          icon: "shuidianjidi",
          nameEn: "hydropBase",
          layerCode: "powerBaseStation",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 9,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 0,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "过鱼设施-在建",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "e53e2a300031446ca168244fb30cc818",
          groupName: "过鱼设施-在建",
          parentName: "过鱼设施-在建",
          name: "鱼道-在建",
          code: "pointLayer",
          icon: "map-gyssYudao",
          nameEn: "gy_1_built",
          layerCode: "fp_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 11,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "e53e2a300031446ca168244fb30cc818",
          groupName: "过鱼设施-在建",
          parentName: "过鱼设施-在建",
          name: "仿自然通道-在建",
          code: "pointLayer",
          icon: "map-gyssFangzirantongdao",
          nameEn: "gy_2_built",
          layerCode: "fp_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 12,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "e53e2a300031446ca168244fb30cc818",
          groupName: "过鱼设施-在建",
          parentName: "过鱼设施-在建",
          name: "集运鱼系统-在建",
          code: "pointLayer",
          icon: "map-gyssJiyunyuxitong",
          nameEn: "gy_3_built",
          layerCode: "fp_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 13,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "e53e2a300031446ca168244fb30cc818",
          groupName: "过鱼设施-在建",
          parentName: "过鱼设施-在建",
          name: "升鱼机-在建",
          code: "pointLayer",
          icon: "map-gyssShengyuji",
          nameEn: "gy_4_built",
          layerCode: "fp_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 14,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "e53e2a300031446ca168244fb30cc818",
          groupName: "过鱼设施-在建",
          parentName: "过鱼设施-在建",
          name: "其他过鱼设施-在建",
          code: "pointLayer",
          icon: "map-gyssQita",
          nameEn: "gy_5_built",
          layerCode: "fp_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 15,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "其他设施-在建",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "661ae7751517476d8bbae562861b81eb",
          groupName: "其他设施-在建",
          parentName: "其他设施-在建",
          name: "鱼类增殖站-在建",
          code: "pointLayer",
          icon: "map-yuleizengzhizhan",
          nameEn: "FB_built",
          layerCode: "fb_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 9,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "661ae7751517476d8bbae562861b81eb",
          groupName: "其他设施-在建",
          parentName: "其他设施-在建",
          name: "珍稀植物园-在建",
          code: "pointLayer",
          icon: "map-zhenxizhiwuyuan",
          nameEn: "VP_built",
          layerCode: "vp_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 10,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "661ae7751517476d8bbae562861b81eb",
          groupName: "其他设施-在建",
          parentName: "其他设施-在建",
          name: "动物救助站-在建",
          code: "pointLayer",
          icon: "map-dongwujiuzhuzhan",
          nameEn: "VA_built",
          layerCode: "va_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 11,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "661ae7751517476d8bbae562861b81eb",
          groupName: "其他设施-在建",
          parentName: "其他设施-在建",
          name: "人工产卵场-在建",
          code: "pointLayer",
          icon: "map-rengongchanluanchang",
          nameEn: "SG_built",
          layerCode: "sg_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 12,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "自然保护区",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: "lcj_bhq",
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "cfc8313399d64f0fb18b3a93113940f1",
          groupName: "自然保护区",
          parentName: "自然保护区",
          name: "自然保护区",
          code: "baseLayer",
          icon: "map-ziranbaohuqu",
          nameEn: "nature_reserve_area",
          layerCode: "lcj_bhq",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "环保设施",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "84C425E9271E4A90A5D30F6E94090C96",
          groupName: "环保设施",
          parentName: "环保设施",
          name: "已建设施",
          code: "pointLayer",
          icon: "yijiansheshi",
          nameEn: "yjss",
          layerCode: "facilities",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "84C425E9271E4A90A5D30F6E94090C96",
          groupName: "环保设施",
          parentName: "环保设施",
          name: "在建/未建设施",
          code: "pointLayer",
          icon: "zweijiansheshi",
          nameEn: "zjss",
          layerCode: "facilities",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "栖息地",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "13357665B04A42E2A504BAC3E113752B",
          groupName: "栖息地",
          parentName: "栖息地",
          name: "水质监测站",
          code: "pointLayer",
          icon: "map-zjszzDabiao",
          nameEn: "FH_WQ",
          layerCode: "fh_wq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "13357665B04A42E2A504BAC3E113752B",
          groupName: "栖息地",
          parentName: "栖息地",
          name: "水温监测站",
          code: "pointLayer",
          icon: "map-zidongshuiwenjiance",
          nameEn: "FH_WTRV",
          layerCode: "fh_wtrv_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "13357665B04A42E2A504BAC3E113752B",
          groupName: "栖息地",
          parentName: "栖息地",
          name: "流量监测站",
          code: "pointLayer",
          icon: "map-liuliangzhan",
          nameEn: "FH_ZQ",
          layerCode: "fh_zq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 8,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "13357665B04A42E2A504BAC3E113752B",
          groupName: "栖息地",
          parentName: "栖息地",
          name: "视频监控",
          code: "pointLayer",
          icon: "map-shipinzhan",
          nameEn: "FH_VD",
          layerCode: "fh_vd_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 9,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "13357665B04A42E2A504BAC3E113752B",
          groupName: "栖息地",
          parentName: "栖息地",
          name: "栖息地",
          code: "pointLayer",
          icon: "map-qixidi",
          nameEn: "FH",
          layerCode: "fh_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "测站站点",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "98664FEDD5E1436A808181B680F2AE85",
          groupName: "测站站点",
          parentName: "测站站点",
          name: "AI视频监控站",
          code: "pointLayer",
          icon: "map-aishipinzhan",
          nameEn: "aispjk",
          layerCode: "stinfo_ai_video_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "98664FEDD5E1436A808181B680F2AE85",
          groupName: "测站站点",
          parentName: "测站站点",
          name: "气象站",
          code: "pointLayer",
          icon: "map-qixiangzhan",
          nameEn: "qxz",
          layerCode: "weather_station_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "98664FEDD5E1436A808181B680F2AE85",
          groupName: "测站站点",
          parentName: "测站站点",
          name: "视频监控站",
          code: "pointLayer",
          icon: "map-shipinzhan",
          nameEn: "spjk",
          layerCode: "stinfo_video_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 13,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "98664FEDD5E1436A808181B680F2AE85",
          groupName: "测站站点",
          parentName: "测站站点",
          name: "国家水文站",
          code: "pointLayer",
          icon: "map-liuliangzhan",
          nameEn: "gjllz",
          layerCode: "stinfo_gjllz_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 13,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "98664FEDD5E1436A808181B680F2AE85",
          groupName: "测站站点",
          parentName: "测站站点",
          name: "自建水文站",
          code: "pointLayer",
          icon: "map-liuliangzhan",
          nameEn: "zjllz",
          layerCode: "stinfo_zjllz_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 13,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "水电站告警情况",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "大型水电站",
          code: "pointLayer",
          icon: "map-dxsdzGaojing3",
          nameEn: "large_eng_built_alarm_range_3",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "大型水电站",
          code: "pointLayer",
          icon: "map-dxsdzGaojing2",
          nameEn: "large_eng_built_alarm_range_2",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "大型水电站",
          code: "pointLayer",
          icon: "map-dxsdzGaojing1",
          nameEn: "large_eng_built_alarm_range_1",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "中型水电站",
          code: "pointLayer",
          icon: "map-zxsdzGaojing1",
          nameEn: "mid_eng_built_alarm_range_1",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "中型水电站",
          code: "pointLayer",
          icon: "map-zxsdzGaojing2",
          nameEn: "mid_eng_built_alarm_range_2",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "中型水电站",
          code: "pointLayer",
          icon: "map-dxsdzGaojing3",
          nameEn: "mid_eng_built_alarm_range_3",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: ">50次",
          code: "pointLayer",
          icon: "sdzGaojing3",
          nameEn: "alarm_range_3",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "20-50次",
          code: "pointLayer",
          icon: "sdzGaojing2",
          nameEn: "alarm_range_2",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "1-20次",
          code: "pointLayer",
          icon: "sdzGaojing1",
          nameEn: "alarm_range_1",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 3,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "0次",
          code: "pointLayer",
          icon: "sdzGaojing0",
          nameEn: "alarm_range_0",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 4,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "大型水电站",
          code: "pointLayer",
          icon: "map-dxsdzGaojing0",
          nameEn: "large_eng_built_alarm_range_0",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 14,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "2A28BB58AEF04D4E956E60EC1406E45B",
          groupName: "水电站告警情况",
          parentName: "水电站告警情况",
          name: "中型水电站",
          code: "pointLayer",
          icon: "map-zxsdzGaojing0",
          nameEn: "mid_eng_built_alarm_range_0",
          layerCode: "eng_alarm_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 15,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "生态流量泄放设施-在建",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "42b6bdfb27e04a2689ece4309a8a21e0",
          groupName: "生态流量泄放设施-在建",
          parentName: "生态流量泄放设施-在建",
          name: "生态机组-在建",
          code: "pointLayer",
          icon: "map-stllxfssShengtaijizu",
          nameEn: "EQ_6_built",
          layerCode: "eq_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 13,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "42b6bdfb27e04a2689ece4309a8a21e0",
          groupName: "生态流量泄放设施-在建",
          parentName: "生态流量泄放设施-在建",
          name: "放流闸-在建",
          code: "pointLayer",
          icon: "map-stllxfssXiehongzha",
          nameEn: "EQ_2_built",
          layerCode: "eq_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 14,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "42b6bdfb27e04a2689ece4309a8a21e0",
          groupName: "生态流量泄放设施-在建",
          parentName: "生态流量泄放设施-在建",
          name: "放流洞-在建",
          code: "pointLayer",
          icon: "map-stllxfssJihefadian",
          nameEn: "EQ_3_built",
          layerCode: "eq_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 15,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "42b6bdfb27e04a2689ece4309a8a21e0",
          groupName: "生态流量泄放设施-在建",
          parentName: "生态流量泄放设施-在建",
          name: "放流管-在建",
          code: "pointLayer",
          icon: "map-stllxfssFangliudong",
          nameEn: "EQ_4_built",
          layerCode: "eq_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 16,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "42b6bdfb27e04a2689ece4309a8a21e0",
          groupName: "生态流量泄放设施-在建",
          parentName: "生态流量泄放设施-在建",
          name: "基荷发电-在建",
          code: "pointLayer",
          icon: "map-stllxfssFangliuguan",
          nameEn: "EQ_5_built",
          layerCode: "eq_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 17,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "42b6bdfb27e04a2689ece4309a8a21e0",
          groupName: "生态流量泄放设施-在建",
          parentName: "生态流量泄放设施-在建",
          name: "放流孔-在建",
          code: "pointLayer",
          icon: "map-stllxfssFangliukong",
          nameEn: "EQ_1_built",
          layerCode: "eq_built_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 18,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "鱼类调查装置",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "20aeca4aed5c4afebbffe211baaa6210",
          groupName: "鱼类调查装置",
          parentName: "鱼类调查装置",
          name: "鱼类调查装置",
          code: "pointLayer",
          icon: "map-aishipinzhan",
          nameEn: "fprd",
          layerCode: "fprd_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "工程",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "大型水电站-已建",
          code: "pointLayer",
          icon: "map-dxsdzYijian",
          nameEn: "large_eng_built",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "大型水电站-在建",
          code: "pointLayer",
          icon: "map-dxsdzZaijian",
          nameEn: "large_eng_ubuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "大型水电站-未建",
          code: "pointLayer",
          icon: "map-dxsdzGuihua",
          nameEn: "large_eng_nbuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "中型水电站-已建",
          code: "pointLayer",
          icon: "map-zxsdzYijian",
          nameEn: "mid_eng_built",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "中型水电站-在建",
          code: "pointLayer",
          icon: "map-zxsdzZaijian",
          nameEn: "mid_eng_ubuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "中型水电站-未建",
          code: "pointLayer",
          icon: "map-zxsdzGuihua",
          nameEn: "mid_eng_nbuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "1、电站名称 \r\n2、装机容量(万kW) \r\n3、年发电量(亿kWh)",
          code: "pointLayer",
          icon: "map-dzTushi",
          nameEn: "ENNM,TTPWR,YRGE",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 0,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 2,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 2,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "水电站生态流量达标率",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: null,
          groupName: null,
          parentName: null,
          name: "大型",
          code: null,
          icon: null,
          nameEn: null,
          layerCode: null,
          multiSelect: null,
          checked: null,
          canBeChecked: null,
          orderIndex: null,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: null,
          isFilter: null,
          childrenList: [
            {
              id: null,
              parentId: "22C29DA983114B958A0470A156B38665",
              groupName: "大型",
              parentName: "水电站生态流量达标率",
              name: "≥95%",
              code: "pointLayer",
              icon: "map-dxsdzDabiaolv-1",
              nameEn: "eef_1_1",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 1,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 3,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "22C29DA983114B958A0470A156B38665",
              groupName: "大型",
              parentName: "水电站生态流量达标率",
              name: "90%-95%",
              code: "pointLayer",
              icon: "map-dxsdzDabiaolv-2",
              nameEn: "eef_1_2",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 2,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 3,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "22C29DA983114B958A0470A156B38665",
              groupName: "大型",
              parentName: "水电站生态流量达标率",
              name: "80%-90%",
              code: "pointLayer",
              icon: "map-dxsdzDabiaolv-3",
              nameEn: "eef_1_3",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 3,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 3,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "22C29DA983114B958A0470A156B38665",
              groupName: "大型",
              parentName: "水电站生态流量达标率",
              name: "<80%",
              code: "pointLayer",
              icon: "map-dxsdzDabiaolv-4",
              nameEn: "eef_1_4",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 4,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 3,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "22C29DA983114B958A0470A156B38665",
              groupName: "大型",
              parentName: "水电站生态流量达标率",
              name: "暂无数据",
              code: "pointLayer",
              icon: "map-dxsdzDabiaolv-5",
              nameEn: "eef_1_none",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 0,
              canBeChecked: 1,
              orderIndex: 5,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 3,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
          ],
          psort: 3,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: null,
          groupName: null,
          parentName: null,
          name: "中型",
          code: null,
          icon: null,
          nameEn: null,
          layerCode: null,
          multiSelect: null,
          checked: null,
          canBeChecked: null,
          orderIndex: null,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: null,
          isFilter: null,
          childrenList: [
            {
              id: null,
              parentId: "CE4E636860724C21A242598A4F73E341",
              groupName: "中型",
              parentName: "水电站生态流量达标率",
              name: "≥95%",
              code: "pointLayer",
              icon: "map-zxsdzDabiaolv-1",
              nameEn: "eef_2_1",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 1,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 4,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "CE4E636860724C21A242598A4F73E341",
              groupName: "中型",
              parentName: "水电站生态流量达标率",
              name: "90%-95%",
              code: "pointLayer",
              icon: "map-zxsdzDabiaolv-2",
              nameEn: "eef_2_2",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 2,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 4,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "CE4E636860724C21A242598A4F73E341",
              groupName: "中型",
              parentName: "水电站生态流量达标率",
              name: "80%-90%",
              code: "pointLayer",
              icon: "map-zxsdzDabiaolv-3",
              nameEn: "eef_2_3",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 3,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 4,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "CE4E636860724C21A242598A4F73E341",
              groupName: "中型",
              parentName: "水电站生态流量达标率",
              name: "<80%",
              code: "pointLayer",
              icon: "map-zxsdzDabiaolv-4",
              nameEn: "eef_2_4",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 1,
              canBeChecked: 1,
              orderIndex: 4,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 4,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
            {
              id: null,
              parentId: "CE4E636860724C21A242598A4F73E341",
              groupName: "中型",
              parentName: "水电站生态流量达标率",
              name: "暂无数据",
              code: "pointLayer",
              icon: "map-zxsdzDabiaolv-5",
              nameEn: "eef_2_none",
              layerCode: "ef_point",
              multiSelect: 1,
              checked: 0,
              canBeChecked: 1,
              orderIndex: 5,
              minZoom: null,
              maxZoom: null,
              minHeightThd: null,
              maxHeightThd: null,
              ifShow: 1,
              isFilter: null,
              childrenList: [],
              psort: 4,
              color: null,
              shape: null,
              minVal: null,
              maxVal: null,
            },
          ],
          psort: 4,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 3,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "水电站放流情况",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "大型水电站-已完成",
          code: "pointLayer",
          icon: "map-dxsdzDabiaolv-2",
          nameEn: "dxsdz_ywc",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "大型水电站-未完成",
          code: "pointLayer",
          icon: "map-dxsdzDabiaolv-4",
          nameEn: "dxsdz_wwc",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "大型水电站-未填报",
          code: "pointLayer",
          icon: "map-dxsdzDabiaolv-3",
          nameEn: "dxsdz_wtb",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "大型水电站-数据未接入",
          code: "pointLayer",
          icon: "map-dxsdzDabiaolv-5",
          nameEn: "dxsdz_wjr",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "中型水电站-已完成",
          code: "pointLayer",
          icon: "map-zxsdzDabiaolv-2",
          nameEn: "zxsdz_ywc",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "中型水电站-未完成",
          code: "pointLayer",
          icon: "map-zxsdzDabiaolv-4",
          nameEn: "zxsdz_wwc",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "中型水电站-未填报",
          code: "pointLayer",
          icon: "map-zxsdzDabiaolv-3",
          nameEn: "zxsdz_wtb",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "1E99B84F935C452F9577D47C60B8E73C",
          groupName: "水电站放流情况",
          parentName: "水电站放流情况",
          name: "中型水电站-数据未接入",
          code: "pointLayer",
          icon: "map-zxsdzDabiaolv-5",
          nameEn: "zxsdz_wjr",
          layerCode: "fb_release_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 8,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 5,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "野生动物监测",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "607cf6bbd5e749b98b58f7b1188cdfb0",
          groupName: "野生动物监测",
          parentName: "野生动物监测",
          name: "野生动物监测",
          code: "pointLayer",
          icon: "map-yeshengdongwu",
          nameEn: "wild_animal_legend",
          layerCode: "wa_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 5,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 5,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "水温站",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "465688A775D34B8B8DED6E1FD3E4BCE4",
          groupName: "水温站",
          parentName: "水温站",
          name: "自动水温监测断面",
          code: "pointLayer",
          icon: "map-zidongshuiwenjiance",
          nameEn: "WT_2",
          layerCode: "wt_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 6,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "465688A775D34B8B8DED6E1FD3E4BCE4",
          groupName: "水温站",
          parentName: "水温站",
          name: "人工水温监测断面",
          code: "pointLayer",
          icon: "map-rengongshuiwenjiance",
          nameEn: "WT_1",
          layerCode: "wt_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 6,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 6,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "水质站",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "自建水质站-达标",
          code: "pointLayer",
          icon: "map-zjszzDabiao",
          nameEn: "wq_station_3",
          layerCode: "wq_ownWq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "自建水质站-不达标",
          code: "pointLayer",
          icon: "map-zjszzBudabiao",
          nameEn: "wq_station_4",
          layerCode: "wq_ownWq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "自建水质站-无目标等级/无数据",
          code: "pointLayer",
          icon: "map-zjszzWudabiaoshujv",
          nameEn: "wq_station_8",
          layerCode: "wq_ownWq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "国家水质站-达标",
          code: "pointLayer",
          icon: "map-gjszzDabiao",
          nameEn: "wq_station_1",
          layerCode: "wq_countryWq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "国家水质站-不达标",
          code: "pointLayer",
          icon: "map-gjszzBudabiao",
          nameEn: "wq_station_2",
          layerCode: "wq_countryWq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "国建水质站-无目标等级/无数据",
          code: "pointLayer",
          icon: "map-gjszzWudabiaoshujv",
          nameEn: "wq_station_7",
          layerCode: "wq_countryWq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "人工水质站-达标",
          code: "pointLayer",
          icon: "map-rgszzDabiao",
          nameEn: "wq_station_5",
          layerCode: "wq_artificialWq_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "人工水质站-不达标",
          code: "pointLayer",
          icon: "map-rgszzBudabiao",
          nameEn: "wq_station_6",
          layerCode: "wq_artificialWq_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 8,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "00FC1931E8DA4B898FF34517E55531BE",
          groupName: "水质站",
          parentName: "水质站",
          name: "人工水质站-无目标等级/无数据",
          code: "pointLayer",
          icon: "map-rgszzWudabiaoshujv",
          nameEn: "wq_station_9",
          layerCode: "wq_artificialWq_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 9,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 7,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 7,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "实际水质",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "0B94FB1F7CB844B2A01BA197E2B44649",
          groupName: "实际水质",
          parentName: "实际水质",
          name: "达标",
          code: "pointLayer",
          icon: "heduanDabiao",
          nameEn: "reach_wqq_1",
          layerCode: "water_ribbon_actualWq_line",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 8,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "0B94FB1F7CB844B2A01BA197E2B44649",
          groupName: "实际水质",
          parentName: "实际水质",
          name: "不达标",
          code: "pointLayer",
          icon: "heduanBudabiao",
          nameEn: "reach_wqq_2",
          layerCode: "water_ribbon_actualWq_line",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 8,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "0B94FB1F7CB844B2A01BA197E2B44649",
          groupName: "实际水质",
          parentName: "实际水质",
          name: "无目标等级",
          code: "pointLayer",
          icon: "heduanWudabiaoshujv",
          nameEn: "reach_wqq_3",
          layerCode: "water_ribbon_actualWq_line",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 8,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "0B94FB1F7CB844B2A01BA197E2B44649",
          groupName: "实际水质",
          parentName: "实际水质",
          name: "无数据",
          code: "pointLayer",
          icon: "heduanWushujv",
          nameEn: "reach_wqq_4",
          layerCode: "water_ribbon_actualWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 8,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 8,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "目标水质",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "4DD8CDD17C1A46B4A32B2577BD44A431",
          groupName: "目标水质",
          parentName: "目标水质",
          name: "Ⅰ类水",
          code: "pointLayer",
          icon: "heduan-1",
          nameEn: "target_reach_wqq_1",
          layerCode: "water_ribbon_targetWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 9,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "4DD8CDD17C1A46B4A32B2577BD44A431",
          groupName: "目标水质",
          parentName: "目标水质",
          name: "Ⅱ类水",
          code: "pointLayer",
          icon: "heduan-2",
          nameEn: "target_reach_wqq_2",
          layerCode: "water_ribbon_targetWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 9,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "4DD8CDD17C1A46B4A32B2577BD44A431",
          groupName: "目标水质",
          parentName: "目标水质",
          name: "Ⅲ类水",
          code: "pointLayer",
          icon: "heduan-3",
          nameEn: "target_reach_wqq_3",
          layerCode: "water_ribbon_targetWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 9,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "4DD8CDD17C1A46B4A32B2577BD44A431",
          groupName: "目标水质",
          parentName: "目标水质",
          name: "Ⅳ类水",
          code: "pointLayer",
          icon: "heduan-4",
          nameEn: "target_reach_wqq_4",
          layerCode: "water_ribbon_targetWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 9,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "4DD8CDD17C1A46B4A32B2577BD44A431",
          groupName: "目标水质",
          parentName: "目标水质",
          name: "Ⅴ类水",
          code: "pointLayer",
          icon: "heduan-5",
          nameEn: "target_reach_wqq_5",
          layerCode: "water_ribbon_targetWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 9,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "4DD8CDD17C1A46B4A32B2577BD44A431",
          groupName: "目标水质",
          parentName: "目标水质",
          name: "无数据",
          code: "pointLayer",
          icon: "heduan-0",
          nameEn: "target_reach_wqq_0",
          layerCode: "water_ribbon_targetWq_line",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 9,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 9,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "过鱼设施",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "004A71DA6605411C8E85CB3B264A0EAA",
          groupName: "过鱼设施",
          parentName: "过鱼设施",
          name: "鱼道",
          code: "pointLayer",
          icon: "map-gyssYudao",
          nameEn: "gy_1",
          layerCode: "fp_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 10,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "004A71DA6605411C8E85CB3B264A0EAA",
          groupName: "过鱼设施",
          parentName: "过鱼设施",
          name: "仿自然通道",
          code: "pointLayer",
          icon: "map-gyssFangzirantongdao",
          nameEn: "gy_2",
          layerCode: "fp_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 10,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "004A71DA6605411C8E85CB3B264A0EAA",
          groupName: "过鱼设施",
          parentName: "过鱼设施",
          name: "集运鱼系统",
          code: "pointLayer",
          icon: "map-gyssJiyunyuxitong",
          nameEn: "gy_3",
          layerCode: "fp_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 10,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "004A71DA6605411C8E85CB3B264A0EAA",
          groupName: "过鱼设施",
          parentName: "过鱼设施",
          name: "升鱼机",
          code: "pointLayer",
          icon: "map-gyssShengyuji",
          nameEn: "gy_4",
          layerCode: "fp_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 10,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "004A71DA6605411C8E85CB3B264A0EAA",
          groupName: "过鱼设施",
          parentName: "过鱼设施",
          name: "其他",
          code: "pointLayer",
          icon: "map-gyssQita",
          nameEn: "gy_5",
          layerCode: "fp_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 10,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 10,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "低温水减缓设施",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "A8E84FE0E07A48C8A3F6B9B9DD7E8B51",
          groupName: "低温水减缓设施",
          parentName: "低温水减缓设施",
          name: "叠梁门",
          code: "pointLayer",
          icon: "map-dwsjhDieliangmenshi",
          nameEn: "dws_1",
          layerCode: "dw_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 11,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "A8E84FE0E07A48C8A3F6B9B9DD7E8B51",
          groupName: "低温水减缓设施",
          parentName: "低温水减缓设施",
          name: "前置挡墙",
          code: "pointLayer",
          icon: "map-dwsjhQianzhidangqiang",
          nameEn: "dws_2",
          layerCode: "dw_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 11,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "A8E84FE0E07A48C8A3F6B9B9DD7E8B51",
          groupName: "低温水减缓设施",
          parentName: "低温水减缓设施",
          name: "隔水幕墙",
          code: "pointLayer",
          icon: "map-dwsjhGeshuimuqiang",
          nameEn: "dws_3",
          layerCode: "dw_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 11,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "A8E84FE0E07A48C8A3F6B9B9DD7E8B51",
          groupName: "低温水减缓设施",
          parentName: "低温水减缓设施",
          name: "其他",
          code: "pointLayer",
          icon: "map-dwsjhQita",
          nameEn: "dws_4",
          layerCode: "dw_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 11,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 11,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "生态流量泄放设施",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "C3CF7A3673F94EC5A96F3D271C244834",
          groupName: "生态流量泄放设施",
          parentName: "生态流量泄放设施",
          name: "生态机组",
          code: "pointLayer",
          icon: "map-stllxfssShengtaijizu",
          nameEn: "EQ_6",
          layerCode: "eq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "C3CF7A3673F94EC5A96F3D271C244834",
          groupName: "生态流量泄放设施",
          parentName: "生态流量泄放设施",
          name: "放流闸",
          code: "pointLayer",
          icon: "map-stllxfssXiehongzha",
          nameEn: "EQ_2",
          layerCode: "eq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "C3CF7A3673F94EC5A96F3D271C244834",
          groupName: "生态流量泄放设施",
          parentName: "生态流量泄放设施",
          name: "基荷发电",
          code: "pointLayer",
          icon: "map-stllxfssJihefadian",
          nameEn: "EQ_5",
          layerCode: "eq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "C3CF7A3673F94EC5A96F3D271C244834",
          groupName: "生态流量泄放设施",
          parentName: "生态流量泄放设施",
          name: "放流洞",
          code: "pointLayer",
          icon: "map-stllxfssFangliudong",
          nameEn: "EQ_3",
          layerCode: "eq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "C3CF7A3673F94EC5A96F3D271C244834",
          groupName: "生态流量泄放设施",
          parentName: "生态流量泄放设施",
          name: "放流管",
          code: "pointLayer",
          icon: "map-stllxfssFangliuguan",
          nameEn: "EQ_4",
          layerCode: "eq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "C3CF7A3673F94EC5A96F3D271C244834",
          groupName: "生态流量泄放设施",
          parentName: "生态流量泄放设施",
          name: "放流孔",
          code: "pointLayer",
          icon: "map-stllxfssFangliukong",
          nameEn: "EQ_1",
          layerCode: "eq_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 12,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "水生生态调查断面",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "53F8CC31A0DA4CAFBD9A8927C680068B",
          groupName: "水生生态调查断面",
          parentName: "水生生态调查断面",
          name: "水生生态调查断面",
          code: "pointLayer",
          icon: "map-ssShuishengshengtai",
          nameEn: "WE",
          layerCode: "we_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 12,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "其他设施",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "8EA437F6C36E4C55A4B69B15211DD631",
          groupName: "其他设施",
          parentName: "其他设施",
          name: "鱼类增殖站",
          code: "pointLayer",
          icon: "map-yuleizengzhizhan",
          nameEn: "FB",
          layerCode: "fb_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "8EA437F6C36E4C55A4B69B15211DD631",
          groupName: "其他设施",
          parentName: "其他设施",
          name: "珍稀植物园",
          code: "pointLayer",
          icon: "map-zhenxizhiwuyuan",
          nameEn: "VP",
          layerCode: "vp_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "8EA437F6C36E4C55A4B69B15211DD631",
          groupName: "其他设施",
          parentName: "其他设施",
          name: "动物救助站",
          code: "pointLayer",
          icon: "map-dongwujiuzhuzhan",
          nameEn: "VA",
          layerCode: "va_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "8EA437F6C36E4C55A4B69B15211DD631",
          groupName: "其他设施",
          parentName: "其他设施",
          name: "人工产卵场",
          code: "pointLayer",
          icon: "map-rengongchanluanchang",
          nameEn: "SG",
          layerCode: "sg_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 12,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "陆生生态调查断面",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "60592CEB61814BA2999DCB832A14EF89",
          groupName: "陆生生态调查断面",
          parentName: "陆生生态调查断面",
          name: "陆生生态调查断面",
          code: "pointLayer",
          icon: "map-ssLushengshengtai",
          nameEn: "TE",
          layerCode: "te_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 12,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 12,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "栖息地范围",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "2F42583B5AF543FF9F72008AADD6584F",
          groupName: "栖息地范围",
          parentName: "栖息地范围",
          name: "栖息地",
          code: "baseLayer",
          icon: "map-qixidiyulei",
          nameEn: "fishQxd",
          layerCode: "fishQxd",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 17,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 17,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "鱼类分布",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "ABA198A1FEC445DD8BADEFB94D36A64C",
          groupName: "鱼类分布",
          parentName: "鱼类分布",
          name: "鱼类分布",
          code: "pointLayer",
          icon: "map-yuleifenbu",
          nameEn: "ylfb",
          layerCode: "ylfb_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 18,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 18,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
  ];
  const legendDataAllRes = { data: legdata || [] };
  // HttpClient.instance().fetchJson(Utility.encodeUrl('/wmp-sys-server/mapLegend/getModuleMapLegendList'))
  if (legendDataAllRes && legendDataAllRes.data) {
    legendDataAll.value = legendDataAllRes.data;
    legendDataAllMap.value = legendData2Obj(legendDataAllRes.data);
  }
  const legList = [
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "地图",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "省会",
          code: "baseLayer",
          icon: "map-xzSheng",
          nameEn: "provincial_capital",
          layerCode: "provincial_capital",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 5,
          minHeightThd: 1200000,
          maxHeightThd: 99999999999,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "地、州、市",
          code: "baseLayer",
          icon: "map-xzShi",
          nameEn: "city",
          layerCode: "city",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: 5,
          maxZoom: 8,
          minHeightThd: 800000,
          maxHeightThd: 1200000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "县",
          code: "baseLayer",
          icon: "map-xzXian",
          nameEn: "county",
          layerCode: "county",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: 8,
          maxZoom: 16,
          minHeightThd: 0,
          maxHeightThd: 800000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "省(自治区)界",
          code: "baseLayer",
          icon: "map-shengjie",
          nameEn: "province_boundaries",
          layerCode: "province_boundaries",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: 0,
          maxZoom: 5,
          minHeightThd: 800000,
          maxHeightThd: 1200000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "一级河流",
          code: "baseLayer",
          icon: "heliu-1",
          nameEn: "heliu1",
          layerCode: "heliu1",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: 0,
          maxZoom: 18,
          minHeightThd: 0,
          maxHeightThd: 99999999999,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "二级河流",
          code: "baseLayer",
          icon: "heliu-2",
          nameEn: "heliu2",
          layerCode: "heliu2",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: 4,
          maxZoom: 18,
          minHeightThd: 0,
          maxHeightThd: 1200000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "三级河流",
          code: "baseLayer",
          icon: "heliu-3",
          nameEn: "heliu3",
          layerCode: "heliu3",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 7,
          minZoom: 6,
          maxZoom: 18,
          minHeightThd: 0,
          maxHeightThd: 800000,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "湖泊",
          code: "baseLayer",
          icon: "hupo",
          nameEn: "hupo",
          layerCode: "hupo",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 8,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "水电基地",
          code: "baseLayer",
          icon: "shuidianjidi",
          nameEn: "hydropBase",
          layerCode: "powerBaseStation",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 9,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 0,
          isFilter: null,
          childrenList: [],
          psort: 0,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "基础底图",
          code: "baseLayer",
          icon: "hupo",
          nameEn: "customBaseLayer",
          layerCode: "customBaseLayer",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "06E757DF27A247229B2E05F81000C131",
          groupName: "地图",
          parentName: "地图",
          name: "海岸线",
          code: "baseLayer",
          icon: "map-haianxian",
          nameEn: "coastline",
          layerCode: "coastline",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: 0,
          maxZoom: 20,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 0,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
    {
      id: null,
      parentId: null,
      groupName: null,
      parentName: null,
      name: "工程",
      code: null,
      icon: null,
      nameEn: null,
      layerCode: null,
      multiSelect: null,
      checked: null,
      canBeChecked: null,
      orderIndex: null,
      minZoom: null,
      maxZoom: null,
      minHeightThd: null,
      maxHeightThd: null,
      ifShow: null,
      isFilter: null,
      childrenList: [
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "大型水电站-已建",
          code: "pointLayer",
          icon: "map-dxsdzYijian",
          nameEn: "large_eng_built",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 1,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "大型水电站-在建",
          code: "pointLayer",
          icon: "map-dxsdzZaijian",
          nameEn: "large_eng_ubuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 2,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "大型水电站-未建",
          code: "pointLayer",
          icon: "map-dxsdzGuihua",
          nameEn: "large_eng_nbuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 3,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "中型水电站-已建",
          code: "pointLayer",
          icon: "map-zxsdzYijian",
          nameEn: "mid_eng_built",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 4,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "中型水电站-在建",
          code: "pointLayer",
          icon: "map-zxsdzZaijian",
          nameEn: "mid_eng_ubuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 1,
          orderIndex: 5,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "中型水电站-未建",
          code: "pointLayer",
          icon: "map-zxsdzGuihua",
          nameEn: "mid_eng_nbuilt",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 0,
          canBeChecked: 1,
          orderIndex: 6,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
        {
          id: null,
          parentId: "DD52B150885A4905B167936009CE7BFC",
          groupName: "工程",
          parentName: "工程",
          name: "1、电站名称 \r\n2、装机容量(万kW) \r\n3、年发电量(亿kWh)",
          code: "pointLayer",
          icon: "map-dzTushi",
          nameEn: "ENNM,TTPWR,YRGE",
          layerCode: "eng_point",
          multiSelect: 1,
          checked: 1,
          canBeChecked: 0,
          orderIndex: 7,
          minZoom: null,
          maxZoom: null,
          minHeightThd: null,
          maxHeightThd: null,
          ifShow: 1,
          isFilter: null,
          childrenList: [],
          psort: 1,
          color: null,
          shape: null,
          minVal: null,
          maxVal: null,
        },
      ],
      psort: 1,
      color: null,
      shape: null,
      minVal: null,
      maxVal: null,
    },
  ];
  const legendDataRes = { data: legList || [] };

  if (legendDataRes && legendDataRes.data) {
    const _legendDataMap: any = legendData2Obj(legendDataRes.data);
    legendDataMapByPage[pageKey] = _legendDataMap;
    updateLegendDataMap();
  }
  // 当前页面图层数据
  const res = [
    {
      id: "05e615448a054d879c80fe95f51b7bc8",
      parentId: null,
      title: "基础图层",
      checkable: 1,
      type: "GISMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "af175f171b9648ccb6f888d6d559f9ec",
          parentId: "05e615448a054d879c80fe95f51b7bc8",
          title: "基础底图",
          checkable: 1,
          type: "GISMap",
          sttpType: null,
          layers: null,
          url: null,
          urlThd: null,
          opacity: null,
          children: [],
          paramJson:
            '{"id":"customBaseLayer","key":"customBaseLayer","type":"wmts","name":"qgc_sx_gjjdx_arcgistiles_l13","urlType":"gisurl","url":"/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=qgc_qsj_arcgistiles_l13&STYLE=&TILEMATRIX=EPSG:3857_qgc_qsj_arcgistiles_l13:{z}&TILEMATRIXSET=EPSG:3857_qgc_qsj_arcgistiles_l13&FORMAT=image/png&TILECOL={x}&TILEROW={y}","url_3d":"/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=qgc_sx_gjjdx_arcgistiles_l13&STYLE=&TILEMATRIX=EPSG:3857_qgc_sx_gjjdx_arcgistiles_l13:{z}&TILEMATRIXSET=EPSG:3857_qgc_sx_gjjdx_arcgistiles_l13&FORMAT=image/png&TILECOL={x}&TILEROW={y}","matrixIds_index":["0","1","2","3","4","5","6","7","8","9","10","11","12"],"tileMatrixSetID":"EPSG:3857_qgc_sx_gjjdx_arcgistiles_l13"}',
          orderIndex: "1",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "customBaseLayer",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "421e077373bd429a90b6fc75f0bd7a4d",
          parentId: "05e615448a054d879c80fe95f51b7bc8",
          title: "基地",
          checkable: 1,
          type: "GISMap",
          sttpType: null,
          layers: null,
          url: null,
          urlThd: null,
          opacity: null,
          children: [],
          paramJson:
            '{\r\n      "id": "hydropBase",\r\n      "key": "hydropBase",\r\n      "urlType": "gisurl",\r\n      "url": "/geoserver/gwc/service/tms/1.0.0/qgc%3AstationEra1117@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf",\r\n      "geojson_url": "/geoserver/qgc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=qgc:stationEra1117&maxFeatures=50&outputFormat=application/json",\r\n      "url_3d": "/geoserver/qgc/wms",\r\n      "_layer": "stationEra1117",\r\n      "layers": "qgc:stationEra1117",\r\n      "rasteropacity": 0.5,\r\n      "visible": true,\r\n      "minZoom": 0,\r\n      "maxZoom": 20,\r\n      "type": "vector",\r\n      "layerType": "line",\r\n      "paint": {\r\n          "line-color": "#C5C6F3",\r\n          "line-width": 1,\r\n          "line-opacity": 1\r\n      }\r\n  }',
          orderIndex: "12",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "powerBaseStation",
          labelLevel: null,
          zIndex: "0",
        },
      ],
      paramJson: null,
      orderIndex: "1",
      checked: 1,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "-",
      labelLevel: null,
      zIndex: "0",
    },
    {
      id: "2fa9ced6e912491dbd091a79b8f3d09d",
      parentId: null,
      title: "水电工程",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "E8DBF8D3B4B64C8BBCCAE067054D7264",
          parentId: "2fa9ced6e912491dbd091a79b8f3d09d",
          title: "常规水电",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-eng-server/eng/point/GetKendoListCust",
          urlThd: "/wmp-eng-server/eng/point/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "eng_point",
          labelLevel: null,
          zIndex: "0",
        },
      ],
      paramJson: null,
      orderIndex: "2",
      checked: 1,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "eng",
      labelLevel: null,
      zIndex: "0",
    },
    {
      id: "941c0b4ac17941658f4b21730581bf5c",
      parentId: null,
      title: "生态流量",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "53839DE1152A4ACC84DD63A4DA6FD10F",
          parentId: "941c0b4ac17941658f4b21730581bf5c",
          title: "生态流量达标率",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-eng-server/eng/eq/interval/GetKendoListCust",
          urlThd: "/wmp-eng-server/eng/eq/interval/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "ef_point",
          labelLevel: null,
          zIndex: "0",
        },
      ],
      paramJson: null,
      orderIndex: "3",
      checked: 0,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "ef",
      labelLevel: null,
      zIndex: "0",
    },
    {
      id: "2122808783a5466e928b5ac791f46d01",
      parentId: null,
      title: "水质监测断面",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "66f70a0b52e148b1ae9c9afdaaa56144",
          parentId: "2122808783a5466e928b5ac791f46d01",
          title: "自建站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/wq/anchorPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/wq/anchorPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "wq_ownWq_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "bed5a4e0949a45758ba6d20a5b4004a6",
          parentId: "2122808783a5466e928b5ac791f46d01",
          title: "国家站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/wq/anchorPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/wq/anchorPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "2",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "wq_countryWq_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "C0A185D6A6F6436897EB512DD4E6B53E",
          parentId: "2122808783a5466e928b5ac791f46d01",
          title: "人工站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/wq/anchorPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/wq/anchorPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "3",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "wq_artificialWq_point",
          labelLevel: null,
          zIndex: null,
        },
      ],
      paramJson: null,
      orderIndex: "5",
      checked: 1,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "wq",
      labelLevel: null,
      zIndex: "0",
    },
    {
      id: "17a0f3f0c4064397b453bb60d594f895",
      parentId: null,
      title: "水温站",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: "/wmp-env-server/sw/getEngTempPointList/GetKendoListCust",
      urlThd: "/wmp-env-server/sw/getEngTempPointList/GetKendoListCust",
      opacity: null,
      children: [],
      paramJson: null,
      orderIndex: "6",
      checked: 1,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "wt_point",
      labelLevel: 1,
      zIndex: "0",
    },
    {
      id: "A766940B9519443B9A7281AD3B5A3A75",
      parentId: null,
      title: "测站站点",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "0F4FBB4B6644428D89AF74FE31BBB1DE",
          parentId: "A766940B9519443B9A7281AD3B5A3A75",
          title: "视频监控站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fh/vdpoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fh/vdpoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "2",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "stinfo_video_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "FA2B5BBDCA8D4F5BAC6C6E747F4FF746",
          parentId: "A766940B9519443B9A7281AD3B5A3A75",
          title: "国家水文站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fh/zqpoint/GetKendoListCust",
          urlThd: null,
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "5",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "stinfo_gjllz_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "982F69D360004B938F7C1D38837E0A40",
          parentId: "A766940B9519443B9A7281AD3B5A3A75",
          title: "自建水文站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fh/zqpoint/GetKendoListCust",
          urlThd: null,
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "6",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "stinfo_zjllz_point",
          labelLevel: null,
          zIndex: null,
        },
      ],
      paramJson: null,
      orderIndex: "7",
      checked: 0,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "stinfo",
      labelLevel: null,
      zIndex: null,
    },
    {
      id: "870B94FD8908447584CDF33F7B4F73AB",
      parentId: null,
      title: "AI视频监控站",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: "/wmp-env-server/env/fh/vdpoint/GetKendoListCust",
      urlThd: "/wmp-env-server/env/fh/vdpoint/GetKendoListCust",
      opacity: null,
      children: [],
      paramJson: null,
      orderIndex: "8",
      checked: 0,
      canBeChecked: null,
      multiSelect: null,
      options: null,
      key: "stinfo_ai_video_point",
      labelLevel: null,
      zIndex: null,
    },
    {
      id: "8e9e7b7c87b34559afad18c7700a3222",
      parentId: null,
      title: "环保设施",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "94a9d5e48d2347fda4812c06e1a646b8",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "过鱼设施",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fp/point/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fp/point/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "fp_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "8eda6c06e82440f1b99269c54ae54483",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "生态流量泄放设施",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-eng-server/eng/eq/eqds/GetKendoListCust",
          urlThd: "/wmp-eng-server/eng/eq/eqds/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "3",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "eq_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "db1240d4232f4bda877d76ce1483bc36",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "鱼类增殖站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/fb/point/GetKendoListCust",
          urlThd: "/wmp-env-server/fb/point/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "4",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "fb_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "5db7ed82b9e443e58fba6050e38d7b49",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "珍稀植物园",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "5",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "vp_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "99474ae8391840b7a7151c5c898ad3ed",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "动物救助站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "6",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "va_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "61fe297a7a8f4f5d908347f8242a26d1",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "人工产卵场",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/fb/point/GetKendoListCust",
          urlThd: "/wmp-env-server/fb/point/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "7",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "sg_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "694d8928c2dd4bd1807ced441613c079",
          parentId: "8e9e7b7c87b34559afad18c7700a3222",
          title: "低温水减缓设施",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/sw/getFacilityPointList/GetKendoListCust",
          urlThd: null,
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "8",
          checked: 1,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "dw_point",
          labelLevel: null,
          zIndex: null,
        },
      ],
      paramJson: null,
      orderIndex: "8",
      checked: 1,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "facilities",
      labelLevel: null,
      zIndex: "0",
    },
    {
      id: "808F5523EFB14174976B83B8CF4FF18C",
      parentId: null,
      title: "调查断面",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "bcf658398f1c4d6d8ef4c762c0a6d6d3",
          parentId: "808F5523EFB14174976B83B8CF4FF18C",
          title: "水生生态调查断面",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/we/point/GetKendoListCust",
          urlThd: "/wmp-env-server/env/we/point/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "we_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "c7bf9b51c0184b49b096dc3c8b4ec1c9",
          parentId: "808F5523EFB14174976B83B8CF4FF18C",
          title: "鱼类分布",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/we/fishPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/we/fishPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "3",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "ylfb_point",
          labelLevel: null,
          zIndex: "0",
        },
      ],
      paramJson: null,
      orderIndex: "12",
      checked: 0,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "survey_section",
      labelLevel: null,
      zIndex: null,
    },
    {
      id: "1B16077982864639AD892264A632B7B6",
      parentId: null,
      title: "运行告警",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "C4539372182B4FD1A9A18E0863FC2056",
          parentId: "1B16077982864639AD892264A632B7B6",
          title: "水电站告警情况",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-eng-server/eng/alarmPoint/GetKendoListCust",
          urlThd: "/wmp-eng-server/eng/alarmPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "eng_alarm_point",
          labelLevel: null,
          zIndex: "0",
        },
      ],
      paramJson: null,
      orderIndex: "13",
      checked: 0,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "operation_alarm",
      labelLevel: null,
      zIndex: "0",
    },
    {
      id: "5bf5e5786be40d6f4ed074de5d0df6b6",
      parentId: null,
      title: "栖息地",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "c899b6e79d3b433e8943d1d224e4b9ac",
          parentId: "5bf5e5786be40d6f4ed074de5d0df6b6",
          title: "栖息地",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "fh_point",
          labelLevel: null,
          zIndex: "0",
        },
        {
          id: "b21092cfcc408bc04f925aab3a7c9066",
          parentId: "5bf5e5786be40d6f4ed074de5d0df6b6",
          title: "水质监测站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "3",
          checked: 0,
          canBeChecked: null,
          multiSelect: null,
          options: null,
          key: "fh_wq_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "a29f970ae35d2aa09db93eab6696a75f",
          parentId: "5bf5e5786be40d6f4ed074de5d0df6b6",
          title: "水温监测站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "4",
          checked: 0,
          canBeChecked: null,
          multiSelect: null,
          options: null,
          key: "fh_wtrv_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "7d83ab7d3d78d352ffba6f2b4dfb9a1e",
          parentId: "5bf5e5786be40d6f4ed074de5d0df6b6",
          title: "流量监测站",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "5",
          checked: 0,
          canBeChecked: null,
          multiSelect: null,
          options: null,
          key: "fh_zq_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "c2a1086f9f771a41f1ff2dfd11143550",
          parentId: "5bf5e5786be40d6f4ed074de5d0df6b6",
          title: "视频监控",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/fhPoint/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "6",
          checked: 0,
          canBeChecked: null,
          multiSelect: null,
          options: null,
          key: "fh_vd_point",
          labelLevel: null,
          zIndex: null,
        },
      ],
      paramJson: null,
      orderIndex: "91",
      checked: 0,
      canBeChecked: null,
      multiSelect: null,
      options: null,
      key: "fh_point_layer",
      labelLevel: null,
      zIndex: null,
    },
    {
      id: "59bf44f8647d4ec5bf8b03e97a36764b",
      parentId: null,
      title: "野生动物监测",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: "wmp-env-server/env/wva/point/GetKendoListCust",
      urlThd: null,
      opacity: null,
      children: [],
      paramJson: null,
      orderIndex: "105",
      checked: 0,
      canBeChecked: null,
      multiSelect: null,
      options: null,
      key: "wa_point",
      labelLevel: 0,
      zIndex: null,
    },
    {
      id: "4e5d0a86a1e643da8bc922d56f0c8435",
      parentId: null,
      title: "自然保护区",
      checkable: 1,
      type: "GISMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [],
      paramJson:
        '{\r\n    "id": "lcj_bhq",\r\n    "key": "lcj_bhq",\r\n    "type": "wmts",\r\n    "name": "hbb_zrbhq_l13",\r\n    "urlType": "gisurl",\r\n    "url": "/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=hbb_zrbhq_l13&STYLE=&TILEMATRIX=EPSG:3857_hbb_zrbhq_l13:{z}&TILEMATRIXSET=EPSG:3857_hbb_zrbhq_l13&FORMAT=image/png&TILECOL={x}&TILEROW={y}",\r\n    "url_3d": "/geoserver/gwc/service/wmts",\r\n    "matrixIds_index": [\r\n        "0",\r\n        "1",\r\n        "2",\r\n        "3",\r\n        "4",\r\n        "5",\r\n        "6",\r\n        "7",\r\n        "8",\r\n        "9",\r\n        "10",\r\n        "11",\r\n        "12"\r\n    ],\r\n    "tileMatrixSetID": "EPSG:3857_hbb_zrbhq_l13"\r\n}',
      orderIndex: "106",
      checked: 0,
      canBeChecked: null,
      multiSelect: null,
      options: null,
      key: "lcj_bhq",
      labelLevel: 1,
      zIndex: null,
    },
    {
      id: "c44421cf25c14a898463443ebbad0d85",
      parentId: null,
      title: "环保设施-在建",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: null,
      urlThd: null,
      opacity: null,
      children: [
        {
          id: "3664d358f6ae463ab14c4d6cb6d4bd47",
          parentId: "c44421cf25c14a898463443ebbad0d85",
          title: "过鱼设施-在建",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fp/point/built/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fp/point/built/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "1",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "fp_built_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "7265418bb97d49fb89f0ad2bda723c25",
          parentId: "c44421cf25c14a898463443ebbad0d85",
          title: "鱼类增殖站-在建",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/fb/point/built/GetKendoListCust",
          urlThd: "/wmp-env-server/fb/point/built/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "3",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "fb_built_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "0b7cf757ff5c43e3b3833267f6ac613c",
          parentId: "c44421cf25c14a898463443ebbad0d85",
          title: "珍稀植物园-在建",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/built/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/built/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "4",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "vp_built_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "7cc13bbeffc8494f87aa07f1f1a08533",
          parentId: "c44421cf25c14a898463443ebbad0d85",
          title: "动物救助站-在建",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/env/fhvap/built/GetKendoListCust",
          urlThd: "/wmp-env-server/env/fhvap/built/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "5",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "va_built_point",
          labelLevel: null,
          zIndex: null,
        },
        {
          id: "6ff989717b7041f781ddf51ec87ca5ae",
          parentId: "c44421cf25c14a898463443ebbad0d85",
          title: "人工产卵场-在建",
          checkable: 1,
          type: "pointMap",
          sttpType: null,
          layers: null,
          url: "/wmp-env-server/fb/point/built/GetKendoListCust",
          urlThd: "/wmp-env-server/fb/point/built/GetKendoListCust",
          opacity: null,
          children: [],
          paramJson: null,
          orderIndex: "6",
          checked: 0,
          canBeChecked: 1,
          multiSelect: 1,
          options: null,
          key: "sg_built_point",
          labelLevel: null,
          zIndex: null,
        },
      ],
      paramJson: null,
      orderIndex: "116",
      checked: 0,
      canBeChecked: 1,
      multiSelect: 1,
      options: null,
      key: "facilities_built",
      labelLevel: null,
      zIndex: null,
    },
    {
      id: "f1fe1d6650004726b71022b761933dfc",
      parentId: null,
      title: "鱼类调查装置",
      checkable: 1,
      type: "pointMap",
      sttpType: null,
      layers: null,
      url: "/wmp-env-server/sdFprdR/point/getFprdPointList",
      urlThd: null,
      opacity: null,
      children: [],
      paramJson: null,
      orderIndex: "117",
      checked: 0,
      canBeChecked: null,
      multiSelect: null,
      options: null,
      key: "fprd_point",
      labelLevel: 1,
      zIndex: null,
    },
  ];

  // const layerConfigsRes = { data: res || [] };
  // if (layerConfigsRes && layerConfigsRes.data) {
  //   layerConfigsByPage.value[pageKey] = layerConfigsRes.data;
  //   const { data } = layerConfigsRes;
  // _layerConfigs = data;
  // }
  mapStore.setLayerData(res);
  fetchPointData();
  // 当前页面计算后的图例数据
  // dealLegendData();
  // !更新图层配置放到最后，不然会先触发fetchPointData方法，会导致图例错误
  // updateLayerConfigs(_layerConfigs);
  // if (menu === 'ly-qixidiyuleijiance') {
  //           // 鱼类栖息地项目 地图跳转
  //           mapClass.flyTopanto([94.15684, 29.74597], 14)
  //       }
};

// 处理图例数据
// const dealLegendData = () => {
//   let newLegendData = [];
//   const legendDataMap = _.cloneDeep(legendDataMapByPage[pageKey]);
//   if (!legendDataMap) {
//     return;
//   }
//   const checkedKeys = getCheckedLayerConfigs(layerConfigsByPage[pageKey]);
//   console.log(layerConfigsByPage[pageKey], "res11");

//   const f = (data) => {
//     const temp = [];
//     data.forEach((item) => {
//       let newItem = { ...item };
//       newItem.checked = legendDataMap?.[item.nameEn]
//         ? legendDataMap[item.nameEn].checked
//         : 1;
//       const result: any = layerConfigsByPage[pageKey].filter((x: any) => {
//         return x.key == item.layerCode;
//       });
//       (newItem as any).selected = !item.code
//         ? result?.[0]?.checked
//         : checkedKeys.includes(item.layerCode);
//       if (item.layerCode === "jwhl_layer") {
//         const selected = result?.[0]?.children?.some((x: any) => x.checked == 1);
//         if (!selected) newItem.childrenList = [];
//         const fite = newItem.childrenList?.[0];
//         newItem.selected = selected;
//         newItem.checked = selected ? 1 : 0;
//         if (fite) {
//           fite.selected = selected;
//           fite.checked = selected ? 1 : 0;
//         }
//       }

//       if (item.layerCode === "tdlydc") {
//         //土地利用调查特殊处理
//         const result: any = layerConfigsByPage[pageKey].filter((x: any) => {
//           return x.key == "tdlydc";
//         });
//         let iSselected = false;
//         console.log(item);
//         const childrenLsit = result[0]?.children ?? [];
//         for (let index = 0; index < childrenLsit.length; index++) {
//           const element = childrenLsit[index];
//           if (element?.checked === 1) iSselected = true;
//         }
//         const colorList = item.childrenList;
//         for (let index = 0; index < colorList.length; index++) {
//           const el = colorList[index];
//           if (iSselected) el.selected = iSselected;
//         }
//         (newItem as any).selected = iSselected ? 1 : 0;
//       }
//       if (newItem.childrenList && newItem.childrenList.length > 0) {
//         if (item.layerCode !== "tdlydc" && item.layerCode !== "jwhl_layer")
//           newItem.childrenList = f(item.childrenList);
//         if (newItem.childrenList.length > 0) {
//           temp.push(newItem);
//         }
//         return;
//       }
//       // 过滤脏数据
//       if (!item.layerCode && item.childrenList.length == 0) {
//         return;
//       }
//       // 过滤掉图层中没有的
//       if (
//         item.layerCode &&
//         !checkedKeys.includes(item.layerCode) &&
//         item.code !== "colorLayer"
//       ) {
//         return;
//       }
//       // 匹配图例关系，设置默认选中状态
//       if (!Object.prototype.hasOwnProperty.call(legendDataMap, item.nameEn)) {
//         legendDataMap[item.nameEn] = item;
//       }
//       temp.push(newItem);
//     });
//     return temp;
//   };

//   newLegendData = f([...legendDataAll.value!]);

//   // updateLegendData(newLegendData, pageKey);
//   updateLegendDataMap(legendDataMap);
//   fetchPointData();
// };
// 获取锚点数据（防抖的目的是，防止图层描点加载逻辑阻塞图层树更新渲染）
const fetchPointData = _.debounce(async () => {
  const layerConfigsArr = {
    id: "E8DBF8D3B4B64C8BBCCAE067054D7264",
    parentId: "2fa9ced6e912491dbd091a79b8f3d09d",
    title: "常规水电",
    checkable: 1,
    type: "pointMap",
    sttpType: null,
    layers: null,
    url: "/wmp-eng-server/eng/point/GetKendoListCust",
    urlThd: "/wmp-eng-server/eng/point/GetKendoListCust",
    opacity: null,
    children: [],
    paramJson: null,
    orderIndex: "1",
    checked: 1,
    canBeChecked: 1,
    multiSelect: 1,
    options: null,
    key: "eng_point",
    labelLevel: null,
    zIndex: "0",
    params: {
      anchoPointState: [
        {
          field: "anchoPointState",
          operator: "isnotnull",
        },
      ],
    },
    orders: '{"baseId":"asc","rvcdStepSort":"asc","siteStepSort":"asc","ennm":"asc"}',
    data: [
      {
        sttp: "ENG",
        stcd: "008660211200000001",
        lgtd: 98.958315,
        lttd: 30.754818,
        dtmel: 3793.292,
        anchoPointState: "large_eng_built",
        sttpMap: "ENG",
        titleName: "叶巴滩",
        distance: 50000000,
        rvcd: "SJLY46",
        addvcd: "542123",
        baseId: "01",
        rstcds: null,
        sttpCode: "ENG",
        ennm: "叶巴滩",
        rvnm: null,
        ttpwr: 2240,
        ddz: null,
        normz: 2889,
        qecLimit: null,
        yrge: 91.6,
        ifEngSpecial: false,
        avq: 839,
        endInstalledType: 1,
        lastTmEngEqDataVo: {
          stcd: "008660211200000001",
          stnm: "叶巴滩",
          tm: "2090-01-01 08:00:00",
          ttpwr: 2240,
          qecLimit: null,
          mwrLimit: null,
          avqLimit: null,
          qecC: null,
          mwrC: null,
          avqC: null,
          normz: 2889,
          ddz: null,
          qi: null,
          qo: null,
          rz: 2889,
          dz: null,
          vlsr: null,
          vlsrTm: null,
          mwrVlsr: null,
          mwrVlsrTm: null,
        },
        logo: null,
        addvcdName: "贡觉县",
        jcdt: null,
        siteStepSort: 0,
        prsc: 1,
        iconRotate: null,
        bldsttCcode: 2,
        rvcdStepSort: 1,
        rscdStepSort: null,
        stnm: "叶巴滩",
        iconCode: "map-dxsdzYijian",
        code: "pointLayer",
        popName: "叶巴滩",
        _id: "ENG_008660211200000001",
      },
    ],
  };
  mapClass.addInitDataLayer(layerConfigsArr, "eng_point", {
    labelType: 6,
    labelminZoom: 3,
    isRemove: true,
  });
  const layerConfigsArr1 = {
    id: "94a9d5e48d2347fda4812c06e1a646b8",
    parentId: "8e9e7b7c87b34559afad18c7700a3222",
    title: "过鱼设施",
    checkable: 1,
    type: "pointMap",
    sttpType: null,
    layers: null,
    url: "/wmp-env-server/env/fp/point/qgc/GetKendoListCust",
    urlThd: "/wmp-env-server/env/fp/point/qgc/GetKendoListCust",
    opacity: null,
    children: [],
    paramJson: null,
    orderIndex: "1",
    checked: 0,
    canBeChecked: 1,
    multiSelect: 1,
    options: null,
    key: "fp_point",
    labelLevel: null,
    zIndex: "0",
    params: {
      lgtd: [
        {
          field: "lgtd",
          operator: "isnotnull",
        },
      ],
    },
    data: [
      {
        sttp: "FP_4",
        stcd: "008610902100000022",
        lgtd: 126.687,
        lttd: 43.72213,
        dtmel: 213.985,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "丰满升鱼机",
        distance: 50000000,
        rvcd: "SJLY168",
        addvcd: "220201",
        baseId: "12",
        rstcds: "008610902100000001",
        sttpCode: "FP",
        stnm: "丰满升鱼机",
        ennm: "丰满",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 2,
        yr: "2025",
        ftpTypeCount: 17,
        ftpCount: 49409,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "丰满升鱼机",
        _id: "FP_4_008610902100000022",
      },
      {
        sttp: "FP_4",
        stcd: "008640203500000003",
        lgtd: 100.265393,
        lttd: 35.688958,
        dtmel: 2606.191,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "羊曲升鱼机（上行）",
        distance: 50000000,
        rvcd: "SJLY1U",
        addvcd: "632525",
        baseId: "08",
        rstcds: "008640203500000001",
        sttpCode: "FP",
        stnm: "羊曲升鱼机（上行）",
        ennm: "羊曲",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 10,
        ftpCount: 9407,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "羊曲升鱼机（上行）",
        _id: "FP_4_008640203500000003",
        popupHtml: generatePopupHtml({
          sttp: "FP_4",
          stcd: "008640203500000003",
          lgtd: 100.265393,
          lttd: 35.688958,
          dtmel: 2606.191,
          anchoPointState: "gy_4",
          sttpMap: "FP_4",
          titleName: "羊曲升鱼机（上行）",
          distance: 50000000,
          rvcd: "SJLY1U",
          addvcd: "632525",
          baseId: "08",
          rstcds: "008640203500000001",
          sttpCode: "FP",
          stnm: "羊曲升鱼机（上行）",
          ennm: "羊曲",
          bldstt: "2",
          run: "1",
          runName: "运行中",
          dwtp: "FP_4",
          dwtpName: "升鱼机",
          mway: 1,
          yr: "2025",
          ftpTypeCount: 10,
          ftpCount: 9407,
          dtin: 1,
          stdSstate: 2,
          stdSstateName: "暂无数据",
          lcjStatus: 1,
          lcjStatusName: "正常运行",
          logo: null,
          iconCode: "map-gyssShengyuji",
          code: "pointLayer",
          popName: "羊曲升鱼机（上行）",
          _id: "FP_4_008640203500000003",
        }),
      },
      {
        sttp: "FP_1",
        stcd: "008660101317000026",
        lgtd: 103.634712,
        lttd: 29.255247,
        dtmel: 464.792,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "铜街子鱼道",
        distance: 50000000,
        rvcd: "SJLY148",
        addvcd: "511101",
        baseId: "03",
        rstcds: "008660101300000001",
        sttpCode: "FP",
        stnm: "铜街子鱼道",
        ennm: "铜街子",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 12,
        ftpCount: 6474,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "铜街子鱼道",
        _id: "FP_1_008660101317000026",
      },
      {
        sttp: "FP_1",
        stcd: "0086601020VP000006",
        lgtd: 103.04794,
        lttd: 29.236676,
        dtmel: 595.345,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "枕头坝一级鱼道",
        distance: 800000,
        rvcd: "SJLY148",
        addvcd: "511100,511101",
        baseId: "03",
        rstcds: "008660102000000001",
        sttpCode: "FP",
        stnm: "枕头坝一级鱼道",
        ennm: "枕头坝一级",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 11,
        ftpCount: 4625,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "枕头坝一级鱼道",
        _id: "FP_1_0086601020VP000006",
      },
      {
        sttp: "FP_1",
        stcd: "0086601022SZ000005",
        lgtd: 103.611374,
        lttd: 29.33208,
        dtmel: 433.038,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "沙湾鱼道",
        distance: 50000,
        rvcd: "SJLY148",
        addvcd: "511101",
        baseId: "03",
        rstcds: "008660102200000001",
        sttpCode: "FP",
        stnm: "沙湾鱼道",
        ennm: "沙湾",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 4,
        ftpCount: 3466,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "沙湾鱼道",
        _id: "FP_1_0086601022SZ000005",
      },
      {
        sttp: "FP_1",
        stcd: "0086601023WE000003",
        lgtd: 103.640857,
        lttd: 29.503419,
        dtmel: 387.019,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "安谷鱼道",
        distance: 400000,
        rvcd: "SJLY148",
        addvcd: "511101",
        baseId: "03",
        rstcds: "008660102300000001",
        sttpCode: "FP",
        stnm: "安谷鱼道",
        ennm: "安谷",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 1,
        ftpCount: 1748,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "安谷鱼道",
        _id: "FP_1_0086601023WE000003",
      },
      {
        sttp: "FP_1",
        stcd: "008660103600000002",
        lgtd: 103.210591,
        lttd: 29.237228,
        dtmel: 537.348,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "沙坪二级鱼道",
        distance: 800000,
        rvcd: "SJLY148",
        addvcd: "511132",
        baseId: "03",
        rstcds: "008660103600000001",
        sttpCode: "FP",
        stnm: "沙坪二级鱼道",
        ennm: "沙坪二级",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 14,
        ftpCount: 12396,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "沙坪二级鱼道",
        _id: "FP_1_008660103600000002",
      },
      {
        sttp: "FP_3",
        stcd: "008660301000000003",
        lgtd: 101.206975,
        lttd: 28.632175,
        dtmel: 2073.498,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "杨房沟集运鱼系统（下行）",
        distance: 50000000,
        rvcd: "SJLY176",
        addvcd: "513422",
        baseId: "02",
        rstcds: "008660301000000001",
        sttpCode: "FP",
        stnm: "杨房沟集运鱼系统（下行）",
        ennm: "杨房沟",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 6,
        ftpCount: 21566,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "杨房沟集运鱼系统（下行）",
        _id: "FP_3_008660301000000003",
      },
      {
        sttp: "FP_4",
        stcd: "008660301000000065",
        lgtd: 101.204975,
        lttd: 28.630175,
        dtmel: 2073.498,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "杨房沟升鱼机（上行）",
        distance: 50000,
        rvcd: "SJLY176",
        addvcd: "513422",
        baseId: "02",
        rstcds: "008660301000000001",
        sttpCode: "FP",
        stnm: "杨房沟升鱼机（上行）",
        ennm: "杨房沟",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 11,
        ftpCount: 1622,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "杨房沟升鱼机（上行）",
        _id: "FP_4_008660301000000065",
      },
      {
        sttp: "FP_4",
        stcd: "008660306300000003",
        lgtd: 101.014949,
        lttd: 30.18813,
        dtmel: 2845.678,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "两河口升鱼机（上行）",
        distance: 50000000,
        rvcd: "SJLY176",
        addvcd: "513325",
        baseId: "02",
        rstcds: "008660306300000001",
        sttpCode: "FP",
        stnm: "两河口升鱼机（上行）",
        ennm: "两河口",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 21,
        ftpCount: 3985,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "两河口升鱼机（上行）",
        _id: "FP_4_008660306300000003",
      },
      {
        sttp: "FP_3",
        stcd: "008660306300000130",
        lgtd: 101.016949,
        lttd: 30.19013,
        dtmel: 2845.678,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "两河口集运鱼系统（下行）",
        distance: 50000,
        rvcd: "SJLY176",
        addvcd: "513325",
        baseId: "02",
        rstcds: "008660306300000001",
        sttpCode: "FP",
        stnm: "两河口集运鱼系统（下行）",
        ennm: "两河口",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 2,
        ftpCount: 20,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "两河口集运鱼系统（下行）",
        _id: "FP_3_008660306300000130",
      },
      {
        sttp: "FP_1",
        stcd: "008690900800000048",
        lgtd: 94.1481,
        lttd: 29.74467,
        dtmel: null,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "多布鱼道",
        distance: 50000000,
        rvcd: "SJLY100",
        addvcd: null,
        baseId: "other",
        rstcds: "008690900800000001",
        sttpCode: "FP",
        stnm: "多布鱼道",
        ennm: "多布",
        bldstt: "2",
        run: "1",
        runName: "运行中",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: 2,
        ftpCount: 223,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 1,
        lcjStatusName: "正常运行",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "多布鱼道",
        _id: "FP_1_008690900800000048",
      },
      {
        sttp: "FP_3",
        stcd: "008690218700001017",
        lgtd: 99.142462,
        lttd: 26.305784,
        dtmel: 1479.901,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "大华桥集运鱼系统（下行）",
        distance: 50000000,
        rvcd: "SJLY126",
        addvcd: "533325",
        baseId: "07",
        rstcds: "008690218700000001",
        sttpCode: "FP",
        stnm: "大华桥集运鱼系统（下行）",
        ennm: "大华桥",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "大华桥集运鱼系统（下行）",
        _id: "FP_3_008690218700001017",
      },
      {
        sttp: "FP_5",
        stcd: "008660502227180205",
        lgtd: 111.012061,
        lttd: 30.830662,
        dtmel: 90.569,
        anchoPointState: "gy_5",
        sttpMap: "FP_5",
        titleName: "三峡船闸",
        distance: 50000000,
        rvcd: "SJLY208",
        addvcd: "420521",
        baseId: "05",
        rstcds: "008660502200000001",
        sttpCode: "FP",
        stnm: "三峡船闸",
        ennm: "三峡",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_5",
        dwtpName: "其它",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssQita",
        code: "pointLayer",
        popName: "三峡船闸",
        _id: "FP_5_008660502227180205",
      },
      {
        sttp: "FP_4",
        stcd: "008660213900000002",
        lgtd: 99.063528,
        lttd: 29.431686,
        dtmel: 2389.739,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "苏洼龙升鱼机",
        distance: 800000,
        rvcd: "SJLY46",
        addvcd: "542134",
        baseId: "01",
        rstcds: "008660213900000001",
        sttpCode: "FP",
        stnm: "苏洼龙升鱼机",
        ennm: "苏洼龙",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "苏洼龙升鱼机",
        _id: "FP_4_008660213900000002",
      },
      {
        sttp: "FP_2",
        stcd: "008660607900000006",
        lgtd: 102.630115,
        lttd: 30.064323,
        dtmel: 883.721,
        anchoPointState: "gy_2",
        sttpMap: "FP_2",
        titleName: "脚基坪流道",
        distance: 50000000,
        rvcd: "SJLY23",
        addvcd: "513126",
        baseId: "other",
        rstcds: "008660607900000001",
        sttpCode: "FP",
        stnm: "脚基坪流道",
        ennm: "脚基坪",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_2",
        dwtpName: "仿自然通道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssFangzirantongdao",
        code: "pointLayer",
        popName: "脚基坪流道",
        _id: "FP_2_008660607900000006",
      },
      {
        sttp: "FP_1",
        stcd: "008610902100000088",
        lgtd: 126.60584,
        lttd: 43.77578,
        dtmel: null,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "永庆鱼道",
        distance: 50000,
        rvcd: "SJLY168",
        addvcd: null,
        baseId: "12",
        rstcds: "008610902100000001",
        sttpCode: "FP",
        stnm: "永庆鱼道",
        ennm: "丰满",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 2,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "永庆鱼道",
        _id: "FP_1_008610902100000088",
      },
      {
        sttp: "FP_3",
        stcd: "008660200400000017",
        lgtd: 100.414267,
        lttd: 26.530266,
        dtmel: 1237.586,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "龙开口集运鱼系统（下行）",
        distance: 50000000,
        rvcd: "SJLY77",
        addvcd: "532932,533222",
        baseId: "01",
        rstcds: "008660200400000001",
        sttpCode: "FP",
        stnm: "龙开口集运鱼系统（下行）",
        ennm: "龙开口",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "龙开口集运鱼系统（下行）",
        _id: "FP_3_008660200400000017",
      },
      {
        sttp: "FP_4",
        stcd: "008690201300000035",
        lgtd: 98.922902,
        lttd: 27.937575,
        dtmel: 1908.877,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "乌弄龙升鱼机（上行）",
        distance: 50000000,
        rvcd: "SJLY126",
        addvcd: "533423",
        baseId: "07",
        rstcds: "008690201300000001",
        sttpCode: "FP",
        stnm: "乌弄龙升鱼机（上行）",
        ennm: "乌弄龙",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "乌弄龙升鱼机（上行）",
        _id: "FP_4_008690201300000035",
      },
      {
        sttp: "FP_4",
        stcd: "008690218700001016",
        lgtd: 99.142462,
        lttd: 26.305784,
        dtmel: 1479.901,
        anchoPointState: "gy_4",
        sttpMap: "FP_4",
        titleName: "大华桥升鱼机（上行）",
        distance: 50000,
        rvcd: "SJLY126",
        addvcd: "533325",
        baseId: "07",
        rstcds: "008690218700000001",
        sttpCode: "FP",
        stnm: "大华桥升鱼机（上行）",
        ennm: "大华桥",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_4",
        dwtpName: "升鱼机",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssShengyuji",
        code: "pointLayer",
        popName: "大华桥升鱼机（上行）",
        _id: "FP_4_008690218700001016",
      },
      {
        sttp: "FP_3",
        stcd: "008640200600001018",
        lgtd: 101.80611,
        lttd: 36.11905,
        dtmel: 2178.311,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "李家峡集运鱼设施（上行）",
        distance: 50000000,
        rvcd: "SJLY1U",
        addvcd: "632127",
        baseId: "08",
        rstcds: "008640200600000001",
        sttpCode: "FP",
        stnm: "李家峡集运鱼设施（上行）",
        ennm: "李家峡",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "李家峡集运鱼设施（上行）",
        _id: "FP_3_008640200600001018",
      },
      {
        sttp: "FP_5",
        stcd: "008660200100000002",
        lgtd: 100.446088,
        lttd: 26.80943,
        dtmel: 1317.93,
        anchoPointState: "gy_5",
        sttpMap: "FP_5",
        titleName: "金安桥网捕过坝",
        distance: 400000,
        rvcd: "SJLY77",
        addvcd: "533221,533222",
        baseId: "01",
        rstcds: "008660200100000001",
        sttpCode: "FP",
        stnm: "金安桥网捕过坝",
        ennm: "金安桥",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_5",
        dwtpName: "其它",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssQita",
        code: "pointLayer",
        popName: "金安桥网捕过坝",
        _id: "FP_5_008660200100000002",
      },
      {
        sttp: "FP_3",
        stcd: "008690200500000030",
        lgtd: 99.033139,
        lttd: 27.831175,
        dtmel: 1797.45,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "里底集运鱼系统（下行）",
        distance: 400000,
        rvcd: "SJLY126",
        addvcd: "533423",
        baseId: "07",
        rstcds: "008690200500000001",
        sttpCode: "FP",
        stnm: "里底集运鱼系统（下行）",
        ennm: "里底",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "里底集运鱼系统（下行）",
        _id: "FP_3_008690200500000030",
      },
      {
        sttp: "FP_1",
        stcd: "008690604100000002",
        lgtd: 92.52062,
        lttd: 29.17858,
        dtmel: null,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "藏木鱼道",
        distance: 50000000,
        rvcd: null,
        addvcd: null,
        baseId: "other",
        rstcds: "008690604100000001",
        sttpCode: "FP",
        stnm: "藏木鱼道",
        ennm: "藏木",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "藏木鱼道",
        _id: "FP_1_008690604100000002",
      },
      {
        sttp: "FP_1",
        stcd: "008640203900011009",
        lgtd: 100.27585,
        lttd: 35.31237,
        dtmel: null,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "班多鱼道",
        distance: 400000,
        rvcd: "SJLY1U",
        addvcd: null,
        baseId: "08",
        rstcds: "008640203900000001",
        sttpCode: "FP",
        stnm: "班多鱼道",
        ennm: "班多",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 2,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "班多鱼道",
        _id: "FP_1_008640203900011009",
      },
      {
        sttp: "FP_3",
        stcd: "008660401600000003",
        lgtd: 102.631488,
        lttd: 26.328478,
        dtmel: 866.599,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "乌东德集运鱼系统",
        distance: 50000000,
        rvcd: "SJLY50",
        addvcd: "513426,530128",
        baseId: "01",
        rstcds: "008660401600000001",
        sttpCode: "FP",
        stnm: "乌东德集运鱼系统",
        ennm: "乌东德",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "乌东德集运鱼系统",
        _id: "FP_3_008660401600000003",
      },
      {
        sttp: "FP_2",
        stcd: "0086601023WE000004",
        lgtd: 103.634248,
        lttd: 29.500673,
        dtmel: 380.279,
        anchoPointState: "gy_2",
        sttpMap: "FP_2",
        titleName: "安谷(1#仿自然旁通道)",
        distance: 400000,
        rvcd: "SJLY148",
        addvcd: "511101",
        baseId: "03",
        rstcds: "008660102300000001",
        sttpCode: "FP",
        stnm: "安谷(1#仿自然旁通道)",
        ennm: "安谷",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_2",
        dwtpName: "仿自然通道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssFangzirantongdao",
        code: "pointLayer",
        popName: "安谷(1#仿自然旁通道)",
        _id: "FP_2_0086601023WE000004",
      },
      {
        sttp: "FP_3",
        stcd: "008690219100000012",
        lgtd: 99.164615,
        lttd: 25.856731,
        dtmel: 1404.517,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "苗尾集运鱼系统（上行）",
        distance: 800000,
        rvcd: "SJLY126",
        addvcd: "532929",
        baseId: "07",
        rstcds: "008690219100000001",
        sttpCode: "FP",
        stnm: "苗尾集运鱼系统（上行）",
        ennm: "苗尾",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "苗尾集运鱼系统（上行）",
        _id: "FP_3_008690219100000012",
      },
      {
        sttp: "FP_1",
        stcd: "008690604400000118",
        lgtd: 92.54664,
        lttd: 29.14265,
        dtmel: null,
        anchoPointState: "gy_1",
        sttpMap: "FP_1",
        titleName: "加查鱼道",
        distance: 50000,
        rvcd: null,
        addvcd: null,
        baseId: "other",
        rstcds: "008690600400000001",
        sttpCode: "FP",
        stnm: "加查鱼道",
        ennm: "加查",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_1",
        dwtpName: "鱼道",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssYudao",
        code: "pointLayer",
        popName: "加查鱼道",
        _id: "FP_1_008690604400000118",
      },
      {
        sttp: "FP_3",
        stcd: "008660403400000003",
        lgtd: 102.902327,
        lttd: 27.223349,
        dtmel: 658.387,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "白鹤滩集运鱼系统",
        distance: 1500000,
        rvcd: "SJLY50",
        addvcd: "532123",
        baseId: "01",
        rstcds: "008660403400000001",
        sttpCode: "FP",
        stnm: "白鹤滩集运鱼系统",
        ennm: "白鹤滩",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "白鹤滩集运鱼系统",
        _id: "FP_3_008660403400000003",
      },
      {
        sttp: "FP_3",
        stcd: "008690201300000044",
        lgtd: 98.925743,
        lttd: 27.939354,
        dtmel: 1908.381,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "乌弄龙集运鱼系统（下行）",
        distance: 50000,
        rvcd: "SJLY126",
        addvcd: "530000",
        baseId: "07",
        rstcds: "008690201300000001",
        sttpCode: "FP",
        stnm: "乌弄龙集运鱼系统（下行）",
        ennm: "乌弄龙",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "乌弄龙集运鱼系统（下行）",
        _id: "FP_3_008690201300000044",
      },
      {
        sttp: "FP_3",
        stcd: "008690219100000013",
        lgtd: 99.164615,
        lttd: 25.856731,
        dtmel: 1404.517,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "苗尾集运鱼系统（下行）",
        distance: 800000,
        rvcd: "SJLY126",
        addvcd: "532929",
        baseId: "07",
        rstcds: "008690219100000001",
        sttpCode: "FP",
        stnm: "苗尾集运鱼系统（下行）",
        ennm: "苗尾",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 1,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "苗尾集运鱼系统（下行）",
        _id: "FP_3_008690219100000013",
      },
      {
        sttp: "FP_3",
        stcd: "008660211700000005",
        lgtd: 101.43857,
        lttd: 26.520138,
        dtmel: 1056.632,
        anchoPointState: "gy_3",
        sttpMap: "FP_3",
        titleName: "观音岩集运鱼系统",
        distance: 1500000,
        rvcd: "SJLY77",
        addvcd: "510400,533223",
        baseId: "01",
        rstcds: "008660211700000001",
        sttpCode: "FP",
        stnm: "观音岩集运鱼系统",
        ennm: "观音岩",
        bldstt: "2",
        run: "2",
        runName: "未运行",
        dwtp: "FP_3",
        dwtpName: "集运鱼系统",
        mway: 1,
        yr: "2025",
        ftpTypeCount: null,
        ftpCount: null,
        dtin: 0,
        stdSstate: 2,
        stdSstateName: "暂无数据",
        lcjStatus: 2,
        lcjStatusName: "暂无数据",
        logo: null,
        iconCode: "map-gyssJiyunyuxitong",
        code: "pointLayer",
        popName: "观音岩集运鱼系统",
        _id: "FP_3_008660211700000005",
      },
    ],
  };
  mapClass.addInitDataLayer(layerConfigsArr1, "fp_point", {
    labelType: 6,
    labelminZoom: 3,
    isRemove: true,
  });
  //   {
  //     "isAllowOverlap": false,
  //     "labelType": 6,
  //     "labelminZoom": 3,
  //     "labelAltitude": {
  //         "wt_point": 45454474,
  //         "wa_point": 91189921,
  //         "lcj_bhq": 45454474,
  //         "fprd_point": 45454474
  //     },
  //     "isRemove": true
  // }
  // 前面锚点接口未加载完不重复发起请求
  // if (isRequestingPointData) return;
  // let mdoptions: MDOptions = {
  //   isAllowOverlap: false, //true:描点不避让/false:描点避让
  //   labelType: 1, //1是传统标签/2是新标签
  //   labelminZoom: 3,
  //   labelAltitude: {},
  //   isRemove: false,
  // };
  // mdoptions.isAllowOverlap = baseType[0]?.isAvoid === 2 ? true : false //true:描点不避让/false:描点避让
  // mdoptions.labelType = baseType[0]?.tagType ?? 1 //1是传统标签/2是新标签/3是澜沧江新ui标签

  // const layerConfigsArr = layerConfig2Flat(layerConfigsByPage[pageKey]);
  // const oldData = layerConfig2Flat(_.cloneDeep(oldLayerConfigs));
  // const requests = [];
  // // 解析基础图层json配置
  // layerConfigsArr.forEach((item: any) => {
  //   // 过滤掉非基础图层
  //   if (item.type != "GISMap") {
  //     return;
  //   }
  //   // 已经解析过了的直接跳过
  //   if (item.config) return;
  //   if (item.paramJson) {
  //     try {
  //       const jsonObj = JSON.parse(item.paramJson);
  //       item.config = getMapConfig(jsonObj);
  //       // item.config.key = item.key
  //     } catch {
  //       item.config = null;
  //     }
  //   } else {
  //     item.config = null;
  //   }
  // });

  // for (let i = 0; i < layerConfigsArr.length; i++) {
  //   const item = layerConfigsArr[i];
  //   if (item.type == "pointMap" && item.url !== "") {
  //   } else if (item.type == "GISMap") {
  //     // 添加基础图层
  //     if (item?.config) {
  //       // if (item.key == 'customBaseLayer') {
  //       //     MemoryCache.add('customBaseLayer', item.config)
  //       // }
  //       mapClass.addBaseDataLayer(_.cloneDeep(item).config, item.checked == 1);
  //       // mapClass.controlBaseLayerTreeShowAndHidden(item.key, item.config?.id, item.checked == 1)
  //     }
  //   }
  // }
  // 基础图层
  mapClass.addBaseDataLayer({
    id: "customBaseLayer",
    key: "customBaseLayer",
    type: "wmts",
    name: "qgc_sx_gjjdx_arcgistiles_l13",
    urlType: "gisurl",
    url:
      "/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=qgc_qsj_arcgistiles_l13&STYLE=&TILEMATRIX=EPSG:3857_qgc_qsj_arcgistiles_l13:{z}&TILEMATRIXSET=EPSG:3857_qgc_qsj_arcgistiles_l13&FORMAT=image/png&TILECOL={x}&TILEROW={y}",
    url_3d:
      "/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=qgc_sx_gjjdx_arcgistiles_l13&STYLE=&TILEMATRIX=EPSG:3857_qgc_sx_gjjdx_arcgistiles_l13:{z}&TILEMATRIXSET=EPSG:3857_qgc_sx_gjjdx_arcgistiles_l13&FORMAT=image/png&TILECOL={x}&TILEROW={y}",
    matrixIds_index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
    tileMatrixSetID: "EPSG:3857_qgc_sx_gjjdx_arcgistiles_l13",
  });
  //基地
  mapClass.addBaseDataLayer({
    id: "hydropBase",
    key: "hydropBase",
    urlType: "gisurl",
    url:
      "https://211.99.26.225:18085/geoserver/gwc/service/tms/1.0.0/qgc%3AstationEra1117@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf",
    geojson_url:
      "https://211.99.26.225:18085/geoserver/qgc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=qgc:stationEra1117&maxFeatures=50&outputFormat=application/json&token=bearer a9a0f227-1df3-4e68-b380-2eca5bb49bd1",
    url_3d: "https://211.99.26.225:18085/geoserver/qgc/wms",
    _layer: "stationEra1117",
    layers: "qgc:stationEra1117",
    rasteropacity: 0.5,
    visible: true,
    minZoom: 0,
    maxZoom: 20,
    type: "vector",
    layerType: "line",
    paint: {
      "line-color": "#C5C6F3",
      "line-width": 1,
      "line-opacity": 1,
    },
  });
  // 梯级流域图
  // mapClass.addBaseDataLayer(
  //   {
  //           id: 'Tertiarybasin',
  //           key: 'Tertiarybasin',
  //           urlType: 'gisurl',
  //           url: '/geoserver/gwc/service/tms/1.0.0/qgc%3Anew_LiuYuThrLev@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf',
  //           url_3d: '/geoserver/qgc/wms',
  //           geojson_url: `/geoserver/qgc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=qgc:new_LiuYuThrLev&outputFormat=application%2Fjson`,
  //           _layer: 'new_LiuYuThrLev',
  //           layers: 'qgc:new_LiuYuThrLev',
  //           visible: true,
  //           minZoom: 1,
  //           maxZoom: 18,
  //           minHeight: 0,
  //           maxHeight: 800000,
  //           rasteropacity: 0.8,
  //           type: 'vector',
  //           layerType: 'fill'
  //       }
  // )

  // 自然保护区
  // mapClass.addBaseDataLayer(
  //   {
  // "id": "lcj_bhq",
  // "key": "lcj_bhq",
  // "type": "wmts",
  // "name": "hbb_zrbhq_l13",
  // "urlType": "gisurl",
  // "url": "/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=hbb_zrbhq_l13&STYLE=&TILEMATRIX=EPSG:3857_hbb_zrbhq_l13:{z}&TILEMATRIXSET=EPSG:3857_hbb_zrbhq_l13&FORMAT=image/png&TILECOL={x}&TILEROW={y}",
  // "url_3d": "/geoserver/gwc/service/wmts",
  // "matrixIds_index": [
  //   "0",
  //   "1",
  //   "2",
  //   "3",
  //   "4",
  //   "5",
  //   "6",
  //   "7",
  //   "8",
  //   "9",
  //   "10",
  //   "11",
  //   "12"
  // ],
  // "tileMatrixSetID": "EPSG:3857_hbb_zrbhq_l13"

  // })
  // mapClass.controlBaseLayerTreeShowAndHidden('customBaseLayer', 'customBaseLayer', true)
}, 200);
// 地图左上角搜索框配置
// const getMapFilterConfig = async () => {};
// 地图初始化完成后，添加图例、筛选器、控制器等组件
const popupRef = ref<HTMLDivElement>(null);
const init = async () => {
  console.log();
  mapClass.init(document.getElementById("mapContainer") as HTMLElement).then(() => {
    // const app = Session.getAppCode()
    // if (app !== 'hbb' && window.__lyConfigs?.baseId) {
    //     GlobalEvents.jidiSelectEvent.set({ baseid: window.__lyConfigs?.baseId })
    // }
    if (popupRef.value) {
      mapClass?.initPopupOverlay(popupRef.value);
    }
    mapIsInited.value = true;
    // setMapIsInited(true)
  });
};
const generatePopupHtml = (data: any): string => {
  // 创建一个临时的 div 容器
  const container = document.createElement("div");

  // 创建 Vue 应用实例，渲染 IconDiv 组件
  const app = createApp({
    render() {
      // 将数据作为 props 传递给 IconDiv
      return h(IconDiv, { ...data });
    },
  });

  // 挂载到临时容器
  app.mount(container);

  // 获取渲染后的 HTML 内容
  // 注意：IconDiv 模板根节点是 <div v-if="renderContent" v-html="renderContent"></div>
  // 所以我们需要取第一个子元素的 innerHTML，或者直接取 container 的 innerHTML
  const htmlContent = container.innerHTML;

  // 卸载应用以释放资源
  app.unmount();

  return htmlContent;
};
// 右侧 menu 点击
const handleMapController = async (e: any, mapType: any) => {
  switch (e) {
    case "dim":
      await mapClass.switchView(mapType);
      fetchPointData();
      break;
    case 4: // 梯级流域显示
      tlyLayerVisible.value = !tlyLayerVisible.value;
      if (tlyLayerVisible.value) {
        mapClass.addTertiarybasinLayer(
          {
            id: "Tertiarybasin",
            key: "Tertiarybasin",
            urlType: "gisurl",
            url:
              "https://211.99.26.225:18085/geoserver/gwc/service/tms/1.0.0/qgc%3Anew_LiuYuThrLev@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf",
            url_3d: "https://211.99.26.225:18085/geoserver/qgc/wms",
            geojson_url:
              "https://211.99.26.225:18085/geoserver/qgc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=qgc:new_LiuYuThrLev&outputFormat=application%2Fjson&token=bearer f41600e8-42f6-4330-b5ac-2a8073cea377",
            _layer: "new_LiuYuThrLev",
            layers: "qgc:new_LiuYuThrLev",
            visible: true,
            minZoom: 1,
            maxZoom: 18,
            minHeight: 0,
            maxHeight: 800000,
            rasteropacity: 0.8,
            type: "vector",
            layerType: "fill",
          },
          "#4DFFDD",
          "#92A0A5",
          [
            "SJLY25",
            "SJLY13",
            "SJLY215",
            "SJLY110",
            "SJLY151",
            "SJLY150",
            "SJLY106",
            "SJLY149",
            "DA_HHGLSX",
            "SJLY156",
            "SJLY48",
            "SJLY50",
            "SJLY153",
            "SJLY171",
            "EA_HHGLSX",
            "BD_YLJSX",
            "SJLY142",
            "SJLY7",
            "SJLY195",
            "SJLY177",
            "SJLY90",
            "SJLY109",
            "SJLY64",
            "SJLY86",
            "SJLY134",
            "SJLY214",
            "SJLY33",
            "SJLY92",
            "SJLY105",
            "SJLY49",
            "BA_LHGLSX",
            "AE_TMJSX",
            "SJLY173",
            "SJLY115",
            "SJLY217",
            "SJLY174",
            "SJLY216",
            "SJLY77",
            "SJLY148",
            "SJLY53",
            "SJLY130",
            "SJLY100",
            "SJLY26",
            "SJLY30",
            "SJLY24",
            "SJLY60",
            "AA_HLJSX",
            "SJLY74",
            "SJLY34",
            "SJLY114",
            "SJLY211",
            "SJLY212",
            "SJLY210",
            "SJLY108",
            "SJLY172",
            "SJLY133",
            "AB_SHJSX",
            "SJLY5",
            "SJLY56",
            "SJLY141",
            "SJLY213",
            "SJLY85",
            "SJLY23",
            "SJLY6",
            "SJLY209",
            "SJLY178",
            "FA_CJGLSX",
            "SJLY144",
            "SJLY83",
            "SJLY191",
            "SJLY157",
            "SJLY28",
            "SJLY126",
          ]
        );
      } else {
        mapClass.removeTertiarybasinLayer({
          id: "Tertiarybasin",
          key: "Tertiarybasin",
          urlType: "gisurl",
          url:
            "https://211.99.26.225:18085/geoserver/gwc/service/tms/1.0.0/qgc%3Anew_LiuYuThrLev@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf",
          url_3d: "https://211.99.26.225:18085/geoserver/qgc/wms",
          geojson_url:
            "https://211.99.26.225:18085/geoserver/qgc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=qgc:new_LiuYuThrLev&outputFormat=application%2Fjson&token=bearer f41600e8-42f6-4330-b5ac-2a8073cea377",
          _layer: "new_LiuYuThrLev",
          layers: "qgc:new_LiuYuThrLev",
          visible: true,
          minZoom: 1,
          maxZoom: 18,
          minHeight: 0,
          maxHeight: 800000,
          rasteropacity: 0.8,
          type: "vector",
          layerType: "fill",
        });
      }
    default:
      break;
  }
};

watch(
  () => mapIsInited.value,
  (newVal) => {
    if (newVal == true) {
      pageKey = route.path.split("/")[2];
      fetchMapConfigs();
      // getMapFilterConfig();
    }
  }
);
// 监听水电基地点击
watch(
  () => JidiSelectEventStore.selectedItem,
  (newVal) => {
    if (newVal) {
      if (newVal.wbsCode == "all") {
        mapClass.jdPanelControlShowAndHidden(newVal.wbsCode, false);
      } else {
        mapClass.jdPanelControlShowAndHidden(newVal.wbsCode, true);
      }
    }
  },
  { deep: true }
);

onMounted(() => {
  init();
  // const globalData = GlobalData.getInstance()
  //@ts-ignore
  window.mapClass = mapClass;
});
onUnmounted(() => {
  mapClass.destroy();
});
</script>

<style lang="scss" scoped>
.gis-view {
  width: 100%;
  height: 100%;
  position: absolute;
  visibility: visible;
}
#mapContainer {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #fff;
  cursor: grab;
  z-index: 1;
}
/* 消除瓦片之间的缝隙和默认边框 */
.leaflet-tile {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  /* 关键：防止瓦片加载时的闪烁或横线 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* 确保地图容器背景色与瓦片一致，避免透出底色 */
.leaflet-container {
  background-color: #fff; /* 或者你的底图主要颜色，如 #f0f0f0 */
}

/* 如果使用 Canvas 模式，确保 Canvas 没有边框 */
.leaflet-pane canvas {
  border: none;
}

.map-popup-container {
  z-index: 1000;
  pointer-events: auto; /* 允许鼠标操作 Popup */
}

.custom-popup {
  padding: 10px;
}
.custom-popup h4 {
  margin: 0 0 5px 0;
  color: #333;
}
.custom-popup p {
  margin: 2px 0;
  font-size: 12px;
  color: #666;
}
</style>
