|
|
@ -89,6 +89,7 @@ |
|
|
|
{ |
|
|
|
title: '设备/组名', |
|
|
|
dataIndex: 'name', |
|
|
|
align: 'center', |
|
|
|
customCell: (record, rowIndex) => { |
|
|
|
if (rowIndex == undefined) { |
|
|
|
return { |
|
|
@ -110,6 +111,7 @@ |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '参数名称', |
|
|
|
align: 'center', |
|
|
|
dataIndex: 'selectedValueName', |
|
|
|
customCell: (record, rowIndex) => { |
|
|
|
if (rowIndex == undefined) { |
|
|
@ -144,7 +146,7 @@ |
|
|
|
let columnA: any[] = [...column]; |
|
|
|
let columnB: any[] = []; |
|
|
|
pageData.graphTableColumns.forEach((item) => { |
|
|
|
columnB.push({ title: item, dataIndex: item }); |
|
|
|
columnB.push({ title: item, dataIndex: item, align: 'center' }); |
|
|
|
}); |
|
|
|
columnA.push(...columnB); |
|
|
|
columns.value = columnA; |
|
|
|