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

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

View File

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