|
|
@@ -43,10 +43,10 @@
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
</a-col>
|
|
|
- <a-col :span="6" style="padding-top: 10px">
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
|
<a-statistic
|
|
|
- title="未完善客户数量"
|
|
|
+ title="未处理客户数量"
|
|
|
:value="toImproveUser"
|
|
|
:precision="0"
|
|
|
suffix="个"
|
|
|
@@ -59,7 +59,23 @@
|
|
|
</a-statistic>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
- <a-col :span="6" style="padding-top: 10px">
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
+ <a-card>
|
|
|
+ <a-statistic
|
|
|
+ title="未完善客户数量"
|
|
|
+ :value="wanshan"
|
|
|
+ :precision="0"
|
|
|
+ suffix="个"
|
|
|
+ :value-style="{ color: '#fa073f' }"
|
|
|
+ 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="待整改客户数量"
|
|
|
@@ -75,7 +91,7 @@
|
|
|
</a-statistic>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
- <a-col :span="6" style="padding-top: 10px">
|
|
|
+ <a-col :span="5" style="padding-top: 10px">
|
|
|
<a-card>
|
|
|
<a-statistic
|
|
|
title="待稽核客户数量"
|
|
|
@@ -91,7 +107,7 @@
|
|
|
</a-statistic>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
- <a-col :span="6" style="padding-top: 10px">
|
|
|
+ <a-col :span="4" style="padding-top: 10px">
|
|
|
<a-card>
|
|
|
<a-statistic
|
|
|
title="稽核通过客户数量"
|
|
|
@@ -112,6 +128,11 @@
|
|
|
<div id="statusRefusePie" ref="statusRefusePie" style="width:100%;height:500px"></div>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
+ <a-col :span="24" style="top: 10px">
|
|
|
+ <a-card title="预警整改率" :bordered="false" style='height: 400px'>
|
|
|
+ <div id="rectificationRate" ref="rectificationRate" style="width:100%;height:400px"></div>
|
|
|
+ </a-card>
|
|
|
+ </a-col>
|
|
|
<a-col :span="24" style="top: 10px">
|
|
|
<a-card title=" " :bordered="false">
|
|
|
<h2 style='text-align:center'>稽核异常报表</h2>
|
|
|
@@ -233,6 +254,7 @@ export default {
|
|
|
taskDate: '',
|
|
|
taskType:'',
|
|
|
url: {
|
|
|
+ "warningCountGroup": "/smsCheck/customerInfo/status/countGroupCheck",
|
|
|
"statusRefuse": "/smsCheck/customerInfo/status/refuse",
|
|
|
"list": "/smsCheck/customerInfo/status/getBillList",
|
|
|
"taskList": "/smsCheck/task/list",
|
|
|
@@ -243,7 +265,8 @@ export default {
|
|
|
},
|
|
|
// '1': '未完善',
|
|
|
statusMap: {
|
|
|
- '0': '未完善',
|
|
|
+ '0': '未处理',
|
|
|
+ '1':'未完善',
|
|
|
'2': '待稽核',
|
|
|
'4': '待整改',
|
|
|
"5": '稽核通过',
|
|
|
@@ -655,6 +678,7 @@ export default {
|
|
|
$abnormalCheckHistogram: "",
|
|
|
$abnormalCreateTimeTrend: "",
|
|
|
toImproveUser: 0,
|
|
|
+ wanshan: 0,
|
|
|
latestDate: '180',
|
|
|
toBeAudited: 0,
|
|
|
tobeRectified: 0,
|
|
|
@@ -683,7 +707,7 @@ export default {
|
|
|
|
|
|
//初始化日期 默认最近180天
|
|
|
this.taskDate = [this.getRecentDay(parseInt(this.latestDate)), this.getRecentDay(0)]
|
|
|
-
|
|
|
+ this.warningCountGroup()
|
|
|
//稽核任务列表(树)
|
|
|
this.taskList();
|
|
|
//稽核概况统计
|
|
|
@@ -703,6 +727,7 @@ export default {
|
|
|
this.statusRefuse(this.taskId);
|
|
|
this.checkStateCount(this.url.checkStateCount, this.taskId);
|
|
|
this.abnormalCreateTime(this.taskId);
|
|
|
+ this.warningCountGroup()
|
|
|
},
|
|
|
|
|
|
handleChange(value,model){
|
|
|
@@ -710,7 +735,7 @@ export default {
|
|
|
this.taskDate = [this.getDate(this.taskDate[0]), this.getDate(this.taskDate[1])]
|
|
|
|
|
|
this.statusRefuse(this.taskId);
|
|
|
-
|
|
|
+ this.warningCountGroup()
|
|
|
},
|
|
|
// handleChange2(value,model){
|
|
|
// this.taskDate = model
|
|
|
@@ -915,6 +940,63 @@ export default {
|
|
|
// this.$abnormalCheckHistogram.setOption(option)
|
|
|
|
|
|
},
|
|
|
+ warningCountGroup(){
|
|
|
+ let taskDate = this.taskDate;
|
|
|
+ let queryParam = {
|
|
|
+ "taskType":this.taskType,
|
|
|
+ "startDate": taskDate[0],
|
|
|
+ "endDate": taskDate[1],
|
|
|
+ }
|
|
|
+ getAction(this.url.warningCountGroup, queryParam).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ debugger
|
|
|
+ if ( res.result){
|
|
|
+ this.rectificationRate(res)
|
|
|
+ }else {
|
|
|
+
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.$message.warning(res.message)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ rectificationRate(res){
|
|
|
+ var myChart = echarts.init(document.getElementById('rectificationRate'));
|
|
|
+ var option = {
|
|
|
+ title: {
|
|
|
+ text: '稽核整改率',
|
|
|
+ subtext: '整改率',
|
|
|
+ left: 'center'
|
|
|
+ },
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'item'
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ orient: 'vertical',
|
|
|
+ left: 'left'
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '稽核整改率',
|
|
|
+ type: 'pie',
|
|
|
+ radius: '50%',
|
|
|
+ data: [
|
|
|
+ { value: res.result.his, name: '整改数据量' },
|
|
|
+ { value: res.result.sum, name: '未整改数据量' },
|
|
|
+
|
|
|
+ ],
|
|
|
+ emphasis: {
|
|
|
+ itemStyle: {
|
|
|
+ shadowBlur: 10,
|
|
|
+ shadowOffsetX: 0,
|
|
|
+ shadowColor: 'rgba(0, 0, 0, 0.5)'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ };
|
|
|
+ myChart.setOption(option);
|
|
|
+ },
|
|
|
checkStatePie(data) {
|
|
|
|
|
|
let option = {
|
|
|
@@ -1135,6 +1217,7 @@ export default {
|
|
|
if (status != undefined && status != null) {
|
|
|
all = all + resultListElement.count
|
|
|
columnDate[status] = resultListElement.count
|
|
|
+ debugger
|
|
|
}
|
|
|
}
|
|
|
builderJson = {
|
|
|
@@ -1161,7 +1244,9 @@ export default {
|
|
|
builderJson.charts["待整改"] = 0;
|
|
|
}
|
|
|
|
|
|
- this.toImproveUser = builderJson.charts["未完善"];
|
|
|
+ this.toImproveUser = builderJson.charts["未处理"];
|
|
|
+ this.wanshan = builderJson.charts["未完善"];
|
|
|
+
|
|
|
this.toBeAudited = builderJson.charts["待稽核"];
|
|
|
this.tobeRectified = builderJson.charts["待整改"];
|
|
|
this.auditPassed = builderJson.charts["稽核通过"];
|