2022-01-05 10:48:53 +08:00
|
|
|
<template>
|
2022-01-05 16:16:45 +08:00
|
|
|
<div class="statistics">
|
|
|
|
|
<div class="gird-select">
|
|
|
|
|
<img src="./components/img/gird-icon.png" alt="">
|
|
|
|
|
<span>全部网格</span>
|
|
|
|
|
<img src="./components/img/down-icon.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info-content">
|
|
|
|
|
<div class="title">今日概况</div>
|
|
|
|
|
<div class="el-row">
|
2022-01-07 16:18:51 +08:00
|
|
|
<div class="item" v-for="(item, index) in todayList" :key="index">
|
|
|
|
|
<h2>{{item.value}}</h2>
|
2022-01-05 16:16:45 +08:00
|
|
|
<p>{{item.label}}</p>
|
|
|
|
|
</div>
|
2022-01-05 10:48:53 +08:00
|
|
|
</div>
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="info-content">
|
|
|
|
|
<div class="title">业务透视</div>
|
|
|
|
|
<div class="business">
|
|
|
|
|
<div class="left">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<p>受理率</p>
|
2022-01-07 16:18:51 +08:00
|
|
|
<h2>{{info.businessCountMap['受理率'] * 100}}%</h2>
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<p>办结率</p>
|
2022-01-07 16:18:51 +08:00
|
|
|
<h2>{{info.businessCountMap['办结率'] * 100}}%</h2>
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right">
|
|
|
|
|
<div class="img">
|
|
|
|
|
<img src="./components/img/line-img.png" alt="">
|
|
|
|
|
<img src="./components/img/line-img.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="num">
|
|
|
|
|
<div class="item bg1">
|
|
|
|
|
<h2>累计反馈</h2>
|
2022-01-07 16:18:51 +08:00
|
|
|
<p>{{info.businessCountMap['累计反馈']}}</p>
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="item bg2">
|
|
|
|
|
<h2>累计受理</h2>
|
2022-01-07 16:18:51 +08:00
|
|
|
<p>{{info.businessCountMap['累计受理']}}</p>
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="item bg3">
|
|
|
|
|
<h2>累计办理</h2>
|
2022-01-07 16:18:51 +08:00
|
|
|
<p>{{info.businessCountMap['累计办结']}}</p>
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info-content">
|
|
|
|
|
<div class="title" @click="toPercentageDetail">分类统计
|
|
|
|
|
<img src="./components/img/right-icon.png" alt="">
|
2022-01-05 10:48:53 +08:00
|
|
|
</div>
|
2022-01-05 16:16:45 +08:00
|
|
|
<div class="percentage">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="mini-title">小区管理</div>
|
|
|
|
|
<div class="info">
|
|
|
|
|
<div class="line-bg"><div class="active-bg"></div></div>共11条 | 已办结9 <img src="./components/img/right-icon.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="mini-title">小区管理</div>
|
|
|
|
|
<div class="info">
|
2022-01-07 16:18:51 +08:00
|
|
|
<div class="line-bg" style="width:44%;"><div class="active-bg"></div></div>共11条 | 已办结9 <img src="./components/img/right-icon.png" alt="">
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="mini-title">小区管理</div>
|
|
|
|
|
<div class="info">
|
2022-01-07 16:18:51 +08:00
|
|
|
<div class="line-bg" style="width:30%;"><div class="active-bg"></div></div>共11条 | 已办结9 <img src="./components/img/right-icon.png" alt="">
|
2022-01-05 16:16:45 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-01-05 10:48:53 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-01-05 17:56:20 +08:00
|
|
|
<div class="info-content" @click="toUserList">
|
2022-01-05 16:16:45 +08:00
|
|
|
<div class="title">成员明细
|
|
|
|
|
<img src="./components/img/right-icon.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pad-b120"></div>
|
2022-01-05 10:48:53 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
props: {},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2022-01-07 16:18:51 +08:00
|
|
|
todayList: [],
|
|
|
|
|
info: {}
|
2022-01-05 10:48:53 +08:00
|
|
|
}
|
|
|
|
|
},
|
2022-01-07 16:18:51 +08:00
|
|
|
mounted() {
|
|
|
|
|
this.getStatistics()
|
2022-01-05 10:48:53 +08:00
|
|
|
},
|
|
|
|
|
methods: {
|
2022-01-07 16:18:51 +08:00
|
|
|
getStatistics() {
|
|
|
|
|
this.$http.post('/app/appclapeventinfo/countByGirdMember').then((res) => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.info = res.data
|
|
|
|
|
Object.keys(res.data.todayCountMap).forEach((key) => {
|
|
|
|
|
var info = {
|
|
|
|
|
label: key,
|
|
|
|
|
value: res.data.todayCountMap[key]
|
|
|
|
|
}
|
|
|
|
|
this.todayList.push(info)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
2022-01-05 10:48:53 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
goDetail(item) {
|
|
|
|
|
uni.navigateTo({ url: `./Detail?id=${item.id}` })
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
change(index) {
|
|
|
|
|
this.currentTabs = index
|
|
|
|
|
this.getList()
|
|
|
|
|
},
|
2022-01-05 16:16:45 +08:00
|
|
|
|
|
|
|
|
toPercentageDetail() {
|
|
|
|
|
uni.navigateTo({url: './PercentageDetail'})
|
2022-01-05 17:56:20 +08:00
|
|
|
},
|
|
|
|
|
toUserList() {
|
|
|
|
|
uni.navigateTo({url: './UserList'})
|
2022-01-05 16:16:45 +08:00
|
|
|
}
|
2022-01-05 10:48:53 +08:00
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
2022-01-05 16:16:45 +08:00
|
|
|
.statistics {
|
|
|
|
|
background-color: #F3F7F8;
|
|
|
|
|
padding: 30px 30px 0;
|
|
|
|
|
.gird-select{
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: #FFF;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
margin: 0 0 24px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 24px 0;
|
|
|
|
|
img{
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
span{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
font-size: 34px;
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #333;
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
margin: 0 10px;
|
|
|
|
|
}
|
2022-01-05 10:48:53 +08:00
|
|
|
}
|
2022-01-05 16:16:45 +08:00
|
|
|
.info-content{
|
2022-01-05 10:48:53 +08:00
|
|
|
width: 100%;
|
|
|
|
|
background: #FFF;
|
2022-01-05 16:16:45 +08:00
|
|
|
border-radius: 16px;
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
.title{
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #333;
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
padding: 24px 16px 24px 24px;
|
2022-01-05 10:48:53 +08:00
|
|
|
img{
|
2022-01-05 16:16:45 +08:00
|
|
|
float: right;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
2022-01-05 10:48:53 +08:00
|
|
|
}
|
2022-01-05 16:16:45 +08:00
|
|
|
}
|
|
|
|
|
.el-row{
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 32px 0 60px 0;
|
|
|
|
|
.item{
|
|
|
|
|
flex: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
h2{
|
|
|
|
|
font-size: 64px;
|
|
|
|
|
font-family: DINAlternate-Bold, DINAlternate;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #3B424A;
|
|
|
|
|
line-height: 64px;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
p{
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
|
color: #999;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
}
|
2022-01-05 10:48:53 +08:00
|
|
|
}
|
2022-01-05 16:16:45 +08:00
|
|
|
}
|
|
|
|
|
.business{
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 40px 0 30px 0;
|
|
|
|
|
.left{
|
2022-01-07 16:18:51 +08:00
|
|
|
width: 220px;
|
|
|
|
|
padding: 20px 0 78px 50px;
|
2022-01-05 16:16:45 +08:00
|
|
|
.item{
|
|
|
|
|
margin-bottom: 58px;
|
|
|
|
|
}
|
|
|
|
|
h2{
|
|
|
|
|
font-size: 58px;
|
|
|
|
|
font-family: DINAlternate-Bold, DINAlternate;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #3B424A;
|
|
|
|
|
line-height: 64px;
|
2022-01-07 16:18:51 +08:00
|
|
|
letter-spacing: -4px;
|
2022-01-05 16:16:45 +08:00
|
|
|
}
|
|
|
|
|
p{
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
|
color: #666;
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.right{
|
2022-01-07 16:18:51 +08:00
|
|
|
width: calc(100% - 220px);
|
2022-01-05 16:16:45 +08:00
|
|
|
display: flex;
|
|
|
|
|
.img{
|
|
|
|
|
width: 140px;
|
|
|
|
|
margin-top: 42px;
|
|
|
|
|
img{
|
|
|
|
|
width: 140px;
|
|
|
|
|
height: 144px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.num{
|
|
|
|
|
width: calc(100% - 140px);
|
|
|
|
|
text-align: center;
|
|
|
|
|
.item{
|
|
|
|
|
height: 130px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
color: #2F7EE5;
|
|
|
|
|
h2{
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
padding-top: 20px;
|
|
|
|
|
}
|
|
|
|
|
p{
|
|
|
|
|
font-size: 40px;
|
|
|
|
|
font-family: DINAlternate-Bold, DINAlternate;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.bg1{
|
2022-01-07 16:18:51 +08:00
|
|
|
width: 272px;
|
2022-01-05 16:16:45 +08:00
|
|
|
background-image: url('./components/img/bg-1.png');
|
|
|
|
|
}
|
|
|
|
|
.bg2{
|
2022-01-07 16:18:51 +08:00
|
|
|
width: 234px;
|
2022-01-05 16:16:45 +08:00
|
|
|
background-image: url('./components/img/bg-2.png');
|
|
|
|
|
margin-left: 16px;
|
|
|
|
|
}
|
|
|
|
|
.bg3{
|
2022-01-07 16:18:51 +08:00
|
|
|
width: 208px;
|
2022-01-05 16:16:45 +08:00
|
|
|
background-image: url('./components/img/bg-3.png');
|
|
|
|
|
margin-left: 32px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.percentage{
|
|
|
|
|
padding: 16px 0 0 26px;
|
|
|
|
|
.item{
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-bottom: 32px;
|
|
|
|
|
.mini-title{
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
|
color: #333;
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
margin-bottom: 14px;
|
|
|
|
|
}
|
|
|
|
|
.info{
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
|
color: #999;
|
|
|
|
|
line-height: 48px;
|
|
|
|
|
.line-bg{
|
|
|
|
|
display: inline-block;
|
2022-01-07 16:18:51 +08:00
|
|
|
width: 56%;
|
2022-01-05 16:16:45 +08:00
|
|
|
height: 14px;
|
|
|
|
|
background: #D7D8D9;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
margin-right: 12px;
|
|
|
|
|
.active-bg{
|
|
|
|
|
width: 80%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: #257FF1;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
img{
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-01-05 10:48:53 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-01-05 16:16:45 +08:00
|
|
|
.pad-b120{
|
|
|
|
|
background-color: #F3F7F8;
|
|
|
|
|
padding-bottom: 120px;
|
|
|
|
|
}
|
2022-01-05 10:48:53 +08:00
|
|
|
}
|
|
|
|
|
</style>
|