purview.js 1.25 KB
let purviews = {
    product: {
        name: '商品管理',
        menu: true,
        subPurviews: {
            create: {
                name: '发布新商品',
                path: '/product/create/step1.html',
                menu: true,
                own: true,
                subPurviews: {
                    step1: {
                        name: '类目选择',
                        own: true,
                    },
                    step2: {
                        name: '基础信息',
                        own: true,
                    },
                    step3: {
                        name: '网销信息',
                        own: true,
                    },
                }
            },
            onsale: {
                name: '在售商品',
                path: '/product/onsale.html',
                menu: true,
                own: true
            },
            offsale: {
                name: '未上架商品',
                path: '/product/offsale.html',
                menu: true,
                own: true
            },
            vips: {
                name: 'VIP价格商品',
                menu: true,
                path: '/product/vips.html'
            }
        }
    }
};

export default purviews;