<!-- include 'header' -->
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include 'menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<ul>
						<!-- include 'holiday_menu' -->
					</ul>
				</div>
			</div>
			<div class="adminContent autoHeight" style="height: 821px;">
				<div class="saea-borad">
					<div class="borad-menu">
						<!--<a href="javascript:;" class="holiday" style="cursor: no-drop" disabled>请假申请</a>-->
					</div>
					<div class="borad-news">
						<div class="saeaList">
							<div class="clearfix">
								<table class="table table-bordered table-condensed">
									<tbody>
									<tr><th class="taC" colspan="6">{{countmonth}}</th></tr>
									<tr><th class="taC" width="120">事假</th><td>{{holidaycount.0}} 天</td><th class="taC" width="120">加班</th><td>{{holidaycount.3}}  天</td><th class="taC" width="120">年假（可用）</th><td>{{holidaycount.5}}  天</td></tr>
									<tr><th class="taC">病假</th><td>{{holidaycount.1}}  天</td><th class="taC">值班</th><td>{{holidaycount.4}}  天</td><th class="taC">存假（可用）</th><td>{{holidaycount.6}}  天</td></tr>
									<tr><th class="taC">旷工</th><td>{{holidaycount.2}}  天</td><th class="taC"> </th><td> </td><th class="taC"> </th><td> </td></tr>
									</tbody>
								</table>
							</div>
							<div class="clearfix">
								<legend><!-- if isset({{holidaylist}}) --><div class="fR"><a href="/holidayallList">查看更多</a></div><!-- endif -->最近请假</legend>
								<!-- if isset({{holidaylist}}) -->
								<table class="table table-bordered table-condensed">
									<tbody>
									<tr><th class="taC">类型</th><th class="taC">申请日期</th><th class="taC" width="90">合计天数</th><th class="taC">状态</th><th class="taC">审批时间</th></tr>
									<!-- loop holidaylist -->
									<tr>
										<td>{{holidaylist' value.typename}}</td>
										<td>{{holidaylist' value.daymsg}}</td>
										<td>{{holidaylist' value.daynum}}</td>
										<!-- if {{holidaylist' value.status}} == 1 --><td class="colGreen">审批通过</td><!-- elseif {{holidaylist' value.status}} == 2 --><td class="colRed">审批不通过</td><!-- elseif {{holidaylist' value.status}} == 3 --><td>管理员操作</td><!-- else --><td>未审批</td><!-- endif -->
										<td>{{holidaylist' value.approvetime}}</td>
									</tr>
									<!-- endloop -->
									</tbody>
								</table>
								<!-- else -->
								<blockquote><p class="colGray">暂时没有请假申请 </p></blockquote>
								<!-- endif -->
							</div>
							<!-- if {{youcantseeme}} == 0 -->
							<div class="clearfix">
								<legend><div class="fR"><a href="/holidayattendance">查看更多</a></div>公司今日考勤（{{today}}）</legend>
								<table class="table table-bordered table-condensed">
									<tbody>
									<tr><th class="taC" width="100">办事处</th><th class="taC">缺勤员工</th></tr>
									<tr>
										<th>总部</th>
										<td>
										<!-- if !empty({{headquarters}}) -->
											<!-- loop headquarters -->
											<span data-placement="bottom" data-toggle="ctooltip" data-original-title="{{headquarters' value.type}}、{{headquarters' value.day}}天">{{headquarters' value.staff}}</span>&nbsp;&nbsp;
											<!-- endloop -->
										<!-- else -->
											无
										<!-- endif -->
										</td>
									</tr>
									<tr>
										<th>办事处</th>
										<td>
											<!-- if !empty({{branch}}) -->
											<!-- loop branch -->
											<span data-placement="bottom" data-toggle="ctooltip" data-original-title="{{branch' value.type}}、{{branch' value.day}}天">{{branch' value.staff}}</span>&nbsp;&nbsp;
											<!-- endloop -->
											<!-- else -->
											无
											<!-- endif -->
										</td>
									</tr>
									</tbody>
								</table>
								<table class="table table-bordered table-condensed">
									<tbody>
									<tr><th class="taC" width="100">办事处</th><th class="taC">在岗员工</th></tr>
									<tr><th>总部</th><td>{{onlineheadquarters}}</td></tr>
									<tr><th>办事处</th>
										<td>
											<!-- if !empty({{onlinebranch}}) -->
											<!-- loop onlinebranch -->
											<p>{{onlinebranch' value.title}}：{{onlinebranch' value.online}}</p>
											<!-- endloop -->
											<!-- endif -->
										</td>
									</tr>
									</tbody>
								</table>
							</div>
							<!-- endif -->
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

<script type="text/javascript">autoFlashHeight();</script>
</body>
