2024-05-17 13:39:55 +08:00
|
|
|
<template>
|
2024-05-28 11:01:50 +08:00
|
|
|
<div class="details">
|
|
|
|
|
<el-divider content-position="left">干扰源用户信息</el-divider>
|
2024-07-15 20:34:21 +08:00
|
|
|
<el-descriptions :column="2" border>
|
|
|
|
|
<el-descriptions-item label="工程预期投产日期">
|
|
|
|
|
{{ formatDate(detailData.expectedProductionDate, 'YYYY-MM-DD') }}
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="用户性质">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{
|
|
|
|
|
userTypeList.find(item => {
|
|
|
|
|
return item.value == detailData.userType
|
|
|
|
|
})?.label
|
|
|
|
|
}}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="所在地市">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ detailData.city }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="归口管理部门">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ detailData.responsibleDepartment }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="用户状态">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{
|
|
|
|
|
userStateList.find(item => {
|
|
|
|
|
return item.value == detailData.userStatus
|
|
|
|
|
})?.label
|
|
|
|
|
}}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="变电站">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ detailData.substation }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="工程名">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ detailData.projectName }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="用户协议容量" v-if="detailData.userType == 0 || detailData.userType == 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.agreementCapacity }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="电压等级">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{
|
|
|
|
|
voltageLevelList.find(item => {
|
|
|
|
|
return item.id == detailData.voltageLevel
|
|
|
|
|
})?.name
|
|
|
|
|
}}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="非线性终端类型" v-if="detailData.userType == 0 || detailData.userType == 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.nonlinearDeviceType ? proviteData.nonlinearDeviceType : '-' }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="预测评估单位">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ detailData.evaluationDept }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="预测评估结论">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ detailData.evaluationConclusion }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
2024-07-31 15:54:35 +08:00
|
|
|
:label="
|
|
|
|
|
detailData.userType == '4' || detailData.userType == '5' ? '非线性设备类型: ' : '非线性负荷类型:'
|
|
|
|
|
"
|
2024-07-15 20:34:21 +08:00
|
|
|
v-if="
|
|
|
|
|
detailData.userType == '2' ||
|
|
|
|
|
detailData.userType == '3' ||
|
|
|
|
|
detailData.userType == '4' ||
|
|
|
|
|
detailData.userType == '5'
|
|
|
|
|
"
|
|
|
|
|
>
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.nonlinearLoadType }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="是否需要治理">
|
2024-05-22 18:49:31 +08:00
|
|
|
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.needGovernance == 0 ? '否' : '是' }}
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2024-05-22 18:49:31 +08:00
|
|
|
v-if="
|
2024-05-17 13:39:55 +08:00
|
|
|
detailData.userType == 2 ||
|
|
|
|
|
detailData.userType == 3 ||
|
|
|
|
|
detailData.userType == 4 ||
|
|
|
|
|
detailData.userType == 5
|
2024-05-22 18:49:31 +08:00
|
|
|
"
|
2024-05-17 13:39:55 +08:00
|
|
|
>
|
|
|
|
|
{{ proviteData.needGovernance == 0 ? '否' : '是' }}
|
|
|
|
|
</span>
|
2024-05-22 18:49:31 +08:00
|
|
|
<span v-if="detailData.userType == 6">{{ proviteData.needGovernance == 0 ? '否' : '是' }}</span>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="是否开展背景测试">
|
2024-05-22 18:49:31 +08:00
|
|
|
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.backgroundTestPerformed == 0 ? '否' : '是' }}
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2024-05-22 18:49:31 +08:00
|
|
|
v-if="
|
2024-05-17 13:39:55 +08:00
|
|
|
detailData.userType == 2 ||
|
|
|
|
|
detailData.userType == 3 ||
|
|
|
|
|
detailData.userType == 4 ||
|
|
|
|
|
detailData.userType == 5
|
2024-05-22 18:49:31 +08:00
|
|
|
"
|
2024-05-17 13:39:55 +08:00
|
|
|
>
|
|
|
|
|
{{ proviteData.backgroundTestPerformed == 0 ? '否' : '是' }}
|
|
|
|
|
</span>
|
2024-05-22 18:49:31 +08:00
|
|
|
<span v-if="detailData.userType == 6">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.backgroundTestPerformed == 0 ? '否' : '是' }}
|
|
|
|
|
</span>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="是否开展抗扰度测试" v-if="detailData.userType == 6">
|
2024-05-28 11:01:50 +08:00
|
|
|
{{ proviteData.antiInterferenceTest == 0 ? '否' : '是' }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="PCC点" v-if="detailData.userType != 0 && detailData.userType != 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData?.pccPoint }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
label="PCC供电终端容量"
|
|
|
|
|
v-if="
|
|
|
|
|
detailData.userType == '2' ||
|
|
|
|
|
detailData.userType == '3' ||
|
|
|
|
|
detailData.userType == '4' ||
|
|
|
|
|
detailData.userType == '5'
|
|
|
|
|
"
|
|
|
|
|
>
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.pccEquipmentCapacity }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
label="基准短路容量"
|
|
|
|
|
v-if="
|
|
|
|
|
detailData.userType == '2' ||
|
|
|
|
|
detailData.userType == '3' ||
|
|
|
|
|
detailData.userType == '4' ||
|
|
|
|
|
detailData.userType == '5'
|
|
|
|
|
"
|
|
|
|
|
>
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.baseShortCircuitCapacity }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="评估类型" v-if="detailData.userType != 0 && detailData.userType != 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{
|
|
|
|
|
evaluationTypeList.find(item => {
|
|
|
|
|
return item.id == proviteData?.evaluationType
|
|
|
|
|
})?.name
|
|
|
|
|
}}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="预测评估评审单位" v-if="detailData.userType != 0 && detailData.userType != 1">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData?.evaluationChekDept }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
label="系统最小短路容量"
|
|
|
|
|
v-if="
|
|
|
|
|
detailData.userType == '2' ||
|
|
|
|
|
detailData.userType == '3' ||
|
|
|
|
|
detailData.userType == '4' ||
|
|
|
|
|
detailData.userType == '5'
|
|
|
|
|
"
|
|
|
|
|
>
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData?.minShortCircuitCapacity }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
label="用户用电协议容量"
|
|
|
|
|
v-if="
|
|
|
|
|
detailData.userType == '2' ||
|
|
|
|
|
detailData.userType == '3' ||
|
|
|
|
|
detailData.userType == '4' ||
|
|
|
|
|
detailData.userType == '5'
|
|
|
|
|
"
|
|
|
|
|
>
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData?.userAgreementCapacity }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="行业" v-if="detailData.userType == 6">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{
|
|
|
|
|
industryList.find(item => {
|
|
|
|
|
return item.id == proviteData.industry
|
|
|
|
|
})?.name
|
|
|
|
|
}}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="敏感终端名称" v-if="detailData.userType == 6">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.deviceName }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="供电电源数量" v-if="detailData.userType == 6">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{ proviteData.powerSupplyCount }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="敏感电能质量指标" v-if="detailData.userType == 6">
|
2024-05-17 13:39:55 +08:00
|
|
|
{{
|
|
|
|
|
energyQualityIndexList.find(item => {
|
|
|
|
|
return item.id == proviteData.energyQualityIndex
|
|
|
|
|
})?.name
|
|
|
|
|
}}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="可研报告">
|
2024-05-22 18:49:31 +08:00
|
|
|
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
2024-07-15 20:34:21 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
|
|
|
|
<View @click="openFile(proviteData.feasibilityReport.name)" />
|
2024-06-14 10:26:35 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData.feasibilityReport.url">
|
|
|
|
|
{{ proviteData.feasibilityReport.name }}
|
|
|
|
|
</a>
|
2024-05-21 08:48:39 +08:00
|
|
|
</span>
|
|
|
|
|
<span
|
2024-05-22 18:49:31 +08:00
|
|
|
v-if="
|
2024-05-21 08:48:39 +08:00
|
|
|
detailData.userType == 2 ||
|
|
|
|
|
detailData.userType == 3 ||
|
|
|
|
|
detailData.userType == 4 ||
|
|
|
|
|
detailData.userType == 5
|
2024-05-22 18:49:31 +08:00
|
|
|
"
|
2024-05-21 08:48:39 +08:00
|
|
|
>
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
|
|
|
|
<View @click="openFile(proviteData.feasibilityReport.name)" />
|
|
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData.feasibilityReport.url">
|
|
|
|
|
{{ proviteData.feasibilityReport.name }}
|
|
|
|
|
</a>
|
2024-05-21 08:48:39 +08:00
|
|
|
</span>
|
2024-05-22 18:49:31 +08:00
|
|
|
<span v-if="detailData.userType == 6">
|
2024-07-15 20:34:21 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
|
|
|
|
<View @click="openFile(proviteData.feasibilityReport.name)" />
|
2024-06-14 10:26:35 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData.feasibilityReport.url">
|
|
|
|
|
{{ proviteData.feasibilityReport.name }}
|
|
|
|
|
</a>
|
2024-05-21 08:48:39 +08:00
|
|
|
</span>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="项目初步设计说明书">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription.name">
|
|
|
|
|
<View @click="openFile(proviteData?.preliminaryDesignDescription.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.preliminaryDesignDescription.url">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ proviteData?.preliminaryDesignDescription.name }}
|
|
|
|
|
</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="预测评估报告">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport.name">
|
|
|
|
|
<View @click="openFile(proviteData?.predictionEvaluationReport.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.predictionEvaluationReport.url">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ proviteData?.predictionEvaluationReport.name }}
|
|
|
|
|
</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="预测评估评审意见报告">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions.name">
|
|
|
|
|
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.predictionEvaluationReviewOpinions.url">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ proviteData?.predictionEvaluationReviewOpinions.name }}
|
|
|
|
|
</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
label="用户接入变电站主接线示意图"
|
|
|
|
|
v-if="detailData.userType != 0 && detailData.userType != 1"
|
|
|
|
|
>
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram.name">
|
|
|
|
|
<View @click="openFile(proviteData?.substationMainWiringDiagram.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.substationMainWiringDiagram.url">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ proviteData?.substationMainWiringDiagram.name }}
|
|
|
|
|
</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.sensitiveDevices.name">
|
|
|
|
|
<View @click="openFile(proviteData?.sensitiveDevices.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.sensitiveDevices.url">
|
|
|
|
|
{{ proviteData?.sensitiveDevices.name }}
|
|
|
|
|
</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport.name">
|
|
|
|
|
<View @click="openFile(proviteData?.antiInterferenceReport.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.antiInterferenceReport.url">
|
2024-07-15 20:34:21 +08:00
|
|
|
{{ proviteData?.antiInterferenceReport.name }}
|
|
|
|
|
</a>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.powerQualityReport.name">
|
|
|
|
|
<View @click="openFile(proviteData?.powerQualityReport.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.powerQualityReport.url">
|
|
|
|
|
{{ proviteData?.powerQualityReport.name }}
|
|
|
|
|
</a>
|
|
|
|
|
</el-descriptions-item>
|
2024-07-31 15:54:35 +08:00
|
|
|
<el-descriptions-item label="入网评估报告" v-if="applyTitle == '干扰源用户治理工程验收'">
|
2024-07-23 15:03:48 +08:00
|
|
|
<div v-for="item in netInReportList">
|
|
|
|
|
<el-icon class="elView" v-if="item.name">
|
|
|
|
|
<View @click="openFile(item.name)" />
|
|
|
|
|
</el-icon>
|
|
|
|
|
<a target="_blank" :href="item.url">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
2024-07-23 15:03:48 +08:00
|
|
|
|
2024-07-15 20:34:21 +08:00
|
|
|
<el-descriptions-item label="其他附件" v-if="proviteData?.additionalAttachments.url">
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.additionalAttachments.name">
|
|
|
|
|
<View @click="openFile(proviteData?.additionalAttachments.name)" />
|
2024-05-21 08:48:39 +08:00
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.additionalAttachments.url">
|
|
|
|
|
{{ proviteData?.additionalAttachments.name }}
|
|
|
|
|
</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
2024-05-22 18:49:31 +08:00
|
|
|
<el-divider content-position="left">{{ applyTitle + '填报信息' }}</el-divider>
|
2024-07-15 20:34:21 +08:00
|
|
|
<el-descriptions :column="2" border>
|
|
|
|
|
<el-descriptions-item label="填报人">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ detailData.reporter }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="填报日期">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ formatDate(detailData.reportDate, 'YYYY-MM-DD') }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="填报部门">
|
2024-05-21 08:48:39 +08:00
|
|
|
{{ detailData.orgName }}
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
:label="applyTitle + '报告'"
|
|
|
|
|
v-if="proviteData?.otherReport && proviteData?.otherReport.url"
|
|
|
|
|
>
|
2024-06-14 10:26:35 +08:00
|
|
|
<el-icon class="elView" v-if="proviteData?.otherReport.name">
|
|
|
|
|
<View @click="openFile(proviteData?.otherReport.nam)" />
|
|
|
|
|
</el-icon>
|
2024-07-23 15:03:48 +08:00
|
|
|
<a target="_blank" :href="proviteData?.otherReport.url">{{ proviteData?.otherReport.name }}</a>
|
2024-07-15 20:34:21 +08:00
|
|
|
</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
2024-05-17 13:39:55 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
2024-05-22 18:49:31 +08:00
|
|
|
<script lang="ts" setup>
|
2024-05-28 11:01:50 +08:00
|
|
|
import { onMounted, ref, reactive, nextTick } from 'vue'
|
2024-05-17 13:39:55 +08:00
|
|
|
import { useRoute } from 'vue-router'
|
|
|
|
|
import { formatDate } from '@/utils/formatTime'
|
|
|
|
|
import { propTypes } from '@/utils/propTypes'
|
|
|
|
|
import { getUserReportById } from '@/api/supervision-boot/userReport/form'
|
|
|
|
|
import { getDictTreeById } from '@/api/system-boot/dictTree'
|
|
|
|
|
import { useDictData } from '@/stores/dictData'
|
|
|
|
|
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
2024-06-14 10:26:35 +08:00
|
|
|
import { Link, View } from '@element-plus/icons-vue'
|
2024-05-21 08:48:39 +08:00
|
|
|
import { userReportGoNetById } from '@/api/supervision-boot/interfere'
|
2024-07-15 20:34:21 +08:00
|
|
|
// import el-descriptions-item from './components/detailsItem.vue'
|
2024-05-17 13:39:55 +08:00
|
|
|
defineOptions({ name: 'BpmUserReportDetail' })
|
2024-06-06 22:14:20 +08:00
|
|
|
const openFile = (name: any) => {
|
|
|
|
|
window.open(window.location.origin + '/#/previewFile?' + name)
|
|
|
|
|
}
|
2024-05-17 13:39:55 +08:00
|
|
|
const { query } = useRoute() // 查询参数
|
|
|
|
|
|
|
|
|
|
const props = defineProps({
|
2024-05-21 10:56:32 +08:00
|
|
|
id: propTypes.string.def(undefined),
|
|
|
|
|
applyTitle: propTypes.string.def(undefined)
|
2024-05-17 13:39:55 +08:00
|
|
|
})
|
2024-07-23 15:03:48 +08:00
|
|
|
const netInReportList: any = ref([])
|
2024-05-17 13:39:55 +08:00
|
|
|
const detailLoading = ref(false) // 表单的加载中
|
|
|
|
|
const detailData = ref<any>({}) // 详情数据
|
|
|
|
|
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
|
|
|
|
|
//用户性质数组
|
|
|
|
|
const userTypeList = reactive([
|
|
|
|
|
{
|
|
|
|
|
label: '新建电网工程',
|
|
|
|
|
value: '0'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '扩建电网工程',
|
|
|
|
|
value: '1'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '新建非线性负荷用户',
|
|
|
|
|
value: '2'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '扩建非线性负荷用户',
|
|
|
|
|
value: '3'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '新建新能源发电站',
|
|
|
|
|
value: '4'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '扩建新能源发电站',
|
|
|
|
|
value: '5'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '敏感及重要用户',
|
|
|
|
|
value: '6'
|
|
|
|
|
}
|
|
|
|
|
])
|
|
|
|
|
//用户状态数组
|
|
|
|
|
const userStateList = reactive([
|
|
|
|
|
{
|
|
|
|
|
label: '可研',
|
|
|
|
|
value: '0'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '建设',
|
|
|
|
|
value: '1'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '运行',
|
|
|
|
|
value: '2'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '退运',
|
|
|
|
|
value: '3'
|
|
|
|
|
}
|
|
|
|
|
])
|
|
|
|
|
const dictData = useDictData()
|
|
|
|
|
//字典获取敏感电能质量指标
|
|
|
|
|
const energyQualityIndexList = dictData.getBasicData('Indicator_Type')
|
|
|
|
|
//字典获取行业类型
|
|
|
|
|
const industryList = dictData.getBasicData('industry_type_jb')
|
|
|
|
|
//字典电压等级
|
|
|
|
|
const voltageLevelList = dictData.getBasicData('Dev_Voltage_Stand')
|
|
|
|
|
//字典评估类型
|
|
|
|
|
const evaluationTypeList = dictData.getBasicData('Evaluation_Type')
|
|
|
|
|
//字典预测评估单位
|
|
|
|
|
/** 获得数据 */
|
|
|
|
|
const getInfo = async () => {
|
|
|
|
|
detailLoading.value = true
|
|
|
|
|
try {
|
2024-05-22 18:49:31 +08:00
|
|
|
userReportGoNetById({ id: props.id }).then(r => {
|
2024-05-21 08:48:39 +08:00
|
|
|
getUserReportById(r.data.userReportId).then(res => {
|
|
|
|
|
detailData.value = res.data
|
2024-05-21 10:56:32 +08:00
|
|
|
detailData.value.otherReport = r.data.otherReport
|
2024-05-21 08:48:39 +08:00
|
|
|
getProviteData()
|
|
|
|
|
})
|
2024-05-17 13:39:55 +08:00
|
|
|
})
|
|
|
|
|
} finally {
|
|
|
|
|
detailLoading.value = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const proviteData = ref()
|
|
|
|
|
//判断userType选择取用的对象
|
|
|
|
|
const getProviteData = async () => {
|
|
|
|
|
if (detailData.value.userType == '0' || detailData.value.userType == '1') {
|
|
|
|
|
proviteData.value = detailData.value.userReportProjectPO
|
2024-06-13 13:32:50 +08:00
|
|
|
//查询非线性终端类型
|
2024-05-17 13:39:55 +08:00
|
|
|
await getDictTreeById(proviteData.value.nonlinearDeviceType).then(res => {
|
|
|
|
|
proviteData.value.nonlinearDeviceType = res.data?.name
|
|
|
|
|
})
|
|
|
|
|
} else if (
|
|
|
|
|
detailData.value.userType == '2' ||
|
|
|
|
|
detailData.value.userType == '3' ||
|
|
|
|
|
detailData.value.userType == '4' ||
|
|
|
|
|
detailData.value.userType == '5'
|
|
|
|
|
) {
|
|
|
|
|
proviteData.value = detailData.value.userReportSubstationPO
|
|
|
|
|
//查询非线性负荷类型
|
|
|
|
|
await getDictTreeById(proviteData.value.nonlinearLoadType).then(res => {
|
|
|
|
|
proviteData.value.nonlinearLoadType = res.data?.name
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
proviteData.value = detailData.value.userReportSensitivePO
|
|
|
|
|
}
|
2024-05-21 10:56:32 +08:00
|
|
|
proviteData.value.otherReport = detailData.value.otherReport
|
2024-05-17 13:39:55 +08:00
|
|
|
//可研报告
|
|
|
|
|
if (proviteData.value.feasibilityReport) {
|
|
|
|
|
await getFileNamePath(proviteData.value.feasibilityReport, 'feasibilityReport')
|
|
|
|
|
}
|
|
|
|
|
//项目初步设计说明书
|
|
|
|
|
if (proviteData.value.preliminaryDesignDescription) {
|
|
|
|
|
await getFileNamePath(proviteData.value.preliminaryDesignDescription, 'preliminaryDesignDescription')
|
|
|
|
|
}
|
|
|
|
|
//预测评估报告
|
|
|
|
|
if (proviteData.value.predictionEvaluationReport) {
|
|
|
|
|
await getFileNamePath(proviteData.value.predictionEvaluationReport, 'predictionEvaluationReport')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//预测评估评审意见报告
|
|
|
|
|
if (proviteData.value.predictionEvaluationReviewOpinions) {
|
|
|
|
|
await getFileNamePath(
|
|
|
|
|
proviteData.value.predictionEvaluationReviewOpinions,
|
|
|
|
|
'predictionEvaluationReviewOpinions'
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
//用户接入变电站主接线示意图
|
|
|
|
|
if (proviteData.value.substationMainWiringDiagram) {
|
|
|
|
|
await getFileNamePath(proviteData.value.substationMainWiringDiagram, 'substationMainWiringDiagram')
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-13 13:32:50 +08:00
|
|
|
//主要敏感终端清单
|
2024-05-17 13:39:55 +08:00
|
|
|
if (proviteData.value.sensitiveDevices) {
|
|
|
|
|
await getFileNamePath(proviteData.value.sensitiveDevices, 'sensitiveDevices')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//抗扰度测试报告
|
|
|
|
|
if (proviteData.value.antiInterferenceReport) {
|
|
|
|
|
await getFileNamePath(proviteData.value.antiInterferenceReport, 'antiInterferenceReport')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//背景电能质量测试报告
|
|
|
|
|
if (proviteData.value.powerQualityReport) {
|
|
|
|
|
await getFileNamePath(proviteData.value.powerQualityReport, 'powerQualityReport')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//其他附件
|
|
|
|
|
if (proviteData.value.additionalAttachments) {
|
2024-05-21 10:56:32 +08:00
|
|
|
await getFileNamePath(proviteData.value.additionalAttachments, 'additionalAttachments')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (proviteData.value.otherReport) {
|
|
|
|
|
await getFileNamePath(proviteData.value.otherReport, 'otherReport')
|
2024-05-17 13:39:55 +08:00
|
|
|
}
|
2024-07-23 15:03:48 +08:00
|
|
|
|
|
|
|
|
// 入网评估报告
|
|
|
|
|
if (detailData.value.netInReport.length > 0) {
|
|
|
|
|
netInReportList.value = []
|
|
|
|
|
detailData.value.netInReport.forEach((item: any) => {
|
|
|
|
|
getFileNamePath(item, 'netInReport')
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-05-17 13:39:55 +08:00
|
|
|
}
|
|
|
|
|
//根据文件名请求
|
|
|
|
|
const getFileNamePath = async (val: any, pathName: any) => {
|
|
|
|
|
await getFileNameAndFilePath({ filePath: val }).then(res => {
|
|
|
|
|
if (res.data && res.data.name && res.data.url) {
|
|
|
|
|
//可研报告
|
|
|
|
|
if (pathName == 'feasibilityReport' && proviteData.value.feasibilityReport) {
|
|
|
|
|
proviteData.value.feasibilityReport = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//项目初步设计说明书
|
|
|
|
|
else if (pathName == 'preliminaryDesignDescription' && proviteData.value.preliminaryDesignDescription) {
|
|
|
|
|
proviteData.value.preliminaryDesignDescription = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//预测评估报告
|
|
|
|
|
else if (pathName == 'predictionEvaluationReport' && proviteData.value.predictionEvaluationReport) {
|
|
|
|
|
proviteData.value.predictionEvaluationReport = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//预测评估评审意见报告
|
|
|
|
|
else if (
|
|
|
|
|
pathName == 'predictionEvaluationReviewOpinions' &&
|
|
|
|
|
proviteData.value.predictionEvaluationReviewOpinions
|
|
|
|
|
) {
|
|
|
|
|
proviteData.value.predictionEvaluationReviewOpinions = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//用户接入变电站主接线示意图
|
|
|
|
|
else if (pathName == 'substationMainWiringDiagram' && proviteData.value.substationMainWiringDiagram) {
|
|
|
|
|
proviteData.value.substationMainWiringDiagram = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-06-13 13:32:50 +08:00
|
|
|
//主要敏感终端清单
|
2024-05-17 13:39:55 +08:00
|
|
|
else if (pathName == 'sensitiveDevices' && proviteData.value.sensitiveDevices) {
|
|
|
|
|
proviteData.value.sensitiveDevices = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//抗扰度测试报告
|
|
|
|
|
else if (pathName == 'antiInterferenceReport' && proviteData.value.antiInterferenceReport) {
|
|
|
|
|
proviteData.value.antiInterferenceReport = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//背景电能质量测试报告
|
|
|
|
|
else if (pathName == 'powerQualityReport' && proviteData.value.powerQualityReport) {
|
|
|
|
|
proviteData.value.powerQualityReport = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//其他附件
|
|
|
|
|
else if (pathName == 'additionalAttachments' && proviteData.value.additionalAttachments) {
|
|
|
|
|
proviteData.value.additionalAttachments = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-21 10:56:32 +08:00
|
|
|
|
|
|
|
|
//其他附件
|
|
|
|
|
else if (pathName == 'otherReport' && proviteData.value.otherReport) {
|
|
|
|
|
proviteData.value.otherReport = {
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
}
|
2024-07-23 15:03:48 +08:00
|
|
|
} else if (pathName == 'netInReport') {
|
|
|
|
|
netInReportList.value.push({
|
|
|
|
|
name: res.data.fileName,
|
|
|
|
|
url: res.data.url
|
|
|
|
|
})
|
2024-05-21 10:56:32 +08:00
|
|
|
}
|
2024-05-17 13:39:55 +08:00
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-28 11:01:50 +08:00
|
|
|
defineExpose({ open: getInfo }) // 提供 open 方法,用于打开弹窗
|
2024-05-17 13:39:55 +08:00
|
|
|
/** 初始化 **/
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
getInfo()
|
|
|
|
|
})
|
|
|
|
|
</script>
|
2024-07-15 20:34:21 +08:00
|
|
|
<style lang="scss" scoped>
|
2024-05-17 13:39:55 +08:00
|
|
|
::v-deep.el-icon svg {
|
2024-06-18 09:03:53 +08:00
|
|
|
// margin: 5px !important;
|
|
|
|
|
// position: absolute !important;
|
|
|
|
|
// top: 20px !important;
|
2024-05-28 11:01:50 +08:00
|
|
|
}
|
2024-06-18 09:03:53 +08:00
|
|
|
// .details {
|
|
|
|
|
// width: 100%;
|
|
|
|
|
// display: flex;
|
|
|
|
|
// flex-wrap: wrap;
|
|
|
|
|
// }
|
2024-06-14 10:26:35 +08:00
|
|
|
.elView {
|
|
|
|
|
cursor: pointer;
|
2024-06-18 09:03:53 +08:00
|
|
|
margin-right: 10px;
|
2024-06-14 10:26:35 +08:00
|
|
|
}
|
2024-07-15 20:34:21 +08:00
|
|
|
:deep(.el-descriptions__label) {
|
2024-07-23 15:03:48 +08:00
|
|
|
width: 20%;
|
|
|
|
|
}
|
2024-07-15 20:34:21 +08:00
|
|
|
:deep(.el-descriptions__content) {
|
2024-07-23 15:03:48 +08:00
|
|
|
width: 30%;
|
|
|
|
|
}
|
2024-05-17 13:39:55 +08:00
|
|
|
</style>
|