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
|
|
@ -698,10 +698,15 @@ watch(
|
|||
|
||||
<div class="col-4 flex justify-center app-text-muted">
|
||||
{{
|
||||
$t('general.recordsPage', {
|
||||
resultcurrentPage: branch?.length,
|
||||
total: totalBranch,
|
||||
})
|
||||
$q.screen.gt.sm
|
||||
? $t('general.recordsPage', {
|
||||
resultcurrentPage: branch?.length,
|
||||
total: totalBranch,
|
||||
})
|
||||
: $t('general.ofPage', {
|
||||
current: branch?.length,
|
||||
total: totalBranch,
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
<div class="col-4 flex justify-end">
|
||||
|
|
|
|||
|
|
@ -1749,10 +1749,17 @@ const emptyCreateDialog = ref(false);
|
|||
|
||||
<div class="col-4 flex justify-center app-text-muted">
|
||||
{{
|
||||
$t('general.recordsPage', {
|
||||
resultcurrentPage: listCustomer.length,
|
||||
total: statsCustomerType.PERS + statsCustomerType.CORP,
|
||||
})
|
||||
$q.screen.gt.sm
|
||||
? $t('general.recordsPage', {
|
||||
resultcurrentPage: listCustomer.length,
|
||||
total:
|
||||
statsCustomerType.PERS + statsCustomerType.CORP,
|
||||
})
|
||||
: $t('general.ofPage', {
|
||||
current: listCustomer.length,
|
||||
total:
|
||||
statsCustomerType.PERS + statsCustomerType.CORP,
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
|
||||
|
|
@ -1844,10 +1851,15 @@ const emptyCreateDialog = ref(false);
|
|||
|
||||
<div class="col-4 flex justify-center app-text-muted">
|
||||
{{
|
||||
$t('general.recordsPage', {
|
||||
resultcurrentPage: listEmployee.length,
|
||||
total: employeeStats,
|
||||
})
|
||||
$q.screen.gt.sm
|
||||
? $t('general.recordsPage', {
|
||||
resultcurrentPage: listEmployee.length,
|
||||
total: employeeStats,
|
||||
})
|
||||
: $t('general.ofPage', {
|
||||
current: listEmployee.length,
|
||||
total: employeeStats,
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue