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
f5cc4829
Commit
f5cc4829
authored
Apr 07, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
11
parents
8c5f2c11
74f85aa7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
345 additions
and
334 deletions
+345
-334
router.js
src/router.js
+345
-334
No files found.
src/router.js
View file @
f5cc4829
...
@@ -18,338 +18,349 @@ import customerMap from "./components/customerManage/customerMap"
...
@@ -18,338 +18,349 @@ import customerMap from "./components/customerManage/customerMap"
Vue
.
use
(
Router
);
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
,
meta
:
{
meta
:
{
title
:
"欢迎使用CRM系统-请登录使用"
,
title
:
"欢迎使用CRM系统-请登录使用"
,
"http-equiv"
:
"X-UA-Compatible"
,
"http-equiv"
:
"X-UA-Compatible"
,
content
:
"IE=Edge,chrome=1"
content
:
"IE=Edge,chrome=1"
}
}
},
},
{
{
path
:
"/"
,
path
:
"/"
,
name
:
"login"
,
name
:
"login"
,
component
:
login
,
component
:
login
,
meta
:
{
meta
:
{
title
:
"欢迎使用CRM系统-请登录使用"
,
title
:
"欢迎使用CRM系统-请登录使用"
,
"http-equiv"
:
"X-UA-Compatible"
,
"http-equiv"
:
"X-UA-Compatible"
,
content
:
"IE=Edge,chrome=1"
content
:
"IE=Edge,chrome=1"
}
}
},
},
{
{
path
:
"/index"
,
path
:
"/index"
,
name
:
"index"
,
name
:
"index"
,
component
:
index
,
component
:
index
,
meta
:
{
meta
:
{
title
:
"大象CRM"
,
title
:
"大象CRM"
,
"http-equiv"
:
"X-UA-Compatible"
,
"http-equiv"
:
"X-UA-Compatible"
,
content
:
"IE=Edge,chrome=1"
content
:
"IE=Edge,chrome=1"
},
},
children
:
[{
children
:
[
path
:
"/Home"
,
{
name
:
"Home"
,
path
:
"/Home"
,
component
:
Home
,
name
:
"Home"
,
meta
:
{
component
:
Home
,
title
:
"CRM-仪表盘"
,
meta
:
{
},
title
:
"CRM-仪表盘"
,
},
},
{
},
path
:
"/customerManage"
,
{
name
:
"customerManage"
,
path
:
"/customerManage"
,
component
:
customerManage
,
name
:
"customerManage"
,
meta
:
{
component
:
customerManage
,
title
:
"客户管理"
meta
:
{
}
title
:
"客户管理"
},
}
{
},
path
:
"/customerManageDemo"
,
{
name
:
"customerManageDemo"
,
path
:
"/customerManageDemo"
,
component
:
customerManageDemo
,
name
:
"customerManageDemo"
,
meta
:
{
component
:
customerManageDemo
,
title
:
"客户管理"
meta
:
{
}
title
:
"客户管理"
},
}
{
},
path
:
"/businessManagement"
,
{
name
:
"businessManagement"
,
path
:
"/businessManagement"
,
component
:
businessManagement
,
name
:
"businessManagement"
,
meta
:
{
component
:
businessManagement
,
title
:
"商机管理"
meta
:
{
}
title
:
"商机管理"
},
}
{
},
path
:
"/clueManagement"
,
{
name
:
"clueManagement"
,
path
:
"/clueManagement"
,
component
:
clueManagement
,
name
:
"clueManagement"
,
meta
:
{
component
:
clueManagement
,
title
:
"线索管理"
meta
:
{
}
title
:
"线索管理"
},
}
{
},
path
:
"/contactsManagement"
,
{
name
:
"contactsManagement"
,
path
:
"/contactsManagement"
,
component
:
contactsManagement
,
name
:
"contactsManagement"
,
meta
:
{
component
:
contactsManagement
,
title
:
"联系人管理"
meta
:
{
}
title
:
"联系人管理"
},
}
{
},
path
:
"/watersManagement"
,
{
name
:
"watersManagement"
,
path
:
"/watersManagement"
,
component
:
watersManagement
,
name
:
"watersManagement"
,
meta
:
{
component
:
watersManagement
,
title
:
"公海管理"
meta
:
{
}
title
:
"公海管理"
},
}
{
},
path
:
"/waitMatter"
,
{
name
:
"waitMatter"
,
path
:
"/waitMatter"
,
component
:
waitMatter
,
name
:
"waitMatter"
,
meta
:
{
component
:
waitMatter
,
title
:
"待办事项"
meta
:
{
}
title
:
"待办事项"
},
}
{
},
path
:
"/datasheet"
,
{
name
:
"datasheet"
,
path
:
"/datasheet"
,
component
:
datasheet
,
name
:
"datasheet"
,
meta
:
{
component
:
datasheet
,
title
:
"数据明细"
meta
:
{
}
title
:
"数据明细"
},
}
{
},
path
:
"/old"
,
{
name
:
"old"
,
path
:
"/old"
,
component
:
()
=>
name
:
"old"
,
import
(
'./components/statistics/old.vue'
),
component
:
()
=>
import
(
'./components/statistics/old.vue'
),
meta
:
{
meta
:
{
title
:
"客户年龄分布统计"
title
:
"客户年龄分布统计"
}
}
},
},
{
{
path
:
"/marital"
,
path
:
"/marital"
,
name
:
"marital"
,
name
:
"marital"
,
component
:
()
=>
component
:
()
=>
import
(
'./components/statistics/marital.vue'
),
import
(
'./components/statistics/marital.vue'
),
meta
:
{
meta
:
{
title
:
"客户婚姻状态统计"
title
:
"客户婚姻状态统计"
}
}
},
},
{
{
path
:
"/sex"
,
path
:
"/sex"
,
name
:
"sex"
,
name
:
"sex"
,
component
:
()
=>
import
(
'./components/statistics/sex.vue'
),
component
:
()
=>
meta
:
{
import
(
'./components/statistics/sex.vue'
),
title
:
"客户性别统计"
meta
:
{
}
title
:
"客户性别统计"
},
}
{
},
path
:
"/tourType"
,
{
name
:
"tourType"
,
path
:
"/tourType"
,
component
:
()
=>
import
(
'./components/statistics/tourType.vue'
),
name
:
"tourType"
,
meta
:
{
component
:
()
=>
title
:
"出游类型统计"
import
(
'./components/statistics/tourType.vue'
),
}
meta
:
{
},
title
:
"出游类型统计"
{
}
path
:
"/festivalOrderList"
,
},
name
:
"festivalOrderList"
,
{
component
:
()
=>
import
(
'./components/statistics/festivalOrderList.vue'
),
path
:
"/festivalOrderList"
,
meta
:
{
name
:
"festivalOrderList"
,
title
:
"特殊节假日统计"
component
:
()
=>
}
import
(
'./components/statistics/festivalOrderList.vue'
),
},
meta
:
{
{
title
:
"特殊节假日统计"
path
:
"/marriage"
,
}
name
:
"marriage"
,
},
component
:
()
=>
import
(
'./components/statistics/marriage.vue'
),
{
meta
:
{
path
:
"/marriage"
,
title
:
"婚姻统计"
name
:
"marriage"
,
}
component
:
()
=>
},
import
(
'./components/statistics/marriage.vue'
),
{
meta
:
{
path
:
"/sellevent"
,
title
:
"婚姻统计"
name
:
"sellevent"
,
}
component
:
()
=>
import
(
'./components/sellevent/index.vue'
),
},
meta
:
{
{
title
:
"营销事件"
path
:
"/sellevent"
,
}
name
:
"sellevent"
,
},
component
:
()
=>
{
import
(
'./components/sellevent/index.vue'
),
path
:
"/birthdayEvent"
,
meta
:
{
name
:
"birthdayEvent"
,
title
:
"营销事件"
component
:
()
=>
import
(
'./components/sellevent/brithday.vue'
),
}
meta
:
{
},
title
:
"生日事件"
{
}
path
:
"/birthdayEvent"
,
},
name
:
"birthdayEvent"
,
component
:
()
=>
{
import
(
'./components/sellevent/brithday.vue'
),
path
:
"/festivalEvent"
,
meta
:
{
name
:
"festivalEvent"
,
title
:
"生日事件"
component
:
()
=>
import
(
'./components/sellevent/festival.vue'
),
}
meta
:
{
},
title
:
"节日事件"
{
}
path
:
"/graduationEvent"
,
},
name
:
"graduationEvent"
,
{
component
:
()
=>
path
:
"/emergencyEvent"
,
import
(
'./components/sellevent/graduation.vue'
),
name
:
"emergencyEvent"
,
meta
:
{
component
:
()
=>
import
(
'./components/sellevent/emergency.vue'
),
title
:
"毕业季事件"
meta
:
{
}
title
:
"突发事件"
},
}
{
},
path
:
"/gaoxiao"
,
{
name
:
"gaoxiao"
,
path
:
"/gaoxiao"
,
component
:
()
=>
name
:
"gaoxiao"
,
import
(
'./components/statistics/gaoxiao.vue'
),
component
:
()
=>
import
(
'./components/statistics/gaoxiao.vue'
),
meta
:
{
meta
:
{
title
:
"高校在读/毕业统计"
title
:
"高校在读/毕业统计"
}
}
},
},
{
{
path
:
"/job"
,
path
:
"/job"
,
name
:
"job"
,
name
:
"job"
,
component
:
()
=>
component
:
()
=>
import
(
'./components/statistics/job.vue'
),
import
(
'./components/statistics/job.vue'
),
meta
:
{
meta
:
{
title
:
"职业类型统计"
title
:
"职业类型统计"
}
}
},
},
{
{
path
:
"/assets"
,
path
:
"/assets"
,
name
:
"assets"
,
name
:
"assets"
,
component
:
()
=>
import
(
'./components/statistics/assets.vue'
),
component
:
()
=>
meta
:
{
import
(
'./components/statistics/assets.vue'
),
title
:
"资产"
meta
:
{
}
title
:
"资产"
},
}
{
},
path
:
"/deving"
,
{
name
:
"deving"
,
path
:
"/deving"
,
component
:
()
=>
import
(
'./components/dev/index.vue'
),
name
:
"deving"
,
meta
:
{
component
:
()
=>
title
:
"开发中..."
import
(
'./components/dev/index.vue'
),
}
meta
:
{
},
title
:
"开发中..."
{
}
path
:
"/deving1"
,
},
name
:
"deving1"
,
{
component
:
()
=>
import
(
'./components/dev/index.vue'
),
path
:
"/deving1"
,
meta
:
{
name
:
"deving1"
,
title
:
"开发中..."
component
:
()
=>
}
import
(
'./components/dev/index.vue'
),
},
meta
:
{
{
title
:
"开发中..."
path
:
"/deving2"
,
}
name
:
"deving2"
,
},
component
:
()
=>
import
(
'./components/dev/index.vue'
),
{
meta
:
{
path
:
"/deving2"
,
title
:
"开发中..."
name
:
"deving2"
,
}
component
:
()
=>
},
import
(
'./components/dev/index.vue'
),
{
meta
:
{
path
:
"/deving3"
,
title
:
"开发中..."
name
:
"deving3"
,
}
component
:
()
=>
import
(
'./components/dev/index.vue'
),
},
meta
:
{
{
title
:
"开发中..."
path
:
"/deving3"
,
}
name
:
"deving3"
,
},
component
:
()
=>
{
import
(
'./components/dev/index.vue'
),
path
:
"/deving4"
,
meta
:
{
name
:
"deving4"
,
title
:
"开发中..."
component
:
()
=>
import
(
'./components/dev/index.vue'
),
}
meta
:
{
},
title
:
"开发中..."
{
}
path
:
"/deving4"
,
},
name
:
"deving4"
,
{
component
:
()
=>
path
:
"/deving5"
,
import
(
'./components/dev/index.vue'
),
name
:
"deving5"
,
meta
:
{
component
:
()
=>
import
(
'./components/dev/index.vue'
),
title
:
"开发中..."
meta
:
{
}
title
:
"开发中..."
},
}
{
},
path
:
"/deving5"
,
{
name
:
"deving5"
,
path
:
"/roomStatistical"
,
component
:
()
=>
name
:
"roomStatistical"
,
import
(
'./components/dev/index.vue'
),
component
:
()
=>
import
(
'./components/statistics/roomStatistical.vue'
),
meta
:
{
meta
:
{
title
:
"开发中..."
title
:
"住房统计"
}
}
},
},
{
{
path
:
"/roomStatistical"
,
path
:
"/season"
,
name
:
"roomStatistical"
,
name
:
"season"
,
component
:
()
=>
component
:
()
=>
import
(
'./components/statistics/season.vue'
),
import
(
'./components/statistics/roomStatistical.vue'
),
meta
:
{
meta
:
{
title
:
"季节"
title
:
"住房统计"
}
}
},
},
{
{
path
:
"/Opinionpolls"
,
path
:
"/season"
,
name
:
"Opinionpolls"
,
name
:
"season"
,
component
:
()
=>
import
(
'./components/statistics/Opinionpolls.vue'
),
component
:
()
=>
meta
:
{
import
(
'./components/statistics/season.vue'
),
title
:
"意见调查"
meta
:
{
}
title
:
"季节"
},
}
},
{
{
path
:
"/unit"
,
path
:
"/Opinionpolls"
,
name
:
"unit"
,
name
:
"Opinionpolls"
,
component
:
()
=>
import
(
'./components/statistics/unit.vue'
),
component
:
()
=>
meta
:
{
import
(
'./components/statistics/Opinionpolls.vue'
),
title
:
"单位"
meta
:
{
}
title
:
"意见调查"
},
}
{
},
path
:
"/contractManagement"
,
name
:
"contractManagement"
,
{
component
:
contractManagement
,
path
:
"/unit"
,
meta
:
{
name
:
"unit"
,
title
:
"合同管理"
component
:
()
=>
}
import
(
'./components/statistics/unit.vue'
),
},
meta
:
{
{
title
:
"单位"
path
:
"/guestManagement"
,
}
name
:
"guestManagement"
,
},
component
:
guestManagement
,
{
meta
:
{
path
:
"/contractManagement"
,
title
:
"直客管理"
name
:
"contractManagement"
,
}
component
:
contractManagement
,
},
meta
:
{
{
title
:
"合同管理"
path
:
"/customerApr"
,
}
name
:
"customerApr"
,
},
component
:
customerApr
,
{
meta
:
{
path
:
"/guestManagement"
,
title
:
"客户审批"
name
:
"guestManagement"
,
}
component
:
guestManagement
,
},
meta
:
{
{
title
:
"直客管理"
path
:
"/customerMap"
,
}
name
:
"customerMap"
,
},
component
:
customerMap
,
{
meta
:
{
path
:
"/customerApr"
,
title
:
"客户地图"
name
:
"customerApr"
,
}
component
:
customerApr
,
meta
:
{
title
:
"客户审批"
}
},
{
path
:
"/customerMap"
,
name
:
"customerMap"
,
component
:
customerMap
,
meta
:
{
title
:
"客户地图"
}
}
]
},
{
path
:
'/table'
,
name
:
'table'
,
component
:
resolve
=>
require
([
'@/views/table.vue'
],
resolve
),
meta
:
{
title
:
'表格测试'
}
}
}
]
]
},
});
{
\ No newline at end of file
path
:
'/table'
,
name
:
'table'
,
component
:
resolve
=>
require
([
'@/views/table.vue'
],
resolve
),
meta
:
{
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