Commit 66a22029 by Nattana Chaiyamat

โชว์ pms

parent 3f5a0345
...@@ -132,12 +132,12 @@ ...@@ -132,12 +132,12 @@
</table> </table>
</div> </div>
</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 class="px-2rem py-3 bg-soft-secondary font-size-18px font-weight-700 text-primary">
รายละเอียดประเมินผลงานการปฏิบัติงาน รายละเอียดประเมินผลงานการปฏิบัติงาน
</div> </div>
</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"> <table class="ti-custom-table ti-custom-table-head ti-custom-table-hover">
<thead class="height-50px"> <thead class="height-50px">
<tr class="font-size-12px"> <tr class="font-size-12px">
......
...@@ -57,7 +57,8 @@ ...@@ -57,7 +57,8 @@
<thead> <thead>
<tr> <tr>
<ng-container <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" <th scope="col"
class="relative px-10px py-10px bg-soft-secondary text-primary" class="relative px-10px py-10px bg-soft-secondary text-primary"
[class.!text-center]="f||l||'ประเมิน'||'เเผนพัฒนา'||'PMS'"> [class.!text-center]="f||l||'ประเมิน'||'เเผนพัฒนา'||'PMS'">
...@@ -130,7 +131,7 @@ ...@@ -130,7 +131,7 @@
</button> </button>
</div> </div>
</td> </td>
<td class="text-center"> <td class="text-center" *ngIf="subordinate.select?.showPms">
<div class="flex justify-center" *ngIf="item.statusPms"> <div class="flex justify-center" *ngIf="item.statusPms">
<button type="button" class="ti-btn rounded-sm ti-btn-soft-mute" <button type="button" class="ti-btn rounded-sm ti-btn-soft-mute"
[class.ti-btn-soft-mute]="item.statusPms.statusType == 'Not_evaluating_yet'" [class.ti-btn-soft-mute]="item.statusPms.statusType == 'Not_evaluating_yet'"
...@@ -143,9 +144,13 @@ ...@@ -143,9 +144,13 @@
</button> </button>
</div> </div>
</td> </td>
<td class="text-center" style="font-size: 12px;">{{item.sumScore}}</td> <td class="text-center" style="font-size: 12px;"
<td class="text-center" style="font-size: 12px;">{{item.gread}}</td> *ngIf="subordinate.select?.showPms">
<td class="text-center" style="font-size: 12px;"> {{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}} {{item.apsapproveType.tdesc}}
</td> </td>
</tr> </tr>
......
...@@ -22,6 +22,7 @@ export class SupervisorEvaluationComponent { ...@@ -22,6 +22,7 @@ export class SupervisorEvaluationComponent {
evaluationRoundId: "", evaluationRoundId: "",
masfromStatusType: "" masfromStatusType: ""
} }
constructor(private appraisalService: AppraisalService, constructor(private appraisalService: AppraisalService,
private cdr: ChangeDetectorRef) { private cdr: ChangeDetectorRef) {
} }
......
...@@ -3,6 +3,7 @@ export interface AppraisalSubordinateModel { ...@@ -3,6 +3,7 @@ export interface AppraisalSubordinateModel {
companyId: string companyId: string
tdesc: string tdesc: string
edesc: string edesc: string
showPms: boolean
masfromevaluationassessment: Masfromevaluationassessment[] 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