KPI
This commit is contained in:
parent
82b6f07897
commit
74bd72c70c
9 changed files with 123 additions and 75 deletions
|
|
@ -143,9 +143,6 @@ async function fetchProfile(id: string) {
|
|||
|
||||
function close() {
|
||||
modalEdit.value = false;
|
||||
evaluatorId.value = null;
|
||||
commanderId.value = null;
|
||||
commanderHighId.value = null;
|
||||
}
|
||||
|
||||
function onSubmit() {
|
||||
|
|
@ -175,10 +172,9 @@ function onSubmit() {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
async function getOrgOp() {
|
||||
http
|
||||
.get(config.API.Kpiorg)
|
||||
.get(config.API.Kpiorg+`/${store.dataProfile.profileId}`)
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
evaluatorIdMainOp.value = data.caregiver.map((i: any) => ({
|
||||
|
|
@ -294,8 +290,8 @@ async function getProfile() {
|
|||
}
|
||||
async function getAll() {
|
||||
await fetchEvaluation();
|
||||
getProfile();
|
||||
getOrgOp();
|
||||
await getProfile();
|
||||
await getOrgOp();
|
||||
}
|
||||
|
||||
function sendToEvaluatore() {
|
||||
|
|
@ -456,7 +452,7 @@ function goToSummary() {
|
|||
}
|
||||
|
||||
onMounted(async () => {
|
||||
showLoader();
|
||||
|
||||
store.isUpdate = await false;
|
||||
await getAll();
|
||||
});
|
||||
|
|
@ -887,6 +883,7 @@ onMounted(async () => {
|
|||
<q-separator />
|
||||
<q-card-section>
|
||||
<div class="column q-gutter-sm">
|
||||
{{ evaluatorId }}
|
||||
<q-select
|
||||
:readonly="
|
||||
!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue