ปรับโครงสร้างเมนู, เพิ่มเมนูในทะเบียนประวัติ

This commit is contained in:
Warunee Tamkoo 2023-08-10 17:58:18 +07:00
parent 6fbc73300c
commit 054802c8b7
26 changed files with 1337 additions and 250 deletions

View file

@ -111,6 +111,22 @@ const menuList = readonly<any[]>([
path: "registry",
role: "registry",
},
{
key: 10,
icon: "o_contact_page",
activeIcon: "registry_employee_page",
label: "ทะเบียนประวัติลูกจ้าง",
path: "registry-employee",
role: "registryEmployee",
},
{
key: 10,
icon: "o_list",
activeIcon: "order",
label: "ออกคำสั่ง",
path: "order",
role: "placement",
},
{
key: 5,
icon: "o_search",
@ -192,12 +208,12 @@ const menuList = readonly<any[]>([
path: "placement",
role: "placement",
},
{
key: 6.2,
label: "ออกคำสั่ง" /* ออกคำสั่งบรรจุ */,
path: "Orderplacement",
role: "placement",
},
// {
// key: 6.2,
// label: "ออกคำสั่ง" /* ออกคำสั่งบรรจุ */,
// path: "Orderplacement",
// role: "placement",
// },
{
key: 6.3,
label: "การทดลองงาน" /* การทดลองงาน */,
@ -206,7 +222,7 @@ const menuList = readonly<any[]>([
},
{
key: 6.4,
label: "รายการคำขอโอน" /* */,
label: "รายการขอโอน" /* */,
path: "transfer",
role: "placement",
},
@ -218,13 +234,43 @@ const menuList = readonly<any[]>([
},
{
key: 6.6,
label: "คำสั่งช่วยราชการ/ส่งตัวกลับ" /* */,
label: "รายการช่วยราชการ" /* */,
// path: "help-government",
path: "repatriation-order",
role: "placement",
},
{
key: 6.7,
label: "รายการส่งตัวกลับ" /* */,
path: "repatriate",
role: "placement",
},
{
key: 6.8,
label: "รายการแต่งตั้ง" /* */,
// path: "repatriate",
role: "placement",
},
{
key: 6.9,
label: "รายการเลื่อน" /* */,
path: "postpone",
role: "placement",
},
{
key: 6.1,
label: "รายการย้าย" /* */,
path: "move-order",
role: "placement",
},
{
key: 6.1,
label: "รายการอื่นๆ" /* */,
path: "other-order",
role: "placement",
},
],
},
{
key: 7,
icon: "mdi-account-cancel-outline",
@ -241,31 +287,43 @@ const menuList = readonly<any[]>([
},
{
key: 7.2,
label: "ลาออก",
label: "รายการลาออก",
path: "resign",
role: "retirement",
},
// {
// key: 7.3,
// label: "คำสั่งลาออก",
// path: "resign-order",
// role: "retirement",
// },
{
key: 7.3,
label: "คำสั่งลาออก",
path: "resign-order",
role: "retirement",
},
{
key: 7.4,
label: "Exit interview",
// path: "",
role: "retirement",
},
{
key: 7.5,
label: "ถึงแก่กรรม",
key: 7.4,
label: "รายการบันทึกการถึงแก่กรรม",
path: "deceased",
role: "retirement",
},
{
key: 7.5,
label: "รายการให้ออก",
path: "dismiss-order",
role: "retirement",
},
{
key: 7.6,
label: "คำสั่งให้ออก ปลดออก ไล่ออก",
label: "รายการปลดออก",
path: "dismiss-order",
role: "retirement",
},
{
key: 7.7,
label: "รายการไล่ออก",
path: "dismiss-order",
role: "retirement",
},
@ -363,14 +421,6 @@ const menuList = readonly<any[]>([
},
],
},
{
key: 10,
icon: "o_contact_page",
activeIcon: "contact_page",
label: "ทะเบียนประวัติลูกจ้าง",
path: "registryEmployee",
role: "registryEmployee",
},
]);
const tabList = readonly<tabType[]>([