diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index b6459a850..a810db909 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -27,7 +27,6 @@ export default { placementDefermentInfo: (id: string) => `${placement}/pass/deferment/${id}`, placementDisclaimInfo: (id: string) => `${placement}/pass/disclaim/${id}`, placementUpdatePass: `${placement}/pass/update-status`, - placementUpdateDraftStatus: `${placement}/update/draft-status`, //personal placementPersonalId: (personalId: string) => diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts index d0229b204..865db4ea6 100644 --- a/src/api/09_leave/api.leave.ts +++ b/src/api/09_leave/api.leave.ts @@ -61,6 +61,4 @@ export default { leaveReportAPI: (type: string) => `${leave}/report/download/time-records/${type}`, - - leaveTask: `${leave}/admin/leave-task/process`, }; diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index f3378e539..0cbfc086e 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -272,10 +272,4 @@ export default { profileAssistanceReturn: `${env.API_URI}/placement/repatriation`, profileAssistanceUpdateDelete: (type: string) => `${registryNew}${type}/assistance/update-delete/`, - - profileAbsentLate: (type: string) => `${registryNew}${type}/absent-late`, - profileAbsentLateUpdateDelete: (type: string) => `${registryNew}${type}/absent-late/update-delete`, - profileAbsentLateHistory: (id: string, type: string) => - `${registryNew}${type}/absent-late/history/${id}`, - }; diff --git a/src/components/Dialogs/AddPersonal.vue b/src/components/Dialogs/AddPersonal.vue index 42bd3965b..6003ace6f 100644 --- a/src/components/Dialogs/AddPersonal.vue +++ b/src/components/Dialogs/AddPersonal.vue @@ -305,7 +305,7 @@ watch( outlined option-label="name" option-value="id" - @update:model-value="(rows = []), (selected = [])" + @update:model-value="rows = []" /> diff --git a/src/components/Dialogs/DialogDebug.vue b/src/components/Dialogs/DialogDebug.vue index 42230b6f4..94c5c349f 100644 --- a/src/components/Dialogs/DialogDebug.vue +++ b/src/components/Dialogs/DialogDebug.vue @@ -11,7 +11,6 @@ import http from "@/plugins/http"; import config from "@/app.config"; import DialogHeader from "@/components/DialogHeader.vue"; -import FooterContact from "@/components/FooterContact.vue"; const $q = useQuasar(); const store = usePositionKeycloakStore(); @@ -354,11 +353,6 @@ function onClose() {
-
-
- ผู้ดูแลระบบจะติดต่อกลับผ่านทางอีเมลที่ท่านระบุ กรุณาตรวจสอบอีเมลของท่านเป็นระยะ -
-
@@ -384,6 +377,12 @@ function onClose() { v-model="formData.phone" class="inputgreen" hide-bottom-space + :rules="[ + () => + !!formData.email || + !!formData.phone || + 'กรุณากรอกอีเมลหรือเบอร์โทรติดต่อกลับ', + ]" />
@@ -392,11 +391,7 @@ function onClose() { - -
- -
- + -
- - - พบปัญหาการใช้งานกรุณาติดต่อผู้ดูแลระบบ - 088-264-9800 - - -
- - - - - diff --git a/src/modules/03_recruiting/views/01_compete/CompeteReport.vue b/src/modules/03_recruiting/views/01_compete/CompeteReport.vue index de4c59ddc..d75dded2d 100644 --- a/src/modules/03_recruiting/views/01_compete/CompeteReport.vue +++ b/src/modules/03_recruiting/views/01_compete/CompeteReport.vue @@ -403,6 +403,16 @@ function clearFilter() { + +
+ +
+
+ +
+
+
+
diff --git a/src/modules/03_recruiting/views/02_qualify/DisablePeriod.vue b/src/modules/03_recruiting/views/02_qualify/DisablePeriod.vue index d23684dea..15ecf3039 100644 --- a/src/modules/03_recruiting/views/02_qualify/DisablePeriod.vue +++ b/src/modules/03_recruiting/views/02_qualify/DisablePeriod.vue @@ -112,7 +112,7 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", format(val, row) { - return `${row.year ? row.year + 543 : "-"}`; + return `${row.year + 543}`; }, sort: (a: number, b: number) => b - a, }, diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index e02f71ad4..6b54c2ac7 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -400,7 +400,7 @@ async function checkSave() { // เช็ค validation form ตำแหน่ง const isPositionFormValid = await myFormPosition.value?.validate(); - if (!isPositionFormValid && announcementExam.value) return; + if (!isPositionFormValid) return; // เช็คการเพิ่มตำแหน่ง if (announcementExam.value && rowsPosition.value.length === 0) { @@ -889,7 +889,7 @@ function fetchPosition(level: number) { * @param val ค่าประเภทตำแหน่ง 0 = ประเภททั่วไป ,1 = ประเภทวิชาการ * @param index ตำแหน่งของข้อมูล */ -function onUpdateHighDegree(val: string, index: number) { +function onUpdateHighDegree(val: string, index: string) { rowsPosition.value[index].position = null; rowsPosition.value[index].level = val === "0" ? optionPosLevel1.value[0] : optionPosLevel2.value[0]; diff --git a/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue b/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue index e08b1a073..5da6c11e0 100644 --- a/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue +++ b/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue @@ -92,7 +92,7 @@ const baseColumns = ref([ field: "year", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v + 543 : "-"), + format: (v) => v + 543, sort: (a: string, b: string) => a .toString() @@ -920,11 +920,9 @@ onMounted(async () => { :locale="'th'" :enableTimePicker="false" > - +