config copy.js 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045
  1. window.ApplicationConfig = {
  2. start: 248,
  3. end: 2022,
  4. // baseUrl: "http://localhost:9001/clzy",
  5. baseUrl: "/clzy/zp",
  6. tokenKey: "Authorization",
  7. tokenPrefix: "zjugis-",
  8. sysTitle: "浙里找地自动截图",
  9. isEmbeddedPlatform: false, // 是否内嵌到平台,左侧菜单变顶部菜单
  10. isCheckToken: false, // 是否内嵌到平台,并加上token校验
  11. // klyzyurl: '/arcMapServer3/arcgis/rest/services/zp/klyzy/MapServer',
  12. // kfqurl: '/arcMapServer3/arcgis/rest/services/zp/kfq/MapServer',
  13. // xzq_zjurl: '/arcMapServer3/arcgis/rest/services/zp/XZQ_ZJ/MapServer',
  14. klyzyurl: {
  15. id: 'klyzy',
  16. name: '可利用资源',
  17. serverType: 'wms',
  18. params: {
  19. version: '1.1.1',
  20. layers: 'sde:ecgap_klyzy'
  21. },
  22. url: 'https://zdzy.zrzyt.zj.gov.cn/geoserver/sde/wms',
  23. queryUrl: 'https://zdzy.zrzyt.zj.gov.cn/geoserver/sde'
  24. },
  25. kfqurl: {
  26. id: 'kfq',
  27. name: '开发区',
  28. serverType: 'wms',
  29. params: {
  30. version: '1.1.1',
  31. layers: 'sde:kfq'
  32. },
  33. url: 'https://zdzy.zrzyt.zj.gov.cn/geoserver/sde/wms',
  34. queryUrl: 'https://zdzy.zrzyt.zj.gov.cn/geoserver/sde'
  35. },
  36. xzq_zjurl: {
  37. id: 'xzq_zj',
  38. name: '行政区_浙江',
  39. serverType: 'wms',
  40. params: {
  41. version: '1.1.1',
  42. layers: 'sde:xzxzq'
  43. },
  44. url: 'https://zdzy.zrzyt.zj.gov.cn/geoserver/sde/wms',
  45. queryUrl: 'https://zdzy.zrzyt.zj.gov.cn/geoserver/sde'
  46. },
  47. backServerUrl: 'http://localhost:9005',
  48. // klyzyurl: 'http://172.27.27.109:6080/arcgis/rest/services/zp/klyzy/MapServer',
  49. // kfqurl: 'http://172.27.27.109:6080/arcgis/rest/services/zp/kfq/MapServer',
  50. // xzq_zjurl: 'http://172.27.27.109:6080/arcgis/rest/services/zp/XZQ_ZJ/MapServer',
  51. // 图源素全生命周期接口地址
  52. // LandLifeCycleURL: "http://10.20.103.120:8008/main/gd/rest/test/geo/lifetime",
  53. LandLifeCycleURL: "http://10.36.128.38/tysfw/main/gd/rest/test/geo/lifetime",
  54. LandLifeCycleURLNoTys: "http://10.36.128.38/wwkjmht/spcd/project-code/v2/getRelationByJson",
  55. // 图源素获取单个地块geojson接口地址
  56. //GetLandGeoURL: `http://10.20.103.120:8008/main/gd/rest/test/single/plot/geojson`,
  57. GetLandGeoURL: `http://10.36.128.38/tysfw/main/gd/rest/test/single/plot/geojson`,
  58. // 区域评估
  59. RegionEvaluateURL: 'http://10.36.128.38/ecgap_gis/ICommonApi/kjzbAna',
  60. // 生命周期过滤
  61. LandLifeCycleFilter: {
  62. 生态账簿: '国土调查及变更',
  63. 农业账簿: '国土调查及变更',
  64. 工业账簿: '国土调查及变更',
  65. 居住账簿: '国土调查及变更',
  66. 公共账簿: '国土调查及变更'
  67. },
  68. cesiumTiles: [
  69. {
  70. lat: 120.6607,
  71. lng: 27.759111,
  72. height: 40,
  73. type: "ayjd",
  74. show: true,
  75. url: "http://10.36.128.38/othertileset/QX_AYJD/fds/GetData/tileset.json" //'http://60.191.110.206:49000/model/d7ab19b0453511ebac91874bce83d776/tileset.json'
  76. },
  77. {
  78. lat: 120.6607,
  79. lng: 27.759111,
  80. height: 40,
  81. type: "dsjd",
  82. show: true,
  83. url: "http://10.20.103.116:8081/other/QX_DSJD/fds/GetData/tileset.json" //'http://60.191.110.206:49000/model/d7ab19b0453511ebac91874bce83d776/tileset.json'
  84. },
  85. {
  86. lat: 120.6607,
  87. lng: 27.759111,
  88. height: 40,
  89. type: "xtjd",
  90. show: true,
  91. url: "http://10.20.103.116:8081/other/QX_SCJD/fds/GetData/tileset.json" //'http://60.191.110.206:49000/model/d7ab19b0453511ebac91874bce83d776/tileset.json'
  92. },
  93. {
  94. lat: 120.6607,
  95. lng: 27.759111,
  96. height: 40,
  97. type: "swjd",
  98. show: true,
  99. url: "http://10.20.103.116:8081/other/QX_SWJD/fds/GetData/tileset.json" //'http://60.191.110.206:49000/model/d7ab19b0453511ebac91874bce83d776/tileset.json'
  100. }
  101. ],
  102. mapLayerConfig: {
  103. use: "innerNet",
  104. projection: {
  105. "EPSG:4490": "+proj=longlat +ellps=GRS80 +no_defs" // proj4.defs("EPSG:4490","+proj=longlat +ellps=GRS80 +no_defs");
  106. },
  107. innerNet: {
  108. view: {
  109. center: [120.50451781233137, 27.842990408642258],
  110. zoom: 11.33,
  111. // extent: [], // 限制视图的范围,此范围之外的任何内容都不能在地图上看到。
  112. fitExtent: [119.93054011309823, 27.58795490358181, 121.24821284259042, 28.05212726686306],
  113. minZoom: 7,
  114. maxZoom: 21,
  115. },
  116. layers: [
  117. {
  118. id: 'xzsj', // id 一经指定,切勿轻易修改
  119. name: "现状数据",
  120. enabled: true, // 是否启用,启用才会显示在页面中
  121. expand: false, // 是否展开折叠
  122. visible: true, // 是否显示子图层
  123. opacity: 1, // 图层透明度,取值0~1或false,false禁用透明度调节功能,可选配置
  124. minZoom: undefined, // 此图层可见的最小视图缩放级别(不包括), undefined 为不限制, 可选配置
  125. maxZoom: undefined, // 此图层可见的最大视图缩放级别(包括), undefined 为不限制, 可选配置
  126. hidden: false, // 只在 layerTree 组件里面不显示,代码上依旧能获取到,可选配置
  127. children: [
  128. {
  129. id: 'render',
  130. name: "自定义图层配置",
  131. enabled: false,
  132. visible: false,
  133. serverType: "render", // 图层由配置生成
  134. renderConfig: {
  135. layerType: 'Tile',
  136. layerConfig: {},
  137. sourceType: 'XYZ',
  138. sourceConfig: {
  139. url: "http://t0.tianditu.com/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=d8c6e3fba331097a5bd07e4c42f55d4a",
  140. }
  141. }
  142. },
  143. {
  144. id: 'jcch',
  145. name: "基础测绘",
  146. enabled: true,
  147. expand: false,
  148. visible: false,
  149. base: true, // 是否底图,底图 在 设置 visible-layer-ids 时会跳过,向下传递
  150. children: [
  151. {
  152. id: 'zjsl-lable',
  153. name: "浙江省电子地图注记",
  154. enabled: false,
  155. visible: false,
  156. serverType: "wmts",
  157. wmtsForceUrl: true,
  158. url: "http://10.36.128.38/zjzwfw/zjgt48/e9344cd771484cb38137b37cecc61270/services/wmts/emap_lab/default/oss?request=GetCapabilities",
  159. },
  160. {
  161. id: 'zjsl',
  162. name: "浙江省电子地图",
  163. enabled: false,
  164. visible: false, // 是否显示图层
  165. serverType: "wmts",
  166. wmtsForceUrl: true, // 此配置仅对 serverType: "wmts"有效,瓦片图片访问也使用下面配置的 url
  167. url: "http://10.36.128.38/zjzwfw/zjgt48/904bfdbe621943ed9759477fcd45e459/services/wmts/emap/default/oss?request=GetCapabilities",
  168. },
  169. {
  170. id: 'zjyx-lable',
  171. name: "浙江省遥感影像注记",
  172. enabled: false,
  173. visible: false,
  174. serverType: "wmts",
  175. wmtsForceUrl: true,
  176. url: "http://10.36.128.38/zjzwfw/zjgt49/2003392c13044d3ab3097b0a4328ecf2/services/wmts/imgmap_lab/default/oss?request=GetCapabilities",
  177. },
  178. {
  179. id: 'zjyx',
  180. name: "浙江省遥感影像",
  181. enabled: true,
  182. visible: true,
  183. serverType: "wmts",
  184. wmtsForceUrl: true,
  185. url: 'https://zdzy.zrzyt.zj.gov.cn/gtkj/zjgt48/34048bffdd0d4d148ca4a40da7eade21/services/wmts/imgmap/default/oss?request=getcapabilities'
  186. },
  187. ]
  188. },
  189. {
  190. id: 'tdzy',
  191. name: "土地资源",
  192. enabled: true,
  193. expand: false,
  194. visible: false,
  195. children: [
  196. {
  197. id: 'kjzbzj',
  198. name: "空间账簿(省级)",
  199. enabled: true,
  200. expand: false,
  201. visible: true,
  202. minZoom: 7,
  203. maxZoom: 14,
  204. children: [
  205. {
  206. id: 'STZB',
  207. name: "生态账簿",
  208. enabled: true,
  209. visible: false,
  210. serverType: "ArcGISTile",
  211. url: "https://msyd.zrzyt.zj.gov.cn/zjmapservice/zjgt40/821e71f4a9e444d6aeb03787c7323a63/arcgis/rest/services/GCS330000_1002_KJZB/GCS330000_1002_STZB/MapServer"
  212. },
  213. {
  214. id: 'NYZB',
  215. name: "农业账簿",
  216. enabled: true,
  217. visible: false,
  218. serverType: "ArcGISTile",
  219. url: "https://msyd.zrzyt.zj.gov.cn/zjmapservice/zjgt40/64c48816379f4bb793ee1307ebf0ab80/arcgis/rest/services/GCS330000_1002_KJZB/GCS330000_1002_NYZB/MapServer"
  220. },
  221. {
  222. id: 'GYZB',
  223. name: "工业账簿",
  224. enabled: true,
  225. visible: false,
  226. serverType: "ArcGISTile",
  227. url: "https://msyd.zrzyt.zj.gov.cn/zjmapservice/zjgt40/e83dfa7c24a04b489795ba35ac18ec52/arcgis/rest/services/GCS330000_1002_KJZB/GCS330000_1002_GYZB/MapServer"
  228. },
  229. {
  230. id: 'JZZB',
  231. name: "居住账簿",
  232. enabled: true,
  233. visible: false,
  234. serverType: "ArcGISTile",
  235. url: "https://msyd.zrzyt.zj.gov.cn/zjmapservice/zjgt40/f1683e7b27914f5195fa8b602d7c7f4d/arcgis/rest/services/GCS330000_1002_KJZB/GCS330000_1002_JZZB/MapServer"
  236. },
  237. {
  238. id: 'GGZB',
  239. name: "公共账簿",
  240. enabled: true,
  241. visible: false,
  242. serverType: "ArcGISTile",
  243. url: "https://msyd.zrzyt.zj.gov.cn/zjmapservice/zjgt40/8a15444c2870422eab6c1bed70839567/arcgis/rest/services/GCS330000_1002_KJZB/GCS330000_1002_GGZB/MapServer"
  244. }
  245. ]
  246. },
  247. {
  248. id: 'kjzp',
  249. name: "空间账簿(现状)",
  250. enabled: false,
  251. visible: true,
  252. serverType: "dynamic",
  253. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/kjzb/MapServer",
  254. params: {
  255. layers: "show:0,1,2,3",
  256. layerDefs: {
  257. // "0":"1 = 1"
  258. // "1":"1 = 1"
  259. }
  260. },
  261. legend: {
  262. title: "空间账簿(现状)",
  263. defs: {
  264. "生态账簿": {
  265. color: "rgb(162,196,52)",
  266. query: {
  267. KJLX: "生态空间"
  268. }
  269. },
  270. "农业账簿": {
  271. color: "rgb(255,214,79)",
  272. query: {
  273. KJLX: "农业空间"
  274. }
  275. },
  276. "工业账簿": {
  277. color: "rgb(235,97,56)",
  278. query: {
  279. KJLX: "工业空间"
  280. }
  281. },
  282. "居住账簿": {
  283. color: "rgb(93,196,182)",
  284. query: {
  285. KJLX: "居住空间"
  286. }
  287. },
  288. "公共账簿": {
  289. color: "rgb(224,230,188)",
  290. query: {
  291. KJLX: "公共空间"
  292. }
  293. }
  294. }
  295. }
  296. },
  297. {
  298. id: 'kjzb_wl',
  299. name: "空间账簿(未来)",
  300. enabled: true,
  301. visible: false,
  302. serverType: "dynamic",
  303. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/kjzb_wl/MapServer",
  304. params: {
  305. layers: "show:0,1,2,3",
  306. layerDefs: {
  307. // "0":"1 = 1"
  308. // "1":"1 = 1"
  309. }
  310. },
  311. legend: {
  312. title: "空间账簿(未来)",
  313. defs: {
  314. "生态账簿": {
  315. color: "rgb(162,196,52)",
  316. query: {
  317. KJLX: "生态空间"
  318. }
  319. },
  320. "农业账簿": {
  321. color: "rgb(255,214,79)",
  322. query: {
  323. KJLX: "农业空间"
  324. }
  325. },
  326. "工业账簿": {
  327. color: "rgb(235,97,56)",
  328. query: {
  329. KJLX: "工业空间"
  330. }
  331. },
  332. "居住账簿": {
  333. color: "rgb(93,196,182)",
  334. query: {
  335. KJLX: "居住空间"
  336. }
  337. },
  338. "公共账簿": {
  339. color: "rgb(224,230,188)",
  340. query: {
  341. KJLX: "公共空间"
  342. }
  343. }
  344. }
  345. }
  346. },
  347. {
  348. id: 'stzb_all',
  349. name: "生态账簿",
  350. enabled: true,
  351. expand: false,
  352. visible: true,
  353. children: [
  354. {
  355. id: 'stkj',
  356. name: "生态账簿",
  357. enabled: true,
  358. visible: false,
  359. serverType: "dynamic",
  360. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/stzb/MapServer",
  361. legend: {
  362. title: "生态账簿",
  363. defs: {
  364. "林地": {
  365. color: "rgb(76,230,0)",
  366. query: {
  367. STKJLX: "林地"
  368. }
  369. },
  370. "河流": {
  371. color: "rgb(115,178,255)",
  372. query: {
  373. STKJLX: "河流"
  374. }
  375. },
  376. "湖泊": {
  377. color: "rgb(0,197,255)",
  378. query: {
  379. STKJLX: "湖泊"
  380. }
  381. },
  382. "湿地": {
  383. color: "rgb(112,168,0)",
  384. query: {
  385. STKJLX: "湿地"
  386. }
  387. },
  388. "滩涂": {
  389. color: "rgb(114,137,68)",
  390. query: {
  391. STKJLX: "滩涂"
  392. }
  393. },
  394. "草地": {
  395. color: "rgb(170,255,0)",
  396. query: {
  397. STKJLX: "草地"
  398. }
  399. },
  400. "荒地": {
  401. color: "rgb(168,168,0)",
  402. query: {
  403. STKJLX: "荒地"
  404. }
  405. }
  406. }
  407. }
  408. },
  409. ]
  410. },
  411. {
  412. id: 'nyzb_all',
  413. name: "农业账簿",
  414. enabled: true,
  415. expand: false,
  416. visible: true,
  417. children: [
  418. {
  419. id: 'nykj',
  420. name: "农业账簿",
  421. enabled: true,
  422. visible: false,
  423. serverType: "dynamic",
  424. // url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/yjjbnt/MapServer",
  425. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/GD/MapServer",
  426. legend: {
  427. title: "农业账簿",
  428. defs: {
  429. "耕地": {
  430. color: "rgb(255,255,0)"
  431. }
  432. }
  433. }
  434. },
  435. {
  436. id: 'nykjgd',
  437. name: "耕地",
  438. enabled: true,
  439. visible: false,
  440. serverType: "dynamic",
  441. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/GD/MapServer",
  442. legend: {
  443. title: "耕地",
  444. defs: {
  445. "耕地": {
  446. color: "rgb(255,255,0)"
  447. }
  448. }
  449. }
  450. },
  451. {
  452. id: 'nykjnt',
  453. name: "永久基本农田",
  454. enabled: true,
  455. visible: false,
  456. serverType: "dynamic",
  457. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/yjjbnt/MapServer",
  458. legend: {
  459. title: "永久基本农田",
  460. defs: {
  461. "永久基本农田": {
  462. color: "rgb(255,255,0)"
  463. }
  464. }
  465. }
  466. },
  467. ]
  468. },
  469. {
  470. id: 'gyzb_all',
  471. name: "工业账簿",
  472. enabled: true,
  473. expand: false,
  474. visible: true,
  475. children: [
  476. {
  477. id: 'gykj',
  478. name: "工业账簿",
  479. enabled: true,
  480. visible: false,
  481. serverType: "dynamic",
  482. params: {
  483. layers: "show:0,1",
  484. layerDefs: {
  485. "0": "IS_VALID = 1",
  486. "1": "IS_VALID = 1"
  487. }
  488. },
  489. url: "https://zdzy.zrzyt.zj.gov.cn/arcMapServer3/arcgis/rest/services/zp/klyzy/MapServer",
  490. legend: {
  491. title: "工业账簿",
  492. defs_gykj: {
  493. "可用": {
  494. color: "#55ff00",
  495. query: {
  496. GYTYPE: "可用"
  497. }
  498. },
  499. "已用": {
  500. color: "#ff0000",
  501. query: {
  502. GYTYPE: "已用"
  503. }
  504. }
  505. },
  506. defs: {
  507. "立即可用": {
  508. color: "#4fad5b",
  509. query: {
  510. DKLX: "立即可用"
  511. }
  512. },
  513. "计划要用": {
  514. color: "#2f6eba",
  515. query: {
  516. DKLX: "计划要用"
  517. }
  518. },
  519. "未来能用": {
  520. color: "#f5c241",
  521. query: {
  522. DKLX: "未来能用"
  523. }
  524. },
  525. }
  526. }
  527. },
  528. {
  529. id: 'gykjky',
  530. name: "可用资源",
  531. enabled: true,
  532. visible: false,
  533. serverType: "dynamic",
  534. params: {
  535. layers: "show:0,1",
  536. layerDefs: {
  537. "0": "IS_VALID = 1",
  538. "1": "IS_VALID = 1"
  539. }
  540. },
  541. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/klyzy/MapServer",
  542. legend: {
  543. title: "可用资源",
  544. defs: {
  545. "立即可用": {
  546. color: "#4fad5b",
  547. query: {
  548. DKLX: "立即可用"
  549. }
  550. },
  551. "计划要用": {
  552. color: "#2f6eba",
  553. query: {
  554. DKLX: "计划要用"
  555. }
  556. },
  557. "未来能用": {
  558. color: "#f5c241",
  559. query: {
  560. DKLX: "未来能用"
  561. }
  562. },
  563. }
  564. }
  565. },
  566. {
  567. id: 'gykjyy',
  568. name: "投产项目",
  569. enabled: true,
  570. visible: false,
  571. serverType: "dynamic",
  572. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/gyyd/MapServer",
  573. legend: {
  574. title: "投产项目",
  575. defs: {
  576. "过度": {
  577. color: "#41C0FB",
  578. query: {
  579. LEVEL_: "A"
  580. }
  581. },
  582. "集约": {
  583. color: "#73DDFF",
  584. query: {
  585. LEVEL_: "B"
  586. }
  587. },
  588. "中度": {
  589. color: "#FDD56A",
  590. query: {
  591. LEVEL_: "C"
  592. }
  593. },
  594. "低效": {
  595. color: "#FD866A",
  596. query: {
  597. LEVEL_: "D"
  598. }
  599. }
  600. }
  601. }
  602. },
  603. {
  604. id: 'zjxm',
  605. name: "在建项目",
  606. enabled: true,
  607. visible: false,
  608. serverType: "dynamic",
  609. url: 'http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/gddk_zjxm/MapServer',
  610. // url: "http://10.36.134.67:6080/arcgis/rest/services/wzgyxm/GL_330300_gdsj/MapServer",
  611. legend: {
  612. title: "在建项目",
  613. defs: {
  614. "在建项目": {
  615. color: "rgb(255,0,0)",
  616. },
  617. }
  618. }
  619. },
  620. ]
  621. },
  622. {
  623. id: 'jzzb_all',
  624. name: "居住账簿",
  625. enabled: true,
  626. expand: false,
  627. visible: true,
  628. children: [
  629. {
  630. id: 'jzkj',
  631. name: "居住账簿",
  632. enabled: true,
  633. visible: false,
  634. serverType: "dynamic",
  635. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/jzzb/MapServer",
  636. legend: {
  637. title: "居住账簿",
  638. defs: {
  639. "可用": {
  640. color: "rgb(224,230,188)",
  641. query: {
  642. JZTYPE: "可用"
  643. }
  644. },
  645. "已用": {
  646. color: "rgb(235,97,56)",
  647. query: {
  648. JZTYPE: "已用"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. {
  655. id: 'jzkjky',
  656. name: "居住账簿(可用)",
  657. enabled: true,
  658. visible: false,
  659. serverType: "dynamic",
  660. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/kyjzkj/MapServer",
  661. legend: {
  662. title: "居住账簿(可用)",
  663. defs: {
  664. "农村宅基地": {
  665. color: "rgb(255,170,0)",
  666. query: {
  667. GHYDMC: "农村宅基地"
  668. }
  669. },
  670. "城镇住宅用地": {
  671. color: "rgb(0,197,255)",
  672. query: {
  673. GHYDMC: "城镇住宅用地"
  674. }
  675. }
  676. }
  677. }
  678. },
  679. {
  680. id: 'jzkjyy',
  681. name: "居住账簿(已用)",
  682. enabled: false,
  683. visible: false,
  684. serverType: "dynamic",
  685. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/yyjzkj/MapServer",
  686. legend: {
  687. title: "居住账簿(已用)",
  688. defs: {
  689. "农村宅基地": {
  690. color: "rgb(255,170,0)",
  691. query: {
  692. PZYT: "农村宅基地"
  693. }
  694. },
  695. "城镇住宅用地": {
  696. color: "rgb(0,197,255)",
  697. query: {
  698. PZYT: "城镇住宅用地"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. {
  705. id: 'jzkjyy',
  706. name: "居住账簿(农村宅基地)",
  707. enabled: true,
  708. visible: false,
  709. serverType: "dynamic",
  710. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/yyjzkj/MapServer",
  711. params: {
  712. layers: "show:0,1",
  713. layerDefs: {
  714. "0": "1 = 1",
  715. "1": "1 = 1"
  716. }
  717. },
  718. legend: {
  719. title: "居住账簿",
  720. defs: {
  721. "农村宅基地": {
  722. color: "rgb(255,170,0)",
  723. query: {
  724. PZYT: "农村宅基地"
  725. }
  726. }
  727. }
  728. }
  729. },
  730. {
  731. id: 'jzkjyyzz',
  732. name: "居住账簿(城镇住宅用地)",
  733. enabled: true,
  734. visible: false,
  735. serverType: "dynamic",
  736. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/yyjzkj/MapServer",
  737. params: {
  738. layers: "show:0,1",
  739. layerDefs: {
  740. "0": "1 = 1",
  741. "1": "1 = 1"
  742. }
  743. },
  744. legend: {
  745. title: "居住账簿(已用)",
  746. defs: {
  747. "城镇住宅用地": {
  748. color: "rgb(0,197,255)",
  749. query: {
  750. PZYT: "城镇住宅用地"
  751. }
  752. }
  753. }
  754. }
  755. },
  756. ]
  757. },
  758. {
  759. id: 'ggzb_all',
  760. name: "公共账簿",
  761. enabled: true,
  762. expand: false,
  763. visible: true,
  764. children: [
  765. {
  766. id: 'ggkj',
  767. name: "公共账簿",
  768. enabled: true,
  769. visible: false,
  770. serverType: "dynamic",
  771. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/ggzb/MapServer",
  772. legend: {
  773. title: "公共账簿",
  774. defs: {
  775. "可用": {
  776. color: "rgb(224,230,188)",
  777. query: {
  778. PUBLICTYPE: "可用"
  779. }
  780. },
  781. "已用": {
  782. color: "rgb(235,97,56)",
  783. query: {
  784. PUBLICTYPE: "已用"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. {
  791. id: 'ggkjky',
  792. name: "公共账簿(可用)",
  793. enabled: true,
  794. visible: false,
  795. serverType: "dynamic",
  796. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/kyggkj/MapServer",
  797. legend: {
  798. title: "公共账簿(可用)",
  799. defs: {
  800. "商服用地": {
  801. color: "rgb(223,115,255)",
  802. query: {
  803. GHYDMC: "商服用地"
  804. }
  805. },
  806. "公共管理与公共服务用地": {
  807. color: "rgb(255,127,127)",
  808. query: {
  809. GHYDMC: "公共管理与公共服务用地"
  810. }
  811. },
  812. "交通运输用地": {
  813. color: "rgb(245,202,122)",
  814. query: {
  815. GHYDMC: "交通运输用地"
  816. }
  817. },
  818. "水域及水利设施用地": {
  819. color: "rgb(115,178,255)",
  820. query: {
  821. GHYDMC: "水域及水利设施用地"
  822. }
  823. },
  824. "其他用地": {
  825. color: "rgb(163,255,115)",
  826. query: {
  827. GHYDMC: "其他用地"
  828. }
  829. }
  830. }
  831. }
  832. },
  833. {
  834. id: 'ggkjyy',
  835. name: "公共账簿(已用)",
  836. enabled: true,
  837. visible: false,
  838. serverType: "dynamic",
  839. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/yyggkj/MapServer",
  840. legend: {
  841. title: "公共账簿(已用)",
  842. defs: {
  843. "商服用地": {
  844. color: "rgb(223,115,255)",
  845. query: {
  846. PZYT: "商服用地"
  847. }
  848. },
  849. "公共管理与公共服务用地": {
  850. color: "rgb(255,127,127)",
  851. query: {
  852. PZYT: "公共管理与公共服务用地"
  853. }
  854. },
  855. "交通运输用地": {
  856. color: "rgb(245,202,122)",
  857. query: {
  858. PZYT: "交通运输用地"
  859. }
  860. },
  861. "水域及水利设施用地": {
  862. color: "rgb(115,178,255)",
  863. query: {
  864. PZYT: "水域及水利设施用地"
  865. }
  866. },
  867. "其他用地": {
  868. color: "rgb(163,255,115)",
  869. query: {
  870. PZYT: "其他用地"
  871. }
  872. }
  873. }
  874. }
  875. }
  876. ]
  877. },
  878. {
  879. id: 'sqsx_all',
  880. name: "三区三线",
  881. enabled: true,
  882. expand: false,
  883. visible: true,
  884. children: [
  885. {
  886. id: 'SQSX_STBHHX',
  887. name: "生态保护红线",
  888. enabled: true,
  889. visible: false,
  890. serverType: "dynamic",
  891. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/SQSX_STBHHX/MapServer",
  892. legend: {
  893. title: "生态保护红线",
  894. defs: {
  895. "生态保护红线": {
  896. color: "rgb(0,255,216)",
  897. }
  898. }
  899. }
  900. },
  901. {
  902. id: 'SQSX_YJJBNTBHTB',
  903. name: "永久基本农田保护图斑",
  904. enabled: true,
  905. visible: false,
  906. serverType: "dynamic",
  907. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/SQSX_YJJBNTBHTB/MapServer",
  908. legend: {
  909. title: "永久基本农田保护图斑",
  910. defs: {
  911. "永久基本农田保护图斑": {
  912. color: "rgb(255,198,75)",
  913. },
  914. }
  915. }
  916. },
  917. {
  918. id: 'SQSX_CZKFBJ',
  919. name: "城镇开发边界",
  920. enabled: true,
  921. visible: false,
  922. serverType: "dynamic",
  923. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/SQSX_CZKFBJ/MapServer",
  924. legend: {
  925. title: "城镇开发边界",
  926. defs: {
  927. "城镇集中建设区": {
  928. color: "rgb(200,56,56)",
  929. query: {
  930. GHFQMC: "城镇集中建设区"
  931. }
  932. },
  933. "城镇弹性发展区": {
  934. color: "rgb(197,0,255)",
  935. query: {
  936. GHFQMC: "城镇弹性发展区"
  937. }
  938. },
  939. "特别用途区": {
  940. color: "rgb(62,62,255)",
  941. query: {
  942. GHFQMC: "特别用途区"
  943. }
  944. },
  945. }
  946. }
  947. }
  948. ]
  949. },
  950. ]
  951. },
  952. {
  953. id: 'xzqh',
  954. name: "行政区划",
  955. enabled: true,
  956. expand: false,
  957. visible: false,
  958. children: [
  959. {
  960. id: 'xzqh-s',
  961. name: "市级行政区",
  962. enabled: true,
  963. visible: false,
  964. serverType: "dynamic",
  965. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/XZQ_SJ/MapServer",
  966. },
  967. {
  968. id: 'xzqh-x',
  969. name: "县级行政区",
  970. enabled: true,
  971. visible: false,
  972. serverType: "dynamic",
  973. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/XZQ_XJ/MapServer",
  974. },
  975. {
  976. id: 'xzqh-z',
  977. name: "镇级行政区",
  978. enabled: true,
  979. visible: false,
  980. serverType: "dynamic",
  981. url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/XZQ_ZJ/MapServer",
  982. },
  983. ]
  984. },
  985. ]
  986. },
  987. {
  988. id: 'ghsj', // id 一经指定,切勿轻易修改
  989. name: "规划数据",
  990. enabled: false, // 是否启用,启用才会显示在页面中
  991. expand: false, // 是否展开折叠
  992. visible: true, // 是否显示子图层
  993. opacity: 1, // 图层透明度,取值0~1或false,false禁用透明度调节功能,可选配置
  994. hidden: false, // 只在 layerTree 组件里面不显示,代码上依旧能获取到,可选配置
  995. children: []
  996. },
  997. {
  998. id: 'glsj', // id 一经指定,切勿轻易修改
  999. name: "管理数据",
  1000. enabled: false, // 是否启用,启用才会显示在页面中
  1001. expand: false, // 是否展开折叠
  1002. visible: true, // 是否显示子图层
  1003. opacity: 1, // 图层透明度,取值0~1或false,false禁用透明度调节功能,可选配置
  1004. hidden: false, // 只在 layerTree 组件里面不显示,代码上依旧能获取到,可选配置
  1005. children: []
  1006. },
  1007. {
  1008. id: 'shjj',
  1009. name: "社会经济",
  1010. enabled: true,
  1011. expand: true,
  1012. visible: false,
  1013. children: [
  1014. {
  1015. id: 'shsj',
  1016. name: "社会数据",
  1017. enabled: true,
  1018. expand: false,
  1019. visible: false,
  1020. children: [
  1021. {
  1022. id: 'poi',
  1023. name: "兴趣点",
  1024. enabled: true,
  1025. visible: false,
  1026. opacity: false,
  1027. zIndex: 999,
  1028. serverType: "TileArcGISRest",
  1029. // url: "http://10.36.128.38/tdcsservices/arcgis/rest/services/zp/poi/MapServer",
  1030. url: "http://10.20.103.116:8081/arcgis/rest/services/04GGZY/GGBM_QT_POI_4490/MapServer",
  1031. }
  1032. ]
  1033. },
  1034. ]
  1035. }
  1036. ]
  1037. }
  1038. }
  1039. };