diff --git a/src/modules/05_placement/components/probation/MainProbation.vue b/src/modules/05_placement/components/probation/MainProbation.vue
index 8e456569f..3cbd5c771 100644
--- a/src/modules/05_placement/components/probation/MainProbation.vue
+++ b/src/modules/05_placement/components/probation/MainProbation.vue
@@ -1,7 +1,7 @@
@@ -557,7 +529,6 @@ onMounted(async () => {
standout
dense
v-model="filterKeyword"
- ref="filterRef"
outlined
placeholder="ค้นหา"
@keydown.enter.prevent="getSearchMain()"
@@ -675,7 +646,7 @@ onMounted(async () => {
boundary-links
direction-links
:max-pages="5"
- @update:model-value="getpersonalList"
+ @update:model-value="fetchProbationPersonalList"
>
@@ -688,7 +659,7 @@ onMounted(async () => {
@@ -697,7 +668,6 @@ onMounted(async () => {
standout
dense
v-model="formProbation.keyword"
- ref="filterRef2"
outlined
placeholder="ค้นหา"
@keydown.enter.prevent="filterKeyword2Fn(formProbation.page)"
@@ -708,7 +678,6 @@ onMounted(async () => {
v-if="filterKeyword2 !== ''"
name="clear"
class="cursor-pointer"
- @click="resetFilter2"
/>
@@ -723,7 +692,6 @@ onMounted(async () => {
:paging="true"
dense
class="custom-header-table"
- v-bind="attrs"
:pagination-label="paginationLabel2"
v-model:pagination="pagination2"
@update:pagination="updatePagination"
@@ -750,7 +718,7 @@ onMounted(async () => {
outline
color="primary"
label="เพิ่ม"
- @click="clickAdd(props.row)"
+ @click="addPersonalData(props.row)"
>
diff --git a/src/modules/05_placement/interface/response/Probation.ts b/src/modules/05_placement/interface/response/Probation.ts
new file mode 100644
index 000000000..acd70a9ad
--- /dev/null
+++ b/src/modules/05_placement/interface/response/Probation.ts
@@ -0,0 +1,47 @@
+interface ResListProbation {
+ firstName: string;
+ idcard: string;
+ lastName: string;
+ name: string;
+ order_number: string;
+ ordering: number;
+ organization: string;
+ personal_id: string;
+ position_level: string;
+ position_line: string;
+ position_type: string;
+ prefixName: string;
+ probation_no: number;
+ probation_status: number;
+}
+
+interface ResProfileProbation {
+ firstName: string;
+ id: string;
+ idcard: string;
+ isProbation: boolean;
+ lastName: string;
+ orgChild1: string;
+ orgChild1Name: string;
+ orgChild2: string;
+ orgChild2Name: string;
+ orgChild3: string;
+ orgChild3Name: string;
+ orgChild4: string;
+ orgChild4Name: string;
+ orgRootName: string;
+ posExecutiveName: string;
+ posLevelName: string;
+ posNo: string;
+ posTypeName: string;
+ position: string;
+ positionArea: string;
+ positionExecutiveField: string;
+ positionField: string;
+ prefix: string;
+ rank: string;
+ refCommandNo: string;
+ root: string;
+}
+
+export type { ResListProbation, ResProfileProbation };