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
e7e183e2
Commit
e7e183e2
authored
Mar 25, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ประเมิน pms
parent
77d3f41a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
idp-evalution.component.ts
...ance-evaluation/idp-evaluation/idp-evalution.component.ts
+1
-1
pms-evalution.component.html
...ce-evaluation/pms-evaluation/pms-evalution.component.html
+15
-11
pms-evalution.component.ts
...ance-evaluation/pms-evaluation/pms-evalution.component.ts
+2
-2
No files found.
src/app/components/performance-evaluation/idp-evaluation/idp-evalution.component.ts
View file @
e7e183e2
...
@@ -35,7 +35,7 @@ export class IdpEvalutionComponent {
...
@@ -35,7 +35,7 @@ export class IdpEvalutionComponent {
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
.
masfromStatusType
!=
'Not_evaluating_yet'
)
this
.
canSave
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
)
&&
(
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusType
!=
'Not_evaluating_yet'
)
this
.
canEdit
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
&&
(
+
(
this
.
formIdp
.
data
.
checkStep
)
<=
1
))
this
.
canEdit
=
(
this
.
formIdp
.
data
.
currentStep
==
this
.
formIdp
.
data
.
checkStep
&&
(
+
(
this
.
formIdp
.
data
.
checkStep
)
<=
1
))
&&
(
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusType
!=
'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.html
View file @
e7e183e2
...
@@ -1651,8 +1651,8 @@
...
@@ -1651,8 +1651,8 @@
พฤติกรรมที่เป็นจุดแข็ง (EMPLOYEE STRENGTHS AND ACCOMPLISHMENTS)
พฤติกรรมที่เป็นจุดแข็ง (EMPLOYEE STRENGTHS AND ACCOMPLISHMENTS)
</div>
</div>
<div
class=
"col-span-1 p-2"
>
<div
class=
"col-span-1 p-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
employeeStrengths
"
></textarea>
[
readonly
]="!
canEdit
"
[
(
ngModel
)]="
appraisalPms
.
data
.
employeeStrengths
"
></textarea>
</div>
</div>
</div>
</div>
<div
class=
"col-span-1 grid-cols-1 text-gray-400"
>
<div
class=
"col-span-1 grid-cols-1 text-gray-400"
>
...
@@ -1660,8 +1660,8 @@
...
@@ -1660,8 +1660,8 @@
หัวข้อที่ต้องเรียนรู้เพิ่มเติม (สำหรับจุดแข็ง)
หัวข้อที่ต้องเรียนรู้เพิ่มเติม (สำหรับจุดแข็ง)
</div>
</div>
<div
class=
"col-span-1 p-2"
>
<div
class=
"col-span-1 p-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
learningTopicsForStrengths
"
></textarea>
[
readonly
]="!
canEdit
"
[
(
ngModel
)]="
appraisalPms
.
data
.
learningTopicsForStrengths
"
></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -1671,8 +1671,8 @@
...
@@ -1671,8 +1671,8 @@
พฤติกรรมที่เป็นจุดอ่อน (PERFORMANCE AREAS WHICH NEED IMPROVEMENT)
พฤติกรรมที่เป็นจุดอ่อน (PERFORMANCE AREAS WHICH NEED IMPROVEMENT)
</div>
</div>
<div
class=
"col-span-1 p-2"
>
<div
class=
"col-span-1 p-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
performanceWeaknesses
"
></textarea>
[
readonly
]="!
canEdit
"
[
(
ngModel
)]="
appraisalPms
.
data
.
performanceWeaknesses
"
></textarea>
</div>
</div>
</div>
</div>
<div
class=
"col-span-1 grid-cols-1 text-gray-400"
>
<div
class=
"col-span-1 grid-cols-1 text-gray-400"
>
...
@@ -1680,7 +1680,8 @@
...
@@ -1680,7 +1680,8 @@
หัวข้อที่ต้องเรียนรู้เพิ่มเติม (สำหรับจุดอ่อน)
หัวข้อที่ต้องเรียนรู้เพิ่มเติม (สำหรับจุดอ่อน)
</div>
</div>
<div
class=
"col-span-1 p-2"
>
<div
class=
"col-span-1 p-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[
readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
learningTopicsForWeaknesses
"
></textarea>
[(
ngModel
)]="
appraisalPms
.
data
.
learningTopicsForWeaknesses
"
></textarea>
</div>
</div>
</div>
</div>
...
@@ -1691,8 +1692,8 @@
...
@@ -1691,8 +1692,8 @@
พฤติกรรมที่ควรได้รับการพัฒนา (PLAN OF ACTION TOWARD IMPROVED PERFORMANCE)
พฤติกรรมที่ควรได้รับการพัฒนา (PLAN OF ACTION TOWARD IMPROVED PERFORMANCE)
</div>
</div>
<div
class=
"col-span-1 p-2"
>
<div
class=
"col-span-1 p-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
improvementPlan
"
></textarea>
[
readonly
]="!
canEdit
"
[
(
ngModel
)]="
appraisalPms
.
data
.
improvementPlan
"
></textarea>
</div>
</div>
</div>
</div>
<div
class=
"col-span-1 grid-cols-1 text-gray-400"
>
<div
class=
"col-span-1 grid-cols-1 text-gray-400"
>
...
@@ -1700,7 +1701,8 @@
...
@@ -1700,7 +1701,8 @@
หัวข้อที่ต้องเรียนรู้เพิ่มเติม (สำหรับพฤติกรรมที่ควรได้รับการพัฒนา)
หัวข้อที่ต้องเรียนรู้เพิ่มเติม (สำหรับพฤติกรรมที่ควรได้รับการพัฒนา)
</div>
</div>
<div
class=
"col-span-1 p-2"
>
<div
class=
"col-span-1 p-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[
readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
learningTopicsForImprovement
"
></textarea>
[(
ngModel
)]="
appraisalPms
.
data
.
learningTopicsForImprovement
"
></textarea>
</div>
</div>
</div>
</div>
...
@@ -1736,7 +1738,8 @@
...
@@ -1736,7 +1738,8 @@
<div
class=
"pb-2rem"
*
ngIf=
"!part10show"
></div>
<div
class=
"pb-2rem"
*
ngIf=
"!part10show"
></div>
<div
class=
"pb-2rem px-2rem"
*
ngIf=
"part10show"
>
<div
class=
"pb-2rem px-2rem"
*
ngIf=
"part10show"
>
<div
class=
"pb-1rem p-2"
*
ngIf=
"appraisalPms.data"
>
<div
class=
"pb-1rem p-2"
*
ngIf=
"appraisalPms.data"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[(
ngModel
)]="
appraisalPms
.
data
.
cfrDetail
"
></textarea>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input"
[
class
.!
bg-input-readonly
]="!
canEdit
"
[
readonly
]="!
canEdit
"
[(
ngModel
)]="
appraisalPms
.
data
.
cfrDetail
"
></textarea>
</div>
</div>
</div>
</div>
</ng-template>
</ng-template>
\ No newline at end of file
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.ts
View file @
e7e183e2
...
@@ -170,8 +170,8 @@ export class PmsEvalutionComponent {
...
@@ -170,8 +170,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
.
masfromStatusType
!=
'Not_evaluating_yet'
)
this
.
canSave
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusType
!=
'Not_evaluating_yet'
this
.
canEdit
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
this
.
canEdit
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
masfromStatusType
!=
'Boss_finish'
&&
this
.
masfromStatusType
!=
'Not_evaluating_yet'
switch
(
this
.
appraisalPms
.
data
?.
currentStep
)
{
switch
(
this
.
appraisalPms
.
data
?.
currentStep
)
{
case
(
"0"
):
{
case
(
"0"
):
{
if
(
this
.
canSave
)
{
if
(
this
.
canSave
)
{
...
...
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