修复传参

This commit is contained in:
Dragon
2024-03-25 18:23:06 +08:00
parent 14d17603d8
commit 7d8f0a714c

View File

@@ -45,9 +45,9 @@
<el-table-column prop="receiveNick" align="center" label="收礼人昵称" />
<el-table-column align="center" label="获得奖励数额" width="">
<template v-slot="scope">
<el-button @click="edi(scope.row)" type="text" size="small"
>{{ scope.row.rewardAmount }}</el-button
>
<el-button @click="edi(scope.row)" type="text" size="small">{{
scope.row.rewardAmount
}}</el-button>
</template>
</el-table-column>
</el-table>
@@ -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() {