fixing bug api kpi
This commit is contained in:
parent
9e0b341a5a
commit
96d0764f76
5 changed files with 9 additions and 6 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue