From 9bf2d3e30d47bee239450974b7e426a71bdd0fce Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 11 Oct 2023 12:07:20 +0700 Subject: [PATCH 01/17] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87=E0=B8=A5=E0=B8=B2=E0=B8=AD=E0=B8=AD?= =?UTF-8?q?=E0=B8=81=E0=B8=82=E0=B8=AD=E0=B8=87=E0=B8=A5=E0=B8=B9=E0=B8=81?= =?UTF-8?q?=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/resign/Resign.vue | 79 ++++--------------- .../10_order/components/step/step04.vue | 16 ++-- 2 files changed, 26 insertions(+), 69 deletions(-) diff --git a/src/modules/06_retirement/components/resign/Resign.vue b/src/modules/06_retirement/components/resign/Resign.vue index 25ff5e9bf..d90b49741 100644 --- a/src/modules/06_retirement/components/resign/Resign.vue +++ b/src/modules/06_retirement/components/resign/Resign.vue @@ -154,13 +154,11 @@ const resetFilter = () => { filterRef.value.focus(); }; -const openModalOrder = () => { +const openModalOrder = async () => { openModal(); - const row = filters.value.filter( + const row = await filters.value.filter( (r: ResponseItems) => - (r.status == "WAITTING" || - r.status == "PENDING" || - r.status == "APPROVE") && + (r.status == "REJECT" || r.status == "APPROVE") && r.organizationPositionOld && r.positionTypeOld && r.positionLevelOld && @@ -236,66 +234,28 @@ const pagination = ref({
- + ส่งไปออกคำสั่งลาออก
- + - +
- + diff --git a/src/modules/10_order/components/step/step04.vue b/src/modules/10_order/components/step/step04.vue index d8da9750a..da4c7e248 100644 --- a/src/modules/10_order/components/step/step04.vue +++ b/src/modules/10_order/components/step/step04.vue @@ -77,7 +77,8 @@ const getCommandDetail = async () => { code.value != "c-pm-19" && code.value != "c-pm-20" && code.value != "c-pm-21" && - code.value != "c-pm-22" + code.value != "c-pm-22" && + code.value != "c-pm-23" ) { fetchReportAttachment("pdf", orderId.value); } @@ -274,7 +275,8 @@ const saveUpload = () => { code.value != "c-pm-19" && code.value != "c-pm-20" && code.value != "c-pm-21" && - code.value != "c-pm-22" + code.value != "c-pm-22" && + code.value != "c-pm-23" ) { await postfileTailer(); } @@ -309,7 +311,8 @@ const saveDetail = () => { code.value != "c-pm-19" && code.value != "c-pm-20" && code.value != "c-pm-21" && - code.value != "c-pm-22" + code.value != "c-pm-22" && + code.value != "c-pm-23" ) { // ดึงรายงานในส่วนของแนบท้ายมาใหม่ await fetchReportAttachment("pdf", orderId.value); @@ -408,6 +411,7 @@ const validateFormUpload = () => { code.value != "c-pm-20" && code.value != "c-pm-21" && code.value != "c-pm-22" && + code.value != "c-pm-23" && fileOrder.value !== null && fileTailer.value !== null ) { @@ -508,7 +512,8 @@ const viewFileUpload = async (url: string) => { code != 'c-pm-19' && code != 'c-pm-20' && code != 'c-pm-21' && - code != 'c-pm-22' + code != 'c-pm-22' && + code != 'c-pm-23' " @click="setTab('second')" :class="getClass(tab == 'second')" @@ -688,7 +693,8 @@ const viewFileUpload = async (url: string) => { code != 'c-pm-19' && code != 'c-pm-20' && code != 'c-pm-21' && - code != 'c-pm-22' + code != 'c-pm-22' && + code != 'c-pm-23' " > From ef886e4369365be9ec488477e0d62dd7149469d0 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 11 Oct 2023 13:59:33 +0700 Subject: [PATCH 02/17] =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=A2=E0=B8=99=20=E0=B8=9F=E0=B8=B4=E0=B8=A5=20pos?= =?UTF-8?q?No=20=E0=B9=80=E0=B8=9B=E0=B9=87=E0=B8=99=20positionNumberOld?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_placement/components/Transfer/transferRegistry.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/05_placement/components/Transfer/transferRegistry.vue b/src/modules/05_placement/components/Transfer/transferRegistry.vue index fa9a1d002..3487828bd 100644 --- a/src/modules/05_placement/components/Transfer/transferRegistry.vue +++ b/src/modules/05_placement/components/Transfer/transferRegistry.vue @@ -194,7 +194,7 @@ const getData = async () => { organizationPositionOld.value = data.organizationPositionOld ?? ""; positionTypeOld.value = data.positionTypeOld ?? ""; positionLevelOld.value = data.positionLevelOld ?? ""; - posNo.value = data.posNo ?? ""; + posNo.value = data.positionNumberOld ?? ""; salary.value = data.salary ?? 0; organization.value = data.organization ?? ""; date.value = data.date !== null ? new Date(data.date) : null; From 415fb817f6381cd6d7153fb0dffeaf666b6bf0e8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 11 Oct 2023 16:00:39 +0700 Subject: [PATCH 03/17] =?UTF-8?q?=E0=B8=8B=E0=B9=88=E0=B8=AD=E0=B8=99=20co?= =?UTF-8?q?lumns=20=E0=B8=A7=E0=B8=B8=E0=B8=92=E0=B8=B4=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=A8=E0=B8=B6=E0=B8=81=E0=B8=A9=E0=B8=B2=20?= =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1?= =?UTF-8?q?=E0=B9=88=E0=B8=87=20Step=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../10_order/components/step/step02.vue | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/modules/10_order/components/step/step02.vue b/src/modules/10_order/components/step/step02.vue index 65782c730..1d8780048 100644 --- a/src/modules/10_order/components/step/step02.vue +++ b/src/modules/10_order/components/step/step02.vue @@ -75,21 +75,21 @@ const columns = ref([ { name: "name", align: "left", - label: "ชื่อ-สกุล", + label: "ชื่อ-นามสกุล", field: "name", sortable: true, sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, - { - name: "education", - align: "left", - label: "วุฒิการศึกษาในการออกคำสั่ง", - field: "education", - sortable: true, - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, + // { + // name: "education", + // align: "left", + // label: "วุฒิการศึกษาในการออกคำสั่ง", + // field: "education", + // sortable: true, + // sort: (a: string, b: string) => + // a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + // }, ]); const rows = ref([]); const rows2 = ref([]); @@ -168,7 +168,7 @@ const statuscode = computed(() => { orderTypeCode.value === "c-pm-08" || orderTypeCode.value === "c-pm-09" || orderTypeCode.value === "c-pm-14" || - orderTypeCode.value === "c-pm-21" || + orderTypeCode.value === "c-pm-21" || orderTypeCode.value === "c-pm-22" ) { return false; @@ -515,7 +515,6 @@ const pagination = ref({ {{ col.label }} - From 9a268f9d7a696601308f470e392fe7de50cdbdda Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 11 Oct 2023 22:27:43 +0700 Subject: [PATCH 04/17] fix bug --- .../PersonalDetail/Information/Address.vue | 14 +++++++------- .../components/Transfer/transferMain.vue | 12 ++++-------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/modules/05_placement/components/PersonalDetail/Information/Address.vue b/src/modules/05_placement/components/PersonalDetail/Information/Address.vue index 36737904c..820acc19c 100644 --- a/src/modules/05_placement/components/PersonalDetail/Information/Address.vue +++ b/src/modules/05_placement/components/PersonalDetail/Information/Address.vue @@ -77,7 +77,7 @@ const currentAddress = reactive({ }); onMounted(async () => { - // await getNewData(); + await getNewData(); emit("update:statusEdit", false); }); @@ -126,13 +126,13 @@ const filterSelector = (val: any, update: Function, refData: string) => { const refreshData = async () => { myform.value.reset(); - await props.fetch(); + // await props.fetch(); await fetchProvince(); - // await getNewData(); + await getNewData(); }; const getNewData = async () => { - await props.fetch(); + // await props.fetch(); await fetchProvince(); }; @@ -181,9 +181,9 @@ const editData = async () => { .finally(async () => { edit.value = false; emit("update:statusEdit", false); - // await getNewData(); - await props.fetch(); - await fetchProvince(); + await getNewData(); + // await props.fetch(); + // await fetchProvince(); }); }; diff --git a/src/modules/05_placement/components/Transfer/transferMain.vue b/src/modules/05_placement/components/Transfer/transferMain.vue index 1969df183..60185641b 100644 --- a/src/modules/05_placement/components/Transfer/transferMain.vue +++ b/src/modules/05_placement/components/Transfer/transferMain.vue @@ -143,19 +143,15 @@ const closeModal = () => { // เปิดโมเดล const openModalOrder = () => { - console.log(filters.value); - openModal(); + console.log("filters===>",filters.value) const row = filters.value.filter( (r: ResponseData) => - (r.status == "WAITTING" || - r.status == "PENDING" || - r.status == "APPROVE") && - r.createdAt && + (r.status == "APPROVE") && r.organizationPositionOld && r.positionTypeOld && - r.positionLevel && - r.posNo && + r.positionLevelOld && + r.positionNumberOld && r.salary !== null && r.organization && r.date From 1b953851f17143e00679defbd93efa2e758bea3d Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 12 Oct 2023 02:53:56 +0700 Subject: [PATCH 05/17] =?UTF-8?q?=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=84?= =?UTF-8?q?=E0=B8=B4=E0=B8=A7=E0=B8=A3=E0=B8=B5=E0=B9=88=E0=B8=AA=E0=B8=B3?= =?UTF-8?q?=E0=B8=99=E0=B8=B1=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/07_insignia/store.ts | 36 +++++++++++++++++++------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/src/modules/07_insignia/store.ts b/src/modules/07_insignia/store.ts index 5b0cb0476..bdd276af6 100644 --- a/src/modules/07_insignia/store.ts +++ b/src/modules/07_insignia/store.ts @@ -32,12 +32,15 @@ export const useInsigniaDataStore = defineStore("insignia", () => { //รางาน const optionReport = ref([ - { id: '45', title: "บัญชีรายชื่อข้าราชการผู้ขอพระราชทานเครื่องราชอิสริยาภรณ์" }, - { id: '43', title: 'บัญชีระดับผลการประเมินผลการปฏิบัติราชการในรอบ 5 ปี' }, - { id: '44', title: 'บัญชีแสดงจำนวนชั้นตราเครื่องราชฯ' } - ]) + { + id: "45", + title: "บัญชีรายชื่อข้าราชการผู้ขอพระราชทานเครื่องราชอิสริยาภรณ์", + }, + { id: "43", title: "บัญชีระดับผลการประเมินผลการปฏิบัติราชการในรอบ 5 ปี" }, + { id: "44", title: "บัญชีแสดงจำนวนชั้นตราเครื่องราชฯ" }, + ]); const mainTab = ref("pending"); - const dataInsigniaType = ref([]) + const dataInsigniaType = ref([]); // เรียกราชชื่อการเสนอขอ const fetchData = async (data: any) => { if (data !== null) { @@ -61,7 +64,12 @@ export const useInsigniaDataStore = defineStore("insignia", () => { markLeave: e.markLeave, markRate: e.markRate, isApprove: e.isApprove, - statusMark: e.markDiscipline === true || e.markLeave === true || e.markRate === true ? true : false + statusMark: + e.markDiscipline === true || + e.markLeave === true || + e.markRate === true + ? true + : false, })); rows.value = await datalist; listinsignia.value = await datalist; @@ -79,7 +87,8 @@ export const useInsigniaDataStore = defineStore("insignia", () => { const fetchOption = (op: any) => { if (agency.value !== null) { typeOc.value = agency.value; - optionsTypeOc.value = op.filter((e: any) => e.id == agency.value); + optionsTypeOc.value = op; + // .filter((e: any) => e.id == agency.value); } else { (optionsTypeOc.value = op), (typeOc.value = op[0].id); } @@ -105,8 +114,8 @@ export const useInsigniaDataStore = defineStore("insignia", () => { }; // ค้นหาข้อมมูลราชชื่อ ตาม ประเท๓และสถานภาพ const searchDataTable = async (type: string, employeeClasstype: string) => { - typeinsignia.value = type - employeeClass.value = employeeClasstype + typeinsignia.value = type; + employeeClass.value = employeeClasstype; if (type !== "all" && employeeClasstype !== "all") { rows.value = listinsignia.value.filter( (e: any) => @@ -127,7 +136,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => { }; // ประเภทเครื่องราช function fetchInsigniaType(data: any) { - dataInsigniaType.value = data + dataInsigniaType.value = data; } // ประเภทลูกจ้าง @@ -147,15 +156,14 @@ export const useInsigniaDataStore = defineStore("insignia", () => { function convertStatus(val: string) { switch (val) { case "WAITTING": - return "สร้างรอบ" + return "สร้างรอบ"; case "PENDING": - return "กำลังดำเนินการ" + return "กำลังดำเนินการ"; case "DONE": - return "เสร็จสิ้น" + return "เสร็จสิ้น"; } } - return { roundId, optionRound, From 2d9c395b2684216c6ebf31c3610744df7e13a091 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 12 Oct 2023 04:17:27 +0700 Subject: [PATCH 06/17] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=84?= =?UTF-8?q?=E0=B8=B3=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=84=E0=B8=B1=E0=B8=94?= =?UTF-8?q?=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../03_recruiting/components/TableCandidate.vue | 2 +- .../03_recruiting/views/02_qualify/ExamForm.vue | 2 +- .../03_recruiting/views/02_qualify/Manage.vue | 4 ++-- .../03_recruiting/views/02_qualify/Payment.vue | 2 +- .../03_recruiting/views/02_qualify/Period.vue | 4 ++-- .../03_recruiting/views/02_qualify/PeriodAdd.vue | 4 ++-- .../views/02_qualify/manageDetail.vue | 14 +++++++------- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/modules/03_recruiting/components/TableCandidate.vue b/src/modules/03_recruiting/components/TableCandidate.vue index aa1acbafd..b986db0c1 100644 --- a/src/modules/03_recruiting/components/TableCandidate.vue +++ b/src/modules/03_recruiting/components/TableCandidate.vue @@ -81,7 +81,7 @@ attrs.rows.filter((r) => r.status == 'checkRegister').length == 0 " > - ตรวจสอบข้อมูล + ตรวจสอบข้อมูล/ได้รับใบสมัครแล้ว
diff --git a/src/modules/03_recruiting/views/02_qualify/ExamForm.vue b/src/modules/03_recruiting/views/02_qualify/ExamForm.vue index 0b578d4b3..346cf7a8b 100644 --- a/src/modules/03_recruiting/views/02_qualify/ExamForm.vue +++ b/src/modules/03_recruiting/views/02_qualify/ExamForm.vue @@ -76,7 +76,7 @@ checked-icon="task_alt" unchecked-icon="panorama_fish_eye" val="1" - label="ผ่านการตรวจสอบคุณสมบัติ" + label="ผ่านการตรวจสอบคุณสมบัติ/กดรับใบสมัคร" class="col-12" @update:modelValue="reason = ''" /> diff --git a/src/modules/03_recruiting/views/02_qualify/Manage.vue b/src/modules/03_recruiting/views/02_qualify/Manage.vue index 24d2f469e..c162a11f4 100644 --- a/src/modules/03_recruiting/views/02_qualify/Manage.vue +++ b/src/modules/03_recruiting/views/02_qualify/Manage.vue @@ -27,7 +27,7 @@ {{ props.rowIndex + 1 }}
- {{ col.value + 543 }} + {{ props.row.round }}/{{ col.value + 543 }}
([ { name: "yearly", align: "left", - label: "ปีงบประมาณ", + label: "รอบ/ปีงบประมาณ", sortable: true, field: "yearly", headerStyle: "font-size: 14px", diff --git a/src/modules/03_recruiting/views/02_qualify/Payment.vue b/src/modules/03_recruiting/views/02_qualify/Payment.vue index 6e276cc1f..465a0f47a 100644 --- a/src/modules/03_recruiting/views/02_qualify/Payment.vue +++ b/src/modules/03_recruiting/views/02_qualify/Payment.vue @@ -228,7 +228,7 @@ checked-icon="task_alt" unchecked-icon="panorama_fish_eye" val="1" - label="ผ่านการตรวจสอบคุณสมบัติ" + label="ผ่านการตรวจสอบคุณสมบัติ/กดรับใบสมัคร" dense class="col-12" @update:modelValue="reason = ''" diff --git a/src/modules/03_recruiting/views/02_qualify/Period.vue b/src/modules/03_recruiting/views/02_qualify/Period.vue index b452e708a..25e35fcc4 100644 --- a/src/modules/03_recruiting/views/02_qualify/Period.vue +++ b/src/modules/03_recruiting/views/02_qualify/Period.vue @@ -31,7 +31,7 @@ {{ props.rowIndex + 1 }}
- {{ col.value + 543 }} + {{ props.row.round }}/{{ col.value + 543 }}
([ { name: "yearly", align: "center", - label: "ปีงบประมาณ", + label: "รอบ/ปีงบประมาณ", sortable: true, field: "yearly", headerStyle: "font-size: 14px", diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index aa6289d3e..73d9aee6f 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -1179,10 +1179,10 @@ const name = ref(""); const note = ref(""); const editor = ref(""); const editorCondition = ref( - `
ข้อกำหนดและเงื่อนไขฉบับนี้ ถือเป็นข้อตกลงในการเก็บข้อมูล

    หนังสือยินยอมให้เก็บ ใช้หรือเปิดเผยข้อมูลส่วนบุคคลของผู้สมัคร เพื่อสมัครงานกับกรุงเทพมหานครฯ 1. คำยินยอมจากผู้ให้ข้อมูลกับกรุงเทพมหานครฯ ข้าพเจ้า System Administrator ยินยอมให้ใช้หรือเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า สำหรับให้กรุงเทพมหานครฯ พิจารณาคุณสมบัติว่ามีความเหมาะสมกับตำแหน่งงานที่ทางกรุงเทพมหานครฯ เปิดรับหรือไม่ ข้าพเจ้าฯ ยินยอมให้ทางกรุงเทพมหานครฯ เก็บข้อมูลส่วนบุคคล ตรวจสอบประวัติส่วนบุคคล ประวัติอาชญากรรม หรือประวัติ/ประสบการณ์การทำงานที่ผ่านมาของข้าพเจ้าฯ ไปยังบุคคล และ/หรือ หน่วยงานต่างๆ ที่เกี่ยวข้อง เพื่อเป็นข้อมูลประกอบการพิจารณาการคัดเลือกตามตำแหน่งที่ข้าพเจ้าสมัคร โดยข้าพเจ้าฯ ยินยอมให้เปิดเผยข้อมูลดังต่อไปนี้

        1. รายละเอียดข้อมูล ที่ผู้สมัครงานได้กรอกในใบสมัครงานของกรุงเทพมหานครฯ ข้อมูลบุคคลอ้างอิง/บุคคลที่เกี่ยวข้องตามที่ได้ระบุไว้ในใบสมคัร ประวัติส่วนบุคคลและประวัติการทำงานเป็นต้น 2.รายละเอียดข้อมูลต่างๆ ในเอกสารหรือหลักฐานที่ผู้สมัครได้นำส่งให้กับกรุงเทพมหานครฯ ทุกช่องทางการสื่อสาร เช่น จดหมาย หรืออีเมล์เป็นต้น ในกรณีที่ท่าน ไม่ผ่าน การพิจารณารับเข้าทำงาน ข้อมูลในใบสมคัรจะถูกเก็บรักษาไว้อีกเป็นระยะเวลา 24 เดือน เพื่อพิจารณาความเหมาะสมกับตำแหน่งงานอื่น ในกรณีที่ท่าน ผ่าน การพิจารณารับเข้าทำงาน ข้อมูลในใบสมัครจะถูกเก็บรักษาไว้ตลอดระยะเวลาการเป็นพนักงาน/ลูกจ้าง และเก็บต่อเนื่องอีกเป็นระยะเวลา 10 ปี เพื่อกรณีต้องใช้เป็นหลักฐานประกอบการใช้สิทธิเรียกร้องตามกฎหมาย พระราชบัญญัติคุ้มครองแรงงาน พ.ศ. 2541 และที่แก้ไขเพิ่มเติม

        2. ข้อมูลส่วนบุคคลที่กรุงเทพมหานครฯ เก็บรวบรวมในคร้ังนี้ กรุงเทพมหานครฯ จะใช้วิธีการที่ชอบด้วยกฏหมายและเป็นธรรมในการเก็บรวบรวมข้อมูลส่วนบุคคลอย่างจำกัดเพียงเท่าที่จำเป็นภายใต้วัตถุประสงค์การทำงานของกรุงเทพมหานครฯ เพื่อใช้เป็นข้อมูลป

  • ชื่อ-นามสกุล เพื่อติดต่อกับทางกรุงเทพมหานครฯ
  • อีเมล์ เพื่อใช้ในการติดต่อกับกรุงเทพมหานครฯ
  • เบอร์โทร เพื่อใช้สมัครงานกับทางกรุงเทพมหานครฯ
  • ที่อยู่ เพื่อใช้สมัครงานกับทางกรุงเทพมหานครฯ
  • ประวัติการทำงาน, ประวัติการศึกษา, ประวัติการฝึกอบรม ตามข้อมูลข้างต้น

        ท้้งนี้ข้อมูลส่วนบุคคลดังกล่าวเป็นข้อมูลที่จำเป็นสำหรับการทำงานของกรุงเทพมหานครฯ หากไม่มีข้อมูลดังกล่าว อาจส่งผลต่อกระบวนการพิจารณาคุณสมบัติของผู้สมัคร

    ทั้งนี้ผู้สมัครเป็นผู้มีสิทธิเลือกได้ว่าจะบันทึกข้อมูลส่วนบุคคลอื่นใด และยินดีจะเปิดเผยข้อมูลดังกล่าวกับบุคคลหรือหน่วยงานอื่นหรือไม่ วัตถุประสงค์ในการเก็บรวบรวมข้อมูลส่วนบุคคล กรุงเทพมหานครฯ จะเก็บรวบรวมข้อมูลส่วนบุคคลของท่านเพื่อนำไปใช้หรือเปิดเผยเท่าที่จำเป็นภายใต้วัตถุประสงค์ในการใช้ประกอบการพิจารณาคัดเลือกตามตำแหน่งที่ผู้ให้ข้อมูลแสดงความประสงค์ไว้เท่าน้้น กรุงเทพมหานครฯ จะไม่ดำเนินการอื่นใดแตกต่างจากที่ระบุในวัตถุประสงค์เว้นแต่มีกฏหมายบัญญัติให้กระทำหรือมีหนังสือร้องขอที่สามารถปฏิบัติได้ตามกฏหมาย เช่น เพื่อความจำเป็นในการป้องกันด้านสุขภาพและโรคติดต่ออันตราย

` + `
คำรับรอง

1. ข้าพเจ้าขอให้คำรับรองว่า ข้อความดังกล่าวข้างต้นเป็นจริงทุกประการ และข้าพเจ้ามีคุณสมบัติทั่วไปและไม่มีลักษณะต้องห้ามตามมาตรา 43 แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัคร
2. กรณีข้าพเจ้ามีลักษณะต้องห้าม ตามมาตรา 43 ข. แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และประสงค์จะยื่นคำขอยกเว้นเข้ารับราชการฯ ต่อสำนักงาน ก.ก. ตามระเบียบ ก.ก. ว่าด้วยการยกเว้นให้ผู้มีลักษณะต้องห้ามเข้ารับราชการเป็นข้าราชการกรุงเทพมหานคร พ.ศ. 2556 ตามมติ ก.ก. ครั้งที่ 7/2556 เมื่อวันที่ 15 สิงหาคม 2556 ข้าพเจ้าจะยื่นคำขอยกเว้นฯ ภายในวันปิดรับสมัคร ทั้งนี้ หากยื่นภายหลังกำหนด สำนักงาน ก.ก. จะไม่รับคำขอดังกล่าว
3. ข้าพเจ้าจะยื่นหลักฐานและเอกสารที่แสดงว่า เป็นผู้มีคุณสมบัติทั่วไปและมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัครภายในระยะเวลาที่กำหนดตามประกาศฯ หากมีการตรวจสอบหลักฐานและเอกสาร และหรือคุณวุฒิการศึกษาของข้าพเจ้าในภายหลังปรากฏว่าข้าพเจ้ามีคุณสมบัติไม่ตรงหรือมีลักษณะต้องห้ามตามประกาศรับสมัครหรือไม่ได้รับการยกเว้นให้ถือว่า ข้าพเจ้าเป็นผู้ขาดคุณสมบัติในการสมัครครั้งนี้มาตั้งแต่ต้น และไม่มีสิทธิได้รับการบรรจุและแต่งตั้งให้ดำรงตำแหน่ง และข้าพเจ้าจะไม่มีสิทธิเรียกร้องใด ๆ ทั้งสิ้น และหากข้าพเจ้าจงใจกรอกข้อความอันเป็นเท็จ อาจมีความผิดทางอาญาฐานแจ้งความเท็จต่อเจ้าพนักงาน ตามประมวลกฎหมายอาญา มาตรา 137
4. ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้าขอแสดงความยินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง
5. ข้าพเจ้ารับทราบว่าการส่งใบสมัครคัดเลือกฯ พร้อมเอกสารนี้ ยังไม่ได้รับการตรวจสอบคุณสมบัติตามหลักเกณฑ์ ประกาศรับสมัครคัดเลือก และเงื่อนไขต่าง ๆ โดยจะได้รับการตรวจสอบคุณสมบัติเมื่อเป็นผู้สอบผ่านข้อเขียนภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่งแล้วเท่านั้น
` ); const editorConfirm = ref( - `
1. ข้าพเจ้าขอให้คำรับรองว่า ข้อความดังกล่าวข้างต้นนี้เป็นจริงทุกประการและข้าพเจ้ามีคุณสมบัติทั่วไปและ ไม่มีลักษณะต้องห้าม ตามมาตรา 43 แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากร-กรุงเทพมหานคร พ.ศ. 2554 และมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัคร
2. กรณีข้าพเจ้ามีลักษณะต้องห้าม ตามมาตรา 43 ข. แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานคร และบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และประสงค์จะยื่นคำขอยกเว้นเข้ารับราชการฯ ต่อหัวหน้าสำนักงาน ก.ก. ตามระเบียบ ก.ก. ว่าด้วยการยกเว้นให้ผู้มีลักษณะต้องห้ามเข้ารับราชการเป็นข้าราชการกรุงเทพมหานคร พ.ศ. 2556 ตามมติ ก.ก. ครั้งที่ 7/2556 เมื่อวันที่ 15 สิงหาคม 2556 ข้าพเจ้าจะยื่นภายในวันปิดรับสมัคร ทั้งนี้ หากยื่นภายหลังกำหนด สำนักงาน ก.ก. จะไม่รับคำขอดังกล่าว
3. ข้าพเจ้าจะยื่นหลักฐานและเอกสารที่แสดงว่าเป็นผู้มีคุณสมบัติทั่วไปและมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัครภายในระยะเวลาที่กำหนดตามประกาศฯ
4. หากมีการตรวจสอบหลักฐานและเอกสารและหรือคุณวุฒิการศึกษาของข้าพเจ้าในภายหลัง ปรากฏว่าข้าพเจ้ามีคุณสมบัติไม่ตรงหรือมีลักษณะต้องห้ามตามประกาศรับสมัครหรือไม่ได้รับการยกเว้นให้ถือว่าข้าพเจ้า เป็นผู้ขาดคุณสมบัติในการสมัครครั้งนี้มาตั้งแต่ต้น และไม่มีสิทธิได้รับการบรรจุและแต่งตั้งให้ดำรงตำแหน่ง และข้าพเจ้าจะไม่ใช้สิทธิเรียกร้องใด ๆ ทั้งสิ้น และหากข้าพเจ้าจงใจกรอกข้อความอันเป็นเท็จอาจมีความผิดทางอาญาฐานแจ้งความเท็จต่อเจ้าพนักงานตามประมวลกฎหมายอาญา มาตรา 137
` + `
ข้อกำหนดและเงื่อนไขฉบับนี้ ถือเป็นข้อตกลงในการเก็บข้อมูล

    ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้ายินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง

` ); const checkDocument = ref(false); const checkDisability = ref(false); diff --git a/src/modules/03_recruiting/views/02_qualify/manageDetail.vue b/src/modules/03_recruiting/views/02_qualify/manageDetail.vue index f2cd65577..640278b5a 100644 --- a/src/modules/03_recruiting/views/02_qualify/manageDetail.vue +++ b/src/modules/03_recruiting/views/02_qualify/manageDetail.vue @@ -282,7 +282,7 @@ const optionsStatus = ref([ }, { id: "checkRegister", - name: "ตรวจสอบข้อมูลสมัครสอบ", + name: "รอกดรับใบสมัคร", }, { id: "payment", @@ -298,11 +298,11 @@ const optionsStatus = ref([ }, { id: "checkSeat", - name: "จัดที่นั่งสอบ", + name: "กดรับใบสมัครแล้ว", }, { id: "checkPoint", - name: "สรุปคะแนนสอบ", + name: "รอสรุปคะแนนสอบ", }, { id: "done", @@ -554,7 +554,7 @@ const fetchDataSummary = async () => { }; /** - * สรุปคะแนนสอบ + * รอสรุปคะแนนสอบ */ const clickPointRow = async (row: any) => { candidateId.value = row.id; @@ -574,7 +574,7 @@ const statusCandidate = (status: string) => { case "register": return "ยังไม่สมัครสอบ"; case "checkRegister": - return "ตรวจสอบข้อมูลสมัครสอบ"; + return "รอกดรับใบสมัคร"; case "payment": return "รอชำระค่าสมัครสอบ"; case "rejectRegister": @@ -584,9 +584,9 @@ const statusCandidate = (status: string) => { case "rejectPayment": return "หลักฐานชำระเงินไม่ถูกต้อง"; case "checkSeat": - return "จัดที่นั่งสอบ"; + return "กดรับใบสมัครแล้ว"; case "checkPoint": - return "สรุปคะแนนสอบ"; + return "รอสรุปคะแนนสอบ"; case "done": return "คัดเลือกสำเร็จ"; case "waiver": From d698f8e26b2def7cf460254ffd6b089b0361e4eb Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 12 Oct 2023 04:44:56 +0700 Subject: [PATCH 07/17] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20text=20?= =?UTF-8?q?=E0=B9=83=E0=B8=99=E0=B9=83=E0=B8=9A=E0=B8=AA=E0=B8=A1=E0=B8=B1?= =?UTF-8?q?=E0=B8=84=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/03_recruiting/components/ExamFinished.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/03_recruiting/components/ExamFinished.vue b/src/modules/03_recruiting/components/ExamFinished.vue index 4c6153ab1..8fdc0c397 100644 --- a/src/modules/03_recruiting/components/ExamFinished.vue +++ b/src/modules/03_recruiting/components/ExamFinished.vue @@ -14,10 +14,10 @@
{{ examNumber }}
-
เลขที่นั่งสอบ :
+
สนามสอบ :
{{ examSeat }}
-
+
From 35163e482ad1b3e40cd272ef2316e936e1381897 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 12 Oct 2023 10:43:32 +0700 Subject: [PATCH 08/17] =?UTF-8?q?=E0=B8=A5=E0=B8=9A=20rule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Receive/AddEmployee/Main.vue | 7 +------ .../components/Receive/receiveDetail2.vue | 14 -------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/src/modules/05_placement/components/Receive/AddEmployee/Main.vue b/src/modules/05_placement/components/Receive/AddEmployee/Main.vue index 89bbbf381..9ab021f2e 100644 --- a/src/modules/05_placement/components/Receive/AddEmployee/Main.vue +++ b/src/modules/05_placement/components/Receive/AddEmployee/Main.vue @@ -456,12 +456,7 @@ const clickBack = () => {
+ :label="`${'เบอร์โทร'}`" mask="##########" />
diff --git a/src/modules/05_placement/components/Receive/receiveDetail2.vue b/src/modules/05_placement/components/Receive/receiveDetail2.vue index f5de77fe9..529e0a9f8 100644 --- a/src/modules/05_placement/components/Receive/receiveDetail2.vue +++ b/src/modules/05_placement/components/Receive/receiveDetail2.vue @@ -583,9 +583,6 @@ onMounted(async () => { dense @update:model-value="changeCardID" lazy-rules - :rules="[ - (val:string) => !!val || `${'กรุณากรอก เลขประจำตัวประชาชน'}`, - (val:string) => val.length >= 13 || `${'กรุณากรอกเลขประจำตัวประชาชนให้ครบ'}`,]" :readonly="!edit" :borderless="!edit" label="เลขประจำตัวประชาชน" @@ -600,7 +597,6 @@ onMounted(async () => { :class="getClass(edit)" :readonly="!edit" :borderless="!edit" - :rules="[(val:string) => !!val || `${'กรุณาเลือก คำนำหน้าชื่อ'}`]" :outlined="edit" dense lazy-rules @@ -626,7 +622,6 @@ onMounted(async () => { :readonly="!edit" :borderless="!edit" v-model="informaData.firstname" - :rules="[(val:string) => !!val || `${'กรุณากรอก ชื่อ'}`]" :label="`${'ชื่อ'}`" /> @@ -640,7 +635,6 @@ onMounted(async () => { :borderless="!edit" v-model="informaData.lastname" lazy-rules - :rules="[(val:string) => !!val || `${'กรุณากรอก นามสกุล'}`]" :label="`${'นามสกุล'}`" /> @@ -675,7 +669,6 @@ onMounted(async () => { ? null : date2Thai(informaData.birthDate) " - :rules="[(val:string) => !!val || `${'กรุณาเลือก วัน/เดือน/ปี เกิด'}`]" :label="`${'วัน/เดือน/ปี เกิด'}`" > @@ -353,7 +354,7 @@ const columns = ref([ sortable: true, field: "position", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; width:25%;", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -364,7 +365,7 @@ const columns = ref([ sortable: true, field: "type", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; width:20%;", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -408,7 +409,7 @@ const columns = ref([ sortable: true, field: "startDate", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; width:15%;", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -419,7 +420,7 @@ const columns = ref([ sortable: true, field: "endDate", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; width:15%;", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -430,7 +431,7 @@ const columns = ref([ sortable: true, field: "rangeDate", headerStyle: "font-size: 14px", - style: "font-size: 14px", + style: "font-size: 14px; width:20%;", sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, From 8e5dfc1a02d71ca35b3e8a4c70b1ade5fdbabf67 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 12 Oct 2023 11:32:13 +0700 Subject: [PATCH 10/17] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20?= =?UTF-8?q?=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B8=AD=E0=B8=A2=E0=B8=B9=E0=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Information/Address.vue | 89 +++++++++++++++++-- .../PersonalDetail/Information/Address.vue | 16 ++-- 2 files changed, 88 insertions(+), 17 deletions(-) diff --git a/src/modules/04_registry/components/Information/Address.vue b/src/modules/04_registry/components/Information/Address.vue index ae57f5613..52e5bd0db 100644 --- a/src/modules/04_registry/components/Information/Address.vue +++ b/src/modules/04_registry/components/Information/Address.vue @@ -31,7 +31,7 @@ />
-
-
-
-
-
- { showLoader(); await http .get(config.API.province) - .then((res) => { + .then(async (res) => { const data = res.data.result; let option: DataOption[] = []; data.map((r: any) => { @@ -807,6 +807,29 @@ const fetchProvince = async () => { }); Ops.value.provinceOps = option; OpsFilter.value.provinceOps = option; + + const checkRegistProvinceId = await option.find( + (e: any) => e.id === addressData.value.provinceId + ); + if (checkRegistProvinceId) { + addressData.value = addressData.value; + } else { + addressData.value.provinceId = ""; + addressData.value.districtId = ""; + addressData.value.subdistrictId = ""; + addressData.value.codep = ""; + } + const checkCurrentProvinceId = await option.find( + (e: any) => e.id === addressData.value.provinceIdC + ); + if (checkCurrentProvinceId) { + addressData.value = addressData.value; + } else { + addressData.value.provinceIdC = ""; + addressData.value.districtIdC = ""; + addressData.value.subdistrictIdC = ""; + addressData.value.codec = ""; + } }) .catch((e) => { messageError($q, e); @@ -821,7 +844,7 @@ const fetchDistrict = async (id: string | null, position: string) => { showLoader(); await http .get(config.API.listDistrict(id)) - .then((res) => { + .then(async (res) => { const data = res.data.result; let option: DataOption[] = []; data.map((r: any) => { @@ -830,9 +853,35 @@ const fetchDistrict = async (id: string | null, position: string) => { if (position == "1") { Ops.value.districtOps = option; OpsFilter.value.districtOps = option; + + const checkRegistDistrictId = await option.find( + (e: any) => e.id === addressData.value.districtId + ); + if (checkRegistDistrictId) { + addressData.value.districtId = addressData.value.districtId; + addressData.value.subdistrictId = addressData.value.subdistrictId; + addressData.value.codep = addressData.value.codep; + } else { + addressData.value.districtId = ""; + addressData.value.subdistrictId = ""; + addressData.value.codep = ""; + } } else { Ops.value.districtCOps = option; OpsFilter.value.districtCOps = option; + + const checkCurrentDistrictIdC = await option.find( + (e: any) => e.id === addressData.value.districtIdC + ); + if (checkCurrentDistrictIdC) { + addressData.value.districtIdC = addressData.value.districtIdC; + addressData.value.subdistrictIdC = addressData.value.subdistrictIdC; + addressData.value.codec = addressData.value.codec; + } else { + addressData.value.districtIdC = ""; + addressData.value.subdistrictIdC = ""; + addressData.value.codec = ""; + } } }) .catch((e) => { @@ -849,7 +898,7 @@ const fetchSubDistrict = async (id: string | null, position: string) => { showLoader(); await http .get(config.API.listSubDistrict(id)) - .then((res) => { + .then(async (res) => { const data = res.data.result; let option: zipCodeOption[] = []; data.map((r: any) => { @@ -862,9 +911,31 @@ const fetchSubDistrict = async (id: string | null, position: string) => { if (position == "1") { Ops.value.subdistrictOps = option; OpsFilter.value.subdistrictOps = option; + + const checkRegistSubdistrictId = await option.find( + (e: any) => e.id === addressData.value.subdistrictId + ); + if (checkRegistSubdistrictId) { + addressData.value.subdistrictId = addressData.value.subdistrictId; + addressData.value.codep = addressData.value.codep; + } else { + addressData.value.subdistrictId = ""; + addressData.value.codep = ""; + } } else { Ops.value.subdistrictCOps = option; OpsFilter.value.subdistrictCOps = option; + + const checkCurrentSubdistrictIdC = await option.find( + (e: any) => e.id === addressData.value.subdistrictIdC + ); + if (checkCurrentSubdistrictIdC) { + addressData.value.subdistrictIdC = addressData.value.subdistrictIdC; + addressData.value.codec = addressData.value.codec; + } else { + addressData.value.subdistrictIdC = ""; + addressData.value.codec = ""; + } } }) .catch((e) => { diff --git a/src/modules/05_placement/components/PersonalDetail/Information/Address.vue b/src/modules/05_placement/components/PersonalDetail/Information/Address.vue index 820acc19c..58c93d330 100644 --- a/src/modules/05_placement/components/PersonalDetail/Information/Address.vue +++ b/src/modules/05_placement/components/PersonalDetail/Information/Address.vue @@ -172,7 +172,7 @@ const editData = async () => { config.API.placementAddressId(route.params.personalId.toString()), body ) - .then((res) => { + .then(() => { success($q, "แก้ไขข้อมูลสำเร็จ"); }) .catch((e) => { @@ -182,7 +182,7 @@ const editData = async () => { edit.value = false; emit("update:statusEdit", false); await getNewData(); - // await props.fetch(); + await props.fetch(); // await fetchProvince(); }); }; @@ -469,7 +469,7 @@ const getClass = (val: boolean) => { />
- { />
- { />
- { class="col-xs-6 col-sm-3 col-md-3" v-if="addressData.registSame == '0'" > - { class="col-xs-6 col-sm-3 col-md-3" v-if="addressData.registSame == '0'" > - { class="col-xs-6 col-sm-3 col-md-3" v-if="addressData.registSame == '0'" > - Date: Thu, 12 Oct 2023 11:33:02 +0700 Subject: [PATCH 11/17] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=80=E0=B8=87=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=99?= =?UTF-8?q?=E0=B9=84=E0=B8=82=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=A7=E0=B8=B1=E0=B8=99=E0=B8=97=E0=B8=B5=E0=B9=88=20?= =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20modalfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../03_recruiting/components/Career.vue | 1116 ++++++++--------- 1 file changed, 508 insertions(+), 608 deletions(-) diff --git a/src/modules/03_recruiting/components/Career.vue b/src/modules/03_recruiting/components/Career.vue index 1a458efd1..a00065564 100644 --- a/src/modules/03_recruiting/components/Career.vue +++ b/src/modules/03_recruiting/components/Career.vue @@ -1,109 +1,58 @@ From 3d23c76d4cb81048220526734d890ba70fba0315 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 12 Oct 2023 15:12:22 +0700 Subject: [PATCH 12/17] =?UTF-8?q?=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=84?= =?UTF-8?q?=E0=B8=B1=E0=B8=94=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=84=E0=B8=AD=E0=B8=A1=E0=B9=80=E0=B8=A1=E0=B9=89=E0=B8=99?= =?UTF-8?q?=E0=B8=AA=E0=B8=B1=E0=B8=87=E0=B8=81=E0=B8=B1=E0=B8=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../03_recruiting/views/02_qualify/Period.vue | 20 +++++++++---------- .../views/02_qualify/PeriodAdd.vue | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/modules/03_recruiting/views/02_qualify/Period.vue b/src/modules/03_recruiting/views/02_qualify/Period.vue index 25e35fcc4..13b775da5 100644 --- a/src/modules/03_recruiting/views/02_qualify/Period.vue +++ b/src/modules/03_recruiting/views/02_qualify/Period.vue @@ -117,7 +117,7 @@ const visibleColumns = ref([ "no", "announcementExam", "yearly", - "category", + // "category", "name", "document", "dateAnnouncement", @@ -153,15 +153,15 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, - { - name: "category", - align: "left", - label: "สังกัด", - sortable: true, - field: "category", - headerStyle: "font-size: 14px", - style: "font-size: 14px", - }, + // { + // name: "category", + // align: "left", + // label: "สังกัด", + // sortable: true, + // field: "category", + // headerStyle: "font-size: 14px", + // style: "font-size: 14px", + // }, { name: "name", align: "left", diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index 73d9aee6f..2f269d835 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -1179,10 +1179,10 @@ const name = ref(""); const note = ref(""); const editor = ref(""); const editorCondition = ref( - `
คำรับรอง

1. ข้าพเจ้าขอให้คำรับรองว่า ข้อความดังกล่าวข้างต้นเป็นจริงทุกประการ และข้าพเจ้ามีคุณสมบัติทั่วไปและไม่มีลักษณะต้องห้ามตามมาตรา 43 แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัคร
2. กรณีข้าพเจ้ามีลักษณะต้องห้าม ตามมาตรา 43 ข. แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และประสงค์จะยื่นคำขอยกเว้นเข้ารับราชการฯ ต่อสำนักงาน ก.ก. ตามระเบียบ ก.ก. ว่าด้วยการยกเว้นให้ผู้มีลักษณะต้องห้ามเข้ารับราชการเป็นข้าราชการกรุงเทพมหานคร พ.ศ. 2556 ตามมติ ก.ก. ครั้งที่ 7/2556 เมื่อวันที่ 15 สิงหาคม 2556 ข้าพเจ้าจะยื่นคำขอยกเว้นฯ ภายในวันปิดรับสมัคร ทั้งนี้ หากยื่นภายหลังกำหนด สำนักงาน ก.ก. จะไม่รับคำขอดังกล่าว
3. ข้าพเจ้าจะยื่นหลักฐานและเอกสารที่แสดงว่า เป็นผู้มีคุณสมบัติทั่วไปและมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัครภายในระยะเวลาที่กำหนดตามประกาศฯ หากมีการตรวจสอบหลักฐานและเอกสาร และหรือคุณวุฒิการศึกษาของข้าพเจ้าในภายหลังปรากฏว่าข้าพเจ้ามีคุณสมบัติไม่ตรงหรือมีลักษณะต้องห้ามตามประกาศรับสมัครหรือไม่ได้รับการยกเว้นให้ถือว่า ข้าพเจ้าเป็นผู้ขาดคุณสมบัติในการสมัครครั้งนี้มาตั้งแต่ต้น และไม่มีสิทธิได้รับการบรรจุและแต่งตั้งให้ดำรงตำแหน่ง และข้าพเจ้าจะไม่มีสิทธิเรียกร้องใด ๆ ทั้งสิ้น และหากข้าพเจ้าจงใจกรอกข้อความอันเป็นเท็จ อาจมีความผิดทางอาญาฐานแจ้งความเท็จต่อเจ้าพนักงาน ตามประมวลกฎหมายอาญา มาตรา 137
4. ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้าขอแสดงความยินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง
5. ข้าพเจ้ารับทราบว่าการส่งใบสมัครคัดเลือกฯ พร้อมเอกสารนี้ ยังไม่ได้รับการตรวจสอบคุณสมบัติตามหลักเกณฑ์ ประกาศรับสมัครคัดเลือก และเงื่อนไขต่าง ๆ โดยจะได้รับการตรวจสอบคุณสมบัติเมื่อเป็นผู้สอบผ่านข้อเขียนภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่งแล้วเท่านั้น
` + `
ข้อกำหนดและเงื่อนไขฉบับนี้ ถือเป็นข้อตกลงในการเก็บข้อมูล

    ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้ายินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง

` ); const editorConfirm = ref( - `
ข้อกำหนดและเงื่อนไขฉบับนี้ ถือเป็นข้อตกลงในการเก็บข้อมูล

    ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้ายินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง

` + `
คำรับรอง

1. ข้าพเจ้าขอให้คำรับรองว่า ข้อความดังกล่าวข้างต้นเป็นจริงทุกประการ และข้าพเจ้ามีคุณสมบัติทั่วไปและไม่มีลักษณะต้องห้ามตามมาตรา 43 แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัคร
2. กรณีข้าพเจ้ามีลักษณะต้องห้าม ตามมาตรา 43 ข. แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และประสงค์จะยื่นคำขอยกเว้นเข้ารับราชการฯ ต่อสำนักงาน ก.ก. ตามระเบียบ ก.ก. ว่าด้วยการยกเว้นให้ผู้มีลักษณะต้องห้ามเข้ารับราชการเป็นข้าราชการกรุงเทพมหานคร พ.ศ. 2556 ตามมติ ก.ก. ครั้งที่ 7/2556 เมื่อวันที่ 15 สิงหาคม 2556 ข้าพเจ้าจะยื่นคำขอยกเว้นฯ ภายในวันปิดรับสมัคร ทั้งนี้ หากยื่นภายหลังกำหนด สำนักงาน ก.ก. จะไม่รับคำขอดังกล่าว
3. ข้าพเจ้าจะยื่นหลักฐานและเอกสารที่แสดงว่า เป็นผู้มีคุณสมบัติทั่วไปและมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัครภายในระยะเวลาที่กำหนดตามประกาศฯ หากมีการตรวจสอบหลักฐานและเอกสาร และหรือคุณวุฒิการศึกษาของข้าพเจ้าในภายหลังปรากฏว่าข้าพเจ้ามีคุณสมบัติไม่ตรงหรือมีลักษณะต้องห้ามตามประกาศรับสมัครหรือไม่ได้รับการยกเว้นให้ถือว่า ข้าพเจ้าเป็นผู้ขาดคุณสมบัติในการสมัครครั้งนี้มาตั้งแต่ต้น และไม่มีสิทธิได้รับการบรรจุและแต่งตั้งให้ดำรงตำแหน่ง และข้าพเจ้าจะไม่มีสิทธิเรียกร้องใด ๆ ทั้งสิ้น และหากข้าพเจ้าจงใจกรอกข้อความอันเป็นเท็จ อาจมีความผิดทางอาญาฐานแจ้งความเท็จต่อเจ้าพนักงาน ตามประมวลกฎหมายอาญา มาตรา 137
4. ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้าขอแสดงความยินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง
5. ข้าพเจ้ารับทราบว่าการส่งใบสมัครคัดเลือกฯ พร้อมเอกสารนี้ ยังไม่ได้รับการตรวจสอบคุณสมบัติตามหลักเกณฑ์ ประกาศรับสมัครคัดเลือก และเงื่อนไขต่าง ๆ โดยจะได้รับการตรวจสอบคุณสมบัติเมื่อเป็นผู้สอบผ่านข้อเขียนภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่งแล้วเท่านั้น
` ); const checkDocument = ref(false); const checkDisability = ref(false); From 24e9dbc2a5b58879ae3ac8699ac58d60319a204f Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 12 Oct 2023 18:09:10 +0700 Subject: [PATCH 13/17] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20fecth=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B9=80=E0=B8=A1=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=A5=E0=B9=87=E0=B8=AD=E0=B8=81=E0=B8=82=E0=B9=89=E0=B8=AD?= =?UTF-8?q?=E0=B8=A1=E0=B8=B9=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../07_insignia/components/2_Manage/listManage.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/components/2_Manage/listManage.vue index 361ef0c4b..74ae0eb88 100644 --- a/src/modules/07_insignia/components/2_Manage/listManage.vue +++ b/src/modules/07_insignia/components/2_Manage/listManage.vue @@ -95,10 +95,11 @@ const fecthAgency = async () => { await http .get(config.API.insigniaAgency()) .then(async (res) => { - DataStore.agency = res.data.result; loadview.value = true; + DataStore.agency = res.data.result; if (roleDataStore.adminRole) { await fecthType(); // ถ้าไม่มีหนวยงานจะเรียกหน่วยงานทั้งหมด + } else { } }) .catch((err) => { @@ -323,9 +324,9 @@ const backToEditinsignia2Role = async (reason: string) => { }; // ล็อกข้อมูลรอบการเสนอขอ const requestSendNote = async () => { - var organization = await (DataStore.agency != null - ? DataStore.agency - : DataStore.typeOc); + // var organization = await (DataStore.agency != null + // ? DataStore.agency + // : DataStore.typeOc); dialogConfirm($q, async () => { showLoader(); await http @@ -336,7 +337,7 @@ const requestSendNote = async () => { success($q, "บันทึกสำเร็จ"); await fecthInsigniaByOc( round.value, - organization, + DataStore.typeOc, "officer", tab.value ); @@ -399,6 +400,7 @@ const uploadFile = async (event: any) => { + - - - -
- - - - - - - - -
-
- -
-
- -
- + + + + + + +
+
+ +
+
+ +
+ -
- - - - - -
-
- - - - - -
-
- -
-
-
- - -
-
-
+
+ + + + + +
+
+ + + + + +
+
+ +
+
+
+ + +
+
+
diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index 2f269d835..16f962af9 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -1179,7 +1179,7 @@ const name = ref(""); const note = ref(""); const editor = ref(""); const editorCondition = ref( - `
ข้อกำหนดและเงื่อนไขฉบับนี้ ถือเป็นข้อตกลงในการเก็บข้อมูล

    ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้ายินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง

` + `
ข้อกำหนดและเงื่อนไขฉบับนี้ ถือเป็นข้อตกลงในการเก็บข้อมูล

    ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้ายินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง

` ); const editorConfirm = ref( `
คำรับรอง

1. ข้าพเจ้าขอให้คำรับรองว่า ข้อความดังกล่าวข้างต้นเป็นจริงทุกประการ และข้าพเจ้ามีคุณสมบัติทั่วไปและไม่มีลักษณะต้องห้ามตามมาตรา 43 แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัคร
2. กรณีข้าพเจ้ามีลักษณะต้องห้าม ตามมาตรา 43 ข. แห่งพระราชบัญญัติระเบียบข้าราชการกรุงเทพมหานครและบุคลากรกรุงเทพมหานคร พ.ศ. 2554 และประสงค์จะยื่นคำขอยกเว้นเข้ารับราชการฯ ต่อสำนักงาน ก.ก. ตามระเบียบ ก.ก. ว่าด้วยการยกเว้นให้ผู้มีลักษณะต้องห้ามเข้ารับราชการเป็นข้าราชการกรุงเทพมหานคร พ.ศ. 2556 ตามมติ ก.ก. ครั้งที่ 7/2556 เมื่อวันที่ 15 สิงหาคม 2556 ข้าพเจ้าจะยื่นคำขอยกเว้นฯ ภายในวันปิดรับสมัคร ทั้งนี้ หากยื่นภายหลังกำหนด สำนักงาน ก.ก. จะไม่รับคำขอดังกล่าว
3. ข้าพเจ้าจะยื่นหลักฐานและเอกสารที่แสดงว่า เป็นผู้มีคุณสมบัติทั่วไปและมีคุณสมบัติเฉพาะสำหรับตำแหน่งที่สมัครตรงตามประกาศรับสมัครภายในระยะเวลาที่กำหนดตามประกาศฯ หากมีการตรวจสอบหลักฐานและเอกสาร และหรือคุณวุฒิการศึกษาของข้าพเจ้าในภายหลังปรากฏว่าข้าพเจ้ามีคุณสมบัติไม่ตรงหรือมีลักษณะต้องห้ามตามประกาศรับสมัครหรือไม่ได้รับการยกเว้นให้ถือว่า ข้าพเจ้าเป็นผู้ขาดคุณสมบัติในการสมัครครั้งนี้มาตั้งแต่ต้น และไม่มีสิทธิได้รับการบรรจุและแต่งตั้งให้ดำรงตำแหน่ง และข้าพเจ้าจะไม่มีสิทธิเรียกร้องใด ๆ ทั้งสิ้น และหากข้าพเจ้าจงใจกรอกข้อความอันเป็นเท็จ อาจมีความผิดทางอาญาฐานแจ้งความเท็จต่อเจ้าพนักงาน ตามประมวลกฎหมายอาญา มาตรา 137
4. ข้าพเจ้าได้ศึกษาและทำความเข้าใจพระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 ตลอดจนประกาศและระเบียบที่เกี่ยวข้องโดยละเอียดครบถ้วนแล้ว ข้าพเจ้าขอแสดงความยินยอมให้หน่วยงานหรือบุคคลที่เกี่ยวข้องกับการดำเนินการสรรหา สามารถเก็บ รวบรวม ใช้และเปิดเผยข้อมูลส่วนบุคคลที่เกี่ยวข้องกับข้าพเจ้า เพื่อประโยชน์ของทางราชการตามกฎหมายที่เกี่ยวข้อง
5. ข้าพเจ้ารับทราบว่าการส่งใบสมัครคัดเลือกฯ พร้อมเอกสารนี้ ยังไม่ได้รับการตรวจสอบคุณสมบัติตามหลักเกณฑ์ ประกาศรับสมัครคัดเลือก และเงื่อนไขต่าง ๆ โดยจะได้รับการตรวจสอบคุณสมบัติเมื่อเป็นผู้สอบผ่านข้อเขียนภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่งแล้วเท่านั้น
` diff --git a/src/modules/03_recruiting/views/02_qualify/manageDetail.vue b/src/modules/03_recruiting/views/02_qualify/manageDetail.vue index 640278b5a..6184531fc 100644 --- a/src/modules/03_recruiting/views/02_qualify/manageDetail.vue +++ b/src/modules/03_recruiting/views/02_qualify/manageDetail.vue @@ -481,7 +481,7 @@ const fetchData = async () => { avatar: r.profileImg != null ? r.profileImg.detail : "", citizenId: r.citizenId, number: r.number, - registerDate: date2Thai(r.registerDate), + registerDate: date2Thai(r.registerDate, false, true), examIdenNumber: r.examIdenNumber, seatNumber: r.seatNumber, resultC: r.resultC, From 9975c4176d375490e9cd68f1875ab6ad9a8063b9 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 13 Oct 2023 07:57:40 +0700 Subject: [PATCH 15/17] =?UTF-8?q?=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=84?= =?UTF-8?q?=E0=B8=B1=E0=B8=94=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=94?= =?UTF-8?q?validate=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B8=97=E0=B8=B3=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../03_recruiting/components/Career.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/modules/03_recruiting/components/Career.vue b/src/modules/03_recruiting/components/Career.vue index 20c9f86c3..ba1ae035b 100644 --- a/src/modules/03_recruiting/components/Career.vue +++ b/src/modules/03_recruiting/components/Career.vue @@ -181,7 +181,12 @@ lazy-rules :borderless="!edit" :model-value="date2Thai(startDate)" - :rules="[(val) => !!val || `${'กรุณาเลือกวันที่เริ่ม'}`]" + :rules="[ + (val) => !!val || `${'กรุณาเลือกวันที่เริ่ม'}`, + (val) => + startDate <= endDate || + `${'กรุณาเลือกวันที่เริ่มให้ถูกต้อง'}`, + ]" hide-bottom-space :label="`${'วันที่เริ่ม'}`" > @@ -228,7 +233,9 @@ :model-value="date2Thai(endDate)" :rules="[ (val) => !!val || `${'กรุณาเลือกวันที่สิ้นสุด'}`, - endDateValidation, + (val) => + startDate <= endDate || + `${'กรุณาเลือกวันที่สิ้นสุดให้ถูกต้อง'}`, ]" hide-bottom-space :label="`${'วันที่สิ้นสุด'}`" @@ -664,14 +671,6 @@ const checkDelete = (row: RequestItemsObject) => { ); }; -//validat enddate -const endDateValidation = (value: Date) => { - if (startDate.value < endDate.value) { - return true; - } - return false; -}; - /** * ลบข้อมูลใน table */ @@ -832,6 +831,7 @@ const addRow = () => { * เช็คว่ามีการแก้ไขข้อมูล */ const clickEditRow = () => { + myForm.value.validate(); editRow.value = true; }; From 58a8f97e6ca627a0fddf7d5dc430ce10eb6c036b Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Fri, 13 Oct 2023 10:10:39 +0700 Subject: [PATCH 16/17] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20clickEditRowposition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/03_recruiting/components/Career.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/modules/03_recruiting/components/Career.vue b/src/modules/03_recruiting/components/Career.vue index ba1ae035b..76b4d06f4 100644 --- a/src/modules/03_recruiting/components/Career.vue +++ b/src/modules/03_recruiting/components/Career.vue @@ -50,11 +50,12 @@