diff --git a/packages/3.0.0/AppVillageActivity/components/Statistics.vue b/packages/3.0.0/AppVillageActivity/components/Statistics.vue index ee94c522..623d168d 100644 --- a/packages/3.0.0/AppVillageActivity/components/Statistics.vue +++ b/packages/3.0.0/AppVillageActivity/components/Statistics.vue @@ -43,6 +43,7 @@ v-model="time1" type="month" size="small" + @change="getInfo" value-format="yyyy-MM" placeholder="请选择月份"> @@ -84,6 +85,53 @@ + + + @@ -112,15 +160,26 @@ children: 'children', label: 'name' }, + total: 0, + colConfigs: [ + { prop: 'moduleName', label: '模块名称', align: 'left', width: '200px' }, + { prop: 'menuName', label: '关联菜单', align: 'center' }, + { prop: 'id', label: 'ID', align: 'center' }, + { prop: 'categoryStr', label: '文章分类', align: 'center' } + ], time1: '', + time2: '', chart2: '', areaId: '', currIndex: -1, + list: [], areaList: [], unitName: '', search: { current: 1, - areaId: '' + areaId: '', + size: 10, + name: '' } } }, @@ -217,7 +276,7 @@ }, getInfo () { - this.instance.post(`/app/appvillageactivityinfo/statistic?time1=${this.time1}`).then(res => { + this.instance.post(`/app/appvillageactivityinfo/statistic?time1=${this.time1}&time2=${this.time2}`).then(res => { if (res.code == 0) { this.info = res.data.total this.initChart1(res.data.twelve)