Просмотр исходного кода

门诊挂号分类报表开发

hurugang 5 лет назад
Родитель
Сommit
225207759d

+ 81 - 0
src/main/java/cn/hnthyy/thmz/controller/MzyReqrecController.java

@@ -14,6 +14,7 @@ import cn.hnthyy.thmz.service.his.*;
 import cn.hnthyy.thmz.pageDto.MzyReqrecPageDto;
 import cn.hnthyy.thmz.vo.MzyReqrecVo;
 import cn.hnthyy.thmz.vo.PageViewVo;
+import cn.hnthyy.thmz.vo.ThmzmxsrParamsVo;
 import com.auth0.jwt.interfaces.DecodedJWT;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
@@ -638,4 +639,84 @@ public class MzyReqrecController {
         }
     }
 
+
+
+    /**
+     * 门诊号别统计表
+     *
+     * @return
+     */
+    @UserLoginToken
+    @RequestMapping(value = "/getMzhbCount", method = {RequestMethod.POST})
+    public Map<String, Object> getMzhbCount(@RequestBody ThmzmxsrParamsVo thmzmxsrParamsVo) {
+        Map<String, Object> resultMap = new HashMap<>();
+        try {
+            if (thmzmxsrParamsVo == null) {
+                resultMap.put("code", -1);
+                resultMap.put("message", "门诊号别统计表失败,参数为空");
+                return resultMap;
+            }
+            if (thmzmxsrParamsVo.getBeginDate() == null) {
+                resultMap.put("code", -1);
+                resultMap.put("message", "门诊号别统计表失败,开始时间为空");
+                return resultMap;
+            }
+            if (thmzmxsrParamsVo.getEndDate() == null) {
+                resultMap.put("code", -1);
+                resultMap.put("message", "门诊号别统计表失败,结束时间为空");
+                return resultMap;
+            }
+            if (StringUtils.isBlank(thmzmxsrParamsVo.getCaseType())) {
+                thmzmxsrParamsVo.setCaseType(YesNoEnum.NO.code.toString());
+            }
+            if (StringUtils.isBlank(thmzmxsrParamsVo.getJzSqDept())) {
+                thmzmxsrParamsVo.setJzSqDept(null);
+            }
+            if (StringUtils.isBlank(thmzmxsrParamsVo.getJzSqDoctor())) {
+                thmzmxsrParamsVo.setJzSqDoctor(null);
+            }
+            resultMap.put("code", 0);
+            resultMap.put("message", "门诊号别统计表成功");
+            List<Map<String, Object>> mzhbCounts = mzyReqrecService.queryMzhbCount(thmzmxsrParamsVo);
+
+            if(mzhbCounts==null || mzhbCounts.size()==0){
+                resultMap.put("code", -1);
+                resultMap.put("message", "没有查询到符合条件的门诊挂号统计信息");
+                return resultMap;
+            }
+            Set<String> chargeTypeSet = new HashSet<>();
+            Set<String> depetSet = new HashSet<>();
+            List<Map<String, String>> chargeTypeList = new ArrayList<>();
+            List<Map<String, String>> depetList = new ArrayList<>();
+            for(Map<String, Object> map:mzhbCounts){
+                String chargeType=(String) map.get("charge_type");
+                if(!chargeTypeSet.contains(chargeType)){
+                    Map<String, String> chargeTemp = new HashMap<>();
+                    chargeTemp.put("charge_type_name",(String) map.get("charge_type_name"));
+                    chargeTemp.put("charge_type",chargeType);
+                    chargeTypeList.add(chargeTemp);
+                    chargeTypeSet.add(chargeType);
+                }
+                String unitCode=(String) map.get("unit_code");
+                if(!depetSet.contains(unitCode)){
+                    Map<String, String> deptTemp = new HashMap<>();
+                    deptTemp.put("dept_name",(String) map.get("dept_name"));
+                    deptTemp.put("unit_code",unitCode);
+                    depetList.add(deptTemp);
+                    depetSet.add(unitCode);
+                }
+            }
+            resultMap.put("depetList", depetList);
+            resultMap.put("chargeTypeList", chargeTypeList);
+            resultMap.put("data", mzhbCounts);
+            return resultMap;
+        } catch (Exception e) {
+            e.printStackTrace();
+            log.error("门诊号别统计表失败,错误信息{}", e.getMessage());
+            resultMap.put("code", -1);
+            resultMap.put("message", "门诊号别统计表失败");
+            return resultMap;
+        }
+    }
+
 }

