Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myAppraisal
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
myAppraisal
Commits
4554ccd0
Commit
4554ccd0
authored
Feb 28, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
การประเมินผล
parent
30f5cafe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
11 deletions
+15
-11
evaluation.component.html
...rformance-evaluation/evaluation/evaluation.component.html
+4
-3
evaluation.component.ts
...performance-evaluation/evaluation/evaluation.component.ts
+1
-0
self-evaluation.component.html
...evaluation/self-evaluation/self-evaluation.component.html
+4
-3
supervisor-evaluation.component.html
...upervisor-evaluation/supervisor-evaluation.component.html
+0
-0
supervisor-evaluation.component.ts
.../supervisor-evaluation/supervisor-evaluation.component.ts
+6
-5
No files found.
src/app/components/performance-evaluation/evaluation/evaluation.component.html
View file @
4554ccd0
<app-page-header
[
pathTitle
]="
pathTitle
"
></app-page-header>
<div
class=
"bg-card-white"
>
</div>
<
ng-container
*
ngIf=
"appraisalCompentency.data"
>
<
div
class=
"block-main-content"
*
ngIf=
"appraisalCompentency.data"
>
<div
class=
"pb-2rem px-2rem pt-1.5rem w-full min-height-50px justify-between items-center"
>
<div
class=
"flex"
>
<button
type=
"button"
class=
"ti-btn ti-btn-outline ti-btn-outline-light h-20px m-0 shadow-md text-blue-500"
...
...
@@ -393,4 +394,4 @@
บันทึกข้อมูล
</button>
</div>
</ng-container>
\ No newline at end of file
</div>
\ No newline at end of file
src/app/components/performance-evaluation/evaluation/evaluation.component.ts
View file @
4554ccd0
...
...
@@ -11,6 +11,7 @@ import Swal from 'sweetalert2';
styleUrls
:
[
'./evaluation.component.scss'
]
})
export
class
EvaluationComponent
implements
OnInit
{
@
Input
()
pathTitle
:
string
[]
=
[]
@
Input
()
evaluationRoundId
=
""
@
Input
()
evaluateeId
=
""
@
Input
()
evaluaterId
=
""
...
...
src/app/components/performance-evaluation/self-evaluation/self-evaluation.component.html
View file @
4554ccd0
...
...
@@ -22,8 +22,8 @@
</nav>
</div>
<div
class=
"pt-50px"
*
ngIf=
"appraisalCompentency.dataList.length"
>
<div
*
ngFor=
"let item of appraisalCompentency.dataList; let i=index
"
[
id
]="'
underline-
'+(
i
+
1
)
"
role=
"tabpanel
"
>
<div
*
ngFor=
"let item of appraisalCompentency.dataList; let i=index
; let f= first
"
[
id
]="'
underline-
'+(
i
+
1
)"
role=
"tabpanel"
[
class
.
hidden
]="!
f
"
>
<div
class=
"pb-2"
>
<div
class=
"w-full min-height-50px justify-between items-center pb-2"
>
<div
class=
"px-2rem py-3 bg-soft-secondary font-size-18px font-weight-700 text-primary"
>
...
...
@@ -201,7 +201,8 @@
<ng-template
#
selfEvaluationEdit
>
<app-evaluation
(
sendReturnPath
)="
currentTemplate =
this.selfEvaluation"
<app-evaluation
[
pathTitle
]="['การประเมินผล',
'ประเมินตนเอง','ประเมิน']"
(
sendReturnPath
)="
currentTemplate =
selfEvaluation
;
pathTitle =
['การประเมินผล',
'ประเมินตนเอง']"
[
evaluationRoundId
]="
appraisalCompentency
.
select
?.
masfromEvaluationRound
?.
evaluationRoundId
||
''"
[
evaluaterId
]="
evaluatee
.
data
.
employeeId
"
[
evaluateeId
]="
evaluatee
.
data
.
employeeId
"
[
competencyTypeId
]="
competencyTypeId
"
></app-evaluation>
...
...
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.html
View file @
4554ccd0
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.ts
View file @
4554ccd0
...
...
@@ -35,26 +35,27 @@ export class SupervisorEvaluationComponent {
this
.
cdr
.
detectChanges
()
if
(
this
.
subordinate
.
dataList
.
length
)
{
this
.
subordinate
.
select
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
subordinate
.
dataList
[
0
]))
this
.
cdr
.
detectChanges
()
}
console
.
log
(
" 🐒 subordinate.dataList.length:"
,
this
.
subordinate
.
dataList
.
length
)
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
},
error
:
error
=>
{
this
.
cdr
.
detectChanges
()
}
})
}
selectDataList
(
data
:
AppraisalSubordinateModel
)
{
selectDataList
(
data
?
:
AppraisalSubordinateModel
)
{
this
.
subordinate
.
select
=
JSON
.
parse
(
JSON
.
stringify
(
data
))
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
this
.
searchChange
()
}
subordinateFilter
()
{
if
(
this
.
subordinate
.
select
)
{
return
this
.
subordinate
.
select
.
masfromevaluationassessment
.
filter
(
x
=>
{
return
x
.
apsassessy
.
employeeId
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
apsassessy
.
thFullName
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
return
x
.
apsassessy
.
employeeId
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
apsassessy
.
thFullName
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
apsassessy
.
position
.
tdesc
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
})
}
return
[]
...
...
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