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: {