APS_EMV006.jsp 5.39 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
<!DOCTYPE html>
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.databean.*,com.csc.library.session.*,com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.system.*,com.csc.library.utilities.*,java.text.*,java.util.Vector,com.csc.library.report.*"%>
<%@ include file="../CHECKPROFILE.jsp" %>
<jsp:useBean id="APS_EMV006" class="com.csc.library.system.Task" scope="page" />
<%
	APS_EMV006.setChannel(request, response);
	HelpEntry screen = (HelpEntry) APS_EMV006.process("HelpEntry","APS_EMV006");
	screen.getInquiry().setFilter(" astid = 'RC10' and apsassessor = '"+screen.getUProfile().get("employeeid")+"'");
	screen.process();
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="myHR">
	<head>

		<title>Employee View</title>

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

	</head>
	<body>
		<div class="bg-com"></div>
		<jsp:include page="EMV_HEADMENU.jsp" flush="true" />

		<script>
			setLang("<%=screen.getUProfile().get("lang")%>");
			var swap = new swaplang();
            var titlename = swap.swap2String("SW002252");
			setPageTitle(titlename);
			
			function GoSave(){confirmSave();}
			function GoUpdate(){update();}
			function GoDelete(){alert(MyCode[150]);}
			function GoSearch(){search();}
			function addMulti(){
				if(document.cscform.__year.value==""){
					alert(MyCode[0]);
				}else{
					with(document.cscform){
						 window.open(__childMulti.value+".jsp?__cmd=&__gorec=&__ack=add"+
						 "&__RecNo="+__maxrec.value+
						 "&__year="+__year.value+
						"&__headMulti="+__screen.value+"&__companyid="+__companyid.value+"&__employeeid="+__employeeid.value,"Child","left=150,top=20,width=700,height=600,toolbar=no,status=yes,scrollbars=yes,resizable=yes");
					}
				}
			}
			function childMulti(record){
				with(document.cscform){
					window.open(__childMulti.value+".jsp?__cmd=&__gorec="+record+
					 "&__ack=edit&__employeeid="+__employeeid.value+
					 "&__headMulti="+__headMulti.value+
					 "&__companyid="+__companyid.value+
					 "&__educ_index="+record,"Child","left=150,top=20,width=700,height=600,toolbar=no,status=yes,scrollbars=yes,resizable=yes");
				}
			}
			function goForm(apsid,apsassessor,apsassessy){
				with(document.cscform){			
						window.open("APS_EMV704.jsp?apsid="+apsid+"&apsassessor="+apsassessor+
							"&apsassessy="+apsassessy+"&bpage="+__screen.value+"&ass_level=1&isread=0","form","left=150,top=150,width=800,height=800,toolbar=no,status=yes,scrollbars=yes,resizable=yes");
				}
			}
			function goReForm(apsid,apsassessor,apsassessy){
				with(document.cscform){			
						window.open("APS_EMV704.jsp?apsid="+apsid+"&apsassessor="+apsassessor+
							"&apsassessy="+apsassessy+"&bpage="+__screen.value+"&ass_level=1&isread=1","form","left=150,top=150,width=800,height=800,toolbar=no,status=yes,scrollbars=yes,resizable=yes");
				}
			}
		</script>
		
		<section>
			<div class="container csc-content">
				<form name="cscform" class="form-horizontal" method="post" action="APS_EMV006.jsp">
					<%=screen.InitialVariable()%>
					<script>getInputFormatDate();</script>
					<input type="hidden"name="__screen"  value="APS_EMV006">
					<input type="hidden" name="__fixCon" value="">
					<input type="hidden" name="__help" value="">
					<input type="hidden" name="__cmd"  value="">
					<input type="hidden" name="__gorec"  value="">
					<input type="hidden" name="__calendar">
					<input type="hidden" name="__language" value="<%=screen.getUProfile().get("lang")%>">
					<input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>">
					<input type="hidden" name="__companyid"  value="<%=screen.getUProfile().get("companyid")%>">
				
					<div class="table-responsive">	
						<table class="table table-head table-hover table-bordered table-title-left">
							<thead>
								<tr>
									<th class="table-title" colspan="6" swlang code='SW002252'>Interview Appraisal</th>
								</tr>
								<tr>
									<th swlang code='SW007745'>Name Surname</th>
									<th swlang code='SW000134'>Job Description</th>
									<th swlang code='SW000057'>Position</th>
									<th swlang code='SW012171'>Eng language</th>
									<th swlang code='SW012172'>Spatial</th>
									<th swlang code='SW012131'>Interview Results</th>
								</tr>
							</thead>
							<tbody>
								<%
									ReportUDF reutil = new ReportUDF();
									for(int i=1;screen.nextRec();i++){ 				
								%>
								<tr>
									<td><a href="javascript:go<%=screen.getString("apsstatus").equals("A")?"Re":""%>Form('<%=screen.getString("apsid")%>','<%=screen.getString("apsassessor")%>','<%=screen.getString("apsassessy")%>');"><%=screen.getString("mapplicant","fname")+" "+screen.getString("mapplicant","lname")%></a></td>
									<td><%=screen.getString("mjobcode","tdesc")%></td>
									<td><%=screen.getString("mposition","tdesc")%></td>
									<td><%=screen.getString("mcandidatere","score")%></td>
									<td><%=screen.getString("mcandidatere","comments").split(",")[0]%></td>
									<td><%=reutil.getSystemCode("APSGRADE4",screen.getUProfile().get("lang"),screen.getString("apsgrade"))%></td>
								</tr>
								<%
									}
								%>
							</tbody>
						</table>
					</div>
					<%=screen.endJSP()%>
				</form>
			</div>
			<a href="#top" id="top-button">
				<i class="fa fa-angle-up"></i>
				<div class="top-word">Back to top</div>
			</a>
		</section>
		<jsp:include page="FOOTER.jsp" flush="true" />
	</body>
</html>