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
1c5204f6
Commit
1c5204f6
authored
Oct 15, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充提交
parent
3da08d03
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
93 additions
and
4 deletions
+93
-4
mock.js
src/components/layout/header/mock.js
+13
-2
index.js
src/router/index.js
+79
-2
left2.vue
src/views/comps/left2.vue
+1
-0
No files found.
src/components/layout/header/mock.js
View file @
1c5204f6
...
...
@@ -195,7 +195,7 @@ export const nav = [
id
:
uuid
(
"gs_nav"
),
name
:
"操作指南"
,
index
:
2
,
link
:
"/Business/Guide
1?id=1-1
"
,
link
:
"/Business/Guide"
,
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
...
...
@@ -204,12 +204,23 @@ export const nav = [
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"我要申请商品条码"
,
index
:
2
,
link
:
"/Business/Guide1"
,
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"操作指南"
,
path
:
"/Business/Guide"
},
{
name
:
"我要通报编码信息"
},
],
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"我要通报编码信息"
,
index
:
2
,
link
:
"/Business/Guide3"
,
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"操作指南"
,
path
:
"/Business/Guide
1?id=1-1
"
},
{
name
:
"操作指南"
,
path
:
"/Business/Guide"
},
{
name
:
"我要通报编码信息"
},
],
},
...
...
src/router/index.js
View file @
1c5204f6
...
...
@@ -179,26 +179,87 @@ const routes = [
meta
:
{
name
:
"操作指南"
,
},
component
:
()
=>
import
(
"@/views/Business/Guide.vue"
),
redirect
:
{
path
:
'/Business/Guide1'
,
query
:
{
id
:
'1-1'
}
},
},
{
path
:
"/Business/Guide1"
,
name
:
"Guide3"
,
meta
:
{
name
:
"我要申请商品条码"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide1.vue"
),
},
{
path
:
"/Business/Guide2"
,
name
:
"Guide2"
,
meta
:
{
name
:
"我要编码"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide2.vue"
),
},
{
path
:
"/Business/Guide3"
,
name
:
"Guide3"
,
meta
:
{
name
:
"我要通报编码信息"
,
fatherPath
:
'/Business/Guide
1
'
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide3.vue"
),
},
{
path
:
"/Business/Guide4"
,
name
:
"Guide4"
,
meta
:
{
name
:
"微信共享"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide4.vue"
),
},
{
path
:
"/Business/Guide5"
,
name
:
"Guide5"
,
meta
:
{
name
:
"我要培训"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide5.vue"
),
},
{
path
:
"/Business/Guide6"
,
name
:
"Guide6"
,
meta
:
{
name
:
"我要续展"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide6.vue"
),
},
{
path
:
"/Business/Guide7"
,
name
:
"Guide7"
,
meta
:
{
name
:
"我要咨询"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide7.vue"
),
},
{
path
:
"/Business/Guide8"
,
name
:
"Guide8"
,
meta
:
{
name
:
"常见问题"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/Guide8.vue"
),
},
{
path
:
"/Business/Corppaynew"
,
name
:
"Corppaynew"
,
meta
:
{
...
...
@@ -247,10 +308,24 @@ const routes = [
component
:
()
=>
import
(
"@/views/Business/Renewal.vue"
),
},
{
path
:
"/Business/Code"
,
name
:
"Code"
,
meta
:
{
name
:
"我要编码"
,
},
redirect
:
{
path
:
'/Business/Code1'
,
query
:
{
id
:
'1-1'
}
},
},
{
path
:
"/Business/Code1"
,
name
:
"Code1"
,
meta
:
{
name
:
"零售商品"
,
fatherPath
:
'/Business/Code'
,
},
component
:
()
=>
import
(
"@/views/Business/Code1.vue"
),
},
...
...
@@ -259,6 +334,7 @@ const routes = [
name
:
"Code2"
,
meta
:
{
name
:
"非零售商品"
,
fatherPath
:
'/Business/Code'
,
},
component
:
()
=>
import
(
"@/views/Business/Code2.vue"
),
},
...
...
@@ -267,6 +343,7 @@ const routes = [
name
:
"Code3"
,
meta
:
{
name
:
"物流单元"
,
fatherPath
:
'/Business/Code'
,
},
component
:
()
=>
import
(
"@/views/Business/Code3.vue"
),
},
...
...
src/views/comps/left2.vue
View file @
1c5204f6
...
...
@@ -82,6 +82,7 @@ export default {
}
else
{
path
=
el
.
path
;
}
console
.
log
(
path
,
'path'
);
this
.
$router
.
push
({
path
:
path
,
query
:
{
...
...
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