1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
| /** 产品管理新增 路由配置 */
|
| // 新增产品
| // const NewProduct = () => import('@views/productManagement/management/NewProduct.vue')
| const EditProduct = () => import('@views/productManagement/management/EditProduct.vue')
| const NewProFreePayment = () => import('@views/productManagement/management/NewProFreePayment.vue')
| const ProductDimensionAdd = () => import('@views/productManagement/management/components/productDimension/ProductDimensionAdd.vue')
|
| const detailRouter = [
| {
| path: '/product/add',
| component: EditProduct,
| name: 'NewProduct',
| meta: {
| keepAlive: true,
| title: '新增产品',
| }
| },
| {
| path: '/product/edit',
| component: EditProduct,
| name: 'editProduct',
| meta: {
| keepAlive: true,
| title: '修改产品',
| }
| },
| {
| path: '/product-manage/dimension/add',
| component: ProductDimensionAdd,
| name: 'dimensionAdd',
| meta: {
| keepAlive: false,
| title: '新增维度',
| }
| },
| {
| path: '/product-manage/dimension/edit',
| component: ProductDimensionAdd,
| name: 'dimensionEdit',
| meta: {
| keepAlive: false,
| title: '修改维度',
| }
| },
| {
| path: '/product-free-repayment/add',
| component: NewProFreePayment,
| name: 'newProFreePayment',
| meta: {
| keepAlive: false,
| title: '新增自定义还款方式',
| }
| },
| {
| path: '/product-free-repayment/edit',
| component: NewProFreePayment,
| name: 'editProFreePayment',
| meta: {
| keepAlive: false,
| title: '修改自定义还款方式',
| }
| },
| ]
|
| export default detailRouter
|
|