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

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