Commit 54d9e585 by Nattana Chaiyamat

แก้หน้าประเมิน

parent 9b5803ee
......@@ -837,8 +837,7 @@
<td class="align-start text-start !white-space-normal py-2" colspan="4">
<div class="flex flex-row gap-2">
<div class="flex-1 font-semibold">
คะแนนดิบคิดเป็นร้อยละ&nbsp;:&nbsp;<span
class="text-indigo-600 ">100</span>
คะแนนดิบคิดเป็นร้อยละ&nbsp;:&nbsp;<span class="text-indigo-600 ">100</span>
</div>
<div class="flex-1 font-semibold">
ร้อยละของปัจจัย&nbsp;:&nbsp;<span
......@@ -1019,8 +1018,7 @@
<td class="align-start text-start !white-space-normal py-2" colspan="4">
<div class="flex flex-row gap-2">
<div class="flex-1 font-semibold">
คะแนนดิบคิดเป็นร้อยละ&nbsp;:&nbsp;<span
class="text-indigo-600 ">100</span>
คะแนนดิบคิดเป็นร้อยละ&nbsp;:&nbsp;<span class="text-indigo-600 ">100</span>
</div>
<div class="flex-1 font-semibold">
ร้อยละของปัจจัย&nbsp;:&nbsp;<span
......@@ -1150,11 +1148,14 @@
<div class="flex flex-row justify-center gap-2 mb-2">
<ng-container *ngFor="let item2 of [5,4,3,2,1];let f = first">
<button type="button"
class="h-12 w-12 p-0 shadow border text-soft-secondary bg-white"
class="h-12 w-12 p-0 shadow border text-soft-secondary-no-hover bg-white"
style="border-radius:5px"
(mouseenter)="partScore.set(item.groupAssessment1.pmsTopic.pmsTopicId,item2)"
(mouseleave)="partScore.clear()"
(click)="setScore(item,item2);allFormRemain()" [ngClass]="{'!border-secondary !text-secondary':(evaluaterId==evaluateeId?item.scoreTopicExpectation>=item2:item.scoreTopicExpectationBoss>=item2)||(partScore.get(item.groupAssessment1.pmsTopic.pmsTopicId) ?? 0)>=item2,
(click)="setScore(item,item2);allFormRemain()" [ngClass]="{
'!border-secondary': (evaluaterId==evaluateeId?item.scoreTopicExpectation>=item2:item.scoreTopicExpectationBoss>=item2)||(partScore.get(item.groupAssessment1.pmsTopic.pmsTopicId) ?? 0)>=item2,
'!text-secondary': (evaluaterId==evaluateeId?item.scoreTopicExpectation>item2:item.scoreTopicExpectationBoss>item2)||(partScore.get(item.groupAssessment1.pmsTopic.pmsTopicId) ?? 0)>item2,
'!text-white !bg-secondary': (evaluaterId==evaluateeId?item.scoreTopicExpectation==item2:item.scoreTopicExpectationBoss==item2)||(partScore.get(item.groupAssessment1.pmsTopic.pmsTopicId) ?? 0)==item2,
'pointer-events-none':!canEdit}">
{{item2}}
</button>
......@@ -1198,8 +1199,7 @@
<td class="align-start text-start !white-space-normal py-2" colspan="4">
<div class="flex flex-row gap-2">
<div class="flex-1 font-semibold">
คะแนนดิบคิดเป็นร้อยละ&nbsp;:&nbsp;<span
class="text-indigo-600 ">100</span>
คะแนนดิบคิดเป็นร้อยละ&nbsp;:&nbsp;<span class="text-indigo-600 ">100</span>
</div>
<div class="flex-1 font-semibold">
ร้อยละของปัจจัย&nbsp;:&nbsp;<span
......
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