Browse Source

Merge branch 'dev-1.1.2' into dev-1.1.1

hurugang 3 years ago
parent
commit
9676792c30

+ 11 - 6
src/main/java/cn/hnthyy/thmz/controller/mz/MzBlRecordController.java

@@ -67,9 +67,11 @@ public class MzBlRecordController {
             if (mzBlRecord.getEmrProcess() != null) {
                 String zyzl = null;
                 if (mzBlRecord.getEmrProcess().indexOf("中药治疗:") >= 0) {
-                    if (mzBlRecord.getEmrProcess().indexOf("医技与诊疗:") >= 0) {
-                        zyzl = mzBlRecord.getEmrProcess().substring(mzBlRecord.getEmrProcess().indexOf("中药治疗:"), mzBlRecord.getEmrProcess().indexOf("医技与诊疗:"));
-                    } else if (mzBlRecord.getEmrProcess().indexOf("入院处理:") >= 0) {
+                    if (mzBlRecord.getEmrProcess().indexOf("辅助检查、检验:") >= 0) {
+                        zyzl = mzBlRecord.getEmrProcess().substring(mzBlRecord.getEmrProcess().indexOf("中药治疗:"), mzBlRecord.getEmrProcess().indexOf("辅助检查、检验:"));
+                    } else if (mzBlRecord.getEmrProcess().indexOf("诊疗:") >= 0) {
+                        zyzl = mzBlRecord.getEmrProcess().substring(mzBlRecord.getEmrProcess().indexOf("中药治疗:"), mzBlRecord.getEmrProcess().indexOf("诊疗:"));
+                    }else if (mzBlRecord.getEmrProcess().indexOf("入院处理:") >= 0) {
                         zyzl = mzBlRecord.getEmrProcess().substring(mzBlRecord.getEmrProcess().indexOf("中药治疗:"), mzBlRecord.getEmrProcess().indexOf("入院处理:"));
                     } else {
                         zyzl = mzBlRecord.getEmrProcess().substring(mzBlRecord.getEmrProcess().indexOf("中药治疗:"));
@@ -79,15 +81,18 @@ public class MzBlRecordController {
                         zyzl = zyzl.replaceAll("_", " ").replaceAll("中药治疗:", "</br>中药治疗:</br>");
                     }
                 }
-                mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("_", "</br>").replaceAll("西药治疗:", "西药治疗:</br>").replaceAll("医技与诊疗:", "医技与诊疗:</br>").replaceAll("入院处理:", "入院处理:</br>"));
+                mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("_", "</br>").replaceAll("西药治疗:", "西药治疗:</br>").replaceAll("辅助检查、检验:", "辅助检查、检验:</br>").replaceAll("诊疗:", "诊疗:</br>").replaceAll("入院处理:", "入院处理:</br>"));
                 if (zyzl != null) {
                     mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replace("%zwf%", zyzl));
                 }
                 if (mzBlRecord.getEmrProcess().indexOf("中药治疗:") > 0) {
                     mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("中药治疗:", "</br>中药治疗:"));
                 }
-                if (mzBlRecord.getEmrProcess().indexOf("医技与诊疗:") > 0) {
-                    mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("医技与诊疗:", "</br>医技与诊疗:"));
+                if (mzBlRecord.getEmrProcess().indexOf("辅助检查、检验:") > 0) {
+                    mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("辅助检查、检验:", "</br>辅助检查、检验:"));
+                }
+                if (mzBlRecord.getEmrProcess().indexOf("诊疗:") > 0) {
+                    mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("诊疗:", "</br>诊疗:"));
                 }
                 if (mzBlRecord.getEmrProcess().indexOf("入院处理:") > 0) {
                     mzBlRecord.setEmrProcess(mzBlRecord.getEmrProcess().replaceAll("入院处理:", "</br>入院处理:"));

+ 41 - 19
src/main/java/cn/hnthyy/thmz/controller/mz/MzZdYpYshController.java

@@ -6,6 +6,7 @@ import cn.hnthyy.thmz.entity.his.zd.MzZdYpYsh;
 import cn.hnthyy.thmz.entity.his.zd.ZdChargeItem;
 import cn.hnthyy.thmz.service.his.zd.JcJyItemChargeService;
 import cn.hnthyy.thmz.service.his.zd.MzZdYpYshService;
+import cn.hnthyy.thmz.service.his.zd.ZdChargeItemService;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -27,6 +28,8 @@ public class MzZdYpYshController {
     private MzZdYpYshService mzZdYpYshService;
     @Autowired
     private JcJyItemChargeService jcJyItemChargeService;
+    @Autowired
+    private ZdChargeItemService zdChargeItemService;
 
     /**
      * 查询药品成功
@@ -72,9 +75,9 @@ public class MzZdYpYshController {
 
 
     /**
-     * 查询诊疗项目与医技
+     * 查询医技
      *
-     * @param commonParams 药品通用查询参数
+     * @param commonParams 通用查询参数
      * @return
      */
     @UserLoginToken
@@ -82,41 +85,59 @@ public class MzZdYpYshController {
     public Map<String, Object> getJcJyItemByCommonParams(@RequestParam("commonParams") String commonParams) {
         Map<String, Object> resultMap = new HashMap<>();
         try {
-//            if (StringUtils.isBlank(commonParams)) {
-//                resultMap.put("code", 0);
-//                resultMap.put("message", "查询参数为空,未查询到符合条件的诊疗与医技");
-//                resultMap.put("data", Arrays.asList());
-//                return resultMap;
-//            }
             //检查与检验
             List<JyZdItem> jyZdItemList = jcJyItemChargeService.queryJcJyItemByCommonParams(commonParams);
-//            //诊疗
-//            List<JyZdItem> zlList = jcJyItemChargeService.queryZlByCommonParams(commonParams);
-//            if (jyZdItemList == null || jyZdItemList.size() == 0) {
-//                jyZdItemList=zlList;
-//            }else {
-//                jyZdItemList.addAll(zlList);
-//            }
             if (jyZdItemList == null || jyZdItemList.size() == 0) {
                 resultMap.put("code", -1);
-                resultMap.put("message", "未查询到符合条件的诊疗与医技");
+                resultMap.put("message", "未查询到符合条件的医技");
                 return resultMap;
             }
             resultMap.put("code", 0);
             resultMap.put("data", jyZdItemList);
-            resultMap.put("message", "查询诊疗项目与医技成功");
+            resultMap.put("message", "查询医技成功");
             return resultMap;
         } catch (Exception e) {
             e.printStackTrace();
-            log.error("查询诊疗项目与医技失败,错误信息{}", e);
+            log.error("查询医技失败,错误信息{}", e);
             resultMap.put("code", -1);
-            resultMap.put("message", "查询诊疗项目与医技失败");
+            resultMap.put("message", "查询医技失败");
             return resultMap;
         }
     }
 
 
 
+    /**
+     * 查询诊疗项目
+     *
+     * @param commonParams 通用查询参数
+     * @return
+     */
+    @UserLoginToken
+    @RequestMapping(value = "/getZlItemByCommonParams", method = {RequestMethod.GET})
+    public Map<String, Object> getZlItemByCommonParams(@RequestParam("commonParams") String commonParams) {
+        Map<String, Object> resultMap = new HashMap<>();
+        try {
+            List<JyZdItem> jyZdItemList = zdChargeItemService.queryZlItemByCommonParams(commonParams);
+            if (jyZdItemList == null || jyZdItemList.size() == 0) {
+                resultMap.put("code", -1);
+                resultMap.put("message", "未查询到符合条件的诊疗");
+                return resultMap;
+            }
+            resultMap.put("code", 0);
+            resultMap.put("data", jyZdItemList);
+            resultMap.put("message", "查询诊疗项目成功");
+            return resultMap;
+        } catch (Exception e) {
+            e.printStackTrace();
+            log.error("查询诊疗项目失败,错误信息{}", e);
+            resultMap.put("code", -1);
+            resultMap.put("message", "查询诊疗项目失败");
+            return resultMap;
+        }
+    }
+
+
     /**
      * 查询诊疗与医技项目明细
      *
@@ -167,4 +188,5 @@ public class MzZdYpYshController {
             return resultMap;
         }
     }
+
 }

+ 10 - 7
src/main/java/cn/hnthyy/thmz/controller/mz/ZdChargeItemController.java

@@ -512,7 +512,7 @@ public class ZdChargeItemController {
     /**
      *  判断是否加收,根据项目编码或者检查检验项目编码查询对应的收费项目.医剂项目返回第一个加收的
      * @param code
-     * @param jcJyZltype 项目类型 1 检验 2 检查
+     * @param jcJyZltype 项目类型 1 检验 2 检查  3 诊疗
      * @return
      */
     @UserLoginToken
@@ -530,12 +530,15 @@ public class ZdChargeItemController {
             return resultMap;
         }
         try {
-            ZdChargeItem zdChargeItem=zdChargeItemService.queryZdChargeItemByCode(code);
-            if(zdChargeItem!=null){
-                resultMap.put("code", 0);
-                resultMap.put("message", "查询收费项目成功");
-                resultMap.put("data", zdChargeItem);
-                return resultMap;
+            if(jcJyZltype==3){
+                //当前项目是诊疗,直接查询诊疗字典
+                ZdChargeItem zdChargeItem=zdChargeItemService.queryZdChargeItemByCode(code);
+                if(zdChargeItem!=null){
+                    resultMap.put("code", 0);
+                    resultMap.put("message", "查询收费项目成功");
+                    resultMap.put("data", zdChargeItem);
+                    return resultMap;
+                }
             }
             List<ZdChargeItem> zdChargeItemList = jcJyItemChargeService.queryJcJyItemChargeByCode(code,jcJyZltype);
             if (zdChargeItemList == null || zdChargeItemList.size() == 0) {

+ 1 - 1
src/main/java/cn/hnthyy/thmz/service/his/zd/JcJyItemChargeService.java

@@ -28,7 +28,7 @@ public interface JcJyItemChargeService {
 
 
     /**
-     * 查询诊疗项目  检验和检查
+     * 查询检验和检查
      * @param commonParams
      * @return
      */

+ 8 - 0
src/main/java/cn/hnthyy/thmz/service/his/zd/ZdChargeItemService.java

@@ -1,5 +1,6 @@
 package cn.hnthyy.thmz.service.his.zd;
 
+import cn.hnthyy.thmz.entity.his.zd.JyZdItem;
 import cn.hnthyy.thmz.entity.his.zd.ZdChargeItem;
 import cn.hnthyy.thmz.pageDto.ZdChargeItemDto;
 
@@ -83,4 +84,11 @@ public interface ZdChargeItemService {
      * @return
      */
     int cancelEffective(String code,Integer type);
+
+    /**
+     * 查询诊疗项目
+     * @param commonParams
+     * @return
+     */
+    List<JyZdItem> queryZlItemByCommonParams(String commonParams);
 }

+ 25 - 8
src/main/java/cn/hnthyy/thmz/service/impl/his/mz/MzChargeDetailServiceImpl.java

@@ -1187,6 +1187,8 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
         Map<String, Object> prescriptionDetail = new HashMap<>();
         List<Map<String, Object>> zyPrescription = new ArrayList();
         prescriptionDetail.put("zyPrescription", zyPrescription);
+        List<Map<String, Object>> jcjyPrescription = new ArrayList();
+        prescriptionDetail.put("jcjyPrescription", jcjyPrescription);
         List<Map<String, Object>> zlPrescription = new ArrayList();
         prescriptionDetail.put("zlPrescription", zlPrescription);
         Map<String, Object> xyPrescription = new HashMap<>();
@@ -1259,7 +1261,7 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
             amount = amount.add(totalAmount);
             yjMap.put("amount", amount);
             yjMap.put("detail", detail);
-            zlPrescription.add(yjMap);
+            jcjyPrescription.add(yjMap);
         }
         if (mzPrescriptionVo.getMzChargeDetailList() != null && mzPrescriptionVo.getMzChargeDetailList().size() > 0) {
             //麻、精一
@@ -1491,13 +1493,23 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
             sbd.append(map.get("zyfs"));
             getIndex(zyPrescription, sbd, 1);
         }
+        if (jcjyPrescription.size() > 0) {
+            List<String> detail = (List<String>) jcjyPrescription.get(0).get("detail");
+            if (detail != null && detail.size() > 0) {
+                if (sbd.length() > 0) {
+                    sbd.append(" ");
+                }
+                sbd.append("辅助检查、检验:");
+                getIndex(jcjyPrescription, sbd, 0);
+            }
+        }
         if (zlPrescription.size() > 0) {
             List<String> detail = (List<String>) zlPrescription.get(0).get("detail");
             if (detail != null && detail.size() > 0) {
                 if (sbd.length() > 0) {
                     sbd.append(" ");
                 }
-                sbd.append("医技与诊疗:");
+                sbd.append("诊疗:");
                 getIndex(zlPrescription, sbd, 0);
             }
         }
@@ -1807,6 +1819,8 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
         String zyzlContent = null;
         //西药治疗
         String xyzlContent = null;
+        //检查检验
+        String jcjyContent = null;
         //诊疗治疗
         String zlzlContent = null;
         //辅助检查
@@ -1863,11 +1877,11 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
                 if (setEmrProcess) {
                     zlIndex++;
                     String value = zlIndex + "." + mzYjReq.getOrderName() + " " + (mzYjReq.getJyRemark() == null ? "" : mzYjReq.getJyRemark()) + " ";
-                    if (zlzlContent == null) {
-                        zlzlContent = "医技与诊疗:" + value;
+                    if (jcjyContent == null) {
+                        jcjyContent = "辅助检查、检验:" + value;
                         emrFzjc = value;
                     } else {
-                        zlzlContent += "_" + value;
+                        jcjyContent += "_" + value;
                         emrFzjc += "," + value;
                     }
                 }
@@ -2071,11 +2085,11 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
                         zlIndex++;
                         String value = zlIndex + "." + mzChargeDetail.getTcName() + " " + mzChargeDetail.getInstructionText() + " ";
                         if (zlzlContent == null) {
-                            zlzlContent = "医技与诊疗:" + value;
-                            emrFzjc = value;
+                            zlzlContent = "诊疗:" + value;
+                            //emrFzjc = value;
                         } else {
                             zlzlContent += "_" + value;
-                            emrFzjc += "," + value;
+                            //emrFzjc += "," + value;
                         }
                     }
                 }
@@ -2151,6 +2165,9 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
             if (zyzlContent != null) {
                 emrProcess += zyzlContent;
             }
+            if (jcjyContent != null) {
+                emrProcess += jcjyContent;
+            }
             if (zlzlContent != null) {
                 emrProcess += zlzlContent;
             }

+ 0 - 28
src/main/java/cn/hnthyy/thmz/service/impl/his/zd/JcJyItemChargeServiceImpl.java

@@ -81,38 +81,10 @@ public class JcJyItemChargeServiceImpl implements JcJyItemChargeService {
             commonParams = null;
             pageSize = 5;
         }
-//        if (SignUtil.isAlpha(commonParams)) {
-//            commonParams = commonParams.toUpperCase();
-//        }
         if (StringUtils.isNotBlank(commonParams)) {
             commonParams = "%" + commonParams + "%";
         }
         List<JyZdItem> jyZdItemList = jcJyItemChargeMapper.selectJcJyItemByCommonParams(commonParams, pageSize);
-        List<JyZdItem> zlList = zdChargeItemMapper.selectZlByCommonParams(commonParams, pageSize);
-        if (jyZdItemList == null) {
-            jyZdItemList = zlList;
-        } else {
-            Set<String> nameSet = null;
-            if (jyZdItemList != null && jyZdItemList.size() > 0) {
-                //检验科,超声影像科,放射科同名的诊疗不显示
-                nameSet = jyZdItemList.stream().filter(j->Arrays.asList(Constants.MEDICAL_LABORATORY_CODE,Constants.CSYXK_CODE,Constants.FSK_CODE).contains(j.getExecUnit())).collect(Collectors.toMap(JyZdItem::getName, JyZdItem::getName)).keySet();
-            }
-            if(nameSet==null){
-                jyZdItemList.addAll(zlList);
-            }else {
-                for(JyZdItem jyZdItem:zlList){
-                    if(jyZdItem==null || StringUtils.isBlank(jyZdItem.getName())){
-                        continue;
-                    }
-                    //当有诊疗项目与检验检查重名的时候,不显示诊疗
-                    if(!nameSet.contains(jyZdItem.getName())){
-                        jyZdItemList.add(jyZdItem);
-                    }
-                }
-            }
-
-
-        }
         if (jyZdItemList != null && jyZdItemList.size() > 0) {
             jyZdItemList.stream().forEach(j -> {
                 if (StringUtils.isNotBlank(j.getExecUnit())) {

+ 27 - 0
src/main/java/cn/hnthyy/thmz/service/impl/his/zd/ZdChargeItemServiceImpl.java

@@ -1,10 +1,13 @@
 package cn.hnthyy.thmz.service.impl.his.zd;
 
+import cn.hnthyy.thmz.entity.his.zd.JyZdItem;
 import cn.hnthyy.thmz.entity.his.zd.ZdChargeItem;
 import cn.hnthyy.thmz.enums.YesNoEnum;
 import cn.hnthyy.thmz.mapper.his.zd.ZdChargeItemMapper;
 import cn.hnthyy.thmz.pageDto.ZdChargeItemDto;
 import cn.hnthyy.thmz.service.his.zd.ZdChargeItemService;
+import cn.hnthyy.thmz.service.his.zd.ZdUnitCodeService;
+import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
@@ -15,6 +18,8 @@ public class ZdChargeItemServiceImpl implements ZdChargeItemService {
     @SuppressWarnings("all")
     @Autowired
     private ZdChargeItemMapper zdChargeItemMapper;
+    @Autowired
+    private ZdUnitCodeService zdUnitCodeService;
 
     @Override
     public List<ZdChargeItem> queryZdChargeItemWithPage(ZdChargeItemDto zdChargeItemDto) {
@@ -70,4 +75,26 @@ public class ZdChargeItemServiceImpl implements ZdChargeItemService {
         }
         return zdChargeItemMapper.cancelEffectiveDelFlag(code);
     }
+
+    @Override
+    public List<JyZdItem> queryZlItemByCommonParams(String commonParams) {
+        //Integer pageSize =2000;
+        Integer pageSize = 30;
+        if (StringUtils.isBlank(commonParams)) {
+            commonParams = null;
+            pageSize = 5;
+        }
+        if (StringUtils.isNotBlank(commonParams)) {
+            commonParams = "%" + commonParams + "%";
+        }
+        List<JyZdItem> zlList = zdChargeItemMapper.selectZlByCommonParams(commonParams, pageSize);
+        if (zlList != null && zlList.size() > 0) {
+            zlList.stream().forEach(j -> {
+                if (StringUtils.isNotBlank(j.getExecUnit())) {
+                    j.setExecUnitName(zdUnitCodeService.queryDeptNameByIdInCache(j.getExecUnit()));
+                }
+            });
+        }
+        return zlList;
+    }
 }

File diff suppressed because it is too large
+ 439 - 152
src/main/resources/static/js/mz/clinic.js


+ 119 - 24
src/main/resources/templates/mz/clinic.html

@@ -458,9 +458,12 @@
                                 中草药
                             </button>
                             <button class="btn btn-sm btn-default" type="button" onclick="billItemButtonChange(this,2)" id="yj_req_button">
-                                辅助检查、检验与诊疗
+                                辅助检查、检验
                             </button>
-                            <button class="btn btn-sm btn-default" type="button" onclick="billItemButtonChange(this,3)" id="zy_req_button">
+                            <button class="btn btn-sm btn-default" type="button" onclick="billItemButtonChange(this,3)" id="zl_req_button">
+                                诊疗
+                            </button>
+                            <button class="btn btn-sm btn-default" type="button" onclick="billItemButtonChange(this,4)" id="zy_req_button">
                                 入院
                             </button>
                             <!--<button class="btn btn-sm btn-default" type="button" onclick="billItemButtonChange(this)">&nbsp;&nbsp;麻、精一&nbsp;&nbsp;-->
@@ -482,12 +485,26 @@
                         </div>
                     </div>
                     <div class="item form-group">
-                        <!--当前选中药品规格-->
-                        <input id="current_serial" type="hidden"/>
-                        <!-- 当前选中药品编码-->
-                        <input id="current_code" type="hidden"/>
-                        <!-- 当前选中药品是否是修改状态 true 修改 false 新增-->
-                        <input id="update_flag" type="hidden"/>
+                        <!--当前选择西药品规格-->
+                        <input id="western_medicine_current_serial" type="hidden"/>
+                        <!-- 当前选择西药品编码-->
+                        <input id="western_medicine_current_code" type="hidden"/>
+                        <!--当前选择中药品规格-->
+                        <input id="chinese_medicine_current_serial" type="hidden"/>
+                        <!-- 当前选择中药品编码-->
+                        <input id="chinese_medicine_current_code" type="hidden"/>
+                        <!-- 当前选择检查检验编码-->
+                        <input id="jcjy_current_code" type="hidden"/>
+                        <!-- 当前选择诊疗编码-->
+                        <input id="zl_current_code" type="hidden"/>
+                        <!-- 当前选择西药品是否是修改状态 true 修改 false 新增-->
+                        <input id="western_medicine_update_flag" type="hidden"/>
+                        <!-- 当前选择中药品是否是修改状态 true 修改 false 新增-->
+                        <input id="chinese_medicine_update_flag" type="hidden"/>
+                        <!-- 当前选择检查检验是否是修改状态 true 修改 false 新增-->
+                        <input id="jcjy_update_flag" type="hidden"/>
+                        <!-- 当前选择诊疗是否是修改状态 true 修改 false 新增-->
+                        <input id="zl_update_flag" type="hidden"/>
                         <!-- 当前中药的药品类型-->
                         <input id="current_zyClassType" type="hidden"/>
                         <!-- 当前药房编码-->
@@ -718,12 +735,6 @@
                                         <input type="text" class="form-control my_label_input_2" id="jcjyItemPrice"
                                                style="padding-left: 10px;" readonly>
                                     </div>
-                                    <div style="width: 256px;float: left;" class="hide" id="chargeUnitDiv">
-                                        <label class="my_label">描述<span
-                                                class="required">*</span>:</label>
-                                        <input type="text" class="form-control my_label_input_2" id="chargeUnit"
-                                               style="padding-left: 10px;" required="required">
-                                    </div>
                                     <div style="width: 256px;float: left;" class="hide" id="jyZdSampleDiv">
                                         <label class="my_label">检验物<span
                                                 class="required">*</span>:</label>
@@ -752,12 +763,6 @@
                                             </select>
                                         </div>
                                     </div>
-
-                                    <div style="width: 130px;float: left;" class="hide"  id="itemQuantityDiv">
-                                        <label class="my_label" style="width: 40px;">数量:</label>
-                                        <input type="number" class="form-control my_label_input_2" id="itemQuantity"
-                                               style="padding-left: 10px;" >
-                                    </div>
                                 </div>
                                 <div class="item form-group">
                                     <div style="width: 100%">
@@ -771,7 +776,7 @@
                                                                                        style="cursor: pointer;font-size: 14px;color: #2e69eb!important;"><i
                                             class="fa fa-trash">&nbsp;&nbsp;清空</i></a>
                                         <a style="cursor: pointer;font-size: 14px;color: #2e69eb!important;margin-left: 20px;"
-                                           onclick="getJcJyItemChargeByCode(null)" id="jcJyItemChargeDetail"
+                                           onclick="getJcJyItemChargeByCode(null,null)" id="jcJyItemChargeDetail"
                                            class="hide"><i
                                                 class="fa fa-eye">&nbsp;&nbsp;查看明细</i></a>
                                     </div>
@@ -788,6 +793,76 @@
                             </form>
                         </div>
                         <div style="margin-top: 5px;width: 386px;float: left;" class="thmz_alert hide" id="rp_form3">
+                            <form class="form-horizontal form-label-left mz-fixed-form" novalidate autocomplete="off">
+                                <div class="item form-group">
+                                    <div style="width: 386px;float: left;">
+                                        <label class="my_label_2">项目<span
+                                                class="required">*</span>:</label>
+                                        <div class="form-group has-feedback" style="float: right;width: 340px;">
+                                            <input type="text" class="form-control has-feedback-left" id="zlItem"
+                                                   placeholder="请输入" style="padding-left: 10px;width: 99%"
+                                                   onKeyUp="loadZlItemList(event)"
+                                                   required="required">
+                                            <span class="fa fa-search form-control-feedback right"
+                                                  aria-hidden="true"></span>
+                                        </div>
+                                    </div>
+                                </div>
+                                <div class="item form-group">
+                                    <div style="width: 130px;float: left;">
+                                        <label class="my_label_2">单价:</label>
+                                        <input type="text" class="form-control my_label_input_2" id="zlItemPrice"
+                                               style="padding-left: 10px;" readonly>
+                                    </div>
+                                    <div style="width: 256px;float: left;">
+                                        <label class="my_label">描述<span
+                                                class="required">*</span>:</label>
+                                        <input type="text" class="form-control my_label_input_2" id="chargeUnit"
+                                               style="padding-left: 10px;" required="required">
+                                    </div>
+                                    <input type="hidden" id="zltype"/>
+                                </div>
+                                <div class="item form-group">
+                                    <div style="width: 256px;float: left;">
+                                        <label class="my_label_2" style="width: 70px;">执行科室:</label>
+                                        <div style="width: 163px;float: left;">
+                                            <select class="form-control selectpicker show-tick"  data-live-search="true"
+                                                    id="zlExecUnit">
+                                            </select>
+                                        </div>
+                                    </div>
+
+                                    <div style="width: 130px;float: left;">
+                                        <label class="my_label" style="width: 40px;">数量:</label>
+                                        <input type="number" class="form-control my_label_input_2" id="itemQuantity"
+                                               style="padding-left: 10px;" >
+                                    </div>
+                                </div>
+                                <div class="item form-group">
+                                    <div style="width: 100%">
+                                        <label class="my_label_2">备注:</label>
+                                        <input type="text" class="form-control " id="zlRemark"
+                                               style="padding-left: 10px;width: 340px;" placeholder="请输入">
+                                    </div>
+                                </div>
+                                <div style="width: 100%;height: 22px;line-height: 22px;">
+                                    <div style="float: left;display: inline-block;"><a onclick="clearZlItem()"
+                                                                                       style="cursor: pointer;font-size: 14px;color: #2e69eb!important;"><i
+                                            class="fa fa-trash">&nbsp;&nbsp;清空</i></a>
+                                    </div>
+
+                                    <div style="float: right;display: inline-block;">
+                                        <a
+                                           style="cursor: pointer;font-size: 14px;color: #333333;"
+                                           onclick="saveZlItem(true)">&nbsp;&nbsp;保存到右侧<i
+                                                class="fa fa-long-arrow-right"
+                                                style="font-size: 20px;vertical-align: middle;width: 30px;height: 20px;text-align: center;background-color: #337AB7;color: white;margin-left: 10px"></i></a>
+                                    </div>
+
+                                </div>
+                            </form>
+                        </div>
+                        <div style="margin-top: 5px;width: 386px;float: left;" class="thmz_alert hide" id="rp_form4">
                             <form class="form-horizontal form-label-left mz-fixed-form" novalidate autocomplete="off">
                                 <div class="item form-group">
                                     <div style="width: 170px;float: left;">
@@ -873,6 +948,13 @@
                                  style="height: calc(100% - 75px);min-height: 285px;">
                             </div>
                             <!-- 选项卡菜单-->
+                            <ul id="jcjyTab" class="nav nav-tabs hide" role="tablist">
+                            </ul>
+                            <!-- 选项卡面板 -->
+                            <div id="jcjyTabContent" class="tab-content hide"
+                                 style="height: calc(100% - 75px);min-height: 285px;">
+                            </div>
+                            <!-- 选项卡菜单-->
                             <ul id="zlTab" class="nav nav-tabs hide" role="tablist">
                             </ul>
                             <!-- 选项卡面板 -->
@@ -1303,11 +1385,18 @@
                     </div>
                     <div class="conent" style="margin-bottom: 5px;" id="prescriptionDetail_zlyjTitle">
                         <div style="color: #2e69eb!important;margin-bottom: 5px;">
-                            医技与诊疗:
+                            辅助检查、检验:
                         </div>
                         <div id="prescriptionDetail_zlyjContent">
                         </div>
                     </div>
+                    <div class="conent" style="margin-bottom: 5px;" id="prescriptionDetail_zlTitle">
+                        <div style="color: #2e69eb!important;margin-bottom: 5px;">
+                            诊疗:
+                        </div>
+                        <div id="prescriptionDetail_zlContent">
+                        </div>
+                    </div>
                     <div class="conent" style="margin-bottom: 5px;" id="prescriptionDetail_zyReqTitle">
                         <div style="color: #2e69eb!important;margin-bottom: 5px;">
                             入院处理:
@@ -1440,12 +1529,18 @@
                     </div>
                     <div class="conent" style="margin-bottom: 5px;">
                         <div style="color: #2e69eb!important;margin-bottom: 5px;" id="zlyjTitle">
-                            诊疗与医技:
+                            辅助检查、检验:
                         </div>
                         <div id="zlyjContent">
                         </div>
                     </div>
-
+                    <div class="conent" style="margin-bottom: 5px;">
+                        <div style="color: #2e69eb!important;margin-bottom: 5px;" id="zlTitle">
+                            诊疗:
+                        </div>
+                        <div id="zlContent">
+                        </div>
+                    </div>
                 </form>
             </div>
             <div class="modal-footer">

Some files were not shown because too many files changed in this diff