123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- (function (window) {
- let IP=window.localStorage.getItem('IP')
- if(!IP){
- window.localStorage.setItem('IP','10.101.37.13')
- }
- window.applicationConfig = {
- isMapToken: false,// 是否需要获取toekn
- regionName: '某某区',
- projectName: "温州市“天空地”态势感知综合场景应用",
- currentRegion: '320205',
- //三维文件服务主机地址
- fileHostAddress: '/3dHost/upload/',
- arcGisList: [
- {
- hostName: 'arcserver_host',
- url: '10.101.37.25:6080'
- },
- {
- hostName: 'arcgis_host',
- url: '10.101.37.25:6080'
- },
- {
- hostName: 'arcserver26_host',
- url: '10.101.37.18:6080'
- },
- {
- hostName: 'arcgis26_host',
- url: '10.101.37.18:6080'
- },
- ],
- YTH:{
- http:'http://114.215.200.79:6030',
- http2:'http://2.20.42.42:8088/z_user_org_right',
- url:'/LoginApi/tokenChecking',
- param:{
- 'zjugis.api.ticket':'wwkj%26key%26zdww1402'
- }
- },
- //航拍标志点
- HPBZDUrl:'/arcgis_host/arcgis/rest/services/SWZ/SWZHPZP/MapServer',
- // 慧巡查项目空间服务地址
- xcXMJGUrl:'/arcgis_host/arcgis/rest/services/SWZ/XNSLSYLTB/MapServer',
- // xcXMJGUrl:'arcgis_host/arcgis/rest/services/JCSJ/XC_XMGL/MapServer',
- //重大项目保障
- zdxmbzXMGlUrl:'arcgis_host/arcgis/rest/services/SWZ/XNSLSYLTB/MapServer',
- //经营性用地空间服务地址
- jyxdkUrl:'arcgis_host/arcgis/rest/services/CBZX/JYXYD/MapServer',
- baseMap: 'http://60.191.110.206:46080/arcgis/rest/services/WX_XinShanQ/XS_YX/MapServer',
- specialRectificationActionBaseMapUrl:'arcserver26_host/arcgis/rest/services/YGYX/YX2000_2021/MapServer',
- // eyeBetweenStayingUrl: 'http://60.191.110.206:48016/#/noHeader',
- //智慧动态监测iframe的url
- // dynamicMonitoringUrl: 'http://localhost:8082/#/',
- dynamicMonitoringUrlOld: 'http://localhost:8082/#/',
- dtjcJctbServerUrl: 'arcserver_host/arcgis/rest/services/DTJC/DTJC_JCTB/MapServer',
- srid: 4490,
- tileInfo: {
- tileSize: 256,
- origin: [34876800, 10002100],
- extent: [40453740.474700004, 3442540.7754500005, 40557073.819, 3541460.3122000005],
- resolutions: [
- 132.2919312505292,
- 76.35146092731352,
- 38.17573046365676,
- 19.08786523182838,
- 9.543932616046483,
- 4.771966307890949,
- 2.3859831539454746,
- 1.1929915769727373,
- 0.5964957886186606,
- 0.14912394722081113
- ]
- },
- QXSYURL: 'http://60.191.110.206:48005/xishan/qinxie01/%E9%94%A1%E5%B1%B13DTiles/tileset.json',
- cycleTime: 360 * 60 * 1000,//循环时间
- tokenValid: 360 * 60 * 1000,//token 有效时长
- ifOnlyTheLogin: false,//是否唯一登录
- };
- Object.defineProperties(window.applicationConfig, {
- //慧眼守土-实时监测
- eyeBetweenStayingUrl : { //定义属性y
- get : function () { //设置访问器
- return 'http://'+window.localStorage.getItem('IP')+':8082/#/no-header/home-page';
- },
- },
- //慧眼守土-巡查核实
- eyeBetweenWarningUrl : {
- get : function () {
- return 'http://'+window.localStorage.getItem('IP')+':8082/#/no-header/regulatoryWarning';
- },
- },
- //慧眼平台基础ip
- eyeBetweenStayingUrlBase:{
- get : function () { //设置访问器
- return 'http://'+window.localStorage.getItem('IP')+':8082';
- },
- },
- //智慧动态监测
- dynamicMonitoringUrl:{
- get : function () { //设置访问器
- return 'http://'+window.localStorage.getItem('IP')+':8083/#/';
- // return 'http://localhost:8083/#/';
- },
- },
- });
- }(window));
|