diff --git a/src/modules/03_recruiting/components/ExamFinished.vue b/src/modules/03_recruiting/components/ExamFinished.vue
index bc824c871..437c0840d 100644
--- a/src/modules/03_recruiting/components/ExamFinished.vue
+++ b/src/modules/03_recruiting/components/ExamFinished.vue
@@ -193,7 +193,7 @@ const fetchCard = async () => {
-
+
diff --git a/src/modules/03_recruiting/components/TableCandidate.vue b/src/modules/03_recruiting/components/TableCandidate.vue
index 88697967d..d24baf50d 100644
--- a/src/modules/03_recruiting/components/TableCandidate.vue
+++ b/src/modules/03_recruiting/components/TableCandidate.vue
@@ -461,6 +461,7 @@ watch(
+
ดาวน์โหลดไฟล์
-
+
(false);
const checkDisability = ref(false);
const announcementExam = ref(true);
const round = ref(1);
-const yearly = ref(calculateFiscalYear(new Date()));
+const yearly = ref(new Date().getFullYear());
const nameRaw = ref(null);
const roundRaw = ref(null);
const yearlyRaw = ref(null);
@@ -84,6 +83,7 @@ const datePayment = ref<[Date, Date] | null>(null); //วันที่จ่
const dateAnnouncement = ref<[Date, Date] | null>(null); //วันที่ประกาศ
const dateAnnounce = ref(null); //วันประกาศผลสอบ
const dateExam = ref(null); //วันที่สอบ
+const graduationYearLock = ref(3); //ล็อกวันที่สำเร็จการศึกษา (ปี)
const myFormPayment = ref();
const myFormPosition = ref();
const organizationShortName = ref();
@@ -150,6 +150,7 @@ const visibleColumnsPosition = ref([
"position",
"level",
"type",
+ "educational",
"highDegree",
]);
const columnsPosition = ref([
@@ -199,6 +200,18 @@ const columnsPosition = ref([
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
+ {
+ name: "educational",
+ align: "left",
+ label: "กำหนดขีดจำกัดวุฒิการศึกษา",
+ sortable: true,
+ field: "educational",
+ headerStyle: "font-size: 14px",
+ style: "font-size: 14px",
+ sort: (a: string, b: string) =>
+ a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
+ },
+
{
name: "type",
align: "left",
@@ -242,6 +255,7 @@ async function fetchData() {
},
code: r.code,
highDegree: r.highDegree == true ? "1" : "0",
+ educationLevel: r.educationLevel,
});
});
const bankData: ResponsePayment[] = [];
@@ -276,7 +290,7 @@ async function fetchData() {
dateExam.value = data.examDate != null ? new Date(data.examDate) : null;
dateRegister.value =
data.registerStartDate != null && data.registerEndDate != null
- ? [new Date(data.registerStartDate), new Date(data.registerEndDate)]
+ ? [data.registerStartDate, data.registerEndDate]
: null;
if (data.fee == 0) {
data.paymentStartDate = null;
@@ -314,6 +328,7 @@ async function fetchData() {
companyCode.value = data.companyCode;
refNo1.value = data.refNo1;
reason.value = data.reason;
+ graduationYearLock.value = data.graduationYearLock;
})
.catch((e) => {
messageError($q, e);
@@ -405,6 +420,7 @@ function sendData() {
typeName: r.type.name,
code: r.code,
highDegree: r.highDegree == "1" ? true : false,
+ educationLevel: r.educationLevel,
});
});
if (fee.value == 0) {
@@ -446,11 +462,11 @@ function sendData() {
positionExam: positionData,
registerEndDate:
dateRegister.value != null
- ? convertDateToAPI(dateRegister.value[1])
+ ? convertDatetimeToAPI(dateRegister.value[1])
: null,
registerStartDate:
dateRegister.value != null
- ? convertDateToAPI(dateRegister.value[0])
+ ? convertDatetimeToAPI(dateRegister.value[0])
: null,
round: round.value,
year: yearly.value,
@@ -459,6 +475,7 @@ function sendData() {
companyCode: companyCode.value,
refNo1: refNo1.value,
reason: reason.value,
+ graduationYearLock: Number(graduationYearLock.value),
};
return valueData;
}
@@ -475,7 +492,6 @@ async function addData() {
const uploadDoc = await uploadDocData();
const uploadBarCode = await uploadBarCodes();
const uploadQrCode = await uploadQrCodes();
- hideLoader();
if (uploadImg && uploadDoc && uploadBarCode && uploadQrCode) {
success($q, "บันทึกรอบคัดเลือกสำเร็จ");
@@ -484,9 +500,10 @@ async function addData() {
})
.catch((e) => {
messageError($q, e);
- hideLoader();
})
- .finally(async () => {});
+ .finally(async () => {
+ hideLoader();
+ });
}
/**
@@ -502,20 +519,18 @@ async function editData(id: string) {
const uploadDoc = await uploadDocData();
const uploadBarCode = await uploadBarCodes();
const uploadQrCode = await uploadQrCodes();
- hideLoader();
-
- console.log(uploadImg, uploadDoc, uploadBarCode, uploadQrCode);
if (uploadImg && uploadDoc && uploadBarCode && uploadQrCode) {
success($q, "แก้ไขรอบคัดเลือกสำเร็จ");
- await clickBack();
+ clickBack();
}
})
.catch((e) => {
messageError($q, e);
- hideLoader();
})
- .finally(() => {});
+ .finally(() => {
+ hideLoader();
+ });
}
/**
@@ -842,6 +857,8 @@ function onUpdateHighDegree(val: string, index: string) {
rowsPosition.value[index].position = null;
rowsPosition.value[index].level =
val === "0" ? optionPosLevel1.value[0] : optionPosLevel2.value[0];
+ rowsPosition.value[index].educationLevel =
+ val === "0" ? "LOW_BACHELOR" : "BACHELOR";
}
watch(fee, () => {
@@ -1017,6 +1034,7 @@ onMounted(async () => {
:readonly="checkRoutePermisson"
:enableTimePicker="false"
week-start="0"
+ hide-bottom-space
>
{{ year + 543 }}
@@ -1073,6 +1091,7 @@ onMounted(async () => {
:model-value="dateThaiRange(dateAnnouncement)"
:label="`${'วันที่ประกาศ'}`"
:rules="[(val:string) => !!val || `${'กรุณาเลือกวันที่ประกาศ'}`]"
+ hide-bottom-space
>
{
:readonly="checkRoutePermisson"
borderless
range
- :enableTimePicker="false"
week-start="0"
>
@@ -1114,6 +1132,7 @@ onMounted(async () => {
:label="`${'วันที่สมัคร'}`"
clearable
@clear="clearDateRegister"
+ hide-bottom-space
>
{
:label="`${'วันที่ชำระเงิน'}`"
clearable
@clear="clearDatePayment"
+ hide-bottom-space
>
{
:label="`${'วันประกาศผลสอบ'}`"
clearable
@clear="clearDateAnnounce"
+ hide-bottom-space
>
{
+
@@ -1265,33 +1302,41 @@ onMounted(async () => {
/>
-
-
-
+
+
+
+
+
+
+
{
+
+
+
+
+
+
+
+
(false);
const round = ref(null);
const yearly = ref(null);
const examId = ref(route.params.examId.toString());
-const visible = ref(true); //เปิดปิด card สรุปข้อมูล
+const visible = ref(false); //เปิดปิด card สรุปข้อมูล
const dataNum = ref([]); //จำนวนสรุปจำนวนข้อมูลหลัก
const rows = ref([]);
const visibleColumns = ref([
@@ -58,7 +58,7 @@ const optionsStatus = ref([
},
{
id: "checkRegister",
- name: "รอกดรับใบสมัคร",
+ name: "ส่งใบสมัครแล้ว",
},
{
id: "payment",
@@ -74,7 +74,7 @@ const optionsStatus = ref([
},
{
id: "checkSeat",
- name: "กดรับใบสมัครแล้ว",
+ name: "รับใบสมัครแล้ว",
},
{
id: "checkPoint",
@@ -363,7 +363,7 @@ function statusCandidate(status: string) {
case "register":
return "ยังไม่สมัครสอบ";
case "checkRegister":
- return "รอกดรับใบสมัคร";
+ return "ส่งใบสมัครแล้ว";
case "payment":
return "รอชำระค่าสมัครสอบ";
case "rejectRegister":
@@ -373,7 +373,7 @@ function statusCandidate(status: string) {
case "rejectPayment":
return "หลักฐานชำระเงินไม่ถูกต้อง";
case "checkSeat":
- return "กดรับใบสมัครแล้ว";
+ return "รับใบสมัครแล้ว";
case "checkPoint":
return "รอสรุปคะแนนสอบ";
case "done":
diff --git a/src/modules/04_registryPerson/views/detailView.vue b/src/modules/04_registryPerson/views/detailView.vue
index 0de9ceeab..51132ac2e 100644
--- a/src/modules/04_registryPerson/views/detailView.vue
+++ b/src/modules/04_registryPerson/views/detailView.vue
@@ -417,7 +417,7 @@ async function onClickDownloadKp7(type: string) {
? config.API.profilshort(profileId.value, "profile-employee")
: config.API.profilshort(profileId.value, "profile");
- const fileName = type === "FULL" ? "ก.พ.7/ก.ก.1" : "ประวัติแบบย่อ";
+ const fileName = type === "FULL" ? "ทปอ. สามัญ" : "ประวัติแบบย่อ";
await http
.get(url)
.then(async (res) => {
@@ -891,7 +891,7 @@ onMounted(async () => {
- ก.พ.7/ก.ก.1
+ ทปอ. สามัญ
{
name="mdi-bookmark-outline"
/>
- เลือกหน่วยงานที่รับแต่งตั้ง/ย้าย
+ เลือกหน่วยงานที่รับการบรรจุ
{
name="mdi-bookmark-outline"
/>
- เลือกหน่วยงานที่รับบรรจุและแต่งตั้ง
+ เลือกหน่วยงานที่รับการบรรจุ