Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
010c871e
Commit
010c871e
authored
Oct 15, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改业务大厅下左侧导航配置
parent
d83a3e3e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
3 deletions
+41
-3
mock.js
src/components/layout/header/mock.js
+12
-1
index.js
src/router/index.js
+17
-0
left2.vue
src/views/comps/left2.vue
+12
-2
No files found.
src/components/layout/header/mock.js
View file @
010c871e
...
...
@@ -195,7 +195,7 @@ export const nav = [
id
:
uuid
(
"gs_nav"
),
name
:
"操作指南"
,
index
:
2
,
link
:
"/Business/Guide"
,
link
:
"/Business/Guide
1?id=1-1
"
,
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
...
...
@@ -204,6 +204,17 @@ export const nav = [
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"我要通报编码信息"
,
index
:
2
,
link
:
"/Business/Guide3"
,
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"操作指南"
,
path
:
"/Business/Guide1?id=1-1"
},
{
name
:
"我要通报编码信息"
},
],
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"收费公示"
,
index
:
2
,
link
:
"/Business/Corppaynew"
,
...
...
src/router/index.js
View file @
010c871e
...
...
@@ -182,6 +182,23 @@ const routes = [
component
:
()
=>
import
(
"@/views/Business/Guide.vue"
),
},
{
path
:
"/Business/Guide1"
,
name
:
"Guide3"
,
meta
:
{
name
:
"我要申请商品条码"
,
},
component
:
()
=>
import
(
"@/views/Business/Guide1.vue"
),
},
{
path
:
"/Business/Guide3"
,
name
:
"Guide3"
,
meta
:
{
name
:
"我要通报编码信息"
,
fatherPath
:
'/Business/Guide1'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide3.vue"
),
},
{
path
:
"/Business/Corppaynew"
,
name
:
"Corppaynew"
,
meta
:
{
...
...
src/views/comps/left2.vue
View file @
010c871e
...
...
@@ -16,7 +16,11 @@
<el-menu-item-group>
<el-menu-item
:index=
"i + 1 + '-' + (ii + 1)"
:class=
"{ active: tmpB.active === currentName || (tmpB.id && tmpB.id === $route.query.id) }"
:class=
"{
active:
tmpB.active === currentName ||
(tmpB.id && tmpB.id === $route.query.id),
}"
v-for=
"(tmpB, ii) in tmpA.children"
:key=
"ii"
@
click=
"jump(tmpB)"
...
...
@@ -72,8 +76,14 @@ export default {
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
}
if
(
el
.
id
)
{
let
path
;
if
(
type
===
"redirect"
)
{
path
=
el
.
redirectUrl
;
}
else
{
path
=
el
.
path
;
}
this
.
$router
.
push
({
path
:
el
.
path
,
path
:
path
,
query
:
{
id
:
el
.
id
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment