diff --git a/src/views/pqs/database/case/components/annex.vue b/src/views/pqs/database/case/components/annex.vue index 8f39644d..0bf412fb 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,7 +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/harmonicMonitoring/detailed/pollutionReport/components/MonitoringPointTab.vue b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/MonitoringPointTab.vue index 7ae4807f..90ec3c34 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/MonitoringPointTab.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/pollutionReport/components/MonitoringPointTab.vue @@ -291,7 +291,7 @@ tableStore.table.params.isUpToGrid = 0 tableStore.table.params.type = 1 const handleStatisticalTypeChange = (newVal: { id: any }) => { - console.log('🚀 ~ handleStatisticalTypeChange ~ newVal:', newVal) + if (newVal) { tableStore.table.params.statisticalType = newVal tableStore.table.params.ids = [newVal.id] diff --git a/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue b/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue index 7b22d780..d17e0224 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/complaintsDetail.vue @@ -41,7 +41,7 @@ {{ list.takeStep }} - + {{ list.reportName }} @@ -63,7 +63,7 @@ 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/testRunDetail.vue b/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue index 1ad79ce9..00a6cc0e 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/testRunDetail.vue @@ -44,7 +44,7 @@ {{ list.takeStep }} - + {{ list.reportName }} @@ -66,7 +66,7 @@ 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 diff --git a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue index 480bc393..0c8722d4 100644 --- a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue +++ b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue @@ -60,27 +60,27 @@ - + {{ detailData.supervisionReportName }} - + {{ detailData.testReportName }}
- + {{ item.fileName }}
- + {{ detailData.reportName }} @@ -111,7 +111,7 @@ 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 ac02cbb2..730c6a29 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue @@ -183,7 +183,7 @@ - + @@ -198,7 +198,7 @@ detailData.userType == 5 " > - + @@ -206,7 +206,7 @@ - + @@ -215,7 +215,7 @@ - + @@ -223,7 +223,7 @@ - + @@ -231,7 +231,7 @@ - + @@ -242,7 +242,7 @@ label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1" > - + @@ -250,7 +250,7 @@ - + @@ -258,7 +258,7 @@ - + @@ -266,7 +266,7 @@ - + @@ -275,7 +275,7 @@
- + @@ -285,7 +285,7 @@ - + @@ -308,7 +308,7 @@ :label="applyTitle + '报告'" v-if="proviteData?.otherReport && proviteData?.otherReport.url" > - + @@ -333,7 +333,7 @@ import { userReportGoNetById } from '@/api/supervision-boot/interfere' import { download } from '@/utils/fileDownLoad' // import el-descriptions-item from './components/detailsItem.vue' defineOptions({ name: 'BpmUserReportDetail' }) -const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei' + const openFile = (name: any) => { window.open(window.location.origin + '/#/previewFile?' + name) } 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 e503364d..7b96e5e0 100644 --- a/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue +++ b/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue @@ -193,7 +193,7 @@ - + @@ -206,7 +206,7 @@ detailData.userType == 4 || detailData.userType == 5 "> - + @@ -214,7 +214,7 @@ - + @@ -223,7 +223,7 @@ - + @@ -232,7 +232,7 @@ - + @@ -240,7 +240,7 @@ - + @@ -248,7 +248,7 @@ - + @@ -256,7 +256,7 @@ - + @@ -264,7 +264,7 @@ - + @@ -272,7 +272,7 @@ - + @@ -281,7 +281,7 @@ - + @@ -531,7 +531,7 @@ - + @@ -544,7 +544,7 @@ detailData1.userType == 4 || detailData1.userType == 5 "> - + @@ -554,7 +554,7 @@ - + @@ -565,7 +565,7 @@ - + @@ -576,7 +576,7 @@ - + @@ -586,7 +586,7 @@ - + @@ -596,7 +596,7 @@ - + @@ -606,7 +606,7 @@ - + @@ -616,7 +616,7 @@ - + @@ -626,7 +626,7 @@ - + @@ -637,7 +637,7 @@ v-if="proviteData1?.additionalAttachments && proviteData1?.additionalAttachments?.url" :label-class-name="changeTheField?.additionalAttachments ? 'my-content' : ''" :class-name="changeTheField?.additionalAttachments ? 'my-content' : ''"> - + @@ -662,7 +662,7 @@ import { Link, View } from '@element-plus/icons-vue' import PreviewFile from '@/components/PreviewFile/index.vue' import { download} from '@/utils/fileDownLoad' defineOptions({ name: 'BpmUserReportDetail' }) -const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei' + const { query } = useRoute() // 查询参数 const props = defineProps({ diff --git a/src/views/pqs/supervise/interfere/components/undocumented/detail.vue b/src/views/pqs/supervise/interfere/components/undocumented/detail.vue index 7cbf02f6..1233cdad 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/detail.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/detail.vue @@ -239,7 +239,7 @@ - + @@ -254,7 +254,7 @@ detailData.userType == 5 " > - + @@ -262,7 +262,7 @@ - + @@ -271,7 +271,7 @@ - + @@ -280,7 +280,7 @@ - + @@ -288,7 +288,7 @@ - + @@ -301,14 +301,14 @@ label="用户接入变电站主接线示意图" v-if="detailData.userType != 0 && detailData.userType != 1" > - + {{ proviteData?.substationMainWiringDiagram?.name }} - + @@ -317,7 +317,7 @@ - + @@ -325,7 +325,7 @@ - + @@ -336,7 +336,7 @@ label="其他附件" v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url" > - + @@ -346,7 +346,7 @@
- + @@ -356,7 +356,7 @@
- + @@ -365,7 +365,7 @@
- + @@ -374,7 +374,7 @@
- + @@ -384,7 +384,7 @@
- + @@ -394,7 +394,7 @@ - + @@ -403,7 +403,7 @@ - + @@ -411,7 +411,7 @@ - + @@ -420,7 +420,7 @@ - + @@ -428,7 +428,7 @@ - + @@ -436,7 +436,7 @@ - + @@ -444,7 +444,7 @@ - + @@ -470,7 +470,7 @@ import { getByDeptDevLine } from '@/api/supervision-boot/interfere/index' import { addOrUpdateFile, getFileById } from '@/api/supervision-boot/interfere/index' import {download} from '@/utils/fileDownLoad' defineOptions({ name: 'BpmUserReportDetail' }) -const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei' + const { query } = useRoute() // 查询参数 const props = defineProps({ diff --git a/src/views/pqs/supervise/plan/components/detail.vue b/src/views/pqs/supervise/plan/components/detail.vue index 6e1cb858..80285743 100644 --- a/src/views/pqs/supervise/plan/components/detail.vue +++ b/src/views/pqs/supervise/plan/components/detail.vue @@ -108,7 +108,7 @@ {{ detailData.otherRemark }} - + @@ -116,7 +116,7 @@ - + @@ -124,25 +124,25 @@ - + {{ detailData?.otherAttachments.name }} - + {{ detailData?.performanceTestReport.name }} - + {{ detailData?.typeExperimentReport.name }} - + {{ detailData?.performanceTestReport.name }} @@ -166,8 +166,7 @@ const { query } = useRoute() // 查询参数 const props = defineProps({ id: propTypes.string.def(undefined) }) -const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei' -console.log(propTypes.string.def(undefined), '999999999999传参') + const detailLoading = ref(false) // 表单的加载中 const detailData = ref({}) // 详情数据 const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号 diff --git a/src/views/pqs/supervise/technology/detail.vue b/src/views/pqs/supervise/technology/detail.vue index f9885306..b70f4d34 100644 --- a/src/views/pqs/supervise/technology/detail.vue +++ b/src/views/pqs/supervise/technology/detail.vue @@ -18,7 +18,7 @@