style(table): 调整表格列宽和对齐样式

- 调整信用公司页面表格列宽:原文件导入名称和系统匹配企业名称从240调整为280
- 调整信用公司页面表格列宽:登记状态从120调整为180
- 调整信用公司页面表格列宽:参保人数所属年报从140调整为180
- 移除信用公司页面更多邮箱、企业类型和纳税人识别号的固定宽度设置
- 为信用公司页面曾用名和英文名添加省略号显示
- 为信用客户页面状态、销售金额、公开日期和数据来源列添加居中对齐和固定宽度
- 修复信用客户页面重复的排序器配置
- 在信用用户页面启用并配置创建时间列的显示和格式化
This commit is contained in:
2026-02-12 15:48:47 +08:00
parent 9febd8016c
commit 952a082752
3 changed files with 34 additions and 27 deletions

View File

@@ -178,19 +178,19 @@
title: '原文件导入名称',
dataIndex: 'name',
key: 'name',
width: 240
width: 280
},
{
title: '系统匹配企业名称',
dataIndex: 'matchName',
key: 'matchName',
width: 240
width: 280
},
{
title: '登记状态',
dataIndex: 'registrationStatus',
key: 'registrationStatus',
width: 120
width: 180
},
{
title: '法定代表人',
@@ -272,20 +272,17 @@
title: '更多邮箱',
dataIndex: 'moreEmail',
key: 'moreEmail',
width: 120,
ellipsis: true
},
{
title: '企业(机构)类型',
dataIndex: 'institutionType',
key: 'institutionType',
width: 140
key: 'institutionType'
},
{
title: '纳税人识别号',
dataIndex: 'taxpayerCode',
key: 'taxpayerCode',
width: 120
key: 'taxpayerCode'
},
{
title: '注册号',
@@ -308,13 +305,13 @@
title: '参保人数所属年报',
dataIndex: 'annualReport',
key: 'annualReport',
width: 140
width: 180
},
{
title: '营业期限',
dataIndex: 'businessTerm',
key: 'businessTerm',
width: 120
ellipsis: true
},
{
title: '国标行业门类',
@@ -364,12 +361,14 @@
{
title: '曾用名',
dataIndex: 'formerName',
key: 'formerName'
key: 'formerName',
ellipsis: true
},
{
title: '英文名',
dataIndex: 'englishName',
key: 'englishName'
key: 'englishName',
ellipsis: true
},
{
title: '官网',

View File

@@ -155,22 +155,30 @@
{
title: '状态',
dataIndex: 'statusTxt',
key: 'statusTxt'
key: 'statusTxt',
width: 120,
align: 'center'
},
{
title: '销售金额(万元)',
dataIndex: 'price',
key: 'price'
key: 'price',
width: 180,
align: 'center'
},
{
title: '公开日期',
dataIndex: 'publicDate',
key: 'publicDate'
key: 'publicDate',
align: 'center',
width: 120
},
{
title: '数据来源',
dataIndex: 'dataSource',
key: 'dataSource'
key: 'dataSource',
align: 'center',
width: 90
},
{
title: '操作人',
@@ -187,7 +195,6 @@
align: 'center',
sorter: true,
ellipsis: true,
sorter: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
}
// {

View File

@@ -76,6 +76,7 @@
DatasourceFunction,
ColumnItem
} from 'ele-admin-pro/es/ele-pro-table/types';
import { toDateString } from 'ele-admin-pro';
import Search from './components/search.vue';
import { getPageTitle } from '@/utils/common';
import CreditUserEdit from './components/creditUserEdit.vue';
@@ -236,16 +237,16 @@
// width: 120,
// align: 'center'
// },
// {
// title: '创建时间',
// dataIndex: 'createTime',
// key: 'createTime',
// width: 200,
// align: 'center',
// sorter: true,
// ellipsis: true,
// customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
// },
{
title: '创建时间',
dataIndex: 'createTime',
key: 'createTime',
width: 200,
align: 'center',
sorter: true,
ellipsis: true,
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
},
// {
// title: '操作',
// key: 'action',