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
96e1eaff
Commit
96e1eaff
authored
Jan 08, 2021
by
peema_phongam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
previous interviewer
parent
97ca0bdb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
508 additions
and
270 deletions
+508
-270
APS_FORM_INTERVIEW_DHAS_DEPT.jsp
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_DEPT.jsp
+94
-2
APS_FORM_INTERVIEW_DHAS_RESULT.jsp
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_RESULT.jsp
+364
-268
APS_FORM_INTERVIEW_DHAS_DEPT.Controller.js
.../APS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_DEPT.Controller.js
+26
-0
APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
...PS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
+24
-0
No files found.
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_DEPT.jsp
View file @
96e1eaff
...
@@ -43,8 +43,8 @@
...
@@ -43,8 +43,8 @@
<script
type=
"text/javascript"
src=
"<%=request.getContextPath()%>/JS/fullcalendar-yearview/lang-all.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/VIEWCALENDAR.js"
></script>
<script
type=
"text/javascript"
src=
"<%=request.getContextPath()%>/JS/DATEINPUT.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/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/EMPVIEW_FUNC.js"
></script>
...
@@ -203,12 +203,104 @@
...
@@ -203,12 +203,104 @@
</div>
</div>
</div>
</div>
<div
class=
"center new-line"
>
<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"
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=
'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-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>
--%>
<
%
--
<
button
type=
"button"
class=
"btn btn-warning"
ng-click=
'goprint()'
swlang
code=
'SW005455'
>
Print
</button>
--%>
</div>
</div>
<div
class=
'spece-bot'
></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>
<!-- end csc-block-white -->
</div>
<!-- end csc-block-white -->
</div>
<!-- end csc-content -->
</div>
<!-- end csc-content -->
</form>
</form>
...
...
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_RESULT.jsp
View file @
96e1eaff
<!-- ******************************** แบบประเมินสัมภาษณ์งาน DHAS ****************************************** -->
<!-- ******************************** แบบประเมินสัมภาษณ์งาน DHAS ****************************************** -->
<!DOCTYPE html>
<!DOCTYPE html>
<
%@
page
contentType=
"text/html; charset=UTF-8"
language=
"java"
%
>
<
%@
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.*"
%
>
<
%@
page
import=
"com.csc.library.database.*,com.csc.library.session.*,com.csc.library.utilities.*,com.csc.library.utility.*"
%
>
<
%@
include
file=
"../CHECKPROFILE.jsp"
%
>
<
%@
include
file=
"../CHECKPROFILE.jsp"
%
>
<
%
request
.
setCharacterEncoding
("
UTF-8
");
%
>
<
%
request
.
setCharacterEncoding
("
UTF-8
");
%
>
<
%
<
%
CheckNull
chk =
new
CheckNull
();
CheckNull
chk =
new
CheckNull
();
UProfile
up =
null;
UProfile
up =
null;
if
(
session
!=
null
)
{
if
(
session
!=
null
)
{
up =
(UProfile)
session.getAttribute("userprofile");
up =
(UProfile)
session
.
getAttribute
("
userprofile
");
}
}
if
(
up =
=
null
)
{
if
(
up =
=
null
)
{
return
;
return
;
}
}
String
p_candidateid =
chk.chkNullString(request.getParameter("candidateid"));
String
p_candidateid =
chk.chkNullString(request.getParameter("candidateid"));
String
p_committeeid =
chk.chkNullString(request.getParameter("committeeid"));
String
p_committeeid =
chk.chkNullString(request.getParameter("committeeid"));
String
p_judge =
chk.chkNullString(request.getParameter("judge"));
String
p_judge =
chk.chkNullString(request.getParameter("judge"));
String
p_notedit =
chk.chkNullString(request.getParameter("notedit"),
"false");
String
p_notedit =
chk.chkNullString(request.getParameter("notedit"),
"
false
");
%
>
%
>
<html
ng-app=
'APS_INTERVIEW'
>
<html
ng-app=
'APS_INTERVIEW'
>
<head>
<head>
<title>
Employee View
</title>
<title>
Employee View
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<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/font-awesome.css"
>
<link
rel=
"stylesheet"
href=
"<%=request.getContextPath()%>/CSS/Bootstrap/css/bootstrap.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()%>/JS/fullcalendar-yearview/fullcalendar.css"
/>
<link
rel=
"stylesheet"
href=
"<%=request.getContextPath()%>/CSS/Bootstrap/css/animate.min.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()%>/CSS/EMPVIEW_LAYOUT.min.css"
>
<link
rel=
"stylesheet"
href=
"<%=request.getContextPath()%>/EMPVIEW/css/APP_UP/style_apsup.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/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()%>/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()%>/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()%>/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()%>/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/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/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/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/VIEWCALENDAR.js"
></script>
<script
type=
"text/javascript"
src=
"<%=request.getContextPath()%>/JS/DATEINPUT.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/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/EMPVIEW_FUNC.js"
></script>
<script
type=
'text/javascript'
src=
'<%=request.getContextPath()%>/JS/urljobboard.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()%>/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()%>/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/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()%>/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'
src=
'<%=request.getContextPath()%>/EXAM/JS/CLASS/Question.Class.js'
></script>
<script
type=
'text/javascript'
>
<script
type=
'text/javascript'
>
setLang
(
'<%=up.get("lang")%>'
)
setLang
(
'<%=up.get("lang")%>'
)
</script>
</script>
</head>
</head>
<body
ng-controller=
'APS_FORM_INTERVIEW_DHAS_RESULT'
>
<body
ng-controller=
'APS_FORM_INTERVIEW_DHAS_RESULT'
>
<div
class=
'bg-com'
></div>
<div
class=
'bg-com'
></div>
<!-- Section ForChairman Only -->
<!-- Section ForChairman Only -->
<section>
<section>
<form
name=
"cscform"
class=
"form-horizontal"
method=
"post"
>
<form
name=
"cscform"
class=
"form-horizontal"
method=
"post"
>
<input
type=
'hidden'
name=
'candidateid'
value=
'<%=p_candidateid%>'
/>
<input
type=
'hidden'
name=
'candidateid'
value=
'<%=p_candidateid%>'
/>
<input
type=
'hidden'
name=
'committeeid'
value=
'<%=p_committeeid%>'
/>
<input
type=
'hidden'
name=
'committeeid'
value=
'<%=p_committeeid%>'
/>
<input
type=
'hidden'
name=
'judge'
value=
'<%=p_judge%>'
/>
<input
type=
'hidden'
name=
'judge'
value=
'<%=p_judge%>'
/>
<input
type=
'hidden'
name=
'notedit'
value=
'<%=p_notedit%>'
/>
<input
type=
'hidden'
name=
'notedit'
value=
'<%=p_notedit%>'
/>
<div
ng-hide=
"isReady"
class=
'loading-page'
>
<div
ng-hide=
"isReady"
class=
'loading-page'
>
<div
class=
'spiner'
></div>
<div
class=
'spiner'
></div>
</div>
</div>
<div
class=
'container csc-content'
id=
'target_warpper'
>
<div
class=
'container csc-content'
id=
'target_warpper'
>
<div
class=
'csc-block-white'
>
<div
class=
'csc-block-white'
>
<div
class=
'table-responsive'
>
<div
class=
'table-responsive'
>
<
%
--
<
table
class=
"table table-head table-bordered"
>
--%>
<
%
--
<
table
class=
"table table-head table-bordered"
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
rowspan =
'2'
class=
'b'
>
image
</td>
--%>
<
%
--
<
td
rowspan =
'2'
class=
'b'
>
image
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
</
tr
>
--%>
<
%
--
</
table
>
--%>
<
%
--
</
table
>
--%>
<table
class=
"table table-head table-bordered"
>
<table
class=
"table table-head table-bordered"
>
<tr>
<tr>
<th
colspan=
'10'
>
ใบสรุปผลประเมินผู้สมัคร
</th>
<th
colspan=
'10'
>
ใบสรุปผลประเมินผู้สมัคร
</th>
</tr>
</tr>
<tr>
<tr>
<td
class=
'b'
swlang
code=
'SW001984'
>
fullname
</td>
<td
class=
'b'
swlang
code=
'SW001984'
>
fullname
</td>
<td
colspan=
'3'
>
{{headdata.fullname}}
</td>
<td
colspan=
'3'
>
{{headdata.fullname}}
</td>
<td
class=
'b'
swlang
code=
'SW000057'
>
position
</td>
<td
class=
'b'
swlang
code=
'SW000057'
>
position
</td>
<td
colspan=
'2'
>
{{headdata.job}}
</td>
<td
colspan=
'2'
>
{{headdata.job}}
</td>
<
%
--
<
td
class=
'b'
>
PL
</td>
--%>
<
%
--
<
td
class=
'b'
>
PL
</td>
--%>
<
%
--
<
td
colspan=
'2'
>
{{headdata.pl}}
</td>
--%>
<
%
--
<
td
colspan=
'2'
>
{{headdata.pl}}
</td>
--%>
</tr>
</tr>
<
%
--
<
tr
>
--%>
<
%
--
<
tr
>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
แผนก
</td>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
แผนก
</td>
--%>
<
%
--
<
td
colspan=
'2'
>
{{headdata.bu4}}
</td>
--%>
<
%
--
<
td
colspan=
'2'
>
{{headdata.bu4}}
</td>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
ฝ่าย
</td>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
ฝ่าย
</td>
--%>
<
%
--
<
td
colspan=
'2'
>
{{headdata.bu3}}
</td>
--%>
<
%
--
<
td
colspan=
'2'
>
{{headdata.bu3}}
</td>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
ด้าน
</td>
--%>
<
%
--
<
td
class=
'b'
swlang
code=
''
>
ด้าน
</td>
--%>
<
%
--
<
td
colspan=
'3'
>
{{headdata.bu2}}
</td>
--%>
<
%
--
<
td
colspan=
'3'
>
{{headdata.bu2}}
</td>
--%>
<
%
--
</
tr
>
--%>
<
%
--
</
tr
>
--%>
<tr>
<tr>
<td
class=
'b'
colspan=
"5"
>
ผลการประเมินฝ่ายบุคคล {{getResultHr() | number:0}} %
</td>
<td
class=
'b'
colspan=
"5"
>
ผลการประเมินฝ่ายบุคคล {{getResultHr() | number:0}} %
</td>
<td
class=
'b'
style=
"width:50%"
>
ผลประเมินจากหน่วยงาน {{getResultDept() | number:0}} %
</td>
<td
class=
'b'
style=
"width:50%"
>
ผลประเมินจากหน่วยงาน {{getResultDept() | number:0}} %
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<div
class=
'table-responsive'
>
<div
class=
'table-responsive'
>
<table
class=
"table table-head table-bordered"
>
<table
class=
"table table-head table-bordered"
>
<tr>
<tr>
<th
class=
'text-left'
colspan=
'10'
>
ค่าคะแนนตามตำแหน่งงาน
</th>
<th
class=
'text-left'
colspan=
'10'
>
ค่าคะแนนตามตำแหน่งงาน
</th>
</tr>
</tr>
<tr>
<tr>
<td
class=
'center'
colspan=
'3'
style=
"width:25%"
>
ค่าคะแนนตามตำแหน่งงาน
<br>
ประเมินโดยฝ่ายบุคคล
</td>
<td
class=
'center'
colspan=
'3'
style=
"width:25%"
>
ค่าคะแนนตามตำแหน่งงาน
<br>
ประเมินโดยฝ่ายบุคคล
</td>
<td
class=
'center'
colspan=
'2'
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=
'3'
style=
"width:25%"
>
คะแนนความสามารถ
<br>
ทางการบริหาร/ ปฏิบัติงาน
</td>
<td
class=
'center'
colspan=
'2'
style=
"width:25%"
>
คะแนนรวม
</td>
<td
class=
'center'
colspan=
'2'
style=
"width:25%"
>
คะแนนรวม
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
'center'
colspan=
"1"
>
Job Name
</td>
<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'
><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=
'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=
'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>
<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>
<tr>
<tr>
<td
class=
'center'
colspan=
"1"
>
Job Code
</td>
<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>
<td
class=
'center'
colspan=
'2'
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].jobCode"
></td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<div
class=
'table-responsive'
>
<div
class=
'table-responsive'
>
<table
class=
"table table-head table-bordered"
>
<table
class=
"table table-head table-bordered"
>
<tr>
<tr>
<th
class=
'text-left'
colspan=
'10'
>
ประเมินค่างานจากผลสัมภาษณ์ โดยผู้บริหาร / ผู้จัดการฝ่าย
</th>
<th
class=
'text-left'
colspan=
'10'
>
ประเมินค่างานจากผลสัมภาษณ์ โดยผู้บริหาร / ผู้จัดการฝ่าย
</th>
</tr>
</tr>
<tr>
<tr>
<td
class=
'text-left'
colspan=
'10'
>
คาดว่าผู้สมัครจะสามารถปฏิบัติงานได้ตามมาตรฐานงานที่
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].estimatePercentJob"
>
% ของตำแหน่งงาน
</td>
<td
class=
'text-left'
colspan=
'10'
>
คาดว่าผู้สมัครจะสามารถปฏิบัติงานได้ตามมาตรฐานงานที่
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].estimatePercentJob"
>
% ของตำแหน่งงาน
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
'text-left'
>
<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=
"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=
"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"
>
สำรอง
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"deptRes"
value=
"3"
ng-model=
"formdata.form[0].resultFromDept"
>
สำรอง
</td>
</td>
<td
class=
'text-left'
>
<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=
"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"
>
รายเดือน
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"empRes"
value=
"2"
ng-model=
"formdata.form[0].hire"
>
รายเดือน
</td>
</td>
</tr>
</tr>
<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=
'text-left'
colspan=
'10'
>
ความเห็นหน่วยงานเพิ่มเติม
<input
ng-disabled=
'headdata.status == 2 || notedit'
style=
"width: 80%"
type=
"text"
<
%
--
<
td
class=
'center'
>
</td>
--%>
ng-model=
"formdata.form[0].remarkFromDept"
></td>
</tr>
<
%
--
<
td
class=
'center'
>
</td>
--%>
</table>
</tr>
</div>
</table>
<div
class=
'table-responsive'
>
</div>
<table
class=
"table table-head table-bordered"
>
<div
class=
'table-responsive'
>
<tr>
<table
class=
"table table-head table-bordered"
>
<th
class=
'text-left'
colspan=
'6'
>
รายได้อื่นๆ สำหรับพนักงานขายเท่านั้น
</th>
<tr>
</tr>
<th
class=
'text-left'
colspan=
'6'
>
รายได้อื่นๆ สำหรับพนักงานขายเท่านั้น
</th>
<tr
ng-repeat=
"$item in formdata.form[0].incentives"
>
</tr>
<td
class=
'center'
>
{{$index + 1}}
</td>
<tr
ng-repeat=
"$item in formdata.form[0].incentives"
>
<td
class=
'center'
>
{{$item.name}}
</td>
<td
class=
'center'
>
{{$index + 1}}
</td>
<td
class=
'center'
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"$item.cost"
></td>
<td
class=
'center'
>
{{$item.name}}
</td>
<td
class=
'center'
>
บาท/วัน/เดือน
</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>
<td
class=
'center'
>
เริ่มจ่ายตั้งแต่วันที่
</td>
</tr>
<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>
<tr>
<td
class=
'center'
>
ผู้บริหาร / ผู้จัดการฝ่าย
</td>
<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>
</tr>
<td
class=
'center'
>
ผู้บริหาร / ผู้จัดการฝ่าย
</td>
</tr>
</table>
</table>
</div>
</div>
<div
class=
'table-responsive'
>
<div
class=
'table-responsive'
>
<table
class=
"table table-head table-bordered"
>
<table
class=
"table table-head table-bordered"
>
<tr>
<tr>
<th
class=
'text-left'
colspan=
'9'
>
การประเมินและข้อสรุปของฝ่ายบุคคล
</th>
<th
class=
'text-left'
colspan=
'9'
>
การประเมินและข้อสรุปของฝ่ายบุคคล
</th>
</tr>
</tr>
<tr>
<tr>
<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.score"
></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'
>
คูณอัตราจ้าง
</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'
><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'
>
บาท / Point
</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.incomeWithBonus"
></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>
<td
class=
'text-left'
>
บาท
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
'center'
colspan=
'6'
></td>
<td
class=
'center'
colspan=
'6'
></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.incomeWithoutBonus"
></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>
<td
class=
'text-left'
>
บาท
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
'center'
>
1.รายได้คงที่ตามตำแหน่ง = Basic Salary
</td>
<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=
'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=
'text-left'
colspan=
'4'
>
บาท
</td>
<td
class=
'center'
>
2.รายได้แปรผันตามผลงาน = M1PI
</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=
'center'
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].hr.m1pi"
></td>
<td
class=
'text-left'
>
บาท
</td>
<td
class=
'text-left'
>
บาท
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
'center'
>
Pre-QPI
</td>
<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=
'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=
'text-left'
colspan=
'4'
>
บาท
</td>
<td
class=
'center'
>
M3PI
</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=
'center'
><input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
ng-model=
"formdata.form[0].hr.m3pi"
></td>
<td
class=
'text-left'
>
บาท
</td>
<td
class=
'text-left'
>
บาท
</td>
</tr>
</tr>
<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=
'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>
<td
class=
'center'
colspan=
'2'
>
หน.ผ./ ผจก.ฝ่ายบุคคล
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<div
class=
'table-responsive'
>
<div
class=
'table-responsive'
>
<table
class=
"table table-head table-bordered"
>
<table
class=
"table table-head table-bordered"
>
<tr>
<tr>
<th
class=
'text-left'
colspan=
'9'
>
การเห็นชอบของผู้บริหาร BU (ผู้จัดการอาวุโส /Ex. Director BU)
</th>
<th
class=
'text-left'
colspan=
'9'
>
การเห็นชอบของผู้บริหาร BU (ผู้จัดการอาวุโส /Ex. Director BU)
</th>
</tr>
</tr>
<tr>
<tr>
<td
class=
'text-left'
colspan=
'9'
>
<td
class=
'text-left'
colspan=
'9'
>
1.สรุปผลการพิจารณา
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=
"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=
"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=
"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'"
>
<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>
</td>
</tr>
</tr>
<tr>
<tr>
<td
rowspan=
"2"
colspan=
'2'
>
2.สรุปผลการประเมินรายได้
</td>
<td
rowspan=
"2"
colspan=
'2'
>
2.สรุปผลการประเมินรายได้
</td>
<td
class=
'text-left'
colspan=
'8'
>
<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"
>
ตามมาตรฐานประเมินตำแหน่งงาน
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"radio"
name=
"esIncome"
value=
"1"
ng-model=
"formdata.form[0].ex.estimateIncome"
>
ตามมาตรฐานประเมินตำแหน่งงาน
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
'text-left'
>
<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=
"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'"
>
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
style=
"width: 50%"
ng-model=
"formdata.form[0].ex.otherEstimateIncome"
</td>
ng-disabled=
"formdata.form[0].ex.estimateIncome != '2'"
>
</tr>
</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>
<tr>
<td
class=
'center'
>
ผู้บริหาร BU
</td>
<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>
</tr>
<td
class=
'center'
>
ผู้บริหาร BU
</td>
</table>
</tr>
</div>
</table>
<div
class=
'table-responsive'
>
</div>
<table
class=
"table table-head table-bordered"
>
<div
class=
'table-responsive'
>
<tr>
<table
class=
"table table-head table-bordered"
>
<th
class=
'text-left'
colspan=
'9'
>
การอนุมัติของ Seninor Ex Director / COO BU ขึ้นไป
</th>
<tr>
</tr>
<th
class=
'text-left'
colspan=
'9'
>
การอนุมัติของ Seninor Ex Director / COO BU ขึ้นไป
</th>
<tr>
</tr>
<td
class=
'center'
colspan=
'9'
>
<tr>
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
style=
"width: 100%"
ng-model=
"formdata.form[0].seniorEx.remark"
>
<td
class=
'center'
colspan=
'9'
>
</td>
<input
ng-disabled=
'headdata.status == 2 || notedit'
type=
"text"
style=
"width: 100%"
ng-model=
"formdata.form[0].seniorEx.remark"
>
</tr>
</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>
<tr>
<td
class=
'center'
>
Seninor Ex Director / COO BU
</td>
<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>
</tr>
<td
class=
'center'
>
Seninor Ex Director / COO BU
</td>
</table>
</tr>
</div>
</table>
</tbody>
</div>
</table>
</tbody>
<div
class=
'pagebreak'
></div>
</table>
<div
class=
"center new-line"
>
<div
class=
'pagebreak'
></div>
<button
type=
"button"
class=
"btn btn-info"
ng-click=
'saveDraff()'
ng-disabled=
'headdata.status == 2 '
>
ผลประเมินก่อนหน้า
</button>
<div
class=
"center new-line"
>
<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"
data-toggle=
"collapse"
data-target=
"#collapseExample"
>
ผลประเมินก่อนหน้า
</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-info"
ng-click=
'saveDraff()'
swlang
code=
'SW012867'
ng-disabled=
'headdata.status == 2 '
ng-hide=
'notedit'
>
Save Draft
</button>
<
%
--
<
button
type=
"button"
class=
"btn btn-warning"
ng-click=
'goprint()'
swlang
code=
'SW005455'
>
Print
</button>
--%>
<button
type=
"button"
class=
"btn btn-info"
ng-click=
'save()'
swlang
code=
'SW012098'
ng-disabled=
'headdata.status == 2 '
ng-hide=
'notedit'
>
Submit
</button>
</div>
<
%
--
<
button
type=
"button"
class=
"btn btn-warning"
ng-click=
'goprint()'
swlang
code=
'SW005455'
>
Print
</button>
--%>
<div
class=
'spece-bot'
></div>
</div>
</div>
<!-- end csc-block-white -->
<div
class=
'spece-bot'
></div>
</div>
<!-- end csc-content -->
</form>
</section>
<div
class=
"collapse"
id=
"collapseExample"
>
</body>
<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>
</html>
hrAppWeb.war/EMPVIEW/JS/APS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_DEPT.Controller.js
View file @
96e1eaff
...
@@ -9,6 +9,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
...
@@ -9,6 +9,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
$scope
.
contextPath
=
''
$scope
.
contextPath
=
''
$scope
.
headdata
=
{}
$scope
.
headdata
=
{}
$scope
.
formdata
=
{}
$scope
.
formdata
=
{}
$scope
.
previous
=
[]
let
question
=
new
Question
()
let
question
=
new
Question
()
$scope
.
examdata
=
{}
$scope
.
examdata
=
{}
$scope
.
score2
=
''
$scope
.
score2
=
''
...
@@ -63,6 +64,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
...
@@ -63,6 +64,7 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
InterviewcandidateCtrl
.
manageInterviewForm
.
query
(
$scope
.
myparam
).
$promise
.
then
(
function
(
data
){
InterviewcandidateCtrl
.
manageInterviewForm
.
query
(
$scope
.
myparam
).
$promise
.
then
(
function
(
data
){
$scope
.
headdata
=
data
.
header
$scope
.
headdata
=
data
.
header
$scope
.
formdata
=
data
.
apsform
$scope
.
formdata
=
data
.
apsform
$scope
.
previous
=
data
.
previous
setFormAPS
()
setFormAPS
()
$scope
.
isReady
=
true
$scope
.
isReady
=
true
})
})
...
@@ -92,6 +94,30 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
...
@@ -92,6 +94,30 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
return
(
result
/
50
).
toFixed
(
2
)
return
(
result
/
50
).
toFixed
(
2
)
}
}
$scope
.
getSumScoreByForm
=
(
$form
)
=>
{
let
result
=
0
if
(
$form
!=
undefined
){
for
(
var
i
=
0
;
i
<
$form
.
length
;
i
++
){
let
sform
=
$form
[
i
];
result
+=
parseInt
(
sform
.
score
)
}
}
return
(
result
/
50
).
toFixed
(
2
);
}
$scope
.
getSumScoreByScoreForm
=
(
$form
,
score
)
=>
{
let
result
=
0
if
(
$form
!=
undefined
){
for
(
var
i
=
0
;
i
<
$form
.
length
;
i
++
){
let
sform
=
$form
[
i
];
if
(
sform
.
score
==
score
){
result
+=
parseInt
(
sform
.
score
)
}
}
}
return
(
result
/
50
).
toFixed
(
2
);
}
$scope
.
getSumScoreByScore
=
(
score
)
=>
{
$scope
.
getSumScoreByScore
=
(
score
)
=>
{
let
result
=
0
let
result
=
0
if
(
$scope
.
formdata
.
form
!=
undefined
){
if
(
$scope
.
formdata
.
form
!=
undefined
){
...
...
hrAppWeb.war/EMPVIEW/JS/APS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
View file @
96e1eaff
...
@@ -150,6 +150,30 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
...
@@ -150,6 +150,30 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
return
result
;
return
result
;
}
}
$scope
.
getSumScoreByForm
=
(
$form
)
=>
{
let
result
=
0
if
(
$form
!=
undefined
){
for
(
var
i
=
0
;
i
<
$form
.
length
;
i
++
){
let
sform
=
$form
[
i
];
result
+=
parseInt
(
sform
.
score
)
}
}
return
(
result
/
50
).
toFixed
(
2
);
}
$scope
.
getSumScoreByScoreForm
=
(
$form
,
score
)
=>
{
let
result
=
0
if
(
$form
!=
undefined
){
for
(
var
i
=
0
;
i
<
$form
.
length
;
i
++
){
let
sform
=
$form
[
i
];
if
(
sform
.
score
==
score
){
result
+=
parseInt
(
sform
.
score
)
}
}
}
return
(
result
/
50
).
toFixed
(
2
);
}
$scope
.
getSumScoreByScore
=
(
score
)
=>
{
$scope
.
getSumScoreByScore
=
(
score
)
=>
{
let
result
=
0
let
result
=
0
if
(
$scope
.
formdata
.
form
!=
undefined
){
if
(
$scope
.
formdata
.
form
!=
undefined
){
...
...
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