From 91fa9ffb19037da961c6abe692893e54ea8ae67d Mon Sep 17 00:00:00 2001
From: GGJ <357021191@qq.com>
Date: Thu, 23 Jan 2025 14:02:19 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../detailed/division/components/compute.vue | 7 +-
.../monitoringPoint/online/index.vue | 4 -
.../components/disposition.vue | 101 ++++++++++++++++++
.../system/ReportConfiguration/index.vue | 20 ++++
4 files changed, 124 insertions(+), 8 deletions(-)
create mode 100644 src/views/system/ReportConfiguration/components/disposition.vue
create mode 100644 src/views/system/ReportConfiguration/index.vue
diff --git a/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue b/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue
index 9b7a2baf..4b7fb4d5 100644
--- a/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue
+++ b/src/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue
@@ -115,7 +115,6 @@ const form: any = reactive({
const tabList: any = ref([])
const activeName = ref(0)
const handleNodeClick = (data: any, node: any) => {
- console.log("🚀 ~ handleNodeClick ~ data:", data)
if (data.level == 6) {
dotList.value = data
}
@@ -125,13 +124,13 @@ const submit = () => {
if (form.loadData == '') {
return ElMessage.warning('请选择负荷数据')
}
+
if (form.index.length == 0) {
showTabs.value = false
} else {
let timeList = loadDataOptions.value.filter((item: any) => item.id == form.loadData)[0]
- console.log("🚀 ~ submit ~ timeList:", timeList)
showTabs.value = true
- let list = JSON.parse(JSON.stringify(form.index))
+ let list = JSON.parse(JSON.stringify(form.index)).sort((a, b) => a - b)
tabList.value = []
list.forEach((item: any) => {
tabList.value.push({
@@ -161,7 +160,7 @@ const execute = (item: any, index: number) => {
// userDataId:form.loadData,
lineId:dotList.value.id
}).then((res: any) => {
-
+
})
tabList.value[index].showExecute = true
}
diff --git a/src/views/pqs/voltageSags/monitoringPoint/online/index.vue b/src/views/pqs/voltageSags/monitoringPoint/online/index.vue
index cf8770f2..fea91444 100644
--- a/src/views/pqs/voltageSags/monitoringPoint/online/index.vue
+++ b/src/views/pqs/voltageSags/monitoringPoint/online/index.vue
@@ -45,13 +45,9 @@ watch(
if (!newLineId) return
// 在这里处理 lineId 的变化
- console.log(123333333);
-
monitoringPoint.setValue('lineId', router.currentRoute.value.query.lineId)
monitoringPoint.setValue('lineName', router.currentRoute.value.query.lineName)
setTimeout(() => {
-
-
navigationRef.value?.handleNodeClick({
level: 6,
id: router.currentRoute.value.query.lineId
diff --git a/src/views/system/ReportConfiguration/components/disposition.vue b/src/views/system/ReportConfiguration/components/disposition.vue
new file mode 100644
index 00000000..200d4e97
--- /dev/null
+++ b/src/views/system/ReportConfiguration/components/disposition.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 报告字典管理
+ 新增模版
+
+
+
+
+
+
+
diff --git a/src/views/system/ReportConfiguration/index.vue b/src/views/system/ReportConfiguration/index.vue
new file mode 100644
index 00000000..8ae4e6ec
--- /dev/null
+++ b/src/views/system/ReportConfiguration/index.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+