From c5f96d818705eae6cffa1bbdf2b13a65516d3a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=88=E5=85=86=E5=A2=9E?= <你的邮箱@example.com> Date: Fri, 3 Apr 2026 16:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BE=E4=BE=8B=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 2 + .../src/assets/legend/map-dxsdzYijian.svg | 23 + frontend/src/assets/map/ddd1.svg | 7 + frontend/src/assets/map/ddd2.svg | 7 + frontend/src/assets/map/ddd3.svg | 7 + frontend/src/assets/map/ddd4.svg | 7 + frontend/src/assets/map/dzwj.svg | 6 + frontend/src/assets/map/dzyj.svg | 6 + frontend/src/assets/map/dzyjwjr.svg | 6 + frontend/src/assets/map/dzzj.svg | 6 + frontend/src/components/gis/GisView.vue | 19 +- frontend/src/components/gis/event-emitter.ts | 115 + frontend/src/components/gis/map.class.ts | 29 + frontend/src/components/gis/map.d.ts | 232 + frontend/src/components/gis/map.leaflet.ts | 373 ++ .../mapController/LayerController.vue | 139 +- .../src/components/mapLegend/LegendItem.vue | 46 + frontend/src/components/mapLegend/index.vue | 102 +- frontend/src/modules/jidiInfoMod/index.vue | 49 +- frontend/src/modules/jidiSelectorMod.vue | 15 +- frontend/src/store/modules/jidiSelectEvent.ts | 115 +- frontend/src/store/modules/map.ts | 5259 +++++++++++++++++ frontend/src/styles/index.scss | 31 +- frontend/src/utils/index.ts | 18 +- frontend/src/utils/request.ts | 4 +- 25 files changed, 6429 insertions(+), 194 deletions(-) create mode 100644 frontend/src/assets/legend/map-dxsdzYijian.svg create mode 100644 frontend/src/assets/map/ddd1.svg create mode 100644 frontend/src/assets/map/ddd2.svg create mode 100644 frontend/src/assets/map/ddd3.svg create mode 100644 frontend/src/assets/map/ddd4.svg create mode 100644 frontend/src/assets/map/dzwj.svg create mode 100644 frontend/src/assets/map/dzyj.svg create mode 100644 frontend/src/assets/map/dzyjwjr.svg create mode 100644 frontend/src/assets/map/dzzj.svg create mode 100644 frontend/src/components/gis/event-emitter.ts create mode 100644 frontend/src/components/gis/map.class.ts create mode 100644 frontend/src/components/gis/map.d.ts create mode 100644 frontend/src/components/gis/map.leaflet.ts create mode 100644 frontend/src/components/mapLegend/LegendItem.vue create mode 100644 frontend/src/store/modules/map.ts diff --git a/frontend/package.json b/frontend/package.json index 6cbbca7..4bbe9df 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,9 +23,11 @@ "default-passive-events": "^2.0.0", "echarts": "^5.2.2", "element-plus": "^2.2.27", + "esri-leaflet": "^3.0.19", "js-base64": "^3.7.5", "js-cookie": "^3.0.1", "jsencrypt": "^3.3.2", + "leaflet": "^1.9.4", "nprogress": "^0.2.0", "path-browserify": "^1.0.1", "path-to-regexp": "^6.2.0", diff --git a/frontend/src/assets/legend/map-dxsdzYijian.svg b/frontend/src/assets/legend/map-dxsdzYijian.svg new file mode 100644 index 0000000..08efe9f --- /dev/null +++ b/frontend/src/assets/legend/map-dxsdzYijian.svg @@ -0,0 +1,23 @@ + + + map-dxsdzYijian + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/ddd1.svg b/frontend/src/assets/map/ddd1.svg new file mode 100644 index 0000000..2a93be2 --- /dev/null +++ b/frontend/src/assets/map/ddd1.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/ddd2.svg b/frontend/src/assets/map/ddd2.svg new file mode 100644 index 0000000..e1b3e46 --- /dev/null +++ b/frontend/src/assets/map/ddd2.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/ddd3.svg b/frontend/src/assets/map/ddd3.svg new file mode 100644 index 0000000..6200633 --- /dev/null +++ b/frontend/src/assets/map/ddd3.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/ddd4.svg b/frontend/src/assets/map/ddd4.svg new file mode 100644 index 0000000..46630e6 --- /dev/null +++ b/frontend/src/assets/map/ddd4.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/dzwj.svg b/frontend/src/assets/map/dzwj.svg new file mode 100644 index 0000000..4241d7b --- /dev/null +++ b/frontend/src/assets/map/dzwj.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/dzyj.svg b/frontend/src/assets/map/dzyj.svg new file mode 100644 index 0000000..4fc94d9 --- /dev/null +++ b/frontend/src/assets/map/dzyj.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/dzyjwjr.svg b/frontend/src/assets/map/dzyjwjr.svg new file mode 100644 index 0000000..0d8e31a --- /dev/null +++ b/frontend/src/assets/map/dzyjwjr.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/assets/map/dzzj.svg b/frontend/src/assets/map/dzzj.svg new file mode 100644 index 0000000..4496420 --- /dev/null +++ b/frontend/src/assets/map/dzzj.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/components/gis/GisView.vue b/frontend/src/components/gis/GisView.vue index 00d8ae9..c2a9633 100644 --- a/frontend/src/components/gis/GisView.vue +++ b/frontend/src/components/gis/GisView.vue @@ -2,7 +2,7 @@
- - + @@ -24,10 +24,19 @@
diff --git a/frontend/src/components/gis/event-emitter.ts b/frontend/src/components/gis/event-emitter.ts new file mode 100644 index 0000000..c3e3bf2 --- /dev/null +++ b/frontend/src/components/gis/event-emitter.ts @@ -0,0 +1,115 @@ +type EventCallback = (...args: any[]) => void; + +export class EventEmitter { + private events: Map = new Map(); + + on(event: string, callback: EventCallback): this { + if (!this.events.has(event)) { + this.events.set(event, []); + } + this.events.get(event)!.push(callback); + return this; + } + + off(event: string, callback?: EventCallback): this { + if (!this.events.has(event)) return this; + + if (callback) { + const callbacks = this.events.get(event)!; + const index = callbacks.indexOf(callback); + if (index > -1) { + callbacks.splice(index, 1); + } + } else { + this.events.delete(event); + } + return this; + } + + emit(event: string, ...args: any[]): this { + if (this.events.has(event)) { + this.events.get(event)!.forEach(callback => { + try { + callback(...args); + } catch (error) { + console.error(`Event ${event} handler error:`, error); + } + }); + } + return this; + } + + once(event: string, callback: EventCallback): this { + const onceCallback: EventCallback = (...args: any[]) => { + callback(...args); + this.off(event, onceCallback); + }; + return this.on(event, onceCallback); + } + + removeAllListeners(): this { + this.events.clear(); + return this; + } + + listenerCount(event: string): number { + return this.events.get(event)?.length || 0; + } +}type EventCallback = (...args: any[]) => void; + +export class EventEmitter { + private events: Map = new Map(); + + on(event: string, callback: EventCallback): this { + if (!this.events.has(event)) { + this.events.set(event, []); + } + this.events.get(event)!.push(callback); + return this; + } + + off(event: string, callback?: EventCallback): this { + if (!this.events.has(event)) return this; + + if (callback) { + const callbacks = this.events.get(event)!; + const index = callbacks.indexOf(callback); + if (index > -1) { + callbacks.splice(index, 1); + } + } else { + this.events.delete(event); + } + return this; + } + + emit(event: string, ...args: any[]): this { + if (this.events.has(event)) { + this.events.get(event)!.forEach(callback => { + try { + callback(...args); + } catch (error) { + console.error(`Event ${event} handler error:`, error); + } + }); + } + return this; + } + + once(event: string, callback: EventCallback): this { + const onceCallback: EventCallback = (...args: any[]) => { + callback(...args); + this.off(event, onceCallback); + }; + return this.on(event, onceCallback); + } + + removeAllListeners(): this { + this.events.clear(); + return this; + } + + listenerCount(event: string): number { + return this.events.get(event)?.length || 0; + } +} \ No newline at end of file diff --git a/frontend/src/components/gis/map.class.ts b/frontend/src/components/gis/map.class.ts new file mode 100644 index 0000000..8cb657e --- /dev/null +++ b/frontend/src/components/gis/map.class.ts @@ -0,0 +1,29 @@ +import type { layer, MapInterface } from "./map.d"; +import { MapLeaflet } from "./map.leaflet"; + +interface MapClassInterface extends MapInterface { + layers: Map; + view: any; +} + +export const mapServerBaseUrl = localStorage.getItem("gisurl") || "http://210.72.227.199:18084/"; + +export class MapClass implements MapClassInterface { + layers: Map; + view: any; + private static instance: MapClass; + private service: MapInterface; + + static getInstance(): MapClass { + if (!this.instance) { + this.instance = new MapClass(); + } + return this.instance; + } + + constructor() { + this.layers = new Map(); + this.view = null; + this.service = new MapLeaflet(); + } +} diff --git a/frontend/src/components/gis/map.d.ts b/frontend/src/components/gis/map.d.ts new file mode 100644 index 0000000..8a54114 --- /dev/null +++ b/frontend/src/components/gis/map.d.ts @@ -0,0 +1,232 @@ +export type layerType = + | "markers" + | "tiledMap" + | "tiledMapQuery" + | "geoJson" + | "arcgisFeature" + | "dynamicMapLayer" + | "arcgisMap" + | "label"; +export type layerOption = { + opacity?: number; + data?: Array; + zIndex?: number; + clickEvent?: Function; + hoverEvent?: Function; + legendImages?: Array | null | undefined; + geoJsonLegend?: Array | null | undefined; + tiledMapType?: undefined | "superMap"; +}; + +export interface layer { + id: string; + key: string; + _layer?: any; + type?: layerType; + url?: string; + urlThd?: string; + label?: string; + thumbnail?: string; + visible?: boolean; + option?: layerOption; + tempobj?: any; + opacity?: any; +} + +export interface MapInterface { + getRainColor: any; + getRainColor1: any; + removeContentmarkers: any; + removeGanliumarkers: any; + addarcgisLayerWithNotLine: any + /** + * 地图初始化 + * @param container DOM容器 + * @return any 地图视图 + */ + init(container: React.ReactNode, rectangle?: any, center?: any): Promise; + + /** + *添加 图层 + */ + addLayer(layer: layer): any; + + /** + * 添加canvasMarker + */ + addCanvasMarker( + data: Array, + legend?: Array, + option?: { skipRemoveHtml?: boolean }, + flag?: any + ): any; + + invalidateSize(): void; + + getRain(data: any): void; + /** + * 添加地图缩放监听事件 + */ + addZoomEvent(func: Function, type?: string): void; + + /** + * 添加鼠标移动事件 + * @param func 事件 + */ + addMouseMoveEvent(func: Function): void; + + /** + * 添加鼠标点击事件 + * @param func 事件 + */ + addMouseClickEvent(func: Function): void; + + /** + * 定位 + * @param data + */ + fitBounds(data: any): void; + + /** + * 获取所有的图层 + */ + getLayers(): Map | null; + + /** + * 获取地图缩放级别 + */ + getMapZoom(): number; + + /** + * 放大 + */ + zoomEnlarge(): number; + + /** + * 缩小 + */ + zoomNarrow(): number; + + /** + * 获取当前地图视图的比例尺或者缩放级别 + */ + getMapZoomOrScale(): { scale?: number; zoom?: number }; + + /** + * 显示图层 + * @param layers + */ + showLayer(id: string): void; + + /** + * 隐藏图层 + * @param layers + */ + hideLayer(id: string): void; + + /** + * 设置地图位置 + * @param position + */ + setCenter(position: { lat: number; lng: number }, zoom?: any): void; + + /** + * 移除所有图层 + */ + removeAllLayer(): void; + + /** + * 移除所有站点标签 + */ + removeAllLabel(): void; + + /** + * 移除图层 + * @param layer + */ + removeLayer(layer: layer): void; + + /** + * 重新渲染图层数据 + */ + reRenderLayer( + key: string, + options?: { opacity?: number; data: Array; zIndex?: number } + ): Promise; + + /** + * 移除鼠标移动事件监听 + */ + removeMouseMoveEvent(): void; + + /** + * 移除监听事件 + */ + removeEvent(type: string, func: Function): void; + + /** + * 移除要素图层 + */ + removeFeatureLayer(): void; + + /** + * 移除水系图层 + */ + removedataSource(item: any): void; + + /** + * 移除鼠标点击事件监听 + */ + removeMouseClickEvent(): void; + + /** + * 缩放 + * out 放大 + * in 缩小 + */ + zoomToggle(type: "out" | "in"): void; + + /** + * 增加arcgis图层 + */ + addarcgisLayer(item: any, data?: any): void; + + /** + * 增加图层label + */ + addmapLabel(item: any, data: any, zoom: any): void; + addmapLine(item: any, data: any): void; + + /** + * 删除arcgis图层 + */ + removearcgisLayer(): void; + + /** + * 删除图层label + */ + removearcgisLabel(): void; + + removeLayermarkers(): void; + + removeRainLayer(): void; + + removeGroupLayer(): void; + + removeMapLayer(): void; + + /** + * 测距 + */ + handelstartDrawLine(): void; + + /** + * 测面积 + */ + handelstartDrawPolygon(): void; + + /** + * 清除 + */ + handelclearLayer(): void; +} diff --git a/frontend/src/components/gis/map.leaflet.ts b/frontend/src/components/gis/map.leaflet.ts new file mode 100644 index 0000000..c58b8f4 --- /dev/null +++ b/frontend/src/components/gis/map.leaflet.ts @@ -0,0 +1,373 @@ +import { layer, MapInterface } from "./map"; +import * as L from "leaflet"; +import * as esriLeaflet from "esri-leaflet"; +import { mapServerBaseUrl } from "./map.class"; +// @ts-ignore +import axios from "axios"; +// import "@/components/thematicMap/leaflet/leaflet.inflatable-markers-group.js" + +const tiledMapGroup = L.layerGroup(); +const chartMapGroup = L.layerGroup(); +const overlayGroup = L.layerGroup(); +const CENTER_positionCN: any = [37.072654, 86.171125]; // [26.072654, 107.171125]; //中心纬经度 中国 + +let boundCavansLayer: any = null; +let ganliulist:any = [] +export class MapLeaflet implements MapInterface { + map: any = null; + htmlMakerLayer: any = []; + minimumZoom = 7; + + temperatureMapObj: any = []; + + addLayer(layer: any): any { + // The WMTS URL + console.warn(layer) + switch (layer.type) { + case "tiledMap": + if (layer.url) { + let setzIndex = 1; + if (layer.zIndex && layer.zIndex != "" && layer.zIndex != "0") { + setzIndex = Number(layer.zIndex); + } + if (layer.title !== '干流河流') { + layer._layer = esriLeaflet + .dynamicMapLayer({ + url: layer.url, + opacity: layer.opacity, + zIndex: 999999999999 + }) + ?.addTo(this.map) + .bringToBack() + } else { + axios.get('http://210.72.227.199:18084/geoserver/cite/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=cite:glhl_epsg4326&maxFeatures=50&outputFormat=application%2Fjson') + .then((res) => { + res.data?.features.map((item: any, index: number) => { + const a = L.geoJSON(item, { + style: { + }, + }).addTo(this.map); + ganliulist.push(a) + }); + }) + } + } + return layer; + break + case "geoserver-wmts": + if (layer.url) { + if (layer.title == "地图瓦片图层") { + console.log('地图瓦片') + //增加遮罩 + axios.get('/zfile/qgcbuji/overlayLand3.json') + .then((res) => { + var landLayer = L.geoJson(res.data, { + style: { + opacity: 0, + //填充透明度 + fillOpacity: 1, + //填充颜色 + fillColor: '#ececec' + } + })?.addTo(overlayGroup).bringToBack(); + }) + axios.get('/zfile/qgcbuji/overlayOcean.json') + .then((res) => { + var oceanLayer = L.geoJson(res.data, { + style: { + opacity: 0, + //填充透明度 + fillOpacity: 1, + //填充颜色 + fillColor: '#8eccf1' + } + })?.addTo(overlayGroup).bringToFront(); + }) + overlayGroup?.addTo(this.map); + } + var optionobj = JSON.parse(layer.options); + if (optionobj) { + var ignLayer = L.tileLayer + .wmts(layer.url, { + tileMatrixSet: optionobj.tileMatrixSet, //"EPSG:3857_qgc_arcgistiles_l13_google", + tileSize: 256, //切片大小 + maxZoom: 13, + noWrap: true, + opacity: 1.01, + minZoom: 4, + layer: optionobj.layer, //"qgc_arcgistiles_l13_google", + }) + .addTo(this.map) + .bringToBack(); + layer._layer = ignLayer; + layer._layer.layerGroup = overlayGroup; + } + } + return layer; + case "arcgisMap": + if (layer.url) { + if (this.map) { + const mapLayer = esriLeaflet + .tiledMapLayer({ + url: layer.url, + format: "image/png", + maxNativeZoom: 17, + }) + .addTo(this.map) + .bringToBack(); + layer._layer = mapLayer; + } + } + return layer; + case "tiledMapQuery": + if (layer.url && layer.id) { + if (layer.title == "岛屿") { + layer.layers = "cite:nhqddt_epsg3857"; + } + layer._layer = L.tileLayer + .wms(layer.url, { + id: layer.id, + format: "image/png", + transparent: true, + zIndex: 9999, + layers: layer.layers, + // maxZoom:10, + }) + .addTo(this.map); + // .bringToBack(); + return layer; + } + return layer; + case "label": + if (layer.url) { + const tileLayer: any = L.tileLayer(layer.url, { + subdomains: ["0", "1", "2", "3", "4", "5", "6", "7"], + crossOrigin: "anonymous", + }); + const boundary = (providerName: any) => { + // return BoundaryCanvas(tileLayer, {}); + }; + let boundaryLayers; + if (layer.title == "行政标注") { + boundaryLayers = boundary(tileLayer._leaflet_id) + .addTo(this.map) + .bringToBack() + .setZIndex(10); + } else { + boundaryLayers = boundary(tileLayer._leaflet_id).addTo(this.map); + } + tileLayer.boundLayer = boundaryLayers; + layer._layer = boundaryLayers; + return layer; + } + break; + + case "markers": + this.getRain(layer); + break; + default: { + return; + } + } + } + + + /** + * 用于消除瓦片之间的缝隙(leaflet加载wmts在非整数缩放时瓦片间会有缝隙) + */ + inittiles() { + var originalInitTile = L.GridLayer.prototype._initTile; + L.GridLayer.include({ + _initTile: function (tile: any) { + originalInitTile.call(this, tile); + + var tileSize = this.getTileSize(); + + tile.style.width = tileSize.x + 2 + "px"; + tile.style.height = tileSize.y + 2 + "px"; + }, + }); + } + init(container: React.ReactNode, rectangle?: any): Promise { + try { + console.log("init初始化container", container); + this.inittiles(); + // var corner1 = L.latLng(0.712, -10.227), + // corner2 = L.latLng(70.774, 204.125), + + // var corner1 = L.latLng(-50.712, -10.227), + // corner2 = L.latLng(100.774, 204.125), + // var corner1 = L.latLng(20.712, 50.227), + // corner2 = L.latLng(51.774, 160.125), + var corner1 = L.latLng(20.712, 0), + corner2 = L.latLng(51.774, 179.125), + bounds = L.latLngBounds(corner1, corner2); + const map = L.map(container as any, { + preferCanvas: true, + minZoom: 4.4, + center: CENTER_positionCN, + zoom: 4.4, + maxZoom: 18, + zoomControl: false, + maxBounds: bounds, + zoomSnap: 0, + crs: L.CRS.EPSG3857, + }); + this.map = map; + + //遮罩 + var pNW = { lat: 85.0, lng: -90.0 }; + var pNE = { lat: 85.0, lng: 270.0 }; + var pSE = { lat: -45.0, lng: 270.0 }; + var pSW = { lat: -45.0, lng: -90.0 }; + var pArray = []; + pArray.push(pNW); + pArray.push(pSW); + pArray.push(pSE); + pArray.push(pNE); + pArray.push(pNW); + + let mapURL = + mapServerBaseUrl + "arcgis/rest/services/zh_boundary/MapServer/0/query"; + esriLeaflet + .query({ + url: mapURL, + }) + // .where(mapWhere) + .run((error: any, result: any, response: any) => { + if (response) { + // let test = arcgisToGeoJSON(response); + // let chinaList = test.features[0].geometry.coordinates; + // var boundsCounty = [ + // [0.0, -20.0], + // [276.0, -20.0], + // [276.0, 75.0], + // [0.0, 75.0], + // [0.0, -20.0], + // ]; + // console.log("chinaList", chinaList); + + // var geojsonRelt: any = { + // type: "Feature", + // properties: {}, + // geometry: { + // type: "MultiPolygon", + // coordinates: [[boundsCounty, ...chinaList]], + // }, + // }; + + // var chinaCavansLayer = L.geoJSON(geojsonRelt, { + // style: { + // color: "#8EA5BA", + // weight: 1, + // fillColor: "#ffffff", + // fillOpacity: 1, + // }, + // }); + //chinaCavansLayer.addTo(this.map).bringToBack().setZIndex(0); + } + }); + + let params = { + startTime: "2022-01-01 00:00:00", + }; + + + L.control + .scale({ maxWidth: 150, metric: true, imperial: false }) + .addTo(this.map); + this.map.on("zoomend", (e: any) => { + var scale = document.getElementsByClassName( + "leaflet-control-scale-line" + )[0].innerHTML; + var num = parseInt(scale); + + if (scale.includes("km")) { + console.log("比例尺:1:" + num * 1000 + "m"); + } else { + console.log("比例尺1:" + num + "m"); + } + console.log("scale", scale); + + console.log("当前缩放级别", e.target.getZoom()); + }); + console.log("rectangle", rectangle); + if (rectangle) { + if (rectangle[0] && rectangle[0][0] == 90) { + //this.map.setView([43.719771, 126.687641,], 9); + } else { + map.fitBounds(rectangle); + } + } + return Promise.resolve(map); + } catch (e) { + console.log("测试", e); + return Promise.reject({}); + } + } + + + removeLayer(layer: layer | any): void { + switch (layer.type) { + case "geoJson": + break; + default: + if (layer._layer) { + if (layer._layer.layerGroup) { + layer._layer.layerGroup.clearLayers(); + } + this.map?.off("zoom", layer._layer.func); + this.map && this.map.removeLayer(layer._layer); + } else if (layer) { + if (layer.layerGroup) { + layer.layerGroup.clearLayers(); + } + this.map?.off("zoom", layer.func); + this.map && this.map.removeLayer(layer); + let mapvalue = tiledMapGroup.getLayers(); + + for (let i = 0; i < mapvalue.length; i++) { + if (mapvalue[i].options.id == layer.id) { + tiledMapGroup.removeLayer(mapvalue[i]); + } + } + } + break; + } + } + + addboundCavansLayer = (list: any, bgStyle?: any) => { + if (boundCavansLayer && this.map.hasLayer(boundCavansLayer)) { + this.map.removeLayer(boundCavansLayer); + } + var boundsCounty = [ + [0.0, -20.0], + [176.0, -20.0], + [176.0, 75.0], + [0.0, 75.0], + [0.0, -20.0], + ]; + var geojsonRelt: any = { + type: "Feature", + properties: {}, + geometry: { + type: "MultiPolygon", + coordinates: [[boundsCounty, ...list]], + }, + }; + var boundCavansLayerRelt = L.geoJSON( + geojsonRelt, + bgStyle + ? { ...bgStyle } + : { + color: "transparent", + fillColor: "#0a2b4b", + fillOpacity: 0.9, + } + ); + boundCavansLayer = boundCavansLayerRelt; + console.warn(boundCavansLayerRelt.addTo) + boundCavansLayerRelt.addTo(this.map).bringToFront().setZIndex(99999999999); + }; + +} diff --git a/frontend/src/components/mapController/LayerController.vue b/frontend/src/components/mapController/LayerController.vue index b3a0cb8..de4748d 100644 --- a/frontend/src/components/mapController/LayerController.vue +++ b/frontend/src/components/mapController/LayerController.vue @@ -1,8 +1,14 @@ @@ -69,10 +113,6 @@ const isOpen = ref(true); overflow-x: scroll; overflow-y: scroll; border-top: 1px solid #eeeeee; - overflow-y: hidden; - // &::-webkit-scrollbar { - // width: 0; - // } .legendGroup { display: inline-block; vertical-align: top; @@ -91,22 +131,8 @@ const isOpen = ref(true); filter: grayscale(100%); color: #00000073; } - .legendItem { - cursor: pointer; - margin-right: 10px; - padding: 4px 0; - min-height: 30px; - display: flex; - flex-direction: row; - .legendIcon { - width: 22px !important; - height: 22px !important; - background-color: red; - } - .legendIconTitle { - cursor: pointer; - flex: 1 1; - } + .disabled { + cursor: not-allowed !important; } } } diff --git a/frontend/src/modules/jidiInfoMod/index.vue b/frontend/src/modules/jidiInfoMod/index.vue index b9c0f53..0cc3b90 100644 --- a/frontend/src/modules/jidiInfoMod/index.vue +++ b/frontend/src/modules/jidiInfoMod/index.vue @@ -1,35 +1,48 @@ \ No newline at end of file + diff --git a/frontend/src/modules/jidiSelectorMod.vue b/frontend/src/modules/jidiSelectorMod.vue index e7b1e97..7208a2c 100644 --- a/frontend/src/modules/jidiSelectorMod.vue +++ b/frontend/src/modules/jidiSelectorMod.vue @@ -3,12 +3,11 @@ import { ref } from "vue"; import { useJidiSelectEventStore } from "@/store/modules/jidiSelectEvent"; const loading = ref(false); const isOpen = ref(true); -const jidiData = useJidiSelectEventStore().jidiData; +const JidiSelectEventStore = useJidiSelectEventStore(); const jidiDataNum = ref(9); -const selectedItem: any = ref(1); -const itemClick = (id: any) => { - selectedItem.value = id; +const itemClick = (index: any) => { + useJidiSelectEventStore().updataJidiData(index); }; @@ -17,7 +16,7 @@ const itemClick = (id: any) => {
@@ -29,9 +28,9 @@ const itemClick = (id: any) => {
{{ i.name }} diff --git a/frontend/src/store/modules/jidiSelectEvent.ts b/frontend/src/store/modules/jidiSelectEvent.ts index 92e14f4..58d1df6 100644 --- a/frontend/src/store/modules/jidiSelectEvent.ts +++ b/frontend/src/store/modules/jidiSelectEvent.ts @@ -3,53 +3,74 @@ import { ref } from 'vue'; export const useJidiSelectEventStore = defineStore('jidiSelectEvent', () => { const jidiData = ref([ - { - id: 1, - name: "当前全部", - }, - { - id: 2, - name: "水电基地2", - }, - { - id: 3, - name: "水电基地3", - }, - { - id: 4, - name: "水电基地4", - }, - { - id: 5, - name: "水电基地5", - }, - { - id: 6, - name: "水电基地6", - }, - { - id: 7, - name: "水电基地7", - }, - { - id: 8, - name: "水电基地8", - }, - { - id: 9, - name: "水电基地9", - }, - { - id: 10, - name: "水电基地10", - }, - { - id: 11, - name: "水电基地11", - }, -]); + { + id: 1, + name: '当前全部', + selected: true + }, + { + id: 2, + name: '水电基地2', + selected: false + }, + { + id: 3, + name: '水电基地3', + selected: false + }, + { + id: 4, + name: '水电基地4', + selected: false + }, + { + id: 5, + name: '水电基地5', + selected: false + }, + { + id: 6, + name: '水电基地6', + selected: false + }, + { + id: 7, + name: '水电基地7', + selected: false + }, + { + id: 8, + name: '水电基地8', + selected: false + }, + { + id: 9, + name: '水电基地9', + selected: false + }, + { + id: 10, + name: '水电基地10', + selected: false + }, + { + id: 11, + name: '水电基地11', + selected: false + } + ]); + const selectedItem = ref(jidiData.value[0]); + const updataJidiData = (index: any) => { + selectedItem.value = jidiData.value[index]; + jidiData.value.forEach((item: any) => { + item.selected = false; + }); + jidiData.value[index].selected = true; + }; return { - jidiData + jidiData, + selectedItem, + updataJidiData }; -}); \ No newline at end of file +}); diff --git a/frontend/src/store/modules/map.ts b/frontend/src/store/modules/map.ts new file mode 100644 index 0000000..febac9c --- /dev/null +++ b/frontend/src/store/modules/map.ts @@ -0,0 +1,5259 @@ +import { defineStore } from 'pinia'; +import { ref } from 'vue'; + +export const useMapStore = defineStore('map', () => { + const layerData = ref([ + { + 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: 0, + canBeChecked: 1, + multiSelect: 1, + options: null, + key: 'eng_point', + labelLevel: null, + zIndex: '0' + } + ], + paramJson: null, + orderIndex: '2', + checked: 0, + 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: 1, + canBeChecked: 1, + multiSelect: 1, + options: null, + key: 'ef_point', + labelLevel: null, + zIndex: '0' + } + ], + paramJson: null, + orderIndex: '3', + checked: 1, + 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: 0, + 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: 0, + 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: 0, + canBeChecked: 1, + multiSelect: 1, + options: null, + key: 'wq_artificialWq_point', + labelLevel: null, + zIndex: null + } + ], + paramJson: null, + orderIndex: '5', + checked: 0, + 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: 0, + 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: 0, + 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: 0, + 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: 0, + 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: 0, + 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: 0, + 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: 0, + 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: 0, + 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: 0, + canBeChecked: 1, + multiSelect: 1, + options: null, + key: 'dw_point', + labelLevel: null, + zIndex: null + } + ], + paramJson: null, + orderIndex: '8', + checked: 0, + 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: null, + multiSelect: null, + 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: null, + multiSelect: null, + 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: null, + multiSelect: null, + 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: null, + multiSelect: null, + 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: null, + multiSelect: null, + options: null, + key: 'sg_built_point', + labelLevel: null, + zIndex: null + } + ], + paramJson: null, + orderIndex: '116', + checked: 0, + canBeChecked: null, + multiSelect: null, + 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 legendData = ref([ + { + 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 legendDataSelected = ref([]); +const updateLayerData = (checkKeys: string[]) => { + console.log(checkKeys) + let selectedLegend: any = []; + const addedParents = new Set(); + + layerData.value.forEach((item: any) => { + if (item.children && item.children.length > 0) { + item.children.forEach((child: any) => { + let checked = checkKeys.find((e: any) => e == child.key); + child.checked = checked ? 1 : 0; + if (child.key != "-" && child.key != "customBaseLayer" && child.checked == 1) { + selectedLegend.push(...getlegendData(child.key, addedParents, checkKeys)); + } + }); + } else { + let checked = checkKeys.find((e: any) => e == item.key); + item.checked = checked ? 1 : 0; + if (item.key != "-" && item.checked == 1) { + selectedLegend.push(...getlegendData(item.key, addedParents, checkKeys)); + } + } + }); + legendDataSelected.value = selectedLegend; +}; + +// 递归检查是否包含匹配的 layerCode(任意层级) +const hasLayerCode = (childrenList: any[], key: string): boolean => { + for (const child of childrenList) { + if (child.layerCode == key) { + return true; + } + if (child.childrenList && child.childrenList.length > 0) { + if (hasLayerCode(child.childrenList, key)) { + return true; + } + } + } + return false; +}; + +// 递归过滤多级 childrenList(支持中间层级无 layerCode) +const filterChildrenList = (childrenList: any[], checkKeys: string[]): any[] => { + const result: any[] = []; + + for (const child of childrenList) { + if (child.childrenList && child.childrenList.length > 0) { + const filteredChildren = filterChildrenList(child.childrenList, checkKeys); + if (filteredChildren.length > 0) { + result.push({ + ...child, + childrenList: filteredChildren + }); + } + } else { + if (child.layerCode && checkKeys.includes(child.layerCode)) { + result.push(child); + } + } + } + + return result; +}; + +const getlegendData = (key: string, addedParents: Set, checkKeys: string[]) => { + let selectedLegend: any = []; + legendData.value.forEach(legendItem => { + // 递归检查是否包含匹配的 layerCode(任意层级) + if (hasLayerCode(legendItem.childrenList, key)) { + if (!addedParents.has(legendItem.name)) { + const filteredItem = { + ...legendItem, + childrenList: filterChildrenList(legendItem.childrenList, checkKeys) + }; + selectedLegend.push(filteredItem); + addedParents.add(legendItem.name); + } + } + }); + return selectedLegend; +}; + + return { + layerData, + legendData, + legendDataSelected, + updateLayerData + }; +}); diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 215b899..63d92ac 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -27,6 +27,22 @@ body::-webkit-scrollbar { width: 0; height: 0; } +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-corner { + background-color: transparent; +} +::-webkit-scrollbar-thumb { + border-radius: 4px; + background: #bbb; + -webkit-box-shadow: inset 0 0 6px #ddd; +} +::-webkit-scrollbar-track { + border-radius: 10px; + width: 10px; +} // main-container global css .app-container { padding: 20px; @@ -64,13 +80,13 @@ svg { background-color: #ffffff; } - .moduleContent{ - display: flex; - flex-direction: row; - justify-content: space-between; - height: 100%; - position: relative; - } +.moduleContent { + display: flex; + flex-direction: row; + justify-content: space-between; + height: 100%; + position: relative; +} .leftContent { width: 188px; @@ -79,4 +95,3 @@ svg { height: 98%; position: relative; } - diff --git a/frontend/src/utils/index.ts b/frontend/src/utils/index.ts index cbf844d..424f658 100644 --- a/frontend/src/utils/index.ts +++ b/frontend/src/utils/index.ts @@ -94,4 +94,20 @@ export function downloadFile(obj :any, name :any, suffix :any) { document.body.appendChild(link) link.click() document.body.removeChild(link) -} \ No newline at end of file +} + +const modules = import.meta.glob('@/assets/legend/*.svg', { eager: true }); +// 图例图标映射 +export const iconMap: Record = {}; +Object.entries(modules).forEach(([path, module]) => { + const fileName = path.match(/\/([^/]+)\.svg$/)?.[1]; + console.log(fileName) + if (fileName) { + iconMap[fileName] = (module as any).default; + } +}); +// 获取图标路径 +export const getIconPath = (icon: string): string => { + console.log(iconMap[icon] ) + return iconMap[icon] || ''; +}; \ No newline at end of file diff --git a/frontend/src/utils/request.ts b/frontend/src/utils/request.ts index 136e35d..ccc761e 100644 --- a/frontend/src/utils/request.ts +++ b/frontend/src/utils/request.ts @@ -33,8 +33,8 @@ service.interceptors.request.use( service.interceptors.response.use( (response: AxiosResponse) => { const { status, msg } = response; - console.log(msg) - console.log(response); + // console.log(msg) + // console.log(response); if (status === 200) { if (response.data.code == 401) { message.error(response.data.msg||'请求失败');