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