Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
ddh-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 691ab84e
authored
Sep 23, 2021
by
ym
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
map
1 parent
257e8458
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
src/mixins/indexMixin.js
src/router/routes.js
src/mixins/indexMixin.js
View file @
691ab84
...
@@ -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'
})
...
...
src/router/routes.js
View file @
691ab84
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment