แก้ไขประเมินบุคคล
This commit is contained in:
parent
2399c9dcf0
commit
3487ae71bb
6 changed files with 61 additions and 19 deletions
|
|
@ -9,6 +9,9 @@ import { useQuasar } from "quasar";
|
|||
import keycloak from "@/plugins/keycloak";
|
||||
|
||||
import genReport from "@/plugins/genreport";
|
||||
import { useEvaluateDetailStore } from "@/modules/12_evaluatePersonal/store/EvaluateDetail";
|
||||
|
||||
const store = useEvaluateDetailStore();
|
||||
|
||||
const fullName = ref<string>(
|
||||
keycloak.tokenParsed ? keycloak.tokenParsed.name!.toString() : ""
|
||||
|
|
@ -160,10 +163,27 @@ function confirmApprove(){
|
|||
}).catch((e)=>{
|
||||
messageError($q,e)
|
||||
}).finally(()=>{
|
||||
nextStep();
|
||||
modalConfirm.value = false
|
||||
hideLoader()
|
||||
})
|
||||
}
|
||||
|
||||
function nextStep(){
|
||||
showLoader();
|
||||
http
|
||||
.put(config.API.evaluationNextFinish(id.value))
|
||||
// .then((res) => {})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
success($q, "ยืนยันผลการพิจารณาสำเร็จ");
|
||||
store.step = 9;
|
||||
store.currentStep = 9;
|
||||
hideLoader();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue