Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
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
华国豪
CRM
Commits
74f85aa7
Commit
74f85aa7
authored
Apr 07, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
55b04158
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
345 additions
and
317 deletions
+345
-317
router.js
src/router.js
+345
-317
No files found.
src/router.js
View file @
74f85aa7
...
@@ -20,8 +20,7 @@ Vue.use(Router);
...
@@ -20,8 +20,7 @@ Vue.use(Router);
export
default
new
Router
({
export
default
new
Router
({
mode
:
"hash"
,
mode
:
"hash"
,
base
:
process
.
env
.
BASE_URL
,
base
:
process
.
env
.
BASE_URL
,
routes
:
[
routes
:
[{
{
path
:
"/login"
,
path
:
"/login"
,
name
:
"login"
,
name
:
"login"
,
component
:
login
,
component
:
login
,
...
@@ -50,8 +49,7 @@ export default new Router({
...
@@ -50,8 +49,7 @@ export default new Router({
"http-equiv"
:
"X-UA-Compatible"
,
"http-equiv"
:
"X-UA-Compatible"
,
content
:
"IE=Edge,chrome=1"
content
:
"IE=Edge,chrome=1"
},
},
children
:
[
children
:
[{
{
path
:
"/Home"
,
path
:
"/Home"
,
name
:
"Home"
,
name
:
"Home"
,
component
:
Home
,
component
:
Home
,
...
@@ -126,7 +124,8 @@ export default new Router({
...
@@ -126,7 +124,8 @@ export default new Router({
{
{
path
:
"/old"
,
path
:
"/old"
,
name
:
"old"
,
name
:
"old"
,
component
:
()
=>
import
(
'./components/statistics/old.vue'
),
component
:
()
=>
import
(
'./components/statistics/old.vue'
),
meta
:
{
meta
:
{
title
:
"客户年龄分布统计"
title
:
"客户年龄分布统计"
}
}
...
@@ -134,7 +133,8 @@ export default new Router({
...
@@ -134,7 +133,8 @@ export default new Router({
{
{
path
:
"/marital"
,
path
:
"/marital"
,
name
:
"marital"
,
name
:
"marital"
,
component
:
()
=>
import
(
'./components/statistics/marital.vue'
),
component
:
()
=>
import
(
'./components/statistics/marital.vue'
),
meta
:
{
meta
:
{
title
:
"客户婚姻状态统计"
title
:
"客户婚姻状态统计"
}
}
...
@@ -142,7 +142,8 @@ export default new Router({
...
@@ -142,7 +142,8 @@ export default new Router({
{
{
path
:
"/sex"
,
path
:
"/sex"
,
name
:
"sex"
,
name
:
"sex"
,
component
:
()
=>
import
(
'./components/statistics/sex.vue'
),
component
:
()
=>
import
(
'./components/statistics/sex.vue'
),
meta
:
{
meta
:
{
title
:
"客户性别统计"
title
:
"客户性别统计"
}
}
...
@@ -150,7 +151,8 @@ export default new Router({
...
@@ -150,7 +151,8 @@ export default new Router({
{
{
path
:
"/tourType"
,
path
:
"/tourType"
,
name
:
"tourType"
,
name
:
"tourType"
,
component
:
()
=>
import
(
'./components/statistics/tourType.vue'
),
component
:
()
=>
import
(
'./components/statistics/tourType.vue'
),
meta
:
{
meta
:
{
title
:
"出游类型统计"
title
:
"出游类型统计"
}
}
...
@@ -158,7 +160,8 @@ export default new Router({
...
@@ -158,7 +160,8 @@ export default new Router({
{
{
path
:
"/festivalOrderList"
,
path
:
"/festivalOrderList"
,
name
:
"festivalOrderList"
,
name
:
"festivalOrderList"
,
component
:
()
=>
import
(
'./components/statistics/festivalOrderList.vue'
),
component
:
()
=>
import
(
'./components/statistics/festivalOrderList.vue'
),
meta
:
{
meta
:
{
title
:
"特殊节假日统计"
title
:
"特殊节假日统计"
}
}
...
@@ -166,7 +169,8 @@ export default new Router({
...
@@ -166,7 +169,8 @@ export default new Router({
{
{
path
:
"/marriage"
,
path
:
"/marriage"
,
name
:
"marriage"
,
name
:
"marriage"
,
component
:
()
=>
import
(
'./components/statistics/marriage.vue'
),
component
:
()
=>
import
(
'./components/statistics/marriage.vue'
),
meta
:
{
meta
:
{
title
:
"婚姻统计"
title
:
"婚姻统计"
}
}
...
@@ -174,7 +178,8 @@ export default new Router({
...
@@ -174,7 +178,8 @@ export default new Router({
{
{
path
:
"/sellevent"
,
path
:
"/sellevent"
,
name
:
"sellevent"
,
name
:
"sellevent"
,
component
:
()
=>
import
(
'./components/sellevent/index.vue'
),
component
:
()
=>
import
(
'./components/sellevent/index.vue'
),
meta
:
{
meta
:
{
title
:
"营销事件"
title
:
"营销事件"
}
}
...
@@ -182,15 +187,26 @@ export default new Router({
...
@@ -182,15 +187,26 @@ export default new Router({
{
{
path
:
"/birthdayEvent"
,
path
:
"/birthdayEvent"
,
name
:
"birthdayEvent"
,
name
:
"birthdayEvent"
,
component
:
()
=>
import
(
'./components/sellevent/brithday.vue'
),
component
:
()
=>
import
(
'./components/sellevent/brithday.vue'
),
meta
:
{
meta
:
{
title
:
"生日事件"
title
:
"生日事件"
}
}
},
},
{
path
:
"/graduationEvent"
,
name
:
"graduationEvent"
,
component
:
()
=>
import
(
'./components/sellevent/graduation.vue'
),
meta
:
{
title
:
"毕业季事件"
}
},
{
{
path
:
"/gaoxiao"
,
path
:
"/gaoxiao"
,
name
:
"gaoxiao"
,
name
:
"gaoxiao"
,
component
:
()
=>
import
(
'./components/statistics/gaoxiao.vue'
),
component
:
()
=>
import
(
'./components/statistics/gaoxiao.vue'
),
meta
:
{
meta
:
{
title
:
"高校在读/毕业统计"
title
:
"高校在读/毕业统计"
}
}
...
@@ -198,7 +214,8 @@ export default new Router({
...
@@ -198,7 +214,8 @@ export default new Router({
{
{
path
:
"/job"
,
path
:
"/job"
,
name
:
"job"
,
name
:
"job"
,
component
:
()
=>
import
(
'./components/statistics/job.vue'
),
component
:
()
=>
import
(
'./components/statistics/job.vue'
),
meta
:
{
meta
:
{
title
:
"职业类型统计"
title
:
"职业类型统计"
}
}
...
@@ -206,7 +223,8 @@ export default new Router({
...
@@ -206,7 +223,8 @@ export default new Router({
{
{
path
:
"/assets"
,
path
:
"/assets"
,
name
:
"assets"
,
name
:
"assets"
,
component
:
()
=>
import
(
'./components/statistics/assets.vue'
),
component
:
()
=>
import
(
'./components/statistics/assets.vue'
),
meta
:
{
meta
:
{
title
:
"资产"
title
:
"资产"
}
}
...
@@ -214,7 +232,8 @@ export default new Router({
...
@@ -214,7 +232,8 @@ export default new Router({
{
{
path
:
"/deving"
,
path
:
"/deving"
,
name
:
"deving"
,
name
:
"deving"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/dev/index.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"开发中..."
}
}
...
@@ -222,7 +241,8 @@ export default new Router({
...
@@ -222,7 +241,8 @@ export default new Router({
{
{
path
:
"/deving1"
,
path
:
"/deving1"
,
name
:
"deving1"
,
name
:
"deving1"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/dev/index.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"开发中..."
}
}
...
@@ -230,7 +250,8 @@ export default new Router({
...
@@ -230,7 +250,8 @@ export default new Router({
{
{
path
:
"/deving2"
,
path
:
"/deving2"
,
name
:
"deving2"
,
name
:
"deving2"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/dev/index.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"开发中..."
}
}
...
@@ -238,7 +259,8 @@ export default new Router({
...
@@ -238,7 +259,8 @@ export default new Router({
{
{
path
:
"/deving3"
,
path
:
"/deving3"
,
name
:
"deving3"
,
name
:
"deving3"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/dev/index.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"开发中..."
}
}
...
@@ -246,7 +268,8 @@ export default new Router({
...
@@ -246,7 +268,8 @@ export default new Router({
{
{
path
:
"/deving4"
,
path
:
"/deving4"
,
name
:
"deving4"
,
name
:
"deving4"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/dev/index.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"开发中..."
}
}
...
@@ -254,7 +277,8 @@ export default new Router({
...
@@ -254,7 +277,8 @@ export default new Router({
{
{
path
:
"/deving5"
,
path
:
"/deving5"
,
name
:
"deving5"
,
name
:
"deving5"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/dev/index.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"开发中..."
}
}
...
@@ -262,7 +286,8 @@ export default new Router({
...
@@ -262,7 +286,8 @@ export default new Router({
{
{
path
:
"/roomStatistical"
,
path
:
"/roomStatistical"
,
name
:
"roomStatistical"
,
name
:
"roomStatistical"
,
component
:
()
=>
import
(
'./components/statistics/roomStatistical.vue'
),
component
:
()
=>
import
(
'./components/statistics/roomStatistical.vue'
),
meta
:
{
meta
:
{
title
:
"住房统计"
title
:
"住房统计"
}
}
...
@@ -270,7 +295,8 @@ export default new Router({
...
@@ -270,7 +295,8 @@ export default new Router({
{
{
path
:
"/season"
,
path
:
"/season"
,
name
:
"season"
,
name
:
"season"
,
component
:
()
=>
import
(
'./components/statistics/season.vue'
),
component
:
()
=>
import
(
'./components/statistics/season.vue'
),
meta
:
{
meta
:
{
title
:
"季节"
title
:
"季节"
}
}
...
@@ -278,7 +304,8 @@ export default new Router({
...
@@ -278,7 +304,8 @@ export default new Router({
{
{
path
:
"/Opinionpolls"
,
path
:
"/Opinionpolls"
,
name
:
"Opinionpolls"
,
name
:
"Opinionpolls"
,
component
:
()
=>
import
(
'./components/statistics/Opinionpolls.vue'
),
component
:
()
=>
import
(
'./components/statistics/Opinionpolls.vue'
),
meta
:
{
meta
:
{
title
:
"意见调查"
title
:
"意见调查"
}
}
...
@@ -287,7 +314,8 @@ export default new Router({
...
@@ -287,7 +314,8 @@ export default new Router({
{
{
path
:
"/unit"
,
path
:
"/unit"
,
name
:
"unit"
,
name
:
"unit"
,
component
:
()
=>
import
(
'./components/statistics/unit.vue'
),
component
:
()
=>
import
(
'./components/statistics/unit.vue'
),
meta
:
{
meta
:
{
title
:
"单位"
title
:
"单位"
}
}
...
...
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