อัตรากำลังลูกจ้างประจำ ฯ => ปรับ btn

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-06 11:13:31 +07:00
parent b6dde4cfc5
commit 56fae384bf

View file

@ -85,6 +85,12 @@ const rowId = ref<string>("");
const actionType = ref<string>(""); const actionType = ref<string>("");
/** ListMenu Table*/ /** ListMenu Table*/
const listMenu = ref<ListMenu[]>([ const listMenu = ref<ListMenu[]>([
{
label: "ย้ายตำแหน่ง",
icon: "mdi-cursor-move",
type: "MOVE",
color: "blue-10",
},
{ {
label: "แก้ไข", label: "แก้ไข",
icon: "edit", icon: "edit",
@ -97,12 +103,6 @@ const listMenu = ref<ListMenu[]>([
type: "DEL", type: "DEL",
color: "red", color: "red",
}, },
{
label: "ย้ายตำแหน่ง",
icon: "mdi-cursor-move",
type: "MOVE",
color: "blue-10",
},
]); ]);
/** columns*/ /** columns*/
@ -447,12 +447,12 @@ watch(
checkPermission($route)?.attrIsUpdate || checkPermission($route)?.attrIsUpdate ||
checkPermission($route)?.attrIsDelete checkPermission($route)?.attrIsDelete
" "
class="q-pa-none q-ml-xs"
flat flat
dense dense
icon="mdi-dots-vertical" color="secondary"
class="q-pa-none q-ml-xs" icon="mdi-dots-horizontal-circle-outline"
color="grey-13" round
size="12px"
> >
<q-menu> <q-menu>
<q-list dense style="min-width: 150px"> <q-list dense style="min-width: 150px">
@ -470,7 +470,7 @@ watch(
<div class="row items-center"> <div class="row items-center">
<q-icon <q-icon
color="secondary" color="secondary"
size="17px" size="xs"
name="mdi-account" name="mdi-account"
/> />
<div class="q-pl-md">เลอกคนครอง</div> <div class="q-pl-md">เลอกคนครอง</div>
@ -490,7 +490,7 @@ watch(
<div class="row items-center"> <div class="row items-center">
<q-icon <q-icon
color="red" color="red"
size="17px" size="xs"
name="mdi-account-remove" name="mdi-account-remove"
/> />
<div class="q-pl-md">ลบคนครอง</div> <div class="q-pl-md">ลบคนครอง</div>
@ -526,7 +526,7 @@ watch(
<div class="row items-center"> <div class="row items-center">
<q-icon <q-icon
:color="item.color" :color="item.color"
size="17px" size="xs"
:name="item.icon" :name="item.icon"
/> />
<div class="q-pl-md">{{ item.label }}</div> <div class="q-pl-md">{{ item.label }}</div>
@ -541,7 +541,7 @@ watch(
> >
<q-item-section> <q-item-section>
<div class="row items-center"> <div class="row items-center">
<q-icon color="blue" size="17px" name="mdi-eye" /> <q-icon color="info" size="xs" name="mdi-eye" />
<div class="q-pl-md">รายละเอยด</div> <div class="q-pl-md">รายละเอยด</div>
</div> </div>
</q-item-section> </q-item-section>