+ 11 - 0
src/main/java/cn/hnthyy/thmz/controller/NavigationController.java

@@ -146,4 +146,15 @@ public class NavigationController {
     public String mzsrmx() {
         return "mzsrmx";
     }
+
+
+    /**
+     * 门诊号别统计
+     * @return
+     */
+    @RequestMapping("/mzhbtj")
+    public String mzhbtj() {
+        return "mzhbtj";
+    }
+
 }

+ 42 - 0
src/main/java/cn/hnthyy/thmz/mapper/his/MzyReqrecMapper.java

@@ -2,12 +2,14 @@ package cn.hnthyy.thmz.mapper.his;
 
 import cn.hnthyy.thmz.entity.his.MzyReqrec;
 import cn.hnthyy.thmz.pageDto.MzyReqrecPageDto;
+import cn.hnthyy.thmz.vo.ThmzmxsrParamsVo;
 import org.apache.ibatis.annotations.Insert;
 import org.apache.ibatis.annotations.Param;
 import org.apache.ibatis.annotations.Select;
 import org.apache.ibatis.annotations.Update;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * 门诊挂号记录
@@ -187,8 +189,48 @@ public interface MzyReqrecMapper {
 
     /**
      * 老系统的退号数据清洗 临时用法
+     *
      * @return
      */
     @Update("update  mzy_reqrec set cancel_mark =1 where serial_no in  (select serial_no from mzy_reqrec where serial_no in(select -serial_no from  mzy_reqrec where cancel_mark =1 and times <0 ) and cancel_mark =0)")
     int updateCanCelMark();
+
+    /**
+     * 门诊号别统计表
+     * @param thmzmxsrParamsVo
+     * @return
+     */
+    @Select({"<script>" +
+            "   SELECT dept_name=mz_unit_code.name, " +
+            "         mz_unit_code.d_code,  " +
+            " mzy_reqrec.unit_code," +
+            " mzy_reqrec.charge_type,"       +
+            "         charge_type_name=mzy_zd_charge_type.name,  " +
+            "         mzy_zd_charge_type.code," +
+            "         patient_count=count((case mzy_reqrec.cancel_mark when '1' then null else mzy_reqrec.patient_id end)) - " +
+            "                       count((case mzy_reqrec.cancel_mark when '1' then 0 else null end)), " +
+            "         req_fee=sum(mzy_reqrec.req_fee + mzy_reqrec.clinic_fee + mzy_reqrec.oth_fee + isnull(bl_fee,0) + isnull(ck_fee,0))" +
+            "    FROM zd_unit_code mz_unit_code,   " +
+            "         ${firstTableName} mzy_reqrec,   " +
+            "         mzy_zd_charge_type  " +
+            "   WHERE ( mz_unit_code.code = mzy_reqrec.unit_code ) and  " +
+            "         ( mzy_reqrec.charge_type *= mzy_zd_charge_type.code ) and " +
+            "         (case when 1=#{caseType}  then mzy_reqrec.op_day else mzy_reqrec.closing_date end) <![CDATA[>=]]>#{beginDate,jdbcType=TIMESTAMP} and " +
+            "         (case when 1=#{caseType}  then mzy_reqrec.op_day else mzy_reqrec.closing_date end) <![CDATA[<=]]>#{endDate,jdbcType=TIMESTAMP}  " +
+            "<when test='jzSqDept!=null'>" +
+            " and mzy_reqrec.unit_code =#{jzSqDept}" +
+            "</when>" +
+            "<when test='jzSqDoctor!=null'>" +
+            " and mzy_reqrec.doctor_code =#{jzSqDoctor}" +
+            "</when>" +
+            "group by mz_unit_code.name," +
+            " mz_unit_code.d_code," +
+            "         mzy_zd_charge_type.name," +
+            "         mzy_zd_charge_type.code," +
+            " mzy_reqrec.unit_code," +
+            " mzy_reqrec.charge_type  "
+            , "</script>"})
+    List<Map<String, Object>> selectMzhbCount(ThmzmxsrParamsVo thmzmxsrParamsVo);
+
+
 }

