From 7d8f0a714c4892882f4019e72030dd4a4704505a Mon Sep 17 00:00:00 2001
From: Dragon <13925835632@139.com>
Date: Mon, 25 Mar 2024 18:23:06 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=A0=E5=8F=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/lucky/LuckyGiftDetail.vue | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/src/views/lucky/LuckyGiftDetail.vue b/src/views/lucky/LuckyGiftDetail.vue
index 03573a1..5abb139 100644
--- a/src/views/lucky/LuckyGiftDetail.vue
+++ b/src/views/lucky/LuckyGiftDetail.vue
@@ -45,9 +45,9 @@
- {{ scope.row.rewardAmount }}
+ {{
+ scope.row.rewardAmount
+ }}
@@ -153,10 +153,19 @@ export default {
},
// 导出
exportDate() {
- luckyGiftRewardRecordExport({
- giftId: this.inquire.giftId == null || this.inquire.giftId == "null"? null : this.inquire.giftId,
- sendErBanNo: this.inquire.senUserId,
- }).then();
+ var obj = {};
+ if (this.inquire.giftId == null || this.inquire.giftId == "null") {
+ obj = {
+ sendErBanNo: this.inquire.senUserId,
+ };
+ } else {
+ obj = {
+ giftId: this.inquire.giftId,
+ sendErBanNo: this.inquire.senUserId,
+ };
+ }
+
+ luckyGiftRewardRecordExport(obj).then();
},
// 分页导航
handleSizeChange() {