style(table): 调整表格列宽和对齐样式
- 调整信用公司页面表格列宽:原文件导入名称和系统匹配企业名称从240调整为280 - 调整信用公司页面表格列宽:登记状态从120调整为180 - 调整信用公司页面表格列宽:参保人数所属年报从140调整为180 - 移除信用公司页面更多邮箱、企业类型和纳税人识别号的固定宽度设置 - 为信用公司页面曾用名和英文名添加省略号显示 - 为信用客户页面状态、销售金额、公开日期和数据来源列添加居中对齐和固定宽度 - 修复信用客户页面重复的排序器配置 - 在信用用户页面启用并配置创建时间列的显示和格式化
This commit is contained in:
@@ -178,19 +178,19 @@
|
|||||||
title: '原文件导入名称',
|
title: '原文件导入名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
key: 'name',
|
key: 'name',
|
||||||
width: 240
|
width: 280
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '系统匹配企业名称',
|
title: '系统匹配企业名称',
|
||||||
dataIndex: 'matchName',
|
dataIndex: 'matchName',
|
||||||
key: 'matchName',
|
key: 'matchName',
|
||||||
width: 240
|
width: 280
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '登记状态',
|
title: '登记状态',
|
||||||
dataIndex: 'registrationStatus',
|
dataIndex: 'registrationStatus',
|
||||||
key: 'registrationStatus',
|
key: 'registrationStatus',
|
||||||
width: 120
|
width: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '法定代表人',
|
title: '法定代表人',
|
||||||
@@ -272,20 +272,17 @@
|
|||||||
title: '更多邮箱',
|
title: '更多邮箱',
|
||||||
dataIndex: 'moreEmail',
|
dataIndex: 'moreEmail',
|
||||||
key: 'moreEmail',
|
key: 'moreEmail',
|
||||||
width: 120,
|
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '企业(机构)类型',
|
title: '企业(机构)类型',
|
||||||
dataIndex: 'institutionType',
|
dataIndex: 'institutionType',
|
||||||
key: 'institutionType',
|
key: 'institutionType'
|
||||||
width: 140
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '纳税人识别号',
|
title: '纳税人识别号',
|
||||||
dataIndex: 'taxpayerCode',
|
dataIndex: 'taxpayerCode',
|
||||||
key: 'taxpayerCode',
|
key: 'taxpayerCode'
|
||||||
width: 120
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '注册号',
|
title: '注册号',
|
||||||
@@ -308,13 +305,13 @@
|
|||||||
title: '参保人数所属年报',
|
title: '参保人数所属年报',
|
||||||
dataIndex: 'annualReport',
|
dataIndex: 'annualReport',
|
||||||
key: 'annualReport',
|
key: 'annualReport',
|
||||||
width: 140
|
width: 180
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '营业期限',
|
title: '营业期限',
|
||||||
dataIndex: 'businessTerm',
|
dataIndex: 'businessTerm',
|
||||||
key: 'businessTerm',
|
key: 'businessTerm',
|
||||||
width: 120
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '国标行业门类',
|
title: '国标行业门类',
|
||||||
@@ -364,12 +361,14 @@
|
|||||||
{
|
{
|
||||||
title: '曾用名',
|
title: '曾用名',
|
||||||
dataIndex: 'formerName',
|
dataIndex: 'formerName',
|
||||||
key: 'formerName'
|
key: 'formerName',
|
||||||
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '英文名',
|
title: '英文名',
|
||||||
dataIndex: 'englishName',
|
dataIndex: 'englishName',
|
||||||
key: 'englishName'
|
key: 'englishName',
|
||||||
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '官网',
|
title: '官网',
|
||||||
|
|||||||
@@ -155,22 +155,30 @@
|
|||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
dataIndex: 'statusTxt',
|
dataIndex: 'statusTxt',
|
||||||
key: 'statusTxt'
|
key: 'statusTxt',
|
||||||
|
width: 120,
|
||||||
|
align: 'center'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '销售金额(万元)',
|
title: '销售金额(万元)',
|
||||||
dataIndex: 'price',
|
dataIndex: 'price',
|
||||||
key: 'price'
|
key: 'price',
|
||||||
|
width: 180,
|
||||||
|
align: 'center'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '公开日期',
|
title: '公开日期',
|
||||||
dataIndex: 'publicDate',
|
dataIndex: 'publicDate',
|
||||||
key: 'publicDate'
|
key: 'publicDate',
|
||||||
|
align: 'center',
|
||||||
|
width: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '数据来源',
|
title: '数据来源',
|
||||||
dataIndex: 'dataSource',
|
dataIndex: 'dataSource',
|
||||||
key: 'dataSource'
|
key: 'dataSource',
|
||||||
|
align: 'center',
|
||||||
|
width: 90
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作人',
|
title: '操作人',
|
||||||
@@ -187,7 +195,6 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
sorter: true,
|
sorter: true,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: true,
|
|
||||||
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -76,6 +76,7 @@
|
|||||||
DatasourceFunction,
|
DatasourceFunction,
|
||||||
ColumnItem
|
ColumnItem
|
||||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||||
|
import { toDateString } from 'ele-admin-pro';
|
||||||
import Search from './components/search.vue';
|
import Search from './components/search.vue';
|
||||||
import { getPageTitle } from '@/utils/common';
|
import { getPageTitle } from '@/utils/common';
|
||||||
import CreditUserEdit from './components/creditUserEdit.vue';
|
import CreditUserEdit from './components/creditUserEdit.vue';
|
||||||
@@ -236,16 +237,16 @@
|
|||||||
// width: 120,
|
// width: 120,
|
||||||
// align: 'center'
|
// align: 'center'
|
||||||
// },
|
// },
|
||||||
// {
|
{
|
||||||
// title: '创建时间',
|
title: '创建时间',
|
||||||
// dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
// key: 'createTime',
|
key: 'createTime',
|
||||||
// width: 200,
|
width: 200,
|
||||||
// align: 'center',
|
align: 'center',
|
||||||
// sorter: true,
|
sorter: true,
|
||||||
// ellipsis: true,
|
ellipsis: true,
|
||||||
// customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
||||||
// },
|
},
|
||||||
// {
|
// {
|
||||||
// title: '操作',
|
// title: '操作',
|
||||||
// key: 'action',
|
// key: 'action',
|
||||||
|
|||||||
Reference in New Issue
Block a user