no message
This commit is contained in:
parent
783120b472
commit
287ef3c598
1 changed files with 3 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ const fecthPositionOfficer = async () => {
|
||||||
};
|
};
|
||||||
const fetchPositionPerm = async () => {
|
const fetchPositionPerm = async () => {
|
||||||
await http
|
await http
|
||||||
.get(config.API.listPositionEmployeeGroupHistory)
|
.get(config.API.listPositionEmployeePositionHistory)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
let data = res.data.result.items;
|
let data = res.data.result.items;
|
||||||
positionOps.value = data.map((e: any) => ({ id: e.id, name: e.name }));
|
positionOps.value = data.map((e: any) => ({ id: e.id, name: e.name }));
|
||||||
|
|
@ -155,6 +155,7 @@ const clickSearch = async (type: string) => {
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
notifyError($q, "ไม่มีข้อมูลที่ต้องการค้นหา");
|
notifyError($q, "ไม่มีข้อมูลที่ต้องการค้นหา");
|
||||||
|
rows.value = [];
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
@ -197,7 +198,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<q-btn round flat color="primary" icon="mdi-history" @click="clickOpenpopup">
|
<q-btn round flat color="blue" icon="mdi-history" @click="clickOpenpopup">
|
||||||
<q-tooltip>แสดงประวัติถือครอง</q-tooltip></q-btn
|
<q-tooltip>แสดงประวัติถือครอง</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue