修改治理测试反馈问题
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: '操作',
|
||||||
|
|||||||
@@ -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,6 +210,7 @@ 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]
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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