KPI => ประกาศผล, report
This commit is contained in:
parent
4419b41a39
commit
823fe93528
8 changed files with 372 additions and 147 deletions
|
|
@ -185,9 +185,6 @@ function fetchReport() {
|
|||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
hideLoader();
|
||||
})
|
||||
.finally(() => {
|
||||
persanalId.value = "";
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -236,13 +233,19 @@ function changOption(val: string) {
|
|||
val === "KPI8" ||
|
||||
val === "KPI9"
|
||||
) {
|
||||
persanalId.value = "";
|
||||
if (round.value !== "" && organization.value !== "") {
|
||||
persanalId.value = val === "KPI8" ? persanalId.value : "";
|
||||
organization.value = val === "KPI8" ? "" : organization.value;
|
||||
if (round.value && organization.value) {
|
||||
fetchReport();
|
||||
} else if (round.value && persanalId.value) {
|
||||
fetchReport();
|
||||
}
|
||||
} else {
|
||||
round.value = "";
|
||||
organization.value = "";
|
||||
if (persanalId.value) {
|
||||
fetchReport();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue