diff --git a/inventory-web/src/router/index.ts b/inventory-web/src/router/index.ts index 8fd2830..861b863 100644 --- a/inventory-web/src/router/index.ts +++ b/inventory-web/src/router/index.ts @@ -209,27 +209,17 @@ const routes: Array = [ meta: { title: '借库管理', icon: 'Operation' }, redirect: '/operation/borrow', children: [ - { - path: 'borrow', - name: 'OpBorrow', - component: () => import('@/views/transaction/borrow.vue'), - meta: { title: '借库' } - }, - { - path: 'borrow_approval', - name: 'BorrowApproval', - component: () => import('@/views/borrow/approval/index.vue'), - meta: { - title: '借库审批', - icon: 'Stamp', - roles: ['SUPER_ADMIN', 'SUPERVISOR'] - } - }, { path: 'borrow_apply', name: 'BorrowApply', component: () => import('@/views/borrow/apply/index.vue'), - meta: { title: '借库申请' } + meta: { title: '借库选单' } + }, + { + path: 'borrow', + name: 'OpBorrow', + component: () => import('@/views/transaction/borrow.vue'), + meta: { title: '扫码借库' } }, { path: 'repair', @@ -242,6 +232,16 @@ const routes: Array = [ name: 'OpRecords', component: () => import('@/views/transaction/records.vue'), meta: { title: '借还记录' } + }, + { + path: 'borrow_approval', + name: 'BorrowApproval', + component: () => import('@/views/borrow/approval/index.vue'), + meta: { + title: '借库审批', + icon: 'Stamp', + roles: ['SUPER_ADMIN', 'SUPERVISOR'] + } } ] },