
import BasicLayout from '@/layouts/basic-layout';
import Setting from '@/setting';

const meta = {
    auth: true
};

const pre = 'home_';

export default {
    path: `${Setting.roterPre}/home`,
    name: 'home',
    header: 'home',
    redirect: {
        name: `${pre}index`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'index',
            name: `${pre}index`,
            meta: {
                auth: ['supplier-home-index'],
                title: '运营概况'
            },
            component: () => import('@/pages/index/index')
        },
		{
		    path: 'order_list',
		    name: `${pre}order_list`,
		    meta: {
		        auth: ['supplier-order-list'],
		        title: '省市区订单'
		    },
		    component: () => import('@/pages/index/order')
		}
    ]
};
