From cecb277d8a919d5224b89a066e3255f099e29105 Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Fri, 21 Jul 2023 15:05:25 +0700 Subject: [PATCH] =?UTF-8?q?ui=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20=E0=B9=80=E0=B8=A1=E0=B8=99=E0=B8=B9=E0=B8=A2?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=A2=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=B0?= =?UTF-8?q?=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B9=82=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B9=84=E0=B8=9F=E0=B8=A5=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_registry/components/Profile.vue | 92 +++++++++++++++++++ src/modules/04_registry/router.ts | 14 +++ 2 files changed, 106 insertions(+) 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", + }, + }, ];