From 027d237a54bd813b811f77bec4d778be543c2a6d Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期五, 05 三月 2021 14:53:09 +0800 Subject: [PATCH] 图例内容/效果实现 --- src/conf/LayerSewers.js | 74 +++++++++++++++++++++++++++++++++++-- 1 files changed, 70 insertions(+), 4 deletions(-) diff --git a/src/conf/LayerSewers.js b/src/conf/LayerSewers.js index 890858a..c0bfc8f 100644 --- a/src/conf/LayerSewers.js +++ b/src/conf/LayerSewers.js @@ -1,6 +1,6 @@ -// const APP_GIS_HOST_2 = 'http://xearth.cn:6230' +const APP_GIS_HOST_2 = 'http://xearth.cn:6289' // const APP_GIS_HOST_2 = 'http://localhost:3000' -const APP_GIS_HOST_2 = 'http://192.168.31.226:8088' +// const APP_GIS_HOST_2 = 'http://192.168.31.226:8088' export const LayerSewersLine = { code: 'pipeline', name: '绠$綉鏁版嵁', @@ -381,30 +381,48 @@ label: '绠$嚎鏈綋', options: [{ value: '1', + layerName: '绠$綉', + key: 'pipename', label: '鍏ㄩ儴绠$嚎' }, { value: '2', + layerName: '绠$綉', + key: 'pipename', label: '鐢熸椿姹℃按绠$嚎' }, { value: '3', + layerName: '绠$綉', + key: 'pipename', label: '鍚洂绠$嚎' }, { value: '4', + layerName: '绠$綉', + key: 'pipename', label: '闆ㄦ按绠$嚎' }, { value: '5', + layerName: '绠$綉', + key: 'pipename', label: '鍚补绠$嚎' }, { value: '6', + layerName: '绠$綉', + key: 'pipename', label: '浜嬫晠姘寸绾�' }, { value: '7', + layerName: '绠$綉', + key: 'pipename', label: '鍚⒈绠$嚎' }, { value: '8', + layerName: '绠$綉', + key: 'pipename', label: '寰幆姘寸绾�' }, { value: '9', + layerName: '绠$綉', + key: 'pipename', label: '鍑�鍖栨按绠$嚎' }], labelList: [{ label: '杈撻�佷粙璐�', key: 'mediumtype' }, { label: '闀垮害(m)', key: 'length' }] @@ -413,12 +431,18 @@ label: '鎺掑彛淇℃伅', options: [{ value: '1', + layerName: '', + key: '', label: '鍏ㄩ儴鎺掑彛' }, { value: '2', + layerName: '', + key: '', label: '鍐呮帓鍙�' }, { value: '3', + layerName: '', + key: '', label: '澶栨帓鍙�' }], labelList: [] @@ -428,24 +452,38 @@ options: [ { value: '1', + layerName: '', + key: '', label: '鍏ㄩ儴璁炬柦' }, { value: '2', + layerName: '', + key: '', label: '闃�闂�' }, { value: '3', + layerName: '', + key: '', label: '绠″粖' }, { value: '4', + layerName: '', + key: '', label: '绠℃灦' }, { value: '5', + layerName: '', + key: '', label: '涓夐��' }, { value: '6', + layerName: '', + key: '', label: '鍥涢��' }, { value: '7', + layerName: '', + key: '', label: '寮ご' }], labelList: [] @@ -455,30 +493,48 @@ options: [ { value: '1', + layerName: '', + key: '', label: '鍏ㄩ儴璁炬柦' }, { value: '2', + layerName: '', + key: '', label: '闆ㄧ瀛�' }, { value: '3', + layerName: '', + key: '', label: '闃茬伀鍫�' }, { value: '4', + layerName: '', + key: '', label: '闆嗘按姹�' }, { value: '5', + layerName: '', + key: '', label: '鏀堕泦缃�' }, { value: '6', + layerName: '', + key: '', label: '鎴祦闂�' }, { value: '7', + layerName: '', + key: '', label: '婧㈡祦鍫�' }, { value: '8', + layerName: '', + key: '', label: '闅旀补姹�' }, { value: '9', + layerName: '', + key: '', label: '娉�' }], labelList: [] @@ -487,28 +543,38 @@ label: '鍛ㄨ竟鐜', options: [{ value: '1', + layerName: '', + key: '', label: '鍏ㄩ儴鍛ㄨ竟鐜' }, { value: '2', + layerName: '', + key: '', label: '鍖婚櫌' }, { value: '3', + layerName: '', + key: '', label: '鏅尯' }, { value: '4', + layerName: '', + key: '', label: '鑷劧淇濇姢鍖�' }, { value: '5', + layerName: '', + key: '', label: '娑堥槻' }, { value: '6', + layerName: '', + key: '', label: '姘翠綋' } ], labelList: [] }] - -export const pipelineLabel = [''] /* eslint-disable */ -- Gitblit v1.8.0