diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index c4ccd71d7..fbf30d8f4 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -55,7 +55,7 @@ const menuList = readonly([ key: 2, icon: "o_person", activeIcon: "person", - label: "ข้อมูลหลัก (ใหม่)", + label: "ข้อมูลหลัก", path: "metadataNew", role: "metadata", children: [ @@ -124,7 +124,7 @@ const menuList = readonly([ key: 3, icon: "o_groups", activeIcon: "groups", - label: "โครงสร้างอัตรากำลัง (ใหม่)", + label: "โครงสร้างอัตรากำลัง", path: "organizationalNew", role: "organization", }, @@ -140,71 +140,10 @@ const menuList = readonly([ key: 4, icon: "o_contact_page", activeIcon: "contact_page", - label: "ทะเบียนประวัติ (ใหม่)", + label: "ทะเบียนประวัติ", path: "registryNew", role: "organization", }, - { - key: 100, - icon: "o_person", - activeIcon: "person", - label: "ข้อมูลหลัก", - path: "metadata", - role: "metadata", - }, - { - key: 0, - icon: "o_groups", - activeIcon: "groups", - label: "โครงสร้างอัตรากำลัง", - path: "organizational", - role: "organization", - children: [ - { - key: 3.1, - label: "จัดการตำแหน่ง", - path: "organizationalMapping", - }, - { - key: 3.2, - label: "แผนภูมิโครงสร้าง", - path: "organizationalStructChart", - }, - { - key: 3.3, - label: "แผนภูมิองค์กร", - path: "organizationalOrgChart", - }, - { - key: 3.4, - label: "ผังโครงสร้าง", - path: "organizationalTree", - }, - { - key: 3.5, - label: "ผังโครงสร้างลูกจ้าง", - path: "organizationalEmployee", - }, - { - key: 3.6, - label: "จัดการบัญชี 2", - path: "manageReport2", - }, - { - key: 3.7, - label: "รายงานบัญชี", - path: "organizationalReport", - }, - ], - }, - { - key: 4, - icon: "o_contact_page", - activeIcon: "contact_page", - label: "ทะเบียนประวัติ", - path: "registry", - role: "registry", - }, { key: 4, icon: "verified", @@ -213,14 +152,6 @@ const menuList = readonly([ path: "verified", role: "registryverify", }, - { - key: 5, - icon: "o_contact_page", - activeIcon: "registry_employee_page", - label: "ทะเบียนประวัติลูกจ้าง", - path: "registry-employee", - role: "registryEmployee", - }, { key: 6, icon: "mdi-file-certificate-outline", @@ -655,6 +586,85 @@ const menuList = readonly([ }, ], }, + { + key: 13, + icon: "o_note", + activeIcon: "contact_page", + label: "ระบบเดิม", + path: "registry", + role: "registry", + children: [ + { + key: 13.0, + icon: "o_person", + activeIcon: "person", + label: "ข้อมูลหลัก", + path: "metadata", + role: "metadata", + }, + { + key: 13.1, + icon: "o_groups", + activeIcon: "groups", + label: "โครงสร้างอัตรากำลัง", + path: "organizational", + role: "organization", + children: [ + { + key: 3.1, + label: "จัดการตำแหน่ง", + path: "organizationalMapping", + }, + { + key: 3.2, + label: "แผนภูมิโครงสร้าง", + path: "organizationalStructChart", + }, + { + key: 3.3, + label: "แผนภูมิองค์กร", + path: "organizationalOrgChart", + }, + { + key: 3.4, + label: "ผังโครงสร้าง", + path: "organizationalTree", + }, + { + key: 3.5, + label: "ผังโครงสร้างลูกจ้าง", + path: "organizationalEmployee", + }, + { + key: 3.6, + label: "จัดการบัญชี 2", + path: "manageReport2", + }, + { + key: 3.7, + label: "รายงานบัญชี", + path: "organizationalReport", + }, + ], + }, + { + key: 13.0, + icon: "o_contact_page", + activeIcon: "contact_page", + label: "ทะเบียนประวัติ", + path: "registry", + role: "registry", + }, + { + key: 13.0, + icon: "o_contact_page", + activeIcon: "registry_employee_page", + label: "ทะเบียนประวัติลูกจ้าง", + path: "registry-employee", + role: "registryEmployee", + }, + ], + }, ]); const tabList = readonly([