แก้ KPI
This commit is contained in:
parent
abd7cd8beb
commit
ecbc9cee3a
6 changed files with 171 additions and 103 deletions
|
|
@ -63,8 +63,6 @@ async function fetchEvaluation() {
|
|||
.get(config.API.kpiEvaluation + `/${id.value}`)
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
// console.log("🚀 ~ .then ~ data:", data);
|
||||
|
||||
store.dataEvaluation = await data;
|
||||
formProfile.status = store.convertStatus(data.evaluationStatus);
|
||||
formProfile.result = store.convertResults(data.evaluationResults);
|
||||
|
|
@ -89,7 +87,7 @@ async function fetchEvaluation() {
|
|||
|
||||
async function getProfile() {
|
||||
await http
|
||||
.get(config.API.orgPosition + `/${store.dataEvaluation.profileId}`)
|
||||
.get(config.API.profilePosition())
|
||||
.then(async (res) => {
|
||||
const data = await res.data.result;
|
||||
store.dataProfile = await data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue