APS_LIST.jsp 4.18 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
<%@page import="com.csc.library.entry.*, com.csc.library.databean.*, com.csc.library.session.*,com.csc.library.utilities.*,com.csc.library.system.*"%>
<jsp:useBean id="CKLC" class="com.csc.library.system.Task" scope="page" />
<%
	CKLC.setChannel(request,response);
	EmvHelpEntry screen = (EmvHelpEntry)CKLC.process("EmvHelpEntry","MEMPLOYEEHELP");
	screen.process();
%>
<style>
	.table{
		table-layout: inherit !important;
	}
	.green-link{
		color: #4CAF50 !important;
	}
	.blue-link{
		color: #1a1aff !important;
	}
</style>
<section ng-controller="APSList">
	<div class="container container-98 csc-content">
		<table class="table table-bordered">
			<thead>
				<tr>
					<th class="bold-center bluehead" swlang code='SW001393'>No.</th>
					<th class="bold-center bluehead" swlang code='SW000019'>Status</th>
					<th class="bold-center bluehead" swlang code='SW000602'>Employeeid</th>
					<th class="bold-center bluehead" swlang code='SW001984'>Fullname</th>
					<th class="bold-center bluehead" swlang code='SW000780'>Job Title</th>
					<th class="bold-center bluehead"><%=screen.getLabel("bu2")%></th>
					<th class="bold-center bluehead" swlang code='SW000230'>Service Year</th>
				</tr>
			</thead>
			<tbody>
				<!-- <tr ng-repeat = "rowemp in employeedata">
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> <input type="hidden" class="a-click" value="{{rowemp.employeeid}}"> {{ $index+1 }} </a></td>
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> {{ rowemp.apsstatedesc }} </a></td>
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> {{ rowemp.fullname }} </a></td>
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> {{ rowemp.bu1 }} </a></td>
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> {{ rowemp.bu2 }} </a></td>
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> {{ rowemp.empworkages }} </a></td>
					<td class="center"><a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)"> {{ rowemp.empages_short }} </a></td>
				</tr> -->
				<tr ng-repeat = "rowemp in employeedata">
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'"> 
							{{ $index+1 }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ $index+1 }}</span>
					</td>
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'">
							{{ rowemp.apsstatedesc }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ rowemp.apsstatedesc }}</span>
					</td>
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'">
							{{ rowemp.employeeid }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ rowemp.employeeid }}</span>
					</td>
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'">
							{{ rowemp.fullname }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ rowemp.fullname }}</span>
					</td>
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'">
							{{ rowemp.jobname }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ rowemp.jobname }}</span>
					</td>
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'">
							{{ rowemp.bu2 }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ rowemp.bu2 }}</span>
					</td>
					<td class="center">
						<a ng-click="redirectLink(rowemp.apsassessy,rowemp.apsassessor,rowemp.apsid)" ng-if="rowemp.eventtype=='click'">
							{{ rowemp.empworkages }}
						</a>
						<span ng-if="rowemp.eventtype!='click'">{{ rowemp.empworkages }}</span>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</section>