恢复首页按钮菜单权限控制

pull/1/head
123456 9 months ago
parent 33c9dab25d
commit 226d59f110

@ -126,29 +126,25 @@ export default {
route: '/mySupplier', route: '/mySupplier',
title: '供应商合同审批', title: '供应商合同审批',
icon: 'friends-o', icon: 'friends-o',
// show: this.permission_btns.includes('procurement:supplierCt:list') show: this.permission_btns.includes('procurement:supplierCt:list')
show: true
}, },
{ {
route: '/myCustom', route: '/myCustom',
title: '客户合同审批', title: '客户合同审批',
icon: 'manager-o', icon: 'manager-o',
// show: this.permission_btns.includes('bs:customer-contract:query') show: this.permission_btns.includes('bs:customer-contract:query')
show: true
}, },
{ {
route: '/myBidder', route: '/myBidder',
title: '中标审批', title: '中标审批',
icon: 'bookmark-o', icon: 'bookmark-o',
// show: this.permission_btns.includes('bs:quotation-sheet:create') show: this.permission_btns.includes('bs:quotation-sheet:create')
show: true
}, },
{ {
route: '/myPay', route: '/myPay',
title: '付款审批', title: '付款审批',
icon: 'refund-o', icon: 'refund-o',
// show: this.permission_btns.includes('procurement:payApply:list') show: this.permission_btns.includes('procurement:payApply:list')
show: true
}, },
], ],
title: '合同审批' title: '合同审批'
@ -165,15 +161,13 @@ export default {
route: '/myNewTrips', route: '/myNewTrips',
title: '我的申请', title: '我的申请',
icon: 'manager-o', icon: 'manager-o',
// show: checkPermission('bs/myExpenseApply/index'), show: checkPermission('bs/myExpenseApply/index'),
show: true
}, },
{ {
route: '/myTrips', route: '/myTrips',
title: '申请单', title: '申请单',
icon: 'exchange', icon: 'exchange',
// show: checkPermission('bs/expenseApply/index'), show: checkPermission('bs/expenseApply/index'),
show: true
}, },
// { // {
// route: '/claim', // route: '/claim',
@ -185,22 +179,19 @@ export default {
route: '/myNewClaim', route: '/myNewClaim',
title: '我的报销', title: '我的报销',
icon: 'bookmark-o', icon: 'bookmark-o',
// show: checkPermission('bs/myExpenseClaim/index'), show: checkPermission('bs/myExpenseClaim/index'),
show: true
}, },
{ {
route: '/myClaim', route: '/myClaim',
title: '报销单', title: '报销单',
icon: 'qr-invalid', icon: 'qr-invalid',
// show: checkPermission('bs/expenseClaim/index'), show: checkPermission('bs/expenseClaim/index'),
show: true
}, },
{ {
route: '/myInvoice', route: '/myInvoice',
title: '我的发票', title: '我的发票',
icon: 'label-o', icon: 'label-o',
// show: checkPermission('bs/invoice/index'), show: checkPermission('bs/invoice/index'),
show: true
}, },
], ],
title: '企业办公' title: '企业办公'

Loading…
Cancel
Save