diff --git a/src/modules/18_command/components/Step/2_ListPersons.vue b/src/modules/18_command/components/Step/2_ListPersons.vue index d25648aa0..b4d1f6dfe 100644 --- a/src/modules/18_command/components/Step/2_ListPersons.vue +++ b/src/modules/18_command/components/Step/2_ListPersons.vue @@ -80,7 +80,7 @@ const baseColumns = ref([ align: "left", label: "เลขประจำตัวประชาชน", field: "citizenId", - sortable: true, + sortable: false, headerStyle: "font-size: 14px", style: "font-size: 14px", }, @@ -89,7 +89,7 @@ const baseColumns = ref([ align: "left", label: "ชื่อ-นามสกุล", field: "fullName", - sortable: true, + sortable: false, headerStyle: "font-size: 14px", style: "font-size: 14px", format(val, row) { @@ -101,7 +101,7 @@ const baseColumns = ref([ align: "left", label: "ตำแหน่ง", field: "position", - sortable: true, + sortable: false, headerStyle: "font-size: 14px", style: "font-size: 14px", }, @@ -110,7 +110,7 @@ const baseColumns = ref([ align: "left", label: "ประเภทตำแหน่ง", field: "positionType", - sortable: true, + sortable: false, headerStyle: "font-size: 14px", style: "font-size: 14px", format(val, row) { @@ -127,7 +127,7 @@ const baseColumns = ref([ format(val) { return val ? val.toLocaleString() : "-"; }, - sortable: true, + sortable: false, headerStyle: "font-size: 14px", style: "font-size: 14px", }, @@ -286,6 +286,8 @@ async function getPersonList() { position.value = data.positionDetail; rows.value = data.commandRecives; rowsMain.value = data.commandRecives; + + onSearchData(); }) .catch((e) => { messageError($q, e);