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