提交 | 用户 | age
|
28c484
|
1 |
import type { AppRouteModule } from '@/router/types'; |
S |
2 |
|
|
3 |
import { LAYOUT } from '@/router/constant'; |
|
4 |
|
|
5 |
const system: AppRouteModule = { |
|
6 |
path: '/customer', |
|
7 |
name: 'Customer', |
|
8 |
component: LAYOUT, |
|
9 |
redirect: '/customer/index', |
|
10 |
meta: { |
|
11 |
orderNo: 30, |
|
12 |
icon: 'fa6-solid:user-group', |
|
13 |
title: '客户', |
|
14 |
}, |
|
15 |
children: [ |
|
16 |
{ |
|
17 |
path: 'index', |
b5c161
|
18 |
name: 'CustomerList', |
28c484
|
19 |
meta: { |
S |
20 |
title: '客户列表', |
|
21 |
ignoreKeepAlive: false, |
|
22 |
}, |
|
23 |
component: () => import('@/views/customer/index.vue'), |
|
24 |
}, |
|
25 |
{ |
|
26 |
path: 'vxeTableAccount', |
|
27 |
name: 'VxeTableAccountManagement', |
|
28 |
meta: { |
|
29 |
title: '公海客户', |
|
30 |
ignoreKeepAlive: false, |
|
31 |
}, |
|
32 |
component: () => import('@/views/demo/system/vxe-account/index.vue'), |
|
33 |
}, |
|
34 |
// { |
|
35 |
// path: 'account_detail/:id', |
|
36 |
// name: 'AccountDetail', |
|
37 |
// meta: { |
|
38 |
// hideMenu: true, |
|
39 |
// title: '客户详情', |
|
40 |
// ignoreKeepAlive: true, |
|
41 |
// showMenu: false, |
|
42 |
// currentActiveMenu: '/system/account', |
|
43 |
// }, |
|
44 |
// component: () => import('@/views/demo/system/account/AccountDetail.vue'), |
|
45 |
// }, |
|
46 |
// { |
|
47 |
// path: 'role', |
|
48 |
// name: 'RoleManagement', |
|
49 |
// meta: { |
|
50 |
// title: '建档建议', |
|
51 |
// ignoreKeepAlive: true, |
|
52 |
// }, |
|
53 |
// component: () => import('@/views/demo/system/role/index.vue'), |
|
54 |
// }, |
|
55 |
// |
|
56 |
{ |
|
57 |
path: 'dept', |
|
58 |
name: 'DeptManagement', |
|
59 |
meta: { |
b5c161
|
60 |
title: '客户查重', |
28c484
|
61 |
ignoreKeepAlive: true, |
S |
62 |
}, |
|
63 |
component: () => import('@/views/demo/system/dept/index.vue'), |
|
64 |
}, |
b5c161
|
65 |
{ |
S |
66 |
path: 'settings', |
|
67 |
name: 'CustomerSettings', |
|
68 |
meta: { |
|
69 |
title: '客户设置', |
|
70 |
ignoreKeepAlive: true, |
|
71 |
}, |
|
72 |
component: () => import('@/views/customer/settings.vue'), |
|
73 |
}, |
28c484
|
74 |
// { |
S |
75 |
// path: 'changePassword', |
|
76 |
// name: 'ChangePassword', |
|
77 |
// meta: { |
|
78 |
// title: t('routes.demo.system.password'), |
|
79 |
// ignoreKeepAlive: true, |
|
80 |
// }, |
|
81 |
// component: () => import('@/views/demo/system/password/index.vue'), |
|
82 |
// }, |
|
83 |
], |
|
84 |
}; |
|
85 |
|
|
86 |
export default system; |