Ver Fonte

调整挂号接口返回数据校验方法

hurugang há 3 anos atrás
pai
commit
3bbd57a3db

+ 26 - 1
src/main/java/cn/hnthyy/thmz/controller/CommonController.java

@@ -101,7 +101,7 @@ public class CommonController {
 
 
     /**
-     * 查询所有可以使用的门诊挂号时间区间
+     * 查询所有门诊挂号时间区间
      *
      * @return
      */
@@ -124,6 +124,31 @@ public class CommonController {
     }
 
 
+
+    /**
+     * 查询所有可以使用的门诊挂号时间区间(没过时间段)
+     *
+     * @return
+     */
+    @UserLoginToken
+    @RequestMapping(value = "/getMzWorkTimeCanUsed", method = {RequestMethod.GET})
+    public Map<String, Object> getMzWorkTimeCanUsed() {
+        Map<String, Object> resultMap = new HashMap<>();
+        try {
+            resultMap.put("code", 0);
+            resultMap.put("message", "查询门诊挂号时间区间成功");
+            resultMap.put("data", mzZdWorkTimeService.queryAllMzZdWorkTimeCanUsed());
+            return resultMap;
+        } catch (Exception e) {
+            e.printStackTrace();
+            log.error("查询门诊挂号时间区间失败,错误信息{}", e);
+            resultMap.put("code", -1);
+            resultMap.put("message", "查询门诊挂号时间区间失败");
+            return resultMap;
+        }
+    }
+
+
     /**
      * 查询所有院区列表
      *

+ 32 - 40
src/main/java/cn/hnthyy/thmz/controller/api/MedicalViewApiController.java

@@ -1601,26 +1601,7 @@ public class MedicalViewApiController {
                 results.put("resultMessage", "科室编码不能为空");
                 return results;
             }
-            List<String> ampms = null;
-            SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
-            String now = simpleDateFormat.format(new Date());
-            if (requestDay.equals(now)) {
-                int flg = DateUtil.IsAfternoon(java.util.Calendar.getInstance().getTime().getHours());
-                if (flg >= 0) {
-                    ampms = Arrays.asList(Constants.AM);
-                }
-                MzZdWorkTime mzZdWorkTime = mzZdWorkTimeService.queryMzZdWorkTimeByCode(Constants.PM);
-                simpleDateFormat = new SimpleDateFormat("HH:mm");
-                Date dateEndTime = simpleDateFormat.parse(mzZdWorkTime.getEndTime());
-                long tsEndTime = dateEndTime.getTime();
-                String realNowStr = simpleDateFormat.format(new Date());
-                Date realHour = simpleDateFormat.parse(realNowStr);
-                long realHourTs = realHour.getTime();
-                if (realHourTs > tsEndTime) {
-                    ampms = new ArrayList<>(ampms);
-                    ampms.add(Constants.PM);
-                }
-            }
+            List<String> ampms = getNotUsedWorkTimes(requestDay);
             Date requestDayD = DateUtil.pase(requestDay, "yyyy-MM-dd");
             Date toDay = DateUtil.pase(new Date(), "yyyy-MM-dd");
             if (requestDayD.before(toDay)) {
@@ -1726,26 +1707,7 @@ public class MedicalViewApiController {
                 results.put("resultMessage", "医生编码不能为空");
                 return results;
             }
-            List<String> ampms = null;
-            SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
-            String now = simpleDateFormat.format(new Date());
-            if (requestDay.equals(now)) {
-                int flg = DateUtil.IsAfternoon(java.util.Calendar.getInstance().getTime().getHours());
-                if (flg >= 0) {
-                    ampms = Arrays.asList(Constants.AM);
-                }
-                MzZdWorkTime mzZdWorkTime = mzZdWorkTimeService.queryMzZdWorkTimeByCode(Constants.PM);
-                simpleDateFormat = new SimpleDateFormat("HH:mm");
-                Date dateEndTime = simpleDateFormat.parse(mzZdWorkTime.getEndTime());
-                long tsEndTime = dateEndTime.getTime();
-                String realNowStr = simpleDateFormat.format(new Date());
-                Date realHour = simpleDateFormat.parse(realNowStr);
-                long realHourTs = realHour.getTime();
-                if (realHourTs > tsEndTime) {
-                    ampms = new ArrayList<>(ampms);
-                    ampms.add(Constants.PM);
-                }
-            }
+            List<String> ampms = getNotUsedWorkTimes(requestDay);
             Date requestDayD = DateUtil.pase(requestDay, "yyyy-MM-dd");
             if (requestDayD == null) {
                 results.put("resultCode", -1);
@@ -1828,6 +1790,36 @@ public class MedicalViewApiController {
         }
     }
 
+    /**
+     * 获取不能使用的时间区间
+      * @param requestDay
+     * @return
+     */
+    private List<String> getNotUsedWorkTimes(String requestDay){
+        List<String> ampms = null;
+        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
+        String now = simpleDateFormat.format(new Date());
+        if (requestDay.equals(now)) {
+            int flg = DateUtil.IsAfternoon(java.util.Calendar.getInstance().getTime().getHours());
+            if (flg >= 0) {
+                ampms=new ArrayList<>();
+                ampms.add(Constants.AM);
+            }
+            List<MzZdWorkTime> mzZdWorkTimes = mzZdWorkTimeService.queryAllMzZdWorkTimeBeforeNow();
+            if (mzZdWorkTimes!=null && mzZdWorkTimes.size()>0) {
+                for(MzZdWorkTime mzZdWorkTime:mzZdWorkTimes){
+                    if(mzZdWorkTime==null || mzZdWorkTime.getCode()==null || StringUtils.isBlank(mzZdWorkTime.getCode())){
+                       continue;
+                    }
+                    if(ampms==null){
+                        ampms=new ArrayList<>();
+                    }
+                    ampms.add(mzZdWorkTime.getCode());
+                }
+            }
+        }
+        return ampms;
+    }
 
     /**
      * 根据排班主键和生日查询挂号费用  (费用确认低于7岁儿童增加挂号费 上调50%)

+ 16 - 0
src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzZdWorkTimeMapper.java

@@ -22,4 +22,20 @@ public interface MzZdWorkTimeMapper {
     @Select("select rtrim(code) code,rtrim(name) name,rtrim(start_time) start_time,rtrim(end_time) end_time,del_flag from mz_zd_work_time WITH(NOLOCK) where code =#{code} and del_flag =0 order by code")
     MzZdWorkTime selectMzZdWorkTimeByCode(@Param("code")String code);
 
+
+    /**
+     * 查询所有在可以挂号的的时间区间 (没超过时间的)
+     * @return
+     */
+    @Select("select rtrim(code) code,rtrim(name) name,rtrim(start_time) start_time,rtrim(end_time) end_time,del_flag from mz_zd_work_time WITH(NOLOCK) where del_flag =0 and end_time>=CONVERT(varchar(100), GETDATE(), 24) order by code")
+    List<MzZdWorkTime> selectAllMzZdWorkTimeCanUsed();
+
+
+    /**
+     * 查询所有已经超过当前时间的号段
+     * @return
+     */
+    @Select("select rtrim(code) code,rtrim(name) name,rtrim(start_time) start_time,rtrim(end_time) end_time,del_flag from mz_zd_work_time WITH(NOLOCK) where del_flag =0 and end_time<CONVERT(varchar(100), GETDATE(), 24) order by code")
+    List<MzZdWorkTime> selectAllMzZdWorkTimeBeforeNow();
+
 }

