feat(position-employee): copy position-employee

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-19 10:44:52 +07:00
parent 18a5eecbb1
commit e97c1a97f7
3 changed files with 32 additions and 14 deletions

View file

@ -101,6 +101,12 @@ const listMenu = ref<ListMenu[]>([
type: "EDIT",
color: "edit",
},
{
label: "คัดลอก",
icon: "content_copy",
type: "COPY",
color: "blue-6",
},
{
label: "ลบ",
icon: "delete",
@ -585,6 +591,8 @@ watch(
? onClickHistoryPos(props.row.id)
: item.type === 'INHERIT'
? onClickInherit(props.row.id)
: item.type === 'COPY'
? onClickPosition('COPY', props.row.id)
: null
"
>