<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="vacateview.aspx.cs" Inherits="LawOA.Web.lawoa.vacateview" %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
  <title>律师事务所管理系统</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="images/bootstrap.min.css">
  <link rel="stylesheet" href="images/font-awesome.min.css">
  <link rel="stylesheet" href="images/ionicons.min.css">
  <link rel="stylesheet" href="images/AdminLTE.css">
  <link rel="stylesheet" href="images/skin-blue.min.css">
  <link rel="stylesheet" href="images/blue.css">
  <link rel="stylesheet" href="images/daterangepicker.css">
  <link rel="stylesheet" href="images/bootstrap-datepicker.min.css">
  <link rel="stylesheet" href="images/all.css">
  <link rel="stylesheet" href="images/bootstrap-colorpicker.min.css">
  <link rel="stylesheet" href="images/bootstrap-timepicker.min.css">
  <link rel="stylesheet" href="images/all.css">
  <link rel="stylesheet" href="images/select2.min.css">
    <link rel="stylesheet" href="images/_all-skins.min.css">
  <script src="images/jquery.min.js"></script>
  <script src="images/bootstrap.min.js"></script>
</head>
<body>
<!-- 弹出内容s -->
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">查看请假申请详情</h4>
</div>
<div class="modal-body">

<!-- 内容s -->
<div class="box"><!-- /.box-header -->
            <div class="box-body">
<div class="table-responsive">
                <table class="table">
                  <tbody>
                    <tr>
                      <td style="width:140px;"><strong>申请人</strong> ：</td>
                      <td><%= pageInfo.lawyername %></td>
                    </tr>
                    <tr>
                      <td><strong>请假类型</strong> ：</td>
                      <td><%= pageInfo.vcate %></td>
                    </tr>
                    <tr>
                      <td><strong>请假时间</strong>：</td>
                      <td><%= pageInfo.startdate.ToString("yyyy/MM/dd") + (pageInfo.startapm=="am"?"上午":"下午") + "-" + pageInfo.enddate.ToString("yyyy/MM/dd") + (pageInfo.endapm=="am"?"上午":"下午") %></td>
                    </tr>
                    <tr>
                      <td><strong>请假天数</strong> ：</td>
                      <td><%= pageInfo.daynums %></td>
                    </tr>
                    <tr>
                      <td><strong>请假类型</strong> ：</td>
                      <td><%= pageInfo.vcate %></td>
                    </tr>
                    <tr>
                      <td><strong>请假原因</strong> ：</td>
                      <td><%= pageInfo.reason %></td>
                    </tr>
                    <tr>
                      <td><strong>申请时间</strong>：</td>
                      <td><%= pageInfo.pubdate.ToString() %></td>
                    </tr>
                    <tr>
                      <td><strong>审批情况</strong>：</td>
                      <td><%= GetApprovedStatus(pageInfo.approved) %><%= pageInfo.approved==2? "("+pageInfo.approvecomment+")":"" %></td>
                    </tr>
                    <tr>
                      <td><strong>审批人</strong>：</td>
                      <td><%= pageInfo.approved == 0 ? "" : GetLawyerName(pageInfo.approverid) %></td>
                    </tr>
                    <tr>
                      <td><strong>审批时间</strong>：</td>
                      <td><%= pageInfo.approved == 0 ?  "" : pageInfo.approvedtime.ToString()  %></td>
                    </tr>             
                  </tbody>
                </table>
</div>
              <!-- /.table-responsive -->
            </div>
            <!-- /.box-body -->
            <!-- /.box-footer -->
        </div>
<div class="box-body">
<p style="text-align:center">
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-close"></i> 关闭窗口</button>
</p>
</div>

</div>

<!-- 弹出内容e -->
<script src="images/adminlte.min.js"></script>
<script src="images/demo.js"></script>
</body>
</html>

