diff --git a/src/modules/05_placement/components/Main.vue b/src/modules/05_placement/components/Main.vue index 6fbca2201..27332bb0d 100644 --- a/src/modules/05_placement/components/Main.vue +++ b/src/modules/05_placement/components/Main.vue @@ -150,8 +150,8 @@ const fetchPlacementData = async (val: number) => { }) .finally(() => { filterKeyword.value = ""; - examTime.value = "all"; - examType.value = "all"; + examTime.value = "ทั้งหมด"; + examType.value = "ทั้งหมด"; expiredAccount.value = false; hideLoader(); }); @@ -233,11 +233,10 @@ const searchFilterTable = async () => { rows.value = []; if (examType.value !== undefined && examType.value !== null) { await DataStore.DataUpdateMain( - examTime.value, - examType.value, + examTime.value == "ทั้งหมด" ? "all" : examTime.value, + examType.value == "ทั้งหมด" ? "all" : examType.value, expiredAccount.value ); - const dataArr: any = []; await DataStore.DataMainUpdate.map((e: any) => { dataArr.push({ @@ -278,6 +277,37 @@ const paginationLabel = (start: number, end: number, total: number) => { if (paging.value == true) return " " + start + "-" + end + " ใน " + total; else return start + "-" + end + " ใน " + total; }; +// filter ใน dropdown ครั้งที่ +const examTimeOP2 = ref([]); +function filterFnexamTime(val: string, update: any) { + if (val === "") { + update(() => { + examTimeOP2.value = examTimeOP; + examTime.value = ""; + }); + } else { + update(() => { + examTimeOP2.value = examTimeOP.filter( + (e: any) => e.name.search(val) !== -1 + ); + }); + } +} +const examTypeOP2 = ref([]); +function filterFnExamtype(val: string, update: any) { + if (val === "") { + update(() => { + examTypeOP2.value = examTypeOP.value; + examType.value = ""; + }); + } else { + update(() => { + examTypeOP2.value = examTypeOP.value.filter( + (e: any) => e.name.search(val) !== -1 + ); + }); + } +} @@ -832,22 +1072,86 @@ onMounted(async () => { ผู้ดูแลการทดลองปฏิบัติหน้าที่ราชการ (อาจมีได้มากกว่า 1 คน)
- - + + + + +
- - + +
@@ -862,29 +1166,71 @@ onMounted(async () => {
3.1 ชื่องาน / ภารกิจงานที่มอบหมาย (ควรมีมากกว่า 1 ภารกิจงาน) - +
- +
- +
- +
-
- +
+
@@ -901,22 +1247,59 @@ onMounted(async () => {
ความรู้ความสามารถในการปฏิบัติงาน - +
-
+
- +
-
- +
+
@@ -924,13 +1307,28 @@ onMounted(async () => {
ความรู้เรื่องกฎหมายและกฎระเบียบ (ไม่เกิน 20 หัวข้อ)
- +
-
+
- +
{{ item.description }} @@ -938,7 +1336,10 @@ onMounted(async () => {
-
+
{{ item.description }} @@ -946,16 +1347,27 @@ onMounted(async () => {
-
+
{{ item.description }}
-
+
- +
@@ -964,16 +1376,27 @@ onMounted(async () => {
-
+
{{ item.description }}
-
+
- +
{{ item.description }} @@ -981,16 +1404,27 @@ onMounted(async () => {
-
+
{{ item.description }}
-
+
- +
{{ item.description }} @@ -998,16 +1432,27 @@ onMounted(async () => {
-
+
{{ item.description }}
-
+
- +
{{ item.description }} @@ -1023,8 +1468,15 @@ onMounted(async () => {
- +
@@ -1032,60 +1484,121 @@ onMounted(async () => {
ทักษะ
- + +
- + +
- + +
- + +
@@ -1104,69 +1617,145 @@ onMounted(async () => {
สมรรถนะหลัก
- + +
- + +
- + +
- + +
- + +
@@ -1174,46 +1763,88 @@ onMounted(async () => {
สมรรถนะประจํากลุ่มงาน
- + +
- + +
- + +
@@ -1224,9 +1855,12 @@ onMounted(async () => {
- 3.4 พฤติกรรมที่จําเป็นสําหรับการปฏิบัติงาน + 3.4 พฤติกรรมที่จําเป็นสําหรับการปฏิบัติงาน ( ได้แก่ ความประพฤติ ความมีคุณธรรมจริยธรรม การรักษาวินัย - ) + )
@@ -1300,7 +1934,13 @@ onMounted(async () => {
- +
@@ -1308,28 +1948,70 @@ onMounted(async () => {
3.6 ผลผลิตของงานที่คาดหวังและตัวชี้วัดความสําเร็จของงาน - +
- +
- +
- +
-
- +
+
@@ -1398,8 +2080,14 @@ onMounted(async () => {
  • ความสำเร็จของงานที่ได้รับมอบหมาย
  • อื่นๆ (ถ้ามี) - +
  • @@ -1482,16 +2170,36 @@ onMounted(async () => {
    - +
    - +
    - + @@ -1499,12 +2207,23 @@ onMounted(async () => { {{ parseInt(value + 543) }}
    - - + + + + +
    - + @@ -1563,13 +2394,30 @@ onMounted(async () => { {{ parseInt(value + 543) }}