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