|
@@ -48,7 +48,23 @@
|
|
|
</a-row>
|
|
</a-row>
|
|
|
</a-form>
|
|
</a-form>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="4" style="padding-top: 10px">
|
|
|
|
|
|
|
+ <a-col :span="4" style="padding-top: 10px">
|
|
|
|
|
+ <a-card>
|
|
|
|
|
+ <a-statistic
|
|
|
|
|
+ title="客户总数"
|
|
|
|
|
+ :value="allCount"
|
|
|
|
|
+ :precision="0"
|
|
|
|
|
+ suffix="个"
|
|
|
|
|
+ :value-style="{ color: '#fa073f' }"
|
|
|
|
|
+ style="margin-right: 50px"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template #prefix>
|
|
|
|
|
+
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-statistic>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
<a-card>
|
|
|
<a-statistic
|
|
<a-statistic
|
|
|
title="未处理客户数量"
|
|
title="未处理客户数量"
|
|
@@ -64,7 +80,7 @@
|
|
|
</a-statistic>
|
|
</a-statistic>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="4" style="padding-top: 10px">
|
|
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
<a-card>
|
|
|
<a-statistic
|
|
<a-statistic
|
|
|
title="未完善客户数量"
|
|
title="未完善客户数量"
|
|
@@ -80,7 +96,7 @@
|
|
|
</a-statistic>
|
|
</a-statistic>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="3" style="padding-top: 10px">
|
|
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
<a-card>
|
|
|
<a-statistic
|
|
<a-statistic
|
|
|
title="待整改客户数量"
|
|
title="待整改客户数量"
|
|
@@ -96,7 +112,7 @@
|
|
|
</a-statistic>
|
|
</a-statistic>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="3" style="padding-top: 10px">
|
|
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
<a-card>
|
|
|
<a-statistic
|
|
<a-statistic
|
|
|
title="待稽核客户数量"
|
|
title="待稽核客户数量"
|
|
@@ -128,11 +144,12 @@
|
|
|
</a-statistic>
|
|
</a-statistic>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="3" style="padding-top: 10px">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
<a-card>
|
|
|
<a-statistic
|
|
<a-statistic
|
|
|
- title="稽核整改率"
|
|
|
|
|
- :value="zgl"
|
|
|
|
|
|
|
+ title="稽核通过率"
|
|
|
|
|
+ :value="tgl"
|
|
|
:precision="0"
|
|
:precision="0"
|
|
|
suffix=""
|
|
suffix=""
|
|
|
:value-style="{ color: '#3f8600' }"
|
|
:value-style="{ color: '#3f8600' }"
|
|
@@ -144,14 +161,30 @@
|
|
|
</a-statistic>
|
|
</a-statistic>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
- <a-col :span="3" style="padding-top: 10px">
|
|
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
<a-card>
|
|
|
<a-statistic
|
|
<a-statistic
|
|
|
- title="稽核通过率"
|
|
|
|
|
- :value="tgl"
|
|
|
|
|
|
|
+ title="一次稽核通过率"
|
|
|
|
|
+ :value="yctgl"
|
|
|
:precision="0"
|
|
:precision="0"
|
|
|
suffix=""
|
|
suffix=""
|
|
|
- :value-style="{ color: '#3f8600' }"
|
|
|
|
|
|
|
+ :value-style="{ color: '#21b43f' }"
|
|
|
|
|
+ style="margin-right: 50px"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template #prefix>
|
|
|
|
|
+ <arrow-up-outlined/>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-statistic>
|
|
|
|
|
+ </a-card>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
|
|
+ <a-card>
|
|
|
|
|
+ <a-statistic
|
|
|
|
|
+ title="整改完成率"
|
|
|
|
|
+ :value="zgl"
|
|
|
|
|
+ :precision="0"
|
|
|
|
|
+ suffix=""
|
|
|
|
|
+ :value-style="{ color: '#860074' }"
|
|
|
style="margin-right: 50px"
|
|
style="margin-right: 50px"
|
|
|
>
|
|
>
|
|
|
<template #prefix>
|
|
<template #prefix>
|
|
@@ -188,7 +221,7 @@
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="24">
|
|
<a-col :xl="5" :lg="7" :md="8" :sm="24">
|
|
|
- <a-form-item label="稽核次数">
|
|
|
|
|
|
|
+ <a-form-item label="整改次数">
|
|
|
<a-input-number style='width: 200px' id="inputNumber" v-model="queryParam.count" :min="1" :max="100" />
|
|
<a-input-number style='width: 200px' id="inputNumber" v-model="queryParam.count" :min="1" :max="100" />
|
|
|
|
|
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -691,7 +724,7 @@ export default {
|
|
|
dataIndex: 'staff_no'
|
|
dataIndex: 'staff_no'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- title:'稽核次数',
|
|
|
|
|
|
|
+ title:'整改次数',
|
|
|
align:"center",
|
|
align:"center",
|
|
|
dataIndex: 'c'
|
|
dataIndex: 'c'
|
|
|
} ,
|
|
} ,
|
|
@@ -734,6 +767,7 @@ export default {
|
|
|
$abnormalCheckHistogram: "",
|
|
$abnormalCheckHistogram: "",
|
|
|
$abnormalCreateTimeTrend: "",
|
|
$abnormalCreateTimeTrend: "",
|
|
|
toImproveUser: 0,
|
|
toImproveUser: 0,
|
|
|
|
|
+ allCount:0,
|
|
|
wanshan: 0,
|
|
wanshan: 0,
|
|
|
latestDate: '180',
|
|
latestDate: '180',
|
|
|
toBeAudited: 0,
|
|
toBeAudited: 0,
|
|
@@ -741,6 +775,7 @@ export default {
|
|
|
auditPassed: 0,
|
|
auditPassed: 0,
|
|
|
zgl:0,
|
|
zgl:0,
|
|
|
tgl:0,
|
|
tgl:0,
|
|
|
|
|
+ yctgl:0,
|
|
|
treeData: [],
|
|
treeData: [],
|
|
|
expandedKeys: ['2022', '2022-10'],
|
|
expandedKeys: ['2022', '2022-10'],
|
|
|
selectedKeys: {},
|
|
selectedKeys: {},
|
|
@@ -1052,11 +1087,16 @@ export default {
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
};
|
|
};
|
|
|
- if (res.result.his+res.result.sum>0 && res.result.his<=res.result.his+res.result.sum){
|
|
|
|
|
- this.zgl =Math.round(res.result.his / (res.result.his+res.result.sum) * 10000) / 100 + "%";
|
|
|
|
|
|
|
+ if (res.result.zgSum>0 && res.result.his<=res.result.zgSum){
|
|
|
|
|
+ this.zgl =Math.round(res.result.his / res.result.zgSum * 10000) / 100 + "%";
|
|
|
}else {
|
|
}else {
|
|
|
this.zgl='0%'
|
|
this.zgl='0%'
|
|
|
}
|
|
}
|
|
|
|
|
+ if (res.result.sum>0 && this.allCount>0){
|
|
|
|
|
+ this.yctgl = Math.round(res.result.sum / this.allCount * 10000) / 100 + "%";
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.yctgl='0%'
|
|
|
|
|
+ }
|
|
|
myChart.setOption(option);
|
|
myChart.setOption(option);
|
|
|
},
|
|
},
|
|
|
checkStatePie(data) {
|
|
checkStatePie(data) {
|
|
@@ -1273,6 +1313,17 @@ export default {
|
|
|
let pieDate = {};
|
|
let pieDate = {};
|
|
|
let all = 0;
|
|
let all = 0;
|
|
|
let resultList = res.resultList;
|
|
let resultList = res.resultList;
|
|
|
|
|
+ if (resultList.length == 0) {
|
|
|
|
|
+ this.allCount = 0;
|
|
|
|
|
+ this.noHandle = 0;
|
|
|
|
|
+ this.toImproveUser = 0;
|
|
|
|
|
+ this.toBeAudited = 0;
|
|
|
|
|
+ this.tobeRectified = 0;
|
|
|
|
|
+ this.auditPassed = 0;
|
|
|
|
|
+ this.tgl='0%';
|
|
|
|
|
+ this.zgl='0%';
|
|
|
|
|
+ this.yctgl='0%';
|
|
|
|
|
+ }
|
|
|
for (var i in resultList) {
|
|
for (var i in resultList) {
|
|
|
let resultListElement = resultList[i];
|
|
let resultListElement = resultList[i];
|
|
|
let status = this.statusMap[resultListElement.checkState];
|
|
let status = this.statusMap[resultListElement.checkState];
|
|
@@ -1304,15 +1355,24 @@ export default {
|
|
|
if (builderJson.charts["待整改"] == null || builderJson.charts["待整改"] == undefined) {
|
|
if (builderJson.charts["待整改"] == null || builderJson.charts["待整改"] == undefined) {
|
|
|
builderJson.charts["待整改"] = 0;
|
|
builderJson.charts["待整改"] = 0;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ if (builderJson.charts["未处理"] == null || builderJson.charts["未处理"] == undefined) {
|
|
|
|
|
+ builderJson.charts["未处理"] = 0;
|
|
|
|
|
+ }
|
|
|
this.toImproveUser = builderJson.charts["未处理"];
|
|
this.toImproveUser = builderJson.charts["未处理"];
|
|
|
this.wanshan = builderJson.charts["未完善"];
|
|
this.wanshan = builderJson.charts["未完善"];
|
|
|
|
|
|
|
|
this.toBeAudited = builderJson.charts["待稽核"];
|
|
this.toBeAudited = builderJson.charts["待稽核"];
|
|
|
this.tobeRectified = builderJson.charts["待整改"];
|
|
this.tobeRectified = builderJson.charts["待整改"];
|
|
|
this.auditPassed = builderJson.charts["稽核通过"];
|
|
this.auditPassed = builderJson.charts["稽核通过"];
|
|
|
- //this.zgl= (parseInt(percentage) / 100) * total;
|
|
|
|
|
- this.tgl= Math.round(this.auditPassed / (this.toImproveUser+this.wanshan+this.toBeAudited+this.tobeRectified+this.auditPassed) * 10000) / 100 + "%";
|
|
|
|
|
|
|
+ debugger
|
|
|
|
|
+ this.allCount =this.toImproveUser+this.wanshan+this.toBeAudited+this.tobeRectified+this.auditPassed;
|
|
|
|
|
+ //this.zgl= (parseInt(percentage) / 100) * total;
|
|
|
|
|
+ if ( this.allCount>0){
|
|
|
|
|
+ this.tgl= Math.round(this.auditPassed / this.allCount * 10000) / 100 + "%";
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.tgl='0%'
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
let option = {
|
|
let option = {
|
|
|
backgroundColor: {
|
|
backgroundColor: {
|
|
|
type: 'pattern',
|
|
type: 'pattern',
|