Commit bedb8917 authored by 沈翠玲's avatar 沈翠玲

稽核管理添加

parent b8f2984e
......@@ -21,6 +21,7 @@
import { ElMessageBox, ElMessage, ElButton, ElTag } from 'element-plus';
import callDrawer from './components/callDrawer.vue';
import { Download } from '@element-plus/icons-vue';
import { getTenantPage } from '@/api/tenant';
import { inject } from 'vue';
const envs = getAppEnvConfig();
const downloadfile = inject('download');
......@@ -205,6 +206,34 @@
labelWidth: 78,
},
},
{
title: 'CPE',
showOverflow: 'tooltip',
width: 60,
slots: {
default: ({ row }) => {
return (
<>{Array.from(new Set(row.loans.map((v) => v?.cpe?.username))).join(',')}</>
);
},
},
// search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 78 },
},
{
showOverflow: 'tooltip',
slots: {
default: ({ row }) => {
return (
<>{Array.from(new Set(row.loans.map((v) => v?.tenant?.name))).join(',')}</>
);
},
},
enum: () => getTenantPage({ current: 1, size: 999999999, status: 'enable' }),
// search: { el: 'select', props: { filterable: true }, key: 'tenantId', labelWidth: 78 },
fieldNames: { label: 'name', value: 'id' },
title: '调解中心',
width: 100,
},
{
field: 'guarantor.name',
title: '联系人姓名',
......
......@@ -46,6 +46,7 @@
import { getTrackRecord } from '@/api/property';
import { batchSave } from '@/api/audit';
import { useUserStore } from '@/stores/modules/user';
import { getTenantPage } from '@/api/tenant';
const envs = getAppEnvConfig();
const { userInfo } = useUserStore();
......@@ -176,6 +177,34 @@
labelWidth: 78,
},
},
{
title: 'CPE',
showOverflow: 'tooltip',
width: 60,
slots: {
default: ({ row }) => {
return (
<>{Array.from(new Set(row.loans.map((v) => v?.cpe?.username))).join(',')}</>
);
},
},
// search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 78 },
},
{
showOverflow: 'tooltip',
slots: {
default: ({ row }) => {
return (
<>{Array.from(new Set(row.loans.map((v) => v?.tenant?.name))).join(',')}</>
);
},
},
enum: () => getTenantPage({ current: 1, size: 999999999, status: 'enable' }),
// search: { el: 'select', props: { filterable: true }, key: 'tenantId', labelWidth: 78 },
fieldNames: { label: 'name', value: 'id' },
title: '调解中心',
width: 100,
},
{
field: 'nextTime',
title: '下次跟进时间',
......
......@@ -47,6 +47,7 @@
import { batchSave } from '@/api/audit';
import { useUserStore } from '@/stores/modules/user';
const { userInfo } = useUserStore();
import { getTenantPage } from '@/api/tenant';
const envs = getAppEnvConfig();
import { reactive, ref } from 'vue';
......@@ -175,6 +176,34 @@
labelWidth: 78,
},
},
{
title: 'CPE',
showOverflow: 'tooltip',
width: 60,
slots: {
default: ({ row }) => {
return (
<>{Array.from(new Set(row.loans.map((v) => v?.cpe?.username))).join(',')}</>
);
},
},
// search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 78 },
},
{
showOverflow: 'tooltip',
slots: {
default: ({ row }) => {
return (
<>{Array.from(new Set(row.loans.map((v) => v?.tenant?.name))).join(',')}</>
);
},
},
enum: () => getTenantPage({ current: 1, size: 999999999, status: 'enable' }),
// search: { el: 'select', props: { filterable: true }, key: 'tenantId', labelWidth: 78 },
fieldNames: { label: 'name', value: 'id' },
title: '调解中心',
width: 100,
},
{
field: 'nextTime',
title: '下次跟进时间',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment