129 lines
7.3 KiB
HTML
129 lines
7.3 KiB
HTML
|
<!--
|
|||
|
* @Author: hisense.wuhongjian
|
|||
|
* @Date: 2022-03-02 10:21:57
|
|||
|
* @LastEditors: hisense.wuhongjian
|
|||
|
* @LastEditTime: 2022-05-19 13:53:37
|
|||
|
* @Description: 告诉大家这是什么
|
|||
|
-->
|
|||
|
<!DOCTYPE html>
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<meta charset="UTF-8">
|
|||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|||
|
<meta name="referrer" content="no-referrer-when-downgrade"/>
|
|||
|
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
|
|||
|
<!-- 站点配置 -->
|
|||
|
<script>
|
|||
|
window.SITE_CONFIG = {};
|
|||
|
window.SITE_CONFIG['version'] = 'v2.9.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进行匹配)
|
|||
|
'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; // 动态(菜单)路由是否已经添加的状态标示(用于判断是否需要重新拉取数据并进行动态添加操作)
|
|||
|
</script>
|
|||
|
|
|||
|
<!-- 开发环境 -->
|
|||
|
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
|
|||
|
<script>
|
|||
|
window.SITE_CONFIG['apiURL'] = 'http://15.72.183.90:7009';
|
|||
|
// window.SITE_CONFIG['apiURL'] = 'http://15.2.23.205:7009';
|
|||
|
// WebSocket地址
|
|||
|
window.SITE_CONFIG['socketURL'] ='ws://localhost:8080/integrated-admin/websocket';
|
|||
|
</script>
|
|||
|
<% } %>
|
|||
|
<!-- 集成测试环境 -->
|
|||
|
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>
|
|||
|
<script>
|
|||
|
window.SITE_CONFIG['apiURL'] = 'https://www.guanegouhotel.com/unified-admin';
|
|||
|
// WebSocket地址
|
|||
|
window.SITE_CONFIG['socketURL'] ='ws://localhost:8080/renren-admin/websocket';
|
|||
|
</script>
|
|||
|
<% } %>
|
|||
|
<!-- 验收测试环境 -->
|
|||
|
<% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %>
|
|||
|
<script>
|
|||
|
window.SITE_CONFIG['apiURL'] = 'http://localhost:8080/renren-admin';
|
|||
|
// WebSocket地址
|
|||
|
window.SITE_CONFIG['socketURL'] ='ws://localhost:8080/renren-admin/websocket';
|
|||
|
</script>
|
|||
|
<% } %>
|
|||
|
<!-- 生产环境 -->
|
|||
|
<% if (process.env.VUE_APP_NODE_ENV === 'prod') { %>
|
|||
|
<script>
|
|||
|
window.SITE_CONFIG['apiURL'] = 'http://15.72.183.90:7009';
|
|||
|
// WebSocket地址
|
|||
|
window.SITE_CONFIG['socketURL'] ='ws://localhost:8080/renren-admin/websocket';
|
|||
|
</script>
|
|||
|
<% } %>
|
|||
|
|
|||
|
<link href="./leaflet/libs/leaflet/1.3.1/leaflet.css" rel="stylesheet">
|
|||
|
<link href="./leaflet/dist/leaflet/iclient-leaflet.css" rel="stylesheet">
|
|||
|
<link href="./leaflet/libs/leaflet/plugins/leaflet.draw/leaflet.draw.css" rel="stylesheet">
|
|||
|
<link href="./leaflet/libs/leaflet.markercluster/dist/MarkerCluster.css" rel="stylesheet">
|
|||
|
<link href="./leaflet/libs/leaflet.markercluster/dist/MarkerCluster.Default.css" rel="stylesheet">
|
|||
|
<link href="./supermap/css/supermap.css" rel="stylesheet">
|
|||
|
<link href="./static/css/widgets.css" rel="stylesheet">
|
|||
|
<!-- 静态配置项 -->
|
|||
|
<script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=SiLtLklXWc0djfrLAxyrvts7jsYkkvPP"></script>
|
|||
|
<script type="text/javascript" src="./static/config/basicConfig.js"></script>
|
|||
|
<script type="text/javascript" src="./static/config/mapConfig.js"></script>
|
|||
|
<script src="./static/Build/Cesium/Cesium.js"></script>
|
|||
|
|
|||
|
<!-- <link href="http://support.supermap.com.cn:8090/webgl/Build/Cesium/Widgets/widgets.css" rel="stylesheet" /> -->
|
|||
|
<!-- <script type="text/javascript" src="http://support.supermap.com.cn:8090/webgl/Build/Cesium/Cesium.js"></script> -->
|
|||
|
|
|||
|
<!-- ==========地图相关配置========== -->
|
|||
|
<script type="text/javascript" src="./leaflet/libs/leaflet/1.3.1/leaflet.js"></script>
|
|||
|
<script type="text/javascript" src="./static/js/jquery-3.6.0.min.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/dist/leaflet/iclient-leaflet.min.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/libs/leaflet/plugins/leaflet.draw/leaflet.draw.js"></script>
|
|||
|
<!-- <script type="text/javascript" src="./leaflet/libs/leaflet.markercluster/dist/leaflet.markercluster.js"></script> -->
|
|||
|
<script type="text/javascript" src="./leaflet/dist/leaflet/leaflet-ant-path.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/dist/leaflet/leaflet.textpath.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/dist/leaflet/leaflet.polylineoffset.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/dist/leaflet/leaflet.polylineDecorator.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/ersi-leaflet.js"></script>
|
|||
|
<script type="text/javascript" src="./leaflet/libs/proj4/proj4.js"></script>
|
|||
|
<script type="text/javascript" src="./static/js/proj4leaflet.js"></script>
|
|||
|
<script type="text/javascript" src="./supermap/atmosphere.js"></script>
|
|||
|
<script type="text/javascript" src="./static/leaflet/MovingMarker.js"></script>
|
|||
|
<script type="text/javascript" src="./static/leaflet/leaflet.motion.min.js"></script>
|
|||
|
<script type="text/javascript" src="./static/leaflet/leaflet.polylineDecorator.js"></script>
|
|||
|
<script type="text/javascript" src="./static/leaflet/leaflet-tooltip-layout.dist.js"></script>
|
|||
|
<script type="text/javascript" src="./static/leaflet/leaflet.canvas-markers.js"></script>
|
|||
|
<script type="text/javascript" src="./static/leaflet/leaflet.markercluster.js"></script>
|
|||
|
<!-- 热力图 -->
|
|||
|
<script type="text/javascript" src="./leaflet/leaflet-heat.js"></script>
|
|||
|
|
|||
|
|
|||
|
<script type="text/javascript" src="./static/js/hls.min.js"></script>
|
|||
|
|
|||
|
<!-- 大华平台相关包 -->
|
|||
|
<script type="text/javascript" src="./static/js/encrypt.js"></script>
|
|||
|
<script type="text/javascript" src="./static/js/DHWs.js"></script>
|
|||
|
|
|||
|
<script type="text/javascript" src="./TextIconOverlay_min.js"></script>
|
|||
|
<script type="text/javascript" src="./MarkerClusterer_min.js"></script>
|
|||
|
<script src="./static/js/InfoBox.js"></script>
|
|||
|
<!-- <link rel="stylesheet" href="https://unpkg.com/leaflet-routing-machine@3.2.12/dist/leaflet-routing-machine.css" />
|
|||
|
<script src="https://unpkg.com/leaflet-routing-machine@3.2.12/dist/leaflet-routing-machine.js"></script> -->
|
|||
|
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<div id="app"></div>
|
|||
|
</body>
|
|||
|
</html>
|