| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- /*
- * @Descripttion: 配置文件
- * @Author: sujunling
- * @Date: 2025-05-28 18:37:18
- */
- /*
- *公司初始化配置
- */
- export const esriConfig = {
- 'baseUrl': 'http://221.182.8.141:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/dojo/dojo.js',
- 'baseCssUrl': 'http://221.182.8.141:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/esri/css/main.css',
- 'font_url': 'http://221.182.8.141:8080/arcgis_js_api/v416/arcgis_js_api/library/fonts/',
- }
- export const iserverConfig = {
- // 'baseUrl': 'http://117.174.10.73:8090/iserver/'
- 'baseUrl': 'http://221.182.8.141:8090/iserver/'
- }
- export const getResultList = {
- coordinatedEvaluationUrl: "https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport2/data/response.json",
- // coordinatedEvaluationUrl: "./static/response.json",
- analyseDataUrl: "https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport2/analyze_epc_synergy",
- problemUrl: "https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport3/data/response.json",
-
- // problemUrl: "./static/response-wt.json",
- problemFileUrl: "https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport3/process_documents",
- sgjdmn_init: 'https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport1/static/data/testData.json',
- sgjdmn_analysis: 'https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport1/run',
- fileUrl: 'https://tgdcepc.ctg.com.cn:8443/gis/decisionsupport1/upload-file',//下载
- downloadUrl: '',//下载
- // sgjdmn_init: './static/testData.json',
- // sgjdmn_analysis: 'http://127.0.0.1:7023/run',
- // fileUrl: 'http://127.0.0.1:7023/upload-file',//下载
- // downloadUrl: '',//下载
- goOut:"https://tgdcepc.ctg.com.cn:8443/bimp/#/login"
- }
- //退出登录的地址
- export const appconfig = {
- // 底图是否采用在线地图,true在线,false离线
- 'isonline': true,
- // 是否根据后台配置服务
- 'isloadServer': true,
- // 天地图秘钥
- // 'tianMapKey': '700ea8c1e2dd873c349dc880169fd96d',
- 'tianMapKey': '9248d7f5b183142e4f1d5c908fba42e0',
- // 打印模板
- 'templateFolder': 'D:/xrty/template',
- // 地图初始视角中心
- // 临时使用
- // 当前地图坐标系, 用于转换
- 'currPRJ': '4547',
- 'currCenter': { "lon": "113.17326715436977", "lat": "29.37027846440258", "height": "50159.21860055598" },
- 'initLayers': 'pipemap&&smlayergroup', // 用于配置图层树 pipemap&&group
- // 地图初始视角级别
- 'initZoom': 15,
- // token
- 'usertoken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJVc2VySUQiOiIiLCJVU0VSTkFNRSI6IiIsIlJFQUxOQU1FIjoiIiwiV0tJRCI6NDU0NCwiUkFOR0UiOiJYUlRZIiwiUkFOR0VGSUVMRCI6bnVsbCwiQ09ERSI6IlhSVFkiLCJDT05ORUNUU1RSIjoiREFUQUJBU0U9b3JjbDtORVROQU1FPTE5Mi4xNjguMi4yNDIvb3JjbDtTRVJWRVI9MTkyLjE2OC4yLjI0MjtVU0VSSUQ9dGZfeHJ0eV9nZW87UEFTU1dPUkQ9dGZfeHJ0eV9nZW87UE9SVD0xNTIxQDUxNTEvdGNwO1ZFUlNJT049c2RlLkRFRkFVTFQiLCJCb3JuVGltZSI6MCwiQXBwSUQiOm51bGx9.bMNoX6nsvNYukk47_UnT9IHGlNIWclbmiXTj3ak1i5KuF5LGexfwV7TwF80nP08GEPaNwScgk7lbJkRHcqtT8w',
- }
- export function setParams(geoInfo) {
- console.log('设置坐标')
- // const parmas = {
- // '宜昌': { proj: '4546', center: { "lon": "111.291353", "lat": "30.705687", "height": "30159.21860055598" } },
- // '岳阳': { proj: '4547', center: { "lon": "113.17326715436977", "lat": "29.37027846440258", "height": "30159.21860055598" } },
- // }
- let { wkid: proj, geo_info: center } = geoInfo
- appconfig.currCenter = center
- appconfig.currPRJ = proj
- //AppX.appConfig.initPosition = center
- }
|