From 781876cfeec5c448684390372242e8c027aee6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=A4=AB=E7=90=B3?= <5356169+zhaofulin@user.noreply.gitee.com> Date: Tue, 5 Mar 2024 11:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=89=8D=E7=AB=AF=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index d2d84a3..35c3df7 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -118,7 +118,6 @@ export default { }) }, handleFilterList() { - console.log('首页加载...'); this.roterList = [] let arr = [ { @@ -127,25 +126,29 @@ export default { route: '/mySupplier', title: '供应商合同审批', icon: 'friends-o', - show: this.permission_btns.includes('procurement:supplierCt:list') + // show: this.permission_btns.includes('procurement:supplierCt:list') + show: true }, { route: '/myCustom', title: '客户合同审批', 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', title: '中标审批', 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', title: '付款审批', icon: 'refund-o', - show: this.permission_btns.includes('procurement:payApply:list') + // show: this.permission_btns.includes('procurement:payApply:list') + show: true }, ], title: '合同审批' @@ -162,13 +165,15 @@ export default { route: '/myNewTrips', title: '我的申请', icon: 'manager-o', - show: checkPermission('bs/myExpenseApply/index'), + // show: checkPermission('bs/myExpenseApply/index'), + show: true }, { route: '/myTrips', title: '申请单', icon: 'exchange', - show: checkPermission('bs/expenseApply/index'), + // show: checkPermission('bs/expenseApply/index'), + show: true }, // { // route: '/claim', @@ -180,19 +185,22 @@ export default { route: '/myNewClaim', title: '我的报销', icon: 'bookmark-o', - show: checkPermission('bs/myExpenseClaim/index'), + // show: checkPermission('bs/myExpenseClaim/index'), + show: true }, { route: '/myClaim', title: '报销单', icon: 'qr-invalid', - show: checkPermission('bs/expenseClaim/index'), + // show: checkPermission('bs/expenseClaim/index'), + show: true }, { route: '/myInvoice', title: '我的发票', icon: 'label-o', - show: checkPermission('bs/invoice/index'), + // show: checkPermission('bs/invoice/index'), + show: true }, ], title: '企业办公' @@ -204,7 +212,6 @@ export default { row: item.row.filter(n => n.show) } }) - console.log('roterList..', this.roterList); }, checkPermission, handelTo(route) {