Commit 48cac882 authored by 程卓's avatar 程卓

调整首页跳转月份丢失年份

parent 0a87a0aa
...@@ -606,10 +606,12 @@ export default { ...@@ -606,10 +606,12 @@ export default {
} }
}, },
hoverMonth(item){ hoverMonth(item){
let time = new Date().getFullYear()
// console.log(time+'-'+parseInt(item.name))
this.$router.push({ this.$router.push({
name: 'month', name: 'month',
query: { query: {
month: parseInt(item.name) month: time+'-'+parseInt(item.name)
} }
}) })
}, },
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<p v-if="urls.name == 'managerView'" class="detailsPartTitle">小区经理信息</p> <p v-if="urls.name == 'managerView'" class="detailsPartTitle">小区经理信息</p>
<p v-if="urls.name == 'buildingView'" class="detailsPartTitle">小区楼栋信息</p> <p v-if="urls.name == 'buildingView'" class="detailsPartTitle">小区楼栋信息</p>
<p v-if="urls.name == 'memberView'" class="detailsPartTitle">成员信息</p> <p v-if="urls.name == 'memberView'" class="detailsPartTitle">成员信息</p>
<p v-if="urls.name == 'neighborhoodCommitteesView'" class="detailsPartTitle">委会信息</p> <p v-if="urls.name == 'neighborhoodCommitteesView'" class="detailsPartTitle">委会信息</p>
<div style="margin:0 16px;"> <div style="margin:0 16px;">
<!-- 物业 --> <!-- 物业 -->
<div v-if="urls.name == 'propertyInfoView' "> <div v-if="urls.name == 'propertyInfoView' ">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment