123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <script src="./libs/d3.v4.min.js"></script>
- <script src="./libs/d3.layout.cloud.js"></script>
- <script src="./libs/jquery-1.11.3.min.js"></script>
- <script src="./libs/commonArrayList.js"></script>
- <script src="./libs/commonMap.js"></script>
- <link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
- <link rel="base_aui" href="./element-theme/blue/aui.css">
- <script type="text/javascript" src="./kmedia/kmedia.js"></script>
- <!-- 站点配置 -->
- <script>
- window.SITE_CONFIG = {};
- window.SITE_CONFIG['isMapOnProduct'] = true
- window.SITE_CONFIG['jsCookies'] = {}
- window.SITE_CONFIG['version'] = 'v2.0.0';
- window.SITE_CONFIG['nodeEnv'] = '<%= process.env.VUE_APP_NODE_ENV %>';
- window.SITE_CONFIG['apiURL'] = ''; // api请求地址
- window.SITE_CONFIG['storeState'] = {}; // vuex本地储存初始化状态(用于不刷新页面的情况下,也能重置初始化项目中所有状态)
- window.SITE_CONFIG['contentTabDefault'] = { // 内容标签页默认属性对象
- 'name': '', // 名称, 由 this.$route.name 自动赋值(默认,名称 === 路由名称 === 路由路径)
- 'params': {}, // 参数, 由 this.$route.params 自动赋值
- 'query': {}, // 查询参数, 由 this.$route.query 自动赋值
- 'menuId': '', // 菜单id(用于选中侧边栏菜单,与this.$store.state.sidebarMenuActiveName进行匹配)
- // 'currentMenuItem': {}, // 当前选中一级菜单菜单
- 'title': '', // 标题
- 'isTab': true, // 是否通过tab展示内容?
- 'iframeURL': '' // 是否通过iframe嵌套展示内容? (以http[s]://开头, 自动匹配)
- };
- window.SITE_CONFIG['menuList'] = []; // 左侧菜单列表(后台返回,未做处理)
- window.SITE_CONFIG['permissions'] = []; // 页面按钮操作权限(后台返回,未做处理)
- window.SITE_CONFIG['dynamicRoutes'] = []; // 动态路由列表
- window.SITE_CONFIG['dynamicMenuRoutes'] = []; // 动态(菜单)路由列表
- window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false; // 动态(菜单)路由是否已经添加的状态标示(用于判断是否需要重新拉取数据并进行动态添加操作)
- window.SITE_CONFIG['isNavbar'] = true;// 是否展示navbar内容?
- window.SITE_CONFIG['isSidebar'] = true;// 是否展示sidebar内容?
- </script>
- <!-- 开发环境 -->
- <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
- <script>
- // window.SITE_CONFIG['apiURL'] = 'http://124.225.17.80:8120/sgyztapi';
- // window.SITE_CONFIG['mapConfigName'] = 'mapConfig_3857'; // 高德地图
- // window.SITE_CONFIG['poihost'] = 'http://124.225.17.80:8120/sgyztapi'; // 互联网接口地址
- // window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc'; // 互联网船舶图层名
- // window.SITE_CONFIG['apiURL'] = 'http://localhost:8200/sgyztapi';
- window.SITE_CONFIG['lockURL'] = 'http://10.110.31.81/odae/clue/Anticipation/getLock'
- window.SITE_CONFIG['fxypURL'] = 'http://10.110.31.81/#/clueJudge/clueAllocation'
- // window.SITE_CONFIG['apiURL'] = 'http://127.0.0.1:8200/sgyztapi';
- window.SITE_CONFIG['apiURL'] = 'http://10.110.35.104/sgyztapi';
- window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326'; // 测绘局地图
- // window.SITE_CONFIG['poihost'] = 'http://localhost:8082'; // 政务外网接口地址
- window.SITE_CONFIG['poihost'] = 'http://10.110.35.104'; // 政务外网接口地址
- window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc_ss,zt_cbzt_hc_ss,zt_cbzt_yc_ss,zt_cbzt_qt_ss,zt_cbzt_ld_ss,zt_cbzt_sw_ss,zt_cbzt_wz_ss,zt_cbzt_gz_ss,zt_cbzt_tc_ss,zt_cbzt_yhc_ss,zt_cbzt_gc_ss'; // 政务外网船舶图层名
- window.SITE_CONFIG['carListName'] = 'zt_clzt_gps_ss,zt_clzt_gps_gj'; // 政务外网车辆图层名
- window.SITE_CONFIG['mainLoginPage'] = 'http://10.110.35.47:80/#/login'; // 总平台登陆页面
- window.SITE_CONFIG['tuliUrl'] = 'http://10.110.35.104/api/poi/allPOILayerImgInfo'; // 图例接口
- // window.SITE_CONFIG['apiURL'] = 'http://10.110.37.15:31420/sgyztapi'; // 本地测试环境
- // window.SITE_CONFIG['apiURL'] = 'http://59.212.10.39:8200/sgyztapi'; // 本地测试环境
- // window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326'; // 测绘局地图
- // window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80/sgyztapi'; // 互联网接口地址
- // window.SITE_CONFIG['shipListName'] = 'zt_cbzt_sw_ss,zt_cbzt_zc_ss'; // 互联网船舶图层名
- window.SITE_CONFIG['lssListName'] = 'zt_lsszt_ss,zt_lsszt_gj'; // 政务外网低慢小图层名
- window.SITE_CONFIG['wgyListName'] = 'cz_czlltc_wgy';
- window.SITE_CONFIG['lssName'] = 'zt_lsszt_ss'; // 政务外网低慢小图层名
- window.SITE_CONFIG['wgyName'] = 'cz_czlltc_wgy'; // 政务外网网格员图层名
- window.SITE_CONFIG['routeUrl'] = 'http://59.212.37.22:80/ime-cloud/rest/route/plan'; // 政务外网-测绘局路线规划地址
- window.SITE_CONFIG['jingqing'] = 'xs_dmxjcyj,xs_cydtjkyj,xs_znydwxdyc,xs_axtxsbbdyj,xs_czfwfxfx,xs_ryjcyj,xs_jrfxpg,xs_zdsxwdfxpgmx,xs_wghjxpjmx,xs_shwdzsfxmx,xs_sjflgfsqgzmx,xs_dspyqcjfxxt,xs_qmcj,xs_ymlrydr,xs_appsb,xs_ptlz,xs_cljcyj,xs_ssp,xs_cb_cbyj'; // 警情图层名
- </script>
- <% } %>
- <!-- 集成测试环境 -->
- <% if (process.env.VUE_APP_NODE_ENV==='prod:sit' ) { %>
- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.12.225:31904';</script>
- <% } %>
- <!-- 验收测试环境 -->
- <% if (process.env.VUE_APP_NODE_ENV==='prod:uat' ) { %>
- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.12.225:31904';</script>
- <% } %>
- <!-- 江东测试环境 -->
- <% if (process.env.VUE_APP_NODE_ENV==='prod:jd' ) { %>
- <script>
- window.SITE_CONFIG['apiURL'] = 'http://124.225.17.80:8120/sgyztapi';
- window.SITE_CONFIG['lockURL'] = 'http://10.110.31.81/odae/clue/Anticipation/getLock'
- window.SITE_CONFIG['fxypURL'] = 'http://10.110.31.81/#/clueJudge/clueAllocation'
- window.SITE_CONFIG['mapConfigName'] = 'mapConfig_3857';
- window.SITE_CONFIG['poihost'] = 'http://124.225.17.80:8120/sgyztapi';
- window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc';
- window.SITE_CONFIG['carListName'] = 'zt_clzt_gps_ss';
- window.SITE_CONFIG['lssListName'] = 'zt_lsszt_ss';
- window.SITE_CONFIG['wgyListName'] = 'cz_czlltc_wgy';
- window.SITE_CONFIG['lssName'] = 'zt_lsszt_ss';
- window.SITE_CONFIG['wgyName'] = 'cz_czlltc_wgy'; // 政务外网网格员图层名
- window.SITE_CONFIG['jingqing'] = 'xs_dmxjcyj,xs_cydtjkyj,xs_znydwxdyc,xs_axtxsbbdyj,xs_czfwfxfx,xs_ryjcyj,xs_jrfxpg,xs_zdsxwdfxpgmx,xs_wghjxpjmx,xs_shwdzsfxmx,xs_sjflgfsqgzmx,xs_dspyqcjfxxt,xs_qmcj,xs_ymlrydr,xs_appsb,xs_ptlz,xs_cljcyj,xs_ssp,xs_cb_cbyj'; // 警情图层名
- // window.SITE_CONFIG['mapLoadUrl'] = 'http://124.225.17.80:8115/dist/'
- </script>
- <% } %>
- <!-- 生产环境 -->
- <% if (process.env.VUE_APP_NODE_ENV==='prod' ) { %>
- <script>
- window.SITE_CONFIG['apiURL'] = 'http://10.110.35.104:80/sgyztapi';
- window.SITE_CONFIG['lockURL'] = 'http://10.110.31.81/odae/clue/Anticipation/getLock'
- window.SITE_CONFIG['fxypURL'] = 'http://10.110.31.81/#/clueJudge/clueAllocation'
- window.SITE_CONFIG['mapConfigName'] = 'mapConfig_4326';
- window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80';
- // window.SITE_CONFIG['poihost'] = 'http://10.110.35.104:80/sgyztapi';
- window.SITE_CONFIG['shipListName'] = 'zt_cbzt_kyc_ss,zt_cbzt_hc_ss,zt_cbzt_yc_ss,zt_cbzt_qt_ss,zt_cbzt_ld_ss,zt_cbzt_sw_ss,zt_cbzt_wz_ss,zt_cbzt_gz_ss,zt_cbzt_tc_ss,zt_cbzt_yhc_ss,zt_cbzt_gc_ss';
- window.SITE_CONFIG['carListName'] = 'zt_clzt_gps_ss,zt_clzt_gps_gj';
- window.SITE_CONFIG['lssListName'] = 'zt_lsszt_ss,zt_lsszt_gj';
- window.SITE_CONFIG['wgyListName'] = 'cz_czlltc_wgy';
- window.SITE_CONFIG['lssName'] = 'zt_lsszt_ss';
- window.SITE_CONFIG['wgyName'] = 'cz_czlltc_wgy'; // 政务外网网格员图层名
- window.SITE_CONFIG['jingqing'] = 'xs_dmxjcyj,xs_cydtjkyj,xs_znydwxdyc,xs_axtxsbbdyj,xs_czfwfxfx,xs_ry_ryyj,xs_jrfxpg,xs_zdsxwdfxpgmx,xs_wghjxpjmx,xs_shwdzsfxmx,xs_sjflgfsqgzmx,xs_dspyqcjfxxt,xs_qmcj,xs_ymlrydr,xs_appsb,xs_ptlz,xs_cl_clyj,xs_ssp,xs_cb_cbyj'; // 警情图层名
- window.SITE_CONFIG['routeUrl'] = 'http://59.212.37.22:80/ime-cloud/rest/route/plan'; // 政务外网-测绘局路线规划地址
- window.SITE_CONFIG['mainLoginPage'] = 'http://10.110.35.47:80/#/login'; // 政务外网测试地址
- // window.SITE_CONFIG['mapLoadUrl'] = 'http://10.110.35.104/dist/';
- window.SITE_CONFIG['tuliUrl'] = 'http://10.110.35.104/api/poi/allPOILayerImgInfo'; // 图例接口
- </script>
- <% } %>
- <script src="./map-easy-client/map-easy-insert.js" charset="utf-8"
- type="text/javascript"></script>
- </head>
- <body>
- <div id="app"></div>
- </body>
- </html>
|