|
|
@ -44,98 +44,104 @@ export const constantRoutes = [ |
|
|
|
hidden: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/profession', |
|
|
|
path: '/operation', |
|
|
|
component: Layout, |
|
|
|
redirect: '/profession', |
|
|
|
redirect: '/operation', |
|
|
|
meta: { |
|
|
|
title: '工种管理' |
|
|
|
title: '业务' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/profession/profession', |
|
|
|
component: () => import('@/views/profession/profession.vue'), |
|
|
|
name: 'Profession', |
|
|
|
meta: { title: '工种管理', noCache: true } |
|
|
|
path: '/preregistration/preregistration', |
|
|
|
component: () => import('@/views/operation/preregistration/preregistration.vue'), |
|
|
|
name: 'Preregistration', |
|
|
|
meta: { title: '预约登记', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/subjects', |
|
|
|
path: '/statement', |
|
|
|
component: Layout, |
|
|
|
redirect: '/subjects', |
|
|
|
redirect: '/statement', |
|
|
|
meta: { |
|
|
|
title: '科目管理' |
|
|
|
title: '报表' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/subjects/subjects', |
|
|
|
component: () => import('@/views/subjects/subjects.vue'), |
|
|
|
name: 'Subjects', |
|
|
|
meta: { title: '科目管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/team', |
|
|
|
component: Layout, |
|
|
|
redirect: '/team', |
|
|
|
meta: { |
|
|
|
title: '班组管理' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
path: '/salesstatement/merchandisesalesdetail', |
|
|
|
component: () => import('@/views/statement/salesstatement/merchandisesalesdetail.vue'), |
|
|
|
name: 'MerchandiseSalesDetail', |
|
|
|
meta: { title: '销售明细商品', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/team/team', |
|
|
|
component: () => import('@/views/team/team.vue'), |
|
|
|
name: 'Team', |
|
|
|
meta: { title: '班组管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/setmeal', |
|
|
|
component: Layout, |
|
|
|
redirect: '/setmeal', |
|
|
|
meta: { |
|
|
|
title: '套餐管理' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
path: '/salesstatement/merchandisesalessummary', |
|
|
|
component: () => import('@/views/statement/salesstatement/merchandisesalessummary.vue'), |
|
|
|
name: 'MerchandiseSalesSummary', |
|
|
|
meta: { title: '销售汇总商品', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/setmeal/setmeal', |
|
|
|
component: () => import('@/views/setmeal/setmeal.vue'), |
|
|
|
name: 'Setmeal', |
|
|
|
meta: { title: '套餐管理', noCache: true } |
|
|
|
path: '/salesstatement/salestrendreport', |
|
|
|
component: () => import('@/views/statement/salesstatement/salestrendreport.vue'), |
|
|
|
name: 'SalesTrendReport', |
|
|
|
meta: { title: '销售价趋势报表', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehousereport/inventorystatistics', |
|
|
|
component: () => import('@/views/statement/warehousereport/inventorystatistics.vue'), |
|
|
|
name: 'InventoryStatistics', |
|
|
|
meta: { title: '库存统计', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehousereport/receiptandreceiptrecord', |
|
|
|
component: () => import('@/views/statement/warehousereport/receiptandreceiptrecord.vue'), |
|
|
|
name: 'ReceiptAndReceiptRecord', |
|
|
|
meta: { title: '收发存明细报表', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/maintenanceitem', |
|
|
|
path: '/basicinformation', |
|
|
|
component: Layout, |
|
|
|
redirect: '/maintenanceitem', |
|
|
|
redirect: '/basicinformation', |
|
|
|
meta: { |
|
|
|
title: '维修项目管理' |
|
|
|
title: '基础信息' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/maintenanceitem/maintenanceitem', |
|
|
|
component: () => import('@/views/maintenanceitem/maintenanceitem.vue'), |
|
|
|
component: () => import('@/views/basicinformation/maintenanceitem/maintenanceitem.vue'), |
|
|
|
name: 'MaintenanceItem', |
|
|
|
meta: { title: '维修项目管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/additionitem', |
|
|
|
component: Layout, |
|
|
|
redirect: '/additionitem', |
|
|
|
meta: { |
|
|
|
title: '附加项目管理' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/additionitem/additionitem', |
|
|
|
component: () => import('@/views/additionitem/additionitem.vue'), |
|
|
|
component: () => import('@/views/basicinformation/additionitem/additionitem.vue'), |
|
|
|
name: 'AdditionItem', |
|
|
|
meta: { title: '附加项目管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/setmeal/setmeal', |
|
|
|
component: () => import('@/views/basicinformation/setmeal/setmeal.vue'), |
|
|
|
name: 'Setmeal', |
|
|
|
meta: { title: '套餐管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/profession/profession', |
|
|
|
component: () => import('@/views/basicinformation/profession/profession.vue'), |
|
|
|
name: 'Profession', |
|
|
|
meta: { title: '工种管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/subjects/subjects', |
|
|
|
component: () => import('@/views/basicinformation/subjects/subjects.vue'), |
|
|
|
name: 'Subjects', |
|
|
|
meta: { title: '科目管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/team/team', |
|
|
|
component: () => import('@/views/basicinformation/team/team.vue'), |
|
|
|
name: 'Team', |
|
|
|
meta: { title: '班组管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|