diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index a810db909..b6459a850 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -27,6 +27,7 @@ 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/components/Dialogs/DialogDebug.vue b/src/components/Dialogs/DialogDebug.vue index e84ef99da..42230b6f4 100644 --- a/src/components/Dialogs/DialogDebug.vue +++ b/src/components/Dialogs/DialogDebug.vue @@ -354,6 +354,11 @@ function onClose() {
+
+
+ ผู้ดูแลระบบจะติดต่อกลับผ่านทางอีเมลที่ท่านระบุ กรุณาตรวจสอบอีเมลของท่านเป็นระยะ +
+
@@ -378,12 +384,6 @@ function onClose() { v-model="formData.phone" class="inputgreen" hide-bottom-space - :rules="[ - () => - !!formData.email || - !!formData.phone || - 'กรุณากรอกอีเมลหรือเบอร์โทรติดต่อกลับ', - ]" />
diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue index 67062edde..e94467676 100644 --- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue +++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue @@ -402,6 +402,7 @@ const modalDialogSalary = ref(false); //แสดง popup ตำแห const isStatusEdit = ref(false); //สถานะแก้ไขข้อมูลตำแหน่งเงินเดือน const salaryId = ref(""); //id ที่ต้องการแก้ไข const dataLevel = ref([]); //รายการ ตำแหน่งเงินเดือน +const idCommandId = ref(false); //เช็คว่ามี commandId หรือไม่ const commandCodeOptions = ref(store.commandCodeData); //รายการปรเภทคำสั่ง const posTypeOptions = ref(store.posTypeData); //รายการประเภทตำแหน่ง | กลุ่มงาน @@ -658,6 +659,7 @@ async function onClickOpenDialog( } else { await fetchOptionGroup(); } + idCommandId.value = statusEdit ? (data.commandId ? true : false) : false; commandCodeOptions.value = store.commandCodeData; posTypeOptions.value = store.posTypeData; posLevelOptions.value = store.posLevelData; @@ -978,6 +980,7 @@ onMounted(async () => { ประวัติแก้ไขตำแหน่ง/เงินเดือน + {
{ autoApply year-picker :enableTimePicker="false" - class="inputgreen" + :class="classInput(!idCommandId)" + :disabled="idCommandId" >