Merge branch 'fix/kpi_status' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m34s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-10-30 14:57:09 +07:00
commit b2a34bd6da

View file

@ -178,7 +178,7 @@ function onSubmit() {
}
async function getOrgOp() {
showLoader()
showLoader();
await http
.get(config.API.Kpiorg + `/${store.dataProfile.profileId}`)
.then((res) => {
@ -214,7 +214,7 @@ async function getOrgOp() {
name: `${i.prefix}${i.firstName} ${i.lastName}`,
}))
.find((i: any) => i.id == store.dataEvaluation.commanderHighId);
hideLoader()
hideLoader();
})
.catch((e) => {
messageError($q, e);
@ -351,7 +351,7 @@ function openStatus() {
router.push(`/probation-detail/${store.dataEvaluation.id}`);
}
function sendToEvauator() {
function sendToEvaluator() {
dialogConfirm($q, () => {
showLoader();
http
@ -672,6 +672,7 @@ onUnmounted(() => {
>*ำหน(อยละ) ผลสมฤทธของงานไมกตอง</span
>
<br v-if="!$q.screen.gt.xs" />
<q-btn
v-if="
store.rolePerson == 'USER' &&
@ -695,12 +696,14 @@ onUnmounted(() => {
>
<q-tooltip>งใหประเมนอน</q-tooltip>
</q-btn>
<q-btn
v-if="
!checkRoutePermisson &&
store.rolePerson == 'USER' &&
store.tabMain == '2' &&
store.dataEvaluation.evaluationStatus == 'APPROVE'
store.rolePerson === 'USER' &&
store.tabMain === '2' &&
store.dataEvaluation.evaluationStatus === 'APPROVE' &&
store.dataEvaluation.evaluationReqEdit !== 'EVALUATOR'
"
unelevated
round
@ -708,7 +711,7 @@ onUnmounted(() => {
color="grey-2"
text-color="blue-6"
size="md"
@click="sendToEvauator"
@click="sendToEvaluator"
>
<q-tooltip>ทำการประเม</q-tooltip>
</q-btn>