修复传参

This commit is contained in:
Dragon
2024-03-25 18:23:06 +08:00
parent 42ab5d8fb1
commit 116da21aab

View File

@@ -45,9 +45,9 @@
<el-table-column prop="receiveNick" align="center" label="收礼人昵称" /> <el-table-column prop="receiveNick" align="center" label="收礼人昵称" />
<el-table-column align="center" label="获得奖励数额" width=""> <el-table-column align="center" label="获得奖励数额" width="">
<template v-slot="scope"> <template v-slot="scope">
<el-button @click="edi(scope.row)" type="text" size="small" <el-button @click="edi(scope.row)" type="text" size="small">{{
>{{ scope.row.rewardAmount }}</el-button scope.row.rewardAmount
> }}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -153,10 +153,19 @@ export default {
}, },
// 导出 // 导出
exportDate() { exportDate() {
luckyGiftRewardRecordExport({ var obj = {};
giftId: this.inquire.giftId == null || this.inquire.giftId == "null"? null : this.inquire.giftId, if (this.inquire.giftId == null || this.inquire.giftId == "null") {
sendErBanNo: this.inquire.senUserId, obj = {
}).then(); sendErBanNo: this.inquire.senUserId,
};
} else {
obj = {
giftId: this.inquire.giftId,
sendErBanNo: this.inquire.senUserId,
};
}
luckyGiftRewardRecordExport(obj).then();
}, },
// 分页导航 // 分页导航
handleSizeChange() { handleSizeChange() {