This commit is contained in:
yanran200730
2022-12-30 17:17:54 +08:00
parent 2833cd589a
commit 3277618a05

View File

@@ -6,14 +6,14 @@
<ai-search-bar bottomBorder> <ai-search-bar bottomBorder>
<template #left> <template #left>
<el-date-picker <el-date-picker
v-model="search.startDate" v-model="search.endTime"
type="date" type="date"
size="small" size="small"
value-format="yyyy-MM-DD" value-format="yyyy-MM-DD"
placeholder="选择开始日期"> placeholder="选择开始日期">
</el-date-picker> </el-date-picker>
<el-date-picker <el-date-picker
v-model="search.endDate" v-model="search.endTime"
type="date" type="date"
size="small" size="small"
value-format="yyyy-MM-DD" value-format="yyyy-MM-DD"
@@ -22,12 +22,12 @@
</template> </template>
<template #right> <template #right>
<el-input <el-input
v-model="search.name" v-model="search.videoName"
size="small" size="small"
placeholder="请输入视频名称" placeholder="请输入视频名称"
clearable clearable
v-throttle="() => {search.current = 1, getList()}" v-throttle="() => {search.current = 1, getList()}"
@clear="search.current = 1, search.name = '', getList()" @clear="search.current = 1, search.videoName = '', getList()"
suffix-icon="iconfont iconSearch"> suffix-icon="iconfont iconSearch">
</el-input> </el-input>
</template> </template>
@@ -67,14 +67,14 @@
search: { search: {
current: 1, current: 1,
size: 10, size: 10,
startDate: '', startTime: '',
endDate: '', endTime: '',
name: '' videoName: ''
}, },
colConfigs: [ colConfigs: [
{ prop: 'name', label: '昵称' }, { prop: 'nickname', label: '昵称' },
{ prop: 'fillingUserNames', align: 'center', label: '投票视频' }, { prop: 'videoName', align: 'center', label: '投票视频' },
{ prop: 'examineUserNames', align: 'center', label: '投票时间' } { prop: 'createTime', align: 'center', label: '投票时间' }
], ],
tableData: [], tableData: [],
total: 0 total: 0
@@ -87,7 +87,7 @@
methods: { methods: {
getList () { getList () {
this.instance.post(`/app/appassessmentscorev2examinegroup/list`, null, { this.instance.post(`/app/appvideovoteinfo/list`, null, {
params: { params: {
...this.search ...this.search
} }