送礼明细-后台-增加房间

This commit is contained in:
khalil
2024-12-06 14:26:50 +08:00
parent 1aa6a67531
commit c39b992e31

View File

@@ -48,28 +48,16 @@ export default {
$('#table').bootstrapTable({
columns: [
{ field: 'senderErbanNo', title: '送礼用户id', align: 'center', width: '8%' },
{ field: 'senderNick', title: '送礼用户昵称', align: 'center', width: '16%' },
{ field: 'senderNick', title: '送礼用户昵称', align: 'center', width: '12%' },
{ field: 'receiverErbanNo', title: '收礼用户id', align: 'center', width: '8%' },
{ field: 'receiverNick', title: '收礼用户昵称', align: 'center', width: '16%' },
{ field: 'giftType', title: '礼物类型', align: 'center', width: '16%' },
{ field: 'giftName', title: '礼物名称', align: 'center', width: '10%' },
{ field: 'giftNum', title: '礼物数量', align: 'center', width: '6%' },
{ field: 'receiverNick', title: '收礼用户昵称', align: 'center', width: '12%' },
{ field: 'roomErbanNo', title: "房间id", align: 'center', width: '8%' },
{ field: 'roomTitle', title: "房间", align: 'center', width: '12%' },
{ field: 'giftType', title: '礼物类型', align: 'center', width: '8%' },
{ field: 'giftName', title: '礼物名称', align: 'center', width: '8%' },
{ field: 'giftNum', title: '礼物数量', align: 'center', width: '4%' },
{ field: 'totalGoldNum', title: '礼物总价值(钻)', align: 'center', width: '10%' },
{
field: 'createTime',
title: '送礼时间',
align: 'center',
valign: 'middle',
width: '10%',
formatter: function (val, row, index) {
if (val) {
var date = new Date(val);
return date.format("yyyy-MM-dd hh:mm:ss");
} else {
return '-';
}
}
}
{ field: 'createTime', title: '送礼时间', align: 'center', valign: 'middle', width: '16%'},
],
cache: false,
striped: true,