fixing bug api kpi

This commit is contained in:
Warunee Tamkoo 2024-05-17 14:58:27 +07:00
parent 9e0b341a5a
commit 96d0764f76
5 changed files with 9 additions and 6 deletions

View file

@ -71,7 +71,7 @@ const optionTopic = ref<string[]>(optionTopicMain.value);
function fetchList() {
showLoader();
http
.get(config.API.kpiEvaluation + `/${props.type}/${evaluatorId.value}`)
.get(config.API.kpiUserEvaluation + `/${props.type}/${evaluatorId.value}`)
.then((res) => {
rows.value = res.data.result;
})
@ -115,7 +115,7 @@ function onSubmit() {
showLoader();
http
.put(
config.API.kpiEvaluation + `/${props.type}/${evaluatorId.value}`,
config.API.kpiUserEvaluation + `/${props.type}/${evaluatorId.value}`,
formComment
)
.then(() => {