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
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1418 additions
and
95 deletions
+1418
-95
pms-evalution.component.html
...ce-evaluation/pms-evaluation/pms-evalution.component.html
+120
-84
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
+1248
-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
...
...
@@ -10,7 +10,7 @@
<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"
(
click
)="
returnPa
ge
()"
>
(
click
)="
returnPa
th
()"
>
<i
class=
"ti ti-chevron-left"
></i>
ย้อนกลับ
</button>
...
...
@@ -19,97 +19,133 @@
</div>
</div>
</div>
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"font-size-18px font-weight-700 text-primary"
>
JOB PERFORMANCE EVALUATION FORM
</div>
</div>
<div
class=
"pb-1rem px-2rem"
>
<div
class=
"py-2 grid grid-cols-8 gap-3"
>
<div
class=
"col-span-1 text-gray-400"
>
ชื่อผู้รับการประเมิน(Employee)
</div>
<div
class=
"col-span-1 text-gray-400"
>
น.ส. กมลชนก ภูผาลินิน
</div>
<div
class=
"col-span-1 text-gray-400"
>
รหัส (ID)
</div>
<div
class=
"col-span-1 text-gray-400"
>
18794
</div>
<div
class=
"col-span-1 text-gray-400"
>
ตำแหน่ง (Position)
</div>
<div
class=
"col-span-1 text-gray-400"
>
HRD Training Officer
</div>
<div
class=
"col-span-1 text-gray-400"
>
แผนก (Section)
</div>
<div
class=
"col-span-1 text-gray-400"
>
ฝ่าย (Department)
</div>
</div>
<div
class=
"py-2 grid grid-cols-8 gap-3"
>
<div
class=
"col-span-1 text-gray-400"
>
ชื่อผู้รับการประเมิน(Employee)
</div>
<div
class=
"col-span-1 text-gray-400"
>
น.ส. พิมพร อูรณการ
</div>
<div
class=
"col-span-1 text-gray-400"
>
รหัส (ID)
</div>
<div
class=
"col-span-1 text-gray-400"
>
17724
</div>
<div
class=
"col-span-1 text-gray-400"
>
Human Resource Development Officer S3
</div>
<div
class=
"col-span-1 text-gray-400"
>
HRD Training Officer
</div>
<div
class=
"col-span-1 text-gray-400"
>
แผนก (Section)
</div>
<div
class=
"col-span-1 text-gray-400"
>
ฝ่าย (Department)
</div>
</div>
</div>
<ng-container
*
ngTemplateOutlet=
"part1"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part2"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part3"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part4"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part5"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part6"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part7"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part8"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part9"
></ng-container>
<div
class=
"pb-1rem px-2rem"
>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้ประเมิน1
</div>
<div
class=
"col-span-1"
>
น.ส. พิมพร อูรณการ
</div>
<div
class=
"col-span-1"
>
<input
type=
"checkbox"
id=
"hs-basic-usage"
class=
"ti-switch"
>
<label
for=
"hs-basic-usage"
class=
"sr-only"
>
ยืนยันผล
</label>
</div>
<div
class=
"col-span-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input mb-2"
></textarea>
<span
class=
"pt-2"
>
วันที่ :
</span>
<ng-container
*
ngIf=
"appraisalPms.data"
>
<div
class=
"pb-2rem px-2rem"
>
<div
class=
"font-size-18px font-weight-700 text-primary"
>
JOB PERFORMANCE EVALUATION FORM
</div>
</div>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้ประเมิน2
</div>
<div
class=
"col-span-1"
>
น.ส. นดี แป้นศรี
</div>
<div
class=
"col-span-1"
>
<input
type=
"checkbox"
id=
"hs-basic-usage"
class=
"ti-switch"
>
<label
for=
"hs-basic-usage"
class=
"sr-only"
>
ตรวจสอบ
</label>
</div>
<div
class=
"col-span-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input mb-2"
value=
"ใส่ Comment ที่นี่"
></textarea>
<span>
วันที่ :
</span>
<div
class=
"pb-1rem px-2rem"
>
<div
class=
"py-2 grid grid-cols-10"
>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
ชื่อผู้รับการประเมิน(Employee)
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
ชื่อผู้การประเมิน(Evaluator)
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsassessy.prefix.tdesc}}
{{appraisalPms.data.apsassessy.thFullName}}
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsapprove1.prefix.tdesc}}
{{appraisalPms.data.apsapprove1.thFullName}}
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
รหัส (ID)
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
รหัส (ID)
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsassessy.employeeId}}
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsapprove1.employeeId}}
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
ตำแหน่ง (Position)
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
ตำแหน่ง (Position)
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsassessy.position.tdesc}}
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsapprove1.position.tdesc}}
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
แผนก (Section)
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
แผนก (Section)
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsassessy.bu2.tdesc}}
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsapprove1.bu2.tdesc}}
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
ฝ่าย (Department)
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
ฝ่าย (Department)
</div>
</div>
<div
class=
"py-2 grid grid-cols-1 col-span-1"
>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsassessy.bu1.tdesc}}
</div>
<div
class=
"col-span-1 text-gray-400 border"
style=
"padding-top:5px;min-height: 60px;"
>
{{appraisalPms.data.apsapprove1.bu1.tdesc}}
</div>
</div>
</div>
</div>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้อนุมัติ
</div>
<div
class=
"col-span-1"
>
น.ส.ศรีไพ คชา
</div>
<div
class=
"col-span-1"
>
<input
type=
"checkbox"
id=
"hs-basic-usage"
class=
"ti-switch"
>
<label
for=
"hs-basic-usage"
class=
"sr-only"
>
อนุมัติ
</label>
<ng-container
*
ngIf=
"appraisalPms.data.part1Detail else part1"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part2"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part3"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part4"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part5"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part6"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part7"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part8"
></ng-container>
<ng-container
*
ngTemplateOutlet=
"part9"
></ng-container>
<div
class=
"pb-1rem px-2rem"
>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้ประเมิน1
</div>
<div
class=
"col-span-1"
>
น.ส. พิมพร อูรณการ
</div>
<div
class=
"col-span-1"
>
<input
type=
"checkbox"
id=
"hs-basic-usage"
class=
"ti-switch"
>
<label
for=
"hs-basic-usage"
class=
"sr-only"
>
ยืนยันผล
</label>
</div>
<div
class=
"col-span-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input mb-2"
></textarea>
<span
class=
"pt-2"
>
วันที่ :
</span>
</div>
</div>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้ประเมิน2
</div>
<div
class=
"col-span-1"
>
น.ส. นดี แป้นศรี
</div>
<div
class=
"col-span-1"
>
<input
type=
"checkbox"
id=
"hs-basic-usage"
class=
"ti-switch"
>
<label
for=
"hs-basic-usage"
class=
"sr-only"
>
ตรวจสอบ
</label>
</div>
<div
class=
"col-span-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input mb-2"
value=
"ใส่ Comment ที่นี่"
></textarea>
<span>
วันที่ :
</span>
</div>
</div>
<div
class=
"col-span-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input mb-2"
value=
"ใส่ Comment ที่นี่"
></textarea>
<span>
วันที่ :
</span>
<div
class=
"py-2 grid grid-cols-7 gap-3"
>
<div
class=
"col-span-1"
>
ผู้อนุมัติ
</div>
<div
class=
"col-span-1"
>
น.ส.ศรีไพ คชา
</div>
<div
class=
"col-span-1"
>
<input
type=
"checkbox"
id=
"hs-basic-usage"
class=
"ti-switch"
>
<label
for=
"hs-basic-usage"
class=
"sr-only"
>
อนุมัติ
</label>
</div>
<div
class=
"col-span-2"
>
<textarea
type=
"text"
rows=
"2"
class=
"ti-form-input mb-2"
value=
"ใส่ Comment ที่นี่"
></textarea>
<span>
วันที่ :
</span>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-center mb-1rem pb-2rem"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-success mx-2rem"
>
บันทึกร่าง
</button>
<button
type=
"submit"
class=
"ti-btn ti-btn-success mx-2rem"
>
บันทึกข้อมูล
</button>
</div>
<div
class=
"flex justify-center mb-1rem pb-2rem"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-success mx-2rem"
>
บันทึกร่าง
</button>
<button
type=
"submit"
class=
"ti-btn ti-btn-success mx-2rem"
>
บันทึกข้อมูล
</button>
</div>
</ng-container>
</ng-template>
...
...
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
import
{
CompetencytypeModel
,
MyCompetencytypeModel
}
from
"./competencytype.model"
import
{
MyStatusCodeModel
,
StatusCodeModel
}
from
"./status-code.model"
export
interface
AppraisalPmsFormModel
{
personalLevel
:
PersonalLevel
pmsMasfromEvaluationRoundModel
:
PmsMasfromEvaluationRoundModel
companyId
:
string
apsassessy
:
Apsassessy
apsapprove1
:
Apsapprove1
apsapprove2
:
Apsapprove2
apsapprove3
:
Apsapprove3
apsapprove4
:
Apsapprove4
apsapprove5
:
Apsapprove5
apsassessyStatus
:
string
apsapprove1Status
:
string
apsapprove2Status
:
string
apsapprove3Status
:
string
apsapprove4Status
:
string
apsapprove5Status
:
string
apsassessyScore
:
number
apsapprove1Score
:
number
apsapprove2Score
:
number
apsapprove3Score
:
number
apsapprove4Score
:
number
apsapprove5Score
:
number
part1Detail
:
Part1Detail
[]
part2Detail
:
Part2Detail
[]
part3Detail
:
Part3Detail
[]
part4Detail
:
Part4Detail
[]
part5Detail
:
Part5Detail
[]
part6Detail
:
Part6Detail
[]
part7Detail
:
Part7Detail
[]
}
export
interface
PersonalLevel
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsMasfromEvaluationRoundModel
{
pmsEvaluationRoundId
:
string
companyId
:
string
tdesc
:
string
edesc
:
string
apsyear
:
string
apsPeriodStart
:
string
apsPeriodEnd
:
string
jlId
:
string
personalLevel
:
PersonalLevel2
[]
active
:
number
statusFrom
:
StatusFrom
statusCode
:
StatusCode
}
export
interface
PersonalLevel2
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
StatusFrom
{
code
:
string
tdesc
:
string
edesc
:
string
}
export
interface
StatusCode
{
code
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Apsassessy
{
employeeId
:
string
bossId
:
string
prefix
:
Prefix
fname
:
string
lname
:
string
efname
:
string
elname
:
string
bu1
:
Bu1
bu2
:
Bu2
bu3
:
Bu3
bu4
:
Bu4
bu5
:
Bu5
position
:
Position
job
:
Job
pl
:
Pl
status
:
Status
time0
:
Time0
resignDate
:
string
endWorkDate
:
string
startDate
:
string
thFullName
:
string
engFullName
:
string
}
export
interface
Prefix
{
prefixId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Bu1
{
bu1id
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Bu2
{
bu2id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu3
{
bu3id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu4
{
bu4id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu5
{
bu5id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Position
{
positionId
:
string
tdesc
:
string
edesc
:
string
consolidate
:
string
shortName
:
string
companyId
:
string
}
export
interface
Job
{
jobCodeId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Pl
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Status
{
statusCode
:
string
statusType
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Time0
{
time0id
:
string
tdesc
:
string
edesc
:
string
stickTm
:
string
hourD
:
number
}
export
interface
Apsapprove1
{
employeeId
:
string
bossId
:
string
prefix
:
Prefix2
fname
:
string
lname
:
string
efname
:
string
elname
:
string
bu1
:
Bu12
bu2
:
Bu22
bu3
:
Bu32
bu4
:
Bu42
bu5
:
Bu52
position
:
Position2
job
:
Job2
pl
:
Pl2
status
:
Status2
time0
:
Time02
resignDate
:
string
endWorkDate
:
string
startDate
:
string
thFullName
:
string
engFullName
:
string
}
export
interface
Prefix2
{
prefixId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Bu12
{
bu1id
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Bu22
{
bu2id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu32
{
bu3id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu42
{
bu4id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu52
{
bu5id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Position2
{
positionId
:
string
tdesc
:
string
edesc
:
string
consolidate
:
string
shortName
:
string
companyId
:
string
}
export
interface
Job2
{
jobCodeId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Pl2
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Status2
{
statusCode
:
string
statusType
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Time02
{
time0id
:
string
tdesc
:
string
edesc
:
string
stickTm
:
string
hourD
:
number
}
export
interface
Apsapprove2
{
employeeId
:
string
bossId
:
string
prefix
:
Prefix3
fname
:
string
lname
:
string
efname
:
string
elname
:
string
bu1
:
Bu13
bu2
:
Bu23
bu3
:
Bu33
bu4
:
Bu43
bu5
:
Bu53
position
:
Position3
job
:
Job3
pl
:
Pl3
status
:
Status3
time0
:
Time03
resignDate
:
string
endWorkDate
:
string
startDate
:
string
thFullName
:
string
engFullName
:
string
}
export
interface
Prefix3
{
prefixId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Bu13
{
bu1id
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Bu23
{
bu2id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu33
{
bu3id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu43
{
bu4id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu53
{
bu5id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Position3
{
positionId
:
string
tdesc
:
string
edesc
:
string
consolidate
:
string
shortName
:
string
companyId
:
string
}
export
interface
Job3
{
jobCodeId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Pl3
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Status3
{
statusCode
:
string
statusType
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Time03
{
time0id
:
string
tdesc
:
string
edesc
:
string
stickTm
:
string
hourD
:
number
}
export
interface
Apsapprove3
{
employeeId
:
string
bossId
:
string
prefix
:
Prefix4
fname
:
string
lname
:
string
efname
:
string
elname
:
string
bu1
:
Bu14
bu2
:
Bu24
bu3
:
Bu34
bu4
:
Bu44
bu5
:
Bu54
position
:
Position4
job
:
Job4
pl
:
Pl4
status
:
Status4
time0
:
Time04
resignDate
:
string
endWorkDate
:
string
startDate
:
string
thFullName
:
string
engFullName
:
string
}
export
interface
Prefix4
{
prefixId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Bu14
{
bu1id
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Bu24
{
bu2id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu34
{
bu3id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu44
{
bu4id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu54
{
bu5id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Position4
{
positionId
:
string
tdesc
:
string
edesc
:
string
consolidate
:
string
shortName
:
string
companyId
:
string
}
export
interface
Job4
{
jobCodeId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Pl4
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Status4
{
statusCode
:
string
statusType
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Time04
{
time0id
:
string
tdesc
:
string
edesc
:
string
stickTm
:
string
hourD
:
number
}
export
interface
Apsapprove4
{
employeeId
:
string
bossId
:
string
prefix
:
Prefix5
fname
:
string
lname
:
string
efname
:
string
elname
:
string
bu1
:
Bu15
bu2
:
Bu25
bu3
:
Bu35
bu4
:
Bu45
bu5
:
Bu55
position
:
Position5
job
:
Job5
pl
:
Pl5
status
:
Status5
time0
:
Time05
resignDate
:
string
endWorkDate
:
string
startDate
:
string
thFullName
:
string
engFullName
:
string
}
export
interface
Prefix5
{
prefixId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Bu15
{
bu1id
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Bu25
{
bu2id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu35
{
bu3id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu45
{
bu4id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu55
{
bu5id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Position5
{
positionId
:
string
tdesc
:
string
edesc
:
string
consolidate
:
string
shortName
:
string
companyId
:
string
}
export
interface
Job5
{
jobCodeId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Pl5
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Status5
{
statusCode
:
string
statusType
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Time05
{
time0id
:
string
tdesc
:
string
edesc
:
string
stickTm
:
string
hourD
:
number
}
export
interface
Apsapprove5
{
employeeId
:
string
bossId
:
string
prefix
:
Prefix6
fname
:
string
lname
:
string
efname
:
string
elname
:
string
bu1
:
Bu16
bu2
:
Bu26
bu3
:
Bu36
bu4
:
Bu46
bu5
:
Bu56
position
:
Position6
job
:
Job6
pl
:
Pl6
status
:
Status6
time0
:
Time06
resignDate
:
string
endWorkDate
:
string
startDate
:
string
thFullName
:
string
engFullName
:
string
}
export
interface
Prefix6
{
prefixId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Bu16
{
bu1id
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Bu26
{
bu2id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu36
{
bu3id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu46
{
bu4id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Bu56
{
bu5id
:
string
tdesc
:
string
edesc
:
string
parent
:
string
companyId
:
string
}
export
interface
Position6
{
positionId
:
string
tdesc
:
string
edesc
:
string
consolidate
:
string
shortName
:
string
companyId
:
string
}
export
interface
Job6
{
jobCodeId
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Pl6
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
Status6
{
statusCode
:
string
statusType
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Time06
{
time0id
:
string
tdesc
:
string
edesc
:
string
stickTm
:
string
hourD
:
number
}
export
interface
Part1Detail
{
companyId
:
string
weight
:
number
lineNo
:
number
scoreTopicExpectation
:
number
scoreTopicExpectationBoss
:
number
groupAssessment1
:
GroupAssessment1
}
export
interface
GroupAssessment1
{
personalLevelModel
:
PersonalLevelModel
companyId
:
string
pmsGroupAssessment0
:
PmsGroupAssessment0
pmsTopic
:
PmsTopic2
}
export
interface
PersonalLevelModel
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsGroupAssessment0
{
personalLevel
:
PersonalLevel3
companyId
:
string
pmsTopic
:
PmsTopic
}
export
interface
PersonalLevel3
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsTopic
{
pmsTopicId
:
string
pmsType
:
PmsType
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
PmsTopic2
{
pmsTopicId
:
string
pmsType
:
PmsType2
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType2
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
Part2Detail
{
companyId
:
string
weight
:
number
lineNo
:
number
scoreTopicExpectation
:
number
scoreTopicExpectationBoss
:
number
groupAssessment1
:
GroupAssessment12
}
export
interface
GroupAssessment12
{
personalLevelModel
:
PersonalLevelModel2
companyId
:
string
pmsGroupAssessment0
:
PmsGroupAssessment02
pmsTopic
:
PmsTopic4
}
export
interface
PersonalLevelModel2
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsGroupAssessment02
{
personalLevel
:
PersonalLevel4
companyId
:
string
pmsTopic
:
PmsTopic3
}
export
interface
PersonalLevel4
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsTopic3
{
pmsTopicId
:
string
pmsType
:
PmsType3
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType3
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
PmsTopic4
{
pmsTopicId
:
string
pmsType
:
PmsType4
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType4
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
Part3Detail
{
companyId
:
string
weight
:
number
lineNo
:
number
scoreTopicExpectation
:
number
scoreTopicExpectationBoss
:
number
groupAssessment1
:
GroupAssessment13
}
export
interface
GroupAssessment13
{
personalLevelModel
:
PersonalLevelModel3
companyId
:
string
pmsGroupAssessment0
:
PmsGroupAssessment03
pmsTopic
:
PmsTopic6
}
export
interface
PersonalLevelModel3
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsGroupAssessment03
{
personalLevel
:
PersonalLevel5
companyId
:
string
pmsTopic
:
PmsTopic5
}
export
interface
PersonalLevel5
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsTopic5
{
pmsTopicId
:
string
pmsType
:
PmsType5
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType5
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
PmsTopic6
{
pmsTopicId
:
string
pmsType
:
PmsType6
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType6
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
Part4Detail
{
plId
:
string
companyId
:
string
lineNo
:
number
competencyType
:
CompetencyType
masfromStatusType
:
MasfromStatusType
currentStep
:
string
lastStep
:
string
checkStep
:
string
apsassessyStatus
:
string
apsapprove1Status
:
string
apsapprove2Status
:
string
apsapprove3Status
:
string
apsapprove4Status
:
string
apsapprove5Status
:
string
numberCheck1
:
number
numberCheck2
:
number
numberCheck3
:
number
numberCheck4
:
number
numberCheck5
:
number
weightedTotal
:
number
averageScore
:
number
apsassessyComment
:
string
apsapprove1Comment
:
string
apsapprove2Comment
:
string
apsapprove3Comment
:
string
apsapprove4Comment
:
string
apsapprove5Comment
:
string
apsassessyDate
:
string
apsapprove1Date
:
string
apsapprove2Date
:
string
apsapprove3Date
:
string
apsapprove4Date
:
string
apsapprove5Date
:
string
evaluationResults
:
string
sumEvaluationResults
:
string
}
export
interface
CompetencyType
{
competencyTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
expectationLevel
:
string
weight
:
number
}
export
interface
MasfromStatusType
{
code
:
string
tdesc
:
string
edesc
:
string
}
export
interface
Part5Detail
{
pmsWorkingTimeId
:
string
tdesc
:
string
edesc
:
string
weight
:
number
detailUnit
:
string
performanceTargets
:
string
targetADetail
:
string
targetBDetail
:
string
targetCDetail
:
string
targetDDetail
:
string
targetEDetail
:
string
pmsWorkingTimScore
:
number
pmsWorkingTimScoreBoss
:
number
}
export
interface
Part6Detail
{
companyId
:
string
weight
:
number
lineNo
:
number
scoreTopicExpectation
:
number
scoreTopicExpectationBoss
:
number
groupAssessment1
:
GroupAssessment14
}
export
interface
GroupAssessment14
{
personalLevelModel
:
PersonalLevelModel4
companyId
:
string
pmsGroupAssessment0
:
PmsGroupAssessment04
pmsTopic
:
PmsTopic8
}
export
interface
PersonalLevelModel4
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsGroupAssessment04
{
personalLevel
:
PersonalLevel6
companyId
:
string
pmsTopic
:
PmsTopic7
}
export
interface
PersonalLevel6
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsTopic7
{
pmsTopicId
:
string
pmsType
:
PmsType7
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType7
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
PmsTopic8
{
pmsTopicId
:
string
pmsType
:
PmsType8
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType8
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
Part7Detail
{
companyId
:
string
weight
:
number
lineNo
:
number
scoreTopicExpectation
:
number
scoreTopicExpectationBoss
:
number
groupAssessment1
:
GroupAssessment15
}
export
interface
GroupAssessment15
{
personalLevelModel
:
PersonalLevelModel5
companyId
:
string
pmsGroupAssessment0
:
PmsGroupAssessment05
pmsTopic
:
PmsTopic10
}
export
interface
PersonalLevelModel5
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsGroupAssessment05
{
personalLevel
:
PersonalLevel7
companyId
:
string
pmsTopic
:
PmsTopic9
}
export
interface
PersonalLevel7
{
plId
:
string
tdesc
:
string
edesc
:
string
companyId
:
string
}
export
interface
PmsTopic9
{
pmsTopicId
:
string
pmsType
:
PmsType9
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType9
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
export
interface
PmsTopic10
{
pmsTopicId
:
string
pmsType
:
PmsType10
companyId
:
string
lineNo
:
number
edesc
:
string
tdesc
:
string
indicatorsDetail
:
string
performanceGoalsDetail
:
string
weight
:
number
detailUnit
:
string
completionDate
:
string
targetAdetail
:
string
targetBdetail
:
string
targetCdetail
:
string
targetDdetail
:
string
targetEdetail
:
string
}
export
interface
PmsType10
{
pmsTypeId
:
string
companyId
:
string
edesc
:
string
tdesc
:
string
shortName
:
string
weight
:
number
}
\ No newline at end of file
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