From c47d524f9d5efc1c5dbac19c374129cc095d14c0 Mon Sep 17 00:00:00 2001
From: sjl <1716605279@qq.com>
Date: Fri, 25 Jul 2025 14:15:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/table/header/index.vue | 1 +
src/components/tree/pqs/pointTree.vue | 2 +-
.../terminal/ProgramManagement/index.vue | 4 +--
.../components/disposition.vue | 4 +--
.../terminal/TerminalManagement/index.vue | 4 +--
.../database/algorithm/components/form.vue | 17 ++++++++++---
.../pqs/database/case/components/drawer.vue | 4 ++-
.../pqs/database/case/components/form.vue | 25 ++++++++++++++-----
.../database/standard/components/addTree.vue | 10 +++++++-
.../pqs/database/stencil/components/form.vue | 14 ++++++++++-
.../area/getIntegrityData/index.vue | 13 +++++++---
.../terminalonlinerate/components/charts.vue | 4 +--
.../components/provinceDetails.vue | 4 +--
.../detailed/harmonicStatistics/index.vue | 1 +
.../online/shishishuju/spectrum.vue | 19 ++++++++------
.../runManage/monitoringPoints/index.vue | 2 +-
.../runManage/terminalLedger/index.vue | 4 +--
src/views/pqs/panorama/components/map.vue | 2 +-
.../monitoringPoint/online/navigation/map.vue | 4 +--
.../TerminalOperation/index.vue | 2 +-
.../operationsManagement/statistics/index.vue | 6 ++---
src/views/pqs/voltageSags/overview/index.vue | 9 ++++---
.../report/monitoringPointReport/index.vue | 6 +++++
.../report/regionalReports/index.vue | 6 +++++
24 files changed, 118 insertions(+), 49 deletions(-)
diff --git a/src/components/table/header/index.vue b/src/components/table/header/index.vue
index c6662fd8..a064f508 100644
--- a/src/components/table/header/index.vue
+++ b/src/components/table/header/index.vue
@@ -234,6 +234,7 @@ const setTheDate = (val: any) => {
}
// 导出
const onExport = () => {
+ console.log('导出')
tableStore.onTableAction('export', { showAllFlag: true })
}
diff --git a/src/components/tree/pqs/pointTree.vue b/src/components/tree/pqs/pointTree.vue
index eedaeb11..e7da3168 100644
--- a/src/components/tree/pqs/pointTree.vue
+++ b/src/components/tree/pqs/pointTree.vue
@@ -63,7 +63,7 @@ const loadData = () => {
form.statisticalType = classificationData.find((item: any) => item.id == form.statisticalType)
let nodeKey = ''
getTerminalTreeForFive(form).then(res => {
- console.log(res)
+ console.log('---',res)
if (obj.code == 'Power_Network') {
res.data = [
{
diff --git a/src/views/pqs/business/terminal/ProgramManagement/index.vue b/src/views/pqs/business/terminal/ProgramManagement/index.vue
index 4669913e..75d45618 100644
--- a/src/views/pqs/business/terminal/ProgramManagement/index.vue
+++ b/src/views/pqs/business/terminal/ProgramManagement/index.vue
@@ -78,7 +78,7 @@
投运
- 热备用
+ 检修
停运
@@ -198,7 +198,7 @@ const teriminaloption: any = ref([])
const teriminalstatusoption = ref([
{ name: '全部', id: '' },
{ name: '投运', id: 0 },
- { name: '热备用', id: 1 },
+ { name: '检修', id: 1 },
{ name: '停运', id: 2 }
])
const stateoption = ref([
diff --git a/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue b/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue
index 50342c14..c9075f05 100644
--- a/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue
+++ b/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue
@@ -29,7 +29,7 @@
投运
- 热备用
+ 检修
停运
@@ -69,7 +69,7 @@ const formInline = reactive({
const ids = ref([])
const options = [
{ value: '0', label: '投运' },
- { value: '1', label: '热备用' },
+ { value: '1', label: '检修' },
{ value: '2', label: '停运' }
]
const open = (e: any) => {
diff --git a/src/views/pqs/business/terminal/TerminalManagement/index.vue b/src/views/pqs/business/terminal/TerminalManagement/index.vue
index 57e34f45..cc757040 100644
--- a/src/views/pqs/business/terminal/TerminalManagement/index.vue
+++ b/src/views/pqs/business/terminal/TerminalManagement/index.vue
@@ -114,7 +114,7 @@
投运
- 热备用
+ 检修
停运
@@ -172,7 +172,7 @@ const teriminaloption: any = ref([])
const teriminalstatusoption = ref([
{ name: '全部', id: '' },
{ name: '投运', id: 0 },
- { name: '热备用', id: 1 },
+ { name: '检修', id: 1 },
{ name: '停运', id: 2 }
])
const stateoption = ref([
diff --git a/src/views/pqs/database/algorithm/components/form.vue b/src/views/pqs/database/algorithm/components/form.vue
index 643742f2..7057d1b2 100644
--- a/src/views/pqs/database/algorithm/components/form.vue
+++ b/src/views/pqs/database/algorithm/components/form.vue
@@ -8,11 +8,11 @@
@clear="TreeList = {}" />
-
+
-
+
@@ -20,7 +20,7 @@
-
+
@@ -177,5 +177,14 @@ const getTheTree = () => {
})
}
+
+const handleInput = (field: string, value: string) => {
+ // 过滤空格
+ const filteredValue = value.replace(/\s/g, '')
+ if (filteredValue !== value) {
+ form[field] = filteredValue
+ }
+}
+
defineExpose({ open })
diff --git a/src/views/pqs/database/case/components/drawer.vue b/src/views/pqs/database/case/components/drawer.vue
index 1cb2ee72..56414ab0 100644
--- a/src/views/pqs/database/case/components/drawer.vue
+++ b/src/views/pqs/database/case/components/drawer.vue
@@ -64,9 +64,11 @@ const open = (row: any) => {
}
// 上传
const choose = (e: any) => {
- ElMessage.info('上传中,请稍等...')
+ const loadingMessage = ElMessage.info({ message: '上传中,请稍等...', duration: 0 }); // duration: 0 表示不自动关闭
+
uploadFile(e.raw, '/supervision/').then((row: any) => {
addStandardCase({ caseUrl: row.data.name }).then(res => {
+ loadingMessage.close(); // 关闭 "上传中" 提示
ElMessage.success('上传成功!')
queryStandardCase().then(res => {
open(res.data)
diff --git a/src/views/pqs/database/case/components/form.vue b/src/views/pqs/database/case/components/form.vue
index 45a33ef3..d2dfc607 100644
--- a/src/views/pqs/database/case/components/form.vue
+++ b/src/views/pqs/database/case/components/form.vue
@@ -4,7 +4,7 @@
-
+
+ type="textarea" maxlength="32" show-word-limit @input="handleInput('location', $event)"/>
+ type="textarea" maxlength="32" show-word-limit @input="handleInput('process', $event)"/>
+ type="textarea" maxlength="32" show-word-limit @input="handleInput('measures', $event)"/>
+ type="textarea" maxlength="32" show-word-limit @input="handleInput('effect', $event)"/>
@@ -38,9 +38,13 @@
-
+
+
@@ -171,6 +175,15 @@ const handleClose = () => {
dialogVisible.value = false
}
+
+const handleInput = (field: string, value: string) => {
+ // 过滤空格
+ const filteredValue = value.replace(/\s/g, '')
+ if (filteredValue !== value) {
+ form[field] = filteredValue
+ }
+}
+
defineExpose({ open })