+ 10 - 0
src/main/java/cn/hnthyy/thmz/service/his/MzyReqrecService.java

@@ -4,8 +4,10 @@ import cn.hnthyy.thmz.entity.MzException;
 import cn.hnthyy.thmz.entity.his.MzyReqrec;
 import cn.hnthyy.thmz.entity.thmz.User;
 import cn.hnthyy.thmz.pageDto.MzyReqrecPageDto;
+import cn.hnthyy.thmz.vo.ThmzmxsrParamsVo;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * 门诊挂号记录
@@ -67,4 +69,12 @@ public interface MzyReqrecService {
      * @return
      */
     int printMzyReqrecRecept(MzyReqrec mzyReqrec) throws MzException;
+
+
+    /**
+     * 门诊好别统计表
+     * @param thmzmxsrParamsVo
+     * @return
+     */
+    List<Map<String, Object>> queryMzhbCount(ThmzmxsrParamsVo thmzmxsrParamsVo);
 }

+ 12 - 0
src/main/java/cn/hnthyy/thmz/service/impl/his/MzyReqrecServiceImpl.java

@@ -17,6 +17,7 @@ import cn.hnthyy.thmz.service.his.MzfzConfigService;
 import cn.hnthyy.thmz.service.his.MzyReqrecService;
 import cn.hnthyy.thmz.service.his.MzyRequestService;
 import cn.hnthyy.thmz.pageDto.MzyReqrecPageDto;
+import cn.hnthyy.thmz.vo.ThmzmxsrParamsVo;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
@@ -27,6 +28,7 @@ import org.springframework.transaction.annotation.Transactional;
 import java.math.BigDecimal;
 import java.util.Date;
 import java.util.List;
+import java.util.Map;
 
 @Service
 public class MzyReqrecServiceImpl implements MzyReqrecService {
@@ -267,4 +269,14 @@ public class MzyReqrecServiceImpl implements MzyReqrecService {
         receipt.setUpdateDate(new Date());
         return receiptMapper.updateReceipt(receipt);
     }
+
+    @Override
+    public List<Map<String, Object>> queryMzhbCount(ThmzmxsrParamsVo thmzmxsrParamsVo) {
+        if(YesNoEnum.YES.equals(thmzmxsrParamsVo.getHisData())){
+            thmzmxsrParamsVo.setFirstTableName("mzy_reqrec_b");
+        }else {
+            thmzmxsrParamsVo.setFirstTableName("mzy_reqrec");
+        }
+        return mzyReqrecMapper.selectMzhbCount(thmzmxsrParamsVo);
+    }
 }

+ 273 - 0
src/main/resources/static/js/mzhbtj.js

@@ -0,0 +1,273 @@
+//@ sourceURL=mzsrmx.js
+$(function () {
+    init_daterangepicker();
+    //daterangepicker(getAllOperator);
+      initMzsrmxTable();
+    //重置查询参数
+    $('#btn_clean').click(function () {
+        cleanParams();
+    });
+    //初始化页面上面的按钮事件
+    $("#btn_query").click(function (t) {
+        initMzsrmxTable();
+    });
+
+    $(".selectpicker").selectpicker({
+        dropuAuto: false
+    });
+
+    //初始化页面上面的按钮事件
+    $("#btn_excel").click(function (t) {
+        exportExcel();
+    });
+    initSelect();
+});
+
+
+
+/**
+ * 初始化下拉选
+ */
+function initSelect() {
+    $(".selectpicker").selectpicker({
+        dropuAuto: false
+    });
+    initDeptSelect();
+    initDoctorSelect();
+    var type = '<option value="0">结算</option><option value="1">收费</option>';
+    $('#timeParam').html(type);
+    $('#timeParam').selectpicker('refresh');
+    $("#timeParam").selectpicker('val', 0);//默认选中
+    $("#timeParam").selectpicker('refresh');
+}
+
+
+
+
+/**
+ * 父类码下拉选
+ */
+function initBillItemSelect() {
+    //科室列表
+    $.ajax({
+        type: "GET",
+        url: '/thmz/getAllBillItems',
+        dataType: "json",
+        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
+        success: function (data) {
+            if (data == '401' || data == 401) {
+                window.location.href = '/thmz/login/view'
+                return;
+            }
+            var html = '';
+            $.each(data.data, function (commentIndex, comment) {
+                html += '<option value="' + comment.code + '">' + comment.name + '</option>';
+            });
+            $('#parentCode').html(html);
+            $('#parentCode').selectpicker('refresh');
+        }
+    });
+}
+
+/**
+ * 核算码下拉选
+ */
+function initHsmNameSelect() {
+    //科室列表
+    $.ajax({
+        type: "GET",
+        url: '/thmz/getAllHsmName',
+        dataType: "json",
+        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
+        success: function (data) {
+            if (data == '401' || data == 401) {
+                window.location.href = '/thmz/login/view'
+                return;
+            }
+            var html = '';
+            $.each(data.data, function (commentIndex, comment) {
+                html += '<option value="' + comment + '">' + comment + '</option>';
+            });
+            $('#hsm').html(html);
+            $('#hsm').selectpicker('refresh');
+        }
+    });
+}
+
+/**
+ * 挂号列表中的科室列表
+ */
+function initDeptSelect() {
+    //科室列表
+    $.ajax({
+        type: "GET",
+        url: '/thmz/allMzUnitCode',
+        dataType: "json",
+        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
+        success: function (data) {
+            if (data == '401' || data == 401) {
+                window.location.href = '/thmz/login/view'
+                return;
+            }
+            var html = '';
+            $.each(data.data, function (commentIndex, comment) {
+                html += '<option value="' + comment.code + '">' + comment.name + '(' + comment.pyCode + ')</option>';
+            });
+            $('#jzSqDept').empty();
+            $('#jzSqDept').html(html);
+            $('#jzSqDept').selectpicker('refresh');
+        }
+    });
+}
+
+
+/**
+ * 挂号列表中的医生列表初始化
+ */
+function initDoctorSelect() {
+    //医生列表
+    $.ajax({
+        type: "GET",
+        url: '/thmz/listEmployeeByDepts?depts=' + $('#jzSqDept').val(),
+        dataType: "json",
+        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
+        success: function (res) {
+            if (res == '401' || res == 401) {
+                window.location.href = '/thmz/login/view'
+                return;
+            }
+            var html = '';
+            $.each(res.data, function (commentIndex, comment) {
+                html += '<option value="' + comment.employeeCode + '">' + comment.employeeName + '</option>';
+            });
+            $('#jzSqDoctor').empty();
+            $('#jzSqDoctor').html(html);
+            $('#jzSqDoctor').selectpicker('destroy').selectpicker('refresh');
+        }
+    });
+}
+
+
+/**
+ * 门诊号别统计
+ */
+function initMzsrmxTable() {
+    var rePortRangeArr = getRePortRangeArr();
+    $.ajax({
+        type: "POST",
+        url: '/thmz/getMzhbCount',
+        contentType: "application/json;charset=UTF-8",
+        dataType: "json",
+        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
+        data: JSON.stringify({"beginDate": rePortRangeArr[0], "endDate": rePortRangeArr[1], "caseType":  $('#timeParam').val(), "jzSqDept":  $("#jzSqDept").val(), "jzSqDoctor":  $("#jzSqDoctor").val(),"hisData": $('#hisData').is(':checked') ? 0 : 1}),
+        success: function (res) {
+            if (res == '401' || res == 401) {
+                window.location.href = '/thmz/login/view'
+                return;
+            }
+            if(res.code==0){
+                if(res.depetList!=null && res.depetList.length>0 && res.chargeTypeList!=null && res.chargeTypeList.length>0){
+                    var html ="<thead><tr><th rowspan='2'>科室</th>";
+                    var secondRow='<tr>';
+                    for (var i=0;i<res.chargeTypeList.length;i++){
+                        html+="<th colspan='2'>"+res.chargeTypeList[i].charge_type_name+"</th>";
+                        secondRow+="<th>号数</th><th>金额</th>"
+                    }
+                    html+="<th colspan='2'>合计</th></tr>"
+                    secondRow+="<th>号数</th><th>金额</th></tr></thead>"
+                    html+=secondRow;
+                    html+="<tbody>";
+                    for (var i=0;i<res.depetList.length;i++){
+                        html+="<tr><td>"+res.depetList[i].dept_name+"</td>";
+                        for (var j=0;j<res.chargeTypeList.length;j++){
+                            var id_after = res.chargeTypeList[j].charge_type+"_"+res.depetList[i].unit_code;
+                            var hsid= "hs_"+id_after;
+                            var jeid= "je_"+id_after;
+                            html+="<td id='"+hsid+"'></td><td id='"+jeid+"'></td>";
+                        }
+                        var hjhsid= "hs_hj_"+res.depetList[i].unit_code;
+                        var hjjeid= "je_hj_"+res.depetList[i].unit_code;
+                        html+="<td id='"+hjhsid+"'></td><td id='"+hjjeid+"'></td>";
+                        html+="</tr>";
+                    }
+                    html+="</tbody>";
+                    $("#tb_table").html(html);
+
+                    for(var i=0;i<res.data.length;i++){
+                        
+                    }
+                }
+            }
+        }
+    });
+}
+
+/**
+ * 构建列表查询参数
+ * @param params
+ * @returns {{mzChargeDetail: {patientId: string | number | string[] | undefined | jQuery, warnDept: string | number | string[] | undefined | jQuery, doctorCode: string | number | string[] | undefined | jQuery, name: string | number | string[] | undefined | jQuery, payMark: number}, beginTime: Date, endTime: Date, pageSize: *, pageIndex: number}}
+ */
+function queryParams(params) {
+    var rePortRangeArr = getRePortRangeArr();
+    var temp = {
+        beginDate: rePortRangeArr[0],
+        endDate: rePortRangeArr[1],
+        commonParams: $('#commonParams').val(),
+        caseType: $('#timeParam').val(),
+        jzSqDept:$("#jzSqDept").val(),
+        jzSqDoctor:$("#jzSqDoctor").val(),
+        execDept:$("#execDept").val(),
+        hsm:$("#hsm").val(),
+        parentCode:$("#parentCode").val(),
+        xmm:$("#xmm").val()
+    };
+
+    return temp;
+};
+
+
+
+/**
+ * 获取时间选择器的时间数组
+ * @returns {string[]}
+ */
+function getRePortRangeArr() {
+    var rePortRange = $('#reportrange span').html();
+    var rePortRangeArr = rePortRange.split(" - ");
+    rePortRangeArr[0] = rePortRangeArr[0] + " 00:00:00"
+    rePortRangeArr[1] = rePortRangeArr[1] + " 23:59:59"
+    return rePortRangeArr;
+}
+
+
+
+/**
+ * 清空查询条件
+ */
+function cleanParams() {
+    $('#reportrange span').html(moment().format('YYYY-MM-DD') + ' - ' + moment().format('YYYY-MM-DD'));
+    $("#commonParams").val(null);
+    $("#timeParam").selectpicker('val', 0);//默认选中
+    $("#timeParam").selectpicker('refresh');
+    $("#jzSqDept").selectpicker('val', null);//默认选中
+    $("#jzSqDept").selectpicker('refresh');
+    $("#jzSqDoctor").selectpicker('val', null);//默认选中
+    $("#jzSqDoctor").selectpicker('refresh');
+    $("#execDept").selectpicker('val', null);//默认选中
+    $("#execDept").selectpicker('refresh');
+    $("#parentCode").selectpicker('val', null);//默认选中
+    $("#parentCode").selectpicker('refresh');
+    $("#hsm").selectpicker('val', null);//默认选中
+    $("#hsm").selectpicker('refresh');
+    $("#xmm").val(null);
+}
+
+/**
+ * 导出excel
+ */
+function exportExcel() {
+    var rePortRangeArr = getRePortRangeArr();
+    window.location.href = "/thmz/excelThmzmxsr?beginDate=" + rePortRangeArr[0] + "&endDate=" + rePortRangeArr[1]+"&commonParams="+$('#commonParams').val()
+        +"&caseType="+$('#timeParam').val()+"&jzSqDept="+$("#jzSqDept").val()+"&jzSqDoctor="+$("#jzSqDoctor").val()+"&execDept="+$("#execDept").val()+"&hsm="
+        +$("#hsm").val()+"&parentCode="+$("#parentCode").val()+"&xmm="+$("#xmm").val();
+}

