refactor: route
This commit is contained in:
parent
8885db8207
commit
80ab12d77d
4 changed files with 20 additions and 15 deletions
|
|
@ -134,21 +134,15 @@ const routes: RouteRecordRaw[] = [
|
|||
component: () => import('pages/09_task-order/order_view/MainPage.vue'),
|
||||
},
|
||||
{
|
||||
path: '/task-order/doc/:id',
|
||||
path: '/task-order/:id',
|
||||
name: 'TaskReceiveView',
|
||||
component: () => import('pages/09_task-order/PageView.vue'),
|
||||
},
|
||||
{
|
||||
path: '/task-order/:id/doc',
|
||||
name: 'TaskOrderAdd',
|
||||
component: () => import('pages/09_task-order/document_view/MainPage.vue'),
|
||||
},
|
||||
{
|
||||
path: '/task-order/order/:id',
|
||||
name: 'TaskOrderView',
|
||||
component: () => import('pages/09_task-order/order_view/MainPage.vue'),
|
||||
},
|
||||
|
||||
{
|
||||
path: '/task-order/receive/:id',
|
||||
name: 'TaskReceiveView',
|
||||
component: () => import('pages/09_task-order/receive_view/MainPage.vue'),
|
||||
},
|
||||
|
||||
// Always leave this as last one,
|
||||
// but you can also remove it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue