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
Project 'angular/myAppraisal' was moved to 'angular/mySkill-x'. Please update any links and bookmarks that may still have the old path.
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 {
...
@@ -13,7 +13,6 @@ export class IdpEvalutionComponent {
@
Input
()
evaluationRoundId
=
""
@
Input
()
evaluationRoundId
=
""
@
Input
()
evaluateeId
=
""
@
Input
()
evaluateeId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
masfromStatusType
=
""
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
currentDate
=
new
Date
()
currentDate
=
new
Date
()
hoveredCode
:
string
|
null
=
null
;
hoveredCode
:
string
|
null
=
null
;
...
@@ -34,8 +33,8 @@ export class IdpEvalutionComponent {
...
@@ -34,8 +33,8 @@ export class IdpEvalutionComponent {
next
:
response
=>
{
next
:
response
=>
{
this
.
formIdp
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
this
.
formIdp
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
if
(
this
.
formIdp
.
data
)
{
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
.
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
.
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
.
formIdp
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
formIdp
.
data
.
masfromStatusType
.
cod
e
!=
'Not_evaluating_yet'
)
}
}
switch
(
this
.
formIdp
.
data
?.
currentStep
)
{
switch
(
this
.
formIdp
.
data
?.
currentStep
)
{
case
(
"0"
):
{
case
(
"0"
):
{
...
...
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.ts
View file @
8d293e8b
...
@@ -97,7 +97,6 @@ export class PmsEvalutionComponent {
...
@@ -97,7 +97,6 @@ export class PmsEvalutionComponent {
@
Input
()
evaluateeId
=
""
@
Input
()
evaluateeId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
competencyTypeId
=
""
@
Input
()
competencyTypeId
=
""
@
Input
()
masfromStatusType
=
""
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
appraisalPms
:
{
loading
:
boolean
,
data
?:
AppraisalPmsFormModel
}
=
{
loading
:
false
,
data
:
undefined
}
appraisalPms
:
{
loading
:
boolean
,
data
?:
AppraisalPmsFormModel
}
=
{
loading
:
false
,
data
:
undefined
}
groupGrade
:
{
loading
:
boolean
,
dataList
:
CompetencyGradeModel
[]
}
=
{
loading
:
false
,
dataList
:
[]
}
groupGrade
:
{
loading
:
boolean
,
dataList
:
CompetencyGradeModel
[]
}
=
{
loading
:
false
,
dataList
:
[]
}
...
@@ -175,8 +174,8 @@ export class PmsEvalutionComponent {
...
@@ -175,8 +174,8 @@ export class PmsEvalutionComponent {
}
}
this
.
changePercentage
()
this
.
changePercentage
()
if
(
this
.
appraisalPms
.
data
)
{
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
.
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
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusTyp
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
)
{
switch
(
this
.
appraisalPms
.
data
?.
currentStep
)
{
case
(
"0"
):
{
case
(
"0"
):
{
if
(
this
.
canSave
)
{
if
(
this
.
canSave
)
{
...
...
src/app/components/performance-evaluation/self-evaluation/self-evaluation.component.html
View file @
8d293e8b
...
@@ -258,7 +258,6 @@
...
@@ -258,7 +258,6 @@
<ng-container
*
ngIf=
"onEdit=='pms'"
>
<ng-container
*
ngIf=
"onEdit=='pms'"
>
<app-pms-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินตนเอง','ประเมิน']"
<app-pms-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินตนเอง','ประเมิน']"
(
sendReturnPath
)="
getAppraisalCompentencyList
();
getAppraisalPmsList
();
onEdit=
''
;
pathTitle =
['การประเมินผล',
'ประเมินตนเอง']"
(
sendReturnPath
)="
getAppraisalCompentencyList
();
getAppraisalPmsList
();
onEdit=
''
;
pathTitle =
['การประเมินผล',
'ประเมินตนเอง']"
[
masfromStatusType
]="
appraisalPms
.
select
?.
masfromStatusType
?.
code
||''"
[
evaluationRoundId
]="
appraisalPms
.
select
?.
pmsMasfromEvaluationRound
?.
pmsEvaluationRoundId
||
''"
[
evaluationRoundId
]="
appraisalPms
.
select
?.
pmsMasfromEvaluationRound
?.
pmsEvaluationRoundId
||
''"
[
evaluaterId
]="
evaluatee
.
data
.
employeeId
"
[
evaluateeId
]="
evaluatee
.
data
.
employeeId
"
></app-pms-evalution>
[
evaluaterId
]="
evaluatee
.
data
.
employeeId
"
[
evaluateeId
]="
evaluatee
.
data
.
employeeId
"
></app-pms-evalution>
</ng-container>
</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 @@
...
@@ -245,14 +245,14 @@
<ng-container
*
ngIf=
"pageEvalution=='idp'"
>
<ng-container
*
ngIf=
"pageEvalution=='idp'"
>
<app-idp-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
<app-idp-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
(
sendReturnPath
)="
getBossList
();
pageEvalution=
''
;
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
(
sendReturnPath
)="
getBossList
();
pageEvalution=
''
;
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
[
masfromStatusType
]="
formEvaluation
.
masfromStatusType
"
[
evaluationRoundId
]="
formEvaluation
.
evaluationRound
Id
"
[
evaluationRoundId
]="
formEvaluation
.
evaluationRoundId
"
[
evaluaterId
]="
formEvaluation
.
evaluater
Id
"
[
evaluate
rId
]="
formEvaluation
.
evaluaterId
"
[
evaluate
eId
]="
formEvaluation
.
evaluateeId
"
></app-idp-evalution>
[
evaluateeId
]="
formEvaluation
.
evaluateeId
"
></app-idp-evalution>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='pms'"
>
<ng-container
*
ngIf=
"pageEvalution=='pms'"
>
<app-pms-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
<app-pms-evalution
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
(
sendReturnPath
)="
getBossList
();
pageEvalution=
''
;
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
(
sendReturnPath
)="
getBossList
();
pageEvalution=
''
;
pathTitle =
['การประเมินผล',
'ประเมินโดยหัวหน้า']"
[
masfromStatusType
]="
formEvaluation
.
masfromStatusType
"
[
evaluationRoundId
]="
formEvaluation
.
evaluationRound
Id
"
[
evaluationRoundId
]="
formEvaluation
.
evaluationRoundId
"
[
evaluaterId
]="
formEvaluation
.
evaluater
Id
"
[
evaluate
rId
]="
formEvaluation
.
evaluaterId
"
[
evaluate
eId
]="
formEvaluation
.
evaluateeId
"
></app-pms-evalution>
[
evaluateeId
]="
formEvaluation
.
evaluateeId
"
></app-pms-evalution>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='evaluation'"
>
<ng-container
*
ngIf=
"pageEvalution=='evaluation'"
>
<app-evaluation
[
pathTitle
]="['การประเมินผล',
'ประเมินโดยหัวหน้า','ประเมิน']"
<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