fixing competency
This commit is contained in:
parent
aa643f2b9c
commit
f14567a0b6
3 changed files with 9 additions and 6 deletions
|
|
@ -61,9 +61,9 @@ const router = useRouter();
|
|||
async function fetchEvaluation() {
|
||||
await http
|
||||
.get(config.API.kpiEvaluation + `/${id.value}`)
|
||||
.then(async (res) => {
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
store.dataEvaluation = await data;
|
||||
store.dataEvaluation = res.data.result;
|
||||
formProfile.status = store.convertStatus(data.evaluationStatus);
|
||||
formProfile.result = store.convertResults(data.evaluationResults);
|
||||
// store.checkCompetency();
|
||||
|
|
|
|||
|
|
@ -184,11 +184,12 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
function onChangTab() {
|
||||
async function onChangTab() {
|
||||
store.formQuery.page = 1;
|
||||
dataListMain.value = [];
|
||||
dataListMain.value = await [];
|
||||
store.selected = await [];
|
||||
|
||||
fetchList();
|
||||
store.selected = [];
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue