From 98097830a2978db6eea665a43eff78fdf044bd3b Mon Sep 17 00:00:00 2001
From: GGJ <357021191@qq.com>
Date: Wed, 7 Aug 2024 11:13:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=86=80=E5=8C=97=E7=8E=B0?=
=?UTF-8?q?=E5=9C=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/PreviewFile/index.vue | 6 +-
.../pqs/supervise/harmonicSurvey/detail.vue | 2 +-
.../supervise/harmonicSurvey/test/detail.vue | 2 +-
.../normalizationManager/detail.vue | 2 +-
.../normalization/detail.vue | 14 ++-
.../components/undocumented/detail.vue | 2 +-
.../pqs/supervise/plan/components/detail.vue | 2 +-
.../supervise/technology/components/alarm.vue | 90 +++++++++++++------
.../technology/components/earlyWarn.vue | 51 ++++++++---
src/views/pqs/supervise/technology/detail.vue | 2 +-
.../supervise/technology/feedbackPopup.vue | 4 +-
.../components/cycleDetection/detail.vue | 6 +-
.../components/monitorpoint/detail.vue | 8 +-
.../components/terminainal/addForm.vue | 2 +-
.../components/terminainal/detail.vue | 2 +-
.../supervise/testRun/components/detail.vue | 2 +-
16 files changed, 134 insertions(+), 63 deletions(-)
diff --git a/src/components/PreviewFile/index.vue b/src/components/PreviewFile/index.vue
index 415b180b..6b9d731d 100644
--- a/src/components/PreviewFile/index.vue
+++ b/src/components/PreviewFile/index.vue
@@ -20,9 +20,9 @@ import VueOfficeExcel from '@vue-office/excel'
//引入VueOfficePdf组件
import VueOfficePdf from '@vue-office/pdf'
const { push, options, currentRoute } = useRouter()
-// const url = 'http://192.168.1.22:9009/excelreport/supervision/' + currentRoute.value.href?.split('?')[1]
-
-const url = '/api-docx/excelreport/supervision/' + currentRoute.value.href?.split('?')[1]
+const url = 'http://192.168.1.22:9009/excelreport' + currentRoute.value.href?.split('?')[1]
+// http://192.168.1.22:9009/excelreport/onlineReport/%E7%94%B5%E8%83%BD%5B%E5%91%8A%5D2024%E5%B9%B41%E5%8F%B7-%E5%BC%A0%E5%AE%B6%E5%8F%A3%E5%9C%B0%E5%B8%82%20%E7%94%B5%E8%83%BD%E8%B4%A8%E9%87%8F%E6%8A%80%E6%9C%AF%E7%9B%91%E7%9D%A3%E5%91%8A%E8%AD%A6%E5%8D%95.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20240807%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240807T021320Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0173318ad09fa6cc9067123b6997f423c692c820ef9e185ca7dda300e5f7853c
+// const url = '/api-docx/excelreport' + currentRoute.value.href?.split('?')[1]
onMounted(() => {
console.log()
})
diff --git a/src/views/pqs/supervise/harmonicSurvey/detail.vue b/src/views/pqs/supervise/harmonicSurvey/detail.vue
index 2b7fd4d2..c941fdc7 100644
--- a/src/views/pqs/supervise/harmonicSurvey/detail.vue
+++ b/src/views/pqs/supervise/harmonicSurvey/detail.vue
@@ -63,7 +63,7 @@ import { useDictData } from '@/stores/dictData'
import { Link, View } from '@element-plus/icons-vue'
const { query } = useRoute() // 查询参数
const openFile = (name: any) => {
- window.open(window.location.origin + '/#/previewFile?' + name)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
const props = defineProps({
id: propTypes.string.def(undefined)
diff --git a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue
index 2eec4c53..8b397656 100644
--- a/src/views/pqs/supervise/harmonicSurvey/test/detail.vue
+++ b/src/views/pqs/supervise/harmonicSurvey/test/detail.vue
@@ -80,7 +80,7 @@ import { getTestById } from '@/api/supervision-boot/survey/test'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
import { Link, View } from '@element-plus/icons-vue'
const openFile = (name: any) => {
- window.open(window.location.origin + '/#/previewFile?' + name)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
const { query } = useRoute() // 查询参数
const props = defineProps({
diff --git a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue
index 1d8e7d36..22a3f23e 100644
--- a/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue
+++ b/src/views/pqs/supervise/interfere/components/normalizationManager/detail.vue
@@ -326,7 +326,7 @@ import { userReportGoNetById } from '@/api/supervision-boot/interfere'
// import el-descriptions-item from './components/detailsItem.vue'
defineOptions({ name: 'BpmUserReportDetail' })
const openFile = (name: any) => {
- window.open(window.location.origin + '/#/previewFile?' + name)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
const { query } = useRoute() // 查询参数
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 35fe0408..912956fc 100644
--- a/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue
+++ b/src/views/pqs/supervise/interfere/components/normalizationManager/normalization/detail.vue
@@ -60,7 +60,11 @@
{{ detailData.evaluationConclusion }}
{
supervisionReportDetail.supervisionReportPath = res.data.url
supervisionReportDetail.supervisionReportName = res.data.fileName
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue
index 00dddd30..39567ff4 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/cycleDetection/detail.vue
@@ -30,7 +30,7 @@
{{ detailData.reportPaths?.fileName }}
-
+
{{ detailData?.description }}
@@ -46,10 +46,10 @@ import { propTypes } from '@/utils/propTypes'
import { getInfoById } from '@/api/supervision-boot/cycleDetection/index'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
import { useDictData } from '@/stores/dictData'
-import { Link,View } 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)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
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 a1d43451..43c46480 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/detail.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/monitorpoint/detail.vue
@@ -114,8 +114,8 @@
-
-
+
+
{{ detailData?.mainWiringDiagram.name }}
@@ -130,9 +130,9 @@ 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,View } from '@element-plus/icons-vue'
+import { Link, View } from '@element-plus/icons-vue'
const openFile = (name: any) => {
- window.open(window.location.origin + '/#/previewFile?' + name)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
defineOptions({ name: 'BpmUserReportDetail' })
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue
index 88e36185..460691ee 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/addForm.vue
@@ -903,7 +903,7 @@ const resetForm: any = async () => {
changeSubstationFlag()
}
//初始化数据
-resetForm()
+// resetForm()
//终端信息表单格式
const devReportForm: any = ref({
reporter: '', //填报人
diff --git a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue
index 492a078d..46c97d48 100644
--- a/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue
+++ b/src/views/pqs/supervise/terminalNetworkDetection/components/terminainal/detail.vue
@@ -260,7 +260,7 @@ 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)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
const { query } = useRoute() // 查询参数
diff --git a/src/views/pqs/supervise/testRun/components/detail.vue b/src/views/pqs/supervise/testRun/components/detail.vue
index 45dfd96f..7fdc2d98 100644
--- a/src/views/pqs/supervise/testRun/components/detail.vue
+++ b/src/views/pqs/supervise/testRun/components/detail.vue
@@ -73,7 +73,7 @@ const getInfo = async () => {
}
defineExpose({ open: getInfo }) // 提供 open 方法,用于打开弹窗
const openFile = (name: any) => {
- window.open(window.location.origin + '/#/previewFile?' + name)
+ window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
/** 初始化 **/
onMounted(() => {