暂降页面调整
This commit is contained in:
@@ -38,17 +38,6 @@ const tableStore: any = new TableStore({
|
|||||||
// { width: '60', type: 'checkbox', fixed: 'left' },
|
// { width: '60', type: 'checkbox', fixed: 'left' },
|
||||||
{ title: '序号', type: 'seq', width: 80 },
|
{ title: '序号', type: 'seq', width: 80 },
|
||||||
{ field: 'startTime', title: '发生时刻', minWidth: 170 },
|
{ 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: 'showName', title: '事件描述', minWidth: 170 },
|
||||||
{
|
{
|
||||||
field: 'phaseType',
|
field: 'phaseType',
|
||||||
@@ -69,7 +58,7 @@ const tableStore: any = new TableStore({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'amplitude',
|
field: 'featureAmplitude',
|
||||||
title: '暂降幅值(%)',
|
title: '暂降幅值(%)',
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
formatter: (row: any) => {
|
formatter: (row: any) => {
|
||||||
@@ -94,7 +83,7 @@ const tableStore: any = new TableStore({
|
|||||||
// },
|
// },
|
||||||
click: async row => {
|
click: async row => {
|
||||||
row.loading = true
|
row.loading = true
|
||||||
await analyseWave(row.eventId)
|
await analyseWave(row.id)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
row.loading = false
|
row.loading = false
|
||||||
if (res != undefined) {
|
if (res != undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user