module.exports = [ { path: '/gotoLogin', name: '登录', component: 'Login/Login.js' }, { path: '/404', name: '404', component: '404.js' }, { path: '/500', name: '500', component: '500.js' }, { path: '/403', name: '403', component: '403.js' }, { path: '/', name: '要货', component: '../layouts/buyer/HomeLayout.js', icon: 'shopping-cart', routes: [ { path: '/', component: 'Buyer/home/index.js' }, { path: '/buyer', name: 'buyer', routes: [ { path: '/buyer/noticeList', name: 'noticeList', component: 'Buyer/noticeList/index.js', }, { path: '/buyer/orderListDetail', name: 'orderListDetail', component: 'Buyer/orderListDetail/index.js', }, { path: '/buyer/cartList', name: 'cartList', component: 'Buyer/cartList/index.js', }, { path: '/buyer/commodityDetails', name: 'commodityDetails', component: 'Buyer/commodityDetails/index.js', }, { path: '/buyer/orderList/:orderStatus?', name: 'orderList', component: 'Buyer/orderList/index.js', }, { path: '/buyer/orderSign', name: 'orderSign', component: 'Buyer/orderSign/index.js', }, { path: '/buyer/orderEdit', name: 'orderEdit', component: 'Buyer/orderEdit/index.js', }, { path: '/buyer/goodsPurchase', name: 'goodsPurchase', component: 'Buyer/goodsPurchase/index.js', }, { path: '/buyer/replenishment/:label?', name: 'replenishment', component: 'Buyer/replenishment/index.js', }, { path: '/buyer/announcement', name: 'announcement', component: 'Buyer/announcement/index.js', }, { path: '/buyer/orderSignListDetail', name: 'orderSignListDetail', component: 'Buyer/orderSignListDetail/index.js', }, { path: '/buyer/goodsSupplyList', name: 'goodsSupplyList', component: 'Buyer/goodsSupplyList/index.js', }, { path: '/buyer/goodsSupplyDetail', name: 'goodsSupplyDetail', component: 'Buyer/goodsSupplyDetail/index.js', }, { path: '/buyer/noticeDetail', name: 'noticeDetail', component: 'Buyer/noticeDetail/index.js', }, { path: '/buyer/credit', name: 'credit', component: 'Buyer/credit/index.js', }, { path: '/buyer/replenishmentParameter', name: 'replenishmentParameter', component: 'Buyer/replenishmentParameter/index.js', }, { path: '/buyer/goods/GoodsDetail', name: 'GoodsDetail', component: 'Buyer/goods/goodsDetail/index.js', }, { path: '/buyer/returnOrderList', name: 'returnOrderList', component: 'Buyer/returnOrderList/index.js', }, { path: '/buyer/returnOrderListDetail', name: 'returnOrderListDetail', component: 'Buyer/returnOrderListDetail/index.js', }, { path: '/buyer/returnOrderEdit', name: 'returnOrderEdit', component: 'Buyer/returnOrderEdit/index.js', }, { path: '/buyer/myAccount/cost', name: 'cost', component: 'Buyer/myAccount/cost/index.js', }, { path: '/buyer/myAccount/accountBalance/:tabIndex?', name: 'accountBalance', component: 'Buyer/myAccount/accountBalance/index.js', }, { path: '/buyer/myAccount/businessInfo', name: 'businessInfo', component: 'Buyer/myAccount/businessInfo/index.js', }, { path: '/buyer/myAccount/supplier', name: 'supplier', component: 'Buyer/myAccount/supplier/index.js', }, { path: '/buyer/reconciliations/costReconcile', name: 'costReconcile', component: 'Buyer/reconciliations/costReconcile/index.js', }, { path: '/buyer/reconciliations/dealReconcile', name: 'dealReconcile', component: 'Buyer/reconciliations/dealReconcile/index.js', }, { path: '/buyer/updatePassword', name: 'updatePassword', component: 'Buyer/updatePassword/index.js', }, { path: '/buyer/paymentNoticeEdit', name: 'paymentNoticeEdit', component: 'Buyer/paymentNoticeEdit/index.js', }, { path: '/buyer/paymentNoticeList', name: 'paymentNoticeList', component: 'Buyer/paymentNoticeList/index.js', }, { path: '/buyer/onlinePayEdit', name: 'onlinePayEdit', component: 'Buyer/onlinePayEdit/index.js', }, { path: '/buyer/onlinePayList', name: 'onlinePayList', component: 'Buyer/onlinePayList/index.js', }, { path: '/buyer/onlinePayList', name: 'onlinePayList', component: 'Buyer/onlinePayList/index.js', } ], } ], }, ];