แก้ไขประเมิน
This commit is contained in:
parent
a07cc6d2a2
commit
b984caaa3c
10 changed files with 121 additions and 29 deletions
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue