修改云南测试用例

This commit is contained in:
guanj
2025-07-29 19:00:54 +08:00
parent 24c590478e
commit cc47d9b02c
22 changed files with 531 additions and 302 deletions

View File

@@ -120,7 +120,7 @@ const tableStore = new TableStore({
{ field: 'gdName', title: '供电公司', minWidth: '120' },
{ field: 'subName', title: '变电站', minWidth: '150' },
{ field: 'ip', title: '网络参数', minWidth: '110' },
{ field: 'scale', title: '电压等级', minWidth: '90' },
{ field: 'scale', title: '电压等级', minWidth: '110' },
{
field: 'advanceType',
title: '暂降类型',
@@ -140,7 +140,7 @@ const tableStore = new TableStore({
{
field: 'eventType',
title: '暂态统计类型',
minWidth: '100',
minWidth: '120',
formatter: (row: any) => {
return eventList.filter(item => item.id === row.cellValue)[0]?.name
}
@@ -153,7 +153,7 @@ const tableStore = new TableStore({
{
field: 'featureAmplitude',
title: '暂降幅值(%)',
minWidth: '90',
minWidth: '110',
formatter: (row: any) => {
return (row.cellValue * 100).toFixed(2)
}
@@ -161,14 +161,14 @@ const tableStore = new TableStore({
{
field: 'eventDescribe',
title: '暂降深度(%)',
minWidth: '90',
minWidth: '110',
formatter: (row: any) => {
let data: any = (100 - row.row.featureAmplitude * 100).toFixed(2)
return data >= 0 ? data : '/'
}
},
{ field: 'duration', title: '持续时间(s)', minWidth: '80' },
{ field: 'duration', title: '持续时间(s)', minWidth: '100' },
{
title: '操作',

View File

@@ -252,27 +252,27 @@ const tableStore = new TableStore({
return row.cellValue == 3.14159 ? '暂无数据' : row.cellValue.toFixed(2)
}
},
{
title: '评估',
field: 'valueOver',
align: 'center',
effect: 'dark',
render: 'tag',
custom: {
null: 'info',
0: 'danger',
1: 'success',
2: 'primary',
3: 'danger'
},
replaceValue: {
null: '暂无评估',
0: '暂无评估',
1: '优秀',
2: '合格',
3: '不合格'
}
}
// {
// title: '评估',
// field: 'valueOver',
// align: 'center',
// effect: 'dark',
// render: 'tag',
// custom: {
// null: 'info',
// 0: 'danger',
// 1: 'success',
// 2: 'primary',
// 3: 'danger'
// },
// replaceValue: {
// null: '暂无评估',
// 0: '暂无评估',
// 1: '优秀',
// 2: '合格',
// 3: '不合格'
// }
// }
],
beforeSearchFun: () => {
tableStore.table.params.deptIndex = formData.value.deptIndex