From 226d59f1103f5cd4838c7ee1becd228298b04979 Mon Sep 17 00:00:00 2001 From: 123456 <13063093621@163.com> Date: Sat, 9 Mar 2024 10:41:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E9=A6=96=E9=A1=B5=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 35c3df7..d3f9c9c 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -126,29 +126,25 @@ export default { route: '/mySupplier', title: '供应商合同审批', icon: 'friends-o', - // show: this.permission_btns.includes('procurement:supplierCt:list') - show: true + show: this.permission_btns.includes('procurement:supplierCt:list') }, { route: '/myCustom', title: '客户合同审批', icon: 'manager-o', - // show: this.permission_btns.includes('bs:customer-contract:query') - show: true + show: this.permission_btns.includes('bs:customer-contract:query') }, { route: '/myBidder', title: '中标审批', icon: 'bookmark-o', - // show: this.permission_btns.includes('bs:quotation-sheet:create') - show: true + show: this.permission_btns.includes('bs:quotation-sheet:create') }, { route: '/myPay', title: '付款审批', icon: 'refund-o', - // show: this.permission_btns.includes('procurement:payApply:list') - show: true + show: this.permission_btns.includes('procurement:payApply:list') }, ], title: '合同审批' @@ -165,15 +161,13 @@ export default { route: '/myNewTrips', title: '我的申请', icon: 'manager-o', - // show: checkPermission('bs/myExpenseApply/index'), - show: true + show: checkPermission('bs/myExpenseApply/index'), }, { route: '/myTrips', title: '申请单', icon: 'exchange', - // show: checkPermission('bs/expenseApply/index'), - show: true + show: checkPermission('bs/expenseApply/index'), }, // { // route: '/claim', @@ -185,22 +179,19 @@ export default { route: '/myNewClaim', title: '我的报销', icon: 'bookmark-o', - // show: checkPermission('bs/myExpenseClaim/index'), - show: true + show: checkPermission('bs/myExpenseClaim/index'), }, { route: '/myClaim', title: '报销单', icon: 'qr-invalid', - // show: checkPermission('bs/expenseClaim/index'), - show: true + show: checkPermission('bs/expenseClaim/index'), }, { route: '/myInvoice', title: '我的发票', icon: 'label-o', - // show: checkPermission('bs/invoice/index'), - show: true + show: checkPermission('bs/invoice/index'), }, ], title: '企业办公'