From 287ef3c598b73ecf759d0cfc58b60aef82e0528c Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 31 Aug 2023 17:17:46 +0700 Subject: [PATCH] no message --- src/modules/04_registry/components/PopupHistory.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/04_registry/components/PopupHistory.vue b/src/modules/04_registry/components/PopupHistory.vue index 4d0c622dc..02f15e538 100644 --- a/src/modules/04_registry/components/PopupHistory.vue +++ b/src/modules/04_registry/components/PopupHistory.vue @@ -98,7 +98,7 @@ const fecthPositionOfficer = async () => { }; const fetchPositionPerm = async () => { await http - .get(config.API.listPositionEmployeeGroupHistory) + .get(config.API.listPositionEmployeePositionHistory) .then((res) => { let data = res.data.result.items; positionOps.value = data.map((e: any) => ({ id: e.id, name: e.name })); @@ -155,6 +155,7 @@ const clickSearch = async (type: string) => { })); } else { notifyError($q, "ไม่มีข้อมูลที่ต้องการค้นหา"); + rows.value = []; } }) .catch((err) => { @@ -197,7 +198,7 @@ const paginationLabel = (start: number, end: number, total: number) => {