|
@@ -38,9 +38,9 @@
|
|
}"
|
|
}"
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
>
|
|
>
|
|
-<!-- <template #custom-type="{ col, row }">-->
|
|
|
|
-<!-- {{ customerTypeFilter(row[col.colKey]) }}-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
|
|
+ <!-- <template #custom-type="{ col, row }">-->
|
|
|
|
+ <!-- {{ customerTypeFilter(row[col.colKey]) }}-->
|
|
|
|
+ <!-- </template>-->
|
|
<template #begin-time="{ col, row }">
|
|
<template #begin-time="{ col, row }">
|
|
{{ timestampFilter(row[col.colKey]) }}
|
|
{{ timestampFilter(row[col.colKey]) }}
|
|
</template>
|
|
</template>
|
|
@@ -53,15 +53,20 @@ import { CUSTOMER_TYPE } from '@/config/constants';
|
|
import { dateFormat } from '@/utils/tool';
|
|
import { dateFormat } from '@/utils/tool';
|
|
import useFetchTable from '@/hooks/useFetchTable';
|
|
import useFetchTable from '@/hooks/useFetchTable';
|
|
import { sopDetailDrill } from '@/api/report';
|
|
import { sopDetailDrill } from '@/api/report';
|
|
-import {customerTypeFilter, issuesReasonTypeFilter, issuesTypeFilter, timestampFilter} from "@/utils/filter";
|
|
|
|
|
|
+import {
|
|
|
|
+ customerTypeFilter,
|
|
|
|
+ issuesReasonTypeFilter,
|
|
|
|
+ issuesTypeFilter,
|
|
|
|
+ timestampFilter,
|
|
|
|
+} from '@/utils/filter';
|
|
const tableColumns = [
|
|
const tableColumns = [
|
|
{ colKey: 'serviceName', title: '服务单元' },
|
|
{ colKey: 'serviceName', title: '服务单元' },
|
|
{ colKey: 'crmNo', title: '项目单号' },
|
|
{ colKey: 'crmNo', title: '项目单号' },
|
|
{ colKey: 'sopNo', title: 'SOP' },
|
|
{ colKey: 'sopNo', title: 'SOP' },
|
|
{ colKey: 'statusStr', title: 'SOP状态' },
|
|
{ colKey: 'statusStr', title: 'SOP状态' },
|
|
- { colKey: 'beginTime', title: '派单时间', cell: 'begin-time'},
|
|
|
|
|
|
+ { colKey: 'beginTime', title: '派单时间', cell: 'begin-time' },
|
|
{ colKey: 'customManagerName', title: '客户经理' },
|
|
{ colKey: 'customManagerName', title: '客户经理' },
|
|
- { colKey: 'customManagerTypeStr', title: '客户类型' ,cell: 'custom-type'},
|
|
|
|
|
|
+ { colKey: 'customManagerTypeStr', title: '客户类型', cell: 'custom-type' },
|
|
{ colKey: 'customName', title: '客户名称' },
|
|
{ colKey: 'customName', title: '客户名称' },
|
|
{ colKey: 'crmName', title: '项目名称' },
|
|
{ colKey: 'crmName', title: '项目名称' },
|
|
{ colKey: 'productName', title: '实施产品' },
|
|
{ colKey: 'productName', title: '实施产品' },
|
|
@@ -74,8 +79,8 @@ const emit = defineEmits(['close']);
|
|
|
|
|
|
watch(
|
|
watch(
|
|
() => props.visible,
|
|
() => props.visible,
|
|
- () => {
|
|
|
|
- search();
|
|
|
|
|
|
+ (val) => {
|
|
|
|
+ val && search();
|
|
}
|
|
}
|
|
);
|
|
);
|
|
const transParams = computed(() => {
|
|
const transParams = computed(() => {
|