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
0f370421
Commit
0f370421
authored
Mar 24, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ปุ่มไม่อนุมัติหน้าประเมิน
parent
ddf38e69
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
11 deletions
+50
-11
pms-evalution.component.html
...ce-evaluation/pms-evaluation/pms-evalution.component.html
+0
-0
pms-evalution.component.ts
...ance-evaluation/pms-evaluation/pms-evalution.component.ts
+42
-5
supervisor-evaluation.component.html
...upervisor-evaluation/supervisor-evaluation.component.html
+4
-4
appraisal-pms-form.model.ts
src/app/shared/model/appraisal-pms-form.model.ts
+0
-0
appraisal.service.ts
src/app/shared/services/appraisal.service.ts
+4
-2
No files found.
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.html
View file @
0f370421
This diff is collapsed.
Click to expand it.
src/app/components/performance-evaluation/pms-evaluation/pms-evalution.component.ts
View file @
0f370421
import
{
Component
,
EventEmitter
,
Output
}
from
'@angular/core'
;
import
{
ChangeDetectorRef
,
Component
,
EventEmitter
,
Input
,
Output
}
from
'@angular/core'
;
import
{
AppraisalPmsFormModel
}
from
'src/app/shared/model/appraisal-pms-form.model'
;
import
{
AppraisalService
}
from
'src/app/shared/services/appraisal.service'
;
import
{
EmployeeService
}
from
'src/app/shared/services/employee.service'
;
import
{
SettingAssessmentService
}
from
'src/app/shared/services/setting-assessment.service'
;
export
interface
DataModel
{
hoshin
:
string
performance
:
string
...
...
@@ -72,8 +76,7 @@ export interface DataModel7 {
styleUrls
:
[
'./pms-evalution.component.scss'
]
})
export
class
PmsEvalutionComponent
{
@
Output
()
sendPageEvalution
:
EventEmitter
<
string
>
=
new
EventEmitter
<
string
>
();
pathTitle
=
[
'การประเมินผล'
,
'ประเมินผล'
]
part1show
=
true
dataList
:
DataModel
[]
=
[{
hoshin
:
"C1 CUSTOMER ORIENTED (SQCDME)"
,
...
...
@@ -342,7 +345,40 @@ export class PmsEvalutionComponent {
data8ListFilter
()
{
return
this
.
data8List
}
returnPage
()
{
this
.
sendPageEvalution
.
emit
(
""
)
@
Input
()
pathTitle
:
string
[]
=
[]
@
Input
()
evaluationRoundId
=
""
@
Input
()
evaluateeId
=
""
@
Input
()
evaluaterId
=
""
@
Input
()
competencyTypeId
=
""
@
Output
()
sendReturnPath
:
EventEmitter
<
any
>
=
new
EventEmitter
<
any
>
();
appraisalPms
:
{
loading
:
boolean
,
data
?:
AppraisalPmsFormModel
}
=
{
loading
:
false
,
data
:
undefined
}
constructor
(
private
appraisalService
:
AppraisalService
,
private
employeeService
:
EmployeeService
,
private
cdr
:
ChangeDetectorRef
,
private
settingAssessmentService
:
SettingAssessmentService
)
{
}
ngOnInit
():
void
{
this
.
getAppraisalPmsForm
()
}
getAppraisalPmsForm
()
{
this
.
appraisalPms
.
loading
=
true
this
.
appraisalService
.
getFormPmsById
(
'testlvl3'
,
'10000003'
).
subscribe
({
next
:
response
=>
{
console
.
log
(
" 🐒 response:"
,
response
)
this
.
appraisalPms
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
response
))
this
.
appraisalPms
.
loading
=
false
this
.
cdr
.
detectChanges
()
},
error
:
error
=>
{
this
.
appraisalPms
.
loading
=
false
this
.
cdr
.
detectChanges
()
}
})
}
returnPath
()
{
this
.
sendReturnPath
.
emit
()
}
}
\ No newline at end of file
src/app/components/performance-evaluation/supervisor-evaluation/supervisor-evaluation.component.html
View file @
0f370421
...
...
@@ -131,13 +131,13 @@
</div>
</td>
<td
class=
"text-center"
>
<
!-- <
div class="flex justify-center">
<button type="button" class="ti-btn rounded-sm ti-btn-soft-mute"
<div
class=
"flex justify-center"
>
<
!-- <
button type="button" class="ti-btn rounded-sm ti-btn-soft-mute"
style="height: 15px; width: 45px; font-size: 12px; display: flex; align-items: center; justify-content: center;margin-left:4px;"
(click)="selectSubordinate(item,'',subordinate.select?.evaluationRoundId);pageEvalution='pms'">
PMS
</button>
</div>
-->
</button>
-->
</div>
</td>
<td
class=
"text-center"
style=
"font-size: 12px;"
>
{{item.sumScore}}
</td>
<td
class=
"text-center"
style=
"font-size: 12px;"
>
{{item.gread}}
</td>
...
...
src/app/shared/model/appraisal-pms-form.model.ts
0 → 100644
View file @
0f370421
This diff is collapsed.
Click to expand it.
src/app/shared/services/appraisal.service.ts
View file @
0f370421
...
...
@@ -6,6 +6,7 @@ import { AlertModel } from '../model/alert.model';
import
{
AppraisalFormModel
}
from
'../model/appraisal-form.model'
;
import
{
AppraisalCompentencyModel
,
AppraisalCompentencyModel2
}
from
'../model/appraisal-competency.model'
;
import
{
AppraisalSubordinateModel
}
from
'../model/appraisal-subordinate.model'
;
import
{
AppraisalPmsFormModel
}
from
'../model/appraisal-pms-form.model'
;
@
Injectable
({
providedIn
:
'root'
})
...
...
@@ -27,7 +28,7 @@ export class AppraisalService {
return
this
.
http
.
get
<
AppraisalSubordinateModel
[]
>
(
this
.
urlApi
+
"/boss/emp"
)
}
getFormPmsById
(
evaluationRoundId
:
string
,
apsassessy
:
string
):
Observable
<
Appraisal
CompentencyModel2
>
{
return
this
.
http
.
get
<
Appraisal
CompentencyModel2
>
(
this
.
urlApi
+
"/pms/"
+
evaluationRoundId
+
"/"
+
apsassessy
)
getFormPmsById
(
evaluationRoundId
:
string
,
apsassessy
:
string
):
Observable
<
Appraisal
PmsFormModel
>
{
return
this
.
http
.
get
<
Appraisal
PmsFormModel
>
(
this
.
urlApi
+
"/pms/"
+
evaluationRoundId
+
"/"
+
apsassessy
)
}
}
\ No newline at end of file
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