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) => {