Commit 66a22029 by Nattana Chaiyamat

โชว์ pms

parent 3f5a0345
......@@ -132,12 +132,12 @@
</table>
</div>
</div>
<div class="w-full min-height-50px justify-between items-center pb-2">
<div class="w-full min-height-50px justify-between items-center pb-2" *ngIf="appraisalPmsFilter(item.masfromEvaluationRound.evaluationRoundId).data">
<div class="px-2rem py-3 bg-soft-secondary font-size-18px font-weight-700 text-primary">
รายละเอียดประเมินผลงานการปฏิบัติงาน
</div>
</div>
<div class="overflow-auto rounded-top-0.65rem px-2rem p-2">
<div class="overflow-auto rounded-top-0.65rem px-2rem p-2" *ngIf="appraisalPmsFilter(item.masfromEvaluationRound.evaluationRoundId).data">
<table class="ti-custom-table ti-custom-table-head ti-custom-table-hover">
<thead class="height-50px">
<tr class="font-size-12px">
......
......@@ -57,7 +57,8 @@
<thead>
<tr>
<ng-container
*ngFor="let item of ['รหัสพนักงาน','ชื่อพนักงาน','ตำเเหน่งงาน','ประเมิน','เเผนพัฒนา','PMS','ผลประเมิน','เกรด' ,'สถานะผู้ประเมิน']; let f = first; let l = last; let i = index">
*ngFor="let item of subordinate.select?.showPms?['รหัสพนักงาน','ชื่อพนักงาน','ตำเเหน่งงาน','ประเมิน','เเผนพัฒนา','PMS','ผลประเมิน','เกรด' ,'สถานะผู้ประเมิน']:
['รหัสพนักงาน','ชื่อพนักงาน','ตำเเหน่งงาน','ประเมิน','เเผนพัฒนา','สถานะผู้ประเมิน']; let f = first; let l = last; let i = index">
<th scope="col"
class="relative px-10px py-10px bg-soft-secondary text-primary"
[class.!text-center]="f||l||'ประเมิน'||'เเผนพัฒนา'||'PMS'">
......@@ -130,7 +131,7 @@
</button>
</div>
</td>
<td class="text-center">
<td class="text-center" *ngIf="subordinate.select?.showPms">
<div class="flex justify-center" *ngIf="item.statusPms">
<button type="button" class="ti-btn rounded-sm ti-btn-soft-mute"
[class.ti-btn-soft-mute]="item.statusPms.statusType == 'Not_evaluating_yet'"
......@@ -143,9 +144,13 @@
</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>
<td class="text-center" style="font-size: 12px;">
<td class="text-center" style="font-size: 12px;"
*ngIf="subordinate.select?.showPms">
{{item.sumScore}}</td>
<td class=" text-center" style="font-size: 12px;"
*ngIf="subordinate.select?.showPms">
{{item.gread}}</td>
<td class=" text-center" style="font-size: 12px;">
{{item.apsapproveType.tdesc}}
</td>
</tr>
......
......@@ -22,6 +22,7 @@ export class SupervisorEvaluationComponent {
evaluationRoundId: "",
masfromStatusType: ""
}
constructor(private appraisalService: AppraisalService,
private cdr: ChangeDetectorRef) {
}
......
......@@ -3,6 +3,7 @@ export interface AppraisalSubordinateModel {
companyId: string
tdesc: string
edesc: string
showPms: boolean
masfromevaluationassessment: Masfromevaluationassessment[]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment