修改 电能质量问题

This commit is contained in:
GGJ
2024-04-08 11:24:45 +08:00
parent 81a1e38344
commit ec6dec3eef
5 changed files with 57 additions and 7 deletions

View File

@@ -125,6 +125,14 @@ export function archive(data) {
}
// device-boot
//稳态指标超标在线监测超标问题详情
export function getRMpPartHarmonicDetail(data) {
return createAxios({
url: '/harmonic-boot/rmppartharmonicdetail/getRMpPartHarmonicDetail',
method: 'POST',
data
})
}
//告警明细查看(主配网)
export function getAllAlarmDetailList(data) {
return createAxios({
@@ -182,4 +190,3 @@ export function uploadFile(data) {
data
})
}

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1712543089013" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5255" width="48" height="48" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M983.964 953.145 846.307 953.145c-21.721 0-39.33-17.575-39.33-39.249L806.977 796.141c0-21.677 17.609-39.249 39.33-39.249l39.33 0L885.637 580.263c0-21.679-17.607-39.251-39.33-39.251L531.664 541.012l0 215.88 39.332 0c21.721 0 39.33 17.572 39.33 39.249l0 117.756c0 21.674-17.609 39.249-39.33 39.249L433.34 953.146c-21.723 0-39.33-17.575-39.33-39.249L394.01 796.141c0-21.677 17.607-39.249 39.33-39.249l39.33 0 0-215.88L177.693 541.012c-21.721 0-39.33 17.572-39.33 39.251l0 176.629 39.33 0c21.721 0 39.33 17.572 39.33 39.249l0 117.756c0 21.674-17.609 39.249-39.33 39.249L40.036 953.146c-21.721 0-39.33-17.575-39.33-39.249L0.706 796.141c0-21.677 17.609-39.249 39.33-39.249l39.33 0L79.366 560.636c0-43.355 35.219-78.502 78.663-78.502L472.67 482.134 472.67 266.257l-39.33 0c-21.723 0-39.33-17.575-39.33-39.253L394.01 109.252c0-21.679 17.607-39.251 39.33-39.251l137.657 0c21.721 0 39.33 17.572 39.33 39.251l0 117.751c0 21.679-17.609 39.253-39.33 39.253l-39.332 0 0 215.878 334.309 0c43.441 0 78.66 35.147 78.66 78.502l0 196.255 39.33 0c21.721 0 39.33 17.572 39.33 39.249l0 117.756C1023.294 935.571 1005.684 953.145 983.964 953.145z" fill="#2c2c2c" p-id="5256"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1712543518767" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10179" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><path d="M213.3504 126.3104a1.6896 1.6896 0 0 0-1.7408 1.6896v768c0 0.9216 0.768 1.6896 1.7408 1.6896h597.2992a1.6896 1.6896 0 0 0 1.7408-1.6896v-768a1.6896 1.6896 0 0 0-1.7408-1.6896H213.3504zM129.6896 128c0-46.1824 37.4784-83.6096 83.6608-83.6096h597.2992c46.1824 0 83.6608 37.376 83.6608 83.6096v768c0 46.1824-37.4784 83.6096-83.6608 83.6096H213.3504A83.6096 83.6096 0 0 1 129.6896 896v-768z" p-id="10180" fill="#2c2c2c"></path><path d="M704 339.6096h-256v-81.92h256v81.92zM704 552.96h-256V471.04h256v81.92zM704 766.3104h-256v-81.92h256v81.92zM320 341.3504A42.6496 42.6496 0 1 0 320 256a42.6496 42.6496 0 0 0 0 85.3504zM320 554.6496a42.6496 42.6496 0 1 0 0-85.2992 42.6496 42.6496 0 0 0 0 85.2992zM320 768a42.6496 42.6496 0 1 0 0-85.3504 42.6496 42.6496 0 0 0 0 85.3504z" p-id="10181" fill="#2c2c2c"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -7,7 +7,7 @@
</el-form-item>
<el-form-item label="问题来源" prop="problemSources">
<el-select v-model="addData.problemSources" collapse-tags clearable placeholder="请选择问题来源">
<el-select v-model="addData.problemSources" clearable placeholder="请选择问题来源">
<el-option
v-for="item in problemData"
:key="item.code"
@@ -36,7 +36,7 @@
<DatePicker ref="DateRef" />
</el-form-item>
<el-form-item label="稳态指标">
<el-select v-model="harmonicTypes" multiple placeholder="请选择稳态指标">
<el-select v-model="harmonicTypes" multiple collapse-tags placeholder="请选择稳态指标">
<el-option v-for="item in harmonicTypesList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
@@ -52,7 +52,23 @@
<vxe-column type="checkbox" width="60"></vxe-column>
<vxe-column field="measurementPointName" title="监测点名称"></vxe-column>
<vxe-column field="alarmType" title="告警类型" :formatter="formatter"></vxe-column>
<vxe-column field="alarmLastTime" title="告警持续时间(s)"></vxe-column>
<vxe-column field="overLimitrate" title="越跟天级占以">
<template #default="{ row }">
<el-dropdown>
<span class="el-dropdown-link">
{{ row.overLimitrate.toFixed(3) }}
<el-icon class="el-icon--right">
<arrow-down />
</el-icon>
</span>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item v-for="item in row?.dateList">{{ item }}</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</template>
</vxe-column>
</vxe-table>
<div style="display: flex; justify-content: center; margin-top: 10px">
@@ -284,6 +300,7 @@ import { useDictData } from '@/stores/dictData'
import { defaultAttribute } from '@/components/table/defaultAttribute'
import Area from '@/components/form/area/index.vue'
import DatePicker from '@/components/form/datePicker/index.vue'
import { ArrowDown } from '@element-plus/icons-vue'
const emit = defineEmits(['handleClose', 'onSubmit'])
const dictData = useDictData()
const problemData = dictData.getBasicData('Problem_Sources')
@@ -291,7 +308,7 @@ const alarmList = dictData.getBasicData('alarm_Type')
const Voltage = dictData.getBasicData('Dev_Voltage')
const userTypeData = dictData.getBasicData('User_Category')
import {
getAllAlarmDetailList,
getRMpPartHarmonicDetail,
querySurveyPlanName,
querySurveyPlanOnQuestion,
getGenerateElectricityUserList,
@@ -423,7 +440,7 @@ const OnlineMonitoring = () => {
// 在线监测告警查询
const searchOnLine = () => {
isLoading1.value = true
getAllAlarmDetailList({
getRMpPartHarmonicDetail({
harmonicTypes: harmonicTypes.value,
rate: rate.value * 0.01,
startTime: DateRef.value.timeValue[0],
@@ -433,6 +450,7 @@ const searchOnLine = () => {
onlineAddData.value = res.data
})
}
// 普通监测超标问题新增
const queryPlanName = () => {
querySurveyPlanName({
@@ -502,4 +520,11 @@ const searchFnComplain = () => {
const userAddProblem = () => {}
onMounted(() => {})
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped>
.el-dropdown-link {
cursor: pointer;
color: var(--el-color-primary) !important;
display: flex;
align-items: center;
}
</style>

View File

@@ -0,0 +1,16 @@
<template>
<div class="default-main" :style="layout">123</div>
</template>
<script setup lang="ts">
import { onMounted, reactive, ref, provide } from 'vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
name: 'Workflow/Designer/tools'
})
const layout = mainHeight(20)
</script>
<style lang="scss" scoped></style>