+ 14 - 0
src/main/java/cn/hnthyy/thmz/service/his/mz/MzZdWorkTimeService.java

@@ -17,4 +17,18 @@ public interface MzZdWorkTimeService {
      * @return
      */
     MzZdWorkTime queryMzZdWorkTimeByCode(String code);
+
+
+    /**
+     * 查询所有在可以挂号的的时间区间 (没超过时间的)
+     * @return
+     */
+    List<MzZdWorkTime> queryAllMzZdWorkTimeCanUsed();
+
+
+    /**
+     * 查询所有已经超过当前时间的号段
+     * @return
+     */
+    List<MzZdWorkTime> queryAllMzZdWorkTimeBeforeNow();
 }

+ 10 - 0
src/main/java/cn/hnthyy/thmz/service/impl/his/mz/MzZdWorkTimeServiceImpl.java

@@ -21,4 +21,14 @@ public class MzZdWorkTimeServiceImpl implements MzZdWorkTimeService {
     public MzZdWorkTime queryMzZdWorkTimeByCode(String code) {
         return mzZdWorkTimeMapper.selectMzZdWorkTimeByCode(code);
     }
+
+    @Override
+    public List<MzZdWorkTime> queryAllMzZdWorkTimeCanUsed() {
+        return mzZdWorkTimeMapper.selectAllMzZdWorkTimeCanUsed();
+    }
+
+    @Override
+    public List<MzZdWorkTime> queryAllMzZdWorkTimeBeforeNow() {
+        return mzZdWorkTimeMapper.selectAllMzZdWorkTimeBeforeNow();
+    }
 }

+ 1 - 33
src/main/resources/static/js/mz/registration.js

@@ -553,7 +553,7 @@ function initMzWorkTime() {
     });
     $.ajax({
         type: "GET",
-        url: '/thmz/getMzWorkTime',
+        url: '/thmz/getMzWorkTimeCanUsed',
         dataType: "json",
         headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
         success: function (res) {
@@ -1608,38 +1608,6 @@ function clearParams() {
 }
 
 
-/**
- * 保存退号信息
- */
-function saveBackNo() {
-    $.ajax({
-        type: "POST",
-        url: '/thmz/updateReqrec',
-        contentType: "application/json;charset=UTF-8",
-        dataType: "json",
-        data: JSON.stringify({
-            "patientId": $("#backNoPatientId").val(),
-            "times": $("#backNoTimes").val(),
-            "cancelMark": 1
-        }),
-        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
-        success: function (res) {
-            if (res == '401' || res == 401) {
-                window.location.href = '/thmz/login/view'
-                return;
-            }
-            if (res.code == 0) {
-                successMesage(res);
-                loadTableCount();
-                loadRegistrationList(true);
-                $("#backNoModal").modal("hide");
-            } else {
-                errorMesage(res);
-            }
-        }
-    });
-}
-
 /**
  * 医保电子凭证读卡
  */

+ 1 - 332
src/main/resources/static/js/mz/registration_list.js

@@ -127,19 +127,12 @@ $(function () {
     userNameChange();
     //数据校验
     init_validator();
-    //时间区间
-    initMzWorkTime();
+
     //初始门诊收银方式下拉选
     initChequeType("payType");
     //初始修改收费方式 收银方式下拉选
     initChequeType("payTypeEditPayMode");
 
-    /**
-     * 清空
-     */
-    $("#clearRegistration").on("click", function (t) {
-        clearRegistration();
-    });
     /**
      * 增加收款方式按钮事件
      */
@@ -152,46 +145,6 @@ $(function () {
         payTypeIndex = payTypeIndex + 1;
         $("#payTypeIndex").val(payTypeIndex);
     });
-    // //当ic卡号输入框失去光标后,重置光标到卡号输入框
-    // $("#cardNo").blur(function () {
-    //     var focus = !($("#userName").is(":focus") || $("#age").is(":focus") || $("#birthDay").is(":focus") || $("#phoneNum").is(":focus") || $("#idCard").is(":focus") || $("#address").is(":focus"));
-    //     if (focus && $("#cardNo").val() == null || $("#cardNo").val() == "") {
-    //         //默认光标在卡号输入框
-    //         $("#cardNo").focus();
-    //     }
-    // });
-
-
-    // /**
-    //  * 设置窗口号
-    //  */
-    // $("#editWindows").on("click", function (t) {
-    //     $.ajax({
-    //         type: "GET",
-    //         url: '/thmz/getLastWindowsByCurrentUser',
-    //         contentType: "application/json;charset=UTF-8",
-    //         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;
-    //             }
-    //             if (res.code == 0) {
-    //                 $("#windowsNum").val(res.data.windowsNo)
-    //             } else {
-    //                 new PNotify({
-    //                     title: '错误提示',
-    //                     text: res.message,
-    //                     type: 'error',
-    //                     hide: true,
-    //                     styling: 'bootstrap3'
-    //                 });
-    //             }
-    //         }
-    //     });
-    //     $("#editWindowsModal").modal();
-    // });
 
 
     /**
@@ -249,10 +202,6 @@ $(function () {
     loadTableCount();
     loadRegistrationList(true);
 
-    // $("#editPrint").on("click", function (t) {
-    //     CreatePrinterList();
-    //     $("#editPrintModal").modal();
-    // });
 
     //初始化页面上面的按钮事件
     $("#btn_excel").click(function (t) {
@@ -261,20 +210,6 @@ $(function () {
 });
 
 
-// function CreatePageList() {
-//     LODOP = getLodop();
-//     LODOP.PRINT_INITA(6, 0, "92mm", "120mm", "泰和门诊发票打印");
-//     //获取纸张大小数,用于进行遍历
-//     var strPageSizeList = LODOP.GET_PAGESIZES_LIST($('#printSelect').val(), "\n");
-//     var html = "";
-//     var arr = strPageSizeList.split("\n");
-//     for (var i = 0; i < arr.length; i++) {
-//         html += "<option value='" + arr[i] + "'>" + arr[i] + "</option>";
-//     }
-//     $('#pageSelect').html(html);
-//     $('#pageSelect').selectpicker('refresh');
-// }
-
 
 /**
  * 初始化性别下拉选
@@ -363,156 +298,8 @@ function initDeptPlus() {
 }
 
 
-/**
- * 初始医生下拉选
- * @param ampm 时间段区间
- */
-function initEmployee() {
-    //医生列表
-    $.ajax({
-        type: "GET",
-        url: '/thmz/getDoctorCodeByRequestDay?unitCode=' + $('#deptNo').val() + "&ampm=" + $("#ampm").val() + "&chargeType=" + $("#chargeType").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 = '';
-            var defaultCode = null;
-            $.each(res.data, function (commentIndex, comment) {
-                html += '<option value="' + comment.employee.employeeCode + '" data-chargeType="' + comment.chargeType + '"  data-checkFee="' + comment.checkFee + '" data-mzyRequestId="' + comment.mzyRequestId + '">' + comment.employee.employeeName + '</option>';
-                if (res.data.length == 1) {
-                    //如果只有一个号别,默认选中
-                    defaultCode = comment.employee.employeeCode;
-                }
-            });
-            $('#doctor').empty();
-            $('#doctor').html(html);
-            $('#doctor').selectpicker('refresh');
-            validator.checkAll($("#regi_form"));
-            if (defaultCode != null) {
-                //如果有无需选择医生的选项,默认选择
-                $('#doctor').selectpicker('val', defaultCode);
-                $('#doctor').selectpicker('refresh');
-                fitFee();
-            }
-        }
-    });
-}
 
 
-/**
- * 初始门诊时间区间下拉选
- */
-function initMzWorkTime() {
-    $.ajax({
-        type: "GET",
-        url: '/thmz/getMzWorkTime',
-        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 = '';
-            var ampm = null;
-            $.each(res.data, function (commentIndex, comment) {
-                html += '<option value="' + comment.code + '">' + comment.name + '</option>';
-                if (ampm == null || (ampm != "a" && ampm != "p")) {
-                    var startTime = paseToFullTime(comment.startTime);
-                    var endTime = paseToFullTime(comment.endTime);
-                    if (range(startTime, endTime)) {
-                        ampm = comment.code;
-                    }
-                }
-            });
-            $('#ampm').empty();   //清空resText里面的所有内容
-            $('#ampm').html(html);
-            $('#ampm').selectpicker('refresh');
-            $("#ampm").selectpicker('val', ampm);
-            $('#ampm').selectpicker('refresh');
-            initDeptPlus();
-        }
-    });
-}
-
-
-/**
- * 初始门诊号别下拉选
- */
-function initChargeType() {
-    $.ajax({
-        type: "GET",
-        url: '/thmz/getChargeTypeByRequestDay?unitCode=' + $('#deptNo').val() + "&ampm=" + $("#ampm").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 = '';
-            var defaultCode = null;
-            $.each(res.data, function (commentIndex, comment) {
-                if (res.data.length == 1) {
-                    //如果只有一个号别,默认选中
-                    defaultCode = comment.code;
-                }
-                html += '<option value="' + comment.code + '">' + comment.name + '</option>';
-            });
-            $('#chargeType').empty();   //清空resText里面的所有内容
-            $('#chargeType').html(html);
-            $('#chargeType').selectpicker('refresh');
-            if (defaultCode != null) {
-                //如果有默认选项,默认选择
-                $('#chargeType').selectpicker('val', defaultCode);
-                $('#chargeType').selectpicker('refresh');
-                initEmployee();
-            }
-            validator.checkAll($("#regi_form"));
-            emptyInput();
-        }
-    });
-}
-
-
-/**
- * 设置挂号费等费用
- */
-function fitFee() {
-    var chargeType = $('#doctor').find("option:selected").attr('data-chargeType');
-    var checkFee = $('#doctor').find("option:selected").attr('data-checkFee');
-    $("#checkFee").val(checkFee);
-    $("#amountMoney").text(checkFee);
-    $("#amountMoneyConfirm").text(checkFee);
-    $("#realMoney").val(checkFee);
-    $("#cash").val(checkFee);
-    $("#changeAmount").val(0);
-    $.ajax({
-        type: "GET",
-        url: '/thmz/getMzChargeTypeByCode?code=' + chargeType,
-        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;
-            }
-            $("#registrationFee").val(res.data.reqFee);
-            $("#hospitalFee").val(res.data.clinicFee);
-            checkFee = parseFloat(checkFee) + parseFloat(res.data.reqFee) + parseFloat(res.data.clinicFee);
-            $("#amountMoney").text(checkFee);
-            $("#amountMoneyConfirm").text(checkFee);
-            $("#realMoney").val(checkFee);
-            $("#cash").val(checkFee);
-            validator.checkAll($("#regi_form"));
-        }
-    });
-}
-
 
 /**
  * 初始门诊收银方式下拉选
@@ -1183,47 +970,6 @@ function setPrint() {
 }
 
 
-/**
- * 保存病人信息
- */
-function savePatient() {
-    $.ajax({
-        type: "POST",
-        url: '/thmz/savePatient',
-        contentType: "application/json;charset=UTF-8",
-        dataType: "json",
-        data: JSON.stringify({
-            "name": $("#userName").val(),
-            "age": $("#age").val(),
-            "sex": $("#gender").val(),
-            "birthDay": $("#birthDay").val(),
-            "icCardNo": $("#cardNo").val(),
-            "phoneNo": $("#phoneNum").val(),
-            "responseType": $("#patientsNature").val(),
-            "socialNo": $("#idCard").val(),
-            "address": $("#address").val()
-        }),
-        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
-        success: function (res) {
-            if (res == '401' || res == 401) {
-                window.location.href = '/thmz/login/view'
-                return;
-            }
-            if (res.code == 0) {
-                $("#patientId").val(res.data.patientId);
-                saveMzyReqrec();
-            } else {
-                new PNotify({
-                    title: '错误提示',
-                    text: res.message,
-                    type: 'error',
-                    hide: true,
-                    styling: 'bootstrap3'
-                });
-            }
-        }
-    });
-}
 
 
 /**
@@ -1272,57 +1018,6 @@ function modifyPatient() {
 }
 
 
-/**
- * 保存挂号信息
- */
-function saveMzyReqrec() {
-    var mzyRequestId = $('#doctor').find("option:selected").attr('data-mzyRequestId');
-    var patientId = $("#patientId").val();
-    $.ajax({
-        type: "POST",
-        url: '/thmz/saveMzyReqrec',
-        contentType: "application/json;charset=UTF-8",
-        dataType: "json",
-        data: JSON.stringify({
-            "mzyReqrec": {
-                "patientId": patientId,
-                "ampm": $("#ampm").val(),
-                "unitCode": $("#deptNo").val(),
-                "chargeType": $("#chargeType").val(),
-                "paymode": $("#payType").val()
-            }, "responceType": $("#patientsNature").val(), "mzyRequestId": mzyRequestId
-        }),
-        headers: {'Accept': 'application/json', 'Authorization': 'Bearer ' + localStorage.getItem("token")},
-        success: function (res) {
-            if (res == '401' || res == 401) {
-                window.location.href = '/thmz/login/view'
-                return;
-            }
-            if (res.code == 0) {
-                new PNotify({
-                    title: '操作提示',
-                    text: res.message,
-                    type: 'success',
-                    hide: true,
-                    styling: 'bootstrap3'
-                });
-                $('#confirmFeeModal').modal('hide');
-                prn1Print(patientId, -1);
-                loadTableCount();
-                loadRegistrationList(true);
-                clearRegistration();
-            } else {
-                new PNotify({
-                    title: '错误提示',
-                    text: res.message,
-                    type: 'error',
-                    hide: true,
-                    styling: 'bootstrap3'
-                });
-            }
-        }
-    });
-}
 
 /**
  * 挂号列表中的科室和医生列表初始化
@@ -2128,32 +1823,6 @@ function saveBackNo() {
 }
 
 
-/**
- * 清空挂号信息
- */
-function clearRegistration() {
-    $("#cardNo").val(null);
-    $("#cardNo").attr("title", null);
-    $("#userName").val(null);
-    $("#age").val(null);
-    $("#gender").selectpicker('val', 1);
-    $("#gender").selectpicker('refresh');
-    $("#birthDay").val(null);
-    $("#birthDay").attr("title", null);
-    $("#phoneNum").val(null);
-    $("#phoneNum").attr("title", null);
-    $("#patientsNature").selectpicker('val', '01');//默认选中
-    $('#patientsNature').selectpicker('refresh');
-    $("#idCard").val(null);
-    $("#idCard").attr("title", null);
-    $("#address").val(null);
-    $("#patientId").val(null);
-    $("#editUser").hide();
-    //默认光标在卡号输入框
-    $("#cardNo").focus();
-    initMzWorkTime();
-    readonlyOrNot(false);
-}
 
 
 /**

+ 0 - 77
src/main/resources/templates/mz/registration.html

@@ -759,83 +759,6 @@
 <!--修改用户信息弹窗结尾-->
 
 
-<!--挂号管理【退号】弹窗开始-->
-<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true" id="backNoModal">
-    <div class="modal-dialog modal-lg">
-        <div class="modal-content" style="width: 780px;">
-            <div class="modal-header">
-                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
-                </button>
-                <h4 class="modal-title modal-title-thmz" >挂号管理【退号】</h4>
-            </div>
-            <div class="modal-body">
-                <form class="form-horizontal form-label-left" novalidate>
-                    <div class="item form-group">
-                        <div class="col-md-6 col-sm-6 col-xs-12">
-                            <button type="button" style="cursor: default;margin-bottom: 10px !important;"
-                                    class="btn btn-primary">
-                                基本信息
-                            </button>
-                        </div>
-                    </div>
-
-                    <div class="item form-group"
-                         style="margin-left: 10px;border: 1px solid #ddd;padding-top: 20px;padding-bottom: 20px;">
-                        <div class="col-md-12 col-sm-12 col-xs-12">
-                            <div class="col-md-2 col-sm-2 col-xs-12">
-                                患者:<span id="backNoSickName" style="color: #2e69eb;"></span>
-                                <input type="hidden" id="backNoPatientId"/>
-                                <input type="hidden" id="backNoTimes"/>
-                            </div>
-                            <div class="col-md-3 col-sm-3 col-xs-12">
-                                付款方式:<span id="backNoPayType"></span>
-                            </div>
-                            <div class="col-md-3 col-sm-3 col-xs-12">
-                                号段:<span id="backNoAmpm"></span>
-                            </div>
-                            <div class="col-md-4 col-sm-4 col-xs-12">
-                                手机号:<span id="backNoPhone"></span>
-                            </div>
-                        </div>
-                        <div class="col-md-12 col-sm-12 col-xs-12" style="margin-top: 10px;">
-                            <div class="col-md-2 col-sm-2 col-xs-12">
-                                科室:<span id="backNoDeptName"></span>
-                            </div>
-                            <div class="col-md-3 col-sm-3 col-xs-12">
-                                号别:<span id="backNoChargeType"></span>
-                            </div>
-                            <div class="col-md-3 col-sm-3 col-xs-12">
-                                医生:<span id="backNoDoctorName"></span>
-                            </div>
-                            <div class="col-md-4 col-sm-4 col-xs-12">
-                                挂号时间:<span id="backNoRegiDate"></span>
-                            </div>
-                        </div>
-                    </div>
-                    <div class="item form-group">
-                        <div class="col-md-6 col-sm-6 col-xs-12">
-                            <button type="button" style="cursor: default;margin-top: 10px !important;"
-                                    class="btn btn-primary">
-                                收费信息
-                            </button>
-                        </div>
-                    </div>
-                    <div class="item form-group">
-                        <table id="tb_fee_info"></table>
-                    </div>
-                </form>
-            </div>
-            <div class="modal-footer">
-                <!--<div style="float: left;margin-left: 10px;">-->
-                <!--<input type="checkbox"/>&nbsp;&nbsp;打印-->
-                <!--</div>-->
-                <button type="button" class="btn btn-primary" id="saveBackNo" onclick="saveBackNo();">保存</button>
-                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
-            </div>
-        </div>
-    </div>
-</div>
-<!--挂号管理【退号】弹窗结尾-->
 
 
 <!--打印弹窗开始-->