diff --git a/src/modules/04_registry/components/Profile.vue b/src/modules/04_registry/components/Profile.vue index ade292c48..ffca86ac7 100644 --- a/src/modules/04_registry/components/Profile.vue +++ b/src/modules/04_registry/components/Profile.vue @@ -153,6 +153,49 @@ + + + {{ + reasonStatus ? "การกลับเข้ารับราชการ" : "การออกจากราชการ" + }} + + + + + + + ถึงแก่กรรม + + + + + + ให้ออกจากราชการ + + + + + + ปลดออกจากราชการ + + + + + + ไล่ออกจากราชการ + + + + + + + + + + +
แนบใบมรณบัตร
+ + + ปิดหน้านี้ + +
+ + + + + + +
+
@@ -559,9 +637,11 @@ const dialog = ref(false); const dialogShort = ref(false); const dialogLeave = ref(false); const dialogImage = ref(false); +const dialogPassaway = ref(false); const loader = ref(false); //รอโหลด const statusEdit = ref(false); const activeImage = ref(null); +const filePassaway = ref(null); const images = ref([]); const profileId = ref(route.params.id.toString()); const profileType = ref(""); @@ -806,6 +886,10 @@ const closeImage = () => { dialogImage.value = false; }; +const closePassaway = () => { + dialogPassaway.value = false; +}; + const closeLeave = () => { dialogLeave.value = false; }; @@ -818,6 +902,10 @@ const closeKp7Short = () => { dialogShort.value = false; }; +const clickaddOrder = () => { + router.push({ name: "addOrder" }); +}; + const downloadKP7 = () => {}; const downloadKP7Short = () => {}; @@ -896,6 +984,10 @@ const clickRetire = async () => { } }; +const clickPassaway = async () => { + dialogPassaway.value = true; +}; + const Retire = async () => { if (reasonStatus.value == true) { loaderPage(true); diff --git a/src/modules/04_registry/router.ts b/src/modules/04_registry/router.ts index 7f78516ff..18571351a 100644 --- a/src/modules/04_registry/router.ts +++ b/src/modules/04_registry/router.ts @@ -4,6 +4,10 @@ const Main = () => import("@/modules/04_registry/views/Main.vue"); const Detail = () => import("@/modules/04_registry/components/Profile.vue"); +const addOrder = () => + import( + "@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue" + ); export default [ { @@ -26,4 +30,14 @@ export default [ Role: "registry", }, }, + { + path: "/dismiss-order/add", + name: "addOrder", + component: addOrder, + meta: { + Auth: true, + Key: [7], + Role: "registry", + }, + }, ];