From 2ca728a30a7d8a153bad85839fa36ae783aea487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Wed, 6 Nov 2024 08:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dashboard.js | 9 +++ src/components/DateRangePicker/index.vue | 69 +++++++++++++++++++ src/views/ss/risk/index.vue | 40 +++++++---- .../device/components/BindAgentButton.vue | 8 ++- .../components/UserDailyRechargeReport.vue | 64 +++++++++++++++++ .../smUser/components/userRechargeReport.vue | 16 ++--- src/views/system/smUser/detail.vue | 16 ++++- src/views/system/smUser/index.vue | 11 ++- 8 files changed, 202 insertions(+), 31 deletions(-) create mode 100644 src/components/DateRangePicker/index.vue create mode 100644 src/views/system/smUser/components/UserDailyRechargeReport.vue diff --git a/src/api/system/dashboard.js b/src/api/system/dashboard.js index 30bfd07..f28a5f0 100644 --- a/src/api/system/dashboard.js +++ b/src/api/system/dashboard.js @@ -54,4 +54,13 @@ export function getBonusMonthAmount(params) { }) } +// 根据天获取分成金额 +export function getBonusDailyAmount(params) { + return request({ + url: '/system/dashboard/bonusDailyAmount', + method: 'get', + params + }) +} + diff --git a/src/components/DateRangePicker/index.vue b/src/components/DateRangePicker/index.vue new file mode 100644 index 0000000..ea8f01d --- /dev/null +++ b/src/components/DateRangePicker/index.vue @@ -0,0 +1,69 @@ + + diff --git a/src/views/ss/risk/index.vue b/src/views/ss/risk/index.vue index 587afbd..67aadd3 100644 --- a/src/views/ss/risk/index.vue +++ b/src/views/ss/risk/index.vue @@ -34,6 +34,13 @@ 风控中 + + + 全部 + 允许 + 不允许 + + 搜索 重置 @@ -102,6 +109,9 @@ + @@ -143,14 +153,6 @@ - - - - - - - - {{dict.label}} @@ -165,9 +167,12 @@ v-model="form.endTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" - placeholder="请选择解封时间"> + placeholder="请选择解封时间,为空则永久封禁"> + + +