解析列表工程名称为空处理

This commit is contained in:
zhujiyan
2024-10-17 16:02:10 +08:00
parent 98606adf01
commit 7cf67ed3f6

View File

@@ -33,7 +33,14 @@ const tableStore: any = new TableStore({
column: [ column: [
// { width: '60', type: 'checkbox', fixed: 'left' }, // { width: '60', type: 'checkbox', fixed: 'left' },
{ title: '序号', type: 'seq', width: 80 }, { title: '序号', type: 'seq', width: 80 },
{ field: 'projectName', title: '工程名称', minWidth: 170 }, {
field: 'projectName',
title: '工程名称',
minWidth: 170,
formatter: row => {
return row.cellValue ? row.cellValue : '/'
}
},
{ field: 'successCount', title: '成功解析数', minWidth: 170 }, { field: 'successCount', title: '成功解析数', minWidth: 170 },
{ field: 'startTime', title: '导入开始时间', minWidth: 170 }, { field: 'startTime', title: '导入开始时间', minWidth: 170 },
{ field: 'endTime', title: '导入结束时间', minWidth: 170 }, { field: 'endTime', title: '导入结束时间', minWidth: 170 },
@@ -87,7 +94,7 @@ const tableStore: any = new TableStore({
loadCallback: () => { loadCallback: () => {
// tableStore.table.data=[] // tableStore.table.data=[]
tableStore.table.height = 400 tableStore.table.height = 400
console.log(tableStore.table.data, 'tableStore.table.data') console.log(tableStore.table.publicHeight, 'tableStore.table.data')
} }
}) })
provide('tableStore', tableStore) provide('tableStore', tableStore)