From 7948d2d9348124bb587085c8328443aefbb086b5 Mon Sep 17 00:00:00 2001 From: jiangweiguo <1578967617@qq.com> Date: Mon, 1 Apr 2024 09:53:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++- src/views/home/index.vue | 25 +++++++++++++++++++++---- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 7ab7205..440a1a4 100644 --- a/.env.development +++ b/.env.development @@ -13,4 +13,5 @@ VUE_APP_API= '/' # 请求环境 # 方楠 -VUE_APP_BASE_API = 'https://2537287x0n.imdo.co' \ No newline at end of file +# VUE_APP_BASE_API = 'https://2537287x0n.imdo.co' +VUE_APP_BASE_API = '/proxy-api' \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index c8c0935..8ff9402 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -166,12 +166,12 @@ export default { icon: 'manager-o', show: checkPermission('bs/myExpenseApply/index'), }, - { + /* { route: '/myTrips', title: '申请单', icon: 'exchange', show: checkPermission('bs/expenseApply/index'), - }, + }, */ // { // route: '/claim', // title: '报销审批', @@ -184,12 +184,12 @@ export default { icon: 'bookmark-o', show: checkPermission('bs/myExpenseClaim/index'), }, - { + /* { route: '/myClaim', title: '报销单', icon: 'qr-invalid', show: checkPermission('bs/expenseClaim/index'), - }, + }, */ { route: '/myInvoice', title: '我的发票', @@ -199,6 +199,23 @@ export default { ], title: '企业办公', }, + { + row: [ + { + route: '/myTrips', + title: '申请单', + icon: 'exchange', + show: checkPermission('bs/expenseApply/index'), + }, + { + route: '/myClaim', + title: '报销单', + icon: 'qr-invalid', + show: checkPermission('bs/expenseClaim/index'), + }, + ], + title: '审批', + }, ] this.roterList = arr.map((item) => { return {