本村活动

This commit is contained in:
yanran200730
2021-12-18 14:16:45 +08:00
parent 3188da1ad3
commit 7527cdc8c2
3 changed files with 37 additions and 23 deletions

View File

@@ -7,17 +7,17 @@
<ai-select
v-model="search.isRealName"
@change="search.current = 1, getList()"
placeholder="是否实名"
:selectList="dict.getDict('wxCustomerAddWay')">
placeholder="活动状态"
:selectList="dict.getDict('villageActivityStatus')">
</ai-select>
</template>
<template slot="right">
<el-input
v-model="search.name"
v-model="search.title"
class="search-input"
size="small"
@keyup.enter.native="search.current = 1, getList()"
placeholder="请输入备注、昵称、姓名"
placeholder="请输入活动名称"
clearable
@change="getList"
@clear="search.current = 1, search.name = '', getList()"
@@ -64,10 +64,7 @@
search: {
current: 1,
size: 10,
name: '',
tagId: '',
wxUserId: '',
isRealName: ''
title: ''
},
isLoading: false,
ids: [],
@@ -85,7 +82,7 @@
prop: 'status', label: '活动状态', align: 'center',
render: (h, params) => {
return h('span', {
}, params.row.status ? '是' : '否')
}, this.dict.getLabel('villageActivityStatus', params.row.status))
}
},
{ prop: 'realNum', label: '报名人数', align: 'center' },
@@ -108,7 +105,7 @@
created () {
this.isLoading = true
this.dict.load(['wxCustomerAddWay']).then(() => {
this.dict.load(['villageActivityStatus']).then(() => {
this.getList()
})
},