purview.js
1.37 KB
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
let purviews = {
product: {
name: '商品管理',
menu: true,
subPurviews: {
create: {
name: '发布新商品',
path: '/product/create/step1',
menu: true,
own: true,
subPurviews: {
step1: {
name: '类目选择',
own: true,
},
step2: {
name: '基础信息',
own: true,
},
step3: {
name: '网销信息',
own: true,
},
}
},
onsale: {
name: '在售商品',
path: '/product/onsale',
menu: true,
own: true
},
offsale: {
name: '未上架商品',
path: '/product/offsale',
menu: true,
own: true
},
vips: {
name: 'VIP价格商品',
menu: true,
path: '/product/vips'
}
}
},
home: {
name: '',
subPurviews: {
overview: {
name: '默认页'
}
}
}
};
export default purviews;