Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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
office
haoban-4
Commits
75aeba91
Commit
75aeba91
authored
Sep 02, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加我的顾客路由
parent
6fea46c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
3 deletions
+45
-3
routes.js
src/router/routes.js
+43
-1
request.js
src/utils/request.js
+1
-1
vue.config.js
vue.config.js
+1
-1
No files found.
src/router/routes.js
View file @
75aeba91
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-0
7-28 10:32:06
* @LastEditTime: 2020-0
9-02 11:26:40
*/
import
_import
from
'./_import.js'
;
...
...
@@ -128,6 +128,48 @@ export const routes = [
]
},
{
// 企业应用
path
:
'/apps'
,
name
:
'企业应用'
,
redirect
:
'mycustomer'
,
component
:
_import
(
'apps'
,
'index'
),
children
:
[
{
path
:
'/my-customer'
,
name
:
'我的顾客'
,
redirect
:
'/data-dimension'
,
component
:
_import
(
'apps/customer-app'
,
'index'
),
children
:
[
{
path
:
'/data-dimension'
,
name
:
'数据维度'
,
component
:
_import
(
'apps/customer-app'
,
'data-dimension'
)
},
{
path
:
'/crowd-scene'
,
name
:
'人群场景'
,
component
:
_import
(
'apps/customer-app'
,
'crowd-scene'
)
},
{
path
:
'/customer-data-set'
,
name
:
'顾客资料'
,
component
:
_import
(
'apps/customer-app'
,
'customer-data-set'
)
},
{
path
:
'/clerk-tag'
,
name
:
'导购标签'
,
component
:
_import
(
'apps/customer-app'
,
'clerk-tag'
)
},
{
path
:
'/customer-assign'
,
name
:
'顾客分配'
,
component
:
_import
(
'apps/customer-app'
,
'customer-assign'
)
}
]
}
]
},
{
path
:
'/gic-error'
,
name
:
'gic跳转失败页'
,
component
:
_import
(
'error-page'
,
'gic-error'
)
...
...
src/utils/request.js
View file @
75aeba91
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-10 09:50:59
* @LastEditTime: 2020-0
9-02 11:13:04
*/
import
axios
from
'axios'
;
import
qs
from
'qs'
;
...
...
vue.config.js
View file @
75aeba91
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-0
8-17 18:09:27
* @LastEditTime: 2020-0
9-02 10:59:35
*/
const
path
=
require
(
"path"
);
...
...
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