修改治理测试反馈问题

This commit is contained in:
GGJ
2025-01-07 16:33:37 +08:00
parent 51782b09c2
commit fbd26bc15b
3 changed files with 14 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
<div class="analyze-dvr" v-show="!isWaveCharts" :style="{ height: pageHeight.height }" v-loading="loading">
<DeviceTree @node-click="nodeClick" @init="nodeClick"></DeviceTree>
<div class="analyze-dvr-right" v-if="tableStore.table.params.deviceId">
<TableHeader datePicker showExport>
<TableHeader datePicker showExport>
<template v-slot:select>
<el-form-item label="事件类型">
@@ -90,7 +90,7 @@ const eventList = ref([{
label: '电压暂降'
},
{
value: 'Evt_Sys_IntrStr',
value: 'Evt_Sys_SwlStr',
label: '电压暂升'
},
{
@@ -114,7 +114,13 @@ const tableStore = new TableStore({
{ title: '事件描述', field: 'showName', },
{ title: '发生位置', field: 'evtParamPosition' },
{ title: '持续时间(s)', field: 'evtParamTm' },
{ title: '暂降深度', field: 'evtParamVVaDepth' },
{
title: '暂降(聚升)幅值(%)', field: 'evtParamVVaDepth', formatter: (row: any) => {
let a = row.cellValue.split('%')[0] - 0
console.log("🚀 ~ a:", a)
return a ? a.toFixed(2) : '/'
}
},
{ title: '发生时刻', field: 'startTime' },
{
title: '操作',
@@ -204,12 +210,13 @@ const tableStore = new TableStore({
tableStore.table.data.forEach((item: any) => {
item.loading = false
item.evtParamTm = item.evtParamTm.split('s')[0]
})
}
})
tableStore.table.params.type = 0
tableStore.table.params.eventType=''
tableStore.table.params.location=''
tableStore.table.params.eventType = ''
tableStore.table.params.location = ''
provide('tableStore', tableStore)
const nodeClick = async (e: anyObj) => {
// console.log("🚀 ~ nodeClick ~ e:", e)