Commit 691ab84e by ym

map

1 parent 257e8458
...@@ -98,12 +98,16 @@ export default { ...@@ -98,12 +98,16 @@ export default {
this.setNoticeInfo() this.setNoticeInfo()
}, },
CarLink(e) { CarLink(e) {
// this.tabHideShow(0); let {sessionId} = this.$store.state;
let [href] = window.location.href.split('/#/');
let url;
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':
this.$router.push({ name:'oilStation.index' }) url = `${href}/#/oilStation/index?sessionId=${sessionId}`
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'})
......
...@@ -8,7 +8,7 @@ const pages = { ...@@ -8,7 +8,7 @@ const pages = {
{name: 'loss', title: '整车全损',showNavBar: true}, {name: 'loss', title: '整车全损',showNavBar: true},
], ],
oilStation: [ oilStation: [
{name: 'index',showNavBar: true}, {name: 'index'},
{name: 'record', title: '加油记录',showNavBar: true}, {name: 'record', title: '加油记录',showNavBar: true},
{name: 'detail', title: '加油站详情',showNavBar: true}, {name: 'detail', title: '加油站详情',showNavBar: true},
{name: 'location', title: '选择位置',showNavBar: true}, {name: 'location', title: '选择位置',showNavBar: true},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!