แก้ไขประเมิน

This commit is contained in:
Warunee Tamkoo 2023-12-23 10:20:41 +07:00
parent a07cc6d2a2
commit b984caaa3c
10 changed files with 121 additions and 29 deletions

View file

@ -27,6 +27,10 @@ const props = defineProps({
type: Array,
default: [],
},
fetchdata: {
type: Function,
default: () => "",
}
});
const { showLoader, hideLoader, messageError, dialogConfirm } = mixin;
@ -144,8 +148,6 @@ async function updatePaging(rpp: number, p: number) {
*/
function returnDirector(data: any) {
const dataList = data.map((item: any) => item.id);
console.log(dataList);
dialogConfirm($q, () => {
showLoader();
http
@ -160,6 +162,7 @@ function returnDirector(data: any) {
})
.finally(() => {
hideLoader();
props.fetchdata()
onClickClose();
});
});