|
|
@@ -26,7 +26,7 @@
|
|
|
<a-row :gutter="24">
|
|
|
|
|
|
<a-col :xl="16" :lg="7" :md="8" :sm="24">
|
|
|
- <a-form-item label="稽核工作日期范围">
|
|
|
+ <a-form-item label="稽核预警工作日期范围">
|
|
|
<a-range-picker @change="handleChange" v-model:value="taskDate"/>
|
|
|
<a-radio-group @change="changeReportDate()" style="padding-left: 10px" v-model:value="latestDate" button-style="solid">
|
|
|
<a-radio-button value="7">最近7天</a-radio-button>
|
|
|
@@ -150,7 +150,11 @@
|
|
|
<div id="statusRefusePieNo" ref="statusRefusePieNo" 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>-->
|
|
|
@@ -463,12 +467,13 @@ export default {
|
|
|
"getWarningCountOrg":"/smsCheck/customerInfo/status/getWarningCountOrg",
|
|
|
"getWarningCount":"/smsCheck/customerInfo/status/getWarningCount",
|
|
|
"getTaksCount":"/smsCheck/customerInfo/status/getTaksCount",
|
|
|
- "statusRefuse": "/smsCheck/customerInfo/status/refuse",
|
|
|
+ "statusRefuse": "/smsCheck/customerInfo/status/warningRefuse",
|
|
|
"taskList": "/smsCheck/task/list",
|
|
|
"dateList": "/smsCheck/task/year/list",
|
|
|
//基本信息 规范信息 附件资料 异常稽核统计
|
|
|
"checkStateCount": "/smsCheck/workLog/check/state/count",
|
|
|
- "abnormalCreateTime": "/smsCheck/workLog/check/abnormal/count"
|
|
|
+ "abnormalCreateTime": "/smsCheck/workLog/check/abnormal/count",
|
|
|
+ "warningCountGroup": "/smsCheck/customerInfo/status/warningCountGroup"
|
|
|
},
|
|
|
// '1': '未完善',
|
|
|
statusMap: {
|
|
|
@@ -527,6 +532,7 @@ export default {
|
|
|
// this.checkStateCount(this.url.checkStateCount);
|
|
|
this.abnormalCreateTime();
|
|
|
|
|
|
+ this.warningCountGroup()
|
|
|
|
|
|
},
|
|
|
computed: {},
|
|
|
@@ -579,6 +585,7 @@ export default {
|
|
|
this.statusRefuse(this.taskId);
|
|
|
this.checkStateCount(this.url.checkStateCount, this.taskId);
|
|
|
this.abnormalCreateTime(this.taskId);
|
|
|
+ this.warningCountGroup()
|
|
|
},
|
|
|
|
|
|
handleChange(value,model){
|
|
|
@@ -960,6 +967,27 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
+ 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)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
//任务列表数据
|
|
|
taskList() {
|
|
|
let queryParam = {
|
|
|
@@ -1314,7 +1342,47 @@ export default {
|
|
|
]
|
|
|
};
|
|
|
myChart.setOption(option);
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
+ 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);
|
|
|
},
|
|
|
+
|
|
|
statusRefusePieNo(builderJson) {
|
|
|
|
|
|
let allCount=this.getWarningCountOrg.all;
|