WholeProcessPlatform/frontend/src/store/modules/map.ts
2026-04-03 16:04:16 +08:00

5260 lines
140 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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<string>, 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
};
});