config_公司环境.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. import pipeConfig from "./pipeConfig.js"
  2. export const pipeConfigInfo= pipeConfig
  3. /*
  4. * 云服务器上arcgis初始化配置
  5. */
  6. export const esriConfig = {
  7. 'baseUrl': 'http://221.182.8.141:3308/arcgis_js_api/v416/arcgis_js_api/library/4.16/dojo/dojo.js',
  8. 'baseCssUrl': 'http://221.182.8.141:3308/arcgis_js_api/v416/arcgis_js_api/library/4.16/esri/css/main.css',
  9. 'font_url': 'http://221.182.8.141:3308/arcgis_js_api/v416/arcgis_js_api/library/fonts/'
  10. }
  11. export const appconfig = {
  12. // 底图是否采用在线地图,true在线,false离线
  13. 'isonline': true,
  14. // 是否根据后台配置服务
  15. 'isloadServer': false,
  16. // 天地图秘钥 567b65214b47c6cd6a731e3bd8cd03da 700ea8c1e2dd873c349dc880169fd96d 9248d7f5b183142e4f1d5c908fba42e0
  17. // 'tianMapKey': '9248d7f5b183142e4f1d5c908fba42e0',
  18. 'tianMapKey':"d42ff494ace495b84079d1d466533f08",
  19. // 地图初始视角中心 马边:103.543616,28.833446, 陵水:110.03174,18.51504 德昌 102.18017 27.40482
  20. 'initCenter': { 'x': 103.84566, 'y': 30.07039 },
  21. // 打印模板
  22. 'templateFolder': 'E:/Datas/客户部署数据/PrintTemplates',
  23. // 地图初始视角级别
  24. 'initZoom': 2,
  25. // 'usertoken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJVc2VySUQiOiIiLCJVU0VSTkFNRSI6IiIsIlJFQUxOQU1FIjoiIiwiV0tJRCI6NDU0NCwiUkFOR0U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OiJYUlRZIiwiUkFOR0VGSUVMRCI6bnVsbCwiQ09ERSI6IlhSVFkiLCJDT05ORUNUU1RSIjoiREFUQUJBU0U9cGdfbWVpc2hhbl93YXRlcjtORVROQU1FPTE5Mi4xNjguMi4yNDU7U0VSVkVSPTE5Mi4xNjguMi4yNDU7VVNFUklEPXNkZV9tZWlzaGFuO1BBU1NXT1JEPXNkZV9tZWlzaGFuO1BPUlQ9NTQzMjtWRVJTSU9OPXNkZS5ERUZBVUxUO0RCX0NMSUVOVD1Qb3N0Z3JlU1FMOyIsIkJvcm5UaW1lIjowLCJBcHBJRCI6bnVsbH0.i3pBpXAp4Cv5puUjbLMAnkPRiXtFd2R8RJuTT7N9QHd9QQg_l_NqGZcF6kymlNfCRTUkkNtVbOvespjL2LSQTQ",
  29. // 地图资源服务
  30. 'gisResource': {
  31. 'tian_online_vector': {
  32. 'groupname': '天地图在线矢量服务',
  33. 'type': 'webTiled',
  34. 'config': [
  35. { 'name': '矢量地图', 'url': 'http://{subDomain}.tianditu.com/DataServer?T=vec_c&x={col}&y={row}&l={level}&tk=' }
  36. ]
  37. },
  38. 'tian_online_raster': {
  39. 'groupname': '天地图在线影像服务',
  40. 'type': 'webTiled',
  41. 'config': [
  42. { 'name': '影像地图', 'url': 'http://{subDomain}.tianditu.com/DataServer?T=img_c&x={col}&y={row}&l={level}&tk=' }
  43. ]
  44. },
  45. 'tian_online_vector_label': {
  46. 'groupname': '天地图在线矢量标注服务',
  47. 'type': 'webTiled',
  48. 'config': [
  49. { 'name': '矢量标注图', 'url': 'http://{subDomain}.tianditu.com/DataServer?T=cva_c&x={col}&y={row}&l={level}&tk=' }
  50. ]
  51. },
  52. 'tian_online_raster_label': {
  53. 'groupname': '天地图在线影像标注服务',
  54. 'type': 'webTiled',
  55. 'config': [
  56. { 'name': '影像标注图', 'url': 'http://{subDomain}.tianditu.com/DataServer?T=cia_c&x={col}&y={row}&l={level}&tk=' }
  57. ]
  58. },
  59. 'tian_offline_raster_label': {
  60. 'groupname': '天地图离线标注图服务',
  61. 'type': 'tiled',
  62. 'config': [
  63. { 'name': '标注地图', 'url': 'http://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_imgano/MapServer' }
  64. ]
  65. },
  66. 'tian_offline_vector_label': {
  67. 'groupname': '天地图离线标注图服务',
  68. 'type': 'tiled',
  69. 'config': [
  70. { 'name': '标注地图', 'url': 'http://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_vecano/MapServer' }
  71. ]
  72. },
  73. 'tian_offline_raster': {
  74. 'groupname': '天地图离线影像图服务',
  75. 'type': 'tiled',
  76. 'config': [
  77. { 'name': '影像地图', 'url': 'http://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_img/MapServer' }
  78. ]
  79. },
  80. 'tian_offline_vector': {
  81. 'groupname': '天地图离线矢量服务',
  82. 'type': 'tiled',
  83. 'config': [
  84. { 'name': '矢量地图', 'url': 'https://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_vec/MapServer' }
  85. ]
  86. },
  87. 'river_thema': {
  88. 'groupname': '水系专题图服务',
  89. 'type': 'dynamic',
  90. 'config': [
  91. { 'name': '水系专题图', 'url': 'http://183.255.30.6:6080/arcgis/rest/services/xrty/pipe_river/MapServer' }
  92. ]
  93. },
  94. 'business_map': {
  95. 'groupname': '离线业务地图服务',
  96. 'type': 'dynamic',
  97. 'config': [
  98. { 'name': '业务地图', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer' }
  99. ]
  100. },
  101. 'print': {
  102. 'groupname': '打印服务',
  103. 'config': [
  104. { 'name': '打印地图', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/xrty/TyswPrint/GPServer/TFPrint/execute' }
  105. ]
  106. },
  107. 'geometry': {
  108. 'groupname': '地图图形操作工具',
  109. 'type': 'tiled',
  110. 'config': [
  111. { 'name': '地图工具', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer' }
  112. ]
  113. },
  114. 'layer_name': {
  115. 'groupname': '获取图层名称服务',
  116. 'config': [
  117. { 'name': '图层名称', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer/exts/TFGeoAPISOE/getLayerInfor' }
  118. ]
  119. },
  120. 'field_intersect': {
  121. 'groupname': '获取重复字段',
  122. 'config': [
  123. { 'name': '字段名称', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer/exts/TFGeoAPISOE/fieldIntersect' }
  124. ]
  125. },
  126. 'fieldUniqueValue': {
  127. 'groupname': '获取字段唯一值',
  128. 'config': [
  129. { 'name': '字段唯一', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer/exts/TFGeoAPISOE/getFieldUniqueValue' }
  130. ]
  131. },
  132. 'statistic': {
  133. 'groupname': '属性统计',
  134. 'config': [
  135. { 'name': '属性统计', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer/exts/TFGeoAPISOE/statistic' }
  136. ]
  137. },
  138. 'horizental_section_analysis': {
  139. 'groupname': '横剖面分析',
  140. 'config': [
  141. { 'name': '横剖面分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer/exts/TFGeoAPISOE/HorizentalSectionAnalysis' }
  142. ]
  143. },
  144. 'vertical_section_analysis': {
  145. 'groupname': '纵剖面分析',
  146. 'config': [
  147. { 'name': '纵剖面分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PIPE_JS_MEISHAN_PG/MapServer/exts/TFGeoAPISOE/VerticalSectionAnalysis' }
  148. ]
  149. },
  150. 'shutOff_valve_extend_analysis': {
  151. 'groupname': '关阀扩展分析',
  152. 'config': [
  153. { 'name': '关阀扩展分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/xrty/tyswgp/GPServer/ShutOffValveExtendTysw' }
  154. ]
  155. },
  156. 'shutOff_valve_analysis': {
  157. 'groupname': '关阀分析',
  158. 'config': [
  159. { 'name': '关阀分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/xrty/tyswgp/GPServer/ShutOffValveAnalyzeTysw' }
  160. ]
  161. },
  162. 'burst_pipe_analyze_analysis': {
  163. 'groupname': '爆管分析',
  164. 'config': [
  165. { 'name': '爆管分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/xrty/tyswgp/GPServer/BurstPipeAnalyzeTysw' }
  166. ]
  167. },
  168. 'connected_analysis': {
  169. 'groupname': '连通性分析',
  170. 'config': [
  171. { 'name': '连通性分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/xrty/tyswgp/GPServer/ConnectedAnalyzeTysw' }
  172. ]
  173. },
  174. // 'path_analysis': {
  175. // 'groupname': '路径分析',
  176. // 'config': [
  177. // { 'name': '路径分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/xrty/tyswgp/GPServer/PathAnalyzeTysw' }
  178. // ]
  179. // },
  180. 'trace_downStream_analyze': {
  181. 'groupname': '下游追踪分析',
  182. 'config': [
  183. { 'name': '下游追踪分析', 'url': 'http://183.255.30.6:6080/arcgis/rest/services/hnls/lsswgp/GPServer/TraceDownstreamAnalyze' }
  184. ]
  185. },
  186. 'path_analysis': {
  187. 'groupname': '路径分析',
  188. 'config': [
  189. { 'name': '路径分析', 'url': 'http://221.182.8.141:6080/arcgis/rest/services/MSSW/PathAnalyze/GPServer/PathAnalyzeTysw' }
  190. ]
  191. },
  192. },
  193. //图层的相关信息,这里的图层需要与发布的图层服务一直,后续如果图层有调整,则统一调整此处即可
  194. "layerInfo":{
  195. "pipe":17
  196. }
  197. }
  198. /**
  199. * 轮询时机设置
  200. */
  201. export const notificationInterval = 30000
  202. export const homeInterval = 60000
  203. /**
  204. * 客户环境水力模型配置
  205. */
  206. export const hyduralicsMenus = [
  207. {
  208. name: 'onlineForecast',
  209. title: '在线预测',
  210. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/monitoring'
  211. },
  212. {
  213. name: 'smartScheduling',
  214. title: '智能调度',
  215. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/smart'
  216. },
  217. {
  218. name: 'schedulingPlan',
  219. title: '调度预案',
  220. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/scheduling'
  221. },
  222. {
  223. name: 'planEvaluation',
  224. title: '规划评估',
  225. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/plan'
  226. },
  227. {
  228. name: 'pipeFushing',
  229. title: '管道冲洗',
  230. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/wash'
  231. },
  232. {
  233. name: 'riskAssessment',
  234. title: '风险评估',
  235. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/risk'
  236. },
  237. {
  238. name: 'hydrualicsSysSetting',
  239. title: '系统设置',
  240. url: 'https://192.168.100.201/JinTangWDWebApp/#/single/system'
  241. }
  242. ]