From b89482367287662b6cc5005a8760489beefc8cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 24 Aug 2022 13:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sunVillage_info/list_tourists_ranking.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/sunVillage_info/list_tourists_ranking.vue b/src/views/sunVillage_info/list_tourists_ranking.vue index ed2e77a5..28f22f9d 100644 --- a/src/views/sunVillage_info/list_tourists_ranking.vue +++ b/src/views/sunVillage_info/list_tourists_ranking.vue @@ -18,7 +18,7 @@ -

崖西镇崖后村2022年7月份集体用工情况公布榜

+

{{deptName}}{{yearMonth[0]}}年{{yearMonth[1]}}月份集体用工情况公布榜

@@ -105,14 +105,16 @@ projectId:'', projectIndex:'', showBtn:true, + yearMonth:[], + deptName:'' }; }, created() { this.queryParams.bookId = Cookies.get('bookId'); this.queryParams.deptId = Cookies.get('deptId'); - if (this.$route.query.type == 'code'){ - this.showBtn = false; - } + this.deptName = Cookies.get('deptName'); + this.queryParams.yearMonth = this.$route.query.time; + this.yearMonth = this.$route.query.time.split('-') this.getList(); }, methods: {