diff --git a/src/views/pqs/supervise/terminal/components/substationLedger.vue b/src/views/pqs/supervise/terminal/components/substationLedger.vue index 7abcc799..7c14e259 100644 --- a/src/views/pqs/supervise/terminal/components/substationLedger.vue +++ b/src/views/pqs/supervise/terminal/components/substationLedger.vue @@ -5,7 +5,7 @@ @@ -33,14 +33,26 @@ const tableStore = new TableStore({ isWebPaging: true, column: [ { field: 'substationName', title: '变电站名称', minWidth: 100 }, - { field: 'dwLineList', title: '电网侧监测点名称', minWidth: 150 }, - { field: 'yhLineList', title: '非电网侧监测点名称', minWidth: 150 }, + { + field: 'dwLineList', + title: '电网侧监测点名称', + minWidth: 150, + formatter: (obj: any) => { + return obj.cellValue.length == 0 ? '/' : obj.cellValue.join('\n') + } + }, + { + field: 'yhLineList', + title: '非电网侧监测点名称', + minWidth: 150, + formatter: (obj: any) => { + return obj.cellValue.length == 0 ? '/' : obj.cellValue.join('\n') + } + }, { field: 'alarmFreq', title: '告警频次', minWidth: 80 }, { field: 'vpollutionData', title: '谐波电压污染值', minWidth: 80 }, { field: 'ipollutionData', title: '谐波电流污染值', minWidth: 80 } - ], - - beforeSearchFun: () => {} + ] }) tableStore.table.params.searchValue = ''