Browse Source

update 修改医院显示信息

bzd_lxf 3 months ago
parent
commit
96c4e4df60

+ 8 - 2
health-admin/src/main/resources/templates/dtp/followUp/followUpEdit.html

@@ -202,7 +202,7 @@
 
             <h5>李华 <span style="font-size: 1.5rem;" class="label-primary">已实名</span></h5>
             <button type="button" class="btn btn-sm btn-danger pull-right" onclick="closeItem()"><i class="fa fa-remove"></i>关 闭 页 面</button>
-            <button class="btn btn-w-m btn-primary pull-right">编辑档案</button>
+            <button class="btn btn-w-m btn-primary pull-right"  onclick="editArchives()">编辑档案</button>
         </div>
         <div class="ibox-content">
             <p>
@@ -1148,7 +1148,7 @@
                                             <tbody id="hbyyjlTableTableBody">
                                             <!-- 表格行将在这里动态添加 -->
                                             <!-- 表格行将在这里动态添加 -->
-                                            
+
                                             <tr class="no-data" style="display: none;">
                                                 <td colspan="7">
                                                     <img th:src="@{/img/locked.png}" alt="暂无数据" style="max-width: 100%;">
@@ -1735,4 +1735,10 @@
         }
         tableElement.bootstrapTable(options);
     }
+    var editArchives = function(){
+        var id = $("#id").val();
+        table.set();
+        var prefix = ctx + "dtp/pmService/archivesEdit/{id}";
+        $.modal.openTab("修改档案", prefix.replace("{id}", id));
+    }
 </script>

+ 1 - 1
health-admin/src/main/resources/templates/dtp/recipe/recipe.html

@@ -138,7 +138,7 @@
 				{ field: "dvalueDays", title: "剂量天数" },
 				{ field: "prescriptionNumber", title: "处方单号" },
 				{ field: "salesOrderNumber", title: "销售单号" },
-				{ field: "hospital", title: "医院" },
+				{ field: "standardName", title: "医院" },
 				{ field: "department", title: "科室" },
 				{ field: "prescribingDoctor", title: "处方医生" },
 				{ field: "attendingDoctor", title: "主管医生" },

+ 2 - 0
health-system/src/main/resources/mapper/mdyy/DTPCFDJMapper.xml

@@ -17,10 +17,12 @@
         sddpr.drugsLinkId as drugsLinkIdy,
         sddpr.salesOrderNumber as salesOrderNumbery,
         sddpr.dvalueDays,
+        sdphl.standardName,
         sdpr.*
         FROM
         s_dtp_prescription_registration sdpr
         LEFT JOIN s_dtp_drug_purchase_record sddpr ON sddpr.drugsLinkId = sdpr.drugsLinkId
+        LEFT JOIN s_dtp_pzxx_hospital_list sdphl on sdphl.id = sdpr.hospital
         WHERE 1=1
         <if test="mdmCode != null and mdmCode != ''">
             and sddpr.mdmCode = #{mdmCode}