Commit 9ab3d847 by peema_phongam

previous interview score

parent 1326068f
......@@ -211,6 +211,265 @@
<div class='spece-bot'></div>
<div class="collapse" id="collapseExample">
<div class='table-responsive'>
<table class="table table-head table-bordered" >
<tr>
<th class='b'>No.</th>
<th class='b'>Personality Profile</th>
<th class='b'>ความหมาย</th>
<th class='b'>Very Low</th>
<th class='b'>Low</th>
<th class='b'>Below Average</th>
<th class='b'>Average</th>
<th class='b'>Average Above</th>
<th class='b'>High</th>
<th class='b'>Very High</th>
</tr>
<tr>
<td class='center'>1</td>
<td>Dominance</td>
<td>บารมี-อิทธิพล</td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 0'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 1 || examdata.dominance == 2'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 3'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 4 || examdata.dominance == 5'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 6 '>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 7 || examdata.dominance == 8'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance >= 9 && examdata.dominance <= 14' >{{examdata.dominance}}</span></td>
</tr>
<tr>
<td class='center'>2</td>
<td>Assertiveness </td>
<td>กล้าพูด-กล้ายืนหยัด</td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 0 || examdata.assertiveness == 1'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 2 || examdata.assertiveness == 3'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 4 || examdata.assertiveness == 5'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 6 || examdata.assertiveness == 7'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 8 '>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 9 || examdata.assertiveness == 10'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness >= 11 && examdata.assertiveness <= 14' >{{examdata.assertiveness}}</span></td>
</tr>
<tr>
<td class='center'>3</td>
<td>Need for Achievement</td>
<td>ต้องการความสำเร็จ</td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement >= 0 && examdata.needForAchievement <= 2'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 3 || examdata.needForAchievement == 4'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 5'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 6 || examdata.needForAchievement == 7'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 8 '>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 9 || examdata.needForAchievement == 10'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement >= 11 && examdata.needForAchievement <= 14' >{{examdata.needForAchievement}}</span></td>
</tr>
<tr>
<td class='center'>4</td>
<td>Orderliness</td>
<td>ความมีระเบียบ</td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 0 || examdata.orderliness == 1'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 2 || examdata.orderliness == 3'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 4 || examdata.orderliness == 5'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 6 || examdata.orderliness == 7'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 8 '>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 9 || examdata.orderliness == 10'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness >= 11 && examdata.orderliness <= 14' >{{examdata.orderliness}}</span></td>
</tr>
<tr>
<td class='center'>5</td>
<td>Autonomy</td>
<td>เป็นตัวของตัวเอง</td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy >= 0 && examdata.autonomy <= 2'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 3'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 4 || examdata.autonomy == 5'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 6 || examdata.autonomy == 7'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 8 || examdata.autonomy == 9'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 10 || examdata.autonomy == 11'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy >= 12 && examdata.autonomy <= 14' >{{examdata.autonomy}}</span></td>
</tr>
<tr>
<td class='center'>6</td>
<td>Need for Affiliation</td>
<td>ต้องการสัมพันธ์</td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation >= 0 && examdata.needForAffiliation <= 3'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 4'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 5 || examdata.needForAffiliation == 6'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 7 || examdata.needForAffiliation == 8'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 9 || examdata.needForAffiliation == 10'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 11 || examdata.needForAffiliation == 12'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 13 || examdata.needForAffiliation == 14' >{{examdata.needForAffiliation}}</span></td>
</tr>
<tr>
<td class='center'>7</td>
<td>Nurturance</td>
<td>ชอบอภิบาลผู้อื่น</td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance >= 0 && examdata.nurturance <= 3'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 4 || examdata.nurturance == 5'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 6'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 7'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 8 || examdata.nurturance == 9'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 10 || examdata.nurturance == 11'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance >= 12 && examdata.nurturance <= 14' >{{examdata.nurturance}}</span></td>
</tr>
<tr>
<td class='center'>8</td>
<td>Endurance</td>
<td>ความอดทน</td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 0 || examdata.endurance == 1'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 2 || examdata.endurance == 3'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 4'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 5 || examdata.endurance == 6'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 7 || examdata.endurance == 8'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 9 || examdata.endurance == 10'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance >= 11 && examdata.endurance <= 14' >{{examdata.endurance}}</span></td>
</tr>
<tr>
<td class='center'>9</td>
<td>Need for Recognition</td>
<td>ต้องการเป็นที่ยกย่อง</td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition >= 0 && examdata.needForRecognition <= 4'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 5 || examdata.needForRecognition == 6'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 7'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 8 || examdata.needForRecognition == 9'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 10'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 11 || examdata.needForRecognition == 12'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 13 || examdata.needForRecognition == 14' >{{examdata.needForRecognition}}</span></td>
</tr>
<tr>
<td class='center'>10</td>
<td>Initiativeness</td>
<td>ชอบริเริ่ม-ชักชวน</td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 0 || examdata.initiativeness == 1'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 2 || examdata.initiativeness == 3'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 4'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 5 || examdata.initiativeness == 6'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 7'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 8 || examdata.initiativeness == 9'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness >= 10 && examdata.initiativeness <= 14' >{{examdata.initiativeness}}</span></td>
</tr>
<tr>
<td class='center'>11</td>
<td>Sociability</td>
<td>ชอบสังคม</td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 0 || examdata.sociability == 1'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 2 || examdata.sociability == 3'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 4 || examdata.sociability == 5'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 6'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 7 || examdata.sociability == 8'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 9 || examdata.sociability == 10'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability >= 11 && examdata.sociability <= 14' >{{examdata.sociability}}</span></td>
</tr>
<tr>
<td class='center'>12</td>
<td>Responsibility</td>
<td>ความรับผิดชอบ</td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility >= 0 && examdata.responsibility <= 3'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 4 || examdata.responsibility == 5'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 6 || examdata.responsibility == 7'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 8 || examdata.responsibility == 9'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 10'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 11'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility >= 12 && examdata.responsibility <= 14' >{{examdata.responsibility}}</span></td>
</tr>
<tr>
<td class='center'>13</td>
<td>Honesty</td>
<td>ความซื่อสัตย์</td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty >= 0 && examdata.honesty <= 3'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 4'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 5 || examdata.honesty == 6'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 7'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 8 || examdata.honesty == 9'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 10 || examdata.honesty == 11'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty >= 12 && examdata.honesty <= 14' >{{examdata.honesty}}</span></td>
</tr>
<tr>
<td class='center'>14</td>
<td>Positive Attitude</td>
<td>ทัศนคติทางบวก</td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude >= 0 && examdata.positiveAttitude <= 5'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 6 || examdata.positiveAttitude == 7' >{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 8'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 9 || examdata.positiveAttitude == 10'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 11'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 12'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 13 || examdata.positiveAttitude == 14' >{{examdata.positiveAttitude}}</span></td>
</tr>
<tr>
<td class='center'>15</td>
<td>Self-Control</td>
<td>การควบคุมตนเอง</td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl >= 0 && examdata.selfControl <= 3'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 4 || examdata.selfControl == 5' >{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 6'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 7 || examdata.selfControl == 8'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 9 || examdata.selfControl == 10'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 11 || examdata.selfControl == 12'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 13 || examdata.selfControl == 14' >{{examdata.selfControl}}</span></td>
</tr>
<tr>
<td class='center'>16</td>
<td>Consistency</td>
<td>ความคงเส้นคงวา</td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency >= 0 && examdata.consistency <= 6'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 7 || examdata.consistency == 8' >{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 9 || examdata.consistency == 10'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 11'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 12'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 13 || examdata.consistency == 14'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 15' >{{examdata.consistency}}</span></td>
</tr>
</table>
</div>
<div class='table-responsive'>
<table class="table table-head table-bordered" >
<tr>
<th>NO/Aptitude Profile</th>
<th>Norm</th>
<th>Result</th>
<th>No/Aptitude Profile</th>
<th>Norm</th>
<th>Result</th>
<th>NO/Aptitude Profile</th>
<th>Norm</th>
<th>Result</th>
</tr>
<tr>
<td>2. Supervisor</td>
<td class='center'>BK.bank</td>
<td class='center'>{{score2}}</td>
<td>5. Numerical</td>
<td class='center'>BBC</td>
<td class='center'>{{score5}}</td>
<td>6. English</td>
<td class='center'>BBC</td>
<td></td>
</tr>
<tr>
<td>3. Abstract Reasoning</td>
<td class='center'>BBC</td>
<td class='center'>{{score3}}</td>
<td>7. Advanced English</td>
<td class='center'>UTCC</td>
<td class='center'>{{score4}}</td>
<td></td>
<td class='center'>FEZ</td>
<td></td>
</tr>
<tr>
<td>4. Clerical</td>
<td class='center'></td>
<td></td>
<td></td>
<td class='center'>ABAC</td>
<td></td>
<td></td>
<td class='center'>ABAC</td>
<td></td>
</tr>
</table>
</div>
<div class='table-responsive' ng-repeat="pre in previous">
<table class="table table-head table-bordered">
<tr>
......
......@@ -335,6 +335,266 @@
<div class="collapse" id="collapseExample">
<div class='table-responsive'>
<table class="table table-head table-bordered" >
<tr>
<th class='b'>No.</th>
<th class='b'>Personality Profile</th>
<th class='b'>ความหมาย</th>
<th class='b'>Very Low</th>
<th class='b'>Low</th>
<th class='b'>Below Average</th>
<th class='b'>Average</th>
<th class='b'>Average Above</th>
<th class='b'>High</th>
<th class='b'>Very High</th>
</tr>
<tr>
<td class='center'>1</td>
<td>Dominance</td>
<td>บารมี-อิทธิพล</td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 0'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 1 || examdata.dominance == 2'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 3'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 4 || examdata.dominance == 5'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 6 '>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance == 7 || examdata.dominance == 8'>{{examdata.dominance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.dominance >= 9 && examdata.dominance <= 14' >{{examdata.dominance}}</span></td>
</tr>
<tr>
<td class='center'>2</td>
<td>Assertiveness </td>
<td>กล้าพูด-กล้ายืนหยัด</td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 0 || examdata.assertiveness == 1'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 2 || examdata.assertiveness == 3'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 4 || examdata.assertiveness == 5'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 6 || examdata.assertiveness == 7'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 8 '>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness == 9 || examdata.assertiveness == 10'>{{examdata.assertiveness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.assertiveness >= 11 && examdata.assertiveness <= 14' >{{examdata.assertiveness}}</span></td>
</tr>
<tr>
<td class='center'>3</td>
<td>Need for Achievement</td>
<td>ต้องการความสำเร็จ</td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement >= 0 && examdata.needForAchievement <= 2'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 3 || examdata.needForAchievement == 4'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 5'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 6 || examdata.needForAchievement == 7'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 8 '>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement == 9 || examdata.needForAchievement == 10'>{{examdata.needForAchievement}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAchievement >= 11 && examdata.needForAchievement <= 14' >{{examdata.needForAchievement}}</span></td>
</tr>
<tr>
<td class='center'>4</td>
<td>Orderliness</td>
<td>ความมีระเบียบ</td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 0 || examdata.orderliness == 1'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 2 || examdata.orderliness == 3'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 4 || examdata.orderliness == 5'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 6 || examdata.orderliness == 7'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 8 '>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness == 9 || examdata.orderliness == 10'>{{examdata.orderliness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.orderliness >= 11 && examdata.orderliness <= 14' >{{examdata.orderliness}}</span></td>
</tr>
<tr>
<td class='center'>5</td>
<td>Autonomy</td>
<td>เป็นตัวของตัวเอง</td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy >= 0 && examdata.autonomy <= 2'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 3'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 4 || examdata.autonomy == 5'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 6 || examdata.autonomy == 7'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 8 || examdata.autonomy == 9'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy == 10 || examdata.autonomy == 11'>{{examdata.autonomy}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.autonomy >= 12 && examdata.autonomy <= 14' >{{examdata.autonomy}}</span></td>
</tr>
<tr>
<td class='center'>6</td>
<td>Need for Affiliation</td>
<td>ต้องการสัมพันธ์</td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation >= 0 && examdata.needForAffiliation <= 3'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 4'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 5 || examdata.needForAffiliation == 6'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 7 || examdata.needForAffiliation == 8'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 9 || examdata.needForAffiliation == 10'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 11 || examdata.needForAffiliation == 12'>{{examdata.needForAffiliation}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForAffiliation == 13 || examdata.needForAffiliation == 14' >{{examdata.needForAffiliation}}</span></td>
</tr>
<tr>
<td class='center'>7</td>
<td>Nurturance</td>
<td>ชอบอภิบาลผู้อื่น</td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance >= 0 && examdata.nurturance <= 3'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 4 || examdata.nurturance == 5'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 6'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 7'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 8 || examdata.nurturance == 9'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance == 10 || examdata.nurturance == 11'>{{examdata.nurturance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.nurturance >= 12 && examdata.nurturance <= 14' >{{examdata.nurturance}}</span></td>
</tr>
<tr>
<td class='center'>8</td>
<td>Endurance</td>
<td>ความอดทน</td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 0 || examdata.endurance == 1'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 2 || examdata.endurance == 3'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 4'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 5 || examdata.endurance == 6'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 7 || examdata.endurance == 8'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance == 9 || examdata.endurance == 10'>{{examdata.endurance}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.endurance >= 11 && examdata.endurance <= 14' >{{examdata.endurance}}</span></td>
</tr>
<tr>
<td class='center'>9</td>
<td>Need for Recognition</td>
<td>ต้องการเป็นที่ยกย่อง</td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition >= 0 && examdata.needForRecognition <= 4'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 5 || examdata.needForRecognition == 6'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 7'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 8 || examdata.needForRecognition == 9'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 10'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 11 || examdata.needForRecognition == 12'>{{examdata.needForRecognition}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.needForRecognition == 13 || examdata.needForRecognition == 14' >{{examdata.needForRecognition}}</span></td>
</tr>
<tr>
<td class='center'>10</td>
<td>Initiativeness</td>
<td>ชอบริเริ่ม-ชักชวน</td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 0 || examdata.initiativeness == 1'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 2 || examdata.initiativeness == 3'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 4'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 5 || examdata.initiativeness == 6'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 7'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness == 8 || examdata.initiativeness == 9'>{{examdata.initiativeness}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.initiativeness >= 10 && examdata.initiativeness <= 14' >{{examdata.initiativeness}}</span></td>
</tr>
<tr>
<td class='center'>11</td>
<td>Sociability</td>
<td>ชอบสังคม</td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 0 || examdata.sociability == 1'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 2 || examdata.sociability == 3'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 4 || examdata.sociability == 5'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 6'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 7 || examdata.sociability == 8'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability == 9 || examdata.sociability == 10'>{{examdata.sociability}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.sociability >= 11 && examdata.sociability <= 14' >{{examdata.sociability}}</span></td>
</tr>
<tr>
<td class='center'>12</td>
<td>Responsibility</td>
<td>ความรับผิดชอบ</td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility >= 0 && examdata.responsibility <= 3'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 4 || examdata.responsibility == 5'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 6 || examdata.responsibility == 7'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 8 || examdata.responsibility == 9'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 10'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility == 11'>{{examdata.responsibility}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.responsibility >= 12 && examdata.responsibility <= 14' >{{examdata.responsibility}}</span></td>
</tr>
<tr>
<td class='center'>13</td>
<td>Honesty</td>
<td>ความซื่อสัตย์</td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty >= 0 && examdata.honesty <= 3'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 4'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 5 || examdata.honesty == 6'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 7'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 8 || examdata.honesty == 9'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty == 10 || examdata.honesty == 11'>{{examdata.honesty}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.honesty >= 12 && examdata.honesty <= 14' >{{examdata.honesty}}</span></td>
</tr>
<tr>
<td class='center'>14</td>
<td>Positive Attitude</td>
<td>ทัศนคติทางบวก</td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude >= 0 && examdata.positiveAttitude <= 5'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 6 || examdata.positiveAttitude == 7' >{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 8'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 9 || examdata.positiveAttitude == 10'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 11'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 12'>{{examdata.positiveAttitude}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.positiveAttitude == 13 || examdata.positiveAttitude == 14' >{{examdata.positiveAttitude}}</span></td>
</tr>
<tr>
<td class='center'>15</td>
<td>Self-Control</td>
<td>การควบคุมตนเอง</td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl >= 0 && examdata.selfControl <= 3'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 4 || examdata.selfControl == 5' >{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 6'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 7 || examdata.selfControl == 8'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 9 || examdata.selfControl == 10'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 11 || examdata.selfControl == 12'>{{examdata.selfControl}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.selfControl == 13 || examdata.selfControl == 14' >{{examdata.selfControl}}</span></td>
</tr>
<tr>
<td class='center'>16</td>
<td>Consistency</td>
<td>ความคงเส้นคงวา</td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency >= 0 && examdata.consistency <= 6'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 7 || examdata.consistency == 8' >{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 9 || examdata.consistency == 10'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 11'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 12'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 13 || examdata.consistency == 14'>{{examdata.consistency}}</span></td>
<td class='center'><span class='score1 b' ng-show='examdata.consistency == 15' >{{examdata.consistency}}</span></td>
</tr>
</table>
</div>
<div class='table-responsive'>
<table class="table table-head table-bordered" >
<tr>
<th>NO/Aptitude Profile</th>
<th>Norm</th>
<th>Result</th>
<th>No/Aptitude Profile</th>
<th>Norm</th>
<th>Result</th>
<th>NO/Aptitude Profile</th>
<th>Norm</th>
<th>Result</th>
</tr>
<tr>
<td>2. Supervisor</td>
<td class='center'>BK.bank</td>
<td class='center'>{{score2}}</td>
<td>5. Numerical</td>
<td class='center'>BBC</td>
<td class='center'>{{score5}}</td>
<td>6. English</td>
<td class='center'>BBC</td>
<td></td>
</tr>
<tr>
<td>3. Abstract Reasoning</td>
<td class='center'>BBC</td>
<td class='center'>{{score3}}</td>
<td>7. Advanced English</td>
<td class='center'>UTCC</td>
<td class='center'>{{score4}}</td>
<td></td>
<td class='center'>FEZ</td>
<td></td>
</tr>
<tr>
<td>4. Clerical</td>
<td class='center'></td>
<td></td>
<td></td>
<td class='center'>ABAC</td>
<td></td>
<td></td>
<td class='center'>ABAC</td>
<td></td>
</tr>
</table>
</div>
<div class='table-responsive' ng-repeat="pre in previous">
<table class="table table-head table-bordered">
<tr>
......
......@@ -7,6 +7,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
$scope.notedit = ($('input[name="notedit"]').val() == 'true')
$scope.lang = $('input[name="lang"]').val()
$scope.contextPath = ''
$scope.candidate = {}
$scope.headdata = {
fullname: '',
job: '',
......@@ -83,6 +84,109 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
$scope.isReady = true
})
RecService.RestMcandidate.getQuery({id: $scope.candidateid}).$promise.then(function (data){
$scope.candidate = data.result;
setExamData1()
setExamScore2()
setExamScore3()
setExamScore4()
setExamScore5()
})
let setExamData1 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("Personality") ||
data[x].examdata.topic.eng.includes("Personality")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.examdata = question.getDHASPIT(router)
}
}
let setExamScore2 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("ความพร้อมหัวหน้างาน") ||
data[x].examdata.topic.eng.includes("ความพร้อมหัวหน้างาน")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score2 = question.getRealScore(router.question)
}
}
let setExamScore3 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("ความถนัดเชิงเหตุผลนามธรรม") ||
data[x].examdata.topic.eng.includes("ความถนัดเชิงเหตุผลนามธรรม")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score3 = question.getRealScore(router.question)
}
}
let setExamScore4 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("ADVANCE ENGLISH") ||
data[x].examdata.topic.eng.includes("ADVANCE ENGLISH")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score4 = question.getRealScore(router.question)
}
}
let setExamScore5 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("คณิตศาสตร์") ||
data[x].examdata.topic.eng.includes("คณิตศาสตร์")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score5 = question.getRealScore(router.question)
}
}
let setFormAPS = () => {
if($scope.formdata.form == ''){
......
......@@ -10,6 +10,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
$scope.contextPath = ''
$scope.listJudge = []
$scope.jobDetail = {}
$scope.candidate = {}
$scope.headdata = {
fullname: '',
job: '',
......@@ -112,6 +113,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
$scope.jobDetail = data.result
})
InterviewcandidateCtrl.manageInterviewForm.query($scope.myparam).$promise.then(function(data){
$scope.headdata = data.header
......@@ -121,6 +123,15 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
$scope.isReady = true
})
RecService.RestMcandidate.getQuery({id: $scope.candidateid}).$promise.then(function (data){
$scope.candidate = data.result;
setExamData1()
setExamScore2()
setExamScore3()
setExamScore4()
setExamScore5()
})
// $scope.$watch('formdata.form', function (data) {
......@@ -130,6 +141,99 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
// }
// })
let setExamData1 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("Personality") ||
data[x].examdata.topic.eng.includes("Personality")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.examdata = question.getDHASPIT(router)
}
}
let setExamScore2 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("ความพร้อมหัวหน้างาน") ||
data[x].examdata.topic.eng.includes("ความพร้อมหัวหน้างาน")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score2 = question.getRealScore(router.question)
}
}
let setExamScore3 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("ความถนัดเชิงเหตุผลนามธรรม") ||
data[x].examdata.topic.eng.includes("ความถนัดเชิงเหตุผลนามธรรม")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score3 = question.getRealScore(router.question)
}
}
let setExamScore4 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("ADVANCE ENGLISH") ||
data[x].examdata.topic.eng.includes("ADVANCE ENGLISH")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score4 = question.getRealScore(router.question)
}
}
let setExamScore5 = () => {
let data = $scope.candidate.jobrouter
let router = {}
let isReady = false
for(let x=0;x<data.length;x++){
if(data[x].examdata != null){
if(data[x].examdata.topic.tha.includes("คณิตศาสตร์") ||
data[x].examdata.topic.eng.includes("คณิตศาสตร์")){
router = data[x]
isReady = true
}
}
}
if(isReady){
$scope.score5 = question.getRealScore(router.question)
}
}
$scope.getSumWorkCost = () => {
return parseInt($scope.jobDetail.workcost1) + parseInt($scope.jobDetail.workcost2)
......
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