<!DOCTYPE html> <%@page import="com.csc.library.utilities.*,com.csc.library.session.*"%> <%@page contentType="text/html; charset=UTF-8" language="java" %> <% request.setCharacterEncoding("UTF-8"); %> <% UProfile up = null; if(session != null ) { up = (UProfile)session.getAttribute("userprofile"); } if( up == null ){ return; } %> <html ng-app="myHR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="../CSS/TISCO.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="../CSS/Bootstrap/css/bootstrap.css"> <script type='text/javascript' src='../JS/SCREEN.js'></script> <script TYPE='text/JavaScript' src="../JS/jquery-2.1.3.min.js"></script> <script type='text/javascript' src="../JS/angular-1.3.15/angular.js"></script> <script type='text/javaScript' src='../JS/ANGULAR/SWAPLANG.js'></script> <style> .branchlist{ width:80%; } iframe{ width:100%; height:800px; } .btn-primary{ float:right !important; margin-right:10px; } </style> <script type="text/javascript"> setLang("<%=up.get("lang")%>"); function goExport(){ with(document.cscform){ var param = "COBRANCHLIST_PRE_EXPORT.jsp?"; win = window.open(param,"Extention","left=150,top=150,width=800,height=400,resizable=yes,scrollbars=yes,toolbar=no,status=yes"); if(window.focus){win.focus();} } } </script> </head> <body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('IMAGES/BUTTON/SWAP/SEARCH_SWAP24.gif','IMAGES/BUTTON/SWAP/EXIT_SWAP24.gif','IMAGES/BUTTON/SWAP/HELP_SWAP24.gif','IMAGES/BUTTON/SWAP/NEW_SWAP24.gif','IMAGES/BUTTON/SWAP/EDIT_SWAP24.gif','IMAGES/BUTTON/SWAP/DEL_SWAP24.gif','IMAGES/BUTTON/SWAP/PROCESS_SWAP24.gif','IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif')"> <div id="toolTipLayer" style="position:absolute; visibility: hidden"></div> <script language="javascript">initToolTips();</script> <div class="centered"> <form name="cscform" method="post"> <input type="hidden" name="__cmd" value=""> <input type="hidden" name="__screen" value="NEWS_SETUP"> <input type="hidden" name="__calendar" value=""> <input type="hidden" name="__help" value=""> <br> <table class="branchlist"> <tr> <td class="header" colspan="2" >COBRANCHLIST ,<script language="javascript">swapLang('Company Structure');</script> </td> </tr> <tr> <td colspan="2"> <a class="btn btn-primary" onclick="goExport();" swlang code="SW003556">Export</a> </td> </tr> <tr> <td> <iframe src="ALLBRANCHLIST.jsp" id="AllBranchList"> </iframe> </td> <td> <iframe id="AllEmpList"> </iframe> </td> </tr> </table> </form> </div> <script type="text/javascript"> $(document).ready(function(){ var nowbranch=""; $("#AllBranchList").load(function(){ $("#AllBranchList").contents().find(".branch-root").click(function(){ nowbranch = $(this).data("branch"); }); $("#AllBranchList").contents().find(".tree-nochild").click(function(){ var positionid="",bu1="",bu2="",bu3="",bu4="",bu5=""; positionid = $(this).data("positid"); bu1 = $(this).data("bu1"); bu2 = $(this).data("bu2"); bu3 = $(this).data("bu3"); bu4 = $(this).data("bu4"); bu5 = $(this).data("bu5"); nowbranch = $(this).data("branching"); $("#AllEmpList").attr("src","ALLEMPLIST.jsp?branch="+nowbranch+"&positid="+positionid+"&bu1="+bu1+"&bu2="+bu2+"&bu3="+bu3+"&bu4="+bu4+"&bu5="+bu5); }); }); }); </script> </body> </html>