Commit 77d3f41a by Nattana Chaiyamat

PMS

parent 5beee0d8
......@@ -131,10 +131,14 @@
</div>
</td>
<td class="text-center">
<div class="flex justify-center">
<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'"
[class.ti-btn-soft-secondary]="item.statusPms.statusType == 'Boss'"
[class.ti-btn-soft-warning]="item.statusPms.statusType == 'BossEvaluating'"
[class.ti-btn-soft-success]="item.statusPms.statusType == 'Boss_finish'"
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'">
(click)="selectSubordinate(item,'',subordinate.select?.evaluationRoundId,item.statusPms.statusType);pageEvalution='pms'">
PMS
</button>
</div>
......
......@@ -54,6 +54,16 @@ export interface AppraisalPmsFormModel {
part5Detail: Part5Detail[]
part6Detail: Part6Detail[]
part7Detail: Part7Detail[]
cfrDetail: string,
gradeScore: string
netScore: number
part1SumScore: number
part2SumScore: number
part3SumScore: number
part4SumScore: number
part5SumScore: number
part6SumScore: number
part7SumScore: number
}
export interface PersonalLevel {
......
......@@ -18,7 +18,11 @@ export interface Masfromevaluationassessment {
statusIdp: {
shortName: string,
statusType: string
}
},
statusPms: {
shortName: string,
statusType: string
},
checkStep: string
currentStep: string
}
......
......@@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
import { environment } from 'src/environments/environment';
import { AlertModel } from '../model/alert.model';
import { PmsGroupGradeModel } from '../model/pms-group-grade.model';
import { CompetencyGradeModel } from '../model/competency-grades.model';
@Injectable({
providedIn: 'root'
})
......@@ -18,6 +19,9 @@ export class PmsGroupGradeService {
getList(): Observable<PmsGroupGradeModel[]> {
return this.http.get<PmsGroupGradeModel[]>(this.urlApi + "/lists")
}
getGradeList(): Observable<CompetencyGradeModel[]> {
return this.http.get<CompetencyGradeModel[]>(this.urlApi + "/grade/lists")
}
post(body: PmsGroupGradeModel): Observable<AlertModel> {
return this.http.post<AlertModel>(this.urlApi, body)
}
......
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