From 7c2183ca3d5951bc3e4cf82be4278626c3c1ea6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Fri, 23 Feb 2024 15:15:28 +0800 Subject: [PATCH] 111 --- src/router/routes.js | 3 ++- src/views/home.vue | 2 +- .../total_earnings/total_earnings_list.vue | 19 ++++++++++++++- src/views/withdraw/withdraw_list.vue | 24 +++++++++++++++++-- 4 files changed, 43 insertions(+), 5 deletions(-) diff --git a/src/router/routes.js b/src/router/routes.js index 10b7bce..ac3a223 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -485,7 +485,8 @@ export const asyncRoutes = [ component: layout, meta: { title: '累计收益管理', - isHide: true + isHide: true, + roles: ['agent'] }, redirect: '/total_earnings/total_earnings_list', children: [ diff --git a/src/views/home.vue b/src/views/home.vue index 88e47c2..247d807 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -44,7 +44,7 @@ -
+
diff --git a/src/views/total_earnings/total_earnings_list.vue b/src/views/total_earnings/total_earnings_list.vue index 01bcb4a..636936c 100644 --- a/src/views/total_earnings/total_earnings_list.vue +++ b/src/views/total_earnings/total_earnings_list.vue @@ -144,7 +144,24 @@ -->
- + + + + + + + + + + + +