refactor(credit): 优化企业信用模块数据结构和界面展示

- 将模型中的 companyName 字段统一重命名为 name
- 更新编辑页面标题为更准确的描述
- 调整多个表格列的宽度配置
- 移除冗余的表格滚动设置
- 为主企业名称字段添加空值显示处理
- 统一表格列配置中的样式属性
- 优化表格列的数据索引和键值配置
- 移除过多的表格列宽度和省略号设置
This commit is contained in:
2026-01-19 15:59:31 +08:00
parent 1031ed9199
commit 6f51efe47b
10 changed files with 80 additions and 120 deletions

View File

@@ -23,6 +23,9 @@
/>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'companyName'">
{{ record.companyName || '-' }}
</template>
<template v-if="column.key === 'image'">
<a-image :src="record.image" :width="50" />
</template>
@@ -135,40 +138,32 @@
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
key: 'companyName'
},
{
title: '供应商',
dataIndex: 'supplier',
key: 'supplier',
ellipsis: true
key: 'supplier'
},
{
title: '状态',
dataIndex: 'statusTxt',
key: 'statusTxt',
ellipsis: true,
width: 120
key: 'statusTxt'
},
{
title: '采购金额(万元)',
dataIndex: 'purchaseAmount',
key: 'purchaseAmount',
width: 120
key: 'purchaseAmount'
},
{
title: '公开日期',
dataIndex: 'publicDate',
key: 'publicDate',
width: 120
key: 'publicDate'
},
{
title: '数据来源',
dataIndex: 'dataSource',
key: 'dataSource',
ellipsis: true,
width: 120
key: 'dataSource'
},
{
title: '创建时间',