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,8 +138,7 @@
{
title: '主体企业',
dataIndex: 'companyName',
key: 'companyName',
width: 280
key: 'companyName'
},
{
title: '主体名称',
@@ -146,32 +148,27 @@
{
title: '登记状态',
dataIndex: 'registrationStatus',
key: 'registrationStatus',
ellipsis: true
key: 'registrationStatus'
},
{
title: '注册资本',
dataIndex: 'registeredCapital',
key: 'registeredCapital',
width: 120
key: 'registeredCapital'
},
{
title: '省份地区',
dataIndex: 'provinceRegion',
key: 'provinceRegion',
ellipsis: true
key: 'provinceRegion'
},
{
title: '关联关系',
dataIndex: 'associatedRelation',
key: 'associatedRelation',
ellipsis: true
key: 'associatedRelation'
},
{
title: '风险关系',
dataIndex: 'riskRelation',
key: 'riskRelation',
ellipsis: true
key: 'riskRelation'
},
{
title: '创建时间',