KPI + UI สรุปผล
This commit is contained in:
parent
defcfd56da
commit
abd7cd8beb
13 changed files with 1011 additions and 75 deletions
|
|
@ -35,29 +35,29 @@ function close() {
|
|||
modal.value = false;
|
||||
}
|
||||
|
||||
// function getData() {
|
||||
// showLoader();
|
||||
// http
|
||||
// .get(config.API.orgPosition+`/${store.dataProfile.profileId}`)
|
||||
// .then((res) => {
|
||||
// const data = res.data.result.isProbation;
|
||||
// work.value = data;
|
||||
// })
|
||||
// .catch((e) => {
|
||||
// messageError($q, e);
|
||||
// })
|
||||
// .finally(() => {
|
||||
// hideLoader();
|
||||
// });
|
||||
// }
|
||||
// watch(
|
||||
// () => modal.value,
|
||||
// (n) => {
|
||||
// if (n == true) {
|
||||
// getData();
|
||||
// }
|
||||
// }
|
||||
// );
|
||||
function getData() {
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.orgPosition+`/${store.dataProfile.profileId}`)
|
||||
.then((res) => {
|
||||
const data = res.data.result.isProbation;
|
||||
work.value = data;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
}
|
||||
watch(
|
||||
() => modal.value,
|
||||
(n) => {
|
||||
if (n == true) {
|
||||
getData();
|
||||
}
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue