Commit e5a68308 by ym

map

1 parent 691ab84e
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %> <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<link href="<%= htmlWebpackPlugin.options.cdn.js[i] %>" rel="preload" as="script" /> <link href="<%= htmlWebpackPlugin.options.cdn.js[i] %>" rel="preload" as="script" />
<% } %> <% } %>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.8&key=bd290dc27d0945959280753215ddda71&plugin=AMap.Geocoder"></script> <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.9&key=bd290dc27d0945959280753215ddda71&plugin=AMap.Geocoder"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script type="text/javascript" src="https://img01.glsx.com.cn/js/track-1.0.0.js"></script> <script type="text/javascript" src="https://img01.glsx.com.cn/js/track-1.0.0.js"></script>
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script> <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
......
...@@ -98,16 +98,12 @@ export default { ...@@ -98,16 +98,12 @@ export default {
this.setNoticeInfo() this.setNoticeInfo()
}, },
CarLink(e) { CarLink(e) {
let {sessionId} = this.$store.state;
let [href] = window.location.href.split('/#/');
let url;
this.tabHideShow(0); this.tabHideShow(0);
let supplier = e.supplier; let supplier = e.supplier;
sessionStorage.setItem('common', this.icon ? 1 : 0) sessionStorage.setItem('common', this.icon ? 1 : 0)
switch (supplier) { switch (supplier) {
case 'GL_OIL': case 'GL_OIL':
url = `${href}/#/oilStation/index?sessionId=${sessionId}` this.$router.push({ name:'oilStation.index' })
this.openWindows(url, 'oilStation.index')
break; break;
case 'GL_ROAD_RESCUE': case 'GL_ROAD_RESCUE':
this.$router.push({ name:'equity.road'}) this.$router.push({ name:'equity.road'})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!