管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-03-09 7d8e431ca2eda255dc8f6f3605cdfcfd3cc1dcf5
public/config/config.js
@@ -1,10 +1,12 @@
var isWeb = location.hostname.indexOf("103.85.165.") > -1;
//var isWeb = location.hostname.indexOf("103.85.165.") > -1;
var isWeb = true;
var webHost = isWeb ? location.hostname + ":8052" : '192.168.20.106' + ":12316";
var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.20.205' + ":8088";
// var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.16.162' + ":12316";
var fmeHost = isWeb ? location.hostname + ":8051" : '192.168.20.205' + ":88";
var fmeHost = isWeb ? "103.85.165.99" + ":8051" : '192.168.20.205' + ":88";
var iisHost = isWeb ? location.hostname + ":8050" : '192.168.20.205' + ":80";
var iisHost = isWeb ? "103.85.165.99" + ":8050" : '192.168.20.205' + ":80";
var menuStartName = "管道基础大数据平台";
@@ -16,17 +18,17 @@
var socketUrl = 'ws://' + webHost + '/server/ws/select';
// GeoServerUrl
var geoServerURl = 'http://192.168.20.205:8088//geoserver/LF/wms';
var geoServerURl = 'http://' + webHost + '/geoserver/LF/wms';
var geoserverWFS = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Abs_project&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
var geoserverWFSLine = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Am_pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
// 模型加载地址
var modelUrl = LFData + '/tileset/SN/tileset.json';
var modelUrl = LFData;
// DEM
var demLayer = 'http://192.168.20.55/LFData/dem';
var demLayer = LFData + '/dem';
// 综合展示
window.sceneConfig = {
@@ -37,11 +39,20 @@
  // SG地址
  SGUrl: "http://" + iisHost + "/SG/Elevation",
  // Fly地址
  fly: 'http://' + iisHost + '/LFData/fly/' + (isWeb ? "lfy_web.fly" : "lf_127.fly"),
  // fly: 'http://' + iisHost + '/LFData/fly/' + (isWeb ? "lfy_web.fly" : "lf_127.fly"),
  fly: 'http://' + iisHost + '/LFData/fly/' + (isWeb ? "lfgd.fly" : "lfgd_127.fly"),
  //
  positionBtn: [],
};
//工点信息表
var workSite = [
  {
    name: "勘察信息表",
    table: "s_survey_information",
    ns: 'bs',
  },
]
var dirTemplateFile = '工程项目-目录管理模V2023030901.xlsx'
var gaoDeBaseUrl = [{
  url: 'http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}',
  label: '高德矢量',