微调
This commit is contained in:
@@ -403,7 +403,7 @@ const typeId = ref(null)
|
||||
// 过滤数据
|
||||
const formatter = (row: any) => {
|
||||
// 检查数据是否已加载完成
|
||||
if (!row.cellValue && row.cellValue !== 0) {
|
||||
if (!row.cellValue && row.cellValue !== 0 && row.column.field !='inpactloadStartup') {
|
||||
return ''; // 数据未加载时返回空字符串
|
||||
}
|
||||
|
||||
@@ -421,8 +421,7 @@ const formatter = (row: any) => {
|
||||
}else if(row.column.field =='inpactloadStartup'){
|
||||
const found = shockRef.value.find((item: any) => item.inpactloadtypeId == typeId.value)
|
||||
return found.inpactloadStartup
|
||||
}
|
||||
else if(row.column.field == 'isIsolationtrans'){
|
||||
}else if(row.column.field == 'isIsolationtrans'){
|
||||
return row.cellValue == '01' ? '是' : '否'
|
||||
}else if(row.column.field =='inpactloadFreq'){
|
||||
if(row.cellValue == '01'){
|
||||
@@ -432,8 +431,7 @@ const formatter = (row: any) => {
|
||||
}else{
|
||||
return '2次/h<N≤10次/h'
|
||||
}
|
||||
}
|
||||
else if (row.column.field == 'harmId') {
|
||||
}else if (row.column.field == 'harmId') {
|
||||
const found = characteristic.value.find((item: any) => item.harmId == row.cellValue)
|
||||
if(found){
|
||||
return found.harmName
|
||||
|
||||
Reference in New Issue
Block a user