实时数据
This commit is contained in:
parent
bd221860c7
commit
661ab6162d
@ -537,17 +537,17 @@ const getTableData = () => {
|
||||
multipleSelection.value.forEach(item => {
|
||||
if (item.attributeCode) {
|
||||
const attributeCodeLower = item.attributeCode.toLowerCase();
|
||||
// if(attributeCodeLower==='ipitchangle1'||attributeCodeLower==='ipitchangle2'||attributeCodeLower==='ipitchangle3'){
|
||||
/* tableColumnEnds.value.push({
|
||||
label: '变桨角度',
|
||||
unit:'',
|
||||
prop: 'ipitchangle',
|
||||
if(item.unit==""||item.unit==undefined){
|
||||
tableColumnEnds.value.push({
|
||||
label: item.attributeName,
|
||||
unit:item.unit,
|
||||
prop: attributeCodeLower,
|
||||
align: 'center',
|
||||
custom: 'header',
|
||||
name: 'ipitchangle',
|
||||
title: '变桨角度',
|
||||
});*/
|
||||
//}else{
|
||||
name: item.attributeCode,
|
||||
title: item.attributeName,
|
||||
});
|
||||
}else{
|
||||
tableColumnEnds.value.push({
|
||||
label: item.attributeName+'\n'+item.unit,
|
||||
unit:item.unit,
|
||||
@ -557,7 +557,8 @@ const getTableData = () => {
|
||||
name: item.attributeCode,
|
||||
title: item.attributeName,
|
||||
});
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
tableColumn.value = [...tableItem0, ...tableColumnEnds.value];
|
||||
|
Loading…
Reference in New Issue
Block a user