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

修改bug

parent 65852cbd
...@@ -69,7 +69,7 @@ class RequestClient { ...@@ -69,7 +69,7 @@ class RequestClient {
const { data, config } = response; const { data, config } = response;
axiosCanceler.removePending(config); axiosCanceler.removePending(config);
// 登录失效 // 登录失效
if (data.code === 404) { if (data.code === 404 || data.code === 500) {
router.replace(LOGIN_URL); router.replace(LOGIN_URL);
ElMessage({ ElMessage({
message: '登录失效,请重新登录', message: '登录失效,请重新登录',
......
...@@ -177,6 +177,13 @@ ...@@ -177,6 +177,13 @@
</div> </div>
</div> </div>
</template> </template>
<div class=" font-bold pl-3">还款记录</div>
<ProTable
:config="props.returnConfig"
:data="props.returnData"
:showPagination="false"
:showToolBar="false"
/>
</div> </div>
<template #footer> <template #footer>
<el-button type="default" @click="showModal = false">取消</el-button> <el-button type="default" @click="showModal = false">取消</el-button>
...@@ -213,6 +220,8 @@ ...@@ -213,6 +220,8 @@
}); });
const props = defineProps({ const props = defineProps({
mergerCase: String, mergerCase: String,
returnConfig: Array,
returnData: Array
}); });
const radio = ref(0); const radio = ref(0);
const validaterealRepayAmount = (rule, value, callback) => { const validaterealRepayAmount = (rule, value, callback) => {
......
...@@ -533,6 +533,8 @@ ...@@ -533,6 +533,8 @@
<repairModal ref="repairModalRef"></repairModal> <repairModal ref="repairModalRef"></repairModal>
<returnModal <returnModal
ref="returnModalRef" ref="returnModalRef"
:returnConfig="returnConfig"
:returnData="returnData"
@success="query('还款')" @success="query('还款')"
:mergerCase="detail?.mergerCase" :mergerCase="detail?.mergerCase"
></returnModal> ></returnModal>
......
...@@ -198,8 +198,9 @@ ...@@ -198,8 +198,9 @@
{ {
field: 'commissionAmount', field: 'commissionAmount',
title: '委案金额', title: '委案金额',
sortable: true,
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 120,
search: { render: ({ searchParam }) => { search: { render: ({ searchParam }) => {
return ( return (
<div class="flex"> <div class="flex">
...@@ -256,7 +257,6 @@ ...@@ -256,7 +257,6 @@
width: 100, width: 100,
search: { el: 'input', props: { clearable: true }, labelWidth: 90 }, search: { el: 'input', props: { clearable: true }, labelWidth: 90 },
}, },
{ {
field: 'cpe.username', field: 'cpe.username',
showOverflow: 'tooltip', showOverflow: 'tooltip',
...@@ -267,8 +267,9 @@ ...@@ -267,8 +267,9 @@
{ {
field: 'cpeDate', field: 'cpeDate',
title: '分派CPE日期', title: '分派CPE日期',
sortable: true,
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 130, width: 150,
search: { search: {
el: 'date-picker', el: 'date-picker',
props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' }, props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' },
...@@ -278,8 +279,9 @@ ...@@ -278,8 +279,9 @@
{ {
field: 'trackTime', field: 'trackTime',
title: '跟进时间', title: '跟进时间',
sortable: true,
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 130, width: 150,
search: { search: {
el: 'date-picker', el: 'date-picker',
props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' }, props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' },
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<p class="font-bold mb-2 mt-2">跟进附件:</p> <p class="font-bold mb-2 mt-2">跟进附件:</p>
<el-form inline :model="form" :rules="rules" label-width="110px" label-position="left"> <el-form inline :model="form" :rules="rules" label-width="110px" label-position="left">
<el-form-item class="w-full" label="通话录音:" prop="code"> <el-form-item class="w-full" label="通话录音:" prop="code">
<el-icon> <el-icon style="cursor:pointer;margin-right: 10px">
<Download <Download
v-for="(item, index) in form.voices" v-for="(item, index) in form.voices"
:key="index" :key="index"
......
...@@ -259,8 +259,9 @@ ...@@ -259,8 +259,9 @@
{ {
field: 'commissionAmount', field: 'commissionAmount',
title: '委案金额', title: '委案金额',
sortable: true,
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 80, width: 120,
search: { render: ({ searchParam }) => { search: { render: ({ searchParam }) => {
return ( return (
<div class="flex"> <div class="flex">
...@@ -292,11 +293,18 @@ ...@@ -292,11 +293,18 @@
width: 100, width: 100,
search: { el: 'input', props: { clearable: true }, labelWidth: 90 }, search: { el: 'input', props: { clearable: true }, labelWidth: 90 },
}, },
{
field: 'cpe.username',
showOverflow: 'tooltip',
title: 'CPE',
width: 80,
search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 90 },
},
{ {
field: 'cpeDate', field: 'cpeDate',
title: '分派CPE日期', title: '分派CPE日期',
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 130, width: 150,
search: { search: {
el: 'date-picker', el: 'date-picker',
props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' }, props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' },
...@@ -307,7 +315,7 @@ ...@@ -307,7 +315,7 @@
field: 'trackTime', field: 'trackTime',
title: '跟进时间', title: '跟进时间',
showOverflow: 'tooltip', showOverflow: 'tooltip',
width: 130, width: 150,
search: { search: {
el: 'date-picker', el: 'date-picker',
props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' }, props: { type: 'daterange', valueFormat: 'YYYY-MM-DD' },
...@@ -321,7 +329,7 @@ ...@@ -321,7 +329,7 @@
width: 80, width: 80,
visible: false, visible: false,
enum: BooleanStatus, enum: BooleanStatus,
search: { el: 'select', props: { filterable: true }, labelWidth: 90 }, search: { el: 'select', props: { filterable: true }, labelWidth: 90, defaultValue: 'N' },
fieldNames: { label: 'label', value: 'value' }, fieldNames: { label: 'label', value: 'value' },
slots: { slots: {
default: ({ row }) => { default: ({ row }) => {
......
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