Commit 1d055b48 by Nattana Chaiyamat

เพิ่ม view แสดงคะแนนประเมินของลูกน้องกับหัวหน้า

parent e251e6f8
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<th scope="col">น้ำหนัก</th> <th scope="col">น้ำหนัก</th>
<th scope="col">เพิ่มเติม</th> <th scope="col">เพิ่มเติม</th>
<th scope="col" style="width: 300px">ค่าเป้าหมาย</th> <th scope="col" style="width: 300px">ค่าเป้าหมาย</th>
<th scope="col" *ngIf="evaluaterId!=evaluateeId">คะแนนลูกน้อง</th> <th scope="col" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">คะแนนลูกน้อง</th>
<th scope="col">คะแนน</th> <th scope="col">คะแนน</th>
</tr> </tr>
</thead> </thead>
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
</div> </div>
</td> </td>
<td class="py-2 text-center" style="vertical-align: top" <td class="py-2 text-center" style="vertical-align: top"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{numberFixed2(item.weight * item.scoreTopicExpectation)}} {{numberFixed2(item.weight * item.scoreTopicExpectation)}}
</td> </td>
<td class="py-2 text-center" style="vertical-align: top"> <td class="py-2 text-center" style="vertical-align: top">
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
</div> </div>
</td> </td>
<td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600" <td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{calExpectationTotalScore(appraisalPms?.part1Detail)}} {{calExpectationTotalScore(appraisalPms?.part1Detail)}}
</td> </td>
<td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"> <td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600">
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
</div> </div>
</td> </td>
<td class=" py-2"></td> <td class=" py-2"></td>
<td class=" py-2" *ngIf="evaluaterId!=evaluateeId"></td> <td class=" py-2" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<th scope="col">น้ำหนัก</th> <th scope="col">น้ำหนัก</th>
<th scope="col">เพิ่มเติม</th> <th scope="col">เพิ่มเติม</th>
<th scope="col" style="width: 300px;">ค่าเป้าหมาย</th> <th scope="col" style="width: 300px;">ค่าเป้าหมาย</th>
<th scope="col" *ngIf="evaluaterId!=evaluateeId">คะแนนลูกน้อง</th> <th scope="col" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">คะแนนลูกน้อง</th>
<th scope="col">คะแนน</th> <th scope="col">คะแนน</th>
</tr> </tr>
</thead> </thead>
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
</div> </div>
</td> </td>
<td class="py-2 text-center" style="vertical-align: top" <td class="py-2 text-center" style="vertical-align: top"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{numberFixed2(item.weight * item.scoreTopicExpectation)}} {{numberFixed2(item.weight * item.scoreTopicExpectation)}}
</td> </td>
<td class="py-2 text-center" style="vertical-align: top"> <td class="py-2 text-center" style="vertical-align: top">
...@@ -413,7 +413,7 @@ ...@@ -413,7 +413,7 @@
</div> </div>
</td> </td>
<td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600" <td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{calExpectationTotalScore(appraisalPms?.part2Detail)}} {{calExpectationTotalScore(appraisalPms?.part2Detail)}}
</td> </td>
<td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"> <td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600">
...@@ -437,7 +437,7 @@ ...@@ -437,7 +437,7 @@
</div> </div>
</td> </td>
<td class=" py-2"></td> <td class=" py-2"></td>
<td class=" py-2" *ngIf="evaluaterId!=evaluateeId"></td> <td class=" py-2" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -463,7 +463,7 @@ ...@@ -463,7 +463,7 @@
<th scope="col">น้ำหนัก</th> <th scope="col">น้ำหนัก</th>
<th scope="col">เพิ่มเติม</th> <th scope="col">เพิ่มเติม</th>
<th scope="col" style="width: 300px;">ค่าเป้าหมาย</th> <th scope="col" style="width: 300px;">ค่าเป้าหมาย</th>
<th scope="col" *ngIf="evaluaterId!=evaluateeId">คะแนนลูกน้อง</th> <th scope="col" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">คะแนนลูกน้อง</th>
<th scope="col">คะแนน</th> <th scope="col">คะแนน</th>
</tr> </tr>
</thead> </thead>
...@@ -580,7 +580,7 @@ ...@@ -580,7 +580,7 @@
</div> </div>
</td> </td>
<td class="py-2 text-center" style="vertical-align: top" <td class="py-2 text-center" style="vertical-align: top"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{numberFixed2(item.weight * item.scoreTopicExpectation)}} {{numberFixed2(item.weight * item.scoreTopicExpectation)}}
</td> </td>
<td class="py-2 text-center" style="vertical-align: top"> <td class="py-2 text-center" style="vertical-align: top">
...@@ -607,7 +607,7 @@ ...@@ -607,7 +607,7 @@
</div> </div>
</td> </td>
<td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600" <td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{calExpectationTotalScore(appraisalPms?.part3Detail)}} {{calExpectationTotalScore(appraisalPms?.part3Detail)}}
</td> </td>
<td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"> <td class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600">
...@@ -631,7 +631,7 @@ ...@@ -631,7 +631,7 @@
</div> </div>
</td> </td>
<td class=" py-2"></td> <td class=" py-2"></td>
<td class=" py-2" *ngIf="evaluaterId!=evaluateeId"></td> <td class=" py-2" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
<th scope="col">น้ำหนัก</th> <th scope="col">น้ำหนัก</th>
<th scope="col">เพิ่มเติม</th> <th scope="col">เพิ่มเติม</th>
<th scope="col" style="width: 300px;">ค่าเป้าหมาย</th> <th scope="col" style="width: 300px;">ค่าเป้าหมาย</th>
<th scope="col" *ngIf="evaluaterId!=evaluateeId">คะแนนลูกน้อง</th> <th scope="col" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">คะแนนลูกน้อง</th>
<th scope="col">คะแนน</th> <th scope="col">คะแนน</th>
</tr> </tr>
</thead> </thead>
...@@ -856,7 +856,7 @@ ...@@ -856,7 +856,7 @@
</div> </div>
</td> </td>
<td class="py-2 text-center" style="vertical-align: top" <td class="py-2 text-center" style="vertical-align: top"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{numberFixed2(item.weight * item.pmsWorkingTimScore)}} {{numberFixed2(item.weight * item.pmsWorkingTimScore)}}
</td> </td>
<td class="py-2 text-center" style="vertical-align: top"> <td class="py-2 text-center" style="vertical-align: top">
...@@ -882,7 +882,7 @@ ...@@ -882,7 +882,7 @@
</div> </div>
</div> </div>
</td> </td>
<td *ngIf="evaluaterId!=evaluateeId" <td *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"
class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"> class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600">
{{calExpectationTotalScorePart5(appraisalPms?.part5Detail)}} {{calExpectationTotalScorePart5(appraisalPms?.part5Detail)}}
</td> </td>
...@@ -906,7 +906,7 @@ ...@@ -906,7 +906,7 @@
</div> </div>
</div> </div>
</td> </td>
<td class=" py-2" *ngIf="evaluaterId!=evaluateeId"></td> <td class=" py-2" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"></td>
<td class=" py-2"></td> <td class=" py-2"></td>
</tr> </tr>
</tbody> </tbody>
...@@ -933,7 +933,7 @@ ...@@ -933,7 +933,7 @@
<th scope="col">น้ำหนัก</th> <th scope="col">น้ำหนัก</th>
<th scope="col">เพิ่มเติม</th> <th scope="col">เพิ่มเติม</th>
<th scope="col" style="width: 300px;">ค่าเป้าหมาย</th> <th scope="col" style="width: 300px;">ค่าเป้าหมาย</th>
<th scope="col" *ngIf="evaluaterId!=evaluateeId">คะแนนลูกน้อง</th> <th scope="col" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">คะแนนลูกน้อง</th>
<th scope="col">คะแนน</th> <th scope="col">คะแนน</th>
</tr> </tr>
</thead> </thead>
...@@ -1050,7 +1050,7 @@ ...@@ -1050,7 +1050,7 @@
</div> </div>
</td> </td>
<td class="py-2 text-center" style="vertical-align: top" <td class="py-2 text-center" style="vertical-align: top"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{numberFixed2(item.weight * item.scoreTopicExpectation)}} {{numberFixed2(item.weight * item.scoreTopicExpectation)}}
</td> </td>
<td class="py-2 text-center" style="vertical-align: top"> <td class="py-2 text-center" style="vertical-align: top">
...@@ -1076,7 +1076,7 @@ ...@@ -1076,7 +1076,7 @@
</div> </div>
</div> </div>
</td> </td>
<td *ngIf="evaluaterId!=evaluateeId" <td *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"
class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"> class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600">
{{calExpectationTotalScore(appraisalPms?.part6Detail)}} {{calExpectationTotalScore(appraisalPms?.part6Detail)}}
</td> </td>
...@@ -1100,7 +1100,7 @@ ...@@ -1100,7 +1100,7 @@
</div> </div>
</div> </div>
</td> </td>
<td class=" py-2" *ngIf="evaluaterId!=evaluateeId"></td> <td class=" py-2" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"></td>
<td class=" py-2"></td> <td class=" py-2"></td>
</tr> </tr>
</tbody> </tbody>
...@@ -1127,7 +1127,7 @@ ...@@ -1127,7 +1127,7 @@
<th scope="col">น้ำหนัก</th> <th scope="col">น้ำหนัก</th>
<th scope="col">เพิ่มเติม</th> <th scope="col">เพิ่มเติม</th>
<th scope="col" style="width: 300px;">ค่าเป้าหมาย</th> <th scope="col" style="width: 300px;">ค่าเป้าหมาย</th>
<th scope="col" *ngIf="evaluaterId!=evaluateeId">คะแนนลูกน้อง</th> <th scope="col" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">คะแนนลูกน้อง</th>
<th scope="col">คะแนน</th> <th scope="col">คะแนน</th>
</tr> </tr>
</thead> </thead>
...@@ -1244,7 +1244,7 @@ ...@@ -1244,7 +1244,7 @@
</div> </div>
</td> </td>
<td class="py-2 text-center" style="vertical-align: top" <td class="py-2 text-center" style="vertical-align: top"
*ngIf="evaluaterId!=evaluateeId"> *ngIf="evaluaterId!=evaluateeId||currentStep != '0'">
{{numberFixed2(item.weight * item.scoreTopicExpectation)}} {{numberFixed2(item.weight * item.scoreTopicExpectation)}}
</td> </td>
<td class="py-2 text-center" style="vertical-align: top"> <td class="py-2 text-center" style="vertical-align: top">
...@@ -1270,7 +1270,7 @@ ...@@ -1270,7 +1270,7 @@
</div> </div>
</div> </div>
</td> </td>
<td *ngIf="evaluaterId!=evaluateeId" <td *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"
class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600"> class="align-start !white-space-normal text-center py-2 font-semibold text-indigo-600">
{{calExpectationTotalScore(appraisalPms?.part7Detail)}} {{calExpectationTotalScore(appraisalPms?.part7Detail)}}
</td> </td>
...@@ -1294,7 +1294,7 @@ ...@@ -1294,7 +1294,7 @@
</div> </div>
</div> </div>
</td> </td>
<td class=" py-2" *ngIf="evaluaterId!=evaluateeId"></td> <td class=" py-2" *ngIf="evaluaterId!=evaluateeId||currentStep != '0'"></td>
<td class=" py-2"></td> <td class=" py-2"></td>
</tr> </tr>
</tbody> </tbody>
......
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