refactor: update screen.sm pagination display for various management pages
This commit is contained in:
parent
3331afaaa3
commit
5c5e9fac63
15 changed files with 181 additions and 69 deletions
|
|
@ -2482,10 +2482,15 @@ watch(
|
|||
|
||||
<div class="col-4 row justify-center app-text-muted">
|
||||
{{
|
||||
$t('general.recordsPage', {
|
||||
resultcurrentPage: productGroup?.length,
|
||||
total: totalGroup,
|
||||
})
|
||||
$q.screen.gt.sm
|
||||
? $t('general.recordsPage', {
|
||||
resultcurrentPage: productGroup?.length,
|
||||
total: totalGroup,
|
||||
})
|
||||
: $t('general.ofPage', {
|
||||
current: productGroup?.length,
|
||||
total: totalGroup,
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
|
||||
|
|
@ -3186,13 +3191,21 @@ watch(
|
|||
|
||||
<div class="col-4 row justify-center app-text-muted">
|
||||
{{
|
||||
$t('general.recordsPage', {
|
||||
resultcurrentPage:
|
||||
productAndServiceTab === 'product'
|
||||
? product?.length
|
||||
: service?.length,
|
||||
total: total,
|
||||
})
|
||||
$q.screen.gt.sm
|
||||
? $t('general.recordsPage', {
|
||||
resultcurrentPage:
|
||||
productAndServiceTab === 'product'
|
||||
? product?.length
|
||||
: service?.length,
|
||||
total: total,
|
||||
})
|
||||
: $t('general.ofPage', {
|
||||
current:
|
||||
productAndServiceTab === 'product'
|
||||
? product?.length
|
||||
: service?.length,
|
||||
total: total,
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
<div class="col-4 row justify-end">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue