投票记录

This commit is contained in:
yanran200730
2023-01-03 09:03:28 +08:00
parent 3277618a05
commit 8fe8b65535

View File

@@ -6,18 +6,20 @@
<ai-search-bar bottomBorder> <ai-search-bar bottomBorder>
<template #left> <template #left>
<el-date-picker <el-date-picker
v-model="search.endTime" v-model="search.startTime"
type="date" type="date"
size="small" size="small"
value-format="yyyy-MM-DD" value-format="yyyy-MM-dd"
placeholder="选择开始日期"> placeholder="选择开始日期"
@change="search.current = 1, getList()">
</el-date-picker> </el-date-picker>
<el-date-picker <el-date-picker
v-model="search.endTime" v-model="search.endTime"
type="date" type="date"
size="small" size="small"
value-format="yyyy-MM-DD" value-format="yyyy-MM-dd"
placeholder="选择结束日期"> placeholder="选择结束日期"
@change="search.current = 1, getList()">
</el-date-picker> </el-date-picker>
</template> </template>
<template #right> <template #right>
@@ -36,15 +38,12 @@
:tableData="tableData" :tableData="tableData"
:col-configs="colConfigs" :col-configs="colConfigs"
:total="total" :total="total"
v-loading="loading"
style="margin-top: 16px;" style="margin-top: 16px;"
:current.sync="search.current" :current.sync="search.current"
:size.sync="search.size" :size.sync="search.size"
@getList="getList"> @getList="getList">
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center"> <el-table-column slot="video" label="投票视频" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="table-options">>
</div>
</template> </template>
</el-table-column> </el-table-column>
</ai-table> </ai-table>
@@ -73,7 +72,8 @@
}, },
colConfigs: [ colConfigs: [
{ prop: 'nickname', label: '昵称' }, { prop: 'nickname', label: '昵称' },
{ prop: 'videoName', align: 'center', label: '投票视频' }, { prop: 'videoName', align: 'center', label: '投票视频名称' },
// { slot: 'video', align: 'center', label: '投票视频' },
{ prop: 'createTime', align: 'center', label: '投票时间' } { prop: 'createTime', align: 'center', label: '投票时间' }
], ],
tableData: [], tableData: [],