From b5fae92a033891fcbc036166adef1f16f68b3369 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 30 Aug 2023 11:19:56 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B9=80=E0=B8=81=E0=B9=89=E0=B8=84?= =?UTF-8?q?=E0=B8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AppointMent/Main.vue | 2 +- .../components/Transfer/transferRegistry.vue | 48 +++++++++++++++++-- 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/src/modules/05_placement/components/AppointMent/Main.vue b/src/modules/05_placement/components/AppointMent/Main.vue index 9cd80f61a..13a950fdc 100644 --- a/src/modules/05_placement/components/AppointMent/Main.vue +++ b/src/modules/05_placement/components/AppointMent/Main.vue @@ -533,7 +533,7 @@ const pagination = ref({ /> เลือกหน่วยงานที่รับโอนเลือกหน่วยงาน/ตำแหน่ง - - ดาวน์โหลด + + ไฟล์ PDF - + ไฟล์ WORD @@ -463,7 +463,41 @@ const responseData = ref({ status: "", fullname: "", }); +const filePdf = (id:number,type:string) =>{ +} +const fileDoc = (id:number,type:string) =>{ + +} +// const downloadFile = (response: any, filename: string) => { +// const link = document.createElement("a"); +// var fileName = filename; +// link.href = window.URL.createObjectURL(new Blob([response.data])); +// link.setAttribute("download", fileName); +// document.body.appendChild(link); +// link.click(); +// document.body.removeChild(link); +// }; + +// const FileDownload = async (type: string) => { +// showLoader(); +// await http +// .get(config.API.reportEvaluateRecord1(type, numTab.id), { +// responseType: "blob", +// }) +// .then(async (res) => { +// downloadFile( +// res, +// `แบบบันทึกผล(ผู้ดูเเล)_${fullname.value}_ครั้งที่.${type}` +// ); +// }) +// .catch((e) => { +// messageError($q, e); +// }) +// .finally(() => { +// hideLoader(); +// }); +// }; const rows = ref([]); const columns = ref([ { @@ -503,22 +537,28 @@ onMounted(async () => { await getData(); }); -const rowsFileDownload = ref([{ +const rowsFileDownload = ref([{ + id:1, fileName: "คําร้องขอโอนไปถึงส่วนราชการอื่นนอก กรุงเทพมหานครที่ข้าราชการประสงค์ขอโอน", pathName: "" },{ + id:2, fileName: "หนังสือแจ้งสํานักงานการเจ้าหน้าที่ สํานักปลัดกรุงเทพมหานคร ให้ทราบตําแหน่งและตําแหน่งเลขที่ที่ดําเนินการให้โอน", pathName: "" },{ + id:3, fileName: "หนังสือยินยอมให้โอนและวันที่พร้อมจะให้โอนไปยัง หน่วยงานที่รับโอน", pathName: "" },{ + id:4, fileName: "หนังสือแจ้งสหกรณ์ออมทรัพย์กรุงเทพมหานครเพื่อขอ ตรวจสอบภาระหนี้สินสหกรณ์ออมทรัพย์", pathName: "" },{ + id:5, fileName: "หนังสือถึงสํานักงานการเจ้าหน้าที่ สํานักปลัดกรุงเทพมหานครเพื่อขอตรวจสอบพฤติการณ์ทางวินัย และภาระหนี้สินสวัสดิการ", pathName: "" },{ + id:6, fileName: "หนังสือถึงสถาบันพัฒนาข้าราชการกรุงเทพมหานครเพื่อขอตรวจสอบเรื่องภาระผูกพันการรับทุนและการลา ศึกษาต่อกับทางกรุงเทพมหานคร", pathName: "" }]);