|
|
|
|
@ -52,7 +52,23 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box4" @click="toUrl">
|
|
|
|
|
<div class="box box5" @click="toUrl(2)">
|
|
|
|
|
<div class="boxtitle">
|
|
|
|
|
<span>预警提醒</span>
|
|
|
|
|
<i class="el-icon-warning-outline statIcon"></i>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bline"></div>
|
|
|
|
|
<div class="boxcontentsubtitle">总数</div>
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to separator="" :start-val="0" :end-val="totaldata.dateTotal"
|
|
|
|
|
:duration="3000" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box4" @click="toUrl(1)">
|
|
|
|
|
<div class="boxtitle">
|
|
|
|
|
<span>到期提醒</span>
|
|
|
|
|
<i class="el-icon-warning statIcon"></i>
|
|
|
|
|
@ -62,12 +78,13 @@
|
|
|
|
|
<div class="boxcontent">
|
|
|
|
|
<div class="boxcontentitem">
|
|
|
|
|
<div class="boxcontentitem-big">
|
|
|
|
|
<count-to separator="" :start-val="0" :end-val="totaldata.dateTotal"
|
|
|
|
|
<count-to separator="" :start-val="0" :end-val="totaldata.status1Total"
|
|
|
|
|
:duration="3000" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -87,6 +104,7 @@
|
|
|
|
|
recordsTotal:0,
|
|
|
|
|
organizesTotal:0,
|
|
|
|
|
areasTotal:0,
|
|
|
|
|
status1Total:0,
|
|
|
|
|
dateTotal:0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -98,11 +116,14 @@
|
|
|
|
|
handleRoute(type) {
|
|
|
|
|
this.$emit('handleRoute', type)
|
|
|
|
|
},
|
|
|
|
|
toUrl(){
|
|
|
|
|
if(this.totaldata.dateTotal>0){
|
|
|
|
|
|
|
|
|
|
toUrl(type){
|
|
|
|
|
if(type==1 && this.totaldata.status1Total>0){
|
|
|
|
|
this.$router.push('/record/index?status1Total=1')
|
|
|
|
|
}
|
|
|
|
|
if(type==2 && this.totaldata.dateTotal>0){
|
|
|
|
|
this.$router.push('/record/index?dateTotal=1')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
toCaculateper(f1, f2) {
|
|
|
|
|
return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%"
|
|
|
|
|
@ -145,7 +166,7 @@
|
|
|
|
|
|
|
|
|
|
.box {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 24%;
|
|
|
|
|
width: 19%;
|
|
|
|
|
// margin-left: 0.5%;
|
|
|
|
|
// margin-right: 0.5%;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
@ -267,18 +288,31 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box4 {
|
|
|
|
|
.box5 {
|
|
|
|
|
|
|
|
|
|
background: linear-gradient(-55deg, #64A48E, #9ECABB);
|
|
|
|
|
background: linear-gradient(-55deg, #ee6666, #ae6666);
|
|
|
|
|
|
|
|
|
|
.boxcline {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: #9ECABB;
|
|
|
|
|
background: #ae6666;
|
|
|
|
|
height: 0.125rem;
|
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box4 {
|
|
|
|
|
|
|
|
|
|
background: linear-gradient(-55deg, #53241d,#b3241d);
|
|
|
|
|
|
|
|
|
|
.boxcline {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: #b3241d;
|
|
|
|
|
height: 0.125rem;
|
|
|
|
|
margin-top: 1.25rem;
|
|
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel-group {
|
|
|
|
|
// margin-top: 18px;
|
|
|
|
|
|