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
627fbca7
Commit
627fbca7
authored
Apr 23, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ประเมินโดยหัวหน้า
parent
5eb663fb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
3 deletions
+12
-3
pms-competency.component.html
...orm-employee/pms-competency/pms-competency.component.html
+0
-0
pms-competency.component.scss
...orm-employee/pms-competency/pms-competency.component.scss
+5
-0
pms-competency.component.ts
...-form-employee/pms-competency/pms-competency.component.ts
+6
-1
http-request.interceptor.ts
src/app/shared/services/http-request.interceptor.ts
+0
-1
environment.ts
src/environments/environment.ts
+1
-1
No files found.
src/app/components/performance-evaluation/pms-form-employee/pms-competency/pms-competency.component.html
View file @
627fbca7
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/pms-form-employee/pms-competency/pms-competency.component.scss
View file @
627fbca7
.no-interaction
{
pointer-events
:
none
;
cursor
:
not
-
allowed
;
}
\ No newline at end of file
src/app/components/performance-evaluation/pms-form-employee/pms-competency/pms-competency.component.ts
View file @
627fbca7
import
{
ChangeDetectorRef
,
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
}
from
'@angular/core'
;
import
{
ChangeDetectorRef
,
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
}
from
'@angular/core'
;
import
{
AppraisalCompentencyModel2
}
from
'src/app/shared/model/appraisal-competency.model'
;
import
{
AppraisalCompentencyModel2
,
MasfromEvaluationAssessment2List
}
from
'src/app/shared/model/appraisal-competency.model'
;
import
{
TypeList
}
from
'src/app/shared/model/appraisal-subordinate.model'
;
import
{
TypeList
}
from
'src/app/shared/model/appraisal-subordinate.model'
;
import
{
EmployeeModel
,
MyEmployeeModel
}
from
'src/app/shared/model/employee.model'
;
import
{
EmployeeModel
,
MyEmployeeModel
}
from
'src/app/shared/model/employee.model'
;
import
{
SettingAssessmentModel
,
MySettingAssessmentModel
}
from
'src/app/shared/model/setting-assessment.model'
;
import
{
SettingAssessmentModel
,
MySettingAssessmentModel
}
from
'src/app/shared/model/setting-assessment.model'
;
...
@@ -79,6 +79,7 @@ export class PmsCompetencyComponent {
...
@@ -79,6 +79,7 @@ export class PmsCompetencyComponent {
getAppraisalCompentencyForm
(
index
:
number
)
{
getAppraisalCompentencyForm
(
index
:
number
)
{
if
(
this
.
allCompetencyTypeId
.
length
)
{
if
(
this
.
allCompetencyTypeId
.
length
)
{
this
.
appraisalCompentency
.
loading
=
true
this
.
appraisalCompentency
.
loading
=
true
this
.
appraisalCompentency
.
data
=
undefined
this
.
appraisalService
.
getFormCompentencyById
(
this
.
evaluationRoundId
,
this
.
evaluateeId
,
this
.
allCompetencyTypeId
[
index
].
competencyTypeId
).
subscribe
({
this
.
appraisalService
.
getFormCompentencyById
(
this
.
evaluationRoundId
,
this
.
evaluateeId
,
this
.
allCompetencyTypeId
[
index
].
competencyTypeId
).
subscribe
({
next
:
response
=>
{
next
:
response
=>
{
this
.
appraisalCompentency
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
this
.
appraisalCompentency
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
...
@@ -425,4 +426,8 @@ export class PmsCompetencyComponent {
...
@@ -425,4 +426,8 @@ export class PmsCompetencyComponent {
}
}
})
})
}
}
onFormCompleted
(
data
:
MasfromEvaluationAssessment2List
)
{
return
data
.
groupAssessment1
.
competencyIndicatorsCourses1Mini
.
behavioralIndicatorsList
.
every
(
x
=>
x
.
competencyBehavioral
.
scoreTopicExpectation
!=
0
)
}
}
}
src/app/shared/services/http-request.interceptor.ts
View file @
627fbca7
...
@@ -58,7 +58,6 @@ export class HttpRequestInterceptor {
...
@@ -58,7 +58,6 @@ export class HttpRequestInterceptor {
return
this
.
authService
.
refreshToken
(
token
.
replace
(
"Bearer "
,
""
)).
pipe
(
return
this
.
authService
.
refreshToken
(
token
.
replace
(
"Bearer "
,
""
)).
pipe
(
switchMap
((
token
:
any
)
=>
{
switchMap
((
token
:
any
)
=>
{
this
.
isRefreshing
=
true
;
this
.
isRefreshing
=
true
;
console
.
log
(
"🚀 2222222222222222222222222222222222222"
,
this
.
isRefreshing
)
this
.
refreshTokenSubject
.
next
(
token
.
accessToken
);
this
.
refreshTokenSubject
.
next
(
token
.
accessToken
);
return
next
.
handle
(
this
.
addTokenHeader
(
request
,
"Bearer "
+
token
.
accessToken
,
fullUrl
));
return
next
.
handle
(
this
.
addTokenHeader
(
request
,
"Bearer "
+
token
.
accessToken
,
fullUrl
));
}),
}),
...
...
src/environments/environment.ts
View file @
627fbca7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
// The list of file replacements can be found in `angular.json`.
// The list of file replacements can be found in `angular.json`.
export
const
environment
=
{
export
const
environment
=
{
production
:
false
,
production
:
false
,
baseUrl
:
'https://myskill-x.myhr.co.th/api'
,
baseUrl
:
'https://myskill-x
-uat
.myhr.co.th/api'
,
};
};
/*
/*
...
...
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