config.js 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /**基础地图 */
  2. let BaseMap = {
  3. baiduVec: "http://online3.map.bdimg.com/onlinelabel/?qt=tile&x={0}&y={1}&z={2}&styles=pl&udt=20151021&scaler=1&p=1",
  4. baiduImg: "http://shangetu0.map.bdimg.com/it/u=x={0};y={1};z={2};v=009;type=sate&fm=46&udt=20150504&app=webearth2&v=009&udt=20150601",
  5. // 天地图
  6. tdtImg: "http://t3.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=7ae072fdee55b245b267992f3e66fd0a",
  7. //tdtImgAnn: "http://t0.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=7ae072fdee55b245b267992f3e66fd0a",
  8. //行政区底图
  9. tdtImgAnn: "/arcgis/rest/services/kjgh/XZQH_QX/MapServer/tile/{z}/{y}/{x}",
  10. tdtVec: "http://t2.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=7ae072fdee55b245b267992f3e66fd0a",
  11. tdtVecAnn: "http://t2.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=7ae072fdee55b245b267992f3e66fd0a",
  12. arcImg: `https://106.14.159.47:6443/`,
  13. cesiumDSM: "http://192.168.100.111:8001/3196C7C60C074D2A8BA9B07241A4D298/terrain/DSM/map/file/wmts/bil/DSM_ORDOS_/",
  14. jxMap: "",
  15. //tdtImg: "http://192.168.100.111:9082/map/file/img/TILEKEY/IMAGE/EPSG_3857/png/DOM_SDDT/{z}/{x}/{y}?ol=false",
  16. //tdtImg: "/maps/img/{z}/{x}/{y}.jpg",
  17. //tdtVec: "/maps/vec/{z}/{x}/{y}/x={x}&y={y}&z={z}.png",
  18. // tdtImgAnn: "/arcgis/rest/services/kjgh/XZQDS/MapServer/tile/{z}/{y}/{x}",
  19. // jxMap: "/arcgis/rest/services/kjgh/CZKFBJ/MapServer/tile/{z}/{y}/{x}",
  20. };
  21. /**省平台系统接口地址 */
  22. let SHENG_API = "http://192.168.100.252:8080";
  23. let TOKEN_STR = "access_token";
  24. /**单点登录 */
  25. // let SSOUrl = 'http://127.0.0.1:8000/swsso/login?service=http://127.0.1:8081';
  26. let JcptSSOExitUrl = `http://192.168.60.240:8000/swsso/logout?service=http://192.168.60.240:8000/swsso`;
  27. let SSOExitUrl = `/logout=logout`;
  28. // let SSOUrl = `http://192.168.60.240:8000/swsso/login?service=http://192.168.60.240:5000/`;
  29. let SSOTIcketUrl = `http://192.168.60.240:8000/swsso/validate`;
  30. /**单点登录 */
  31. // let SSOUrl = 'http://127.0.0.1:8000/swsso/login?service=http://127.0.1:8081';
  32. let SSOUrl = `http://192.168.60.240:8000/swsso/login?service=${window.location.protocol}//${window.location.host}${window.location.pathname}`;
  33. /**基础信息平台 */
  34. let JcptUrl = "http://192.168.100.111:8893";
  35. /**社会公众服务 */
  36. // let GzfwUrl = 'http://192.168.1.8:5050';
  37. let GzfwUrl = "/shfw/index";
  38. /**行政区代码 */
  39. let XZQ_DM = "150500";
  40. /**行政区名称 */
  41. let XZQ_MC = "乌兰察布市";
  42. /**默认地图中心 */
  43. let MapCenter = {
  44. point: [121.662, 43.798],
  45. extent: [13250478.427, 5140873.799, 13807458.564, 5771928.021],
  46. };
  47. /**实施监督 承载力监测预警中的 Echarts 地图*/
  48. let XzqCenter = {
  49. 科尔沁区: [122.308006, 43.674752],
  50. 霍林郭勒市: [119.555, 45.5132],
  51. 开鲁县: [121.348, 43.8442],
  52. 科尔沁左翼后旗: [122.79, 43.2562],
  53. 科尔沁左翼中旗: [122.517, 44.1062],
  54. 库伦旗: [121.564, 42.8552],
  55. 奈曼旗: [120.858, 43.0292],
  56. 扎鲁特旗: [120.582, 44.9072],
  57. };
  58. /** 实施监督 承载力监测预警中的动态评估 Echarts 图表 */
  59. let XZQ_CHILD = [
  60. "科尔沁区",
  61. "霍林郭勒市",
  62. "开鲁县",
  63. "科尔沁左翼后旗",
  64. "科尔沁左翼中旗",
  65. "库伦旗",
  66. "奈曼旗",
  67. "扎鲁特旗",
  68. ];
  69. let XZQ_DATA = [231, 200, 150, 80, 150, 110, 130, 153];
  70. /** 辅助实施 辅助基本农田分析 注:label值固定不能改且不能重复,修改图层显示名称可以改name */
  71. let TckzData = [{
  72. id: "fa65c270d6e142e5b5630238e5aec46c",
  73. name: "生态保护红线",
  74. label: "生态保护红线",
  75. checked: false,
  76. layer: null,
  77. },
  78. {
  79. id: "ea0f51b5d3194f059c6e2a05706aa923",
  80. name: "城镇开发边界",
  81. label: "城镇开发边界",
  82. checked: false,
  83. layer: null,
  84. },
  85. {
  86. id: "65919db0a4974ea9be4cfa3e2e792ed9",
  87. name: "永久基本农田",
  88. label: "永久基本农田",
  89. checked: false,
  90. layer: null,
  91. },
  92. {
  93. id: "87973413b90a41348af3cd41f7ce43b9",
  94. name: "现状用地用海",
  95. label: "现状用地用海",
  96. checked: false,
  97. layer: null,
  98. },
  99. {
  100. id: "5376a8a1657149ba99e93665ef6b9c7f",
  101. name: "坡度图",
  102. label: "坡度图",
  103. checked: false,
  104. layer: null,
  105. },
  106. ];
  107. /** 字典 */
  108. let SYS_DICT = {
  109. Datas: {},
  110. GetDict: function(type) {
  111. return this.Datas[type];
  112. },
  113. GetLabel: function(type, key) {
  114. var dict = this.Datas[type];
  115. if (!dict) return key;
  116. else {
  117. var dict = dict.filter((t) => t.value == key);
  118. if (dict.length < 1) return key;
  119. return dict[0].label;
  120. }
  121. },
  122. };
  123. /** 图层资源 */
  124. let SYS_LAYERS = {
  125. _KJGH: "/arcgis/rest/services/kjgh/{0}/MapServer",
  126. _JCPT: "/arcgis/rest/services/basepordos/{0}/MapServer",
  127. DEM: "/arcgis/rest/services/kjgh/DEM/MapServer",
  128. //KJGH
  129. XZQXZ: "/arcgis/rest/services/kjgh/XZQXZ/MapServer", // 乡镇
  130. XZQXS: "/arcgis/rest/services/kjgh/XZQXS/MapServer", // 旗县
  131. XZQDS: "/arcgis/rest/services/kjgh/XZQDS/MapServer", // 市级
  132. XZYDYH: "/arcgis/rest/services/kjgh/XZYDYH/MapServer",
  133. FZXZ: "/arcgis/rest/services/ghyzt/FZXZ/MapServer",
  134. FXPJ_KJCT: "/arcgis/rest/services/ghyzt/FXPJ_KJCT/MapServer",
  135. HGXSC: "/arcgis/rest/services/ghyzt/HGXSC/MapServer/",
  136. CZKFBJ: "/arcgis/rest/services/kjgh/CZKFBJ/MapServer",
  137. STBHZYXPJJG: "/arcgis/rest/services/kjgh/STBHZYXPJJG/MapServer", // 生态保护红线适宜性评价
  138. NYSCSYXPJJG: "/arcgis/rest/services/kjgh/NYSCSYXPJJG/MapServer", // 农业生产适宜性评价
  139. CZJSSYXPJJG: "/arcgis/rest/services/kjgh/CZJSSYXPJJG/MapServer", // 城镇建设适宜性评价
  140. ZZYSCSYXPJJG: "/arcgis/rest/services/kjgh/ZZYSCSYXPJJG/MapServer", // 种植业生产适宜性评价
  141. XMYSCSYXPJJG: "/arcgis/rest/services/kjgh/XMYSCSYXPJJG/MapServer", // 畜牧业生产适宜性评价
  142. //ZXCQ
  143. ZXCQGHYDYH: "/arcgis/rest/services/kjgh/XZYDYH/MapServer",
  144. //JCPT
  145. // DLTB: "/arcgis/rest/services/BASEP/DLTB/MapServer",
  146. SHYQZD: "/arcgis/rest/services/BDC/150602SHYQZD_DB/MapServer", //使用权宗地-鄂尔多斯现场
  147. ZRZ: "/arcgis/rest/services/BDC/150602ZRZ/MapServer", //自然幢-鄂尔多斯现场
  148. DLTB: "/arcgis/rest/services/basepordos/DLTB/MapServer",
  149. // SHYQZD:"/arcgis/rest/services/BDC/ZD/MapServer",//使用权宗地-WLCB
  150. // ZRZ:"/arcgis/rest/services/BDC/FW/MapServer",//自然幢-WLCB
  151. QYPG: "/arcgis/rest/services/zxgh/ZXGH_QYPG/MapServer", //区域评估
  152. };
  153. // 切换用户--单点登录
  154. let SYS_USERS = [{
  155. title: "科尔沁区",
  156. username: "KEQ1"
  157. }, {
  158. title: "科尔沁左翼中旗",
  159. username: "KZZQ1"
  160. }, {
  161. title: "科尔沁左翼后旗",
  162. username: "KZHQ1"
  163. }, {
  164. title: "开鲁县",
  165. username: "KL1"
  166. }, {
  167. title: "库伦旗",
  168. username: "KUL1"
  169. }, {
  170. title: "奈曼旗",
  171. username: "NM1"
  172. }, {
  173. title: "扎鲁特旗",
  174. username: "ZLT1"
  175. }, {
  176. title: "霍林郭勒市",
  177. username: "HLGL1"
  178. }]
  179. // 辅助实施 在建设项目管理
  180. let ZJSXMGLData = {
  181. // 已批未建图层bsm
  182. YPWJData: {
  183. bsm: "78f25f473904425697d8879501a469aa"
  184. },
  185. }
  186. // 资源目录-国土空间规划数据节点bsm ——规划成果浏览
  187. let GHCG_BSM = '201'
  188. // 一张图地图经济/人口数据应用统计 经济/人口图层
  189. let JJ_BSM = "65919db0a4974ea9be4cfa3e2e792ed9"; // GDP经济数据图层bsm
  190. let RK_BSM = ""; // 人口数据图层bsm
  191. let JJ_XZQ = "SW_XZQH"; // 经济图层行政区代码属性字段名称
  192. let RK_XZQ = "SW_XZQH"; // 人口图层行政区代码属性字段名称