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
0c8e08af
Commit
0c8e08af
authored
Mar 26, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psm เช็คว่าแก้ไขได้ไหม
parent
a2a4d1f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
evaluation.component.ts
...performance-evaluation/evaluation/evaluation.component.ts
+2
-2
pms-evalution.component.ts
...ance-evaluation/pms-evaluation/pms-evalution.component.ts
+1
-1
No files found.
src/app/components/performance-evaluation/evaluation/evaluation.component.ts
View file @
0c8e08af
...
@@ -81,8 +81,8 @@ export class EvaluationComponent implements OnInit {
...
@@ -81,8 +81,8 @@ export class EvaluationComponent implements OnInit {
next
:
response
=>
{
next
:
response
=>
{
this
.
appraisalCompentency
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
this
.
appraisalCompentency
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
if
(
this
.
appraisalCompentency
.
data
?.
masfromEvaluationAssessment1lList
[
0
])
{
if
(
this
.
appraisalCompentency
.
data
?.
masfromEvaluationAssessment1lList
[
0
])
{
this
.
canSave
=
(
this
.
appraisalCompentency
.
data
.
currentStep
==
this
.
appraisalCompentency
.
data
.
checkStep
)
&&
this
.
appraisalCompentency
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
this
.
canSave
=
(
this
.
appraisalCompentency
.
data
.
currentStep
==
this
.
appraisalCompentency
.
data
.
checkStep
)
&&
this
.
appraisalCompentency
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalCompentency
.
data
.
masfromStatusType
.
code
!=
'Not_evaluating_yet'
this
.
canEdit
=
(
this
.
appraisalCompentency
.
data
.
currentStep
==
this
.
appraisalCompentency
.
data
.
checkStep
&&
(
+
(
this
.
appraisalCompentency
.
data
.
checkStep
)
<=
1
))
this
.
canEdit
=
(
this
.
appraisalCompentency
.
data
.
currentStep
==
this
.
appraisalCompentency
.
data
.
checkStep
&&
(
+
(
this
.
appraisalCompentency
.
data
.
checkStep
)
<=
1
))
&&
this
.
appraisalCompentency
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalCompentency
.
data
.
masfromStatusType
.
code
!=
'Not_evaluating_yet'
switch
(
this
.
appraisalCompentency
.
data
?.
currentStep
)
{
switch
(
this
.
appraisalCompentency
.
data
?.
currentStep
)
{
case
(
"0"
):
{
case
(
"0"
):
{
if
(
this
.
canSave
)
{
if
(
this
.
canSave
)
{
...
...
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.ts
View file @
0c8e08af
...
@@ -175,7 +175,7 @@ export class PmsEvalutionComponent {
...
@@ -175,7 +175,7 @@ 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
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Not_evaluating_yet'
this
.
canSave
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Not_evaluating_yet'
this
.
canEdit
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Not_evaluating_yet'
this
.
canEdit
=
(
this
.
appraisalPms
.
data
.
currentStep
==
this
.
appraisalPms
.
data
.
checkStep
)
&&
(
+
(
this
.
appraisalPms
.
data
.
checkStep
)
<=
1
)
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'Boss_finish'
&&
this
.
appraisalPms
.
data
.
masfromStatusType
.
code
!=
'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