Commit 665339c5 authored by 沈翠玲's avatar 沈翠玲

下拉选择框

parent dd518a58
......@@ -155,8 +155,11 @@
enumMap.value.set(field, []);
// 当前 enum 为后台数据需要请求数据,则调用该请求接口,并存储到 enumMap
const { data } = await enumValue();
enumMap.value.set(field, data);
let { result } = await enumValue();
if (result?.content) {
result = result?.content
}
enumMap.value.set(field, result);
};
// 注入 enumMap
......
......@@ -323,7 +323,7 @@
title: '超时状态',
width: 100,
showOverflow: 'tooltip',
search: { el: 'select', props: { clearable: true } },
// search: { el: 'select', props: { clearable: true } },
slots: {
default: ({ row }) => {
return (
......
......@@ -291,7 +291,7 @@
return <>{Array.from(new Set(row.loans.map((v) => v.loanPlatform.name))).join(',')}</>;
},
},
search: { el: 'input', labelWidth: 80 },
// search: { el: 'input', labelWidth: 80 },
},
{
field: 'borrower.name',
......
......@@ -174,7 +174,7 @@
field: 'stages.loans.loanPlatform.name',
title: '借款机构',
showOverflow: 'tooltip',
search: { el: 'input', key: 'payOrg', labelWidth: 80 },
// search: { el: 'input', key: 'payOrg', labelWidth: 80 },
width: 100,
},
{
......
......@@ -329,7 +329,7 @@
title: '超时状态',
width: 100,
showOverflow: 'tooltip',
search: { el: 'select', props: { clearable: true }, labelWidth: 78 },
// search: { el: 'select', props: { clearable: true }, labelWidth: 78 },
slots: {
default: ({ row }) => {
return (
......
......@@ -223,7 +223,7 @@
const getTree = () => {
getTenantPage({
current: 1,
size: 999999999,
size: 999999999, status: 'enable'
}).then((res) => {
if (res.success) {
data.value = res.result.content;
......
......@@ -45,6 +45,10 @@
import citydata from '../../../assets/citydata';
import { onMounted } from 'vue';
import {VxeTextEllipsis, VxeTooltip} from 'vxe-pc-ui'
import { getPlatformPage } from '@/api/platform';
import { getManageOrgPage } from '@/api/manageOrg';
import { getTenantPage } from '@/api/tenant';
const allocationModalRef = ref();
const caseLRef = ref();
const selectdList = ref([]);
......@@ -147,17 +151,21 @@
},
{
field: 'loanPlatform.name',
title: '借款机构',
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'payOrg', labelWidth: 78 },
enum: () => getPlatformPage({current: 1, size: 999999999, status: 'enable'}),
search: { el: 'select', props: { filterable: true }, key: 'loanPlatformId', labelWidth: 78 },
fieldNames: { label: 'name', value: 'id' },
title: '借款机构',
width: 100
},
{
field: 'manageOrg.orgName',
title: '资管公司',
enum: () => getManageOrgPage({current: 1, size: 999999999, status: 'enable'}),
fieldNames: { label: 'orgName', value: 'id' },
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'manageOrg', labelWidth: 78 },
search: { el: 'select', props: { clearable: true }, key: 'manageOrgId', labelWidth: 78 },
},
{
field: 'batchCode',
......@@ -188,10 +196,12 @@
},
{
field: 'tenant.name',
title: '调解中心',
showOverflow: 'tooltip',
width: 80,
search: { el: 'input', props: { clearable: true }, labelWidth: 78 },
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: 'discount',
......
......@@ -223,7 +223,7 @@
const getTree = () => {
getTenantPage({
current: 1,
size: 999999999,
size: 999999999, status: 'enable'
}).then((res) => {
if (res.success) {
data.value = res.result.content;
......
......@@ -15,13 +15,15 @@
<vxe-modal
v-model="showModal"
title="提示"
height="282"
height="242"
width="450"
show-footer
esc-closable
>
<div class="w-full px-3 h-full overflow-auto flex-col flex mytable">
回收是只回收未留案的案件,强制回收就是所有状态案件都处理,请确认选择操作?
⚠️回收处理后可重新分派<br />
回收:只回收未留案的案件<br />
强制回收:所有案件都会回收,留案案件会被强制回收<br />
</div>
<template #footer>
<el-button type="default" @click="showModal = false">取消</el-button>
......@@ -39,6 +41,9 @@
import {VxeTextEllipsis, VxeTooltip} from 'vxe-pc-ui'
import citydata from '../../../assets/citydata';
import { onMounted } from 'vue';
import { getPlatformPage } from '@/api/platform';
import { getManageOrgPage } from '@/api/manageOrg';
import { getTenantPage } from '@/api/tenant';
const caseLRef = ref();
const selectdList = ref([]);
const curParam = ref({});
......@@ -173,17 +178,21 @@
},
{
field: 'loanPlatform.name',
title: '借款机构',
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'payOrg', labelWidth: 78 },
enum: () => getPlatformPage({current: 1, size: 999999999, status: 'enable'}),
search: { el: 'select', props: { filterable: true }, key: 'loanPlatformId', labelWidth: 78 },
fieldNames: { label: 'name', value: 'id' },
title: '借款机构',
width: 100
},
{
field: 'manageOrg.orgName',
showOverflow: 'tooltip',
title: '资管公司',
enum: () => getManageOrgPage({current: 1, size: 999999999, status: 'enable'}),
fieldNames: { label: 'orgName', value: 'id' },
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'manageOrg', labelWidth: 78 },
search: { el: 'select', props: { clearable: true }, key: 'manageOrgId', labelWidth: 78 },
},
{
field: 'batchCode',
......@@ -214,10 +223,12 @@
},
{
field: 'tenant.name',
title: '调解中心',
showOverflow: 'tooltip',
width: 80,
search: { el: 'input', props: { clearable: true }, labelWidth: 78 },
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: 'discount',
......
This diff is collapsed.
......@@ -27,6 +27,8 @@
const caseModalRef = ref();
const caseLRef = ref();
import { onMounted } from 'vue';
import { getPlatformPage } from '@/api/platform';
import { getManageOrgPage } from '@/api/manageOrg';
const router = useRouter();
const onCellClick = (row) => {
......@@ -97,16 +99,20 @@
{
field: 'loanPlatform.name',
showOverflow: 'tooltip',
enum: () => getPlatformPage({current: 1, size: 999999999, status: 'enable'}),
search: { el: 'select', props: { filterable: true }, key: 'loanPlatform', labelWidth: 80 },
fieldNames: { label: 'name', value: 'id' },
title: '借款机构',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'payOrg', labelWidth: 80 },
width: 100
},
{
field: 'manageOrg.orgName',
title: '资管公司',
enum: () => getManageOrgPage({current: 1, size: 999999999, status: 'enable'}),
fieldNames: { label: 'orgName', value: 'id' },
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'manageOrg', labelWidth: 80 },
search: { el: 'select', props: { clearable: true }, key: 'manageOrg', labelWidth: 80 },
},
{
field: 'borrower.name',
......
......@@ -223,7 +223,7 @@
const getTree = () => {
getTenantPage({
current: 1,
size: 999999999,
size: 999999999, status: 'enable'
}).then((res) => {
if (res.success) {
data.value = res.result.content;
......
......@@ -15,13 +15,15 @@
<vxe-modal
v-model="showModal"
title="提示"
height="282"
height="242"
width="450"
show-footer
esc-closable
>
<div class="w-full px-3 h-full overflow-auto flex-col flex mytable">
回收是只回收未留案的案件,强制回收就是所有状态案件都处理,请确认选择操作
<div class="w-full px-3 h-full overflow-auto flex-col flex mytable">
⚠️撤案处理后不可重新分派<br />
撤案:只撤案未留案的案件<br />
强制撤案:所有案件都会撤案,留案案件会被强制撤案<br />
</div>
<template #footer>
<el-button type="default" @click="showModal = false">取消</el-button>
......@@ -40,6 +42,9 @@
import citydata from '../../../assets/citydata';
import { onMounted } from 'vue';
import {VxeTextEllipsis, VxeTooltip} from 'vxe-pc-ui'
import { getPlatformPage } from '@/api/platform';
import { getManageOrgPage } from '@/api/manageOrg';
import { getTenantPage } from '@/api/tenant';
const caseLRef = ref();
const selectdList = ref([]);
const curParam = ref({});
......@@ -173,17 +178,21 @@
},
{
field: 'loanPlatform.name',
title: '借款机构',
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'payOrg', labelWidth: 78 },
enum: () => getPlatformPage({current: 1, size: 999999999, status: 'enable'}),
search: { el: 'select', props: { filterable: true }, key: 'loanPlatformId', labelWidth: 78 },
fieldNames: { label: 'name', value: 'id' },
title: '借款机构',
width: 100
},
{
field: 'manageOrg.orgName',
showOverflow: 'tooltip',
title: '资管公司',
enum: () => getManageOrgPage({current: 1, size: 999999999, status: 'enable'}),
fieldNames: { label: 'orgName', value: 'id' },
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'manageOrg', labelWidth: 78 },
search: { el: 'select', props: { clearable: true }, key: 'manageOrgId', labelWidth: 78 },
},
{
field: 'batchCode',
......@@ -214,10 +223,12 @@
},
{
field: 'tenant.name',
title: '调解中心',
showOverflow: 'tooltip',
width: 80,
search: { el: 'input', props: { clearable: true }, labelWidth: 78 },
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: 'discount',
......
......@@ -328,7 +328,7 @@
title: '超时状态',
width: 100,
showOverflow: 'tooltip',
search: { el: 'select', props: { clearable: true }, labelWidth: 78 },
// search: { el: 'select', props: { clearable: true }, labelWidth: 78 },
slots: {
default: ({ row }) => {
return (
......
......@@ -24,6 +24,9 @@
import { stayLoan } from '@/api/allcation';
import { onMounted } from 'vue';
import { useUserStore } from '@/stores/modules/user';
import { getPlatformPage } from '@/api/platform';
import { getManageOrgPage } from '@/api/manageOrg';
const { userInfo } = useUserStore();
const router = useRouter();
const selectdList = ref([]);
......@@ -138,17 +141,21 @@
},
{
field: 'loanPlatform.name',
title: '借款机构',
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'payOrg', labelWidth: 80 },
enum: () => getPlatformPage({current: 1, size: 999999999, status: 'enable'}),
search: { el: 'select', props: { filterable: true }, key: 'loanPlatform', labelWidth: 80 },
fieldNames: { label: 'name', value: 'id' },
title: '借款机构',
width: 100
},
{
field: 'manageOrg.orgName',
title: '资管公司',
enum: () => getManageOrgPage({current: 1, size: 999999999, status: 'enable'}),
fieldNames: { label: 'orgName', value: 'id' },
showOverflow: 'tooltip',
width: 100,
search: { el: 'input', props: { clearable: true }, key: 'manageOrg', labelWidth: 80 },
search: { el: 'select', props: { clearable: true }, key: 'manageOrg', labelWidth: 80 },
},
{
field: 'borrower.name',
......
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