bug
This commit is contained in:
@@ -21,11 +21,11 @@
|
|||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<p>受理率</p>
|
<p>受理率</p>
|
||||||
<h2>{{info.businessCountMap['受理率'] * 100 || '0'}}%</h2>
|
<h2>{{info.businessCountMap['受理率'] || '0'}}%</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<p>办结率</p>
|
<p>办结率</p>
|
||||||
<h2>{{info.businessCountMap['办结率'] * 100 || '0'}}%</h2>
|
<h2>{{info.businessCountMap['办结率'] || '0'}}%</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
@@ -95,10 +95,10 @@ export default {
|
|||||||
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['受理率']) {
|
if(res.data.businessCountMap['受理率']) {
|
||||||
res.data.businessCountMap['受理率'] = Number(res.data.businessCountMap['受理率']).toFixed(3)
|
res.data.businessCountMap['受理率'] = Number(res.data.businessCountMap['受理率'] * 100).toFixed(1)
|
||||||
}
|
}
|
||||||
if(res.data.businessCountMap['办结率']) {
|
if(res.data.businessCountMap['办结率']) {
|
||||||
res.data.businessCountMap['办结率'] = Number(res.data.businessCountMap['办结率']).toFixed(3)
|
res.data.businessCountMap['办结率'] = Number(res.data.businessCountMap['办结率'] * 100).toFixed(1)
|
||||||
}
|
}
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user