联调 干扰源用户 谐波普测页面

This commit is contained in:
GGJ
2024-03-25 20:29:33 +08:00
parent 7e538fed6b
commit cc1edc0e96
15 changed files with 1247 additions and 534 deletions

View File

@@ -142,9 +142,18 @@ const tableStore = new TableStore({
{
field: 'testResults',
title: '检测结果',
formatter(row: any) {
return row.cellValue == 0 ? '未展开' : '已展开'
render: 'tag',
custom: {
0: 'warning',
1: 'success'
},
replaceValue: {
0: '未展开',
1: '已展开'
}
// formatter(row: any) {
// return row.cellValue == 0 ? '未展开' : '已展开'
// }
},
{ field: 'nextInspectionTime', title: '下次检测时间' },
{

View File

@@ -161,8 +161,14 @@ const tableStore = new TableStore({
{
field: 'testResults',
title: '检测结果',
formatter(row: any) {
return row.cellValue == 0 ? '未展开' : '已展开'
render: 'tag',
custom: {
0: 'warning',
1: 'success'
},
replaceValue: {
0: '未展开',
1: '已展开'
}
},
{ field: 'inspectionTime', title: '检测时间' },