修改冀北问题

This commit is contained in:
GGJ
2025-12-16 13:38:12 +08:00
parent 7b9f5302d0
commit 264f33302f
54 changed files with 602 additions and 475 deletions

View File

@@ -5,7 +5,7 @@
<el-form-item label="筛选数据">
<el-input
style="width: 240px"
placeholder="请输入用户名称"
placeholder="请输入用户名称/组织机构名称"
v-model="tableStore.table.params.searchValue"
clearable
></el-input>
@@ -31,13 +31,18 @@ import { addUse, updateUse, removeUse } from '@/api/advance-boot/bearingCapacity
const dictData = useDictData()
const lineList = dictData.getBasicData('Line_Type')
const categoryList = dictData.getBasicData('Power_Category')
const stationTypeList = dictData.getBasicData('Power_Station_Type')
const generationList = dictData.getBasicData('Power_Generation')
const voltageList = dictData.getBasicData('Dev_Voltage')
const modeList = dictData.getBasicData('Connection_Mode')
const statList = dictData.getBasicData('Ecc_Stat')
const tableStore = new TableStore({
url: '/device-boot/generationUser/getPowerGenerationUserPageList',
publicHeight: 65,
isWebPaging: true,
method: 'POST',
filename: '监测点台账',
filename: '分布式光伏用户台账',
column: [
{
title: '序号',
@@ -47,91 +52,73 @@ const tableStore = new TableStore({
}
},
// {
// field: 'areaName',
// title: '省公司',
// minWidth: 100
// },
{ field: 'id', title: '用户编号', minWidth: 150 },
{ field: 'name', title: '用户名称', minWidth: 180 },
{ field: 'orgName', title: '组织机构名称', minWidth: 150 },
{ field: 'operationName', title: '运维单位名称', minWidth: 150 },
{
field: 'areaName',
title: '省公司',
minWidth: 100
},
{ field: 'gdName', title: '市公司', minWidth: 150 },
{
field: 'bdName',
title: '所属变电站',
minWidth: 150
},
{ field: 'lineName', title: '监测点名称', minWidth: 130 },
{ field: 'scale', title: '监测点电压等级', minWidth: 120 },
{ field: 'loadType', title: '干扰源类型', minWidth: 120 },
{
field: 'objName',
title: '监测对象名称',
minWidth: 180,
field: 'powerCategory',
title: '电源类别',
minWidth: 120,
formatter: (row: any) => {
return row.cellValue ? row.cellValue : '/'
return categoryList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{
field: 'shortCapacity',
title: '最小短路容量(MVA)',
minWidth: 150
},
{
field: 'devCapacity',
title: '供电终端容量(MVA )',
minWidth: 160
},
{
field: 'dealCapacity',
title: '用户协议容量(MVA)',
minWidth: 150
},
/* { field: 'comFlag', title: '通讯状态 ', minWidth: 120 },*/
{ field: 'id', title: '监测点序号', minWidth: 90 },
{
field: 'runFlag',
title: '运行状态',
minWidth: 80,
render: 'tag',
custom: {
投运: 'success',
停运: 'danger',
检修: 'warning',
调试: 'warning',
退运: 'danger'
field: 'powerStationType',
title: '电站类型',
minWidth: 120,
formatter: (row: any) => {
return stationTypeList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{ field: 'devName', title: '监测终端编号 ', minWidth: 140 },
{ field: 'ptType', title: '监测终端接线方式', minWidth: 140 },
{
field: 'voltageDev',
title: '电压偏差上限(%)',
minWidth: 140
field: 'powerGenerationMode',
title: '发电方式',
minWidth: 100,
formatter: (row: any) => {
return generationList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{
field: 'uvoltageDev',
title: '电压偏差下限(%)',
minWidth: 140
field: 'voltageLevel',
title: '并网电压等级',
minWidth: 90,
formatter: (row: any) => {
return voltageList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{ field: 'sourceCapacity', title: '总装机容量(KVA)', minWidth: 100 },
{ field: 'connectionDate', title: '并网日期', minWidth: 120 },
{
field: 'connectionMode',
title: '能源消纳方式',
minWidth: 130,
formatter: (row: any) => {
return modeList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{
field: 'gcStat',
title: '客户状态',
minWidth: 120,
formatter: (row: any) => {
return statList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{
field: 'isUpToGrid',
title: '是否上送网公司监测点',
minWidth: 110,
formatter: (row: any) => {
return row.cellValue==1?'是':'否'
}
}
/* {
title: '操作',
minWidth: 150,
fixed: 'right',
render: 'buttons',
buttons: [
{
name: 'productSetting',
title: '流程详情',
type: 'primary',
icon: 'el-icon-EditPen',
render: 'basicButton',
click: row => {
}
}
]
}*/
],
beforeSearchFun: () => {