修改治理测试反馈问题

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

@@ -118,7 +118,7 @@ const tableStore = new TableStore({
{ title: '事件发生位置', field: 'evtParamPosition', align: 'center' },
{ title: '相别', field: 'evtParamPhase', 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: '操作',

View File

@@ -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)

View File

@@ -63,7 +63,7 @@ const tableStore: any = new TableStore({
{
field: 'featureAmplitude',
title: '暂降(聚升)幅值(%)',
minWidth: 100,
width: 100,
formatter: (row: any) => {
row.cellValue = row.cellValue + '' ? row.cellValue.toFixed(2) : '/'
if (String(row.cellValue).split('.')[1] == '00') {