暂降页面调整

This commit is contained in:
2024-09-24 11:10:57 +08:00
parent 0f95f3ebd3
commit 5bfa895744

View File

@@ -38,17 +38,6 @@ const tableStore: any = new TableStore({
// { width: '60', type: 'checkbox', fixed: 'left' },
{ title: '序号', type: 'seq', width: 80 },
{ field: 'startTime', title: '发生时刻', minWidth: 170 },
{
field: 'gcName',
title: '工程名称',
minWidth: 170,
formatter: (row: any) => {
row.cellValue = row.cellValue ? row.cellValue : '/'
return row.cellValue
}
},
{ field: 'projectName', title: '项目名称', minWidth: 170 },
{ field: 'itemName', title: '测试项名称', minWidth: 170 },
{ field: 'showName', title: '事件描述', minWidth: 170 },
{
field: 'phaseType',
@@ -69,7 +58,7 @@ const tableStore: any = new TableStore({
}
},
{
field: 'amplitude',
field: 'featureAmplitude',
title: '暂降幅值(%)',
minWidth: 100,
formatter: (row: any) => {
@@ -94,7 +83,7 @@ const tableStore: any = new TableStore({
// },
click: async row => {
row.loading = true
await analyseWave(row.eventId)
await analyseWave(row.id)
.then(res => {
row.loading = false
if (res != undefined) {