feat: add i18n
This commit is contained in:
parent
52c18e6a6c
commit
6c30e4412d
5 changed files with 48 additions and 18 deletions
|
|
@ -3120,7 +3120,11 @@ const emptyCreateDialog = ref(false);
|
|||
const _group = c.group || 'other';
|
||||
if (!a[_group]) {
|
||||
a[_group] = {
|
||||
label: _group,
|
||||
label: $t(
|
||||
uploadFileListEmployee.find(
|
||||
(v) => v.value === _group,
|
||||
)?.label || _group,
|
||||
),
|
||||
file: [
|
||||
{
|
||||
label:
|
||||
|
|
|
|||
|
|
@ -49,43 +49,43 @@ export const uploadFileListEmployee: {
|
|||
value: string;
|
||||
}[] = [
|
||||
{
|
||||
label: 'ข้อมูลหนังสือการเดินทาง',
|
||||
value: 'travelBook',
|
||||
label: 'customerEmployee.fileType.passport',
|
||||
value: 'passport',
|
||||
},
|
||||
{
|
||||
label: 'ข้อมูลการตรวจลงตรา',
|
||||
value: 'checkList',
|
||||
label: 'customerEmployee.fileType.visa',
|
||||
value: 'visa',
|
||||
},
|
||||
{
|
||||
label: 'ตม.6',
|
||||
label: 'customerEmployee.fileType.tm6',
|
||||
value: 'tm6',
|
||||
},
|
||||
{
|
||||
label: 'ใบอนุญาตทำงาน',
|
||||
value: 'license',
|
||||
label: 'customerEmployee.fileType.workPermit',
|
||||
value: 'workPermit',
|
||||
},
|
||||
{
|
||||
label: 'แบบแจ้งการจ้างคนต่างด้าวทำงาน',
|
||||
value: 'noticeJob',
|
||||
label: 'customerEmployee.fileType.noticeJobEmployment',
|
||||
value: 'noticeJobEmployment',
|
||||
},
|
||||
{
|
||||
label: 'แบบแจ้งเข้าทำงานของคนต่างด้าว',
|
||||
value: 'noticeJobOther',
|
||||
label: 'customerEmployee.fileType.noticeJobEntry',
|
||||
value: 'noticeJobEntry',
|
||||
},
|
||||
{
|
||||
label: 'ใบคัดประวัติระบบจัดหางาน',
|
||||
label: 'customerEmployee.fileType.historyJob',
|
||||
value: 'historyJob',
|
||||
},
|
||||
{
|
||||
label: 'ใบตอบรับการแจ้งเกี่ยวกับการทำงานของคนต่างด้าว',
|
||||
label: 'customerEmployee.fileType.acceptJob',
|
||||
value: 'acceptJob',
|
||||
},
|
||||
{
|
||||
label: 'ใบเสร็จรับเงิน',
|
||||
label: 'customerEmployee.fileType.receipt',
|
||||
value: 'receipt',
|
||||
},
|
||||
{
|
||||
label: 'อื่นๆ',
|
||||
label: 'customerEmployee.fileType.other',
|
||||
value: 'other',
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue