diff --git a/src/modules/01_metadata/components/position/01_Position.vue b/src/modules/01_metadata/components/position/01_Position.vue index 9bc91143..d57608f9 100644 --- a/src/modules/01_metadata/components/position/01_Position.vue +++ b/src/modules/01_metadata/components/position/01_Position.vue @@ -344,7 +344,8 @@ onMounted(async () => {
(""); //คำค้นหา @@ -93,7 +99,6 @@ const posTypeRank = ref(null); // ระดับตำแหน /** * ดึงข้อมูลรายการประเภทตำแหน่ง - * * บันทึกข้อมูลรายการประเภทตำแหน่งใน Store positionTypeStore */ async function fetchData() { @@ -113,7 +118,6 @@ async function fetchData() { /** * ยืนยันการบันทึกข้อมูลประเภทตำแหน่ง - * * ุ ถ้า dialogStatus เป็น 'create' จะทำการเพิ่มข้อมูลรายการประเภทตำแหน่ง ถ่้าไม่จะทำการแก้ไขข้อมูล * เมื่อบันทึกข้อมูลเสร็จจะเรียก function fetchData() เพื่อดึงข้อมูลรายการประเภทตำแหน่งใหม่ * @@ -152,7 +156,6 @@ function onSubmit() { /** * ปืด popup ฟอร์มประเภทตำแหน่ง - * * และเคลียร์ตัวแปรในฟอร์มประเภทตำแหน่ง */ function closeDialog() { @@ -169,6 +172,14 @@ function onclickDetail(id: string) { router.push(`/master-data/position/level/${id}`); } +function serchDataTable() { + store.row = onSearchDataTable( + filterKeyword.value, + store.rowMain, + columns ? columns : [] + ); +} + /** * hook ทำงานเมื่อ Components ถูกเรียกใช้งาน */ @@ -198,12 +209,11 @@ onMounted(async () => { -