修改主题
This commit is contained in:
@@ -33,18 +33,22 @@ const column: any = ref([
|
||||
{ field: 'startTime', title: '数据起始时间', width: '140px', sortable: true },
|
||||
{ field: 'endTime', title: '数据结束时间', width: '140px', sortable: true },
|
||||
{ field: 'itemName', title: '数据来源', width: '100px' },
|
||||
{ field: 'statisticalInterval', title: '统计间隔', width: '100px', },
|
||||
{ field: '', title: '时间间隔', width: '140px', },
|
||||
{ field: 'voltageLevel', title: '电压等级', width: '100px',sortable: true },
|
||||
{ field: 'volConType', title: ' 电压接线方式', width: '100px', sortable: true },
|
||||
{ field: 'statisticalInterval', title: '时间间隔(分钟)', width: '120px', },
|
||||
{ field: 'voltageLevel', title: '电压等级', width: '100px', sortable: true },
|
||||
|
||||
{ field: 'volConType', title: ' 电压接线方式', width: '120px', sortable: true },
|
||||
{
|
||||
field: 'pt', title: 'PT变比', width: '100px',
|
||||
},
|
||||
{ field: 'ct', title: 'CT变比', width: '100px', },
|
||||
{ field: 'capacitySi', title: '用户协议容量(MVA)', width: '140px', },
|
||||
{ field: 'capacitySt', title: '供电设备容量(MVA)', width: '140px', },
|
||||
{ field: 'capacitySscb', title: '基准短路容量(MVA)', width: '140px', },
|
||||
{ field: 'capacitySscmin', title: '最小短路容量(MVA)', width: '140px', },
|
||||
{ field: 'capacitySt', title: '供电设备容量(MVA)', width: '140px', },
|
||||
|
||||
{ field: 'location', title: ' 测试位置', width: '100px', },
|
||||
|
||||
{ field: 'ct', title: 'CT', width: '70px', },
|
||||
{ field: 'pt', title: 'PT', width: '70px', },
|
||||
|
||||
|
||||
])
|
||||
const setData = (data: any) => {
|
||||
@@ -54,6 +58,10 @@ const setData = (data: any) => {
|
||||
const formatter = (row: any) => {
|
||||
if (row.column.field == 'voltageLevel') {
|
||||
return row.cellValue == null ? '/' : voltageLevelList.filter((item: any) => item.id == row.cellValue)[0]?.name
|
||||
} else if (row.column.field == 'pt') {
|
||||
return row.row.pt == null ? '/' : (row.row.pt + '/' + row.row.pt1)
|
||||
} else if (row.column.field == 'ct') {
|
||||
return row.row.ct == null ? '/' : (row.row.ct + '/' + row.row.ct1)
|
||||
} else if (row.column.field == 'volConType') {
|
||||
return row.cellValue == null ? '/' : volConTypeList.filter((item: any) => item.id == row.cellValue)[0]?.name
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user