修改冀北问题

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

@@ -55,25 +55,31 @@
<el-descriptions-item label="预测评估结论" :span="2">
{{ detailData.evaluationConclusion }}
</el-descriptions-item>
<el-descriptions-item :label="detailData.userType == '4' || detailData.userType == '5' ? '非线性设备类型: ' : '非线性负荷类型:'
" v-if="
<el-descriptions-item
:label="
detailData.userType == '4' || detailData.userType == '5' ? '非线性设备类型: ' : '非线性负荷类型:'
"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
"
>
{{ proviteData.nonlinearLoadType }}
</el-descriptions-item>
<el-descriptions-item label="是否需要治理">
<span v-if="detailData.userType == 0 || detailData.userType == 1">
{{ proviteData.needGovernance == 0 ? '否' : '是' }}
</span>
<span v-if="
detailData.userType == 2 ||
detailData.userType == 3 ||
detailData.userType == 4 ||
detailData.userType == 5
">
<span
v-if="
detailData.userType == 2 ||
detailData.userType == 3 ||
detailData.userType == 4 ||
detailData.userType == 5
"
>
{{ proviteData.needGovernance == 0 ? '否' : '是' }}
</span>
<span v-if="detailData.userType == 6">{{ proviteData.needGovernance == 0 ? '否' : '是' }}</span>
@@ -82,12 +88,14 @@
<span v-if="detailData.userType == 0 || detailData.userType == 1">
{{ proviteData.backgroundTestPerformed == 0 ? '否' : '是' }}
</span>
<span v-if="
detailData.userType == 2 ||
detailData.userType == 3 ||
detailData.userType == 4 ||
detailData.userType == 5
">
<span
v-if="
detailData.userType == 2 ||
detailData.userType == 3 ||
detailData.userType == 4 ||
detailData.userType == 5
"
>
{{ proviteData.backgroundTestPerformed == 0 ? '否' : '是' }}
</span>
<span v-if="detailData.userType == 6">
@@ -112,39 +120,54 @@
{{ proviteData.antiInterferenceTest == 0 ? '否' : '是' }}
</span>
</el-descriptions-item>
<el-descriptions-item label="用户协议容量MVA" v-if="detailData.userType == 0 || detailData.userType == 1">
<el-descriptions-item
label="用户协议容量MVA"
v-if="detailData.userType == 0 || detailData.userType == 1"
>
{{ proviteData.agreementCapacity }}
</el-descriptions-item>
<el-descriptions-item label="PCC供电设备容量MVA" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="PCC供电设备容量MVA"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData.pccEquipmentCapacity }}
</el-descriptions-item>
<el-descriptions-item label="基准短路容量MVA" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="基准短路容量MVA"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData.baseShortCircuitCapacity }}
</el-descriptions-item>
<el-descriptions-item label="系统最小短路容量MVA" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="系统最小短路容量MVA"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData?.minShortCircuitCapacity }}
</el-descriptions-item>
<el-descriptions-item label="用户用电协议容量MVA" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="用户用电协议容量MVA"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData?.userAgreementCapacity }}
</el-descriptions-item>
<el-descriptions-item label="PCC点" v-if="detailData.userType != 0 && detailData.userType != 1">
@@ -206,12 +229,14 @@
{{ proviteData.feasibilityReport?.name }}
</a>
</span>
<span v-if="
detailData.userType == 2 ||
detailData.userType == 3 ||
detailData.userType == 4 ||
detailData.userType == 5
">
<span
v-if="
detailData.userType == 2 ||
detailData.userType == 3 ||
detailData.userType == 4 ||
detailData.userType == 5
"
>
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
</el-icon>
@@ -253,7 +278,10 @@
{{ proviteData?.predictionEvaluationReviewOpinions?.name }}
</a>
</el-descriptions-item>
<el-descriptions-item label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1">
<el-descriptions-item
label="用户接入变电站主接线示意图"
v-if="detailData.userType != 0 && detailData.userType != 1"
>
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name">
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
</el-icon>
@@ -285,8 +313,10 @@
{{ proviteData?.powerQualityReport?.name }}
</a>
</el-descriptions-item>
<el-descriptions-item label="其他附件"
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url">
<el-descriptions-item
label="其他附件"
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url"
>
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name">
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
</el-icon>
@@ -295,7 +325,7 @@
</a>
</el-descriptions-item>
<el-descriptions-item label="入网评估报告">
<el-descriptions-item label="入网方案报告">
<div v-for="item in netInReportList">
<el-icon class="elView" v-if="item.name">
<View @click="openFile(item.name)" />
@@ -305,7 +335,7 @@
</a>
</div>
</el-descriptions-item>
<el-descriptions-item label="治理评估报告">
<el-descriptions-item label="治理验收报告">
<div v-for="item in governReportList">
<el-icon class="elView" v-if="item.name">
<View @click="openFile(item.name)" />

View File

