From dd665ee6fe8590e2571e617c842e1b642175f9d9 Mon Sep 17 00:00:00 2001
From: zhujiyan <17812234322@163.com>
Date: Wed, 22 May 2024 10:09:40 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=83=BD=E8=B4=A8=E9=87=8F=E9=97=AE?=
=?UTF-8?q?=E9=A2=98-=E6=9B=B4=E6=8D=A2=E5=9C=A8=E7=BA=BF=E7=9B=91?=
=?UTF-8?q?=E6=B5=8B=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../electricalEnergy/components1/online.vue | 72 +++++++++++--------
.../pqs/supervise/electricalEnergy/index.vue | 6 +-
2 files changed, 45 insertions(+), 33 deletions(-)
diff --git a/src/views/pqs/supervise/electricalEnergy/components1/online.vue b/src/views/pqs/supervise/electricalEnergy/components1/online.vue
index c25bc538..4dce0c97 100644
--- a/src/views/pqs/supervise/electricalEnergy/components1/online.vue
+++ b/src/views/pqs/supervise/electricalEnergy/components1/online.vue
@@ -9,7 +9,7 @@
multiple
collapse-tags
clearable
- placeholder="请选择评估类型"
+ placeholder="请选择超标指标"
>
@@ -27,14 +27,15 @@ import { ElMessage, ElMessageBox } from 'element-plus'
import { useDictData } from '@/stores/dictData'
// Steady_Statis
const dictData = useDictData()
-const exceeded = dictData.getBasicData('Steady_Statis')
+//字典获取超标指标
+const exceeded = dictData.getBasicData('Indicator_Type')
const tableRef = ref()
const planAddRef = ref()
const listFormRef = ref()
const TableHeaderRef = ref()
const tableStore = new TableStore({
- url: '/supervision-boot/generalSurvey/getSurvey',
+ url: '/harmonic-boot/rmppartharmonicdetail/getRMpPartHarmonicDetail',
publicHeight: 65,
method: 'POST',
column: [
@@ -47,13 +48,24 @@ const tableStore = new TableStore({
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
- { field: 'orgName', title: '区域' },
- { field: 'subName', title: '变电站' },
- { field: 'lineName', title: '监测点名称' },
- { field: 'voltageScale', title: '电压等级' },
- { field: 'overDay', title: '总超标天数' },
- { field: 'overDays', title: '连续超标天数' },
-
+ { field: 'barName', title: '母线名称', width: 170 },
+ { field: 'dateList', title: '超标天数详情', width: 170 },
+ { field: 'loadType', title: '监测点对象类型', width: 170 },
+ { field: 'measurementPointName', title: '监测点名称', width: 170 },
+ { field: 'objName', title: '监测点对象名称' , width: 170 },
+ {
+ field: 'overLimitContinuous',
+ title: '连续超标天数',
+ width: 170
+ },
+ {
+ field: 'overLimitDay',
+ title: '超标天数',
+ width: 170
+ },
+ { field: 'overLimitrate', title: '超标占比' , width: 170},
+ { field: 'sustationName', title: '变电站名称' , width: 170},
+ { field: 'voltageLevel', title: '电压等级' , width: 170 },
{
title: '操作',
width: '180',
@@ -66,7 +78,7 @@ const tableStore = new TableStore({
title: '发起告警单',
type: 'warning',
disabled: row => {
- return row.overDays <= 15
+ return row.alarmFlag != 1
},
icon: 'el-icon-EditPen',
render: 'confirmButton',
@@ -84,7 +96,7 @@ const tableStore = new TableStore({
type: 'primary',
icon: 'el-icon-Open',
disabled: row => {
- return row.overDays > 15
+ return row.warningFlag != 1
},
render: 'confirmButton',
popconfirm: {
@@ -104,24 +116,24 @@ const tableStore = new TableStore({
tableStore.table.params.currentPage = tableStore.table.params.pageNum
},
loadCallback: () => {
- tableStore.table.data = [
- {
- orgName: '张家口',
- subName: '110kV马头山风电场',
- lineName: '111口头线',
- voltageScale: '110kV',
- overDay: '20',
- overDays: '10'
- },
- {
- orgName: '张家口',
- subName: '110kV韩家庄风电场',
- lineName: '111缘韩一线',
- voltageScale: '110kV',
- overDay: '20',
- overDays: '16'
- }
- ]
+ // tableStore.table.data = [
+ // {
+ // orgName: '张家口',
+ // subName: '110kV马头山风电场',
+ // lineName: '111口头线',
+ // voltageScale: '110kV',
+ // overDay: '20',
+ // overDays: '10'
+ // },
+ // {
+ // orgName: '张家口',
+ // subName: '110kV韩家庄风电场',
+ // lineName: '111缘韩一线',
+ // voltageScale: '110kV',
+ // overDay: '20',
+ // overDays: '16'
+ // }
+ // ]
}
})
diff --git a/src/views/pqs/supervise/electricalEnergy/index.vue b/src/views/pqs/supervise/electricalEnergy/index.vue
index 2bc609ef..4077fc63 100644
--- a/src/views/pqs/supervise/electricalEnergy/index.vue
+++ b/src/views/pqs/supervise/electricalEnergy/index.vue
@@ -2,13 +2,13 @@
-
+
-
+
-
+