电能质量问题-更换在线监测接口
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
multiple
|
multiple
|
||||||
collapse-tags
|
collapse-tags
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择评估类型"
|
placeholder="请选择超标指标"
|
||||||
>
|
>
|
||||||
<el-option v-for="item in exceeded" :key="item.id" :label="item.name" :value="item.id" />
|
<el-option v-for="item in exceeded" :key="item.id" :label="item.name" :value="item.id" />
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -27,14 +27,15 @@ import { ElMessage, ElMessageBox } from 'element-plus'
|
|||||||
import { useDictData } from '@/stores/dictData'
|
import { useDictData } from '@/stores/dictData'
|
||||||
// Steady_Statis
|
// Steady_Statis
|
||||||
const dictData = useDictData()
|
const dictData = useDictData()
|
||||||
const exceeded = dictData.getBasicData('Steady_Statis')
|
//字典获取超标指标
|
||||||
|
const exceeded = dictData.getBasicData('Indicator_Type')
|
||||||
const tableRef = ref()
|
const tableRef = ref()
|
||||||
const planAddRef = ref()
|
const planAddRef = ref()
|
||||||
const listFormRef = ref()
|
const listFormRef = ref()
|
||||||
const TableHeaderRef = ref()
|
const TableHeaderRef = ref()
|
||||||
|
|
||||||
const tableStore = new TableStore({
|
const tableStore = new TableStore({
|
||||||
url: '/supervision-boot/generalSurvey/getSurvey',
|
url: '/harmonic-boot/rmppartharmonicdetail/getRMpPartHarmonicDetail',
|
||||||
publicHeight: 65,
|
publicHeight: 65,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
column: [
|
column: [
|
||||||
@@ -47,13 +48,24 @@ const tableStore = new TableStore({
|
|||||||
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ field: 'orgName', title: '区域' },
|
{ field: 'barName', title: '母线名称', width: 170 },
|
||||||
{ field: 'subName', title: '变电站' },
|
{ field: 'dateList', title: '超标天数详情', width: 170 },
|
||||||
{ field: 'lineName', title: '监测点名称' },
|
{ field: 'loadType', title: '监测点对象类型', width: 170 },
|
||||||
{ field: 'voltageScale', title: '电压等级' },
|
{ field: 'measurementPointName', title: '监测点名称', width: 170 },
|
||||||
{ field: 'overDay', title: '总超标天数' },
|
{ field: 'objName', title: '监测点对象名称' , width: 170 },
|
||||||
{ field: 'overDays', title: '连续超标天数' },
|
{
|
||||||
|
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: '操作',
|
title: '操作',
|
||||||
width: '180',
|
width: '180',
|
||||||
@@ -66,7 +78,7 @@ const tableStore = new TableStore({
|
|||||||
title: '发起告警单',
|
title: '发起告警单',
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
disabled: row => {
|
disabled: row => {
|
||||||
return row.overDays <= 15
|
return row.alarmFlag != 1
|
||||||
},
|
},
|
||||||
icon: 'el-icon-EditPen',
|
icon: 'el-icon-EditPen',
|
||||||
render: 'confirmButton',
|
render: 'confirmButton',
|
||||||
@@ -84,7 +96,7 @@ const tableStore = new TableStore({
|
|||||||
type: 'primary',
|
type: 'primary',
|
||||||
icon: 'el-icon-Open',
|
icon: 'el-icon-Open',
|
||||||
disabled: row => {
|
disabled: row => {
|
||||||
return row.overDays > 15
|
return row.warningFlag != 1
|
||||||
},
|
},
|
||||||
render: 'confirmButton',
|
render: 'confirmButton',
|
||||||
popconfirm: {
|
popconfirm: {
|
||||||
@@ -104,24 +116,24 @@ const tableStore = new TableStore({
|
|||||||
tableStore.table.params.currentPage = tableStore.table.params.pageNum
|
tableStore.table.params.currentPage = tableStore.table.params.pageNum
|
||||||
},
|
},
|
||||||
loadCallback: () => {
|
loadCallback: () => {
|
||||||
tableStore.table.data = [
|
// tableStore.table.data = [
|
||||||
{
|
// {
|
||||||
orgName: '张家口',
|
// orgName: '张家口',
|
||||||
subName: '110kV马头山风电场',
|
// subName: '110kV马头山风电场',
|
||||||
lineName: '111口头线',
|
// lineName: '111口头线',
|
||||||
voltageScale: '110kV',
|
// voltageScale: '110kV',
|
||||||
overDay: '20',
|
// overDay: '20',
|
||||||
overDays: '10'
|
// overDays: '10'
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
orgName: '张家口',
|
// orgName: '张家口',
|
||||||
subName: '110kV韩家庄风电场',
|
// subName: '110kV韩家庄风电场',
|
||||||
lineName: '111缘韩一线',
|
// lineName: '111缘韩一线',
|
||||||
voltageScale: '110kV',
|
// voltageScale: '110kV',
|
||||||
overDay: '20',
|
// overDay: '20',
|
||||||
overDays: '16'
|
// overDays: '16'
|
||||||
}
|
// }
|
||||||
]
|
// ]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
<div class="default-main">
|
<div class="default-main">
|
||||||
<el-tabs v-model="activeName" type="border-card">
|
<el-tabs v-model="activeName" type="border-card">
|
||||||
<el-tab-pane label="在线监测" name="1">
|
<el-tab-pane label="在线监测" name="1">
|
||||||
<online />
|
<online v-if="activeName=='1'"/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="用户投诉" name="2">
|
<el-tab-pane label="用户投诉" name="2">
|
||||||
<complaints />
|
<complaints v-if="activeName=='2'"/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="现场测试问题" name="3">
|
<el-tab-pane label="现场测试问题" name="3">
|
||||||
<testQuestions/>
|
<testQuestions v-if="activeName=='3'"/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<!-- <el-tabs v-model="activeName" type="border-card">
|
<!-- <el-tabs v-model="activeName" type="border-card">
|
||||||
<el-tab-pane label="电能质量问题查询维护" name="1">
|
<el-tab-pane label="电能质量问题查询维护" name="1">
|
||||||
|
|||||||
Reference in New Issue
Block a user