|
@@ -96,14 +96,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup lang="tsx" name="snapshotStatisticsRepeatOrder">
|
|
|
-import { defineAsyncComponent, onMounted, reactive, ref, computed } from 'vue';
|
|
|
+import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
import type { FormInstance } from 'element-plus';
|
|
|
-import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
|
-import { addObserve } from '@/api/query/observe';
|
|
|
-import { exportAssignment } from '@/utils/tools';
|
|
|
import Other from '@/utils/other';
|
|
|
-import {getSSPAllBaseData, getSSPAllOrder, getSSPAllOrderExport, getSSPStatisticsRepeat} from '@/api/snapshot/statistics';
|
|
|
+import { getSSPAllBaseData, getSSPStatisticsRepeat, getSSPStatisticsRepeatExport } from '@/api/snapshot/statistics';
|
|
|
|
|
|
// 引入组件
|
|
|
const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
|
|
@@ -177,7 +174,7 @@ const gridOptions = reactive<any>({
|
|
|
tools: [{ toolRender: { name: 'exportCurrent' } }, { toolRender: { name: 'exportAll' } }],
|
|
|
},
|
|
|
params: {
|
|
|
- exportMethod: getSSPAllOrderExport,
|
|
|
+ exportMethod: getSSPStatisticsRepeatExport,
|
|
|
exportParams: requestParams,
|
|
|
},
|
|
|
customConfig: {
|
|
@@ -187,11 +184,11 @@ const gridOptions = reactive<any>({
|
|
|
rowConfig: { isHover: true, height: 30, isCurrent: true, useKey: true },
|
|
|
height: 'auto',
|
|
|
columns: [
|
|
|
- { field: 'no', title: '类型', width: 120 },
|
|
|
+ { field: 'orderSnapshotType', title: '类型', width: 120 },
|
|
|
{ field: 'no', title: '重复编码', width: 140, slots: { default: 'order_detail_repeat' } },
|
|
|
{ field: 'no', title: '工单编码', width: 140 },
|
|
|
{
|
|
|
- field: 'creationTime',
|
|
|
+ field: 'beginCreationTime',
|
|
|
title: '受理时间',
|
|
|
width: 160,
|
|
|
sortable: true,
|
|
@@ -213,12 +210,19 @@ const gridOptions = reactive<any>({
|
|
|
},
|
|
|
{ field: 'actualHandleOrgName', title: '接办部门', width: 140 },
|
|
|
{
|
|
|
- field: 'actualHandleTime',
|
|
|
+ field: 'startTime',
|
|
|
title: '接办时间',
|
|
|
width: 160,
|
|
|
sortable: true,
|
|
|
formatter: 'formatDate',
|
|
|
},
|
|
|
+ {
|
|
|
+ field: 'filedTime',
|
|
|
+ title: '办结时间',
|
|
|
+ width: 160,
|
|
|
+ sortable: true,
|
|
|
+ formatter: 'formatDate',
|
|
|
+ },
|
|
|
{ field: 'acceptType', title: '受理类型', width: 120 },
|
|
|
{ field: 'hotspotName', title: '热点分类', width: 150 },
|
|
|
{ field: 'acceptorName', title: '受理人', width: 120 },
|
|
@@ -270,7 +274,7 @@ const queryList = () => {
|
|
|
Reflect.deleteProperty(requestParams.value, 'doneTime'); // 删除无用的参数
|
|
|
state.loading = true;
|
|
|
gridOptions.loading = true;
|
|
|
- getSSPStatisticsRepeat(requestParams.value)
|
|
|
+ getSSPStatisticsRepeat(requestParams.value)
|
|
|
.then((response: any) => {
|
|
|
gridOptions.data = response?.result.items ?? [];
|
|
|
state.total = response?.result.total;
|