From 6f770aa91de843880083bdee5208df10b96a198d Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Fri, 19 Dec 2025 13:12:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=8F=AA=E6=9C=89=E5=86=80=E5=8C=97=E5=8F=AF=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pqs/database/case/components/annex.vue | 3 +- .../components1/complaintsDetail.vue | 6 ++- .../electricalEnergy/components1/online.vue | 1 - .../components1/testRunDetail.vue | 7 ++- .../pqs/supervise/harmonicSurvey/detail.vue | 4 +- .../supervise/harmonicSurvey/test/detail.vue | 10 ++-- .../normalizationManager/detail.vue | 27 ++++++----- .../normalization/detail.vue | 46 +++++++++--------- .../pqs/supervise/plan/components/detail.vue | 13 ++--- src/views/pqs/supervise/technology/detail.vue | 6 +-- .../supervise/technology/feedbackPopup.vue | 5 +- .../supervise/terminal/components/detail.vue | 48 +++++++++---------- .../components/cycleDetection/detail.vue | 3 +- .../components/monitorpoint/detail.vue | 4 +- .../components/terminainal/addForm.vue | 2 +- .../components/terminainal/detail.vue | 18 +++---- .../supervise/testRun/components/detail.vue | 5 +- src/views/pqs/supervise/testRun/index.vue | 6 ++- .../components1/complaintsDetail.vue | 1 + .../components1/testRunDetail.vue | 1 + .../components/terminainal/addForm.vue | 6 +-- .../components/terminainal/detail.vue | 2 +- 22 files changed, 120 insertions(+), 104 deletions(-) diff --git a/src/views/pqs/database/case/components/annex.vue b/src/views/pqs/database/case/components/annex.vue index adb8d14c..8f39644d 100644 --- a/src/views/pqs/database/case/components/annex.vue +++ b/src/views/pqs/database/case/components/annex.vue @@ -12,7 +12,7 @@
{{ item.name }}
- + @@ -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({ diff --git a/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue b/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue index a73bd4c6..7b22d780 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue @@ -41,10 +41,10 @@ {{ list.takeStep }} - + - {{ list.reportName }} + {{ list.reportName }} @@ -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 diff --git a/src/views/pqs/supervise/electricalEnergy/components1/online.vue b/src/views/pqs/supervise/electricalEnergy/components1/online.vue index a3488af3..edd0e874 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/online.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/online.vue @@ -300,7 +300,6 @@ 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 }, loadCallback: () => { diff --git a/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue b/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue index e114c29a..1ad79ce9 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue @@ -44,10 +44,10 @@ {{ list.takeStep }} - + - {{ list.reportName }} + {{ list.reportName }} @@ -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 }) diff --git a/src/views/pqs/supervise/harmonicSurvey/detail.vue b/src/views/pqs/supervise/harmonicSurvey/detail.vue index a6d2f47b..8b979e27 100644 --- a/src/views/pqs/supervise/harmonicSurvey/detail.vue +++ b/src/views/pqs/supervise/harmonicSurvey/detail.vue @@ -21,7 +21,7 @@
- + @@ -77,7 +77,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 diff --git a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue index a3056f67..786c2734 100644 --- a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue +++ b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue @@ -56,27 +56,27 @@ - + {{ detailData.supervisionReportName }} - + {{ detailData.testReportName }} - + {{ detailData.reportName }} @@ -104,6 +104,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), diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue index efb7d890..71fc5ae2 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue @@ -179,7 +179,7 @@ - + @@ -194,7 +194,7 @@ detailData.userType == 5 " > - + @@ -202,7 +202,7 @@ - + @@ -211,7 +211,7 @@ - + @@ -219,7 +219,7 @@ - + @@ -227,7 +227,7 @@ - + @@ -238,7 +238,7 @@ label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1" > - + @@ -246,7 +246,7 @@ - + @@ -254,7 +254,7 @@ - + @@ -262,7 +262,7 @@ - + @@ -271,7 +271,7 @@
- + @@ -281,7 +281,7 @@ - + @@ -304,7 +304,7 @@ :label="applyTitle + '报告'" v-if="proviteData?.otherReport && proviteData?.otherReport.url" > - + {{ proviteData?.otherReport.name }} @@ -326,6 +326,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) } diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue index 1d1cc58f..8dae055e 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue @@ -189,7 +189,7 @@ - + @@ -202,7 +202,7 @@ detailData.userType == 4 || detailData.userType == 5 "> - + @@ -210,7 +210,7 @@ - + @@ -219,7 +219,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -236,7 +236,7 @@ - + @@ -244,7 +244,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -260,7 +260,7 @@ - + @@ -268,7 +268,7 @@ - + @@ -277,7 +277,7 @@ - + @@ -527,7 +527,7 @@ - + @@ -540,7 +540,7 @@ detailData1.userType == 4 || detailData1.userType == 5 "> - + @@ -550,7 +550,7 @@ - + @@ -561,7 +561,7 @@ - + @@ -572,7 +572,7 @@ - + @@ -582,7 +582,7 @@ - + @@ -592,7 +592,7 @@ - + @@ -602,7 +602,7 @@ - + @@ -612,7 +612,7 @@ - + @@ -622,7 +622,7 @@ - + @@ -633,7 +633,7 @@ v-if="proviteData1?.additionalAttachments && proviteData1?.additionalAttachments?.url" :label-class-name="changeTheField?.additionalAttachments ? 'my-content' : ''" :class-name="changeTheField?.additionalAttachments ? 'my-content' : ''"> - + @@ -657,7 +657,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({ diff --git a/src/views/pqs/supervise/plan/components/detail.vue b/src/views/pqs/supervise/plan/components/detail.vue index bbeff667..0ef1b3e9 100644 --- a/src/views/pqs/supervise/plan/components/detail.vue +++ b/src/views/pqs/supervise/plan/components/detail.vue @@ -104,7 +104,7 @@ {{ detailData.otherRemark }} - + @@ -112,7 +112,7 @@ - + @@ -120,25 +120,25 @@ - + {{ detailData?.otherAttachments.name }} - + {{ detailData?.performanceTestReport.name }} - + {{ detailData?.typeExperimentReport.name }} - + {{ detailData?.performanceTestReport.name }} @@ -161,6 +161,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({}) // 详情数据 diff --git a/src/views/pqs/supervise/technology/detail.vue b/src/views/pqs/supervise/technology/detail.vue index aadda82f..aaaad822 100644 --- a/src/views/pqs/supervise/technology/detail.vue +++ b/src/views/pqs/supervise/technology/detail.vue @@ -14,7 +14,7 @@