feat : 表格分页时序号连续

This commit is contained in:
2024-08-17 11:24:43 +08:00
parent 09c51f13fc
commit b6b1c8a3ff
14 changed files with 79 additions and 28 deletions

View File

@@ -374,7 +374,10 @@ const tableConfig = reactive({
type: 'index',
label: '序号',
width: '80',
align: 'center'
align: 'center',
index: index => {
return (tableIns.value.getQuery().pageNum - 1) * tableIns.value.getQuery().pageSize + index + 1
}
},
{
prop: 'time',

View File

@@ -165,6 +165,9 @@ const tableConfig = reactive({
label: '序号',
align: 'center',
width:85,
index: index => {
return (tableIns.value.getQuery().pageNum - 1) * tableIns.value.getQuery().pageSize + index + 1
}
},
{
prop: 'affiliatedCompany',

View File

@@ -247,7 +247,10 @@ const tableConfig = reactive({
type: 'index',
label: '序号',
align: 'center',
width:'80'
width:'80',
index: index => {
return (tableIns.value.getQuery().pageNum - 1) * tableIns.value.getQuery().pageSize + index + 1
}
},
{
prop: 'time',