<!--{include file="<!--{$oapath}-->public/ins_page.tpl"}-->

<block name="content">
	<div class="page-header clearfix">
	<h1 class="col-sm-8">日志查询</h1>
	<!--<div class="col-sm-4 search_box">
		<form name="form_search" id="form_search" method="post" class="pull-right">
			<div class="input-group col-20">
				<input class="form-control" type="text" name="keyword" id="keyword">
				<div class="input-group-btn">
					<a class="btn btn-sm btn-info" onclick="submit_search();"><i class="fa fa-search"></i></a>
					<a class="btn btn-sm btn-success" onclick="toggle_adv_search();"><i id="toggle_adv_search_icon" class="fa fa-chevron-down bigger-125"></i></a>
				</div>
			</div>
		</form>
	</div>-->
</div>
	<!--<form method="post" name="form_adv_search" id="form_adv_search">
		<div class="adv_search panel panel-default  hidden"  id="adv_search">
			<div class="panel-heading">
				<div class="row">
					<h4 class="col-xs-6">高级搜索</h4>
					<div class="col-xs-6 text-right">
						<a  class="btn btn-sm btn-info" onclick="submit_adv_search();">搜索</a>
						<a  class="btn btn-sm " onclick="close_adv_search();">关闭</a>
					</div>
				</div>
			</div>
			<div class="panel-body">
				<eq name="auth.admin" value="true">
					<div class="form-group col-sm-6">
						<label class="col-sm-4 control-label" for="eq_dept_id">部门：</label>
						<div class="col-sm-8">
							<select class="form-control" name="eq_dept_id">
								<option value="">选择部门</option>
								{$dept_list}
							</select>
						</div>
					</div>
					<div class="form-group col-sm-6">
						<label class="col-sm-4 control-label" for="eq_user_id">登录人：</label>
						<div class="col-sm-8">
							<select class="form-control" name="eq_user_id" >
								<option value="">选择人员</option>
								{:fill_option($emp_list)};
							</select>
						</div>
					</div>
				</eq>
				<div class="form-group col-sm-6">
					<label class="col-sm-4 control-label" for="content">内容：</label>
					<div class="col-sm-8">
						<input  class="form-control" type="text" id="content" name="content" >
					</div>
				</div>
				<div class="form-group col-sm-6">
					<label class="col-sm-4 control-label" for="be_create_time">登录时间：</label>
					<div class="col-sm-8">
						<div class="input-daterange input-group" >
							<input type="text" class="input-sm form-control text-center" name="be_create_time" readonly="readonly"/>
							<span class="input-group-addon">-</span>
							<input type="text" class="input-sm form-control text-center" name="en_create_time" readonly="readonly"/>
						</div>
					</div>
				</div>
			</div>
		</div>
	</form>-->
	<div class="operate panel panel-default">
		<div class="panel-body">
			<div class="pull-right">
				<a class="btn btn-sm btn-primary" onclick="add()">新建</a>
			</div>
		</div>
	</div>
	<!--{if empty($list)}-->
		<div class="ul_table">
			<ul class="">
				<li class="no-data">
					没找到数据
				</li>
			</ul>
			<!--{else}-->
			<!--{foreach $list as  $key=>$vo}-->
				<div class="work_log_box">
					<div class="work_log_head clearfix">
						<div class="col-sm-3  col-xs-6">
							<nobr>
								姓名：<!--{$vo.user_name}-->
							</nobr>
						</div>
						<div class="col-sm-3  col-xs-6">
							<nobr >
								部门：<!--{$vo.dept_name}-->
							</nobr>
						</div>
						<div class="col-sm-6 col-xs-12">
							<nobr>
								时间：<!--{$vo.start_date}-->
							</nobr>
							<nobr class="pull-right">
                                                                    <!--{if $vo.status=='1'}-->
                                                                            已审核
                                                                    <!--{elseif $vo.status=='2'}-->
                                                                    审核失败
                                                                    <!--{else}-->
                                                                   <a href="oa.php?c=Work&a=add&id=<!--{$vo.id}-->">修改</a>
                                                                    <!--{/if}-->
									
								
							</nobr>
						</div>
					</div>
					<div class="content_box col-sm-6 col-xs-12">
						<div class="title text-center row">
							工作内容
						</div>
						<div class="content">
							<!--{$vo.content}-->
						</div>
					</div>
					<div class="plan_box col-sm-6 col-xs-12">
						<div class="title text-center row">
							工作计划
						</div>
						<div class="content">
							<!--{$vo.plan}-->
						</div>
					</div>
				</div>
				
				<div class="space-12"></div>
			 <!--{/foreach}-->
			<div class="pagination">
				<!--{$showpage}-->
			</div>
		</div>
	<!--{/if}-->
</block>

					
				</div>
			</div>
		</div>
		<!--<iframe src="{:U('push/client')}" class="push" id="push"></iframe>-->
		<!-- Mainly scripts -->
		<script src="<!--{$oapath}-->Ins/js/jquery-2.1.1.js"></script>
		<script src="<!--{$oapath}-->Ins/js/bootstrap.min.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<!-- Custom and plugin javascript -->
		<script src="<!--{$oapath}-->Ins/js/inspinia.js"></script>
		<script src="<!--{$oapath}-->Ins/js/common.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/pace/pace.min.js"></script>
                
		<script src="<!--{$oapath}-->Ins/js/plugins/toastr/toastr.min.js"></script>
                <script src="<!--{$oapath}-->Ins/js/plugins/gritter/jquery.gritter.min.js"></script>
                <script src="<!--{$oapath}-->Ins/js/plugins/bootbox/bootbox.min.js"></script>
		<include file="Layout:ins_plugin_js"/>
<block name="js">
	<script type="text/javascript">
		function add() {
			window.open("oa.php?c=Work&a=add", "_self");
		}


		$(document).ready(function() {
			set_return_url();
		});

	</script>
</block>
	</body>
</html>
