Commit d9959f68 authored by Gakki's avatar Gakki

接口日期传递

parent 2bf845d4
...@@ -16,18 +16,18 @@ ...@@ -16,18 +16,18 @@
</a-col> </a-col>
<a-col :span='10'> <a-col :span='10'>
<a-row style="border-left: 1px solid lightgrey; padding-left: 10px; "> <a-row style="border-left: 1px solid lightgrey; padding-left: 10px; ">
<a-col :span='16'> <a-col :span='16' v-show="1==2">
<span class="top-font" > 本月新增 : </span> <span class="top-font"> 本月新增 : </span>
</a-col> </a-col>
<a-col :span='8'> <a-col :span='8' v-show="1==2">
<span class="top-count-extra" style="cursor: pointer;" >{{2}}</span> <span class="top-count-extra" style="cursor: pointer;" >{{2}}</span>
</a-col> </a-col>
</a-row> </a-row>
<a-row style="border-left: 1px solid lightgrey; padding-left: 10px;"> <a-row style="border-left: 1px solid lightgrey; padding-left: 10px;">
<a-col :span='16'> <a-col :span='16' v-show="1==2">
<span class="top-font" > 本月注销 : </span> <span class="top-font" > 本月注销 : </span>
</a-col> </a-col>
<a-col :span='8'> <a-col :span='8' v-show="1==2">
<span class="top-count-extra" style="cursor: pointer;">{{3}}</span> <span class="top-count-extra" style="cursor: pointer;">{{3}}</span>
</a-col> </a-col>
</a-row> </a-row>
...@@ -65,18 +65,18 @@ ...@@ -65,18 +65,18 @@
</a-col> </a-col>
<a-col :span='10'> <a-col :span='10'>
<a-row style="border-left: 1px solid lightgrey; padding-left: 10px; "> <a-row style="border-left: 1px solid lightgrey; padding-left: 10px; ">
<a-col :span='16'> <a-col :span='16' v-show="1==2">
<span class="top-font" > 本月增加 : </span> <span class="top-font" > 本月增加 : </span>
</a-col> </a-col>
<a-col :span='8'> <a-col :span='8' v-show="1==2">
<span class="top-count-extra" style="cursor: pointer;" >{{0}}</span> <span class="top-count-extra" style="cursor: pointer;" >{{0}}</span>
</a-col> </a-col>
</a-row> </a-row>
<a-row style="border-left: 1px solid lightgrey; padding-left: 10px;"> <a-row style="border-left: 1px solid lightgrey; padding-left: 10px;">
<a-col :span='16'> <a-col :span='16' v-show="1==2">
<span class="top-font" > 本月注销 : </span> <span class="top-font" > 本月注销 : </span>
</a-col> </a-col>
<a-col :span='8'> <a-col :span='8' v-show="1==2">
<span class="top-count-extra" style="cursor: pointer;">{{4}}</span> <span class="top-count-extra" style="cursor: pointer;">{{4}}</span>
</a-col> </a-col>
</a-row> </a-row>
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
<div class="month"> <div class="month">
<div class="home-card monthTitle"> <div class="home-card monthTitle">
<span>房办月查</span> <span>房办月查</span>
<span>{{ parseInt(((secRowInfos.HOUSING_OFFICE.count.rectifiedCount/secRowInfos.HOUSING_OFFICE.count.rectifyCount)*100)) }}%</span> <span>{{ !parseInt(((secRowInfos.HOUSING_OFFICE.count.rectifiedCount/secRowInfos.HOUSING_OFFICE.count.rectifyCount)*100))? 0: parseInt(((secRowInfos.HOUSING_OFFICE.count.rectifiedCount/secRowInfos.HOUSING_OFFICE.count.rectifyCount)*100)) }}%</span>
</div> </div>
<div class="home-card monthBox"> <div class="home-card monthBox">
<p class="monthBoxTitle">今年完成情况</p> <p class="monthBoxTitle">今年完成情况</p>
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
<div class="month"> <div class="month">
<div class="home-card monthTitle"> <div class="home-card monthTitle">
<span>物企双周查</span> <span>物企双周查</span>
<span>{{ parseInt(((secRowInfos.PROPERTY_BIWEEKLY.count.rectifiedCount/secRowInfos.PROPERTY_BIWEEKLY.count.rectifyCount)*100)) }}%</span> <span>{{ !parseInt(((secRowInfos.PROPERTY_BIWEEKLY.count.rectifiedCount/secRowInfos.PROPERTY_BIWEEKLY.count.rectifyCount)*100))?0: parseInt(((secRowInfos.PROPERTY_BIWEEKLY.count.rectifiedCount/secRowInfos.PROPERTY_BIWEEKLY.count.rectifyCount)*100)) }}%</span>
</div> </div>
<div class="home-card monthBox"> <div class="home-card monthBox">
<p class="monthBoxTitle">今年完成情况</p> <p class="monthBoxTitle">今年完成情况</p>
...@@ -739,13 +739,75 @@ export default { ...@@ -739,13 +739,75 @@ export default {
}, },
hoverMonthToManager(item){ hoverMonthToManager(item){
let time = new Date().getFullYear() let time = new Date().getFullYear()
// console.log(time+'-'+parseInt(item.name)) const bigdays = 31
this.$router.push({ const middledays = 30
'path': '/documents/fiveSearch/managerSelfCheckList', const smalldays = 28
query: {
month: time+'-'+parseInt(item.name) let days = parseInt(item.name)
let dayType = null
// if(days == 1)
switch (days) {
case 1:
dayType = bigdays
break
case 2:
dayType = smalldays
break
case 3:
dayType = bigdays
break
case 4:
dayType = middledays
break
case 5:
dayType = bigdays
break
case 6:
dayType = middledays
break
case 7:
dayType = bigdays
break
case 8:
dayType = bigdays
break
case 9:
dayType = smalldays
break
case 10:
dayType = bigdays
break
case 11:
dayType = smalldays
break
case 12:
dayType = bigdays
break
default:
dayType = null
break
} }
}) let parseDateInfo = (parseInt(item.name) > 10 ? time+'-' + parseInt(item.name) + '-01,' + time+'-' + parseInt(item.name) + '-31': time+'-' + '0' + parseInt(item.name) + '-01,' + time+'-' + '0' + parseInt(item.name) + '-31')
// this.$router.push({
// 'path': '/documents/fiveSearch/managerSelfCheckList',
// query: {
// month: parseDateInfo
// // month: time+'-'+parseInt(item.name) > 10 ? parseInt(item.name): '0' + parseInt(item.name)
// }
// })
}, },
/** /**
* 获取房办月查统计 * 获取房办月查统计
......
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