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
981c7251
Commit
981c7251
authored
3 weeks ago
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ตัวชี้วัดเเละหลักสูตร
parent
d3b60370
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
30 additions
and
14 deletions
+30
-14
edit-group-indicators.component.html
...dit-group-indicators/edit-group-indicators.component.html
+1
-1
edit-group-indicators.component.ts
.../edit-group-indicators/edit-group-indicators.component.ts
+0
-1
self-evaluation.component.html
...evaluation/self-evaluation/self-evaluation.component.html
+0
-0
self-evaluation.component.ts
...e-evaluation/self-evaluation/self-evaluation.component.ts
+0
-0
round-one.component.html
.../supervisor-evaluation/round-one/round-one.component.html
+8
-4
round-one.component.ts
...on/supervisor-evaluation/round-one/round-one.component.ts
+2
-0
supervisor-evaluation.component.html
...upervisor-evaluation/supervisor-evaluation.component.html
+5
-2
supervisor-evaluation.component.ts
.../supervisor-evaluation/supervisor-evaluation.component.ts
+1
-0
appraisal-competency.model.ts
src/app/shared/model/appraisal-competency.model.ts
+0
-0
appraisal.service.ts
src/app/shared/services/appraisal.service.ts
+7
-6
employee.service.ts
src/app/shared/services/employee.service.ts
+6
-0
No files found.
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/edit-group-indicators/edit-group-indicators.component.html
View file @
981c7251
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
</a>
</a>
<div
class=
"ciricon flex text-start items-center cursor-pointer"
<div
class=
"ciricon flex text-start items-center cursor-pointer"
*
ngIf=
"!seeTab"
*
ngIf=
"!seeTab"
(
click
)="
assessmentToolsSelectIndex=
[l,m];deleteAssessmentTools()"
>
(
click
)="
dataSelectIndex=
i;
assessmentToolsSelectIndex=[l,m];deleteAssessmentTools()"
>
<i
class=
"ri-close-line text-red-500"
></i>
<i
class=
"ri-close-line text-red-500"
></i>
</div>
</div>
</ng-container>
</ng-container>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/competency-assessment/competency-management/indicators-and-curriculum/edit-group-indicators/edit-group-indicators.component.ts
View file @
981c7251
...
@@ -281,5 +281,4 @@ export class EditGroupIndicators implements OnInit {
...
@@ -281,5 +281,4 @@ export class EditGroupIndicators implements OnInit {
positionClass
:
'toast-top-right'
,
positionClass
:
'toast-top-right'
,
})
})
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/self-evaluation/self-evaluation.component.html
View file @
981c7251
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/self-evaluation/self-evaluation.component.ts
View file @
981c7251
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/round-one/round-one.component.html
View file @
981c7251
...
@@ -60,15 +60,18 @@
...
@@ -60,15 +60,18 @@
<td
style=
"font-size: 12px;"
>
{{item[2]}}
</td>
<td
style=
"font-size: 12px;"
>
{{item[2]}}
</td>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-secondary"
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-secondary"
style=
"height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
c
')"
>
style=
"height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
c
')"
>
CC
CC
</button>
</button>
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-warning"
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-warning"
style=
"height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
c
')"
>
style=
"height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
c
')"
>
MC
MC
</button>
</button>
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-success"
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-success"
style=
"height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
c
')"
>
style=
"height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
c
')"
>
PC
PC
</button>
</button>
</td>
</td>
...
@@ -80,7 +83,8 @@
...
@@ -80,7 +83,8 @@
</td>
</td>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-success"
<button
type=
"button"
class=
"ti-btn rounded-sm ti-btn-success"
style=
"height: 15px; width: 55px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
pms
')"
>
style=
"height: 15px; width: 55px; font-size: 12px; display: flex; align-items: center; justify-content: center;"
(
click
)="
returnPage
('
pms
')"
>
ประเมิน
ประเมิน
</button>
</button>
</td>
</td>
...
...
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/round-one/round-one.component.ts
View file @
981c7251
...
@@ -10,6 +10,7 @@ export class RoundOneComponent {
...
@@ -10,6 +10,7 @@ export class RoundOneComponent {
@
Input
()
pathTitle
=
[
'การประเมินสมรรถนะ'
,
'ทะเบียนเครื่องมือ'
,
'เครื่องมือประเมิน'
];
@
Input
()
pathTitle
=
[
'การประเมินสมรรถนะ'
,
'ทะเบียนเครื่องมือ'
,
'เครื่องมือประเมิน'
];
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
@
Output
()
sendPathTitle
:
EventEmitter
<
string
[]
>
=
new
EventEmitter
<
string
[]
>
();
@
Output
()
sendPageEvalution
:
EventEmitter
<
string
>
=
new
EventEmitter
<
string
>
();
@
Output
()
sendPageEvalution
:
EventEmitter
<
string
>
=
new
EventEmitter
<
string
>
();
@
Output
()
sendEmployeeId
:
EventEmitter
<
string
>
=
new
EventEmitter
<
string
>
();
activeTab
:
string
=
'tab1'
;
// กำหนด tab เริ่มต้น
activeTab
:
string
=
'tab1'
;
// กำหนด tab เริ่มต้น
isChecked
:
boolean
=
false
;
isChecked
:
boolean
=
false
;
...
@@ -88,6 +89,7 @@ export class RoundOneComponent {
...
@@ -88,6 +89,7 @@ export class RoundOneComponent {
});
});
}
}
returnPage
(
text
:
string
)
{
returnPage
(
text
:
string
)
{
this
.
sendEmployeeId
.
emit
()
this
.
sendPageEvalution
.
emit
(
text
)
this
.
sendPageEvalution
.
emit
(
text
)
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.html
View file @
981c7251
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<div
class=
"pt-50px px-2rem"
>
<div
class=
"pt-50px px-2rem"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<div
id=
"underline-1"
role=
"tabpanel"
aria-labelledby=
"underline-item-1"
>
<app-round-one
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
<app-round-one
[
pathTitle
]="
pathTitle
"
(
sendPathTitle
)="
pathTitle=
$event"
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-round-one>
(
sendPageEvalution
)="
pageEvalution=
$event"
(
sendEmployeeId
)="
employeeId=
$event"
></app-round-one>
</div>
</div>
<div
id=
"underline-2"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
<div
id=
"underline-2"
role=
"tabpanel"
aria-labelledby=
"underline-item-2"
>
</div>
</div>
...
@@ -40,5 +40,7 @@
...
@@ -40,5 +40,7 @@
<app-pms-evalution
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-pms-evalution>
<app-pms-evalution
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-pms-evalution>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"pageEvalution=='c'"
>
<ng-container
*
ngIf=
"pageEvalution=='c'"
>
<app-c-evaluation
(
sendPageEvalution
)="
pageEvalution=
$event"
></app-c-evaluation>
<!-- <app-c-evaluation (sendPageEvalution)="pageEvalution=$event"></app-c-evaluation> -->
<app-self-evaluation
[
pathTitle
]="
pathTitle
"
(
sendPageEvalution
)="
pageEvalution=
$event"
(
sendPathTitle
)="
pathTitle=
$event"
(
employeeId
)="
employeeId
"
></app-self-evaluation>
</ng-container>
</ng-container>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.ts
View file @
981c7251
...
@@ -8,4 +8,5 @@ import { Component } from '@angular/core';
...
@@ -8,4 +8,5 @@ import { Component } from '@angular/core';
export
class
SupervisorEvaluationComponent
{
export
class
SupervisorEvaluationComponent
{
pathTitle
=
[
'การประเมินผล'
,
'ประเมินโดยหัวหน้า'
]
pathTitle
=
[
'การประเมินผล'
,
'ประเมินโดยหัวหน้า'
]
pageEvalution
=
''
pageEvalution
=
''
employeeId
?:
string
}
}
This diff is collapsed.
Click to expand it.
src/app/shared/model/appraisal-competency.model.ts
0 → 100644
View file @
981c7251
This diff is collapsed.
Click to expand it.
src/app/shared/services/appraisal.service.ts
View file @
981c7251
...
@@ -3,8 +3,8 @@ import { Injectable } from '@angular/core';
...
@@ -3,8 +3,8 @@ import { Injectable } from '@angular/core';
import
{
Observable
}
from
'rxjs'
;
import
{
Observable
}
from
'rxjs'
;
import
{
environment
}
from
'src/environments/environment'
;
import
{
environment
}
from
'src/environments/environment'
;
import
{
AlertModel
}
from
'../model/alert.model'
;
import
{
AlertModel
}
from
'../model/alert.model'
;
import
{
AppraisalModel
}
from
'../model/appraisal.model'
;
import
{
AppraisalFormModel
}
from
'../model/appraisal-form.model'
;
import
{
AppraisalFormModel
}
from
'../model/appraisal-form.model'
;
import
{
AppraisalCompentencyModel
,
AppraisalCompentencyModel2
}
from
'../model/appraisal-competency.model'
;
@
Injectable
({
@
Injectable
({
providedIn
:
'root'
providedIn
:
'root'
})
})
...
@@ -13,13 +13,13 @@ export class AppraisalService {
...
@@ -13,13 +13,13 @@ export class AppraisalService {
urlApi
=
environment
.
baseUrl
+
this
.
api
urlApi
=
environment
.
baseUrl
+
this
.
api
constructor
(
private
http
:
HttpClient
)
{
constructor
(
private
http
:
HttpClient
)
{
}
}
getFormCompentencyById
(
evaluationRoundId
:
string
,
apsassessy
:
string
,
typeId
:
string
):
Observable
<
Appraisal
FormModel
>
{
getFormCompentencyById
(
evaluationRoundId
:
string
,
apsassessy
:
string
,
typeId
:
string
):
Observable
<
Appraisal
CompentencyModel2
>
{
return
this
.
http
.
get
<
Appraisal
FormModel
>
(
this
.
urlApi
+
"/competency/"
+
evaluationRoundId
+
"/"
+
apsassessy
+
"/"
+
typeId
)
return
this
.
http
.
get
<
Appraisal
CompentencyModel2
>
(
this
.
urlApi
+
"/competency/"
+
evaluationRoundId
+
"/"
+
apsassessy
+
"/"
+
typeId
)
}
}
getCompetencyList
():
Observable
<
AppraisalModel
[]
>
{
getCompetencyList
():
Observable
<
Appraisal
Compentency
Model
[]
>
{
return
this
.
http
.
get
<
AppraisalModel
[]
>
(
this
.
urlApi
+
"/competency/emp"
)
return
this
.
http
.
get
<
Appraisal
Compentency
Model
[]
>
(
this
.
urlApi
+
"/competency/emp"
)
}
}
postCompetency
(
body
:
Appraisal
FormModel
):
Observable
<
AlertModel
>
{
postCompetency
(
body
:
Appraisal
CompentencyModel2
):
Observable
<
AlertModel
>
{
return
this
.
http
.
post
<
AlertModel
>
(
this
.
urlApi
+
"/competency"
,
body
)
return
this
.
http
.
post
<
AlertModel
>
(
this
.
urlApi
+
"/competency"
,
body
)
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/app/shared/services/employee.service.ts
View file @
981c7251
...
@@ -34,6 +34,12 @@ export class EmployeeService {
...
@@ -34,6 +34,12 @@ export class EmployeeService {
getById
(
employeeId
:
string
):
Observable
<
EmployeeModel
>
{
getById
(
employeeId
:
string
):
Observable
<
EmployeeModel
>
{
return
this
.
http
.
get
<
EmployeeModel
>
(
this
.
urlApi
+
"/profile?employeeId="
+
employeeId
)
return
this
.
http
.
get
<
EmployeeModel
>
(
this
.
urlApi
+
"/profile?employeeId="
+
employeeId
)
}
}
getWorking
():
Observable
<
EmployeeModel
>
{
return
this
.
http
.
get
<
EmployeeModel
>
(
this
.
urlApi
+
"/working/mini"
)
}
getWorkingById
(
employeeId
?:
string
):
Observable
<
EmployeeModel
>
{
return
this
.
http
.
get
<
EmployeeModel
>
(
this
.
urlApi
+
"/working/mini"
+
(
employeeId
?
"?employeeId="
+
employeeId
:
''
))
}
getProfile
():
Observable
<
EmployeeModel
>
{
getProfile
():
Observable
<
EmployeeModel
>
{
return
this
.
http
.
get
<
EmployeeModel
>
(
this
.
urlApi
+
"/profile"
)
return
this
.
http
.
get
<
EmployeeModel
>
(
this
.
urlApi
+
"/profile"
)
}
}
...
...
This diff is collapsed.
Click to expand it.
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