更改table cell width

master
飘泊客 11 months ago
parent c6b90e1b62
commit 7bdd36e3de

@ -437,7 +437,8 @@ const columns: ProColumns[] = [
{
title: '创建日期',
dataIndex: 'createTime',
width: 200
align: 'center',
width: 150
}
// title: '',
// dataIndex: 'operate',

@ -380,12 +380,14 @@ const columns: ProColumns[] = [
{
title: '创建日期',
dataIndex: 'createTime',
width: 200
align: 'center',
width: 150
},
{
title: '操作',
dataIndex: 'operate',
width: '50px'
align: 'center',
width: 70
// sorter: true
}
]

@ -162,12 +162,12 @@ const columns: ProColumns[] = [
{
title: '分发总量',
dataIndex: 'distributeNum',
width: '120px'
width: 120
},
{
title: '创建日期',
dataIndex: 'createTime',
width: 300,
width: 150,
ellipsis: true,
align: 'center',
customRender: function ({ record }: any) {
@ -180,7 +180,9 @@ const columns: ProColumns[] = [
},
{
title: '操作',
dataIndex: 'operate'
dataIndex: 'operate',
align: 'center',
width: 70
}
//
// {

@ -234,7 +234,7 @@ const columns: ProColumns[] = [
{
title: '创建日期',
dataIndex: 'createTime',
width: 230,
width: 150,
align: 'center',
customRender: function ({ record }: any) {
if (record.createTime) {
@ -248,7 +248,7 @@ const columns: ProColumns[] = [
key: 'operate',
title: '操作',
align: 'center',
width: 160,
width: 180,
fixed: 'right'
}
]

@ -150,7 +150,6 @@ const columns: ProColumns[] = [
title: '号码',
dataIndex: 'nid',
width: '120px',
align: 'center',
customRender: function ({ record }: any) {
if (record.nid) {
return record.nid
@ -194,27 +193,28 @@ const columns: ProColumns[] = [
{
title: '备注',
dataIndex: 'remark',
width: 180,
ellipsis: true,
align: 'center'
},
{
title: '线索日期',
dataIndex: 'clueTime',
width: 180,
width: 150,
align: 'center',
ellipsis: true
},
{
title: '创建日期',
dataIndex: 'createTime',
width: 180,
width: 150,
align: 'center',
ellipsis: true
},
{
key: 'operate',
title: '操作',
align: 'center',
width: 100,
align: 'center',
fixed: 'right'
}
// {

@ -136,7 +136,7 @@ const columns: ProColumns[] = [
{
title: '录入日期',
dataIndex: 'createTime',
width: 230,
width: 150,
align: 'center',
customRender: function ({ record }: any) {
if (record.createTime) {

@ -161,7 +161,7 @@ const columns: ProColumns[] = [
{
title: '录入日期',
dataIndex: 'createTime',
width: 230,
width: 150,
align: 'center',
customRender: function ({ record }: any) {
if (record.createTime) {
@ -175,7 +175,7 @@ const columns: ProColumns[] = [
key: 'operate',
title: '操作',
align: 'center',
width: 160,
width: 100,
fixed: 'right'
}
]

@ -135,7 +135,7 @@ const columns: ProColumns[] = [
{
title: '分发日期',
dataIndex: 'distributeTime',
width: 230,
width: 150,
align: 'center',
customRender: function ({ record }: any) {
if (record.distributeTime) {
@ -148,7 +148,7 @@ const columns: ProColumns[] = [
{
title: '录入日期',
dataIndex: 'createTime',
width: 230,
width: 150,
align: 'center',
customRender: function ({ record }: any) {
if (record.createTime) {
@ -166,7 +166,7 @@ const columns: ProColumns[] = [
key: 'operate',
title: '操作',
align: 'center',
width: 160,
width: 70,
fixed: 'right'
}
]

@ -156,14 +156,15 @@ const columns: ProColumns[] = [
{
title: '创建日期',
dataIndex: 'createTime',
width: 300,
align: 'center',
width: 150,
ellipsis: true
},
{
key: 'operate',
title: '操作',
align: 'center',
width: 150,
width: 100,
fixed: 'right'
}
]

@ -166,7 +166,7 @@ const columns: ProColumns[] = [
{
title: '创建日期',
dataIndex: 'createTime',
width: 230,
width: 150,
align: 'center',
customRender: function ({ record }: any) {
if (record.createTime) {
@ -180,7 +180,7 @@ const columns: ProColumns[] = [
key: 'operate',
title: '操作',
align: 'center',
width: 180,
width: 150,
fixed: 'right'
}
]

@ -128,6 +128,7 @@ const columns: ProColumns[] = [
{
title: '创建时间',
dataIndex: 'createTime',
align: 'center',
width: 150,
sorter: true
},

@ -166,6 +166,7 @@ const columns: ProColumns[] = [
{
title: '创建时间',
dataIndex: 'createTime',
align: 'center',
width: 150,
sorter: true
},

@ -137,6 +137,7 @@ const columns: ProColumns[] = [
title: '创建时间',
dataIndex: 'createTime',
width: 150,
align: 'center',
sorter: true
},
{

@ -116,7 +116,7 @@ const columns: ProColumns[] = [
key: 'operate',
title: '操作',
align: 'center',
width: 50
width: 70
}
]

Loading…
Cancel
Save