no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-08-23 16:00:32 +07:00
parent cc3f375ca9
commit 8c9760bb83
4 changed files with 641 additions and 444 deletions

View file

@ -149,13 +149,10 @@ const visibleColumns = ref<string[]>([
const action = ref<string>("");
const fileUpload = ref<any>(null);
const fileInputRef = ref<any>(null);
onMounted(() => {
retireld.value = retireld_params.toString();
console.log(retireld_params);
fecthlistprofile(retireld.value);
fecthCheck(retireld.value);
});
const round = ref<number>();
const typeReport = ref<string>("");
@ -188,6 +185,9 @@ const fecthlistprofile = async (id: string) => {
remove: e.remove,
}));
console.log(statusReport.value);
if (statusReport.value == false) {
fecthCheck(retireld.value);
} else statusUpload.value = true;
})
.catch((e) => {
messageError($q, e);
@ -200,7 +200,6 @@ const fecthCheck = async (id: string) => {
await http
.get(config.API.checkfileupload(id))
.then((res) => {
console.log(res);
statusUpload.value = res.data.result;
})
.catch((err) => {