diff --git a/src/views/credit/creditCompany/index.vue b/src/views/credit/creditCompany/index.vue index 8ac8c50..311fefc 100644 --- a/src/views/credit/creditCompany/index.vue +++ b/src/views/credit/creditCompany/index.vue @@ -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: '官网', diff --git a/src/views/credit/creditCustomer/index.vue b/src/views/credit/creditCustomer/index.vue index 240dcfc..7b7d2d2 100644 --- a/src/views/credit/creditCustomer/index.vue +++ b/src/views/credit/creditCustomer/index.vue @@ -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') } // { diff --git a/src/views/credit/creditUser/index.vue b/src/views/credit/creditUser/index.vue index a09b3ad..aaf82a7 100644 --- a/src/views/credit/creditUser/index.vue +++ b/src/views/credit/creditUser/index.vue @@ -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',