refactor(credit): 调整信用模块表格结构和字段映射

- 为所有信用相关表格组件添加 selection 和 scroll 属性支持
- 将司法文档模型中的 defendantAppellee 字段添加到类型定义
- 更新立案信息导入功能的标题和模板文件名
- 重新映射表格列配置,将 name 字段改为 caseNumber 字段
- 调整表格列宽度设置,优化显示效果
- 移除操作列的显示,注释掉编辑功能入口
- 为导出功能调整列配置,匹配新的字段映射
- 在多个表格中添加主体企业列并调整布局
- 修改文书标题、裁判结果等司法文档相关字段映射
This commit is contained in:
2026-01-18 22:22:59 +08:00
parent 836fd4d8d0
commit 2203b45ddc
14 changed files with 304 additions and 332 deletions

View File

@@ -24,6 +24,8 @@ export interface CreditJudicialDocument {
causeOfAction?: string; causeOfAction?: string;
// 涉案金额 // 涉案金额
involvedAmount?: string; involvedAmount?: string;
// 被告/被上诉人
defendantAppellee?: string;
// 法院 // 法院
courtName?: string; courtName?: string;
// 数据状态 // 数据状态

View File

@@ -3,7 +3,7 @@
<ele-modal <ele-modal
:width="520" :width="520"
:footer="null" :footer="null"
title="司法大数据批量导入" title="立案信息批量导入"
:visible="visible" :visible="visible"
@update:visible="updateVisible" @update:visible="updateVisible"
> >
@@ -22,7 +22,7 @@
</a-spin> </a-spin>
<div class="ele-text-center"> <div class="ele-text-center">
<span>只能上传xlsxlsx文件</span> <span>只能上传xlsxlsx文件</span>
<a :href="templateUrl" download="司法大数据导入模板.xlsx"> <a :href="templateUrl" download="立案信息导入模板.xlsx">
下载导入模板 下载导入模板
</a> </a>
</div> </div>

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -25,12 +26,12 @@
<template v-if="column.key === 'image'"> <template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" /> <a-image :src="record.image" :width="50" />
</template> </template>
<template v-if="column.key === 'name'"> <template v-if="column.key === 'caseNumber'">
<template v-if="record.url"> <template v-if="record.url">
<a :href="record.url" target="_blank">{{ record.name }}</a> <a :href="record.url" target="_blank">{{ record.caseNumber }}</a>
</template> </template>
<template v-else> <template v-else>
{{ record.name }} {{ record.caseNumber }}
</template> </template>
</template> </template>
<template v-if="column.key === 'status'"> <template v-if="column.key === 'status'">
@@ -139,53 +140,38 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{ {
title: '案号', title: '案号',
dataIndex: 'caseNumber', dataIndex: 'caseNumber',
key: 'caseNumber', key: 'caseNumber',
ellipsis: true ellipsis: true,
width: 260
}, },
{ {
title: '案由', title: '案由',
dataIndex: 'causeOfAction', dataIndex: 'causeOfAction',
key: 'causeOfAction', key: 'causeOfAction',
ellipsis: true ellipsis: true,
width: 220
}, },
{ {
title: '涉案金额', title: '当事人',
dataIndex: 'involvedAmount', dataIndex: 'otherPartiesThirdParty',
key: 'involvedAmount', key: 'otherPartiesThirdParty',
width: 120 width: 320
}, },
{ {
title: '法院', title: '法院',
dataIndex: 'courtName', dataIndex: 'courtName',
key: 'courtName', key: 'courtName',
ellipsis: true ellipsis: true,
width: 180
}, },
{ {
title: '数据状态', title: '立案日期',
dataIndex: 'dataStatus', dataIndex: 'occurrenceTime',
key: 'dataStatus', key: 'occurrenceTime',
ellipsis: true width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -196,14 +182,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -238,14 +224,11 @@
filename: '司法大数据', filename: '司法大数据',
columns: [ columns: [
{ title: 'ID', dataIndex: 'id' }, { title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' }, { title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' }, { title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' }, { title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' }, { title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' }, { title: '立案日期', dataIndex: 'occurrenceTime' },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -318,7 +301,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -131,6 +132,12 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{ {
title: '企业名称', title: '企业名称',
dataIndex: 'companyName', dataIndex: 'companyName',
@@ -177,14 +184,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -297,7 +304,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,8 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
:scroll="{ x: 2000 }"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -25,6 +27,14 @@
<template v-if="column.key === 'image'"> <template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" /> <a-image :src="record.image" :width="50" />
</template> </template>
<template v-if="column.key === 'caseNumber'">
<template v-if="record.url">
<a :href="record.url" target="_blank">{{ record.caseNumber }}</a>
</template>
<template v-else>
{{ record.caseNumber }}
</template>
</template>
<template v-if="column.key === 'status'"> <template v-if="column.key === 'status'">
<a-tag v-if="record.status === 0" color="green">显示</a-tag> <a-tag v-if="record.status === 0" color="green">显示</a-tag>
<a-tag v-if="record.status === 1" color="red">隐藏</a-tag> <a-tag v-if="record.status === 1" color="red">隐藏</a-tag>
@@ -134,24 +144,6 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{ {
title: '案号', title: '案号',
dataIndex: 'caseNumber', dataIndex: 'caseNumber',
@@ -165,10 +157,9 @@
ellipsis: true ellipsis: true
}, },
{ {
title: '涉案金额', title: '当事人',
dataIndex: 'involvedAmount', dataIndex: 'otherPartiesThirdParty',
key: 'involvedAmount', key: 'otherPartiesThirdParty'
width: 120
}, },
{ {
title: '法院', title: '法院',
@@ -176,12 +167,6 @@
key: 'courtName', key: 'courtName',
ellipsis: true ellipsis: true
}, },
{
title: '数据状态',
dataIndex: 'dataStatus',
key: 'dataStatus',
ellipsis: true
},
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -191,14 +176,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -233,14 +218,12 @@
filename: '法院公告', filename: '法院公告',
columns: [ columns: [
{ title: 'ID', dataIndex: 'id' }, { title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' }, { title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' }, { title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' }, { title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' }, { title: '公告类型', dataIndex: 'dataType' },
{ title: '数据状态', dataIndex: 'dataStatus' }, { title: '公告人', dataIndex: 'plaintiffAppellant' },
{ title: '刊登日期', dataIndex: 'occurrenceTime' },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -313,7 +296,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -81,6 +82,7 @@
CreditCourtSession, CreditCourtSession,
CreditCourtSessionParam CreditCourtSessionParam
} from '@/api/credit/creditCourtSession/model'; } from '@/api/credit/creditCourtSession/model';
import type {CreditMediation} from "@/api/credit/creditMediation/model";
// 表格实例 // 表格实例
const tableRef = ref<InstanceType<typeof EleProTable> | null>(null); const tableRef = ref<InstanceType<typeof EleProTable> | null>(null);
@@ -131,24 +133,6 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{ {
title: '案号', title: '案号',
dataIndex: 'caseNumber', dataIndex: 'caseNumber',
@@ -162,10 +146,10 @@
ellipsis: true ellipsis: true
}, },
{ {
title: '涉案金额', title: '当事人',
dataIndex: 'involvedAmount', dataIndex: 'otherPartiesThirdParty',
key: 'involvedAmount', key: 'otherPartiesThirdParty',
width: 120 width: 320
}, },
{ {
title: '法院', title: '法院',
@@ -174,10 +158,10 @@
ellipsis: true ellipsis: true
}, },
{ {
title: '数据状态', title: '开庭时间',
dataIndex: 'dataStatus', dataIndex: 'occurrenceTime',
key: 'dataStatus', key: 'occurrenceTime',
ellipsis: true width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -188,14 +172,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -230,18 +214,15 @@
filename: '开庭公告', filename: '开庭公告',
columns: [ columns: [
{ title: 'ID', dataIndex: 'id' }, { title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' }, { title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' }, { title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' }, { title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' }, { title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' }, { title: '开庭时间', dataIndex: 'occurrenceTime' },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
formatter: (record: CreditCourtSession) => formatter: (record: CreditMediation) =>
record.createTime record.createTime
? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss') ? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss')
: '' : ''
@@ -310,7 +291,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -137,6 +137,12 @@
key: 'id', key: 'id',
width: 90 width: 90
}, },
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{ {
title: '客户', title: '客户',
dataIndex: 'name', dataIndex: 'name',
@@ -147,7 +153,8 @@
title: '状态', title: '状态',
dataIndex: 'statusTxt', dataIndex: 'statusTxt',
key: 'statusTxt', key: 'statusTxt',
ellipsis: true ellipsis: true,
width: 120
}, },
{ {
title: '销售金额(万元)', title: '销售金额(万元)',
@@ -165,7 +172,8 @@
title: '数据来源', title: '数据来源',
dataIndex: 'dataSource', dataIndex: 'dataSource',
key: 'dataSource', key: 'dataSource',
ellipsis: true ellipsis: true,
width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -177,14 +185,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 180, // width: 180,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -296,7 +304,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -25,6 +26,14 @@
<template v-if="column.key === 'image'"> <template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" /> <a-image :src="record.image" :width="50" />
</template> </template>
<template v-if="column.key === 'caseNumber'">
<template v-if="record.url">
<a :href="record.url" target="_blank">{{ record.caseNumber }}</a>
</template>
<template v-else>
{{ record.caseNumber }}
</template>
</template>
<template v-if="column.key === 'status'"> <template v-if="column.key === 'status'">
<a-tag v-if="record.status === 0" color="green">显示</a-tag> <a-tag v-if="record.status === 0" color="green">显示</a-tag>
<a-tag v-if="record.status === 1" color="red">隐藏</a-tag> <a-tag v-if="record.status === 1" color="red">隐藏</a-tag>
@@ -131,24 +140,6 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{ {
title: '案号', title: '案号',
dataIndex: 'caseNumber', dataIndex: 'caseNumber',
@@ -162,10 +153,9 @@
ellipsis: true ellipsis: true
}, },
{ {
title: '涉案金额', title: '当事人',
dataIndex: 'involvedAmount', dataIndex: 'otherPartiesThirdParty',
key: 'involvedAmount', key: 'otherPartiesThirdParty'
width: 120
}, },
{ {
title: '法院', title: '法院',
@@ -174,10 +164,10 @@
ellipsis: true ellipsis: true
}, },
{ {
title: '数据状态', title: '发布日期',
dataIndex: 'dataStatus', dataIndex: 'occurrenceTime',
key: 'dataStatus', key: 'occurrenceTime',
ellipsis: true width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -188,14 +178,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -230,14 +220,11 @@
filename: '送达公告', filename: '送达公告',
columns: [ columns: [
{ title: 'ID', dataIndex: 'id' }, { title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' }, { title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' }, { title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' }, { title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' }, { title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' }, { title: '发布日期', dataIndex: 'occurrenceTime' },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -310,7 +297,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,8 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
:scroll="{ x: 2400 }"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -139,6 +141,12 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{ {
title: '被投资企业名称', title: '被投资企业名称',
dataIndex: 'name', dataIndex: 'name',
@@ -149,7 +157,8 @@
title: '状态', title: '状态',
dataIndex: 'statusTxt', dataIndex: 'statusTxt',
key: 'statusTxt', key: 'statusTxt',
ellipsis: true ellipsis: true,
width: 90
}, },
{ {
title: '法定代表人', title: '法定代表人',
@@ -200,6 +209,20 @@
key: 'industry', key: 'industry',
ellipsis: true ellipsis: true
}, },
{
title: '投资数量',
dataIndex: 'investmentCount',
key: 'investmentCount',
ellipsis: true,
width: 120
},
{
title: '关联产品/机构',
dataIndex: 'relatedProductsInstitutions',
key: 'relatedProductsInstitutions',
ellipsis: true,
width: 120
},
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -208,15 +231,15 @@
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
} }
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -333,7 +356,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,8 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
:scroll="{ x: 2400 }"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -132,52 +134,52 @@
width: 80 width: 80
}, },
{ {
title: '数据类型', title: '文书标题',
dataIndex: 'dataType', dataIndex: 'title',
key: 'dataType', key: 'title',
ellipsis: true width: 280
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
}, },
{ {
title: '案号', title: '案号',
dataIndex: 'caseNumber', dataIndex: 'caseNumber',
key: 'caseNumber', key: 'caseNumber',
ellipsis: true width: 240
}, },
{ {
title: '案由', title: '案由',
dataIndex: 'causeOfAction', dataIndex: 'causeOfAction',
key: 'causeOfAction', key: 'causeOfAction',
ellipsis: true width: 240
}, },
{ {
title: '涉案金额', title: '当事人',
dataIndex: 'otherPartiesThirdParty',
key: 'otherPartiesThirdParty'
},
{
title: '案件金额(元)',
dataIndex: 'involvedAmount', dataIndex: 'involvedAmount',
key: 'involvedAmount', key: 'involvedAmount',
width: 120 width: 120
}, },
{ {
title: '法院', title: '裁判结果',
dataIndex: 'courtName', dataIndex: 'defendantAppellee',
key: 'courtName', key: 'defendantAppellee',
ellipsis: true width: 280
}, },
{ {
title: '数据状态', title: '裁判日期',
dataIndex: 'dataStatus', dataIndex: 'occurrenceTime',
key: 'dataStatus', key: 'occurrenceTime',
ellipsis: true width: 120
},
{
title: '发布日期',
dataIndex: 'releaseDate',
key: 'releaseDate',
ellipsis: true,
width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -188,14 +190,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -310,7 +312,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -131,24 +132,6 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '数据类型',
dataIndex: 'dataType',
key: 'dataType',
ellipsis: true
},
{
title: '原告/上诉人',
dataIndex: 'plaintiffAppellant',
key: 'plaintiffAppellant',
ellipsis: true
},
{
title: '发生时间',
dataIndex: 'occurrenceTime',
key: 'occurrenceTime',
width: 120
},
{ {
title: '案号', title: '案号',
dataIndex: 'caseNumber', dataIndex: 'caseNumber',
@@ -161,12 +144,6 @@
key: 'causeOfAction', key: 'causeOfAction',
ellipsis: true ellipsis: true
}, },
{
title: '涉案金额',
dataIndex: 'involvedAmount',
key: 'involvedAmount',
width: 120
},
{ {
title: '法院', title: '法院',
dataIndex: 'courtName', dataIndex: 'courtName',
@@ -174,10 +151,10 @@
ellipsis: true ellipsis: true
}, },
{ {
title: '数据状态', title: '立案日期',
dataIndex: 'dataStatus', dataIndex: 'occurrenceTime',
key: 'dataStatus', key: 'occurrenceTime',
ellipsis: true width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -188,14 +165,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -230,14 +207,11 @@
filename: '诉前调解', filename: '诉前调解',
columns: [ columns: [
{ title: 'ID', dataIndex: 'id' }, { title: 'ID', dataIndex: 'id' },
{ title: '数据类型', dataIndex: 'dataType' },
{ title: '原告/上诉人', dataIndex: 'plaintiffAppellant' },
{ title: '发生时间', dataIndex: 'occurrenceTime' },
{ title: '案号', dataIndex: 'caseNumber' }, { title: '案号', dataIndex: 'caseNumber' },
{ title: '案由', dataIndex: 'causeOfAction' }, { title: '案由', dataIndex: 'causeOfAction' },
{ title: '涉案金额', dataIndex: 'involvedAmount' }, { title: '当事人', dataIndex: 'otherPartiesThirdParty' },
{ title: '法院', dataIndex: 'courtName' }, { title: '法院', dataIndex: 'courtName' },
{ title: '数据状态', dataIndex: 'dataStatus' }, { title: '立案日期', dataIndex: 'occurrenceTime' },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',
@@ -310,7 +284,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -131,11 +132,16 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{ {
title: '主体名称', title: '主体名称',
dataIndex: 'mainBodyName', dataIndex: 'mainBodyName',
key: 'mainBodyName', key: 'mainBodyName'
ellipsis: true
}, },
{ {
title: '登记状态', title: '登记状态',
@@ -175,24 +181,15 @@
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '修改时间',
dataIndex: 'updateTime',
key: 'updateTime',
width: 180,
align: 'center',
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
{
title: '操作',
key: 'action',
width: 160,
fixed: 'right',
align: 'center',
hideInSetting: true
} }
// {
// title: '操作',
// key: 'action',
// width: 160,
// fixed: 'right',
// align: 'center',
// hideInSetting: true
// }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -305,7 +302,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
v-model:selection="selection"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
> >
@@ -131,6 +132,12 @@
key: 'id', key: 'id',
width: 80 width: 80
}, },
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{ {
title: '供应商', title: '供应商',
dataIndex: 'supplier', dataIndex: 'supplier',
@@ -141,7 +148,8 @@
title: '状态', title: '状态',
dataIndex: 'statusTxt', dataIndex: 'statusTxt',
key: 'statusTxt', key: 'statusTxt',
ellipsis: true ellipsis: true,
width: 120
}, },
{ {
title: '采购金额(万元)', title: '采购金额(万元)',
@@ -159,7 +167,8 @@
title: '数据来源', title: '数据来源',
dataIndex: 'dataSource', dataIndex: 'dataSource',
key: 'dataSource', key: 'dataSource',
ellipsis: true ellipsis: true,
width: 120
}, },
{ {
title: '创建时间', title: '创建时间',
@@ -170,14 +179,14 @@
ellipsis: true, ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss') customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}, },
{ // {
title: '操作', // title: '操作',
key: 'action', // key: 'action',
width: 160, // width: 160,
fixed: 'right', // fixed: 'right',
align: 'center', // align: 'center',
hideInSetting: true // hideInSetting: true
} // }
]); ]);
/* 搜索 */ /* 搜索 */
@@ -289,7 +298,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };

View File

@@ -7,6 +7,7 @@
:columns="columns" :columns="columns"
:datasource="datasource" :datasource="datasource"
:customRow="customRow" :customRow="customRow"
:scroll="{ x: 2800 }"
tool-class="ele-toolbar-form" tool-class="ele-toolbar-form"
class="sys-org-table" class="sys-org-table"
v-model:selection="selection" v-model:selection="selection"
@@ -133,15 +134,23 @@
key: 'id', key: 'id',
width: 90 width: 90
}, },
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
},
{ {
title: '项目名称', title: '项目名称',
dataIndex: 'name', dataIndex: 'name',
key: 'name' key: 'name',
width: 280
}, },
{ {
title: '发布日期', title: '发布日期',
dataIndex: 'releaseDate', dataIndex: 'releaseDate',
key: 'releaseDate' key: 'releaseDate',
width: 220
}, },
// { // {
// title: '唯一标识', // title: '唯一标识',
@@ -159,21 +168,24 @@
title: '企业角色', title: '企业角色',
dataIndex: 'role', dataIndex: 'role',
key: 'role', key: 'role',
ellipsis: true ellipsis: true,
width: 180
}, },
{ {
title: '信息类型', title: '信息类型',
dataIndex: 'infoType', dataIndex: 'infoType',
key: 'infoType', key: 'infoType',
ellipsis: true ellipsis: true,
}, width: 170
{
title: '省份地区',
dataIndex: 'province',
key: 'province',
ellipsis: true
}, },
// { // {
// title: '省份地区',
// dataIndex: 'province',
// key: 'province',
// ellipsis: true,
// width: 180
// },
// {
// title: '所在城市', // title: '所在城市',
// dataIndex: 'city', // dataIndex: 'city',
// key: 'city', // key: 'city',
@@ -185,30 +197,34 @@
// key: 'region', // key: 'region',
// ellipsis: true // ellipsis: true
// }, // },
// { {
// title: '街道地址', title: '省份地区',
// dataIndex: 'address', dataIndex: 'address',
// key: 'address', key: 'address',
// ellipsis: true ellipsis: true,
// }, width: 180
},
{ {
title: '招采单位', title: '招采单位',
dataIndex: 'procurementName', dataIndex: 'procurementName',
key: 'procurementName', key: 'procurementName',
ellipsis: true ellipsis: true,
width: 280
}, },
{ {
title: '中标单位', title: '中标单位',
dataIndex: 'winningName', dataIndex: 'winningName',
key: 'winningName', key: 'winningName',
ellipsis: true ellipsis: true,
width: 280
}, },
{ {
title: '中标金额', title: '中标金额',
dataIndex: 'winningPrice', dataIndex: 'winningPrice',
key: 'winningPrice', key: 'winningPrice',
ellipsis: true ellipsis: true,
} width: 280
},
// { // {
// title: '排序', // title: '排序',
// dataIndex: 'sortNumber', // dataIndex: 'sortNumber',
@@ -342,7 +358,7 @@
}, },
// 行双击事件 // 行双击事件
onDblclick: () => { onDblclick: () => {
openEdit(record); // openEdit(record);
} }
}; };
}; };