Merge branch 'develop' into devTee

This commit is contained in:
STW_TTTY\stwtt 2024-05-20 14:49:08 +07:00
commit 0ba98ab052
2 changed files with 6 additions and 2 deletions

View file

@ -43,7 +43,7 @@ function onSubmit() {
};
http
.put(config.API.kpiUserEvaluation, body.formScore)
.put(config.API.kpiEvaluation, body.formScore)
.then((res) => {
success($q, "บันทึกสำเร็จ");
})
@ -53,7 +53,7 @@ function onSubmit() {
function getData() {
showLoader();
http
.get(config.API.kpiUserEvaluation)
.get(config.API.kpiEvaluation)
.then((res) => {
dataLevel.value = res.data.result.data;
})

View file

@ -171,6 +171,10 @@ async function fetchDataPerson(search: boolean = false) {
queryParams.isRetire = formFilter.isShowRetire;
}
if (empType.value !== "officer") {
queryParams.type = empType.value;
}
http
.get(
config.API.registryNew(empType.value !== "officer" ? "-employee" : ""),