修改治理测试反馈问题
This commit is contained in:
@@ -118,7 +118,7 @@ const tableStore = new TableStore({
|
|||||||
{ title: '事件发生位置', field: 'evtParamPosition', align: 'center' },
|
{ title: '事件发生位置', field: 'evtParamPosition', align: 'center' },
|
||||||
{ title: '相别', field: 'evtParamPhase', align: 'center' },
|
{ title: '相别', field: 'evtParamPhase', align: 'center' },
|
||||||
{ title: '持续时间(s)', field: 'evtParamTm', align: 'center' },
|
{ title: '持续时间(s)', field: 'evtParamTm', align: 'center' },
|
||||||
{ title: '暂降深度(%)', field: 'evtParamVVaDepth', align: 'center' },
|
{ title: '暂降(聚升)幅值(%)',minWidth: 100, field: 'evtParamVVaDepth', align: 'center' },
|
||||||
{ title: '发生时刻', field: 'startTime', align: 'center', width: '240' },
|
{ title: '发生时刻', field: 'startTime', align: 'center', width: '240' },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="analyze-dvr" v-show="!isWaveCharts" :style="{ height: pageHeight.height }" v-loading="loading">
|
<div class="analyze-dvr" v-show="!isWaveCharts" :style="{ height: pageHeight.height }" v-loading="loading">
|
||||||
<DeviceTree @node-click="nodeClick" @init="nodeClick"></DeviceTree>
|
<DeviceTree @node-click="nodeClick" @init="nodeClick"></DeviceTree>
|
||||||
<div class="analyze-dvr-right" v-if="tableStore.table.params.deviceId">
|
<div class="analyze-dvr-right" v-if="tableStore.table.params.deviceId">
|
||||||
<TableHeader datePicker showExport>
|
<TableHeader datePicker showExport>
|
||||||
<template v-slot:select>
|
<template v-slot:select>
|
||||||
|
|
||||||
<el-form-item label="事件类型">
|
<el-form-item label="事件类型">
|
||||||
@@ -90,7 +90,7 @@ const eventList = ref([{
|
|||||||
label: '电压暂降'
|
label: '电压暂降'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'Evt_Sys_IntrStr',
|
value: 'Evt_Sys_SwlStr',
|
||||||
label: '电压暂升'
|
label: '电压暂升'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -114,7 +114,13 @@ const tableStore = new TableStore({
|
|||||||
{ title: '事件描述', field: 'showName', },
|
{ title: '事件描述', field: 'showName', },
|
||||||
{ title: '发生位置', field: 'evtParamPosition' },
|
{ title: '发生位置', field: 'evtParamPosition' },
|
||||||
{ title: '持续时间(s)', field: 'evtParamTm' },
|
{ 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: '发生时刻', field: 'startTime' },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
@@ -204,12 +210,13 @@ const tableStore = new TableStore({
|
|||||||
tableStore.table.data.forEach((item: any) => {
|
tableStore.table.data.forEach((item: any) => {
|
||||||
item.loading = false
|
item.loading = false
|
||||||
item.evtParamTm = item.evtParamTm.split('s')[0]
|
item.evtParamTm = item.evtParamTm.split('s')[0]
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
tableStore.table.params.type = 0
|
tableStore.table.params.type = 0
|
||||||
tableStore.table.params.eventType=''
|
tableStore.table.params.eventType = ''
|
||||||
tableStore.table.params.location=''
|
tableStore.table.params.location = ''
|
||||||
provide('tableStore', tableStore)
|
provide('tableStore', tableStore)
|
||||||
const nodeClick = async (e: anyObj) => {
|
const nodeClick = async (e: anyObj) => {
|
||||||
// console.log("🚀 ~ nodeClick ~ e:", e)
|
// console.log("🚀 ~ nodeClick ~ e:", e)
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ const tableStore: any = new TableStore({
|
|||||||
{
|
{
|
||||||
field: 'featureAmplitude',
|
field: 'featureAmplitude',
|
||||||
title: '暂降(聚升)幅值(%)',
|
title: '暂降(聚升)幅值(%)',
|
||||||
minWidth: 100,
|
width: 100,
|
||||||
formatter: (row: any) => {
|
formatter: (row: any) => {
|
||||||
row.cellValue = row.cellValue + '' ? row.cellValue.toFixed(2) : '/'
|
row.cellValue = row.cellValue + '' ? row.cellValue.toFixed(2) : '/'
|
||||||
if (String(row.cellValue).split('.')[1] == '00') {
|
if (String(row.cellValue).split('.')[1] == '00') {
|
||||||
|
|||||||
Reference in New Issue
Block a user