แก้ API

This commit is contained in:
STW_TTTY\stwtt 2024-09-02 11:04:42 +07:00
parent c01031c687
commit cfd79ee40b
11 changed files with 18 additions and 17 deletions

View file

@ -94,7 +94,7 @@ function fetchListPlan() {
showLoader();
http
.post(config.API.kpiPlan + `/search`, formFilter)
.post(config.API.kpiPlan + `/search-edit`, 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`, formFilter)
.post(config.API.kpiRole + `/search-edit`, 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`, body)
.post(config.API.kpiSpecial + `/search-edit`, body)
.then((res) => {
listTarget.value = res.data.result.data;
maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize);

View file

@ -677,9 +677,9 @@ watch(
</q-card-section>
<q-separator />
<q-card-actions align="right" class="bg-white text-teal">
<q-space />
<div class="text-red q-px-sm">
<div v-if="isRoundClose" class="text-red q-px-sm">
รอบการประเมนนดแล
</div>
<q-btn