From 6b1e4556d81af74d199fa59ce572e5c8da2e1607 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 21 Dec 2021 18:15:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=9C=AC=E6=9D=91=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Statistics.vue | 23 ++++++------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/packages/3.0.0/AppVillageActivity/components/Statistics.vue b/packages/3.0.0/AppVillageActivity/components/Statistics.vue index 623d168d..03a33055 100644 --- a/packages/3.0.0/AppVillageActivity/components/Statistics.vue +++ b/packages/3.0.0/AppVillageActivity/components/Statistics.vue @@ -97,17 +97,6 @@ value-format="yyyy-MM" placeholder="请选择月份"> - - - @@ -162,10 +152,10 @@ }, 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' } + { prop: 'name', label: '姓名', align: 'left' }, + { prop: 'gender', label: '性别', align: 'center' }, + { prop: 'number1', label: '报名次数', align: 'center' }, + { prop: 'number2', label: '发布动态条数', align: 'center' } ], time1: '', time2: '', @@ -223,7 +213,6 @@ this.search.current = 1 this.$nextTick(() => { - this.loading = true this.getInfo() }) }, @@ -276,11 +265,13 @@ }, getInfo () { + this.loading = true 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) this.initChart2(res.data.gender) + this.list = res.data.rank || [] this.loading = false } else { this.loading = false