refactor: route

This commit is contained in:
Methapon2001 2024-12-25 13:44:02 +07:00
parent 8885db8207
commit 80ab12d77d
4 changed files with 20 additions and 15 deletions

View file

@ -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