diff --git a/src/views/pqs/supervise/harmonicSurvey/detail.vue b/src/views/pqs/supervise/harmonicSurvey/detail.vue index 85fb96de..2b7fd4d2 100644 --- a/src/views/pqs/supervise/harmonicSurvey/detail.vue +++ b/src/views/pqs/supervise/harmonicSurvey/detail.vue @@ -21,13 +21,12 @@
- - + + {{ item.fileName }} - 预览
@@ -61,7 +60,7 @@ import { querySurveyDetail } from '@/api/process-boot/generalTest' import { getFileNameAndFilePath } from '@/api/system-boot/file' import { defaultAttribute } from '@/components/table/defaultAttribute' import { useDictData } from '@/stores/dictData' -import { Link } from '@element-plus/icons-vue' +import { Link, View } from '@element-plus/icons-vue' const { query } = useRoute() // 查询参数 const openFile = (name: any) => { window.open(window.location.origin + '/#/previewFile?' + name) @@ -150,3 +149,9 @@ onMounted(() => { getInfo() }) + diff --git a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue index 61bbc877..c2b67dd7 100644 --- a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue +++ b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue @@ -1,69 +1,68 @@ - + \ No newline at end of file diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue index e0ce3bf0..8f4ead1c 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue @@ -251,10 +251,12 @@ {{ applyTitle + '填报信息' }} @@ -385,9 +381,10 @@ @@ -401,7 +398,7 @@ 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 { Link } from '@element-plus/icons-vue' +import { Link, View } from '@element-plus/icons-vue' import { userReportGoNetById } from '@/api/supervision-boot/interfere' import details_item from './components/detailsItem.vue' defineOptions({ name: 'BpmUserReportDetail' }) @@ -664,4 +661,8 @@ onMounted(() => { display: flex; flex-wrap: wrap; } +.elView { + cursor: pointer; + margin-right: 5px; +} diff --git a/src/views/pqs/supervise/interfere/components/undocumented/detail.vue b/src/views/pqs/supervise/interfere/components/undocumented/detail.vue index 261715fc..17c03065 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/detail.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/detail.vue @@ -52,7 +52,7 @@ {{ detailData.evaluationDept }} - + {{ detailData.evaluationConclusion }} - + + + {{ proviteData.feasibilityReport?.name }} - 预览 + - + + + {{ proviteData.feasibilityReport?.name }} - 预览 - + + + {{ proviteData.feasibilityReport?.name }} - 预览 - - + + + {{ proviteData?.preliminaryDesignDescription?.name }} - 预览 - - + + {{ proviteData?.predictionEvaluationReport?.name }} - 预览 - - + + {{ proviteData?.predictionEvaluationReviewOpinions?.name }} - 预览 - - + + {{ proviteData?.substationMainWiringDiagram?.name }} - 预览 - - + + {{ proviteData?.sensitiveDevices?.name }} - 预览 - - + + {{ proviteData?.antiInterferenceReport?.name }} - 预览 - - + + {{ proviteData?.powerQualityReport?.name }} - 预览 - - + + {{ proviteData?.additionalAttachments?.name }} - 预览 @@ -325,7 +322,7 @@ 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 { Link } from '@element-plus/icons-vue' +import { Link, View } from '@element-plus/icons-vue' import PreviewFile from '@/components/PreviewFile/index.vue' defineOptions({ name: 'BpmUserReportDetail' }) @@ -337,8 +334,8 @@ const props = defineProps({ const detailLoading = ref(false) // 表单的加载中 const detailData = ref({}) // 详情数据 const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号 -const openFile = (name:any) => { - window.open(window.location.origin + '/#/previewFile?'+name) +const openFile = (name: any) => { + window.open(window.location.origin + '/#/previewFile?' + name) } //用户性质数组 const userTypeList = reactive([ @@ -419,23 +416,23 @@ const getInfo = async () => { } const proviteData = ref() //可研报告 -const feasibilityReportRef = ref(null) +const feasibilityReportRef:any = ref(null) //项目初步设计说明书 -const preliminaryDesignDescriptionRef = ref(null) +const preliminaryDesignDescriptionRef:any = ref(null) //预测评估报告 -const predictionEvaluationReportRef = ref(null) +const predictionEvaluationReportRef:any = ref(null) //预测评估评审意见报告 -const predictionEvaluationReviewOpinionsRef = ref(null) +const predictionEvaluationReviewOpinionsRef:any = ref(null) //用户接入变电站主接线示意图 -const substationMainWiringDiagramRef = ref(null) +const substationMainWiringDiagramRef:any= ref(null) //主要敏感终端清单 -const sensitiveDevicesRef = ref(null) +const sensitiveDevicesRef:any = ref(null) //抗扰度测试报告 -const antiInterferenceReportRef = ref(null) +const antiInterferenceReportRef:any = ref(null) //背景电能质量测试报告 -const powerQualityReportRef = ref(null) +const powerQualityReportRef:any = ref(null) //其他附件 -const additionalAttachmentsRef = ref(null) +const additionalAttachmentsRef:any = ref(null) //预览 const preview = (val: any, url: any) => { nextTick(() => { @@ -637,12 +634,16 @@ onMounted(() => { position: absolute !important; top: 20px !important; } -.el-icon { - float: left; -} +// .el-icon { +// float: left; +// } a { display: block; width: 200px; float: left; } +.elView { + cursor: pointer; + margin-right: 5px; +} diff --git a/src/views/pqs/supervise/technology/detail.vue b/src/views/pqs/supervise/technology/detail.vue index 9e2d6c23..ab967edb 100644 --- a/src/views/pqs/supervise/technology/detail.vue +++ b/src/views/pqs/supervise/technology/detail.vue @@ -1,46 +1,44 @@ @@ -131,7 +130,7 @@ import { propTypes } from '@/utils/propTypes' import { getTempLineDetailsById } from '@/api/supervision-boot/monitorpoint/index' import { useDictData } from '@/stores/dictData' import { getFileNameAndFilePath } from '@/api/system-boot/file' -import { Link } from '@element-plus/icons-vue' +import { Link,View } from '@element-plus/icons-vue' const openFile = (name: any) => { window.open(window.location.origin + '/#/previewFile?' + name) } @@ -259,7 +258,7 @@ onMounted(() => { getInfo() }) - diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue index 5e011ed8..91147e9e 100644 --- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue +++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue @@ -186,57 +186,58 @@ {{ detailData.supervisionTempDeviceReport?.contractNumber }} - - + + - + {{ detailData?.informationSecurityTestReport.name }} - 预览 - - + + - + {{ detailData?.acceptanceInspectionReportSingle.name }} - 预览 - - + + - {{ detailData?.acceptanceInspectionReport.name }} - 预览 + + {{ detailData?.acceptanceInspectionReport.name }} + - - + + - {{ detailData?.typeExperimentReport.name }} - 预览 + + {{ detailData?.typeExperimentReport.name }} + - - + + - {{ detailData?.factoryInspectionReport.name }} - 预览 + + {{ detailData?.factoryInspectionReport.name }} + - - + + - {{ detailData?.performanceTestReport.name }} - 预览 + + {{ detailData?.performanceTestReport.name }} + - - + + - {{ detailData?.otherAttachments.name }} - 预览 + {{ detailData?.otherAttachments.name }} @@ -249,11 +250,11 @@ import { getTerminalDetailsById } from '@/api/supervision-boot/terminal/index' import { getDictTreeById } from '@/api/system-boot/dictTree' import { useDictData } from '@/stores/dictData' import { getFileNameAndFilePath } from '@/api/system-boot/file' -import { Link } from '@element-plus/icons-vue' +import { Link, View } from '@element-plus/icons-vue' import { nodeAllList } from '@/api/device-boot/Business' defineOptions({ name: 'BpmUserReportDetail' }) -const openFile = (name:any) => { - window.open(window.location.origin + '/#/previewFile?'+name) +const openFile = (name: any) => { + window.open(window.location.origin + '/#/previewFile?' + name) } const { query } = useRoute() // 查询参数 @@ -479,7 +480,7 @@ onMounted(() => { getInfo() }) -