钻石清除记录 - 修改清除时间格式
This commit is contained in:
@@ -42,7 +42,11 @@
|
||||
<el-table-column prop="erbanNo" align="center" label="主播ID" />
|
||||
<el-table-column prop="nick" align="center" label="主播昵称" />
|
||||
<el-table-column prop="diamondNum" align="center" label="清除钻石数" />
|
||||
<el-table-column prop="createTime" align="center" label="清除时间" />
|
||||
<el-table-column align="center" prop="createTime" label="清除时间">
|
||||
<template v-slot="scope">{{
|
||||
dateFormat(scope.row.createTime)
|
||||
}}</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<!-- 分页 -->
|
||||
<el-pagination
|
||||
@@ -128,6 +132,10 @@ const confirmExportExcel = async () => {
|
||||
});
|
||||
}
|
||||
};
|
||||
const dateFormat = (row) => {
|
||||
const date = new Date(row);
|
||||
return date.format("yyyy-MM-dd hh:mm:ss");
|
||||
}
|
||||
const handleSizeChange = (val) => {
|
||||
formData.pageSize = val;
|
||||
getData();
|
||||
|
Reference in New Issue
Block a user