修改表格序号以及分页序号数字问题
This commit is contained in:
@@ -42,7 +42,9 @@ const tableStore = new TableStore({
|
||||
method: 'POST',
|
||||
|
||||
column: [
|
||||
{ title: '序号', type: 'seq', width: '60' },
|
||||
{ title: '序号', width: 80,formatter: (row: any) => {
|
||||
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
|
||||
} },
|
||||
{ title: '名称', field: 'name' },
|
||||
{ title: '编码', field: 'code' },
|
||||
{ title: '开启等级', field: 'openLevelName' },
|
||||
|
||||
Reference in New Issue
Block a user