From ad1e81ae73e6a239aa329aeb6f4ce3a1e2292c13 Mon Sep 17 00:00:00 2001
From: wuhui_zzw <1760308791@qq.com>
Date: Sat, 3 Feb 2024 11:03:31 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E8=8F=9C=E5=8D=A1?=
=?UTF-8?q?=E9=A2=9D=E5=BA=A6=E6=98=8E=E7=BB=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/marketing.js | 4 +-
src/router/modules/marketing.js | 9 +
.../marketing/exchange/quota/vegetable.vue | 225 ++++++++++++++++++
3 files changed, 236 insertions(+), 2 deletions(-)
create mode 100644 src/views/marketing/exchange/quota/vegetable.vue
diff --git a/src/api/marketing.js b/src/api/marketing.js
index 5263f9a..83bf6a7 100644
--- a/src/api/marketing.js
+++ b/src/api/marketing.js
@@ -725,8 +725,8 @@ export function giveIntegralList(data) {
}
// 酒卡额度 - 顶部统计
-export function exchangeQuotaTitle() {
- return request.get(`user/exchange_quota/quota_title`)
+export function exchangeQuotaTitle(data) {
+ return request.get(`user/exchange_quota/quota_title`,data)
}
// 酒卡额度 - 持有信息列表&变更记录列表
export function exchangeQuotaList(apiName = 'list',data) {
diff --git a/src/router/modules/marketing.js b/src/router/modules/marketing.js
index d5f59c1..a27a57c 100644
--- a/src/router/modules/marketing.js
+++ b/src/router/modules/marketing.js
@@ -466,6 +466,15 @@ const marketingRouter =
},
component: () => import('@/views/marketing/exchange/quota/index')
},
+ {
+ path: 'vegetable',
+ name: `exchangeVegetableQuota`,
+ meta: {
+ title: '菜卡额度',
+ noCache: true
+ },
+ component: () => import('@/views/marketing/exchange/quota/vegetable')
+ },
{
path: 'integral',
name: `exchangeIntegral`,
diff --git a/src/views/marketing/exchange/quota/vegetable.vue b/src/views/marketing/exchange/quota/vegetable.vue
new file mode 100644
index 0000000..39b0b2e
--- /dev/null
+++ b/src/views/marketing/exchange/quota/vegetable.vue
@@ -0,0 +1,225 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
{{ scope.row.nickname }}
+
ID:{{ scope.row.uid }}
+
+
+
+
+
+
+
+
+
+
+ {{ (scope.row.surplus_quota - scope.row.freeze_quota).toFixed(2) }}
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
{{ scope.row.nickname }}
+
ID:{{ scope.row.uid }}
+
+
+
+
+
+
+
+
+ 增加
+ 减少
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+