投票记录

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