Compare commits
6 Commits
dc32cc3bb7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a52021572a | ||
| d69a6e1e5d | |||
| a67535abbf | |||
|
|
dffc735edb | ||
|
|
38806367b4 | ||
|
|
6f770aa91d |
@@ -1,6 +1,7 @@
|
||||
import { downloadFile } from '@/api/system-boot/file'
|
||||
// 下载文件
|
||||
export const download = (urls: string) => {
|
||||
export const download = (urls: any) => {
|
||||
|
||||
downloadFile({ filePath: urls }).then((res: any) => {
|
||||
let blob = new Blob([res], {
|
||||
type: urls.includes('.pdf')
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="所在地市">
|
||||
{{ detailData.city }}
|
||||
@@ -208,6 +212,7 @@
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<div style="display: flex;align-items: center;">
|
||||
<div>{{ item.name }}</div>
|
||||
|
||||
<el-icon class="elView" v-if="item.name" @click="view(item)">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG" @click="view(item)">
|
||||
<View />
|
||||
</el-icon>
|
||||
<el-icon class="elView" v-if="item.name" @click="download(item)">
|
||||
@@ -50,6 +50,7 @@ import { ref, reactive } from 'vue'
|
||||
import { defaultAttribute } from '@/components/table/defaultAttribute'
|
||||
import { getFileNameAndFilePath, downloadFile } from '@/api/system-boot/file'
|
||||
import { Download, View } from '@element-plus/icons-vue'
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const dialogVisible = ref(false)
|
||||
const tableData: any = ref({
|
||||
|
||||
|
||||
@@ -41,10 +41,10 @@
|
||||
{{ list.takeStep }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="1" label="处理成效报告">
|
||||
<el-icon class="elView " v-if="list?.reportName" >
|
||||
<el-icon class="elView " v-if="list?.reportName && VITE_FLAG" >
|
||||
<View @click="openFile(list?.reportPath)" />
|
||||
</el-icon>
|
||||
<a :href="list.reportPath" target="_blank">{{ list.reportName }}</a>
|
||||
<a class="aLoad" @click="download(list.keyName)" target="_blank">{{ list.reportName }}</a>
|
||||
</el-descriptions-item>
|
||||
|
||||
|
||||
@@ -58,10 +58,12 @@ import { ref, reactive } from 'vue'
|
||||
import { View } from '@element-plus/icons-vue'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import {download} from '@/utils/fileDownLoad'
|
||||
const dialogVisible = ref(false)
|
||||
const title = ref('')
|
||||
const dictData = useDictData()
|
||||
const list: any = ref({})
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const open = (row: any) => {
|
||||
list.value={}
|
||||
title.value = row.title
|
||||
|
||||
@@ -44,10 +44,10 @@
|
||||
{{ list.takeStep }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="处理成效报告">
|
||||
<el-icon class="elView " v-if="list?.reportName">
|
||||
<el-icon class="elView " v-if="list?.reportName && VITE_FLAG">
|
||||
<View @click="openFile(list?.reportPath)" />
|
||||
</el-icon>
|
||||
<a :href="list.reportPath" target="_blank">{{ list.reportName }}</a>
|
||||
<a class="aLoad" @click="download(list.keyName)" target="_blank">{{ list.reportName }}</a>
|
||||
</el-descriptions-item>
|
||||
|
||||
|
||||
@@ -61,16 +61,19 @@ import { ref, reactive } from 'vue'
|
||||
import { View } from '@element-plus/icons-vue'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import {download} from '@/utils/fileDownLoad'
|
||||
const dialogVisible = ref(false)
|
||||
const title = ref('')
|
||||
const list: any = ref({})
|
||||
const dictData = useDictData()
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const open = (row: any) => {
|
||||
list.value = {}
|
||||
title.value = row.title
|
||||
dialogVisible.value = true
|
||||
list.value = JSON.parse(JSON.stringify(row.row))
|
||||
getFileNameAndFilePath({ filePath: row.row.reportPath }).then(res => {
|
||||
list.value.keyName = res.data.name
|
||||
list.value.reportPath = res.data.url
|
||||
list.value.reportName = res.data.fileName
|
||||
})
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<!-- <h1>详细信息回显</h1>-->
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="普测计划名称">
|
||||
@@ -21,7 +25,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="文件">
|
||||
<div v-for="(item, index) in aList">
|
||||
<el-icon class="elView" v-if="item?.fileName">
|
||||
<el-icon class="elView" v-if="item?.fileName && VITE_FLAG">
|
||||
<View @click="openFile(item?.fileName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
@@ -49,6 +53,7 @@
|
||||
</vxe-column>
|
||||
</vxe-table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@@ -77,7 +82,7 @@ const detailData: any = ref({}) // 详情数据
|
||||
const levelList = dictData.getBasicData('Dev_Voltage_Stand')
|
||||
const aList: any = ref([]) // 详情数据
|
||||
const queryId = query.id // 从 URL 传递过来的 id 编号
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
/** 获得数据 */
|
||||
const getInfo = async () => {
|
||||
detailLoading.value = true
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class='default-main'>
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column='2' label-width="140px" border>
|
||||
<el-descriptions-item label='技术监督计划名称'>
|
||||
{{ detailData?.planName }}
|
||||
@@ -43,6 +47,7 @@
|
||||
<vxe-column field='dataSource' title='变电站来源' :formatter='formatterSource'></vxe-column>
|
||||
</vxe-table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang='ts'>
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="技术监督计划名称">
|
||||
{{ detailData?.planName }}
|
||||
@@ -56,27 +60,27 @@
|
||||
|
||||
|
||||
<el-descriptions-item :span="2" label="技术监督报告">
|
||||
<el-icon class="elView" v-if="detailData?.supervisionReportName">
|
||||
<el-icon class="elView" v-if="detailData?.supervisionReportName && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.supervisionReportName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.supervisionReportName }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="测试报告">
|
||||
<el-icon class="elView" v-if="detailData?.testReportName">
|
||||
<el-icon class="elView" v-if="detailData?.testReportName && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.testReportName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.testReportName }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="其他报告">
|
||||
<div v-for="item in detailData.otherReports">
|
||||
<el-icon class="elView">
|
||||
<el-icon class="elView" v-if="item.fileName && VITE_FLAG">
|
||||
<View @click="openFile(item.fileName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)" target="_blank">{{ item.fileName }}</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="处理成效报告" v-if="props.flag">
|
||||
<el-icon class="elView " v-if="detailData?.reportName">
|
||||
<el-icon class="elView " v-if="detailData?.reportName && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.reportName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.reportName }}</span >
|
||||
@@ -87,6 +91,8 @@
|
||||
</el-tag>
|
||||
</el-descriptions-item> -->
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@@ -104,6 +110,8 @@ import {download} from '@/utils/fileDownLoad'
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const { query } = useRoute() // 查询参数
|
||||
const props = defineProps({
|
||||
id: propTypes.string.def(undefined),
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="details">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-divider content-position="left">干扰源用户信息</el-divider>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="工程预期投产日期">
|
||||
@@ -179,7 +183,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="可研报告11">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData.feasibilityReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -194,7 +198,7 @@
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData.feasibilityReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -202,7 +206,7 @@
|
||||
</span>
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData.feasibilityReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -211,7 +215,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription.name">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
@@ -219,7 +223,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
@@ -227,7 +231,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions.name">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
@@ -238,7 +242,7 @@
|
||||
label="用户接入变电站主接线示意图"
|
||||
v-if="detailData.userType != 0 && detailData.userType != 1"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram.name">
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
@@ -246,7 +250,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices.name">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
@@ -254,7 +258,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
@@ -262,7 +266,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.powerQualityReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
@@ -271,7 +275,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="系统接入方案" v-if="applyTitle == '干扰源用户治理工程验收'">
|
||||
<div v-for="item in netInReportList">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
@@ -281,7 +285,7 @@
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="其他附件" v-if="proviteData?.additionalAttachments.url">
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments.name">
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.additionalAttachments.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
@@ -304,7 +308,7 @@
|
||||
:label="applyTitle + '报告'"
|
||||
v-if="proviteData?.otherReport && proviteData?.otherReport.url"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.otherReport.name">
|
||||
<el-icon class="elView" v-if="proviteData?.otherReport.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.otherReport.key)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.otherReport.keyName)">
|
||||
@@ -312,6 +316,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -328,6 +333,7 @@ import { userReportGoNetById } from '@/api/supervision-boot/interfere'
|
||||
import { download } from '@/utils/fileDownLoad'
|
||||
// import el-descriptions-item from './components/detailsItem.vue'
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?' + name)
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<div style="display: flex; justify-content: space-between">
|
||||
<el-descriptions :column="1" border style="flex: 1" class="mr20" title="变更前">
|
||||
<el-descriptions-item label="填报人">
|
||||
@@ -189,7 +193,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="可研报告">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
@@ -202,7 +206,7 @@
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -210,7 +214,7 @@
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -219,7 +223,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
@@ -228,7 +232,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
@@ -236,7 +240,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
@@ -244,7 +248,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1">
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
@@ -252,7 +256,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
@@ -260,7 +264,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
@@ -268,7 +272,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
@@ -277,7 +281,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="其他附件"
|
||||
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url">
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
@@ -527,7 +531,7 @@
|
||||
<span v-if="detailData1.userType == 0 || detailData1.userType == 1"
|
||||
:label-class-name="changeTheField?.feasibilityReport ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.feasibilityReport ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
@@ -540,7 +544,7 @@
|
||||
detailData1.userType == 4 ||
|
||||
detailData1.userType == 5
|
||||
">
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -550,7 +554,7 @@
|
||||
<span v-if="detailData1.userType == 6"
|
||||
:label-class-name="changeTheField?.feasibilityReport ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.feasibilityReport ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
@@ -561,7 +565,7 @@
|
||||
<el-descriptions-item label="项目初步设计说明书"
|
||||
:label-class-name="changeTheField?.preliminaryDesignDescription ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.preliminaryDesignDescription ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.preliminaryDesignDescription?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.preliminaryDesignDescription?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
@@ -572,7 +576,7 @@
|
||||
<el-descriptions-item label="预测评估报告"
|
||||
:label-class-name="changeTheField?.predictionEvaluationReport ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.predictionEvaluationReport ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.predictionEvaluationReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.predictionEvaluationReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
@@ -582,7 +586,7 @@
|
||||
<el-descriptions-item label="预测评估评审意见报告"
|
||||
:label-class-name="changeTheField?.predictionEvaluationReviewOpinions ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.predictionEvaluationReviewOpinions ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.predictionEvaluationReviewOpinions?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.predictionEvaluationReviewOpinions?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
@@ -592,7 +596,7 @@
|
||||
<el-descriptions-item label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1"
|
||||
:label-class-name="changeTheField?.substationMainWiringDiagram ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.substationMainWiringDiagram ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.substationMainWiringDiagram?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.substationMainWiringDiagram?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
@@ -602,7 +606,7 @@
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6"
|
||||
:label-class-name="changeTheField?.sensitiveDevices ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.sensitiveDevices ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.sensitiveDevices?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.sensitiveDevices?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
@@ -612,7 +616,7 @@
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6"
|
||||
:label-class-name="changeTheField?.antiInterferenceReport ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.antiInterferenceReport ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.antiInterferenceReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.antiInterferenceReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
@@ -622,7 +626,7 @@
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6"
|
||||
:label-class-name="changeTheField?.powerQualityReport ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.powerQualityReport ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.powerQualityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.powerQualityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
@@ -633,7 +637,7 @@
|
||||
v-if="proviteData1?.additionalAttachments && proviteData1?.additionalAttachments?.url"
|
||||
:label-class-name="changeTheField?.additionalAttachments ? 'my-content' : ''"
|
||||
:class-name="changeTheField?.additionalAttachments ? 'my-content' : ''">
|
||||
<el-icon class="elView" v-if="proviteData1?.additionalAttachments?.name">
|
||||
<el-icon class="elView" v-if="proviteData1?.additionalAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData1?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
@@ -642,6 +646,7 @@
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -657,7 +662,7 @@ import { Link, View } from '@element-plus/icons-vue'
|
||||
import PreviewFile from '@/components/PreviewFile/index.vue'
|
||||
import { download} from '@/utils/fileDownLoad'
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const { query } = useRoute() // 查询参数
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -1,450 +1,458 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="填报人">
|
||||
{{ detailData.reporter }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="填报日期">
|
||||
{{ formatDate(detailData.reportDate, 'YYYY-MM-DD') }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="填报部门">
|
||||
{{ detailData.orgName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="工程预期投产日期">
|
||||
{{ formatDate(detailData.expectedProductionDate, 'YYYY-MM-DD') }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="用户性质">
|
||||
{{
|
||||
userTypeList.find(item => {
|
||||
return item.value == detailData.userType
|
||||
})?.label
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="所在地市">
|
||||
{{ detailData.city }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="归口管理部门">
|
||||
{{ detailData.responsibleDepartment }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="用户状态">
|
||||
{{
|
||||
userStateList.find(item => {
|
||||
return item.value == detailData.userStatus
|
||||
})?.label
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="厂站名称">
|
||||
{{ detailData.substation }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称">
|
||||
{{ detailData.projectName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电压等级">
|
||||
{{
|
||||
voltageLevelList.find(item => {
|
||||
return item.id == detailData.voltageLevel
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="非线性终端类型" v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
{{ proviteData.nonlinearDeviceType ? proviteData.nonlinearDeviceType : '-' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估单位">
|
||||
{{ detailData.evaluationDept }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估结论" :span="2">
|
||||
{{ detailData.evaluationConclusion }}
|
||||
</el-descriptions-item>
|
||||
<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 == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
detailData.userType == 2 ||
|
||||
detailData.userType == 3 ||
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
{{ proviteData?.needGovernance == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">{{ proviteData?.needGovernance == 1 ? '是' : '否' }}</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="是否开展背景测试">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
{{ proviteData?.backgroundTestPerformed == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
detailData.userType == 2 ||
|
||||
detailData.userType == 3 ||
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
{{ proviteData?.backgroundTestPerformed == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
{{ proviteData?.backgroundTestPerformed == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="关联终端" v-if="props.openType != 'create'">
|
||||
<span>
|
||||
{{ devIdList[0]?.devName }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="关联监测点" v-if="props.openType != 'create'">
|
||||
<span>
|
||||
<!-- {{ detailData?.lineId }} -->
|
||||
{{ devIdList[0]?.lineList.filter(item => item.lineId == detailData?.lineId)[0].lineName }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="是否开展抗扰度测试" v-if="detailData.userType == 6">
|
||||
<span>
|
||||
{{ proviteData.antiInterferenceTest == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<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'
|
||||
"
|
||||
>
|
||||
{{ proviteData?.pccEquipmentCapacity }}
|
||||
</el-descriptions-item>
|
||||
<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'
|
||||
"
|
||||
>
|
||||
{{ proviteData?.minShortCircuitCapacity }}
|
||||
</el-descriptions-item>
|
||||
<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">
|
||||
{{ proviteData?.pccPoint }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="评估类型" v-if="detailData.userType != 0 && detailData.userType != 1">
|
||||
{{
|
||||
evaluationTypeList.find(item => {
|
||||
return item.id == proviteData?.evaluationType
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<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 == 6">
|
||||
{{
|
||||
industryList.find(item => {
|
||||
return item.id == proviteData.industry
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="敏感终端名称" v-if="detailData.userType == 6">
|
||||
{{ proviteData.deviceName }}
|
||||
</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="供电电源数量" v-if="detailData.userType == 6">-->
|
||||
<!-- {{ proviteData.powerSupplyCount }}-->
|
||||
<!-- </el-descriptions-item>-->
|
||||
<el-descriptions-item label="供电电源情况" v-if="detailData.userType == 6">
|
||||
{{
|
||||
powerSupplyInfoOptionList.find(item => {
|
||||
return item.id == proviteData.powerSupplyInfo
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="供电电源" :span="2" v-if="detailData.userType == 6">
|
||||
{{ proviteData.powerSupply }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="负荷级别" v-if="detailData.userType == 6">
|
||||
{{
|
||||
loadLevelOptionList.find(item => {
|
||||
return item.id == proviteData.loadLevel
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="敏感电能质量指标" v-if="detailData.userType == 6">
|
||||
<span v-if="proviteData.energyQualityIndex">
|
||||
<!-- 加载状态显示 -->
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="填报人">
|
||||
{{ detailData.reporter }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="填报日期">
|
||||
{{ formatDate(detailData.reportDate, 'YYYY-MM-DD') }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="填报部门">
|
||||
{{ detailData.orgName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="工程预期投产日期">
|
||||
{{ formatDate(detailData.expectedProductionDate, 'YYYY-MM-DD') }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="用户性质">
|
||||
{{
|
||||
Array.isArray(proviteData.energyQualityIndex)
|
||||
? proviteData.energyQualityIndex
|
||||
.map(id => energyQualityIndexList.find(item => item.id == id)?.name)
|
||||
.filter(name => name)
|
||||
.join(', ')
|
||||
: typeof proviteData.energyQualityIndex === 'string'
|
||||
? proviteData.energyQualityIndex
|
||||
.split(', ')
|
||||
.map(id => energyQualityIndexList.find(item => item.id == id)?.name)
|
||||
.filter(name => name)
|
||||
.join(', ')
|
||||
: energyQualityIndexList.find(item => item.id == proviteData.energyQualityIndex)?.name
|
||||
userTypeList.find(item => {
|
||||
return item.value == detailData.userType
|
||||
})?.label
|
||||
}}
|
||||
</span>
|
||||
<span v-else>-</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="可研报告">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</span >
|
||||
</span>
|
||||
<span
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="所在地市">
|
||||
{{ detailData.city }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="归口管理部门">
|
||||
{{ detailData.responsibleDepartment }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="用户状态">
|
||||
{{
|
||||
userStateList.find(item => {
|
||||
return item.value == detailData.userStatus
|
||||
})?.label
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="厂站名称">
|
||||
{{ detailData.substation }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称">
|
||||
{{ detailData.projectName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电压等级">
|
||||
{{
|
||||
voltageLevelList.find(item => {
|
||||
return item.id == detailData.voltageLevel
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="非线性终端类型" v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
{{ proviteData.nonlinearDeviceType ? proviteData.nonlinearDeviceType : '-' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估单位">
|
||||
{{ detailData.evaluationDept }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估结论" :span="2">
|
||||
{{ detailData.evaluationConclusion }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
:label="
|
||||
detailData.userType == '4' || detailData.userType == '5' ? '非线性设备类型: ' : '非线性负荷类型:'
|
||||
"
|
||||
v-if="
|
||||
detailData.userType == 2 ||
|
||||
detailData.userType == 3 ||
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
detailData.userType == '2' ||
|
||||
detailData.userType == '3' ||
|
||||
detailData.userType == '4' ||
|
||||
detailData.userType == '5'
|
||||
"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</span >
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
{{ proviteData?.nonlinearLoadType || '' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="是否需要治理">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
{{ proviteData?.needGovernance == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
detailData.userType == 2 ||
|
||||
detailData.userType == 3 ||
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
{{ proviteData?.needGovernance == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">{{ proviteData?.needGovernance == 1 ? '是' : '否' }}</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="是否开展背景测试">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
{{ proviteData?.backgroundTestPerformed == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
detailData.userType == 2 ||
|
||||
detailData.userType == 3 ||
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
{{ proviteData?.backgroundTestPerformed == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
{{ proviteData?.backgroundTestPerformed == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
{{ proviteData?.preliminaryDesignDescription?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReport?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReviewOpinions?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="用户接入变电站主接线示意图"
|
||||
v-if="detailData.userType != 0 && detailData.userType != 1"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
{{ proviteData?.substationMainWiringDiagram?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6 && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
{{ proviteData?.sensitiveDevices?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
{{ proviteData?.antiInterferenceReport?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
{{ proviteData?.powerQualityReport?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="其他附件"
|
||||
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)" >
|
||||
{{ proviteData?.additionalAttachments?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="关联终端" v-if="props.openType != 'create'">
|
||||
<span>
|
||||
{{ devIdList[0]?.devName }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="关联监测点" v-if="props.openType != 'create'">
|
||||
<span>
|
||||
<!-- {{ detailData?.lineId }} -->
|
||||
{{ devIdList[0]?.lineList.filter(item => item.lineId == detailData?.lineId)[0].lineName }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="系统接入方案">
|
||||
<div v-for="item in netInReportList">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
<el-descriptions-item label="是否开展抗扰度测试" v-if="detailData.userType == 6">
|
||||
<span>
|
||||
{{ proviteData.antiInterferenceTest == 1 ? '是' : '否' }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<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'
|
||||
"
|
||||
>
|
||||
{{ proviteData?.pccEquipmentCapacity }}
|
||||
</el-descriptions-item>
|
||||
<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'
|
||||
"
|
||||
>
|
||||
{{ proviteData?.minShortCircuitCapacity }}
|
||||
</el-descriptions-item>
|
||||
<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">
|
||||
{{ proviteData?.pccPoint }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="评估类型" v-if="detailData.userType != 0 && detailData.userType != 1">
|
||||
{{
|
||||
evaluationTypeList.find(item => {
|
||||
return item.id == proviteData?.evaluationType
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<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 == 6">
|
||||
{{
|
||||
industryList.find(item => {
|
||||
return item.id == proviteData.industry
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="敏感终端名称" v-if="detailData.userType == 6">
|
||||
{{ proviteData.deviceName }}
|
||||
</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="供电电源数量" v-if="detailData.userType == 6">-->
|
||||
<!-- {{ proviteData.powerSupplyCount }}-->
|
||||
<!-- </el-descriptions-item>-->
|
||||
<el-descriptions-item label="供电电源情况" v-if="detailData.userType == 6">
|
||||
{{
|
||||
powerSupplyInfoOptionList.find(item => {
|
||||
return item.id == proviteData.powerSupplyInfo
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="供电电源" :span="2" v-if="detailData.userType == 6">
|
||||
{{ proviteData.powerSupply }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="负荷级别" v-if="detailData.userType == 6">
|
||||
{{
|
||||
loadLevelOptionList.find(item => {
|
||||
return item.id == proviteData.loadLevel
|
||||
})?.name
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="敏感电能质量指标" v-if="detailData.userType == 6">
|
||||
<span v-if="proviteData.energyQualityIndex">
|
||||
{{
|
||||
Array.isArray(proviteData.energyQualityIndex)
|
||||
? proviteData.energyQualityIndex
|
||||
.map(id => energyQualityIndexList.find(item => item.id == id)?.name)
|
||||
.filter(name => name)
|
||||
.join(', ')
|
||||
: typeof proviteData.energyQualityIndex === 'string'
|
||||
? proviteData.energyQualityIndex
|
||||
.split(', ')
|
||||
.map(id => energyQualityIndexList.find(item => item.id == id)?.name)
|
||||
.filter(name => name)
|
||||
.join(', ')
|
||||
: energyQualityIndexList.find(item => item.id == proviteData.energyQualityIndex)?.name
|
||||
}}
|
||||
</span>
|
||||
<span v-else>-</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="可研报告">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</span >
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
detailData.userType == 2 ||
|
||||
detailData.userType == 3 ||
|
||||
detailData.userType == 4 ||
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</span >
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理验收报告">
|
||||
<div v-for="item in governReportList">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)" >
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="信息安全检测报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.informationSecurityTestReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.informationSecurityTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)" >
|
||||
{{ form.informationSecurityTestReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="入网设计方案审查报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<div v-for="item in form.NetReport">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)" >
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理工程验收报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<div v-for="item in form.governReport">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="验收检验报告单" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReportSingle[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReportSingle[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
{{ form.acceptanceInspectionReportSingle[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
{{ proviteData?.preliminaryDesignDescription?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReport?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReviewOpinions?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
|
||||
<el-descriptions-item
|
||||
label="用户接入变电站主接线示意图"
|
||||
v-if="detailData.userType != 0 && detailData.userType != 1"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
{{ proviteData?.substationMainWiringDiagram?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6 && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
{{ proviteData?.sensitiveDevices?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
{{ proviteData?.antiInterferenceReport?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
{{ proviteData?.powerQualityReport?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="其他附件"
|
||||
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)" >
|
||||
{{ proviteData?.additionalAttachments?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="验收检验报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName )">
|
||||
{{ form.acceptanceInspectionReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="型式实验报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.typeExperimentReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.typeExperimentReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
{{ form.typeExperimentReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="系统接入方案">
|
||||
<div v-for="item in netInReportList">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理验收报告">
|
||||
<div v-for="item in governReportList">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)" >
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="信息安全检测报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.informationSecurityTestReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.informationSecurityTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)" >
|
||||
{{ form.informationSecurityTestReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="入网设计方案审查报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<div v-for="item in form.NetReport">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)" >
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理工程验收报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<div v-for="item in form.governReport">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="出厂检验报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.factoryInspectionReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.factoryInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
{{ form.factoryInspectionReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="性能检测报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.performanceTestReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.performanceTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
{{ form.performanceTestReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主接线图" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.mainWiringDiagram[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.mainWiringDiagram[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
{{ form.mainWiringDiagram[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="试运行报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.runTheReport[0]?.name && VITE_FLAG" >
|
||||
<View @click="openFile(form.runTheReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
{{ form.runTheReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-descriptions-item label="验收检验报告单" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReportSingle[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReportSingle[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
{{ form.acceptanceInspectionReportSingle[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="验收检验报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName )">
|
||||
{{ form.acceptanceInspectionReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="型式实验报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.typeExperimentReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.typeExperimentReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
{{ form.typeExperimentReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="出厂检验报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.factoryInspectionReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.factoryInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
{{ form.factoryInspectionReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="性能检测报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.performanceTestReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.performanceTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
{{ form.performanceTestReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主接线图" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.mainWiringDiagram[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.mainWiringDiagram[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
{{ form.mainWiringDiagram[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="试运行报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
<el-icon class="elView" v-if="form.runTheReport[0]?.name && VITE_FLAG" >
|
||||
<View @click="openFile(form.runTheReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
{{ form.runTheReport[0]?.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -481,6 +489,7 @@ const detailData = ref<any>({}) // 详情数据
|
||||
const devIdList = ref([])
|
||||
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
|
||||
const openFile = (name: any) => {
|
||||
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
const netInReportList: any = ref([])
|
||||
@@ -581,7 +590,7 @@ const getInfo = async () => {
|
||||
detailLoading.value = false
|
||||
}
|
||||
|
||||
console.log(form.value)
|
||||
|
||||
if (props.openType == 'sourcesOfInterference') {
|
||||
queryFiles()
|
||||
}
|
||||
@@ -656,7 +665,7 @@ const queryFiles = () => {
|
||||
}
|
||||
//判断userType选择取用的对象
|
||||
const getProviteData = async () => {
|
||||
console.log('energyQualityIndexList', energyQualityIndexList)
|
||||
|
||||
if (detailData.value.userType == '0' || detailData.value.userType == '1') {
|
||||
proviteData.value = detailData.value.userReportProjectPO
|
||||
//查询非线性终端类型
|
||||
@@ -679,7 +688,7 @@ const getProviteData = async () => {
|
||||
}
|
||||
} else {
|
||||
proviteData.value = detailData.value.userReportSensitivePO
|
||||
console.log(proviteData.value.energyQualityIndex)
|
||||
|
||||
console.log(
|
||||
'proviteData.value.nonlinearLoadType',
|
||||
energyQualityIndexList.find(item => {
|
||||
@@ -715,6 +724,8 @@ const getProviteData = async () => {
|
||||
proviteData.value.predictionEvaluationReviewOpinions,
|
||||
'predictionEvaluationReviewOpinions'
|
||||
)
|
||||
|
||||
|
||||
}
|
||||
//用户接入变电站主接线示意图
|
||||
if (
|
||||
@@ -807,9 +818,10 @@ const getFileNamePath = async (val: any, pathName: any) => {
|
||||
) {
|
||||
proviteData.value.predictionEvaluationReviewOpinions = {
|
||||
name: res.data.fileName,
|
||||
keyName: res.data.name,
|
||||
keyName: val,
|
||||
url: res.data.url
|
||||
}
|
||||
|
||||
}
|
||||
//用户接入变电站主接线示意图
|
||||
else if (pathName == 'substationMainWiringDiagram' && proviteData.value.substationMainWiringDiagram) {
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
<template>
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="计划名称">
|
||||
{{ detailData.workPlanName }}
|
||||
@@ -104,7 +108,7 @@
|
||||
{{ detailData.otherRemark }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="盖章报告" v-if="detailData.factoryInspectionReport">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport.name">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.factoryInspectionReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.factoryInspectionReport.keyName)">
|
||||
@@ -112,7 +116,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="佐证材料" v-if="detailData?.informationSecurityTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport.name">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.informationSecurityTestReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.informationSecurityTestReport.keyName)">
|
||||
@@ -120,30 +124,31 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="计划变更材料" v-if="detailData?.otherAttachments">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments.name">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.otherAttachments.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.otherAttachments.keyName)">{{ detailData?.otherAttachments.name }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="告预警单材料" v-if="detailData?.performanceTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.performanceTestReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="告预警单反馈材料" v-if="detailData?.typeExperimentReport">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport.name">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.typeExperimentReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.typeExperimentReport.keyName)">{{ detailData?.typeExperimentReport.name }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="评估报告" v-if="detailData?.performanceTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.performanceTestReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, reactive } from 'vue'
|
||||
@@ -161,6 +166,7 @@ const { query } = useRoute() // 查询参数
|
||||
const props = defineProps({
|
||||
id: propTypes.string.def(undefined)
|
||||
})
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
console.log(propTypes.string.def(undefined), '999999999999传参')
|
||||
const detailLoading = ref(false) // 表单的加载中
|
||||
const detailData = ref<any>({}) // 详情数据
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
<template>
|
||||
<!--工作流view的路径:/pqs/supervise/retire/detail-->
|
||||
<div class='default-main'>
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<!-- <h1>详细信息回显</h1>-->
|
||||
<el-descriptions :column='2' border>
|
||||
<el-descriptions-item label='供电公司'>
|
||||
@@ -41,6 +45,7 @@
|
||||
{{ detailData.propertyNo }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang='ts'>
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
<template>
|
||||
<!--工作流view的路径:/pqs/supervise/technology/detail-->
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<!-- <h1>详细信息回显</h1>-->
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item :label="detailData.leafletType == 1 ? '预警单名称' : '告警单名称'">
|
||||
@@ -14,7 +18,7 @@
|
||||
</el-descriptions-item>
|
||||
<template v-if="detailData.problemType == 4">
|
||||
<el-descriptions-item :span="2" label="附件">
|
||||
<el-icon class="elView" v-if="detailData?.problemName">
|
||||
<el-icon class="elView" v-if="detailData?.problemName && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.problemName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.problemName }}</span >
|
||||
@@ -27,12 +31,13 @@
|
||||
{{ detailData.takeStep }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="处理成效报告">
|
||||
<el-icon class="elView" v-if="detailData?.reportName">
|
||||
<el-icon class="elView" v-if="detailData?.reportName && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.reportName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.reportName }}</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -43,7 +48,7 @@ import { getById } from '@/api/supervision-boot/leaflet'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import {download} from '@/utils/fileDownLoad'
|
||||
import { Link, View } from '@element-plus/icons-vue'
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
defineOptions({ name: 'technology/detail' })
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="技术监督报告:" v-if="showFile1">
|
||||
<el-icon class="elView" v-if="supervisionReportDetail?.supervisionReportName">
|
||||
<el-icon class="elView" v-if="supervisionReportDetail?.supervisionReportName && VITE_FLAG">
|
||||
<View @click="openFile(supervisionReportDetail?.supervisionReportName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">
|
||||
@@ -21,10 +21,10 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="问题附件:" v-if="showFile">
|
||||
<el-icon class="elView" v-if="problemDetail?.problemName">
|
||||
<el-icon class="elView" v-if="problemDetail?.problemName && VITE_FLAG">
|
||||
<View @click="openFile(problemDetail?.problemName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</a>
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</span >
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="采取的措施:" prop="takeStep">
|
||||
@@ -63,6 +63,7 @@ import { Link, View } from '@element-plus/icons-vue'
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
//.doc,.docx,.xlsx,.xls,.pdf
|
||||
const acceptType = ref('')
|
||||
//下拉数据源
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="填报人">
|
||||
{{ detailData.reporter }}
|
||||
@@ -222,7 +226,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="可研报告">
|
||||
<span v-if="detailData.userType == 0 || detailData.userType == 1">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download( proviteData.feasibilityReport?.keyName)" rel="nofollow">
|
||||
@@ -237,7 +241,7 @@
|
||||
detailData.userType == 5
|
||||
"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport?.keyName)">
|
||||
@@ -245,7 +249,7 @@
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport?.keyName)">
|
||||
@@ -254,7 +258,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
@@ -263,7 +267,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.predictionEvaluationReport?.keyName)">
|
||||
@@ -271,7 +275,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.predictionEvaluationReviewOpinions?.keyName)">
|
||||
@@ -282,7 +286,7 @@
|
||||
label="用户接入变电站主接线示意图"
|
||||
v-if="detailData.userType != 0 && detailData.userType != 1"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.substationMainWiringDiagram?.keyName)">
|
||||
@@ -290,7 +294,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.sensitiveDevices?.keyName)">
|
||||
@@ -298,7 +302,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.antiInterferenceReport?.keyName)">
|
||||
@@ -306,7 +310,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.powerQualityReport?.keyName)">
|
||||
@@ -317,7 +321,7 @@
|
||||
label="其他附件"
|
||||
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url"
|
||||
>
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name">
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(proviteData?.additionalAttachments?.keyName)">
|
||||
@@ -327,7 +331,7 @@
|
||||
|
||||
<el-descriptions-item label="入网方案报告">
|
||||
<div v-for="item in netInReportList">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
@@ -337,7 +341,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理验收报告">
|
||||
<div v-for="item in governReportList">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
@@ -346,7 +350,7 @@
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="信息安全检测报告">
|
||||
<el-icon class="elView" v-if="form.informationSecurityTestReport[0]?.name">
|
||||
<el-icon class="elView" v-if="form.informationSecurityTestReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.informationSecurityTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.informationSecurityTestReport[0]?.keyName)">
|
||||
@@ -355,7 +359,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="入网设计方案审查报告">
|
||||
<div v-for="item in form.NetReport">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
@@ -365,7 +369,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理工程验收报告">
|
||||
<div v-for="item in form.governReport">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
@@ -375,7 +379,7 @@
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="验收检验报告单">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReportSingle[0]?.name">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReportSingle[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReportSingle[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
@@ -384,7 +388,7 @@
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="验收检验报告">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReport[0]?.name">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName)">
|
||||
@@ -392,7 +396,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="型式实验报告">
|
||||
<el-icon class="elView" v-if="form.typeExperimentReport[0]?.name">
|
||||
<el-icon class="elView" v-if="form.typeExperimentReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.typeExperimentReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
@@ -401,7 +405,7 @@
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="出厂检验报告">
|
||||
<el-icon class="elView" v-if="form.factoryInspectionReport[0]?.name">
|
||||
<el-icon class="elView" v-if="form.factoryInspectionReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.factoryInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
@@ -409,7 +413,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="性能检测报告">
|
||||
<el-icon class="elView" v-if="form.performanceTestReport[0]?.name">
|
||||
<el-icon class="elView" v-if="form.performanceTestReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.performanceTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
@@ -417,7 +421,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主接线图">
|
||||
<el-icon class="elView" v-if="form.mainWiringDiagram[0]?.name">
|
||||
<el-icon class="elView" v-if="form.mainWiringDiagram[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.mainWiringDiagram[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
@@ -425,7 +429,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="试运行报告">
|
||||
<el-icon class="elView" v-if="form.runTheReport[0]?.name">
|
||||
<el-icon class="elView" v-if="form.runTheReport[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.runTheReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
@@ -433,6 +437,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -450,7 +455,7 @@ import { getByDeptDevLine } from '@/api/supervision-boot/interfere/index'
|
||||
import { addOrUpdateFile, getFileById } from '@/api/supervision-boot/interfere/index'
|
||||
import {download}from '@/utils/fileDownload'
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const { query } = useRoute() // 查询参数
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<!-- <h1>详细信息回显</h1>-->
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="变电站">
|
||||
@@ -24,7 +28,7 @@
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="报告文件">
|
||||
<el-icon class="elView" v-if="detailData?.reportPaths?.fileName">
|
||||
<el-icon class="elView" v-if="detailData?.reportPaths?.fileName &&VITE_FLAG">
|
||||
<View @click="openFile(detailData?.reportPaths?.fileName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData.reportPaths?.keyName)">
|
||||
@@ -35,6 +39,7 @@
|
||||
{{ detailData?.description }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@@ -52,6 +57,7 @@ const { query } = useRoute() // 查询参数
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const props = defineProps({
|
||||
id: propTypes.string.def(undefined)
|
||||
})
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
<template>
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="监测点名称">
|
||||
{{ detailData.lineName }}
|
||||
@@ -19,6 +23,7 @@
|
||||
{{ detailData.powerSubstationName }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, reactive } from 'vue'
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
<template>
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="监测点台账信息" v-if="detailData.lineFilePath">
|
||||
<el-icon>
|
||||
<Link />
|
||||
</el-icon>
|
||||
<a :href="detailData?.lineFilePath.url">
|
||||
<span :href="detailData?.lineFilePath.url">
|
||||
{{ detailData?.lineFilePath.name }}
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
@@ -113,7 +117,7 @@
|
||||
</el-descriptions-item>
|
||||
<!--文件地址-->
|
||||
<el-descriptions-item label="主接线图" v-if="detailData?.mainWiringDiagram">
|
||||
<el-icon class="elView" v-if="detailData?.mainWiringDiagram.name">
|
||||
<el-icon class="elView" v-if="detailData?.mainWiringDiagram.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.mainWiringDiagram.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.mainWiringDiagram.keyName)">
|
||||
@@ -121,6 +125,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, reactive } from 'vue'
|
||||
@@ -136,7 +141,7 @@ const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const { query } = useRoute() // 查询参数
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -969,7 +969,7 @@ const rules = ref({
|
||||
electroplatingFunction: [
|
||||
{
|
||||
required: false,
|
||||
message: '请选择电镀功能',
|
||||
message: '请选择电度功能',
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
<template>
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="填报人">
|
||||
{{ detailData.reporter }}
|
||||
@@ -162,7 +166,7 @@
|
||||
: '-'
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电镀功能">
|
||||
<el-descriptions-item label="电度功能">
|
||||
{{
|
||||
detailData.supervisionTempDeviceReport?.electroplatingFunction == '0'
|
||||
? '否'
|
||||
@@ -198,7 +202,7 @@
|
||||
{{ detailData.supervisionTempDeviceReport?.contractNumber }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="信息安全检测报告">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport?.name">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.informationSecurityTestReport?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -210,7 +214,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="验收检验报告单">
|
||||
<el-icon class="elView" v-if="detailData?.acceptanceInspectionReportSingle?.name">
|
||||
<el-icon class="elView" v-if="detailData?.acceptanceInspectionReportSingle?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.acceptanceInspectionReportSingle?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -222,7 +226,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="验收检验报告">
|
||||
<el-icon class="elView" v-if="detailData?.acceptanceInspectionReport?.name">
|
||||
<el-icon class="elView" v-if="detailData?.acceptanceInspectionReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.acceptanceInspectionReport?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -234,7 +238,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="型式实验报告">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport?.name">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.typeExperimentReport?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -246,7 +250,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="出厂检验报告">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport?.name">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.factoryInspectionReport?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -258,7 +262,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="性能检测报告">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport?.name">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.performanceTestReport?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -270,7 +274,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="其他附件">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments?.name">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.otherAttachments?.name)" />
|
||||
</el-icon>
|
||||
<span
|
||||
@@ -282,6 +286,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, reactive } from 'vue'
|
||||
@@ -304,7 +309,7 @@ const { query } = useRoute() // 查询参数
|
||||
const props = defineProps({
|
||||
id: propTypes.string.def(undefined)
|
||||
})
|
||||
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const detailLoading = ref(false) // 表单的加载中
|
||||
const detailData = ref<any>({}) // 详情数据
|
||||
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
|
||||
@@ -510,6 +515,7 @@ const getFileNamePath = async (val: any, pathName: any) => {
|
||||
else if (pathName == 'performanceTestReport' && detailData.value.performanceTestReport) {
|
||||
detailData.value.performanceTestReport = {
|
||||
name: res.data.fileName,
|
||||
keyName: res.data.name,
|
||||
url: res.data.url
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<div v-if="detailLoading" class="loading">
|
||||
<el-spin description="加载中..." />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-descriptions :column="2" border>
|
||||
<el-descriptions-item label="监测点名称">
|
||||
{{ detailData.lineName }}
|
||||
@@ -26,7 +30,7 @@
|
||||
{{ detailData.integrityRate ? detailData.integrityRate * 100 + '%' : '/' }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="试运行报告">
|
||||
<el-icon class="elView" v-if="detailData?.reportName">
|
||||
<el-icon class="elView" v-if="detailData?.reportName && VITE_FLAG">
|
||||
<View @click="openFile(detailData?.testRunReport)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.keyName)">
|
||||
@@ -34,6 +38,7 @@
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -53,8 +58,7 @@ const props = defineProps({
|
||||
const detailLoading = ref(false) // 表单的加载中
|
||||
const detailData = ref<any>({}) // 详情数据
|
||||
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
|
||||
|
||||
/** 获得数据 */
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'/** 获得数据 */
|
||||
const getInfo = async () => {
|
||||
detailLoading.value = true
|
||||
try {
|
||||
|
||||
@@ -158,7 +158,10 @@ const tableStore = new TableStore({
|
||||
icon: 'el-icon-EditPen',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.testRunReport == null || row.testRunReport.length == 0
|
||||
if (VITE_FLAG) {
|
||||
return row.testRunReport == null || row.testRunReport.length == 0
|
||||
}
|
||||
return true;
|
||||
},
|
||||
click: row => {
|
||||
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
||||
|
||||
@@ -62,6 +62,7 @@ const dialogVisible = ref(false)
|
||||
const title = ref('')
|
||||
const dictData = useDictData()
|
||||
const list: any = ref({})
|
||||
|
||||
const open = (row: any) => {
|
||||
list.value={}
|
||||
title.value = row.title
|
||||
|
||||
@@ -65,6 +65,7 @@ const dialogVisible = ref(false)
|
||||
const title = ref('')
|
||||
const list: any = ref({})
|
||||
const dictData = useDictData()
|
||||
|
||||
const open = (row: any) => {
|
||||
list.value = {}
|
||||
title.value = row.title
|
||||
|
||||
@@ -254,10 +254,10 @@
|
||||
<el-radio :value='0'>关闭</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item for='-' label='电镀功能:' prop='electroplatingFunction'>
|
||||
<el-form-item for='-' label='电度功能:' prop='electroplatingFunction'>
|
||||
<!-- 默认 关闭 下拉框 -->
|
||||
<el-select v-model='form.electroplatingFunction' clearable style='width: 100%'
|
||||
placeholder='请选择电镀功能'>
|
||||
placeholder='请选择电度功能'>
|
||||
<el-option v-for='item in electroplatingFunctionList' :key='item.id' :label='item.name'
|
||||
:value='item.id'></el-option>
|
||||
</el-select>
|
||||
@@ -1013,7 +1013,7 @@ const rules = ref({
|
||||
electroplatingFunction: [
|
||||
{
|
||||
required: false,
|
||||
message: '请选择电镀功能',
|
||||
message: '请选择电度功能',
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
: '-'
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电镀功能">
|
||||
<el-descriptions-item label="电度功能">
|
||||
{{
|
||||
detailData.supervisionTempDeviceReport?.electroplatingFunction == '0'
|
||||
? '否'
|
||||
|
||||
@@ -29,9 +29,9 @@ const props = defineProps({
|
||||
|
||||
})
|
||||
|
||||
defineOptions({
|
||||
name: 'bpm/task'
|
||||
})
|
||||
// defineOptions({
|
||||
// name: 'bpm/task'
|
||||
// })
|
||||
const activeName = ref('1')
|
||||
|
||||
const layout = mainHeight(63) as any
|
||||
|
||||
Reference in New Issue
Block a user