From c39b992e3142207a62af095335662188931bb2cd Mon Sep 17 00:00:00 2001 From: khalil Date: Fri, 6 Dec 2024 14:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=81=E7=A4=BC=E6=98=8E=E7=BB=86-=E5=90=8E?= =?UTF-8?q?=E5=8F=B0-=E5=A2=9E=E5=8A=A0=E6=88=BF=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/users/GiftSendRecordView.vue | 28 ++++++++------------------ 1 file changed, 8 insertions(+), 20 deletions(-) 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,