fix: breadcrumbs i18n
This commit is contained in:
parent
457217a257
commit
5cd2afbd69
4 changed files with 9 additions and 4 deletions
|
|
@ -186,6 +186,7 @@ onMounted(async () => {
|
|||
utilsStore.currentTitle.path = [
|
||||
{
|
||||
text: 'branchManagementCaption',
|
||||
i18n: true,
|
||||
handler: () => {
|
||||
fieldSelectedBranch.value.value = 'branchHQLabel';
|
||||
currentHq.value = {
|
||||
|
|
|
|||
|
|
@ -632,7 +632,9 @@ function openImageDialog() {
|
|||
|
||||
onMounted(async () => {
|
||||
utilsStore.currentTitle.title = 'personnelManagement';
|
||||
utilsStore.currentTitle.path = [{ text: 'personnelManagementCaption' }];
|
||||
utilsStore.currentTitle.path = [
|
||||
{ text: 'personnelManagementCaption', i18n: true },
|
||||
];
|
||||
modeView.value = $q.screen.lt.md ? true : false;
|
||||
|
||||
await fetchUserList();
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ async function init() {
|
|||
utilsStore.currentTitle.path = [
|
||||
{
|
||||
text: 'customerManagementCaption',
|
||||
i18n: true,
|
||||
handler: () => router.push('/customer-management'),
|
||||
},
|
||||
];
|
||||
|
|
@ -547,8 +548,8 @@ function createEmployeeForm() {
|
|||
? customerStats.map((v) => ({
|
||||
count:
|
||||
v.name === 'CORP'
|
||||
? (statsCustomerType?.CORP ?? 0)
|
||||
: (statsCustomerType?.PERS ?? 0),
|
||||
? statsCustomerType?.CORP ?? 0
|
||||
: statsCustomerType?.PERS ?? 0,
|
||||
label:
|
||||
v.name === 'CORP'
|
||||
? 'customerLegalEntity'
|
||||
|
|
@ -1536,7 +1537,7 @@ function createEmployeeForm() {
|
|||
{
|
||||
icon: 'mdi-clock-outline',
|
||||
value: props.row.dateOfBirth
|
||||
? (calculateAge(props.row.dateOfBirth) ?? '')
|
||||
? calculateAge(props.row.dateOfBirth) ?? ''
|
||||
: '',
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1272,6 +1272,7 @@ onMounted(async () => {
|
|||
utilsStore.currentTitle.path = [
|
||||
{
|
||||
text: 'manage',
|
||||
i18n: true,
|
||||
handler: () => {
|
||||
expandedTree.value = [];
|
||||
currentIdGrop.value = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue