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/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 f5a36fb2..400df0c4 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 30306425..0260cdaf 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 }}
-
+
{{ item.fileName }}
-
+
{{ 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 eb551138..9ccec8ab 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"
>
-
+
@@ -328,6 +328,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 bb733582..daf24134 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 2c16a7ed..36a349cf 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 af1827cf..8b2855e4 100644
--- a/src/views/pqs/supervise/technology/detail.vue
+++ b/src/views/pqs/supervise/technology/detail.vue
@@ -14,7 +14,7 @@
-
+
{{ detailData.problemName }}
@@ -27,7 +27,7 @@
{{ detailData.takeStep }}
-
+
{{ detailData.reportName }}
@@ -43,7 +43,7 @@ import { getById } from '@/api/supervision-boot/leaflet'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
import {download} from '@/utils/fileDownLoad'
import { Link, View } from '@element-plus/icons-vue'
-
+const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
defineOptions({ name: 'technology/detail' })
const openFile = (name: any) => {
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
diff --git a/src/views/pqs/supervise/technology/feedbackPopup.vue b/src/views/pqs/supervise/technology/feedbackPopup.vue
index a7704fd1..c3903175 100644
--- a/src/views/pqs/supervise/technology/feedbackPopup.vue
+++ b/src/views/pqs/supervise/technology/feedbackPopup.vue
@@ -12,7 +12,7 @@
-
+
@@ -21,7 +21,7 @@
-
+
{{ problemDetail.problemName }}
@@ -63,6 +63,7 @@ import { Link, View } from '@element-plus/icons-vue'
const openFile = (name: any) => {
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
+const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
//.doc,.docx,.xlsx,.xls,.pdf
const acceptType = ref('')
//下拉数据源
diff --git a/src/views/pqs/supervise/terminal/components/detail.vue b/src/views/pqs/supervise/terminal/components/detail.vue
index acb8b2c1..2f64665b 100644
--- a/src/views/pqs/supervise/terminal/components/detail.vue
+++ b/src/views/pqs/supervise/terminal/components/detail.vue
@@ -222,7 +222,7 @@
-
+
@@ -237,7 +237,7 @@
detailData.userType == 5
"
>
-
+
@@ -245,7 +245,7 @@
-
+
@@ -254,7 +254,7 @@
-
+
@@ -263,7 +263,7 @@
-
+
@@ -271,7 +271,7 @@
-
+
@@ -282,7 +282,7 @@
label="用户接入变电站主接线示意图"
v-if="detailData.userType != 0 && detailData.userType != 1"
>
-
+
@@ -290,7 +290,7 @@
-
+
@@ -298,7 +298,7 @@
-
+
@@ -306,7 +306,7 @@
-
+
@@ -317,7 +317,7 @@
label="其他附件"
v-if="proviteData?.additionalAttachments && proviteData?.additionalAttachments?.url"
>
-
+
@@ -327,7 +327,7 @@
-
+
@@ -337,7 +337,7 @@
-
+
@@ -346,7 +346,7 @@
-
+
@@ -355,7 +355,7 @@
-
+
@@ -365,7 +365,7 @@
-
+
@@ -375,7 +375,7 @@
-
+
@@ -384,7 +384,7 @@
-
+
@@ -392,7 +392,7 @@
-
+
@@ -401,7 +401,7 @@
-
+
@@ -409,7 +409,7 @@
-
+
@@ -417,7 +417,7 @@
-
+
@@ -425,7 +425,7 @@
-
+
@@ -450,7 +450,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/terminalNetworkDetection/components/cycleDetection/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue
index 45196fa8..2b0b8427 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue
@@ -24,7 +24,7 @@
-
+
@@ -52,6 +52,7 @@ const { query } = useRoute() // 查询参数
const openFile = (name: any) => {
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
+const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
const props = defineProps({
id: propTypes.string.def(undefined)
})
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/detail.vue
index 7142b296..8baf44fc 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/detail.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/detail.vue
@@ -4,7 +4,7 @@
-
+
{{ detailData?.lineFilePath.name }}
@@ -113,7 +113,7 @@
-
+
@@ -136,7 +136,7 @@ const openFile = (name: any) => {
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
defineOptions({ name: 'BpmUserReportDetail' })
-
+const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
const { query } = useRoute() // 查询参数
const props = defineProps({
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue
index 731965d9..08f6e023 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue
@@ -969,7 +969,7 @@ const rules = ref({
electroplatingFunction: [
{
required: false,
- message: '请选择电镀功能',
+ message: '请选择电度功能',
trigger: 'change'
}
],
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue
index 58a8059c..3ee8a5b2 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue
@@ -162,7 +162,7 @@
: '-'
}}
-
+
{{
detailData.supervisionTempDeviceReport?.electroplatingFunction == '0'
? '否'
@@ -198,7 +198,7 @@
{{ detailData.supervisionTempDeviceReport?.contractNumber }}
-
+
-
+
-
+
-
+
-
+
-
+
-
+
({}) // 详情数据
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
diff --git a/src/views/pqs/supervise/testRun/components/detail.vue b/src/views/pqs/supervise/testRun/components/detail.vue
index a2454dd2..a71299d1 100644
--- a/src/views/pqs/supervise/testRun/components/detail.vue
+++ b/src/views/pqs/supervise/testRun/components/detail.vue
@@ -26,7 +26,7 @@
{{ detailData.integrityRate ? detailData.integrityRate * 100 + '%' : '/' }}
-
+
@@ -53,8 +53,7 @@ const props = defineProps({
const detailLoading = ref(false) // 表单的加载中
const detailData = ref({}) // 详情数据
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
-
-/** 获得数据 */
+const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'/** 获得数据 */
const getInfo = async () => {
detailLoading.value = true
try {
diff --git a/src/views/pqs/supervise/testRun/index.vue b/src/views/pqs/supervise/testRun/index.vue
index 4c1cc95e..cf31135b 100644
--- a/src/views/pqs/supervise/testRun/index.vue
+++ b/src/views/pqs/supervise/testRun/index.vue
@@ -158,7 +158,10 @@ const tableStore = new TableStore({
icon: 'el-icon-EditPen',
render: 'basicButton',
disabled: row => {
- return row.testRunReport == null || row.testRunReport.length == 0
+ if (VITE_FLAG) {
+ return row.testRunReport == null || row.testRunReport.length == 0
+ }
+ return true;
},
click: row => {
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components1/complaintsDetail.vue b/src/views/pqs/supervise_hn/electricalEnergy/components1/complaintsDetail.vue
index 030c4378..1a80c78c 100644
--- a/src/views/pqs/supervise_hn/electricalEnergy/components1/complaintsDetail.vue
+++ b/src/views/pqs/supervise_hn/electricalEnergy/components1/complaintsDetail.vue
@@ -62,6 +62,7 @@ const dialogVisible = ref(false)
const title = ref('')
const dictData = useDictData()
const list: any = ref({})
+
const open = (row: any) => {
list.value={}
title.value = row.title
diff --git a/src/views/pqs/supervise_hn/electricalEnergy/components1/testRunDetail.vue b/src/views/pqs/supervise_hn/electricalEnergy/components1/testRunDetail.vue
index 937f4c88..10c02379 100644
--- a/src/views/pqs/supervise_hn/electricalEnergy/components1/testRunDetail.vue
+++ b/src/views/pqs/supervise_hn/electricalEnergy/components1/testRunDetail.vue
@@ -65,6 +65,7 @@ const dialogVisible = ref(false)
const title = ref('')
const list: any = ref({})
const dictData = useDictData()
+
const open = (row: any) => {
list.value = {}
title.value = row.title
diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue
index 36f38111..0f58ff40 100644
--- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue
+++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/addForm.vue
@@ -254,10 +254,10 @@
关闭
-
+
+ placeholder='请选择电度功能'>
@@ -1013,7 +1013,7 @@ const rules = ref({
electroplatingFunction: [
{
required: false,
- message: '请选择电镀功能',
+ message: '请选择电度功能',
trigger: 'change'
}
],
diff --git a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/detail.vue b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/detail.vue
index ea085912..6c2a7eda 100644
--- a/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/detail.vue
+++ b/src/views/pqs/supervise_hn/terminalNetworkDetection/components/terminainal/detail.vue
@@ -162,7 +162,7 @@
: '-'
}}
-
+
{{
detailData.supervisionTempDeviceReport?.electroplatingFunction == '0'
? '否'
diff --git a/src/views/system/bpm/task/index.vue b/src/views/system/bpm/task/index.vue
index ae5632eb..0a02823e 100644
--- a/src/views/system/bpm/task/index.vue
+++ b/src/views/system/bpm/task/index.vue
@@ -29,9 +29,9 @@ const props = defineProps({
})
-defineOptions({
- name: 'bpm/task'
-})
+// defineOptions({
+// name: 'bpm/task'
+// })
const activeName = ref('1')
const layout = mainHeight(63) as any