Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DHAS
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thitichaipun Wutthisak
DHAS
Commits
193ff643
Commit
193ff643
authored
Dec 23, 2020
by
peema_phongam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interview result
parent
bb19e308
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
564 additions
and
534 deletions
+564
-534
APS_FORM_INTERVIEW_DHAS_CHAIRMAN.jsp
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_CHAIRMAN.jsp
+0
-531
APS_FORM_INTERVIEW_DHAS_RESULT.jsp
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_RESULT.jsp
+286
-0
APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
...PS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
+273
-0
ListCandidate.Controller.js
....war/EMPVIEW/JS/APS_INTERVIEW/ListCandidate.Controller.js
+5
-3
API_EMPVIEW.jar
hrAppWeb.war/WEB-INF/lib/API_EMPVIEW.jar
+0
-0
No files found.
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_CHAIRMAN.jsp
deleted
100644 → 0
View file @
bb19e308
<!-- ******************************** แบบประเมินสัมภาษณ์งาน 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_committeeid =
chk.chkNullString(request.getParameter("committeeid"));
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()%>/CSS/Bootstrap/js/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"<%=request.getContextPath()%>/JS/jquery-ui-1.11.4.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/InterviewForm.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=
'InterviewForm'
>
<div
class=
'bg-com'
></div>
<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=
'notedit'
value=
'<%=p_notedit%>'
/>
<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>
<td
class=
'b'
style=
"text-align: right;"
>
FR-230200-109 / Rev.No02
</td>
</tr>
<tr>
<td
class=
'b'
style=
"text-align: right;"
>
Effective Date : 08/06/2018
</td>
</tr>
</table>
<table
class=
"table table-head table-bordered"
>
<tr>
<th
colspan=
'10 text-left'
>
ใบประเมินผู้สมัครสำหรับหน่วยงาน (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>
<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>
</table>
</div>
<div
class=
'table-responsive'
>
<table
class=
"table table-head table-bordered"
>
<tr>
<th
class=
'b'
>
No.
</th>
<th
class=
'b text-left'
style=
"width:400px"
>
หัวข้อการพิจารณาของหน่วยงาน
</th>
<th
class=
'b'
>
ดีมาก / 5
</th>
<th
class=
'b'
>
ดี / 4
</th>
<th
class=
'b'
>
ปานกลาง / 3
</th>
<th
class=
'b'
>
พอใช้ / 2
</th>
<th
class=
'b'
>
ไม่ดี / 1
</th>
</tr>
<tr>
<td
class=
'center'
>
1
</td>
<td>
บุคลิคลักษณะ กิริยามารยาท การแต่งกาย
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
<tr>
<td
class=
'center'
>
2
</td>
<td>
มนุษย์สัมพันธ์
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
3
</td>
<td>
การสื่อข้อความ การตอบคำถาม การใช้คำพูด
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
4
</td>
<td>
ประวัจิการศึกษา และการฝึกอบรม
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
5
</td>
<td>
ภูมิหลัง และสถานภาพทางครอบครัว
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
6
</td>
<td>
ประสบการณ์ ลักษณะงานที่ผ่านมา
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
7
</td>
<td>
ความรอบรู้เรื่องในงานที่สมัคร ความรู้ทางเทคนิค และวิธีปฏิบัติ
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
8
</td>
<td>
ความสามารถพิเศษที่เอื้อต่องานที่สมัคร
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
9
</td>
<td>
สติปัญญา ความคิดริเริ่ม ความคิดเห็น ไหวพริบ การแก้ปัญหาเหตุผล
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'center'
>
10
</td>
<td>
ทัศนคติดความมุ่งหมายในชีวิต การงาน และสังคมรอบข้าง
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
colspan=
'2'
style=
"text-align: right;"
>
สรุป
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"5"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"4"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"3"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"2"
>
{{examdata.dominance}}
</td>
<td
class=
'center'
><span
class=
'score1 b'
ng-show=
'examdata.dominance == 0'
><input
type=
"radio"
ng-model=
"dominance"
value=
"1"
>
{{examdata.dominance}}
</td>
</tr>
<tr>
<td
class=
'trash b'
colspan=
'2'
>
รวมคะแนน
</td>
<td
class=
'center b'
colspan=
'5'
>
{{ getSumScore() }}
</td>
</tr>
</table>
</div>
</tbody>
</table>
<div
class=
'pagebreak'
></div>
<div
class=
"form-horizontal"
>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<label
class=
"b text-left"
>
ความเห็นหน่วยงานเพิ่มเติม
</label>
<a
class=
'icon-btn'
ng-click=
'addComment()'
ng-hide=
'headdata.status == 2 '
><i
class=
"fa fa-plus"
></i></a>
<a
class=
'icon-btn'
ng-click=
'delComment()'
ng-hide=
'headdata.status == 2 '
><i
class=
"fa fa-minus"
></i></a>
</div>
</div>
<div
class=
"row new-line"
ng-repeat=
'com in formdata.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=
'headdata.status == 2 || notedit'
></textarea>
</div>
</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=
'formdata.appropriate'
value=
'1'
type=
'radio'
ng-disabled=
'headdata.status == 2 || notedit'
/>
<label
class=
'label1'
>
เหมาะสม
</label>
<input
class=
'score3_2'
ng-model=
'formdata.appropriate'
value=
'0'
type=
'radio'
ng-disabled=
'headdata.status == 2 || notedit'
/>
<label
class=
'label2'
>
ไม่เหมาะสม
</label>
<input
class=
'score3_3'
ng-model=
'formdata.appropriate'
value=
'2'
type=
'radio'
ng-disabled=
'headdata.status == 2 || notedit'
/>
<label
class=
'label3'
>
เหมาะกับตำแหน่งอื่น
</label>
<label
class=
'label3'
ng-show=
'formdata.appropriate == 2'
>
(ระบุ)
</label>
<input
class=
'form-control extend3'
ng-model=
'formdata.job_other'
type=
'text'
ng-disabled=
'headdata.status == 2 || notedit'
ng-show=
'formdata.appropriate == 2'
/>
<label
id=
'job_other'
></label>
</div>
</div>
<div
class=
"col-lg-3 hide-print"
>
<label
class=
"b"
>
ลงชื่อ
</label>
<label>
{{headdata.committee_fullname}}
</label>
</div>
<div
class=
"col-lg-2 hide-print"
>
<label>
{{headdata.apsdate}}
</label>
<label>
ผู้สัมภาษณ์
</label>
</div>
<div
class=
"col-xs-5 show-print"
></div>
<div
class=
"col-xs-4 show-print"
>
<label
class=
"b"
>
ลงชื่อ
</label>
<label>
{{headdata.committee_fullname}}
</label>
</div>
<div
class=
"col-xs-3 show-print"
>
<label>
{{headdata.apsdate}}
</label>
<label>
ผู้สัมภาษณ์
</label>
</div>
</div>
</div>
<div
class=
"center new-line"
>
<button
type=
"button"
class=
"btn btn-info"
ng-click=
'saveDraff()'
ng-disabled=
'headdata.status == 2 '
>
ผลประเมินก่อนหน้า
</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>
<!-- end csc-block-white -->
</div>
<!-- end csc-content -->
</form>
</section>
<!-- 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=
'notedit'
value=
'<%=p_notedit%>'
/>
--%>
<
%
--
<
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'
swlang
code=
''
>
ผลการประเมินฝ่ายบุคคล
</td>
--%>
<
%
--
<
td
colspan=
'4'
>
{{headdata.bu4}}
</td>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
ผลประเมินจากหน่วยงาน
</td>
--%>
<
%
--
<
td
colspan=
'4'
>
{{headdata.bu2}}
</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'
style=
"width:10%"
>
Job Name
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
>
</td>
--%>
<
%
--
<
td
class=
'center'
rowspan=
'2'
><span
class=
'score1 b'
>
{{examdata.dominance}}
</span></td>
--%>
<
%
--
<
td
class=
'center'
rowspan=
'2'
><span
class=
'score1 b'
>
{{examdata.dominance}}
</span>
คะแนน
</td>
--%>
<
%
--
<
td
class=
'center'
rowspan=
'2'
><span
class=
'score1 b'
>
{{examdata.dominance}}
</span></td>
--%>
<
%
--
<
td
class=
'center'
rowspan=
'2'
><span
class=
'score1 b'
>
{{examdata.dominance}}
</span>
คะแนน
</td>
--%>
<
%
--
<
td
class=
'center'
rowspan=
'2'
><span
class=
'score1 b'
>
{{examdata.dominance}}
</span></td>
--%>
<
%
--
<
td
class=
'center'
rowspan=
'2'
><span
class=
'score1 b'
>
{{examdata.dominance}}
</span>
คะแนน
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
Job Code
</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=
'10'
>
ประเมินค่างานจากผลสัมภาษณ์ โดยผู้บริหาร / ผู้จัดการฝ่าย
</th>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
style=
"width:25%"
>
คาดว่าผู้สมัครจะสามารถปฏิบัติงานได้ตามมาตราฐานงานที่
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
style=
"width:25%"
>
{{examdata.result}}
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
style=
"width:25%"
>
% ของต่ำแหน่งงาน
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
>
ผลการคัดเลือกจากหน่วยงาน
</td>
--%>
<
%
--
<
td
class=
'center'
><span
class=
'score1 b'
>
[]ควรจ้าง
</span></td>
--%>
<
%
--
<
td
class=
'center'
><span
class=
'score1 b'
>
[]ไม่ควรจ้าง
</span></td>
--%>
<
%
--
<
td
class=
'center'
><span
class=
'score1 b'
>
[]สำรอง
</span></td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'3'
><span
class=
'score1 b'
>
ขอจ้างเป็น
</span></td>
--%>
<
%
--
<
td
class=
'center'
><span
class=
'score1 b'
>
[]รายวัน
</span></td>
--%>
<
%
--
<
td
class=
'center'
><span
class=
'score1 b'
>
[]รายเดือน
</span></td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
ความเห็นหน่วยงานเพิ่มเติม
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'9'
>
</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
>
--%>
<
%
--
<
td
class=
'center'
>
1
</td>
--%>
<
%
--
<
td
class=
'center'
>
ค่าเดินทาง /ค่าน้ำมันรถจักรยานยนต์
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท/วัน/เดือน
</td>
--%>
<
%
--
<
td
class=
'center'
>
เริ่มจ่ายตั้งแต่วันที่
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{paydate}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
2
</td>
--%>
<
%
--
<
td
class=
'center'
>
ค่าเบี้ยเลี้ยง
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท/วัน/เดือน
</td>
--%>
<
%
--
<
td
class=
'center'
>
เริ่มจ่ายตั้งแต่วันที่
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{paydate}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
3
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{payid}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท/วัน/เดือน
</td>
--%>
<
%
--
<
td
class=
'center'
>
เริ่มจ่ายตั้งแต่วันที่
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{paydate}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
4
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{payid}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท/วัน/เดือน
</td>
--%>
<
%
--
<
td
class=
'center'
>
เริ่มจ่ายตั้งแต่วันที่
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{paydate}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'3'
>
ลงชื่อ
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{Sign}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ incomedate}}
</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'
></td>
--%>
<
%
--
<
td
class=
'center'
>
คะแนน
</td>
--%>
<
%
--
<
td
class=
'center'
>
คูณอัตราจ้าง
</td>
--%>
<
%
--
<
td
class=
'center'
>
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท / Point
</td>
--%>
<
%
--
<
td
class=
'center'
>
เท่ากับรายได้พึงประเมิน(รวมเงินโบนัสเฉลี่ย)
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'6'
></td>
--%>
<
%
--
<
td
class=
'center'
>
ประเมินการรายได้รวมต่อเดือน(ไม่รวมเงินโบนัส)
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
1.รายได้คงที่ตามตำแหน่ง = Basic Salary
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'4'
>
บาท
</td>
--%>
<
%
--
<
td
class=
'center'
>
2.รายได้แปรผันตามผลงาน = M1PI
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
Pre-QPI
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'4'
>
บาท
</td>
--%>
<
%
--
<
td
class=
'center'
>
M3PI
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{baht}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
บาท
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'6'
>
ลงชื่อ
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{Sign}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ incomedate}}
</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'
>
การเห็นชอบของผู้บริหาร BU (ผู้จัดการอาวุโส /Ex. Director BU)
</th>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
>
1.สรุปปลการพิจารณา
</td>
--%>
<
%
--
<
td
class=
'center'
>
[]
</td>
--%>
<
%
--
<
td
class=
'center'
>
อนุมัติ
</td>
--%>
<
%
--
<
td
class=
'center'
>
[]
</td>
--%>
<
%
--
<
td
class=
'center'
>
ไม่อนุมัติ
</td>
--%>
<
%
--
<
td
class=
'center'
>
[]
</td>
--%>
<
%
--
<
td
class=
'center'
>
อื่นๆ (ถ้ามี)
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
>
{{ other}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'2'
>
2.สรุปผลการปรเมินรายได้
</td>
--%>
<
%
--
<
td
class=
'center'
>
[]
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'6'
>
ตามมารฐานประเมินต่ำแหน่งงาน
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'3'
>
[]
</td>
--%>
<
%
--
<
td
class=
'center'
>
อื่นๆ (ถ้ามี)
</td>
--%>
<
%
--
<
td
class=
'center'
colspan=
'4'
>
{{other}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'6'
>
ลงชื่อ
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{Sign}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ incomedate}}
</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'
>
ตามมารฐานประเมินต่ำแหน่งงาน
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'center'
colspan=
'6'
>
ลงชื่อ
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{Sign}}
</td>
--%>
<
%
--
<
td
class=
'center'
>
{{ incomedate}}
</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"
ng-click=
'saveDraff()'
ng-disabled=
'headdata.status == 2 '
>
ผลประเมินก่อนหน้า
</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
>
<!-- end csc-block-white -->
--%>
<
%
--
</
div
>
<!-- end csc-content -->
--%>
<
%
--
</
form
>
--%>
<
%
--
</
section
>
--%>
</body>
</html>
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_RESULT.jsp
0 → 100644
View file @
193ff643
<!-- ******************************** แบบประเมินสัมภาษณ์งาน 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_committeeid =
chk.chkNullString(request.getParameter("committeeid"));
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()%>/CSS/Bootstrap/js/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"<%=request.getContextPath()%>/JS/jquery-ui-1.11.4.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=
'notedit'
value=
'<%=p_notedit%>'
/>
<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"
>
ผลการประเมินฝ่ายบุคคล
<input
type=
"text"
ng-model=
"formdata.form[0].percentFromHr"
ng-disabled=
'headdata.status == 2 || notedit'
>
%
</td>
<td
class=
'b'
style=
"width:50%"
>
ผลประเมินจากหน่วยงาน
<input
type=
"text"
ng-model=
"formdata.form[0].percentFromDept"
ng-disabled=
'headdata.status == 2 || notedit'
>
%
</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 || notedit'
type=
"text"
ng-model=
"formdata.form[0].jobName"
></td>
<td
class=
'center'
colspan=
'2'
rowspan=
"2"
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].basicallyScore"
>
คะแนน
</td>
<td
class=
'center'
colspan=
'3'
rowspan=
"2"
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].managementScore"
>
คะแนน
</td>
<td
class=
'center'
colspan=
'2'
rowspan=
"2"
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].sumScore"
>
คะแนน
</td>
</tr>
<tr>
<td
class=
'center'
colspan=
"1"
>
Job Code
</td>
<td
class=
'center'
colspan=
'2'
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].jobCode"
></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 || notedit'
type=
"text"
ng-model=
"formdata.form[0].estimatePercentJob"
>
% ของตำแหน่งงาน
</td>
</tr>
<tr>
<td
class=
'text-left'
>
ผลการคัดเลือกจากหน่วยงาน
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"deptRes"
value=
"1"
ng-model=
"formdata.form[0].resultFromDept"
>
ควรจ้าง
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"deptRes"
value=
"2"
ng-model=
"formdata.form[0].resultFromDept"
>
ไม่ควรจ้าง
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"deptRes"
value=
"3"
ng-model=
"formdata.form[0].resultFromDept"
>
สำรอง
</td>
<td
class=
'text-left'
>
ขอจ้างเป็น
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"empRes"
value=
"1"
ng-model=
"formdata.form[0].hire"
>
รายวัน
<input
ng-disabled=
'headdata.status == 2 || 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 || 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'
>
{{$item.name}}
</td>
<td
class=
'center'
><input
ng-disabled=
'headdata.status == 2 || 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 || notedit'
type=
"text"
ng-model=
"$item.startDate"
></td>
</tr>
<tr>
<td
class=
'text-right'
colspan=
'5'
>
ลงชื่อ
<input
ng-disabled=
'headdata.status == 2 || notedit'
style=
"width: 20%"
type=
"text"
ng-model=
"formdata.form[0].sign.manager"
></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 || 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 || 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 || 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 || 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 || 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 || 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 || 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 || 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-disabled=
'headdata.status == 2 || notedit'
style=
"width: 20%"
type=
"text"
ng-model=
"formdata.form[0].sign.hr"
></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 || notedit'
type=
"radio"
name=
"exRes"
value=
"1"
ng-model=
"formdata.form[0].ex.result"
>
อนุมัติ
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"exRes"
value=
"2"
ng-model=
"formdata.form[0].ex.result"
>
ไม่อนุมัติ
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"exRes"
value=
"3"
ng-model=
"formdata.form[0].ex.result"
>
อื่นๆ (ถ้ามี)
<input
ng-disabled=
'headdata.status == 2 || 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 || 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 || notedit'
type=
"radio"
name=
"esIncome"
value=
"2"
ng-model=
"formdata.form[0].ex.estimateIncome"
>
อื่นๆ (ถ้ามี)
<input
ng-disabled=
'headdata.status == 2 || 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-disabled=
'headdata.status == 2 || notedit'
style=
"width: 20%"
type=
"text"
ng-model=
"formdata.form[0].sign.ex"
></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 || notedit'
type=
"text"
style=
"width: 100%"
ng-model=
"formdata.form[0].seniorEx.remark"
>
</td>
</tr>
<tr>
<td
class=
'text-right'
style=
"width: 75%"
>
ลงชื่อ
<input
ng-disabled=
'headdata.status == 2 || notedit'
style=
"width: 25%"
type=
"text"
ng-model=
"formdata.form[0].sign.seniorEx"
></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"
ng-click=
'saveDraff()'
ng-disabled=
'headdata.status == 2 '
>
ผลประเมินก่อนหน้า
</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>
<!-- end csc-block-white -->
</div>
<!-- end csc-content -->
</form>
</section>
</body>
</html>
hrAppWeb.war/EMPVIEW/JS/APS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
0 → 100644
View file @
193ff643
'use strict'
angular
.
module
(
'APS_INTERVIEW'
).
controller
(
'APS_FORM_INTERVIEW_DHAS_RESULT'
,
[
'$scope'
,
'$http'
,
'$sce'
,
'InterviewcandidateCtrl'
,
function
(
$scope
,
$http
,
$sce
,
InterviewcandidateCtrl
){
$scope
.
candidateid
=
$
(
'input[name="candidateid"]'
).
val
()
$scope
.
committeeid
=
$
(
'input[name="committeeid"]'
).
val
()
$scope
.
notedit
=
(
$
(
'input[name="notedit"]'
).
val
()
==
'true'
)
$scope
.
lang
=
$
(
'input[name="lang"]'
).
val
()
$scope
.
contextPath
=
''
$scope
.
headdata
=
{}
$scope
.
formdata
=
{}
let
question
=
new
Question
()
$scope
.
examdata
=
{}
$scope
.
score2
=
''
$scope
.
score3
=
''
$scope
.
score4
=
''
let
DocumentContainer
let
WindowObject
$scope
.
comment
=
[{
comment
:
''
,
appropriate
:
0
}]
$scope
.
apsform
=
[{
percentFromHr
:
''
,
percentFromDept
:
''
,
jobName
:
''
,
jobCode
:
''
,
basicallyScore
:
''
,
managementScore
:
''
,
sumScore
:
''
,
estimatePercentJob
:
''
,
resultFromDept
:
''
,
hire
:
''
,
remarkFromDept
:
''
,
incentives
:
[{
name
:
'ค่าเดินทาง / ค่าน้ำมันรถจักรยานยนต์'
,
cost
:
''
,
startDate
:
''
},{
name
:
'ค่าเบี้ยเลี้ยง'
,
cost
:
''
,
startDate
:
''
},{
name
:
''
,
cost
:
''
,
startDate
:
''
},{
name
:
''
,
cost
:
''
,
startDate
:
''
}],
hr
:
{
score
:
''
,
multiple
:
''
,
incomeWithBonus
:
''
,
incomeWithoutBonus
:
''
,
basicSalary
:
''
,
qpi
:
''
,
m1pi
:
''
,
m3pi
:
''
},
ex
:
{
result
:
''
,
other
:
''
,
estimateIncome
:
''
,
otherEstimateIncome
:
''
},
seniorEx
:
{
remark
:
''
,
},
sign
:
{
manager
:
''
,
hr
:
''
,
ex
:
''
,
seniorEx
:
''
}
}]
$scope
.
myparam
=
{
candidateid
:
$scope
.
candidateid
,
committeeid
:
$scope
.
committeeid
};
InterviewcandidateCtrl
.
manageInterviewForm
.
query
(
$scope
.
myparam
).
$promise
.
then
(
function
(
data
){
$scope
.
headdata
=
data
.
header
$scope
.
formdata
=
data
.
apsform
setFormAPS
()
console
.
log
(
data
)
})
let
setFormAPS
=
()
=>
{
if
(
$scope
.
formdata
.
form
==
''
){
$scope
.
formdata
.
form
=
$scope
.
apsform
}
else
{
$scope
.
formdata
.
form
=
jQuery
.
parseJSON
(
$scope
.
formdata
.
form
)
}
if
(
$scope
.
formdata
.
comment
==
''
){
$scope
.
formdata
.
comment
=
$scope
.
comment
}
else
{
$scope
.
formdata
.
comment
=
jQuery
.
parseJSON
(
$scope
.
formdata
.
comment
)
}
}
$scope
.
getSumScore
=
()
=>
{
let
result
=
0
if
(
$scope
.
formdata
.
form
!=
undefined
){
for
(
var
i
=
0
;
i
<
$scope
.
formdata
.
form
.
length
;
i
++
){
let
form
=
$scope
.
formdata
.
form
[
i
];
result
+=
parseInt
(
form
.
score
)
}
}
return
result
;
}
$scope
.
getSumScoreByScore
=
(
score
)
=>
{
let
result
=
0
if
(
$scope
.
formdata
.
form
!=
undefined
){
for
(
var
i
=
0
;
i
<
$scope
.
formdata
.
form
.
length
;
i
++
){
let
form
=
$scope
.
formdata
.
form
[
i
];
if
(
form
.
score
==
score
){
result
+=
parseInt
(
form
.
score
)
}
}
}
return
result
;
}
$scope
.
addComment
=
()
=>
{
let
data
=
{
comment
:
''
}
$scope
.
formdata
.
comment
.
push
(
data
)
}
$scope
.
delComment
=
()
=>
{
$scope
.
formdata
.
comment
.
pop
()
}
$scope
.
saveDraff
=
()
=>
{
if
(
confirm
(
MyCode
[
1
])){
$scope
.
sendparam
=
$scope
.
sendparam
=
setParam
(
'0'
)
InterviewcandidateCtrl
.
manageInterviewForm
.
save
(
JSON
.
stringify
(
$scope
.
sendparam
))
.
$promise
.
then
(
function
(){
alert
(
MyCode
[
18
]);
window
.
opener
.
location
.
reload
();
});
}
}
$scope
.
save
=
()
=>
{
if
(
true
){
if
(
confirm
(
MyCode
[
1
])){
$scope
.
sendparam
=
setParam
(
'1'
)
InterviewcandidateCtrl
.
manageInterviewForm
.
save
(
JSON
.
stringify
(
$scope
.
sendparam
))
.
$promise
.
then
(
function
(){
alert
(
MyCode
[
18
]);
window
.
opener
.
location
.
reload
();
});
}
}
else
{
alert
(
'กรุณากรอกข้อมูลให้ครบถ้วน'
)
}
}
let
setParam
=
(
type
)
=>
{
let
param
=
{
headdata
:
$scope
.
headdata
,
apsform
:
$scope
.
formdata
,
savetype
:
type
}
return
param
}
let
chkData
=
()
=>
{
let
result
=
true
let
objlist
=
$scope
.
formdata
.
form
.
filter
((
form
)
=>
form
.
score
==
0
)
if
(
objlist
.
length
>
0
){
result
=
false
}
let
objlist2
=
$scope
.
formdata
.
comment
.
filter
((
comment
)
=>
comment
.
comment
==
0
)
if
(
objlist2
.
length
>
0
){
result
=
false
}
let
objlist3
=
$scope
.
formdata
.
comment
.
filter
((
appropriate
)
=>
appropriate
.
appropriate
==
0
)
if
(
objlist3
.
length
>
0
){
result
=
false
}
return
result
}
$scope
.
goprint
=
function
(){
hidelement
();
promisePrint
().
then
((
obj
)
=>
{
WindowObject
.
focus
();
console
.
log
(
WindowObject
);
// window.close();
WindowObject
.
print
();
})
}
function
promisePrint
(){
return
new
Promise
((
resolve
,
reject
)
=>
{
DocumentContainer
=
document
.
getElementById
(
'target_warpper'
);
WindowObject
=
window
.
open
(
''
,
'PrintWindow'
,
'width=1200,height=666,top=10,right=10,toolbars=no,scrollbars=no,status=no,resizable=yes,scale=98%'
);
WindowObject
.
document
.
writeln
(
'<!DOCTYPE html>'
);
WindowObject
.
document
.
writeln
(
'<html><head><title></title>'
);
WindowObject
.
document
.
writeln
(
`<link rel="stylesheet" type="text/css" href="
${
$scope
.
contextPath
}
/EMPVIEW/css/APP_UP/style_apsup.css">`
);
WindowObject
.
document
.
writeln
(
`<link rel="stylesheet" type="text/css" href="
${
$scope
.
contextPath
}
/EMPVIEW/css/APS_Interview/style_printInterview.css">`
);
WindowObject
.
document
.
writeln
(
`<link rel="stylesheet" type="text/css" href="
${
$scope
.
contextPath
}
/CSS/Bootstrap/css/bootstrap.css">`
);
WindowObject
.
document
.
writeln
(
`<link rel="stylesheet" type="text/css" href="
${
$scope
.
contextPath
}
/CSS/EMPVIEW_LAYOUT.min.css">`
);
WindowObject
.
document
.
writeln
(
`<link rel="stylesheet" type="text/css" href="
${
$scope
.
contextPath
}
/CSS/font-awesome.css">`
);
WindowObject
.
document
.
writeln
(
'</head><body>'
);
WindowObject
.
document
.
writeln
(
DocumentContainer
.
innerHTML
);
WindowObject
.
document
.
writeln
(
'</body></html>'
);
WindowObject
.
document
.
close
();
setTimeout
(()
=>
resolve
(
WindowObject
),
1000
)
})
}
function
hidelement
(){
let
txt
=
''
let
chk
=
false
$
(
".score1"
).
each
(
function
(){
if
(
$
(
this
).
hasClass
(
"ng-hide"
)){
$
(
this
).
hide
()
}
});
$
(
".score2"
).
each
(
function
(){
chk
=
$
(
this
).
prop
(
'checked'
);
if
(
chk
){
$
(
this
).
parents
(
"td"
).
append
(
"<i class='fa fa-check-square-o right dis-block'></i>"
);
}
else
{
$
(
this
).
parents
(
"td"
).
append
(
"<i class='fa fa-square-o right dis-block'></i>"
);
}
$
(
this
).
hide
();
});
$
(
".score3"
).
each
(
function
(){
chk
=
$
(
this
).
prop
(
'checked'
);
if
(
chk
){
$
(
this
).
parents
(
".chk"
).
append
(
"<i class='fa fa-check-square-o right dis-block'></i>"
);
}
else
{
$
(
this
).
parents
(
".chk"
).
append
(
"<i class='fa fa-square-o right dis-block'></i>"
);
}
$
(
this
).
hide
();
});
$
(
"textarea"
).
each
(
function
(){
txt
=
$
(
this
).
val
()
if
(
txt
==
''
){
$
(
this
).
parents
(
".showtxt"
).
find
(
"label"
).
removeClass
(
'hide'
)
$
(
this
).
parents
(
".showtxt"
).
find
(
"label"
).
clone
().
appendTo
(
$
(
this
).
parents
(
".showtxt"
))
}
else
{
$
(
this
).
parents
(
".showtxt"
).
find
(
"label"
).
removeClass
(
'txt-underline hide'
)
$
(
this
).
parents
(
".showtxt"
).
find
(
"label"
).
addClass
(
'txt-underline2'
)
$
(
this
).
parents
(
".showtxt"
).
find
(
"label"
).
text
(
txt
)
}
$
(
this
).
hide
()
});
$
(
'.btn'
).
hide
()
$
(
'.icon-btn'
).
hide
()
}
}]);
hrAppWeb.war/EMPVIEW/JS/APS_INTERVIEW/ListCandidate.Controller.js
View file @
193ff643
...
@@ -164,9 +164,11 @@ angular.module('APS_INTERVIEW').controller('listCandidate', ['$scope', '$http',
...
@@ -164,9 +164,11 @@ angular.module('APS_INTERVIEW').controller('listCandidate', ['$scope', '$http',
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"STD_NEW"
))
{
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"STD_NEW"
))
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS.jsp"
;
pageName
=
"../APS_FORM_INTERVIEW_DHAS.jsp"
;
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"DHAS"
))
{
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"DHAS"
))
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS_DEPT.jsp"
;
if
(
list
.
judge
==
'1'
)
{
// pageName = "../APS_FORM_INTERVIEW_DHAS_RESULT.jsp";
pageName
=
"../APS_FORM_INTERVIEW_DHAS_RESULT.jsp"
;
// pageName = "../APS_FORM_INTERVIEW_DHAS.jsp";
}
else
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS_DEPT.jsp"
}
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"ITE"
))
{
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"ITE"
))
{
pageName
=
"../APS_FORM_INTERVIEW_ITE.jsp"
;
pageName
=
"../APS_FORM_INTERVIEW_ITE.jsp"
;
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"KOKOTEL"
))
{
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"KOKOTEL"
))
{
...
...
hrAppWeb.war/WEB-INF/lib/API_EMPVIEW.jar
View file @
193ff643
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment