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

修改bug

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