+ 1 - 0
src/main/resources/templates/menu.html

@@ -80,6 +80,7 @@
                                     <li><a href="#" onclick="changeContent('/thmz/daily-repeat-print')">重打日结报表</a></li>
                                     <li><a href="#" onclick="changeContent('/thmz/daily-collect')">日结汇总</a></li>
                                     <li><a href="#" onclick="changeContent('/thmz/mzsrmx')">门诊明细收入</a></li>
+                                    <li><a href="#" onclick="changeContent('/thmz/mzhbtj')">门诊号别统计</a></li>
                                 </ul>
                             </li>
                             <li><a><i class="fa fa-medkit"></i> 药品管理 <span class="fa fa-chevron-down"></span></a>

+ 74 - 0
src/main/resources/templates/mzhbtj.html

@@ -0,0 +1,74 @@
+<link rel="stylesheet" href="/thmz/css/bootstrap/css/bootstrap-select.css"/>
+<link rel="stylesheet" href="/thmz/css/bootstrap/css/daterangepicker.css"/>
+<link rel="stylesheet" href="/thmz/css/custom.min.css">
+<link rel="stylesheet" href="/thmz/css/toll_administration.css">
+<script src="/thmz/js/bootstrap-select.js"></script>
+<script src="/thmz/js/daterangepicker.js"></script>
+<script src="/thmz/js/mzhbtj.js"></script>
+<div class="row">
+    <div class="col-md-12 col-sm-12 col-xs-12">
+        <div class="x_panel">
+            <div class="panel-body">
+                <form id="formSearch" class="form-horizontal" autocomplete="off">
+                    <div class="form-group col-md-12 col-sm-12 col-xs-12">
+                        <div class="col-md-1 col-sm-1 col-xs-12">
+                        </div>
+                        <!--<div class="col-md-6 col-sm-6 col-xs-12"></div>-->
+                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="timeParam">时间基准
+                        </label>
+                        <div class="col-md-2 col-sm-2 col-xs-12">
+                            <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
+                                    id="timeParam">
+                            </select>
+                        </div>
+                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="reportrange"> 日结时间
+                        </label>
+                        <div class="col-md-2 col-sm-2 col-xs-12">
+                            <div id="reportrange" class="pull-right"
+                                 style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
+                                <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
+                                <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
+                            </div>
+                        </div>
+                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="jzSqDept">就诊科室
+                        </label>
+                        <div class="col-md-2 col-sm-2 col-xs-12">
+                            <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
+                                    id="jzSqDept" onchange="initDoctorSelect()">
+                            </select>
+                        </div>
+                    </div>
+                    <div class="form-group col-md-12 col-sm-12 col-xs-12">
+
+                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="jzSqDoctor">就诊医生
+                        </label>
+                        <div class="col-md-2 col-sm-2 col-xs-12">
+                            <select class="form-control selectpicker show-tick" data-live-search="true" title="请选择"
+                                    id="jzSqDoctor">
+                            </select>
+                        </div>
+                        <div class="col-md-1 col-sm-1 col-xs-12" style="margin-left: 55px;">
+                            <label>
+                                历史数据 <input id="hisData" type="checkbox"/>
+                            </label>
+                        </div>
+                        <div class="col-md-2 col-sm-2 col-xs-12" style="text-align:left;margin-left: 50px;">
+                            <button type="button"  id="btn_clean" class="btn btn-primary"
+                                    title="重置"><i class="fa fa-rotate-left"></i>
+                            </button>
+                            <button type="button"  id="btn_query" class="btn btn-primary"
+                                    title="查询"><i class="fa fa-search"></i>
+                            </button>
+                            <button type="button"  id="btn_excel" class="btn btn-primary"
+                                    title="导出EXCEL"><i class="fa fa-file-excel-o"></i>
+                            </button>
+                        </div>
+                    </div>
+                </form>
+            </div>
+            <table id="tb_table" class="table table-striped table-bordered bulk_action"></table>
+        </div>
+    </div>
+</div>
+
+