|
@@ -24,9 +24,8 @@
|
|
|
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
import { FormInstance } from 'element-plus';
|
|
|
import { defaultDate } from '@/utils/constants';
|
|
|
-import { getSSPStatisticsBaseData, getSSPStatisticsProcess, getSSPStatisticsProcessExport } from '@/api/snapshot/statistics';
|
|
|
+import { getSSPStatisticsDepartmentAssessment, getSSPStatisticsDepartmentAssessmentExport } from '@/api/snapshot/statistics';
|
|
|
import Other from '@/utils/other';
|
|
|
-import { useRouter } from 'vue-router';
|
|
|
|
|
|
// 引入组件
|
|
|
const StatisticalTime = defineAsyncComponent(() => import('@/components/StatisticalTime/index.vue')); // 日期类型选择组件
|
|
@@ -88,77 +87,77 @@ const gridOptions = reactive<any>({
|
|
|
title: '办件信息',
|
|
|
children: [
|
|
|
{
|
|
|
- field: 'ybOrderCountNum',
|
|
|
+ field: 'onTimeCount',
|
|
|
title: '按时办结工单',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'zbOrderCountNum',
|
|
|
+ field: 'timelinessRatio',
|
|
|
title: '工单及时响应率',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'completeOnTimeRate',
|
|
|
+ field: 'receiveIn4Hour',
|
|
|
title: '四小时内',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- field: 'receiveIn20Minutes',
|
|
|
+ field: 'timeOutField',
|
|
|
title: '超期办结',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'receiveOut20Minutes',
|
|
|
+ field: 'timeOutNoField',
|
|
|
title: '超期未办结',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'promptResponse',
|
|
|
+ field: 'timeOutRate',
|
|
|
title: '超期率',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'backNum',
|
|
|
+ field: 'timeOutCount',
|
|
|
title: '超期量',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- field: 'totalHandleDuration',
|
|
|
+ field: 'closeOnTimeRate',
|
|
|
title: '按时办结率',
|
|
|
width: 140,
|
|
|
},
|
|
|
{
|
|
|
- field: 'end3Day',
|
|
|
+ field: 'satisfiedCount',
|
|
|
title: '满意工单',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- field: 'end3To5Day',
|
|
|
+ field: 'satisfiedRate',
|
|
|
title: '回访满意率',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- field: 'end5To7Day',
|
|
|
+ field: 'firstFiledOrderCount',
|
|
|
title: '一次性办结工单',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'end7Day',
|
|
|
+ field: 'firstFiledOrderRate',
|
|
|
title: '一次性办结率',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'closeOnTimeRate',
|
|
|
+ field: 'secondNum',
|
|
|
title: '二次办理',
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- field: 'satisfiedCount',
|
|
|
+ field: 'secondSatisfied',
|
|
|
title: '二次办理满意率',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- field: 'noSatisfiedCount',
|
|
|
+ field: 'secondRate',
|
|
|
title: '二次办结率',
|
|
|
width: 100,
|
|
|
},
|
|
@@ -167,13 +166,12 @@ const gridOptions = reactive<any>({
|
|
|
],
|
|
|
data: [],
|
|
|
params: {
|
|
|
- exportMethod: getSSPStatisticsProcessExport,
|
|
|
+ exportMethod: getSSPStatisticsDepartmentAssessmentExport,
|
|
|
exportParams: requestParams,
|
|
|
},
|
|
|
});
|
|
|
/** 搜索按钮操作 节流操作 */
|
|
|
const handleQuery = () => {
|
|
|
- state.queryParams.PageIndex = 1;
|
|
|
queryList();
|
|
|
};
|
|
|
// 获取参数列表
|
|
@@ -184,7 +182,7 @@ const queryList = () => {
|
|
|
requestParams.value.StartTime = state.queryParams.crTime === null ? null : state.queryParams.crTime[0]; // 受理时间
|
|
|
requestParams.value.EndTime = state.queryParams.crTime === null ? null : state.queryParams.crTime[1];
|
|
|
Reflect.deleteProperty(requestParams.value, 'crTime'); // 删除无用的参数
|
|
|
- getSSPStatisticsProcess(requestParams.value)
|
|
|
+ getSSPStatisticsDepartmentAssessment(requestParams.value)
|
|
|
.then((res) => {
|
|
|
state.loading = false;
|
|
|
gridOptions.data = res.result ?? [];
|