Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

physiqueprinting.vue 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <template>
  2. <div>
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. <el-button :loading="loading" size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
  6. </el-button>
  7. </div>
  8. <div class="app-container">
  9. <div id="print_content">
  10. <div class="print_page_main_content">
  11. <h1 style="text-align: center; padding-top:12px;">{{orgname}}血液净化治疗病历</h1>
  12. <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
  13. <div style="flex:1;text-align: center;">
  14. 姓名:
  15. <div style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
  16. </div>
  17. <div style="flex:1;text-align: center;" >
  18. 病历号:
  19. <div style="width: 120px;text-align: left;display:inline-block;">
  20. {{patient.disease_no?patient.disease_no:"/"}}
  21. </div>
  22. </div>
  23. <div style="flex:1;text-align: center;" >
  24. 病区-床号:
  25. <div style="width: 120px;text-align: left;display:inline-block;">
  26. {{patient.ward}}-{{patient.bed_no}}
  27. </div>
  28. </div>
  29. <div style="flex:1;text-align: center;">
  30. 接收日期:
  31. <div style="width: 100px;text-align: left;display:inline-block;">
  32. {{patient.date}}
  33. </div>
  34. </div>
  35. </div>
  36. <div style="display: flex; justify-self: start;margin-top: 5px ;">
  37. <div style="flex: 1;">性别:{{information.sex}}</div>
  38. <div style="flex: 1;">年龄:{{information.age}}</div>
  39. <div style="flex: 1;">出生日期:{{information.birthday}}</div>
  40. </div>
  41. <div style="display: flex; justify-self: start; margin-top: 5px ;">
  42. <div style="flex: 1;">身份证号:{{information.id_number}}</div>
  43. <div style="flex: 1;">病人来源:{{information.patient_source}}</div>
  44. <div style="flex: 1;">透析号:{{information.dialysis_num}}</div>
  45. </div>
  46. <div style="display: flex; justify-self: start; margin-top: 5px ;">
  47. <div style="flex: 1;">首次透析日期:{{information.first_date}}</div>
  48. <div style="flex: 1;">血型:{{information.blood_type}}</div>
  49. <div style="flex: 1;">报销方式:{{information.reimbursement}}</div>
  50. </div>
  51. <div style="display: flex; justify-self: start; margin-top: 5px ;">
  52. <div style="flex: 1;">工作单位:{{information.work_unit}}</div>
  53. <div style="flex: 1;">联系电话:{{information.contact_number}}</div>
  54. <div style="flex: 1;">家庭住址:{{information.home_address}}</div>
  55. </div>
  56. <div style="display: flex; justify-self: start; margin-top: 5px ;">
  57. <div style="flex: 1;">肾移植史:{{information.transplantation}}</div>
  58. <div style="flex: 1;">腹膜透析史:{{information.peritoneum}}</div>
  59. <div style="flex: 1;">过敏药物:{{information.allergy_drug}}</div>
  60. </div>
  61. <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
  62. <div>
  63. <div>主诉:</div>
  64. <div>{{ medical_history.chief_complaint }}</div>
  65. <div>现病史:</div>
  66. <div>{{ medical_history.present_disease }}</div>
  67. <div>既往史:</div>
  68. <div>{{ medical_history.past }}</div>
  69. <div>个人史:</div>
  70. <div>{{ medical_history.personal }}</div>
  71. <div>婚育史:</div>
  72. <div>{{ medical_history.marriage }}</div>
  73. <div>家族史:</div>
  74. <div>{{ medical_history.family }}</div>
  75. </div>
  76. <h3 style="text-align: center; margin: 30px 0px 10px 0px;">体格检查</h3>
  77. <div>
  78. <div style="display: flex; justify-self: start;">
  79. <div style="flex:1;text-align: center;">T: {{physique.temperature}}℃</div>
  80. <div style="flex:1;text-align: center;">P:{{ physique.heartbeat }}次/分</div>
  81. <div style="flex:1;text-align: center;">R:{{ physique.R }}次/分</div>
  82. <div style="flex:1;text-align: center;">Bp:{{ physique.Bp }}mmHg</div>
  83. </div>
  84. <div style="margin-top: 5px;">
  85. 无贫血容貌,自主体位,无浮肿,出血点/瘀斑/血肿:无,发育正常,营养良好,神志:清楚
  86. {{ physique.anemia }}
  87. </div>
  88. <div style="margin-top: 5px;">
  89. <span style="font-weight: bold;">皮肤黏膜</span>:
  90. {{ physique.cutaneous }}
  91. </div>
  92. <div style="margin-top: 5px;">
  93. <span style="font-weight: bold;">淋巴结</span>:
  94. {{ physique.lymph_node }}
  95. </div>
  96. <div style="margin-top: 5px;">
  97. <span style="font-weight: bold;">头部</span>:
  98. {{ physique.head }}
  99. </div>
  100. <div style="margin-top: 5px;">
  101. <span style="font-weight: bold;">颈部</span>:
  102. {{ physique.neck }}
  103. </div>
  104. <div style="margin-top: 5px;">
  105. <span style="font-weight: bold;">肺脏</span>:
  106. {{ physique.lung }}
  107. </div>
  108. <div style="margin-top: 5px;">
  109. <span style="font-weight: bold;">心脏</span>:
  110. {{ physique.heart }}
  111. </div>
  112. <div style="margin-top: 5px;">
  113. <span style="font-weight: bold;">腹部</span>:
  114. {{ physique.abdomen }}
  115. </div>
  116. <div style="margin-top: 5px;">
  117. <span style="font-weight: bold;">其他</span>:
  118. {{ physique.other }}
  119. </div>
  120. </div>
  121. <div style="margin-top: 30px;">
  122. <span style="font-weight: bold; display: block;">初步诊断:</span>
  123. {{ diagnosis }}
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. </template>
  130. <script>
  131. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  132. import print from "print-js";
  133. export default {
  134. name:'physiquePrinting',
  135. data() {
  136. return {
  137. crumbs: [
  138. { path: false, name: '病人管理' },
  139. { path: false, name: '病程打印' }
  140. ],
  141. loading: false,
  142. orgname:'',
  143. patient:{
  144. name:'',
  145. disease_no:'',
  146. ward:'',
  147. bed_no:'',
  148. date:'',
  149. },
  150. information:{
  151. sex:'',
  152. age:'',
  153. birthday:'',
  154. id_number:'',
  155. patient_source:'',
  156. dialysis_num:'',
  157. first_date:'',
  158. blood_type:'',
  159. reimbursement:'',
  160. work_unit:'',
  161. contact_number:'',
  162. home_address:'',
  163. transplantation:'',
  164. peritoneum:'',
  165. allergy_drug:'',
  166. },
  167. medical_history:{
  168. chief_complaint:'',
  169. present_disease:'',
  170. past:'',
  171. personal:'',
  172. marriage:'',
  173. family:'',
  174. },
  175. physique:{
  176. temperature:'',
  177. heartbeat:'',
  178. R:'',
  179. Bp:'',
  180. anemia:'',
  181. cutaneous:'',
  182. lymph_node:'',
  183. head:'',
  184. neck:'',
  185. lung:'',
  186. heart:'',
  187. abdomen:'',
  188. other:''
  189. },
  190. diagnosis:'',
  191. }
  192. },
  193. components: {
  194. BreadCrumb
  195. },
  196. methods: {
  197. printAction: function () {
  198. const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
  199. printJS({
  200. printable: 'print_content',
  201. type: 'html',
  202. documentTitle: ' ',
  203. style: style,
  204. scanStyles: false
  205. })
  206. },
  207. }
  208. }
  209. </script>
  210. <style scoped>
  211. .print_page_main_content {
  212. background-color: white;
  213. width: 960px;
  214. margin: 0 auto 50px;
  215. padding: 0 0 0 0;
  216. page-break-after: always;
  217. }
  218. </style>