index.js
1.07 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
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: '调拨订单'
}
};