@@ -69,7 +69,7 @@ const tableStore = new TableStore({
},
{ field: 'devType', title: '终端型号', minWidth: 100 },
{ field: 'ip', title: '终端网络参数', minWidth: 100 },
{ field: 'ip', title: '终端网络参数' ,width:'120px'},
{ field: 'port', title: '端口号', minWidth: 40 },
{
field: 'runFlag',

View File

@@ -1,8 +1,8 @@
<template>
<div>
<TableHeader area ref="TableHeaderRef" showExport>
<TableHeader ref="TableHeaderRef" showExport>
<template #select>
<el-form-item label="数据类型">
<!-- <el-form-item label="数据类型">
<el-select v-model="tableStore.table.params.dataType" clearable placeholder="请选择运行状态">
<el-option label="主网" value="0"></el-option>
<el-option label="配网" value="1"></el-option>
@@ -17,11 +17,11 @@
:value="item.id"
></el-option>
</el-select>
</el-form-item>
</el-form-item> -->
<el-form-item label="筛选数据">
<el-input
style="width: 240px"
placeholder=""
placeholder="请输入台区名称/组织机构名称/监测线路名称"
v-model="tableStore.table.params.searchValue"
clearable
></el-input>
@@ -47,13 +47,15 @@ import { addUse, updateUse, removeUse } from '@/api/advance-boot/bearingCapacity
const dictData = useDictData()
const lineList = dictData.getBasicData('Line_Type')
const AreaList = dictData.getBasicData('Area')
const UseNatureList = dictData.getBasicData('Device_UseNature')
const StateList = dictData.getBasicData('Line_State')
const tableStore = new TableStore({
url: '/device-boot/distributionArea/getPowerDistributionAreaList',
publicHeight: 65,
isWebPaging: true,
method: 'POST',
filename: '监测点台账',
filename: '分布式光伏台区台账',
column: [
{
title: '序号',
@@ -63,91 +65,53 @@ const tableStore = new TableStore({
}
},
{ field: 'id', title: '台区编号', minWidth: 150 },
{ field: 'name', title: '台区名称', minWidth: 180 },
{
field: 'areaName',
title: '省公司',
minWidth: 100
},
{ field: 'gdName', title: '市公司', minWidth: 150 },
{
field: 'bdName',
title: '所属变电站',
field: 'orgName',
title: '组织机构名称',
minWidth: 150
},
{ field: 'lineName', title: '监测点名称', minWidth: 130 },
{ field: 'scale', title: '监测点电压等级', minWidth: 120 },
{ field: 'loadType', title: '干扰源类型', minWidth: 120 },
{ field: 'operationName', title: '运维单位', minWidth: 150 },
{ field: 'powerrName', title: '变电站名称', minWidth: 150 },
{ field: 'lineName', title: '监测线路名称', minWidth: 190 },
{ field: 'pcapacity', title: '配变容量(KVA)', minWidth: 80 },
{
field: 'objName',
title: '监测对象名称',
minWidth: 180,
field: 'regionalism',
title: '地区特征',
minWidth: 80,
formatter: (row: any) => {
return row.cellValue ? row.cellValue : '/'
return AreaList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{
field: 'shortCapacity',
title: '最小短路容量(MVA)',
minWidth: 150
field: 'ifRuralPowerGrid',
title: '是否农网',
minWidth: 80,
formatter: (row: any) => {
return row.row.ifRuralPowerGrid == 1 ? '是' : '否'
}
},
{
field: 'devCapacity',
title: '供电终端容量(MVA )',
minWidth: 160
field: 'natureOfUse',
title: '使用性质',
minWidth: 80,
formatter: (row: any) => {
return UseNatureList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{ field: 'lineLength', title: '供电线路总长度(km)', minWidth: 100 },
{
field: 'dealCapacity',
title: '用户协议容量(MVA)',
minWidth: 150
},
/* { field: 'comFlag', title: '通讯状态 ', minWidth: 120 },*/
{ field: 'id', title: '监测点序号', minWidth: 90 },
{
field: 'runFlag',
field: 'state',
title: '运行状态',
minWidth: 80,
render: 'tag',
custom: {
投运: 'success',
停运: 'danger',
检修: 'warning',
调试: 'warning',
退运: 'danger'
formatter: (row: any) => {
return StateList.filter(item => item.id == row.cellValue)[0]?.name || '/'
}
},
{ field: 'devName', title: '监测终端编号 ', minWidth: 140 },
{ field: 'ptType', title: '监测终端接线方式', minWidth: 140 },
{
field: 'voltageDev',
title: '电压偏差上限(%)',
minWidth: 140
},
{
field: 'uvoltageDev',
title: '电压偏差下限(%)',
minWidth: 140
}
/* {
title: '操作',
minWidth: 150,
fixed: 'right',
render: 'buttons',
buttons: [
{
name: 'productSetting',
title: '流程详情',
type: 'primary',
icon: 'el-icon-EditPen',
render: 'basicButton',
click: row => {
}
}
]
}*/
{ field: 'distributedPhotovoltaicNum', title: '用户数', minWidth: 90 },
{ field: 'photovoltaicCapacity', title: '总装机容量(MW)', minWidth: 100 },
{ field: 'apLoadType', title: '接入负荷类型', minWidth: 130 }
],
beforeSearchFun: () => {
@@ -159,8 +123,6 @@ tableStore.table.params.searchValue = ''
tableStore.table.params.dataType = ''
tableStore.table.params.lineType = ''
provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()

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: () => {