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