diff --git a/src/views/users/GiftSendRecordView.vue b/src/views/users/GiftSendRecordView.vue index f68e421..c1bd0dc 100644 --- a/src/views/users/GiftSendRecordView.vue +++ b/src/views/users/GiftSendRecordView.vue @@ -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,