修改表格序号以及分页序号数字问题

This commit is contained in:
GGJ
2024-12-09 09:22:43 +08:00
parent b0d71b41dc
commit 9b952f2016
94 changed files with 336 additions and 261 deletions

View File

@@ -41,7 +41,9 @@ const tableStore = new TableStore({
url: '/process-boot/flowable/task/myProcess',
method: 'GET',
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: 'procDefName', width: 200 },
{ title: '流程类别', field: 'category', width: 200 },
{ title: '流程版本', field: 'procDefVersion' },