index.js 1.07 KB
const allot = r => require.ensure([], () => r(require('./allot')), 'trade.allot');
const done = r => require.ensure([], () => r(require('./components/done')), 'trade.allot');
const undone = r => require.ensure([], () => r(require('./components/undone')), 'trade.allot');
const express = r => require.ensure([], () => r(require('./components/express')), 'trade.allot');

export default {
    path: '/allot',
    name: 'allot',
    component: allot,
    children: [
        {
            path: 'done.html',
            name: 'done',
            component: done,
            meta: {
                pageName: '发货已完成'
            }
        },
        {
            path: 'undone.html',
            name: 'undone',
            component: undone,
            meta: {
                pageName: '发货未完成'
            }
        },
        {
            path: 'express.html',
            name: 'express',
            component: express,
            meta: {
                pageName: '发货物流表'
            }
        }
    ],
    meta: {
        pageName: '调拨订单'
    }
};