Merge branch 'develop' into devTee
This commit is contained in:
commit
0ba98ab052
2 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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" : ""),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue