添加周期

This commit is contained in:
2026-07-07 10:18:22 +08:00
parent 5044c88946
commit 1a44a2f9e0
19 changed files with 556 additions and 87 deletions

View File

@@ -128,6 +128,7 @@ const classificationData = dictData.getBasicData('Statistical_Type', ['Report_Ty
const voltageleveloption = dictData.getBasicData('Dev_Voltage_Stand')
const terminaloption = dictData.getBasicData('Dev_Manufacturers')
const interfereoption = dictData.getBasicData('Interference_Source')
const IS_LN = import.meta.env.VITE_NAME == 'LN' || import.meta.env.VITE_NAME == 'LNqr'
const communicationstatus = [
{ value: 0, label: '中断' },
@@ -150,8 +151,21 @@ const tableStore = new TableStore({
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
{ field: 'areaName', title: '区域', minWidth: 90 },
{ field: 'gdName', title: '市公司', minWidth: 110 },
{
visible: !IS_LN,
field: 'areaName',
title: '省公司',
minWidth: 100
},
{ visible: IS_LN,
field: 'gdName', title: '市公司', minWidth: 120, formatter: (row: any) => {
if (IS_LN) {
return row.cellValue.replace('国网', '').replace('供电公司', '')
} else {
return row.cellValue
}
}
},
{
field: 'bdName',
title: '变电站',