From 5144effebd9442df3e7991b360ea291bb2442662 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Mon, 26 Jun 2023 16:34:41 +0700 Subject: [PATCH] =?UTF-8?q?update=20ui=20=E0=B8=A3=E0=B8=B0=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=9A=E0=B8=A3=E0=B8=A3=E0=B8=88=E0=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_placement/components/pass/Table.vue | 1261 ++++++++--------- .../components/pass/TableView.vue | 4 +- .../interface/request/placement.ts | 20 +- 3 files changed, 602 insertions(+), 683 deletions(-) diff --git a/src/modules/05_placement/components/pass/Table.vue b/src/modules/05_placement/components/pass/Table.vue index 139c95389..ce476e3e4 100644 --- a/src/modules/05_placement/components/pass/Table.vue +++ b/src/modules/05_placement/components/pass/Table.vue @@ -28,7 +28,7 @@ const positionLevelId = ref(); const date = ref(new Date()); const expanded = ref([]); const mixin = useCounterMixin(); //เรียกฟังก์ชันกลาง -const editvisible = ref(false); +const editvisible = ref(true); const myForm = ref(null); const positionLineId = ref(); const positionId = ref(); @@ -175,9 +175,9 @@ const fetchOrganization = async (id: string) => { }; const templateDetail = async () => { await fetchOrganization(selected.value); - + salaryClass.value = ""; - + if (ocId.value != "") { salaryClass.value = salaryClass.value + `สังกัด${ocId.value} `; } @@ -268,19 +268,19 @@ const appoint = ref({ const saveAppoint = () => { const dataAppoint = { - date : date.value, + date: date.value, posNoId: posNoId.value, positionId: positionId.value, positionPathSideId: positionPathSideId.value, positionTypeId: positionTypeId.value, positionLineId: positionLineId.value, positionLevelId: positionLevelId.value, - amount : amount.value, - positionSalaryAmount : positionSalaryAmount.value, - mouthSalaryAmount : mouthSalaryAmount.value, - salaryClass : salaryClass.value, - refSelected : refSelected.value, - salaryRef : salaryRef.value + amount: amount.value, + positionSalaryAmount: positionSalaryAmount.value, + mouthSalaryAmount: mouthSalaryAmount.value, + salaryClass: salaryClass.value, + refSelected: refSelected.value, + salaryRef: salaryRef.value, }; console.log("save appoint===>", dataAppoint); }; @@ -439,8 +439,8 @@ const columns = ref([ }, { name: "BMAOfficer", - align: "center", - label: "ข้าราชการฯ กทม.", + align: "left", + label: "สถานภาพ", sortable: true, field: "BMAOfficer", headerStyle: "font-size: 14px", @@ -471,7 +471,7 @@ const rows = ref([ UnitGroup: "", Unit: "", ReportingDate: "-", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "ขรก.กทม. สามัญ", Status: "สละสิทธิ์", checkList: null, address: @@ -505,7 +505,7 @@ const rows = ref([ UnitGroup: "", Unit: "", ReportingDate: "", //วันที่รายงานตัว - BMAOfficer: false, + BMAOfficer: "บุคคลภายนอก", Status: "ยังไม่บรรจุ", checkList: null, address: @@ -539,7 +539,7 @@ const rows = ref([ UnitGroup: "", Unit: "", ReportingDate: "", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "ลูกจ้างชั่วคราว", Status: "ยังไม่บรรจุ", checkList: null, address: @@ -574,7 +574,7 @@ const rows = ref([ UnitGroup: "กลุ่มงานช่วยนักบริหาร (กบห.)", Unit: "นักทรัพยากรบุคคล (กบห.1)", ReportingDate: "2023-05-30", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "ลูกจ้างประจำ", Status: "เตรียมบรรจุ", checkList: null, address: @@ -609,7 +609,7 @@ const rows = ref([ UnitGroup: "กลุ่มงานช่วยนักบริหาร (กบห.)", Unit: "นักทรัพยากรบุคคล (กบห.2)", ReportingDate: "2023-05-30", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "ขรก.กทม. สามัญ", Status: "เตรียมบรรจุ", checkList: null, address: @@ -643,7 +643,7 @@ const rows = ref([ UnitGroup: "กลุ่มงานช่วยนักบริหาร (กบห.)", Unit: "นักทรัพยากรบุคคล (กบห.3)", ReportingDate: "2023-05-30", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "บุคคลภายนอก", Status: "เตรียมบรรจุ", checkList: null, address: @@ -677,7 +677,7 @@ const rows = ref([ UnitGroup: "กลุ่มงานช่วยนักบริหาร (กบห.)", Unit: "นักทรัพยากรบุคคล (กบห.4)", ReportingDate: "2023-05-30", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "ขรก.กทม. สามัญ", Status: "บรรจุเเล้ว", checkList: null, address: @@ -711,7 +711,7 @@ const rows = ref([ UnitGroup: "กลุ่มงานช่วยนักบริหาร (กบห.)", Unit: "นักทรัพยากรบุคคล (กบห.4)", ReportingDate: "2023-05-30", //วันที่รายงานตัว - BMAOfficer: true, + BMAOfficer: "ลูกจ้างชั่วคราว", Status: "ขอผ่อนผัน", checkList: null, address: @@ -968,9 +968,9 @@ const refOptionsFilter = ref([ ]); const itemtest = ref({}); -const clickCancel = async () => { - editvisible.value = false; -}; +// const clickCancel = async () => { +// editvisible.value = false; +// }; const openAppointModal = (value: any) => { appointModal.value = true; @@ -1131,675 +1131,594 @@ const listKeyId = (data: any) => { :visible-columns="visibleColumns" v-model:inputfilter="filter" v-model:inputvisible="visibleColumns" - v-model:editvisible="editvisible" - :cancel="clickCancel" - :history="true" - :boss="true" - :saveNoDraft="true" - :add="save" - > - + + - - - - - - -
-
- - - - - - - - - - - +
+ +
+
+ +
+
+ + +
-
- - -
-
-
- - - - - -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
- -
-
- -
-
- -
-
- - - -
+ -
- -
-
- -
-
-
-
+ + + + + + + + + + + + + + + +
+ + + + +
-
-
- - - -
-
-
- - - - - - - - - - -
- - - - - -
-
- - -
-
-
+ + + + + + + diff --git a/src/modules/05_placement/components/pass/TableView.vue b/src/modules/05_placement/components/pass/TableView.vue index 79e3c0d1a..c07f87d36 100644 --- a/src/modules/05_placement/components/pass/TableView.vue +++ b/src/modules/05_placement/components/pass/TableView.vue @@ -1,7 +1,7 @@