Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
mySkill-x
Commits
8d293e8b
Commit
8d293e8b
authored
Mar 26, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ฟอร์มประเมิน
parent
21dfbf99
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
12 deletions
+8
-12
idp-evalution.component.ts
...ance-evaluation/idp-evaluation/idp-evalution.component.ts
+2
-3
pms-evalution.component.ts
...ance-evaluation/pms-evaluation/pms-evalution.component.ts
+2
-3
self-evaluation.component.html
...evaluation/self-evaluation/self-evaluation.component.html
+0
-2
supervisor-evaluation.component.html
...upervisor-evaluation/supervisor-evaluation.component.html
+4
-4
No files found.
src/app/components/performance-evaluation/idp-evaluation/idp-evalution.component.ts
View file @
8d293e8b
...
...
@@ -13,7 +13,6 @@ export class IdpEvalutionComponent {
@
Input
()
evaluationRoundId
=
""
@
Input
()
evaluateeId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
masfromStatusType
=
""
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
currentDate
=
new
Date
()
hoveredCode
:
string
|
null
=
null
;
...
...
@@ -34,8 +33,8 @@ export class IdpEvalutionComponent {
next
:
response
=>
{
this
.
formIdp
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
if
(
this
.
formIdp
.
data
)
{
this
.
canSave
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
)
&&
(
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusTyp
e
!=
'Not_evaluating_yet'
)
this
.
canEdit
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
&&
(
+
(
this
.
formIdp
.
data
.
checkStep
)
<=
1
))
&&
(
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusTyp
e
!=
'Not_evaluating_yet'
)
this
.
canSave
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
)
&&
(
this
.
formIdp
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
formIdp
.
data
.
masfromStatusType
.
cod
e
!=
'Not_evaluating_yet'
)
this
.
canEdit
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
&&
(
+
(
this
.
formIdp
.
data
.
checkStep
)
<=
1
))
&&
(
this
.
formIdp
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
formIdp
.
data
.
masfromStatusType
.
cod
e
!=
'Not_evaluating_yet'
)
}
switch
(
this
.
formIdp
.
data
?.
currentStep
)
{
case
(
"0"
):
{
...
...
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.ts
View file @
8d293e8b
...
...
@@ -97,7 +97,6 @@ export class PmsEvalutionComponent {
@
Input
()
evaluateeId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
competencyTypeId
=
""
@
Input
()
masfromStatusType
=
""
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
appraisalPms
:
{
loading
:
boolean
,
data
?:
AppraisalPmsFormModel
}
=
{
loading
:
false
,
data
:
undefined
}
groupGrade
:
{
loading
:
boolean
,
dataList
:
CompetencyGradeModel
[]
}
=
{
loading
:
false
,
dataList
:
[]
}
...
...
@@ -175,8 +174,8 @@ export class PmsEvalutionComponent {
}
this
.
changePercentage
()
if
(
this
.
appraisalPms
.
data
)
{
this
.
canSave
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusTyp
e
!=
'Not_evaluating_yet'
this
.
canEdit
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusTyp
e
!=
'Not_evaluating_yet'
this
.
canSave
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
cod
e
!=
'Not_evaluating_yet'
this
.
canEdit
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
cod
e
!=
'Not_evaluating_yet'
switch
(
this
.
appraisalPms
.
data
?.
currentStep
)
{
case
(
"0"
):
{
if
(
this
.
canSave
)
{
...
...
src/app/components/performance-evaluation/self-evaluation/self-evaluation.component.html
View file @
8d293e8b
...
...
@@ -258,7 +258,6 @@
<ng-container
*
ngIf=
"onEdit=='pms'"
>
<app-pms-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินตนเอง','ประเมิน']"
(
sendReturnPath
)="
getAppraisalCompentencyList
();
getAppraisalPmsList
();
onEdit=
''
;
pathTitle =
['การประเมินผล',
'ประเมินตนเอง']"
[
masfromStatusType
]="
appraisalPms
.
select
?.
masfromStatusType
?.
code
||''"
[
evaluationRoundId
]="
appraisalPms
.
select
?.
pmsMasfromEvaluationRound
?.
pmsEvaluationRoundId
||
''"
[
evaluaterId
]="
evaluatee
.
data
.
employeeId
"
[
evaluateeId
]="
evaluatee
.
data
.
employeeId
"
></app-pms-evalution>
</ng-container>
\ No newline at end of file
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.html
View file @
8d293e8b
...
...
@@ -245,14 +245,14 @@
<ng-container
*
ngIf=
"pageEvalution=='idp'"
>
<app-idp-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
(
sendReturnPath
)="
getBossList
();
pageEvalution=
''
;
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
[
masfromStatusType
]="
formEvaluation
.
masfromStatusType
"
[
evaluationRoundId
]="
formEvaluation
.
evaluationRound
Id
"
[
evaluate
rId
]="
formEvaluation
.
evaluaterId
"
[
evaluate
eId
]="
formEvaluation
.
evaluateeId
"
></app-idp-evalution>
[
evaluationRoundId
]="
formEvaluation
.
evaluationRoundId
"
[
evaluaterId
]="
formEvaluation
.
evaluater
Id
"
[
evaluateeId
]="
formEvaluation
.
evaluateeId
"
></app-idp-evalution>
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='pms'"
>
<app-pms-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
(
sendReturnPath
)="
getBossList
();
pageEvalution=
''
;
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
[
masfromStatusType
]="
formEvaluation
.
masfromStatusType
"
[
evaluationRoundId
]="
formEvaluation
.
evaluationRound
Id
"
[
evaluate
rId
]="
formEvaluation
.
evaluaterId
"
[
evaluate
eId
]="
formEvaluation
.
evaluateeId
"
></app-pms-evalution>
[
evaluationRoundId
]="
formEvaluation
.
evaluationRoundId
"
[
evaluaterId
]="
formEvaluation
.
evaluater
Id
"
[
evaluateeId
]="
formEvaluation
.
evaluateeId
"
></app-pms-evalution>
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='evaluation'"
>
<app-evaluation
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment