Commit c411c0b4 by Nakarin Luankla

UPDTAE จัดรอบการประเมิน แก้ช่องกรอกคะแนน ไม่ได้

parent 4c99e510
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
</td> </td>
<td >{{item.item.groupAssessment1.pmsTopic.tdesc}}</td> <td >{{item.item.groupAssessment1.pmsTopic.tdesc}}</td>
<td class="!text-center">{{item.item.groupAssessment1.pmsTopic.pmsType.tdesc}}</td> <td class="!text-center">{{item.item.groupAssessment1.pmsTopic.pmsType.tdesc}}</td>
<td class="!text-center"><input type="text" class="form-control" oninput="this.value = this.value.replace(/[^0-9]/g, '')" [(ngModel)]="item.item.groupAssessment1.pmsTopic.weight" style="width: 60px;"></td> <td class="!text-center"><input type="text" class="form-control" oninput="this.value = this.value.replace(/[^0-9]/g, '')" [(ngModel)]="item.item.weight" style="width: 60px;"></td>
<td class="flex justify-center"> <td class="flex justify-center">
<i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="deleteFormOne(item.item);"></i> <i class="ti ti-trash cursor-pointer i-gray fs-l px-1" (click)="deleteFormOne(item.item);"></i>
</td> </td>
......
...@@ -152,7 +152,7 @@ export class EditEvaluationFormComponent { ...@@ -152,7 +152,7 @@ export class EditEvaluationFormComponent {
if (this.empassessmentRoundListCheckbox.map(x => x.item).length > 0) { if (this.empassessmentRoundListCheckbox.map(x => x.item).length > 0) {
if (this.empassessmentList) { if (this.empassessmentList) {
this.empassessmentList.masfromEvaluationAssessment1lList = this.empassessmentRoundListCheckbox.map(x => { this.empassessmentList.masfromEvaluationAssessment1lList = this.empassessmentRoundListCheckbox.map(x => {
x.item.groupAssessment1.pmsTopic.weight = Number(x.item.groupAssessment1.pmsTopic.weight); x.item.weight = Number(x.item.weight);
return x.item as any; return x.item as any;
}); });
} }
......
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