活动统计

This commit is contained in:
yanran200730
2021-12-22 19:10:14 +08:00
parent 1553352c88
commit ca7d06b6a6

View File

@@ -44,6 +44,7 @@
v-model="time1" v-model="time1"
type="month" type="month"
size="small" size="small"
:clearable="false"
@change="getInfo" @change="getInfo"
value-format="yyyy-MM" value-format="yyyy-MM"
placeholder="请选择月份"> placeholder="请选择月份">
@@ -87,19 +88,18 @@
</template> </template>
</ai-card> </ai-card>
<ai-card title="村民参与活动记录"> <ai-card title="村民参与活动记录">
<template #right>
<el-date-picker
v-model="time2"
type="month"
size="small"
:clearable="false"
@change="getInfo"
value-format="yyyy-MM"
placeholder="请选择月份">
</el-date-picker>
</template>
<template #content> <template #content>
<ai-search-bar class="search-bar" bottomBorder>
<template slot="left">
<el-date-picker
v-model="time2"
type="month"
size="small"
@change="getInfo"
value-format="yyyy-MM"
placeholder="请选择月份">
</el-date-picker>
</template>
</ai-search-bar>
<ai-table <ai-table
style="margin-top: 12px;" style="margin-top: 12px;"
:border="true" :border="true"
@@ -170,6 +170,8 @@
}, },
mounted () { mounted () {
this.time1 = this.$moment(new Date()).format('YYYY-MM')
this.time2 = this.$moment(new Date()).format('YYYY-MM')
this.areaId = this.user.info.areaId this.areaId = this.user.info.areaId
this.areaName = this.user.info.areaName this.areaName = this.user.info.areaName
this.getTree() this.getTree()