修改冀北现场反馈问题
This commit is contained in:
@@ -0,0 +1,245 @@
|
||||
<template>
|
||||
<el-dialog draggable width="1250px" class="cn-operate-dialog" v-model="dialogVisible" :title="title">
|
||||
<div style="display: flex" v-loading="loading">
|
||||
<div :style="height1" class="mr10 box" style="width: 300px">
|
||||
<vxe-table
|
||||
height="auto"
|
||||
:data="timeList"
|
||||
v-bind="defaultAttribute"
|
||||
ref="tableRef"
|
||||
:row-config="{ isCurrent: true, isHover: true }"
|
||||
@current-change="currentChangeEvent"
|
||||
>
|
||||
<vxe-column type="seq" title="序号" width="60px"></vxe-column>
|
||||
<!-- <vxe-column field="date" title="日期"></vxe-column> -->
|
||||
<vxe-column field="name" title="统计日期"></vxe-column>
|
||||
<!-- <vxe-column field="monitorName" title="监测点名称"></vxe-column>
|
||||
<vxe-column field="timeSum" title="异常天数" width="80px">
|
||||
<template v-slot="{ row }">
|
||||
{{ row.dateList?.length }}
|
||||
</template>
|
||||
</vxe-column> -->
|
||||
<!-- <vxe-column field="errCount" title="异常次数" width="80px"></vxe-column> -->
|
||||
</vxe-table>
|
||||
</div>
|
||||
|
||||
<div style="width: 920px" v-loading="loading1">
|
||||
<el-form :inline="true" class="form">
|
||||
<!-- <el-form-item label="统计日期">
|
||||
<el-select
|
||||
v-model="timeList"
|
||||
multiple
|
||||
collapse-tags
|
||||
clearable
|
||||
placeholder="请选择异常天数"
|
||||
style="width: 200px"
|
||||
>
|
||||
<el-option v-for="item in dateList" :key="item" :label="item" :value="item" />
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
|
||||
<el-form-item class="form_but">
|
||||
<span class="mr20">
|
||||
异常时间:
|
||||
<span class="title">{{ timeSum }}</span>
|
||||
分钟
|
||||
</span>
|
||||
<span class="mr10">
|
||||
异常次数:
|
||||
<span class="title">{{ errCount }}</span>
|
||||
次
|
||||
</span>
|
||||
|
||||
<!-- <el-button type="primary" @click="init" icon="el-icon-Search">查询</el-button> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div :style="height">
|
||||
<vxe-table
|
||||
height="auto"
|
||||
:data="TableData1.slice((pageNum - 1) * pageSize, pageNum * pageSize)"
|
||||
v-bind="defaultAttribute"
|
||||
|
||||
>
|
||||
<vxe-column type="seq" title="序号" width="80px">
|
||||
<template #default="{ rowIndex }">
|
||||
<span>{{ (pageNum - 1) * pageSize + rowIndex + 1 }}</span>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="time" title="时间" width="150px"></vxe-column>
|
||||
<vxe-column field="targetName" title="指标类型" min-width="80px"></vxe-column>
|
||||
<vxe-column field="phaseType" title="相别" width="60px">
|
||||
<template v-slot="{ row }">
|
||||
{{ row.phaseType == 'T' ? '/' : row.phaseType }}
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column field="rangeDesc" title="合理范围" min-width="90px"></vxe-column>
|
||||
<vxe-column
|
||||
field="max"
|
||||
title="最大"
|
||||
width="85px"
|
||||
:formatter="formatter"
|
||||
v-if="showColumn"
|
||||
></vxe-column>
|
||||
<vxe-column
|
||||
field="min"
|
||||
title="最小"
|
||||
width="85px"
|
||||
:formatter="formatter"
|
||||
v-if="showColumn"
|
||||
></vxe-column>
|
||||
<vxe-column
|
||||
field="avg"
|
||||
title="平均"
|
||||
width="85px"
|
||||
:formatter="formatter"
|
||||
v-if="showColumn"
|
||||
></vxe-column>
|
||||
<vxe-column
|
||||
field="cp95"
|
||||
title="CP95"
|
||||
width="85px"
|
||||
:formatter="formatter"
|
||||
v-if="showColumn"
|
||||
></vxe-column>
|
||||
<vxe-column
|
||||
field="featureAmplitude"
|
||||
title="幅值"
|
||||
width="85px"
|
||||
:formatter="formatter"
|
||||
v-if="!showColumn"
|
||||
></vxe-column>
|
||||
</vxe-table>
|
||||
<div class="table-pagination">
|
||||
<el-pagination
|
||||
v-model:currentPage="pageNum"
|
||||
v-model:page-size="pageSize"
|
||||
:page-sizes="[10, 20, 50, 100, 200]"
|
||||
background
|
||||
layout="sizes,total, ->, prev, pager, next, jumper"
|
||||
:total="TableData1.length"
|
||||
></el-pagination>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { ref, inject } from 'vue'
|
||||
import { reactive } from 'vue'
|
||||
import { defaultAttribute } from '@/components/table/defaultAttribute'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { monitorAbnormalTable, monitorAbnormalTableDetail } from '@/api/device-boot/dataVerify'
|
||||
import { mainHeight } from '@/utils/layout'
|
||||
const dialogVisible = ref(false)
|
||||
const height1 = mainHeight(-110, 2)
|
||||
const height = mainHeight(90, 2)
|
||||
const tableRef = ref()
|
||||
const title = ref('')
|
||||
const loading = ref(false)
|
||||
const loading1 = ref(false)
|
||||
const TableData = ref([])
|
||||
const TableData1 = ref([])
|
||||
const dateList: any = ref([])
|
||||
const pageNum = ref(1)
|
||||
const pageSize = ref(20)
|
||||
const targetKey = ref('')
|
||||
const errCount = ref('')
|
||||
const timeSum = ref('')
|
||||
const timeList = ref([])
|
||||
const showColumn = ref(true)
|
||||
const open = (data: anyObj, time: string[]) => {
|
||||
// title.value = (num == 0 ? data.targetName : data.monitorName) + '_异常监测点详情'
|
||||
loading.value = true
|
||||
title.value = '详情'
|
||||
TableData.value = []
|
||||
TableData1.value = []
|
||||
timeList.value = []
|
||||
targetKey.value = data.key
|
||||
monitorAbnormalTable({
|
||||
monitorIds:[data.lineId],
|
||||
targetKey: '',
|
||||
searchBeginTime: time[0],
|
||||
searchEndTime: time[1]
|
||||
})
|
||||
.then(async res => {
|
||||
TableData.value = res.data
|
||||
timeList.value = TableData.value[0]?.dateList.map((item: any) => {
|
||||
return {
|
||||
name: item
|
||||
}
|
||||
})
|
||||
await tableRef.value.setCurrentRow(timeList.value[0])
|
||||
await currentChangeEvent()
|
||||
loading.value = false
|
||||
})
|
||||
.catch(() => {
|
||||
loading.value = false
|
||||
})
|
||||
dialogVisible.value = true
|
||||
}
|
||||
const currentChangeEvent = () => {
|
||||
let data = tableRef.value.getCurrentRecord()
|
||||
|
||||
// dateList.value = data.dateList
|
||||
//[data.dateList[0]]
|
||||
init()
|
||||
}
|
||||
const init = () => {
|
||||
loading1.value = true
|
||||
TableData1.value = []
|
||||
let data = tableRef.value.getCurrentRecord()
|
||||
monitorAbnormalTableDetail({
|
||||
monitorIds: [TableData.value[0]?.monitorId],
|
||||
time: [data.name],
|
||||
searchBeginTime: TableData.value[0].date,
|
||||
targetKey: ''
|
||||
})
|
||||
.then(res => {
|
||||
errCount.value = res.data.errCount
|
||||
timeSum.value = res.data.timeSum
|
||||
TableData1.value = res.data.time
|
||||
showColumn.value = res.data[0]?.featureAmplitude == null ? true : false
|
||||
loading1.value = false
|
||||
pageNum.value = 1
|
||||
})
|
||||
.catch(() => {
|
||||
loading1.value = false
|
||||
})
|
||||
}
|
||||
const formatter = (row: any) => {
|
||||
return row.cellValue == null ? '/' : (row.cellValue - 0).toFixed(2)
|
||||
}
|
||||
defineExpose({ open })
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.table-pagination {
|
||||
height: 58px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background-color: var(--ba-bg-color-overlay);
|
||||
padding: 13px 15px;
|
||||
border-left: 1px solid #e4e7e9;
|
||||
border-right: 1px solid #e4e7e9;
|
||||
border-bottom: 1px solid #e4e7e9;
|
||||
}
|
||||
:deep(.box) {
|
||||
.row--current {
|
||||
// background-color: var(--el-color-primary-light-8) !important;
|
||||
}
|
||||
}
|
||||
.form {
|
||||
// display: flex;
|
||||
// justify-content: end;
|
||||
// position: relative;
|
||||
// .form_but {
|
||||
|
||||
// right: -22px;
|
||||
// }
|
||||
}
|
||||
.title {
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
}
|
||||
</style>
|
||||
@@ -6,16 +6,33 @@
|
||||
<el-form-item label="区域">
|
||||
<Area ref="areaRef" v-model="tableStore.table.params.deptId" @changeValue="changeArea" />
|
||||
</el-form-item>
|
||||
<el-form-item label="筛选数据">
|
||||
<el-input v-model="tableStore.table.params.searchValue" clearable maxlength="32" show-word-limit placeholder="请输入监测点名称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="筛选数据">
|
||||
<el-input
|
||||
v-model="tableStore.table.params.searchValue"
|
||||
clearable
|
||||
maxlength="32"
|
||||
show-word-limit
|
||||
placeholder="请输入监测点名称"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="监测点性质">
|
||||
<el-select v-model="tableStore.table.params.lineType" clearable placeholder="请选择监测点性质">
|
||||
<el-option label="电网侧" value="0" />
|
||||
<el-option label="非电网侧" value="1" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="超标指标">
|
||||
<el-form-item label="数据类型">
|
||||
<el-select
|
||||
v-model="tableStore.table.params.dataType"
|
||||
@change="changeDataType"
|
||||
placeholder="请选择监测点性质"
|
||||
>
|
||||
<el-option label="超标数据" value="1" />
|
||||
<el-option label="异常数据" value="2" />
|
||||
<el-option label="无数据" value="0" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="超标指标" v-show="tableStore.table.params.dataType == 1">
|
||||
<el-select
|
||||
v-model="tableStore.table.params.targetList"
|
||||
clearable
|
||||
@@ -27,7 +44,7 @@
|
||||
<el-option v-for="item in exceeded" :key="item.id" :label="item.name" :value="item.id" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="数据类型">
|
||||
<!-- <el-form-item label="数据类型">
|
||||
<el-switch
|
||||
v-model="tableStore.table.params.dataType"
|
||||
inline-prompt
|
||||
@@ -36,7 +53,7 @@
|
||||
active-text="超标数据"
|
||||
inactive-text="无数据"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="预警阈值">
|
||||
<el-input-number
|
||||
v-model="tableStore.table.params.alertThreshold"
|
||||
@@ -77,6 +94,8 @@
|
||||
<alarmList ref="alarmListRef" @onSubmit="tableStore.index()" />
|
||||
<!-- 详情 -->
|
||||
<detail ref="detailRef" />
|
||||
<!-- 异常数据详情 -->
|
||||
<abnormal ref="abnormalRef" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, provide, nextTick } from 'vue'
|
||||
@@ -88,6 +107,7 @@ import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import alarmList from './form/alarmList.vue'
|
||||
import detail from './form/detail.vue'
|
||||
import abnormal from './form/abnormal.vue'
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const dictData = useDictData()
|
||||
import { useRouter } from 'vue-router'
|
||||
@@ -101,8 +121,10 @@ const tableRef = ref()
|
||||
const industry = dictData.getBasicData('Business_Type')
|
||||
const TableHeaderRef = ref()
|
||||
const alarmListRef = ref()
|
||||
const abnormalRef = ref()
|
||||
const flagTime = ref(false)
|
||||
const detailRef = ref()
|
||||
const time: any = ref([])
|
||||
const list: any = ref({
|
||||
deptId: '',
|
||||
searchBeginTime: '',
|
||||
@@ -119,7 +141,7 @@ const tableStore = new TableStore({
|
||||
filename: '在线监测',
|
||||
// isWebPaging:true,
|
||||
column: [
|
||||
{ type: 'checkbox', width: 40 },
|
||||
{ type: 'checkbox', width: 40 },
|
||||
{
|
||||
title: '序号',
|
||||
|
||||
@@ -180,11 +202,15 @@ const tableStore = new TableStore({
|
||||
return row.targetType == 0
|
||||
},
|
||||
click: row => {
|
||||
detailRef.value.open({
|
||||
text: '详情',
|
||||
row: row,
|
||||
list: list.value
|
||||
})
|
||||
if (row.dataType == 2) {
|
||||
abnormalRef.value.open(row, time.value)
|
||||
} else {
|
||||
detailRef.value.open({
|
||||
text: '详情',
|
||||
row: row,
|
||||
list: list.value
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -289,6 +315,7 @@ const tableStore = new TableStore({
|
||||
}
|
||||
],
|
||||
beforeSearchFun: () => {
|
||||
time.value = [tableStore.table.params.startTime, tableStore.table.params.endTime]
|
||||
tableStore.table.params.currentPage = tableStore.table.params.pageNum
|
||||
list.value.deptId = tableStore.table.params.deptId
|
||||
|
||||
@@ -300,8 +327,10 @@ const tableStore = new TableStore({
|
||||
list.value.lineType = tableStore.table.params.lineType
|
||||
list.value.alarmThreshold = tableStore.table.params.alarmThreshold
|
||||
flag.value = level.value
|
||||
console.log('flag',flag.value)
|
||||
flagTime.value = tableStore.table.params.dataType == 0 ? true : false
|
||||
if (tableStore.table.params.dataType != 1) {
|
||||
delete tableStore.table.params.targetList
|
||||
}
|
||||
},
|
||||
loadCallback: () => {
|
||||
// tableStore.table.data = [
|
||||
@@ -335,7 +364,7 @@ tableStore.table.params.dataType = '1'
|
||||
tableStore.table.params.deptId = dictData.state.area[0].id
|
||||
provide('tableStore', tableStore)
|
||||
onMounted(() => {
|
||||
TableHeaderRef.value.setDatePicker([{label: '月', value: 3}])
|
||||
TableHeaderRef.value.setDatePicker([{ label: '月', value: 3 }])
|
||||
|
||||
tableStore.index()
|
||||
setTimeout(() => {
|
||||
@@ -343,6 +372,13 @@ onMounted(() => {
|
||||
}, 10)
|
||||
})
|
||||
|
||||
const changeDataType = e => {
|
||||
if (e == 1) {
|
||||
tableStore.table.params.targetList = exceeded.filter(item => item.code == 'Total_Indicator')[0].id
|
||||
? [exceeded.filter(item => item.code == 'Total_Indicator')[0].id]
|
||||
: []
|
||||
}
|
||||
}
|
||||
const changeAlert = e => {
|
||||
if (e == null) {
|
||||
tableStore.table.params.alertThreshold = 5
|
||||
@@ -363,19 +399,33 @@ const changeAlarm = e => {
|
||||
}
|
||||
}
|
||||
}
|
||||
let flagList = exceeded.filter(item => item.name == '谐波电压' || item.name == '谐波电流').map(item => item.id)
|
||||
// 发起预警单
|
||||
const launch = (title: string) => {
|
||||
console.log('🚀 ~ flagList:', flagList)
|
||||
|
||||
if (tableStore.table.selection.length == 0) {
|
||||
ElMessage.warning('请选择一条数据')
|
||||
return
|
||||
}
|
||||
let flag = false
|
||||
tableStore.table.selection.forEach(item => {
|
||||
if (!flagList.includes(item.targetType)) {
|
||||
flag = true
|
||||
}
|
||||
})
|
||||
if (flag) {
|
||||
ElMessage.warning('目前只支持谐波电压/谐波电流下发预告警单')
|
||||
return
|
||||
}
|
||||
|
||||
console.log('🚀 ~ launch ~ list.value:', tableStore.table.selection)
|
||||
|
||||
alarmListRef.value.open({
|
||||
text: title,
|
||||
form: list.value,
|
||||
row: tableStore.table.selection
|
||||
})
|
||||
console.log('🚀 ~ launch ~ list.value:', list.value)
|
||||
}
|
||||
const changeArea = e => {
|
||||
level.value = e.data.level
|
||||
|
||||
@@ -253,6 +253,7 @@ const treeData = ref()
|
||||
const loadData = () => {
|
||||
initDetpStataionTree({ orgId: dictData.state.area[0].id }).then(res => {
|
||||
treeList.value = res.data
|
||||
|
||||
initDetpStataionTree({ orgId: 'a3069759b0b6072c99cf9a7af6c162e9' }).then(res => {
|
||||
treeListCgy.value = res.data
|
||||
setTimeout(() => {
|
||||
@@ -331,24 +332,30 @@ const submitFn = async (flag: boolean) => {
|
||||
// 修改关联电站
|
||||
const changeArea = () => {
|
||||
let list: any = []
|
||||
if (VITE_FLAG) {
|
||||
treeList.value.forEach((item: any) => {
|
||||
if (item.id == form.value.deptId) {
|
||||
list.push(item)
|
||||
if (item.id != treeListCgy.value[0].id && item.name != '冀北电力有限公司' && item.name != '超高压') {
|
||||
list.push(...treeListCgy.value)
|
||||
}
|
||||
} else {
|
||||
list.push(item.children.filter((v: any) => v.id == form.value.deptId)[0])
|
||||
if (form.value.deptId != treeListCgy.value[0].id) {
|
||||
list.push(...treeListCgy.value)
|
||||
}
|
||||
}
|
||||
})
|
||||
} else {
|
||||
treeList.value.forEach((item: any) => {
|
||||
if (item.id == form.value.deptId) {
|
||||
list.push(item)
|
||||
} else {
|
||||
list.push(item.children.filter((v: any) => v.id == form.value.deptId)[0])
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
treeList.value.forEach((item: any) => {
|
||||
if (item.id == form.value.deptId) {
|
||||
list.push(item)
|
||||
if (
|
||||
item.id != treeListCgy.value[0].id && VITE_FLAG
|
||||
? item.name != '冀北电力有限公司' && item.name != '超高压'
|
||||
: true
|
||||
) {
|
||||
list.push(...treeListCgy.value)
|
||||
}
|
||||
} else {
|
||||
list.push(item.children.filter((v: any) => v.id == form.value.deptId)[0])
|
||||
if (form.value.deptId != treeListCgy.value[0].id) {
|
||||
list.push(...treeListCgy.value)
|
||||
}
|
||||
}
|
||||
})
|
||||
treeData.value = list
|
||||
}
|
||||
const audit = (filePath: any) => {
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
<el-icon class="elView" v-if="item?.fileName">
|
||||
<View @click="openFile(item?.fileName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.fileName }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
||||
@@ -59,27 +59,27 @@
|
||||
<el-icon class="elView" v-if="detailData?.supervisionReportName">
|
||||
<View @click="openFile(detailData?.supervisionReportName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.supervisionReportName }}</a>
|
||||
<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">
|
||||
<View @click="openFile(detailData?.testReportName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.testReportName }}</a>
|
||||
<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">
|
||||
<View @click="openFile(item.fileName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(item.keyName)" target="_blank">{{ item.fileName }}</a>
|
||||
<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">
|
||||
<View @click="openFile(detailData?.reportName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.reportName }}</a>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.reportName }}</span >
|
||||
</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="流程状态" >
|
||||
<el-tag :type="getDeviceStatusType(detailData?.status)">
|
||||
|
||||
@@ -182,9 +182,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
||||
<View @click="openFile(proviteData.feasibilityReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData.feasibilityReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
@@ -197,42 +197,42 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
||||
<View @click="openFile(proviteData.feasibilityReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData.feasibilityReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport.name">
|
||||
<View @click="openFile(proviteData.feasibilityReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData.feasibilityReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
<el-icon class="elView" v-if="proviteData?.preliminaryDesignDescription.name">
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
{{ proviteData?.preliminaryDesignDescription.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport.name">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions.name">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReviewOpinions.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="用户接入变电站主接线示意图"
|
||||
@@ -241,42 +241,42 @@
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram.name">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
{{ proviteData?.substationMainWiringDiagram.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices.name">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
{{ proviteData?.sensitiveDevices.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport.name">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
{{ proviteData?.antiInterferenceReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport.name">
|
||||
<View @click="openFile(proviteData?.powerQualityReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
{{ proviteData?.powerQualityReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="系统接入方案" v-if="applyTitle == '干扰源用户治理工程验收'">
|
||||
<div v-for="item in netInReportList">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<View @click="openFile(item.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
@@ -284,9 +284,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments.name">
|
||||
<View @click="openFile(proviteData?.additionalAttachments.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
{{ proviteData?.additionalAttachments.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-divider content-position="left">{{ applyTitle + '填报信息' }}</el-divider>
|
||||
@@ -307,7 +307,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.otherReport.name">
|
||||
<View @click="openFile(proviteData?.otherReport.key)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.otherReport.keyName)">{{ proviteData?.otherReport.name }}</a>
|
||||
<span class="aLoad" @click="download(proviteData.otherReport.keyName)">
|
||||
{{ proviteData?.otherReport.name }}
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
@@ -320,10 +322,10 @@ import { propTypes } from '@/utils/propTypes'
|
||||
import { getUserReportById } from '@/api/supervision-boot/userReport/form'
|
||||
import { getDictTreeById } from '@/api/system-boot/dictTree'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import {getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { Key, Link, View } from '@element-plus/icons-vue'
|
||||
import { userReportGoNetById } from '@/api/supervision-boot/interfere'
|
||||
import {download} from '@/utils/fileDownLoad'
|
||||
import { download } from '@/utils/fileDownLoad'
|
||||
// import el-descriptions-item from './components/detailsItem.vue'
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
const openFile = (name: any) => {
|
||||
|
||||
@@ -192,9 +192,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
{{ proviteData.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="
|
||||
detailData.userType == 2 ||
|
||||
@@ -205,17 +205,17 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
@@ -223,66 +223,66 @@
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
{{ proviteData?.preliminaryDesignDescription?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReviewOpinions?.name }}
|
||||
</a>
|
||||
</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">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
{{ proviteData?.substationMainWiringDiagram?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
{{ proviteData?.sensitiveDevices?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
{{ proviteData?.antiInterferenceReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name">
|
||||
<View @click="openFile(proviteData?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
{{ proviteData?.powerQualityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="其他附件"
|
||||
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url">
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
{{ proviteData?.additionalAttachments?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-descriptions :column="1" border style="flex: 1" title="变更后">
|
||||
@@ -530,9 +530,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData1?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
{{ proviteData1.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="
|
||||
detailData1.userType == 2 ||
|
||||
@@ -543,9 +543,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData1?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData1.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData1.userType == 6"
|
||||
:label-class-name="changeTheField?.feasibilityReport ? 'my-content' : ''"
|
||||
@@ -553,9 +553,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData1?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData1.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书"
|
||||
@@ -565,9 +565,9 @@
|
||||
<View @click="openFile(proviteData1?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
{{ proviteData1?.preliminaryDesignDescription?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告"
|
||||
:label-class-name="changeTheField?.predictionEvaluationReport ? 'my-content' : ''"
|
||||
@@ -575,9 +575,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.predictionEvaluationReport?.name">
|
||||
<View @click="openFile(proviteData1?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
{{ proviteData1?.predictionEvaluationReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告"
|
||||
:label-class-name="changeTheField?.predictionEvaluationReviewOpinions ? 'my-content' : ''"
|
||||
@@ -585,9 +585,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.predictionEvaluationReviewOpinions?.name">
|
||||
<View @click="openFile(proviteData1?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
{{ proviteData1?.predictionEvaluationReviewOpinions?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1"
|
||||
:label-class-name="changeTheField?.substationMainWiringDiagram ? 'my-content' : ''"
|
||||
@@ -595,9 +595,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.substationMainWiringDiagram?.name">
|
||||
<View @click="openFile(proviteData1?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
{{ proviteData1?.substationMainWiringDiagram?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6"
|
||||
:label-class-name="changeTheField?.sensitiveDevices ? 'my-content' : ''"
|
||||
@@ -605,9 +605,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.sensitiveDevices?.name">
|
||||
<View @click="openFile(proviteData1?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
{{ proviteData1?.sensitiveDevices?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6"
|
||||
:label-class-name="changeTheField?.antiInterferenceReport ? 'my-content' : ''"
|
||||
@@ -615,9 +615,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.antiInterferenceReport?.name">
|
||||
<View @click="openFile(proviteData1?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
{{ proviteData1?.antiInterferenceReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6"
|
||||
:label-class-name="changeTheField?.powerQualityReport ? 'my-content' : ''"
|
||||
@@ -625,9 +625,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.powerQualityReport?.name">
|
||||
<View @click="openFile(proviteData1?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
{{ proviteData1?.powerQualityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="其他附件"
|
||||
v-if="proviteData1?.additionalAttachments && proviteData1?.additionalAttachments?.url"
|
||||
@@ -636,9 +636,9 @@
|
||||
<el-icon class="elView" v-if="proviteData1?.additionalAttachments?.name">
|
||||
<View @click="openFile(proviteData1?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)">
|
||||
{{ proviteData1?.additionalAttachments?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
@@ -237,9 +237,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)" rel="nofollow">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
@@ -252,17 +252,17 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport.keyName)">
|
||||
{{ proviteData?.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
@@ -270,25 +270,25 @@
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.preliminaryDesignDescription.keyName)">
|
||||
{{ proviteData?.preliminaryDesignDescription?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReport.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReport?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReviewOpinions?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="用户接入变电站主接线示意图"
|
||||
@@ -297,33 +297,33 @@
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.substationMainWiringDiagram.keyName)">
|
||||
{{ proviteData?.substationMainWiringDiagram?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.sensitiveDevices.keyName)">
|
||||
{{ proviteData?.sensitiveDevices?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.antiInterferenceReport.keyName)">
|
||||
{{ proviteData?.antiInterferenceReport?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.powerQualityReport.keyName)">
|
||||
{{ proviteData?.powerQualityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="其他附件"
|
||||
@@ -332,9 +332,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name && VITE_FLAG">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.additionalAttachments.keyName)" >
|
||||
<span class="aLoad" @click="download(proviteData.additionalAttachments.keyName)" >
|
||||
{{ proviteData?.additionalAttachments?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="系统接入方案">
|
||||
@@ -342,9 +342,9 @@
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理验收报告">
|
||||
@@ -352,27 +352,27 @@
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)" >
|
||||
<span class="aLoad" @click="download(item.keyName)" >
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)" >
|
||||
<span class="aLoad" @click="download(proviteData.predictionEvaluationReviewOpinions.keyName)" >
|
||||
{{ form.informationSecurityTestReport[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)" >
|
||||
<span class="aLoad" @click="download(item.keyName)" >
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理工程验收报告" v-if="props.openType == 'sourcesOfInterference'">
|
||||
@@ -380,9 +380,9 @@
|
||||
<el-icon class="elView" v-if="item.name && VITE_FLAG">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
@@ -390,59 +390,59 @@
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReportSingle[0]?.name && VITE_FLAG">
|
||||
<View @click="openFile(form.acceptanceInspectionReportSingle[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
{{ form.acceptanceInspectionReportSingle[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName )">
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName )">
|
||||
{{ form.acceptanceInspectionReport[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
{{ form.typeExperimentReport[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
{{ form.factoryInspectionReport[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
{{ form.performanceTestReport[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
{{ form.mainWiringDiagram[0]?.name }}
|
||||
</a>
|
||||
</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>
|
||||
<a target="_blank" class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
{{ form.runTheReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
@@ -107,41 +107,41 @@
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport.name">
|
||||
<View @click="openFile(detailData?.factoryInspectionReport.name)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData?.factoryInspectionReport.keyName)">
|
||||
<span class="aLoad" @click="download(detailData?.factoryInspectionReport.keyName)">
|
||||
{{ detailData?.factoryInspectionReport.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="佐证材料" v-if="detailData?.informationSecurityTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport.name">
|
||||
<View @click="openFile(detailData?.informationSecurityTestReport.name)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData?.informationSecurityTestReport.keyName)">
|
||||
<span class="aLoad" @click="download(detailData?.informationSecurityTestReport.keyName)">
|
||||
{{ detailData?.informationSecurityTestReport.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="计划变更材料" v-if="detailData?.otherAttachments">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments.name">
|
||||
<View @click="openFile(detailData?.otherAttachments.name)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData?.otherAttachments.keyName)">{{ detailData?.otherAttachments.name }}</a>
|
||||
<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">
|
||||
<View @click="openFile(detailData?.performanceTestReport.name)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</a>
|
||||
<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">
|
||||
<View @click="openFile(detailData?.typeExperimentReport.name)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData?.typeExperimentReport.keyName)">{{ detailData?.typeExperimentReport.name }}</a>
|
||||
<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">
|
||||
<View @click="openFile(detailData?.performanceTestReport.name)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</a>
|
||||
<span class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</template>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<el-icon class="elView" v-if="detailData?.problemName">
|
||||
<View @click="openFile(detailData?.problemName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.problemName }}</a>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.problemName }}</span >
|
||||
</el-descriptions-item>
|
||||
</template>
|
||||
<el-descriptions-item :span="2" label="整改意见">
|
||||
@@ -30,7 +30,7 @@
|
||||
<el-icon class="elView" v-if="detailData?.reportName">
|
||||
<View @click="openFile(detailData?.reportName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.reportName }}</a>
|
||||
<span class="aLoad" @click="download(detailData.keyName)" target="_blank">{{ detailData.reportName }}</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
<el-icon class="elView" v-if="supervisionReportDetail?.supervisionReportName">
|
||||
<View @click="openFile(supervisionReportDetail?.supervisionReportName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">
|
||||
{{ supervisionReportDetail.supervisionReportName }}
|
||||
</a>
|
||||
</span >
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="问题附件:" v-if="showFile">
|
||||
<el-icon class="elView" v-if="problemDetail?.problemName">
|
||||
<View @click="openFile(problemDetail?.problemName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</a>
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</a>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="采取的措施:" prop="takeStep">
|
||||
|
||||
@@ -225,9 +225,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download( proviteData.feasibilityReport?.keyName)" rel="nofollow">
|
||||
<span class="aLoad" @click="download( proviteData.feasibilityReport?.keyName)" rel="nofollow">
|
||||
{{ proviteData.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
@@ -240,17 +240,17 @@
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport?.keyName)">
|
||||
{{ proviteData.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
<span v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.feasibilityReport?.name">
|
||||
<View @click="openFile(proviteData?.feasibilityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData.feasibilityReport?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData.feasibilityReport?.keyName)">
|
||||
{{ proviteData.feasibilityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目初步设计说明书">
|
||||
@@ -258,25 +258,25 @@
|
||||
<View @click="openFile(proviteData?.preliminaryDesignDescription?.name)" />
|
||||
</el-icon>
|
||||
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.preliminaryDesignDescription?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.preliminaryDesignDescription?.keyName)">
|
||||
{{ proviteData?.preliminaryDesignDescription?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReport?.name">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.predictionEvaluationReport?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.predictionEvaluationReport?.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="预测评估评审意见报告">
|
||||
<el-icon class="elView" v-if="proviteData?.predictionEvaluationReviewOpinions?.name">
|
||||
<View @click="openFile(proviteData?.predictionEvaluationReviewOpinions?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.predictionEvaluationReviewOpinions?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.predictionEvaluationReviewOpinions?.keyName)">
|
||||
{{ proviteData?.predictionEvaluationReviewOpinions?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="用户接入变电站主接线示意图"
|
||||
@@ -285,33 +285,33 @@
|
||||
<el-icon class="elView" v-if="proviteData?.substationMainWiringDiagram?.name">
|
||||
<View @click="openFile(proviteData?.substationMainWiringDiagram?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.substationMainWiringDiagram?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.substationMainWiringDiagram?.keyName)">
|
||||
{{ proviteData?.substationMainWiringDiagram?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主要敏感终端清单" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.sensitiveDevices?.name">
|
||||
<View @click="openFile(proviteData?.sensitiveDevices?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.sensitiveDevices?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.sensitiveDevices?.keyName)">
|
||||
{{ proviteData?.sensitiveDevices?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="抗扰度测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.antiInterferenceReport?.name">
|
||||
<View @click="openFile(proviteData?.antiInterferenceReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.antiInterferenceReport?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.antiInterferenceReport?.keyName)">
|
||||
{{ proviteData?.antiInterferenceReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="背景电能质量测试报告" v-if="detailData.userType == 6">
|
||||
<el-icon class="elView" v-if="proviteData?.powerQualityReport?.name">
|
||||
<View @click="openFile(proviteData?.powerQualityReport?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.powerQualityReport?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.powerQualityReport?.keyName)">
|
||||
{{ proviteData?.powerQualityReport?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
label="其他附件"
|
||||
@@ -320,9 +320,9 @@
|
||||
<el-icon class="elView" v-if="proviteData?.additionalAttachments?.name">
|
||||
<View @click="openFile(proviteData?.additionalAttachments?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(proviteData?.additionalAttachments?.keyName)">
|
||||
<span class="aLoad" @click="download(proviteData?.additionalAttachments?.keyName)">
|
||||
{{ proviteData?.additionalAttachments?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="入网方案报告">
|
||||
@@ -330,9 +330,9 @@
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理验收报告">
|
||||
@@ -340,27 +340,27 @@
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="信息安全检测报告">
|
||||
<el-icon class="elView" v-if="form.informationSecurityTestReport[0]?.name">
|
||||
<View @click="openFile(form.informationSecurityTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.informationSecurityTestReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.informationSecurityTestReport[0]?.keyName)">
|
||||
{{ form.informationSecurityTestReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="入网设计方案审查报告">
|
||||
<div v-for="item in form.NetReport">
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="治理工程验收报告">
|
||||
@@ -368,9 +368,9 @@
|
||||
<el-icon class="elView" v-if="item.name">
|
||||
<View @click="openFile(item.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(item.keyName)">
|
||||
<span class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</span >
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
@@ -378,59 +378,59 @@
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReportSingle[0]?.name">
|
||||
<View @click="openFile(form.acceptanceInspectionReportSingle[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReportSingle[0]?.keyName)">
|
||||
{{ form.acceptanceInspectionReportSingle[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="验收检验报告">
|
||||
<el-icon class="elView" v-if="form.acceptanceInspectionReport[0]?.name">
|
||||
<View @click="openFile(form.acceptanceInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.acceptanceInspectionReport[0]?.keyName)">
|
||||
{{ form.acceptanceInspectionReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="型式实验报告">
|
||||
<el-icon class="elView" v-if="form.typeExperimentReport[0]?.name">
|
||||
<View @click="openFile(form.typeExperimentReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.typeExperimentReport[0]?.keyName)">
|
||||
{{ form.typeExperimentReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="出厂检验报告">
|
||||
<el-icon class="elView" v-if="form.factoryInspectionReport[0]?.name">
|
||||
<View @click="openFile(form.factoryInspectionReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.factoryInspectionReport[0]?.keyName)">
|
||||
{{ form.factoryInspectionReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="性能检测报告">
|
||||
<el-icon class="elView" v-if="form.performanceTestReport[0]?.name">
|
||||
<View @click="openFile(form.performanceTestReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.performanceTestReport[0]?.keyName)">
|
||||
{{ form.performanceTestReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="主接线图">
|
||||
<el-icon class="elView" v-if="form.mainWiringDiagram[0]?.name">
|
||||
<View @click="openFile(form.mainWiringDiagram[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.mainWiringDiagram[0]?.keyName)">
|
||||
{{ form.mainWiringDiagram[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="试运行报告">
|
||||
<el-icon class="elView" v-if="form.runTheReport[0]?.name">
|
||||
<View @click="openFile(form.runTheReport[0]?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
<span class="aLoad" @click="download(form.runTheReport[0]?.keyName)">
|
||||
{{ form.runTheReport[0]?.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
<el-icon class="elView" v-if="detailData?.reportPaths?.fileName">
|
||||
<View @click="openFile(detailData?.reportPaths?.fileName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.reportPaths?.keyName)">
|
||||
<span class="aLoad" @click="download(detailData.reportPaths?.keyName)">
|
||||
{{ detailData.reportPaths?.fileName }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="描述">
|
||||
{{ detailData?.description }}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</el-icon>
|
||||
<a :href="detailData?.lineFilePath.url">
|
||||
{{ detailData?.lineFilePath.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="填报人">
|
||||
{{ detailData.reporter }}
|
||||
@@ -116,9 +116,9 @@
|
||||
<el-icon class="elView" v-if="detailData?.mainWiringDiagram.name">
|
||||
<View @click="openFile(detailData?.mainWiringDiagram.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(detailData?.mainWiringDiagram.keyName)">
|
||||
<span class="aLoad" @click="download(detailData?.mainWiringDiagram.keyName)">
|
||||
{{ detailData?.mainWiringDiagram.name }}
|
||||
</a>
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</template>
|
||||
|
||||
@@ -201,81 +201,85 @@
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport?.name">
|
||||
<View @click="openFile(detailData?.informationSecurityTestReport?.name)" />
|
||||
</el-icon>
|
||||
<a
|
||||
target="_blank"
|
||||
class="aLoad" @click="download(detailData?.informationSecurityTestReport.keyName)"
|
||||
<span
|
||||
class="aLoad"
|
||||
@click="download(detailData?.informationSecurityTestReport.keyName)"
|
||||
v-if="detailData?.informationSecurityTestReport?.name"
|
||||
>
|
||||
{{ detailData?.informationSecurityTestReport.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="验收检验报告单">
|
||||
<el-icon class="elView" v-if="detailData?.acceptanceInspectionReportSingle?.name">
|
||||
<View @click="openFile(detailData?.acceptanceInspectionReportSingle?.name)" />
|
||||
</el-icon>
|
||||
<a
|
||||
target="_blank"
|
||||
class="aLoad" @click="download(detailData?.acceptanceInspectionReportSingle.keyName)"
|
||||
<span
|
||||
class="aLoad"
|
||||
@click="download(detailData?.acceptanceInspectionReportSingle.keyName)"
|
||||
v-if="detailData?.acceptanceInspectionReportSingle?.name"
|
||||
>
|
||||
{{ detailData?.acceptanceInspectionReportSingle?.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="验收检验报告">
|
||||
<el-icon class="elView" v-if="detailData?.acceptanceInspectionReport?.name">
|
||||
<View @click="openFile(detailData?.acceptanceInspectionReport?.name)" />
|
||||
</el-icon>
|
||||
<a
|
||||
target="_blank"
|
||||
class="aLoad" @click="download(detailData?.acceptanceInspectionReport.keyName)"
|
||||
<span
|
||||
class="aLoad"
|
||||
@click="download(detailData?.acceptanceInspectionReport.keyName)"
|
||||
v-if="detailData?.acceptanceInspectionReport?.name"
|
||||
>
|
||||
{{ detailData?.acceptanceInspectionReport?.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="型式实验报告">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport?.name">
|
||||
<View @click="openFile(detailData?.typeExperimentReport?.name)" />
|
||||
</el-icon>
|
||||
<a
|
||||
target="_blank"
|
||||
<span
|
||||
v-if="detailData?.typeExperimentReport?.name"
|
||||
class="aLoad" @click="download(detailData?.typeExperimentReport.keyName)"
|
||||
class="aLoad"
|
||||
@click="download(detailData?.typeExperimentReport.keyName)"
|
||||
>
|
||||
{{ detailData?.typeExperimentReport?.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="出厂检验报告">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport?.name">
|
||||
<View @click="openFile(detailData?.factoryInspectionReport?.name)" />
|
||||
</el-icon>
|
||||
<a
|
||||
target="_blank"
|
||||
class="aLoad" @click="download(detailData?.factoryInspectionReport.keyName)"
|
||||
<span
|
||||
class="aLoad"
|
||||
@click="download(detailData?.factoryInspectionReport.keyName)"
|
||||
v-if="detailData?.factoryInspectionReport?.name"
|
||||
>
|
||||
{{ detailData?.factoryInspectionReport?.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="性能检测报告">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport?.name">
|
||||
<View @click="openFile(detailData?.performanceTestReport?.name)" />
|
||||
</el-icon>
|
||||
<a
|
||||
target="_blank"
|
||||
class="aLoad" @click="download(detailData?.performanceTestReport.keyName)"
|
||||
<span
|
||||
class="aLoad"
|
||||
@click="download(detailData?.performanceTestReport.keyName)"
|
||||
v-if="detailData?.performanceTestReport?.name"
|
||||
>
|
||||
{{ detailData?.performanceTestReport?.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="其他附件">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments?.name">
|
||||
<View @click="openFile(detailData?.otherAttachments?.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(detailData?.otherAttachments.keyName)" v-if="detailData?.otherAttachments?.name">
|
||||
<span
|
||||
class="aLoad"
|
||||
@click="download(detailData?.otherAttachments.keyName)"
|
||||
v-if="detailData?.otherAttachments?.name"
|
||||
>
|
||||
{{ detailData?.otherAttachments?.name }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</template>
|
||||
@@ -290,7 +294,7 @@ import { useDictData } from '@/stores/dictData'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { Link, View } from '@element-plus/icons-vue'
|
||||
import { nodeAllList } from '@/api/device-boot/Business'
|
||||
import {download} from '@/utils/fileDownLoad'
|
||||
import { download } from '@/utils/fileDownLoad'
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
@@ -482,7 +486,7 @@ const getFileNamePath = async (val: any, pathName: any) => {
|
||||
else if (pathName == 'acceptanceInspectionReport' && detailData.value.acceptanceInspectionReport) {
|
||||
detailData.value.acceptanceInspectionReport = {
|
||||
name: res.data.fileName,
|
||||
keyName: res.data.name,
|
||||
keyName: res.data.name,
|
||||
url: res.data.url
|
||||
}
|
||||
}
|
||||
@@ -490,7 +494,7 @@ const getFileNamePath = async (val: any, pathName: any) => {
|
||||
else if (pathName == 'typeExperimentReport' && detailData.value.typeExperimentReport) {
|
||||
detailData.value.typeExperimentReport = {
|
||||
name: res.data.fileName,
|
||||
keyName: res.data.name,
|
||||
keyName: res.data.name,
|
||||
url: res.data.url
|
||||
}
|
||||
}
|
||||
@@ -498,7 +502,7 @@ const getFileNamePath = async (val: any, pathName: any) => {
|
||||
else if (pathName == 'factoryInspectionReport' && detailData.value.factoryInspectionReport) {
|
||||
detailData.value.factoryInspectionReport = {
|
||||
name: res.data.fileName,
|
||||
keyName: res.data.name,
|
||||
keyName: res.data.name,
|
||||
url: res.data.url
|
||||
}
|
||||
}
|
||||
@@ -513,7 +517,7 @@ const getFileNamePath = async (val: any, pathName: any) => {
|
||||
else if (pathName == 'otherAttachments' && detailData.value.otherAttachments) {
|
||||
detailData.value.otherAttachments = {
|
||||
name: res.data.fileName,
|
||||
keyName: res.data.name,
|
||||
keyName: res.data.name,
|
||||
url: res.data.url
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,9 +29,9 @@
|
||||
<el-icon class="elView" v-if="detailData?.reportName">
|
||||
<View @click="openFile(detailData?.testRunReport)" />
|
||||
</el-icon>
|
||||
<a target="_blank" class="aLoad" @click="download(detailData?.keyName)">
|
||||
<span class="aLoad" @click="download(detailData?.keyName)">
|
||||
{{ detailData?.reportName }}
|
||||
</a>
|
||||
</span>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</TableHeader>
|
||||
<Table ref="tableRef" :checkbox-config="checkboxConfig" />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="试运行评估问题" name="2">
|
||||
<el-tab-pane label="试运行评估问题" name="2" v-if="VITE_FLAG">
|
||||
<testRun v-if="activeName == '2'" />
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
@@ -68,6 +68,7 @@ import testRun from '@/views/pqs/supervise/electricalEnergy/components1/testRun.
|
||||
import { useAdminInfo } from '@/stores/adminInfo'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { deleteTempLineRunTestReport } from '@/api/supervision-boot/delete/index'
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const dictData = useDictData()
|
||||
const statusSelect = dictData.statusSelect()
|
||||
const { push } = useRouter()
|
||||
|
||||
Reference in New Issue
Block a user