แก้ api ประเมิน

This commit is contained in:
STW_TTTY\stwtt 2024-09-12 15:12:18 +07:00
parent 1766039004
commit eac72cdc5a

View file

@ -94,7 +94,7 @@ function fetchListPlan() {
showLoader();
http
.post(config.API.kpiPlan + `/search-edit`, formFilter)
.post(config.API.kpiPlan + `/search-kpi-plan`, formFilter)
.then((res) => {
listTarget.value = res.data.result.data;
maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize);
@ -148,7 +148,7 @@ function fetchListRole() {
formFilter.position = store.dataProfile.position;
http
.post(config.API.kpiRole + `/search-edit`, formFilter)
.post(config.API.kpiRole + `/search-kpi-role`, formFilter)
.then((res) => {
listTarget.value = res.data.result.data;
maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize);
@ -208,7 +208,7 @@ function fetchListSpecial() {
showLoader();
http
.post(config.API.kpiSpecial + `/search-edit`, body)
.post(config.API.kpiSpecial + `/search-kpi-special`, body)
.then((res) => {
listTarget.value = res.data.result.data;
maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize);