<!-- ******************************** แบบประเมินสัมภาษณ์งาน DHAS ****************************************** --> <!DOCTYPE html> <%@ page contentType="text/html; charset=UTF-8" language="java" %> <%@ page import="com.csc.library.database.*,com.csc.library.session.*,com.csc.library.utilities.*,com.csc.library.utility.*" %> <%@ include file="../CHECKPROFILE.jsp" %> <% request.setCharacterEncoding("UTF-8"); %> <% CheckNull chk = new CheckNull(); UProfile up = null; if (session != null) { up = (UProfile) session.getAttribute("userprofile"); } if (up == null) { return; } String p_candidateid = chk.chkNullString(request.getParameter("candidateid")); String p_jobid = chk.chkNullString(request.getParameter("jobid")); String p_committeeid = chk.chkNullString(request.getParameter("committeeid")); String p_judge = chk.chkNullString(request.getParameter("judge")); String p_notedit = chk.chkNullString(request.getParameter("notedit"), "false"); %> <html ng-app='APS_INTERVIEW'> <head> <title>Employee View</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/font-awesome.css"> <link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/Bootstrap/css/bootstrap.css"> <link rel="stylesheet" href="<%=request.getContextPath()%>/JS/fullcalendar-yearview/fullcalendar.css"/> <link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/Bootstrap/css/animate.min.css"> <link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/EMPVIEW_LAYOUT.min.css"> <link rel="stylesheet" href="<%=request.getContextPath()%>/EMPVIEW/css/APP_UP/style_apsup.css"/> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/SCREEN.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/public/lib/angular/angular.min.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/ANGULAR/SCREEN_ANGULAR.js"></script> <script type='text/javascript' src="<%=request.getContextPath()%>/public/lib/angular-resource/angular-resource.min.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/fullcalendar-yearview/lib/moment.min.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/fullcalendar-yearview/fullcalendar.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/fullcalendar-yearview/lang-all.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/VIEWCALENDAR.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/DATEINPUT.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/jquery-ui-1.11.4.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/CSS/Bootstrap/js/bootstrap.min.js"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/JS/EMPVIEW_FUNC.js"></script> <script type='text/javascript' src='<%=request.getContextPath()%>/JS/urljobboard.js'></script> <script type='text/javascript' src='<%=request.getContextPath()%>/EMPVIEW/JS/APS_INTERVIEW/Module.Controller.js'></script> <script type='text/javascript' src='<%=request.getContextPath()%>/RECRUIT/js/services.js'></script> <script type='text/javascript' src='<%=request.getContextPath()%>/EMPVIEW/JS/APS_INTERVIEW/services.js'></script> <script type='text/javascript' src='<%=request.getContextPath()%>/EMPVIEW/JS/APS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js'></script> <script type='text/javascript' src='<%=request.getContextPath()%>/EXAM/JS/CLASS/Question.Class.js'></script> <script type='text/javascript'> setLang('<%=up.get("lang")%>') </script> </head> <body ng-controller='APS_FORM_INTERVIEW_DHAS_RESULT'> <div class='bg-com'></div> <!-- Section ForChairman Only --> <section> <form name="cscform" class="form-horizontal" method="post"> <input type='hidden' name='candidateid' value='<%=p_candidateid%>'/> <input type='hidden' name='committeeid' value='<%=p_committeeid%>'/> <input type='hidden' name='jobid' value='<%=p_jobid%>'/> <input type='hidden' name='judge' value='<%=p_judge%>'/> <input type='hidden' name='notedit' value='<%=p_notedit%>'/> <div ng-hide="isReady" class='loading-page'> <div class='spiner'></div> </div> <div class='container csc-content' id='target_warpper'> <div class='csc-block-white'> <div class='table-responsive'> <%-- <table class="table table-head table-bordered" >--%> <%-- <tr>--%> <%-- <td rowspan ='2' class='b'> image</td>--%> <%-- </tr>--%> <%-- </table>--%> <table class="table table-head table-bordered"> <tr> <th colspan='10'>ใบสรุปผลประเมินผู้สมัคร</th> </tr> <tr> <td class='b' swlang code='SW001984'>fullname</td> <td colspan='3'>{{headdata.fullname}}</td> <td class='b' swlang code='SW000057'>position</td> <td colspan='2'>{{headdata.job}}</td> <%-- <td class='b' >PL</td>--%> <%-- <td colspan='2'>{{headdata.pl}}</td>--%> </tr> <%-- <tr>--%> <%-- <td class='b' swlang code=''>แผนก</td>--%> <%-- <td colspan='2'>{{headdata.bu4}}</td>--%> <%-- <td class='b' swlang code=''>ฝ่าย</td>--%> <%-- <td colspan='2'>{{headdata.bu3}}</td>--%> <%-- <td class='b' swlang code=''>ด้าน</td>--%> <%-- <td colspan='3'>{{headdata.bu2}}</td>--%> <%-- </tr>--%> <tr> <td class='b' colspan="5">ผลการประเมินฝ่ายบุคคล {{getResultHr() | number:0}} %</td> <td class='b' style="width:50%">ผลประเมินจากหน่วยงาน {{getResultDept() | number:0}} %</td> </tr> </table> </div> <div class='table-responsive'> <table class="table table-head table-bordered"> <tr> <th class='text-left' colspan='10'>ค่าคะแนนตามตำแหน่งงาน</th> </tr> <tr> <td class='center' colspan='3' style="width:25%">ค่าคะแนนตามตำแหน่งงาน<br>ประเมินโดยฝ่ายบุคคล</td> <td class='center' colspan='2' style="width:25%">คะแนนคุณวุฒิ/<br>ความรู้พื้นฐาน</td> <td class='center' colspan='3' style="width:25%">คะแนนความสามารถ<br>ทางการบริหาร/ ปฏิบัติงาน</td> <td class='center' colspan='2' style="width:25%">คะแนนรวม</td> </tr> <tr> <td class='center' colspan="1">Job Name</td> <td class='center' colspan='2'> <%-- <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit ' type="text" ng-model="formdata.form[0].jobName">--%> {{jobDetail.tdesc}} </td> <td class='center' colspan='2' rowspan="2"> <%-- <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="formdata.form[0].basicallyScore"> คะแนน--%> {{jobDetail.workcost1 | number:2}} คะแนน </td> <td class='center' colspan='3' rowspan="2"> <%-- <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="formdata.form[0].managementScore"> คะแนน--%> {{jobDetail.workcost2 | number:2}} คะแนน </td> <td class='center' colspan='2' rowspan="2"> <%-- <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="formdata.form[0].sumScore"> คะแนน--%> {{getSumWorkCost() | number:2}} คะแนน </td> </tr> <tr> <td class='center' colspan="1">Job Code</td> <td class='center' colspan='2'> <%-- <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="formdata.form[0].jobCode">--%> {{jobDetail.id}} </td> </tr> </table> </div> <div class='table-responsive'> <table class="table table-head table-bordered"> <tr> <th class='text-left' colspan='10'>ประเมินค่างานจากผลสัมภาษณ์ โดยผู้บริหาร / ผู้จัดการฝ่าย</th> </tr> <tr> <td class='text-left' colspan='10'> <%-- คาดว่าผู้สมัครจะสามารถปฏิบัติงานได้ตามมาตรฐานงานที่ <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="formdata.form[0].estimatePercentJob"> % ของตำแหน่งงาน--%> คาดว่าผู้สมัครจะสามารถปฏิบัติงานได้ตามมาตรฐานงานที่ {{getResultDept() | number:0}} % ของตำแหน่งงาน </td> </tr> <tr> <td class='text-left'> ผลการคัดเลือกจากหน่วยงาน <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="radio" name="deptRes" value="1" ng-model="formdata.form[0].resultFromDept"> ควรจ้าง <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="radio" name="deptRes" value="2" ng-model="formdata.form[0].resultFromDept"> ไม่ควรจ้าง <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="radio" name="deptRes" value="3" ng-model="formdata.form[0].resultFromDept"> สำรอง </td> <td class='text-left'> ขอจ้างเป็น <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="radio" name="empRes" value="1" ng-model="formdata.form[0].hire"> รายวัน <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="radio" name="empRes" value="2" ng-model="formdata.form[0].hire"> รายเดือน </td> </tr> <tr> <td class='text-left' colspan='10'>ความเห็นหน่วยงานเพิ่มเติม <input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' style="width: 80%" type="text" ng-model="formdata.form[0].remarkFromDept"></td> <%-- <td class='center' > </td>--%> </tr> </table> </div> <div class='table-responsive'> <table class="table table-head table-bordered"> <tr> <th class='text-left' colspan='6'>รายได้อื่นๆ สำหรับพนักงานขายเท่านั้น</th> </tr> <tr ng-repeat="$item in formdata.form[0].incentives"> <td class='center'>{{$index + 1}}</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="$item.name"></td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="$item.cost"></td> <td class='center'>บาท/วัน/เดือน</td> <td class='center'>เริ่มจ่ายตั้งแต่วันที่</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "1" || notedit' type="text" ng-model="$item.startDate"></td> </tr> <tr> <td class='text-right' colspan='5'> <%-- ลงชื่อ <input ng-readonly="true" style="width: 20%" type="text" ng-model="formdata.form[0].sign.manager">--%> ลงชื่อ {{(listJudge | filter: {judge: '1'})[0].committee_fullname }} </td> <td class='center'> ผู้บริหาร / ผู้จัดการฝ่าย</td> </tr> </table> </div> <div class='table-responsive'> <table class="table table-head table-bordered"> <tr> <th class='text-left' colspan='9'>การประเมินและข้อสรุปของฝ่ายบุคคล</th> </tr> <tr> <td class='center'>ผลการประเมินความสามารถผู้สมัคร</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.score"></td> <td class='center'>คะแนน</td> <td class='center'>คูณอัตราจ้าง</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.multiple"></td> <td class='center'>บาท / Point</td> <td class='center'>เท่ากับรายได้พึงประเมิน(รวมเงินโบนัสเฉลี่ย)</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.incomeWithBonus"></td> <td class='text-left'>บาท</td> </tr> <tr> <td class='center' colspan='6'></td> <td class='center'>ประเมินการรายได้รวมต่อเดือน(ไม่รวมเงินโบนัส)</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.incomeWithoutBonus"></td> <td class='text-left'>บาท</td> </tr> <tr> <td class='center'>1.รายได้คงที่ตามตำแหน่ง = Basic Salary</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.basicSalary"></td> <td class='text-left' colspan='4'>บาท</td> <td class='center'>2.รายได้แปรผันตามผลงาน = M1PI</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.m1pi"></td> <td class='text-left'>บาท</td> </tr> <tr> <td class='center'> Pre-QPI</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.qpi"></td> <td class='text-left' colspan='4'>บาท</td> <td class='center'> M3PI</td> <td class='center'><input ng-disabled='headdata.status == 2 || headdata.judge != "2" || notedit' type="text" ng-model="formdata.form[0].hr.m3pi"></td> <td class='text-left'>บาท</td> </tr> <tr> <td class='text-right' colspan='7'> <%-- ลงชื่อ <input ng-readonly="true" style="width: 20%" type="text" ng-model="formdata.form[0].sign.hr">--%> ลงชื่อ {{(listJudge | filter: {judge: '2'})[0].committee_fullname }} </td> <td class='center' colspan='2'> หน.ผ./ ผจก.ฝ่ายบุคคล</td> </tr> </table> </div> <div class='table-responsive'> <table class="table table-head table-bordered"> <tr> <th class='text-left' colspan='9'>การเห็นชอบของผู้บริหาร BU (ผู้จัดการอาวุโส /Ex. Director BU)</th> </tr> <tr> <td class='text-left' colspan='9'> 1.สรุปผลการพิจารณา <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="radio" name="exRes" value="1" ng-model="formdata.form[0].ex.result"> อนุมัติ <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="radio" name="exRes" value="2" ng-model="formdata.form[0].ex.result"> ไม่อนุมัติ <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="radio" name="exRes" value="3" ng-model="formdata.form[0].ex.result"> อื่นๆ (ถ้ามี) <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="text" style="width: 70%" ng-model="formdata.form[0].ex.other" ng-disabled="formdata.form[0].ex.result != '3'"> </td> </tr> <tr> <td rowspan="2" colspan='2'>2.สรุปผลการประเมินรายได้</td> <td class='text-left' colspan='8'> <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="radio" name="esIncome" value="1" ng-model="formdata.form[0].ex.estimateIncome"> ตามมาตรฐานประเมินตำแหน่งงาน </td> </tr> <tr> <td class='text-left'> <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="radio" name="esIncome" value="2" ng-model="formdata.form[0].ex.estimateIncome"> อื่นๆ (ถ้ามี) <input ng-disabled='headdata.status == 2 || headdata.judge != "3" || notedit' type="text" style="width: 50%" ng-model="formdata.form[0].ex.otherEstimateIncome" ng-disabled="formdata.form[0].ex.estimateIncome != '2'"> </td> </tr> <tr> <td class='text-right' colspan='8'> <%-- ลงชื่อ <input ng-readonly="true" style="width: 20%" type="text" ng-model="formdata.form[0].sign.ex">--%> ลงชื่อ {{(listJudge | filter: {judge: '3'})[0].committee_fullname }} </td> <td class='center'> ผู้บริหาร BU</td> </tr> </table> </div> <div class='table-responsive'> <table class="table table-head table-bordered"> <tr> <th class='text-left' colspan='9'>การอนุมัติของ Seninor Ex Director / COO BU ขึ้นไป</th> </tr> <tr> <td class='center' colspan='9'> <input ng-disabled='headdata.status == 2 || headdata.judge != "4" || notedit' type="text" style="width: 100%" ng-model="formdata.form[0].seniorEx.remark"> </td> </tr> <tr> <td> <div class="controls form-inline "> <input class='score3_1' ng-model='formdata.form[0].appropriate' value='1' type='radio' ng-disabled='headdata.status == 2 || headdata.judge != "4" || notedit'/> <label class='label1'>เหมาะสม</label> <input class='score3_2' ng-model='formdata.form[0].appropriate' value='0' type='radio' ng-disabled='headdata.status == 2 || headdata.judge != "4" || notedit'/> <label class='label2'>ไม่เหมาะสม</label> <input class='score3_3' ng-model='formdata.form[0].appropriate' value='2' type='radio' ng-disabled='headdata.status == 2 || headdata.judge != "4" || notedit'/> <label class='label3'>เหมาะกับตำแหน่งอื่น</label> <label class='label3'>(ระบุ)</label> <input class='form-control extend3' ng-model='formdata.form[0].job_other' type='text' ng-disabled='headdata.status == 2 || headdata.judge != "4" || notedit'/> <label id='job_other'></label> </div> </td> </tr> <tr> <td class='text-right' style="width: 75%"> <%-- ลงชื่อ <input ng-readonly="true" style="width: 25%" type="text" ng-model="formdata.form[0].sign.seniorEx">--%> ลงชื่อ {{(listJudge | filter: {judge: '4'})[0].committee_fullname }} </td> <td class='center'> Seninor Ex Director / COO BU</td> </tr> </table> </div> </tbody> </table> <div class='pagebreak'></div> <div class="center new-line"> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#collapseExample">ผลประเมินก่อนหน้า</button> <button type="button" class="btn btn-info" ng-click='saveDraff()' swlang code='SW012867' ng-disabled='headdata.status == 2' ng-hide='notedit'>Save Draft</button> <button type="button" class="btn btn-info" ng-click='save()' swlang code='SW012098' ng-disabled='headdata.status == 2' ng-hide='notedit'>Submit</button> <%-- <button type="button" class="btn btn-warning" ng-click='goprint()' swlang code='SW005455'>Print</button> --%> </div> <div class='spece-bot'></div> <div class="collapse" id="collapseExample"> <div class='table-responsive' ng-repeat="pre in previous"> <table class="table table-head table-bordered"> <tr> <th colspan='10 text-left' ng-if="pre.header.dept.toUpperCase() == 'HR'">ใบประเมินผู้สมัครสำหรับแผนกบุคคล</th> <th colspan='10 text-left' ng-if="pre.header.dept.toUpperCase() == 'DEPT'">ใบประเมินผู้สมัครสำหรับหน่วยงาน (PL 2 - PL 4)</th> </tr> <tr> <td class='b' swlang code='SW001984'>fullname</td> <td colspan='4'>{{headdata.fullname}}</td> <td class='b' swlang code='SW000057'>position</td> <td colspan='4'>{{headdata.job}}</td> </tr> </table> <table class="table table-head table-bordered"> <thead> <tr> <th>ลำดับ</th> <th class='b text-left' style="width:400px">หัวข้อการพิจารณาของหน่วยงาน</th> <th>ดีมาก / 5</th> <th>ดี / 4</th> <th>ปานกลาง / 3</th> <th>พอใช้ / 2</th> <th>ไม่ดี / 1</th> </tr> </thead> <tbody> <tr ng-repeat='aps in pre.apsform.form'> <td class='center'>{{$index+1}}</td> <td>{{aps.topic}}</td> <td class='center'><input class='score2' ng-model='aps.score' ng-value='5' type='radio' ng-disabled='true'/></td> <td class='center'><input class='score2' ng-model='aps.score' ng-value='4' type='radio' ng-disabled='true'/></td> <td class='center'><input class='score2' ng-model='aps.score' ng-value='3' type='radio' ng-disabled='true'/></td> <td class='center'><input class='score2' ng-model='aps.score' ng-value='2' type='radio' ng-disabled='true'/></td> <td class='center'><input class='score2' ng-model='aps.score' ng-value='1' type='radio' ng-disabled='true'/></td> </tr> <tr> <td class='trash b' colspan='2'>สรุป</td> <td class='center b'>{{ getSumScoreByScoreForm(pre.apsform.form, 5) }}</td> <td class='center b'>{{ getSumScoreByScoreForm(pre.apsform.form, 4) }}</td> <td class='center b'>{{ getSumScoreByScoreForm(pre.apsform.form, 3) }}</td> <td class='center b'>{{ getSumScoreByScoreForm(pre.apsform.form, 2) }}</td> <td class='center b'>{{ getSumScoreByScoreForm(pre.apsform.form, 1) }}</td> </tr> <tr> <td class='trash b' colspan='2'>รวมคะแนน</td> <td class='center b' colspan='5'>{{ getSumScoreByForm(pre.apsform.form) }}</td> </tr> </tbody> </table> <div class="row new-line" ng-repeat='com in pre.apsform.comment track by $index'> <div class="col-lg-1 col-xs-1 trash">{{ $index+1 }}.</div> <div class="col-lg-11 col-xs-11 showtxt"> <p class="hide"></p> <textarea rows="5" cols="120" ng-model='com.comment' ng-disabled='true'></textarea> </div> </div> <div class="form-horizontal new-line"> <div class="row"> <div class="col-lg-7 col-xs-12"> <div class="controls form-inline "> <input class='score3_1' ng-model='pre.apsform.appropriate' value='1' type='radio' ng-disabled='true'/> <label class='label1'>เหมาะสม</label> <input class='score3_2' ng-model='pre.apsform.appropriate' value='0' type='radio' ng-disabled='true'/> <label class='label2'>ไม่เหมาะสม</label> <input class='score3_3' ng-model='pre.apsform.appropriate' value='2' type='radio' ng-disabled='true'/> <label class='label3'>เหมาะกับตำแหน่งอื่น</label> <label class='label3' ng-show='apsform.appropriate == 2'>(ระบุ)</label> <input class='form-control extend3' ng-model='pre.apsform.job_other' type='text' ng-disabled='true' ng-show='pre.apsform.appropriate == 2'/> <label id='job_other'></label> </div> </div> <div class="col-lg-3 hide-print"> <label class="b">ลงชื่อ </label> <label>{{pre.header.committee_fullname}} </label> </div> <div class="col-lg-2 hide-print"> <label> {{pre.header.apsdate}}</label> <label> ผู้สัมภาษณ์</label> </div> </div> </div> <div class='spece-bot'></div> </div> </div> </div> </div> <!-- end csc-content --> </form> </section> </body> </html>