OI_JOBDESC.jsp 4.76 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
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%>
<%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*"  %>
<%@ include file="../CHECKPROFILE.jsp" %>
<% request.setCharacterEncoding("UTF-8"); %>
<jsp:useBean id="EMV" class="com.csc.library.system.Task" scope="page" />
<%
	EMV.setChannel(request, response);
	HelpEntry screen = (HelpEntry) EMV.process("HelpEntry", "OI_JOBDESCHELP"); 
	if(screen==null){
		return;
	}
	
	CheckNull chk = new CheckNull(); 
	screen.getInquiry().setFilter("jobcodeid='"+chk.chkNullString(request.getParameter("__jobcodeid"))+"'");
	screen.getInquiry().refresh();	
	screen.nextRec();
	screen.referLangOn();
	
	
%>
<!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" />
		
		<link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/font-awesome.css">
		<link rel="stylesheet" type="text/css" href="../CSS/Bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="../CSS/EMPVIEW_LAYOUT.min.css" />

		<script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script>
		<script type="text/javascript" src="../JS/EVENTS.js"></script>
		<script type="text/javascript" src="../JS/SCREEN.js"></script>
		<script type="text/javascript" src="../JS/angular-1.3.15/angular.js"></script>
		<script type="text/javascript" src="../JS/ANGULAR/SCREEN_ANGULAR.js"></script>
		
		<script language="JavaScript" type="text/javascript">
			setLang("<%=screen.getUProfile().get("lang")%>");
			document.title=swap2String("Duty and Responsibility Detail");

		</script>

	</head>
	<body>
		<div class="bg-com"></div>
		<section>
			<div class="container csc-content">
				<form name="cscform" class="form-horizontal" method="post" action="?">
					<%=screen.InitialVariable()%>
					<input type="hidden"name="__screen"  value="EMV025">
					<input type="hidden" name="__fixCon" value="">
					<input type="hidden" name="__help" value="">
					<input type="hidden" name="__cmd"  value="">
					<input type="hidden" name="__calendar">
					<input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>">
					<input type="hidden" name="__companyid" value="<%=screen.getUProfile().get("companyid")%>">
					
					<div class="csc-block-white">
						<div class="center">
							<h4 swlang code='SW001785'>Duty and Responsibility Detail</h4>
						</div>
					
						<div class="container csc-content">
							<table class="table table-head table-hover table-bordered table-left">
								<tr>
									<th swlang code="SW011736">Job Title</th>
									<td><%=chk.chkNullString(screen.getDataLabel("tdesc"), "-")%></td>
									<th><%=screen.getLabel("mposition","tdesc")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("mposition","tdesc"), "-")%></td>
								</tr>
								
								<tr>
									<th><%=screen.getLabel("responsibility")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("responsibility"), "-")%></td>
									<th><%=screen.getLabel("job_duties")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("job_duties"), "-")%></td>
								</tr>
								
								<tr>
									<th><%=screen.getLabel("sex")%></th>
									<td><%=chk.chkNullString(screen.getInquiry().getCurrentDbRecord().getSystemCode("sex"), "-")%></td>
									<th><%=screen.getLabel("mdegree","tdesc")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("mdegree","tdesc"), "-")%></td>
								</tr>
								
								<tr>
									<th><%=screen.getLabel("AGE0")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("AGE0"),"-")+"-"+chk.chkNullString(screen.getDataLabel("AGE1"),"-")%></td>
									<th><%=screen.getLabel("mmajor","tdesc")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("mmajor","tdesc"), "-")%></td>
								</tr>
								
								<tr>
									<th><%=screen.getLabel("experience")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("experience"), "-")%></td>
									<th><%=screen.getLabel("knowledge")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("knowledge"), "-")%></td>
								</tr>
								  
								<tr>
									<th><%=screen.getLabel("skill")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("skill"), "-")%></td>
									<th><%=screen.getLabel("characters")%></th>
									<td><%=chk.chkNullString(screen.getDataLabel("characters"), "-")%></td>
								</tr>
							</table>
						
							<div class="center">
								<a href="javascript:close();" class="btn btn-primary" swlang code="SW012104">Close</a>
							</div>
						</div>
					</div>
				</form>
			</div>
		</section>
	</body>
</html>