เพิ่มเมนูย่อย retirement

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-07-21 15:30:54 +07:00
parent e62d78ccb1
commit c13df46549
2 changed files with 45 additions and 5 deletions

View file

@ -206,6 +206,7 @@ const menuList = readonly<any[]>([
}, },
], ],
}, },
{ {
key: 7, key: 7,
icon: "mdi-account-cancel-outline", icon: "mdi-account-cancel-outline",
@ -213,6 +214,44 @@ const menuList = readonly<any[]>([
label: "พ้นจากราชการ", label: "พ้นจากราชการ",
path: "retirement", path: "retirement",
role: "retirement", role: "retirement",
children: [
{
key: 7.1,
label: "ประกาศเกษียณ",
path: "retirement",
role: "retirement",
},
{
key: 7.2,
label: "ลาออก",
path: "resign",
role: "retirement",
},
{
key: 7.3,
label: "คำสั่งลาออก",
path: "resign-order",
role: "retirement",
},
{
key: 7.4,
label: "Exit interviwe",
// path: "",
role: "retirement",
},
{
key: 7.5,
label: "ถึงแก่กรรม",
path: "deceased",
role: "retirement",
},
{
key: 7.6,
label: "คำสั่งให้ออก ปลดออก ไล่ออก",
path: "dismiss-order",
role: "retirement",
},
],
}, },
{ {
key: 8, key: 8,

View file

@ -719,6 +719,7 @@ if (keycloak.tokenParsed != null) {
menuItem.key == 3 || menuItem.key == 3 ||
menuItem.key == 5 || menuItem.key == 5 ||
menuItem.key == 6 || menuItem.key == 6 ||
menuItem.key == 7 ||
menuItem.key == 8 menuItem.key == 8
" "
> >
@ -942,11 +943,11 @@ if (keycloak.tokenParsed != null) {
.expan2 .q-item { .expan2 .q-item {
padding-left: 10%; padding-left: 10%;
} }
.subLabel{ .subLabel {
white-space: nowrap; white-space: nowrap;
width: 160px; width: 160px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.font-400 { .font-400 {
font-weight: 400; font-weight: 400;