修改冀北现场问题

This commit is contained in:
GGJ
2025-12-17 09:22:19 +08:00
parent 264f33302f
commit 92aa66436e
25 changed files with 493 additions and 366 deletions

View File

@@ -73,7 +73,7 @@ const tableStore = new TableStore({
icon: 'el-icon-Plus',
render: 'basicButton',
click: row => {
AuditRef.value.open('入网评估报告审核', row)
AuditRef.value.open('系统接入方案审核', row)
}
}
]

View File

@@ -50,25 +50,31 @@
<el-descriptions-item label="预测评估结论">
{{ 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>
@@ -77,12 +83,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">
@@ -95,20 +103,26 @@
<el-descriptions-item label="PCC点" v-if="detailData.userType != 0 && detailData.userType != 1">
{{ proviteData?.pccPoint }}
</el-descriptions-item>
<el-descriptions-item label="PCC供电设备容量" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="PCC供电设备容量"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData.pccEquipmentCapacity }}
</el-descriptions-item>
<el-descriptions-item label="基准短路容量" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="基准短路容量"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData.baseShortCircuitCapacity }}
</el-descriptions-item>
<el-descriptions-item label="评估类型" v-if="detailData.userType != 0 && detailData.userType != 1">
@@ -121,20 +135,26 @@
<el-descriptions-item label="预测评估评审单位" v-if="detailData.userType != 0 && detailData.userType != 1">
{{ proviteData?.evaluationChekDept }}
</el-descriptions-item>
<el-descriptions-item label="系统最小短路容量" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="系统最小短路容量"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData?.minShortCircuitCapacity }}
</el-descriptions-item>
<el-descriptions-item label="用户用电协议容量" v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
">
<el-descriptions-item
label="用户用电协议容量"
v-if="
detailData.userType == '2' ||
detailData.userType == '3' ||
detailData.userType == '4' ||
detailData.userType == '5'
"
>
{{ proviteData?.userAgreementCapacity }}
</el-descriptions-item>
<el-descriptions-item label="行业" v-if="detailData.userType == 6">
@@ -166,12 +186,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>
@@ -212,7 +234,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>
@@ -244,7 +269,7 @@
{{ proviteData?.powerQualityReport.name }}
</a>
</el-descriptions-item>
<el-descriptions-item label="入网评估报告" v-if="applyTitle == '干扰源用户治理工程验收'">
<el-descriptions-item label="系统接入方案" v-if="applyTitle == '干扰源用户治理工程验收'">
<div v-for="item in netInReportList">
<el-icon class="elView" v-if="item.name">
<View @click="openFile(item.name)" />
@@ -275,8 +300,10 @@
<el-descriptions-item label="填报部门">
{{ detailData.orgName }}
</el-descriptions-item>
<el-descriptions-item :label="applyTitle + '报告'"
v-if="proviteData?.otherReport && proviteData?.otherReport.url">
<el-descriptions-item
:label="applyTitle + '报告'"
v-if="proviteData?.otherReport && proviteData?.otherReport.url"
>
<el-icon class="elView" v-if="proviteData?.otherReport.name">
<View @click="openFile(proviteData?.otherReport.nam)" />
</el-icon>
@@ -459,7 +486,7 @@ const getProviteData = async () => {
await getFileNamePath(proviteData.value.otherReport, 'otherReport')
}
// 入网评估报告
// 系统接入方案
if (detailData.value.netInReport.length > 0 && detailData.value.netInReport[0] != null) {
netInReportList.value = []
detailData.value.netInReport.forEach((item: any) => {

View File

@@ -1,5 +1,4 @@
<template>
<!-- 上传 -->
<el-dialog draggable :title="title" v-model="uploadConclusions" width="1500px" :before-close="cancel">
<el-divider content-position="left">基本信息</el-divider>
@@ -9,7 +8,7 @@
:model="addForm"
label-width="auto"
:rules="rules"
:disabled="title == '未建档干扰源用户详情' || title == '入网评估报告审核'"
:disabled="title == '未建档干扰源用户详情' || title == '系统接入方案审核'"
>
<el-form-item label="所属单位:">
<Area v-model="addForm.orgNo" disabled />
@@ -33,7 +32,7 @@
</el-form-item>
<el-divider content-position="left" style="font-weight: bolder; font-size: 18px">
入网评估报告上传
系统接入方案上传
</el-divider>
<el-form label-width="120px">
<el-form-item class="item" label="上传文件:">
@@ -98,9 +97,9 @@
:model="addForm"
label-width="auto"
ref="form1Ref"
style="margin-left: 32px;"
style="margin-left: 32px"
:rules="rules"
v-if="title == '入网评估报告审核'"
v-if="title == '系统接入方案审核'"
>
<el-divider content-position="left" style="font-size: 18px; font-weight: bolder">审核意见</el-divider>
<el-form-item label="审核意见:" prop="checkComment">
@@ -116,14 +115,14 @@
</el-form>
<div
style="display: flex; justify-content: center; margin-top: 30px"
v-if="title != '未建档干扰源用户详情' && title != '入网评估报告审核'"
v-if="title != '未建档干扰源用户详情' && title != '系统接入方案审核'"
>
<el-button type="primary" class="ml20" @click="submit(1)">审核</el-button>
<el-button type="primary" class="ml20" @click="submit(2)">保存</el-button>
<el-button type="primary" class="ml20" @click="cancel">取消</el-button>
</div>
<div style="display: flex; justify-content: center; margin-top: 30px" v-if="title == '入网评估报告审核'">
<div style="display: flex; justify-content: center; margin-top: 30px" v-if="title == '系统接入方案审核'">
<el-button type="primary" class="ml20" @click="audit(1)">通过</el-button>
<el-button type="primary" class="ml20" @click="audit(0)">不通过</el-button>
<el-button type="primary" class="ml20" @click="cancel">取消</el-button>

View File

@@ -707,7 +707,7 @@ const getProviteData = async () => {
getFileNamePath(proviteData.value.additionalAttachments, 'additionalAttachments')
}
// 入网评估报告
// 系统接入方案
if (detailData.value.netInReport.length > 0) {
netInReportList.value = []
detailData.value.netInReport.forEach((item: any) => {

View File

@@ -706,7 +706,7 @@ const getProviteData = async () => {
getFileNamePath(proviteData.value.additionalAttachments, 'additionalAttachments')
}
// 入网评估报告
// 系统接入方案
if (detailData.value.netInReport.length > 0) {
netInReportList.value = []
detailData.value.netInReport.forEach((item: any) => {

View File

@@ -1,8 +1,8 @@
<template>
<div>
<TableHeader area ref='TableHeaderRef'>
<TableHeader area ref="TableHeaderRef">
<template #select>
<el-form-item label='运行状态'>
<el-form-item label="运行状态">
<el-select v-model="tableStore.table.params.runF" clearable placeholder="请选择运行状态">
<el-option
v-for="item in runFlagList"
@@ -12,20 +12,25 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item label='信息查询'>
<el-input style="width:200px;" placeholder="电站名称,终端编号,型号" v-model='tableStore.table.params.searchValue' maxlength="32" show-word-limit clearable></el-input>
<el-form-item label="数据筛选">
<el-input
style="width: 200px"
placeholder="电站名称,终端编号,型号"
v-model="tableStore.table.params.searchValue"
maxlength="32"
show-word-limit
clearable
></el-input>
</el-form-item>
</template>
<template #operation>
<!-- <el-button icon='el-icon-Download' type='primary'>导出</el-button> -->
</template>
</TableHeader>
<Table ref='tableRef' />
<Table ref="tableRef" />
</div>
</template>
<script setup lang='ts'>
<script setup lang="ts">
import { ref, onMounted, provide, nextTick } from 'vue'
import TableStore from '@/utils/tableStore'
import Table from '@/components/table/index.vue'
@@ -45,8 +50,10 @@ const tableStore = new TableStore({
publicHeight: 65,
method: 'POST',
column: [
{
title: '序号', width: 80, formatter: (row: any) => {
{
title: '序号',
width: 80,
formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
@@ -78,14 +85,13 @@ const tableStore = new TableStore({
minWidth: 80,
render: 'tag',
custom: {
'投运': 'success',
'停运': 'danger',
'检修': 'warning',
'调试': 'warning',
'退运': 'danger',
},
},
投运: 'success',
停运: 'danger',
检修: 'warning',
调试: 'warning',
退运: 'danger'
}
}
/* {
title: '操作',
@@ -113,30 +119,28 @@ const tableStore = new TableStore({
name: '电网拓扑',
code: 'Power_Network'
}
tableStore.table.params.runFlag = []
if(tableStore.table.params.runF!=null){
if (tableStore.table.params.runF != null) {
tableStore.table.params.runFlag = [tableStore.table.params.runF]
}
}
})
tableStore.table.params.runF=0
tableStore.table.params.runFlag=[]
tableStore.table.params.searchValue=''
const runFlagList = [{id:0,name:'投运'},{id:1,name:'检修'},{id:2,name:'停运'},{id:3,name:'调试'},{id:4,name:'退运'}]
tableStore.table.params.runF = 0
tableStore.table.params.runFlag = []
tableStore.table.params.searchValue = ''
const runFlagList = [
{ id: 0, name: '投运' },
{ id: 1, name: '检修' },
{ id: 2, name: '停运' },
{ id: 3, name: '调试' },
{ id: 4, name: '退运' }
]
provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()
})
</script>

View File

@@ -8,7 +8,7 @@
:value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="信息查询">
<el-form-item label="数据筛选">
<el-input style="width:240px;" placeholder="电站名称,终端编号,监测点名称"
v-model="tableStore.table.params.searchValue" maxlength="32" show-word-limit
clearable></el-input>

View File

@@ -2,13 +2,14 @@
<div>
<TableHeader datePicker area nextFlag theCurrentTime ref="TableHeaderRef">
<template #select>
<el-form-item label="信息查询">
<el-form-item label="数据筛选">
<el-input
style="width: 200px"
placeholder="请输入变电站/监测点名称"
v-model="tableStore.table.params.searchValue"
clearable
maxlength="32" show-word-limit
maxlength="32"
show-word-limit
></el-input>
</el-form-item>
</template>
@@ -34,8 +35,10 @@ const tableStore = new TableStore({
isWebPaging: true,
paramsPOST: true,
column: [
{
title: '序号', width: 80, formatter: (row: any) => {
{
title: '序号',
width: 80,
formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},