fix(leave-history):add field beginningLeaveDays beginningLeaveCount

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-11 13:42:19 +07:00
parent 5fb13c8cd4
commit b083bcb0ca
4 changed files with 76 additions and 7 deletions

View file

@ -92,12 +92,12 @@ const listAdd = ref<ListMenu[]>([
type: "DETAIL",
color: "blue-9",
},
// {
// label: "",
// icon: "mdi-publish",
// type: "PUBLISH",
// color: "indigo-9",
// },
{
label: "เผยแพร่",
icon: "mdi-publish",
type: "PUBLISH",
color: "indigo-9",
},
]);
const getMenuItems = computed(() => {
@ -416,7 +416,6 @@ function onPublicOrganization(data: OrgTree) {
showLoader();
try {
await http.post(config.API.moveDraftToCurrent(orgDnaId));
await props.fetchDataTree?.();
await success($q, "เผยแพร่โครงสร้างสำเร็จ");
} catch (err) {
messageError($q, err);