You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.8 KiB

2 years ago
<template>
<div>
<div ref="lxHeader">
<lx-header icon="md-apps" text="填报总览" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
<slot>
<el-date-picker
v-model="select.year"
@change="changeYear"
type="year"
placeholder="选择总览年份">
</el-date-picker>
</slot>
</lx-header>
</div>
<div class="content">
<div>
2 years ago
<div>{{viewlist.count_category_type?viewlist.count_category_type:0}}</div>
2 years ago
<div>清单类型</div>
</div>
<div>
2 years ago
<div>{{viewlist.count_category?viewlist.count_category:0}}</div>
2 years ago
<div>填报清单项</div>
</div>
<div>
2 years ago
<div>{{viewlist.count_person?viewlist.count_person:0}}</div>
2 years ago
<div>一把手和领导班子</div>
</div>
<div>
2 years ago
<div>{{viewlist.count_record?viewlist.count_record:0}}</div>
2 years ago
<div>条填报记录</div>
</div>
<div>
2 years ago
<div>{{viewlist.count_record_missed?viewlist.count_record_missed:0}}</div>
2 years ago
<div>超期未报</div>
</div>
</div>
</div>
</template>
<script>
2 years ago
import {overview} from "@/api/fill/index"
2 years ago
export default{
data(){
return{
select:{
year:''
},
viewlist:{}
}
},
created(){
2 years ago
this.getOverview()
2 years ago
},
methods:{
2 years ago
changeYear(e){},
getOverview(){
overview({
year:this.select.year
}).then(res=>{
this.viewlist = res
})
}
2 years ago
},
}
</script>
<style scoped>
.content{
display: flex;
justify-content: space-between;
text-align: center;
}
.content>div{
border:1px solid #333;
width:18%;
padding:60px 0;
background-color: #fff;
font-size: 18px;
}
.content>div>div:first-child{
font-size: 30px;
}
</style>