fix: table Search 样式调整
This commit is contained in:
@@ -242,7 +242,7 @@ export const tableConfig = (orgId) => {
|
||||
fieldMap: ['manufactureBeginDate', 'manufactureEndDate'],
|
||||
componentProps: {
|
||||
valueFormat: 'YYYY-MM-DD',
|
||||
placeholder: ['设备生产开始日期', '设备生产结束日期'],
|
||||
placeholder: ['生产开始日期', '生产结束日期'],
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -252,7 +252,7 @@ export const tableConfig = (orgId) => {
|
||||
fieldMap: ['purchaseBeginDate', 'purchaseEndDate'],
|
||||
componentProps: {
|
||||
valueFormat: 'YYYY-MM-DD',
|
||||
placeholder: ['设备采购开始日期', '设备采购结束日期'],
|
||||
placeholder: ['采购开始日期', '采购结束日期'],
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -262,7 +262,7 @@ export const tableConfig = (orgId) => {
|
||||
fieldMap: ['startBeginDate', 'startEndDate'],
|
||||
componentProps: {
|
||||
valueFormat: 'YYYY-MM-DD',
|
||||
placeholder: ['设备启用开始日期', '设备启用结束日期'],
|
||||
placeholder: ['启用开始日期', '启用结束日期'],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@@ -343,22 +343,23 @@
|
||||
customRender: (text: any) => {
|
||||
return text.index + 1;
|
||||
},
|
||||
sorter: true,
|
||||
textNumber: 3,
|
||||
// sorter: true,
|
||||
},
|
||||
{
|
||||
title: '账号',
|
||||
dataIndex: 'accountNo',
|
||||
sorter: true,
|
||||
// sorter: true,
|
||||
},
|
||||
{
|
||||
title: '姓名',
|
||||
dataIndex: 'realName',
|
||||
sorter: true,
|
||||
// sorter: true,
|
||||
},
|
||||
{
|
||||
title: '性别',
|
||||
dataIndex: 'sex',
|
||||
sorter: true,
|
||||
// sorter: true,
|
||||
textNumber: 4,
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user