This commit is contained in:
sjl
2025-09-11 14:48:34 +08:00
parent 47adb54dee
commit 868463aef9
3 changed files with 17 additions and 6 deletions

View File

@@ -30,6 +30,14 @@ const tableStore = new TableStore({
{
title: '典型设备',
children: [
{
field: 'index',
title: '序号',
width: '80',
formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
{ field: 'name', title: '名称',minWidth: 200 },
{ field: 'voltage', title: '电压等级',minWidth: 100 },
{ field: 'capacity', title: '容量',minWidth: 100 }

View File

@@ -27,6 +27,14 @@ const tableStore = new TableStore({
{
title: '谐波源',
children: [
{
field: 'index',
title: '序号',
width: '80',
formatter: (row: any) => {
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
}
},
{ field: 'name', title: '名称',minWidth: 200 },
{ field: 'voltage', title: '电压等级',minWidth: 200 },
{ field: 'capacity', title: '容量',minWidth: 200 }