bug
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
<div class="item" v-for="(item, index) in info.groupList" :key="index">
|
<div class="item" v-for="(item, index) in info.groupList" :key="index">
|
||||||
<div class="mini-title">{{item.groupName}}</div>
|
<div class="mini-title">{{item.groupName}}</div>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div class="line-bg" :style="`width:${item.width}%`"><div class="active-bg" :style="`width:${item.percentage*100}%`"></div></div>共{{item.totalNum}}条 | 已办结{{item.finishNum}}
|
<div class="line-bg" :style="`width:${item.width}%`" ><div class="active-bg" :style="`width:${item.percentage*100}%`"></div></div>共{{item.totalNum}}条 | 已办结{{item.finishNum}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -94,7 +94,14 @@ export default {
|
|||||||
getStatistics() {
|
getStatistics() {
|
||||||
this.$http.post('/app/appclapeventinfo/countByGirdMember').then((res) => {
|
this.$http.post('/app/appclapeventinfo/countByGirdMember').then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
if(res.data.businessCountMap['受理率']) {
|
||||||
|
res.data.businessCountMap['受理率'] = Number(res.data.businessCountMap['受理率']).toFixed(3)
|
||||||
|
}
|
||||||
|
if(res.data.businessCountMap['办结率']) {
|
||||||
|
res.data.businessCountMap['办结率'] = Number(res.data.businessCountMap['办结率']).toFixed(3)
|
||||||
|
}
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
|
|
||||||
Object.keys(res.data.todayCountMap).forEach((key) => {
|
Object.keys(res.data.todayCountMap).forEach((key) => {
|
||||||
var info = {
|
var info = {
|
||||||
label: key,
|
label: key,
|
||||||
@@ -326,6 +333,7 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: #257FF1;
|
background: #257FF1;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
min-width: 1%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
img{
|
img{
|
||||||
|
|||||||
Reference in New Issue
Block a user