血透系统PC前端

dialysisPrintOrderTwo.vue 80KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666
  1. <template>
  2. <div id="dialysis-print-box-1">
  3. <div class="dialysis-print-order print-template-two print_page_main_content">
  4. <div class="order-yy-name">{{orgname}}</div>
  5. <div class="order-title">血液净化专科护理记录单</div>
  6. <div class="row" style="margin-top: 15px;">
  7. <div class="inline_block">
  8. 科室:
  9. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  10. &nbsp;
  11. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  12. </div>
  13. <div class="inline_block" style="margin-left:25px;">
  14. 姓名:
  15. <div class="under_line" style="width: 120px;">{{patientInfo.name}}</div>
  16. </div>
  17. <div class="inline_block" style="margin-left: 25px;">
  18. 性别:
  19. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  20. &nbsp;
  21. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  22. </div>
  23. <div class="inline_block" style="margin-left: 25px;">
  24. 年龄:
  25. <div class="under_line" style="width: 70px;">{{getAge(patientInfo)}}</div>
  26. </div>
  27. <div class="inline_block" style="margin-left: 25px;">
  28. 住院号/ID号:
  29. <div class="under_line" style="width: 100px;">
  30. {{patientInfo.admission_number?patientInfo.admission_number:'无'}}/{{patientInfo.dialysis_no}}
  31. </div>
  32. </div>
  33. </div>
  34. <div class="row flex">
  35. <div class="inline_block">
  36. 诊断:
  37. <div class="under_line_two" style="width: 500px;">{{patientInfo.diagnose}}</div>
  38. </div>
  39. </div>
  40. <div class="row" :class="this.monitors.length > 8 ? 'margin-bottom-300': ''">
  41. <table class="proj_table" >
  42. <tbody>
  43. <tr><td colspan="2">一、透析前护理评估:</td></tr>
  44. <tr>
  45. <td colspan="2">
  46. <div class="row" style="padding: 2px 0;line-height:19px;">
  47. <div class="inline_block">
  48. 入科方式:
  49. <check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>
  50. <check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>
  51. <check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>
  52. <check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>
  53. </div>
  54. <div class="inline_block" style="margin-left: 30px;">
  55. 透析频次:
  56. <div class="under_line" style="width: 50px;">
  57. {{predialysis.dialysis_count?predialysis.dialysis_count:''}}
  58. </div>
  59. 次/周
  60. </div>
  61. <div class="inline_block" style="margin-left: 30px;">
  62. 透析机编号:
  63. <div class="under_line" style="width: 100px;">{{''}}</div>
  64. 型号
  65. <div class="under_line" style="width: 100px;">{{''}}</div>
  66. </div>
  67. </div>
  68. <div class="row" style="padding: 2px 0;line-height:19px;">
  69. <div class="inline_block" >
  70. 意识:
  71. <check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>
  72. <check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>
  73. <check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>
  74. </div>
  75. <div class="inline_block" style="margin-left: 20px;">
  76. 出血:
  77. <check-box text="正常" :checked="predialysis.is_hemorrhage==2?true:false"></check-box>
  78. <check-box text="异常" :checked="predialysis.is_hemorrhage==1?true:false"></check-box>
  79. (&nbsp;
  80. <check-box text="穿刺点渗血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('穿刺点渗血')>-1?true:false"></check-box>
  81. <check-box text="牙龈出血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('牙龈出血')>-1?true:false"></check-box>
  82. <check-box text="消化道出血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('消化道出血')>-1?true:false"></check-box>
  83. <check-box text="女性经期" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('女性经期')>-1?true:false"></check-box>
  84. 其他:
  85. <div class="under_line" style="width: 100px;">
  86. <span v-if="predialysis.is_hemorrhage==1">
  87. {{predialysis.hemorrhage_other}}
  88. </span>
  89. </div>
  90. &nbsp;)
  91. </div>
  92. </div>
  93. <div class="row" style="padding: 2px 0;line-height:19px;">
  94. <div class="inline_block">
  95. 血管通路(内瘘):
  96. <check-box text="正常" :checked="predialysis.blood_access_internal_fistula.indexOf('正常')>-1?true:false"></check-box>
  97. <check-box text="震颤" :checked="predialysis.blood_access_internal_fistula.indexOf('震颤')>-1?true:false"></check-box>
  98. <check-box text="堵塞" :checked="predialysis.blood_access_internal_fistula.indexOf('堵塞')>-1?true:false"></check-box>
  99. <check-box text="血肿" :checked="predialysis.blood_access_internal_fistula.indexOf('血肿')>-1?true:false"></check-box>
  100. <check-box text="淤血" :checked="predialysis.blood_access_internal_fistula.indexOf('淤血')>-1?true:false"></check-box>
  101. <check-box text="感染" :checked="predialysis.blood_access_internal_fistula.indexOf('感染')>-1?true:false"></check-box>
  102. </div>
  103. <div class="inline_block">
  104. 其它:
  105. <div class="under_line" style="width: 300px;">{{predialysis.internal_fistula_other}}
  106. </div>
  107. </div>
  108. </div>
  109. <div class="row" style="padding: 2px 0;line-height:19px;">
  110. <div class="inline_block">
  111. 血管杂音:
  112. <!-- <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula', '震颤-存在')"></check-box> -->
  113. <check-box text="存在" :checked="predialysis.blood_access_noise == 1?true:false"></check-box>
  114. <check-box text="不存在" :checked="predialysis.blood_access_noise == 2?true:false"></check-box>
  115. <check-box text="减弱" :checked="predialysis.blood_access_noise == 3?true:false"></check-box>
  116. &emsp;穿刺方式:
  117. <check-box text="绳梯" :checked="predialysis.puncture_way == 1?true:false"></check-box>
  118. <check-box text="扣眼" :checked="predialysis.puncture_way == 2?true:false"></check-box>
  119. <check-box text="区域" :checked="predialysis.puncture_way == 3?true:false"></check-box>
  120. </div>
  121. </div>
  122. <div class="row" style="padding: 2px 0;line-height:19px;">
  123. <div class="inline_block">
  124. 中心静脉置管:
  125. <check-box text="长期" :checked="predialysis.venous_catheterization == 1?true:false"></check-box>
  126. <check-box text="临时" :checked="predialysis.venous_catheterization == 2?true:false"></check-box>
  127. &emsp;位置:
  128. <check-box text="锁骨下" :checked="predialysis.venous_catheterization_part == 1?true:false"></check-box>
  129. <check-box text="颈静脉" :checked="predialysis.venous_catheterization_part == 2?true:false"></check-box>
  130. <check-box text="股静脉" :checked="predialysis.venous_catheterization_part == 3?true:false"></check-box>
  131. <div class="inline_block">
  132. 其它:
  133. <div class="under_line" style="width: 50px;">
  134. <span v-if="predialysis.venous_catheterization_part == -1">{{predialysis.venous_catheterization_part_other}}</span>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <div class="row" style="padding: 2px 0;line-height:19px;">
  140. <div class="inline_block">
  141. 中心静脉导管:
  142. <check-box text="正常" :checked="predialysis.ductus_arantii.indexOf('正常')>-1?true:false"></check-box>
  143. <check-box text="不畅" :checked="predialysis.ductus_arantii.indexOf('不畅')>-1?true:false"></check-box>
  144. <check-box text="血流不足(正接)" :checked="predialysis.ductus_arantii.indexOf('血流不足(正接)')>-1?true:false"></check-box>
  145. <check-box text="血流不足(反接)" :checked="predialysis.ductus_arantii.indexOf('血流不足(反接)')>-1?true:false"></check-box>
  146. <check-box text="血栓" :checked="predialysis.ductus_arantii.indexOf('血栓')>-1?true:false"></check-box>
  147. <check-box text="缝线脱落" :checked="predialysis.ductus_arantii.indexOf('缝线脱落')>-1?true:false"></check-box>
  148. <check-box text="导管脱落" :checked="predialysis.ductus_arantii.indexOf('导管脱落')>-1?true:false"></check-box>
  149. <check-box text="感染" :checked="predialysis.ductus_arantii.indexOf('感染')>-1?true:false"></check-box>
  150. <check-box text="破损" :checked="predialysis.ductus_arantii.indexOf('破损')>-1?true:false"></check-box>
  151. </div>
  152. </div>
  153. <div class="row" style="padding: 2px 0;line-height:19px;">
  154. <div class="inline_block">
  155. 急诊:
  156. <check-box text="急性心衰" :checked="predialysis.emergency_treatment == 1?true:false"></check-box>
  157. <check-box text="高血钾" :checked="predialysis.emergency_treatment == 2?true:false"></check-box>
  158. <check-box text="重症酸中毒" :checked="predialysis.emergency_treatment == 3?true:false"></check-box>
  159. <div class="inline_block">
  160. 其它:
  161. <div class="under_line" style="width: 100px;">
  162. <span v-if="predialysis.emergency_treatment == -1">{{predialysis.emergency_treatment_other}}</span>
  163. </div>
  164. </div>
  165. </div>
  166. <div class="inline_block">
  167. 病情:
  168. <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
  169. <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
  170. <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
  171. </div>
  172. </div>
  173. </td>
  174. </tr>
  175. <tr>
  176. <td colspan="2">
  177. <div class="row" style="padding: 2px 0;line-height:19px;">
  178. <div class="inline_block">
  179. 跌倒风险评估:&nbsp;评分:
  180. <div class="under_line" style="width: 50px;"> {{predialysis.score}}</div>
  181. &emsp;风险程度:
  182. <check-box text="无" :checked="receiverTreatmentAccess.danger_level == 1?true:false"></check-box>
  183. <check-box text="低风险" :checked="receiverTreatmentAccess.danger_level == 2?true:false"></check-box>
  184. <check-box text="中度风险" :checked="receiverTreatmentAccess.danger_level == 3?true:false"></check-box>
  185. <check-box text="高风险" :checked="receiverTreatmentAccess.danger_level == 4?true:false"></check-box>
  186. </div>
  187. </div>
  188. <div class="row" style="padding: 2px 0;line-height:19px;">
  189. <div class="inline_block">
  190. 营养状况评估:&nbsp;食欲:
  191. <check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>
  192. <check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>
  193. </div>
  194. <div class="inline_block">
  195. &emsp; 摄入量:
  196. <check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>
  197. <check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>
  198. </div>
  199. <div class="inline_block">
  200. &emsp;营养状况:
  201. <check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>
  202. <check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>
  203. </div>
  204. </div>
  205. <div class="row" style="padding: 2px 0; line-height:19px;">
  206. <div class="inline_block">
  207. 心理评估:
  208. <check-box text="正常" :checked="receiverTreatmentAccess.psychological_assessment == 1?true:false"></check-box>
  209. <check-box text="异常" :checked="receiverTreatmentAccess.psychological_assessment == 2?true:false"></check-box>
  210. </div>
  211. <div class="inline_block">
  212. <div class="under_line" style="width: 100px;">
  213. <span v-if="receiverTreatmentAccess.psychological_assessment == 2">{{receiverTreatmentAccess.psychological_assessment_other}}</span>
  214. </div>
  215. </div>
  216. </div>
  217. </td>
  218. </tr>
  219. <tr>
  220. <td style="padding: 0;" colspan="2">
  221. <table class="inside_table">
  222. <tbody>
  223. <tr><td colspan="10" style="font-size:16px;padding: 10px 8px;line-height: 30px;text-align:left;">二、透析中护理纪录:</td></tr>
  224. <tr>
  225. <td width="100">时间</td>
  226. <td width="100">BP<br/>mmHg</td>
  227. <td width="30">P<br/>次/分</td>
  228. <td width="30">R<br/>次/分</td>
  229. <td width="60">静脉压/动脉压<br/>mmHg</td>
  230. <td width="80">血流量<br/>ml/min</td>
  231. <td width="90">超滤量累计L</td>
  232. <td width="80">钠浓度<br/>mmol/L</td>
  233. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  234. <td width="100">护士签名</td>
  235. </tr>
  236. <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0">
  237. <td>{{'透析前'}}</td>
  238. <td>{{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}</td>
  239. <td>{{''}}</td>
  240. <td>{{''}}</td>
  241. <td>{{''}}/{{''}}</td>
  242. <td>{{''}}</td>
  243. <td>{{''}}</td>
  244. <td>{{''}}</td>
  245. <td> {{predialysis.remark}}</td>
  246. <td>
  247. <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
  248. <img class="es-img" :src="setAdminUserES(predialysis.creater)" alt="" srcset="" v-else>
  249. </td>
  250. </tr>
  251. <tr v-for="(monitor,index) in monitors" :key="index">
  252. <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
  253. <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
  254. <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
  255. <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
  256. <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
  257. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
  258. <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
  259. <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
  260. <td> {{monitor.symptom}} &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </td>
  261. <td>
  262. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
  263. <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset="" v-else>
  264. </td>
  265. </tr>
  266. </tbody>
  267. </table>
  268. </td>
  269. </tr>
  270. </tbody>
  271. </table>
  272. </div>
  273. <template v-if="this.monitors.length > 8 ">
  274. <div class="order-yy-name">{{orgname}}</div>
  275. <div class="order-title">血液净化专科护理记录单</div>
  276. <div class="row" style="margin-top: 15px;">
  277. <div class="inline_block">
  278. 科室:
  279. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  280. &nbsp;
  281. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  282. </div>
  283. <div class="inline_block" style="margin-left:25px;">
  284. 姓名:
  285. <div class="under_line" style="width: 120px;">{{patientInfo.name}}</div>
  286. </div>
  287. <div class="inline_block" style="margin-left: 25px;">
  288. 性别:
  289. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  290. &nbsp;
  291. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  292. </div>
  293. <div class="inline_block" style="margin-left: 25px;">
  294. 年龄:
  295. <div class="under_line" style="width: 70px;">{{getAge(patientInfo)}}</div>
  296. </div>
  297. <div class="inline_block" style="margin-left: 25px;">
  298. 住院号/ID号:
  299. <div class="under_line" style="width: 100px;">
  300. {{patientInfo.admission_number?patientInfo.admission_number:'无'}}/{{patientInfo.dialysis_no}}
  301. </div>
  302. </div>
  303. </div>
  304. <div class="row flex">
  305. <div class="inline_block">
  306. 诊断:
  307. <div class="under_line_two" style="width: 500px;">{{patientInfo.diagnose}}</div>
  308. </div>
  309. </div>
  310. </template>
  311. <div class="row" :style="this.monitors.length <= 8 ? 'margin-top:-11px':''">
  312. <table class="proj_table" :class="this.monitors.length > 8 ? 'margin-bottom-900':'margin-bottom-300'">
  313. <tbody>
  314. <tr v-if="this.monitors2.length > 0">
  315. <td style="padding: 0;" colspan="2">
  316. <table class="inside_table">
  317. <tbody>
  318. <tr><td colspan="10" style="font-size:16px;padding: 10px 8px;line-height: 30px;text-align:left;">二、透析中护理纪录:</td></tr>
  319. <tr>
  320. <td width="100">时间</td>
  321. <td width="100">BP<br/>mmHg</td>
  322. <td width="30">P<br/>次/分</td>
  323. <td width="30">R<br/>次/分</td>
  324. <td width="60">静脉压/动脉压<br/>mmHg</td>
  325. <td width="80">血流量<br/>ml/min</td>
  326. <td width="90">超滤量累计L</td>
  327. <td width="80">钠浓度<br/>mmol/L</td>
  328. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  329. <td width="100">护士签名</td>
  330. </tr>
  331. <tr v-for="(monitor,index) in monitors2" :key="index">
  332. <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
  333. <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
  334. <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
  335. <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
  336. <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
  337. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
  338. <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
  339. <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
  340. <td> {{monitor.symptom}} &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </td>
  341. <td>
  342. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
  343. <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset="" v-else>
  344. </td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. </td>
  349. </tr>
  350. <tr><td colspan="2" style="font-size:16px;padding: 10px 8px;line-height: 30px;text-align:left;">三、透析后护理纪录</td></tr>
  351. <tr>
  352. <td>
  353. <div class="row" style="padding: 2px 0;line-height:19px;">
  354. <div class="inline_block">
  355. 透析过程:
  356. <check-box text="完成" :checked="afterdialysis.dialysis_process==1?true:false"></check-box>
  357. <check-box text="提前" :checked="afterdialysis.dialysis_process==2?true:false"></check-box>
  358. <div class="inline_block">
  359. <div class="under_line" style="width: 30px;">
  360. <span v-if="afterdialysis.dialysis_process==2">{{afterdialysis.in_advance_minute}}</span>
  361. </div>
  362. min
  363. </div>
  364. </div>
  365. <div class="inline_block">
  366. &emsp;原因:
  367. <check-box text="心梗" :checked="afterdialysis.in_advance_reason.indexOf('心梗')>-1?true:false"></check-box>
  368. <check-box text="心律失常" :checked="afterdialysis.in_advance_reason.indexOf('心律失常')>-1?true:false"></check-box>
  369. <check-box text="低血压" :checked="afterdialysis.in_advance_reason.indexOf('低血压')>-1?true:false"></check-box>
  370. <check-box text="血流不止" :checked="afterdialysis.in_advance_reason.indexOf('血流不止')>-1?true:false"></check-box>
  371. </div>
  372. <div class="inline_block">
  373. &emsp; 其他原因:
  374. <div class="inline_block">
  375. <div class="under_line" style="width: 150px;">
  376. <span v-if="afterdialysis.in_advance_reason.length > 0">{{afterdialysis.in_advance_reason_other}}</span>
  377. </div>
  378. </div>
  379. </div>
  380. </div>
  381. <div class="row" style="padding: 2px 0;line-height:19px;">
  382. <div class="inline_block">
  383. 内瘘管拔针后压迫止血时间:
  384. <div class="inline_block">
  385. <div class="under_line" style="width: 30px;">
  386. <span v-if="afterdialysis.hemostasis_minute">{{afterdialysis.hemostasis_minute}}</span>
  387. </div>
  388. min
  389. </div>
  390. </div>
  391. <div class="inline_block">
  392. <check-box text="需要护士" :checked="afterdialysis.hemostasis_opera == 1?true:false"></check-box>
  393. <check-box text="他人协助" :checked="afterdialysis.hemostasis_opera == 2?true:false"></check-box>
  394. <check-box text="自己压迫" :checked="afterdialysis.hemostasis_opera == 3?true:false"></check-box>
  395. </div>
  396. <div class="inline_block" style="margin-left: 30px;">
  397. 实际超滤量:
  398. <div class="under_line" style="width: 50px;">
  399. {{prescription.ultrafiltration?prescription.ultrafiltration:''}}
  400. </div>
  401. L
  402. </div>
  403. </div>
  404. <div class="row" style="padding: 2px 0;line-height:19px;">
  405. <div class="inline_block">
  406. 内瘘震颤和血管杂音:
  407. <check-box text="存在" :checked="afterdialysis.tremor_noise==1?true:false"></check-box>
  408. <check-box text="减弱" :checked="afterdialysis.tremor_noise==2?true:false"></check-box>
  409. <check-box text="不存在" :checked="afterdialysis.tremor_noise==3?true:false"></check-box>
  410. </div>
  411. <div class="inline_block">
  412. &emsp;失衡综合症:
  413. <check-box text="无" :checked="afterdialysis.disequilibrium_syndrome==1?true:false"></check-box>
  414. <check-box text="有" :checked="afterdialysis.disequilibrium_syndrome==2?true:false"></check-box>
  415. </div>
  416. <div class="inline_block">
  417. <check-box text="头晕" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头晕')>-1?true:false"></check-box>
  418. <check-box text="头痛" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头痛')>-1?true:false"></check-box>
  419. <check-box text="呕吐" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('呕吐')>-1?true:false"></check-box>
  420. <check-box text="低血压" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('低血压')>-1?true:false"></check-box>
  421. </div>
  422. </div>
  423. <div class="row" style="padding: 2px 0;line-height:19px;">
  424. <div class="inline_block">
  425. 透析器及血路管凝血情况: &emsp;动脉管道:
  426. <check-box text="0" :checked="afterdialysis.arterial_tube == 1?true:false"></check-box>
  427. <check-box text="+" :checked="afterdialysis.arterial_tube == 2?true:false"></check-box>
  428. <check-box text="++" :checked="afterdialysis.arterial_tube == 3?true:false"></check-box>
  429. <check-box text="+++" :checked="afterdialysis.arterial_tube == 4?true:false"></check-box>
  430. </div>
  431. <div class="inline_block">
  432. &emsp; 静脉管道:
  433. <check-box text="0" :checked="afterdialysis.intravenous_tube == 1?true:false"></check-box>
  434. <check-box text="+" :checked="afterdialysis.intravenous_tube == 2?true:false"></check-box>
  435. <check-box text="++" :checked="afterdialysis.intravenous_tube == 3?true:false"></check-box>
  436. <check-box text="+++" :checked="afterdialysis.intravenous_tube == 4?true:false"></check-box>
  437. </div>
  438. <div class="inline_block">
  439. &emsp;透析器:
  440. <check-box text="0" :checked="afterdialysis.dialyzer == 1?true:false"></check-box>
  441. <check-box text="+" :checked="afterdialysis.dialyzer == 2?true:false"></check-box>
  442. <check-box text="++" :checked="afterdialysis.dialyzer == 3?true:false"></check-box>
  443. <check-box text="+++" :checked="afterdialysis.dialyzer == 4?true:false"></check-box>
  444. </div>
  445. </div>
  446. </td>
  447. </tr>
  448. <tr>
  449. <td colspan="2">
  450. <div class="row" style="padding: 2px 0;line-height:19px;">
  451. <div class="inline_block" style="float: left;">
  452. 责任护士:
  453. <div class="under-line">
  454. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  455. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  456. </div>
  457. </div>
  458. <div class="inline_block" >
  459. &emsp;核对人:
  460. <div class="under_line" style="width: 100px;">
  461. <span v-if="setAdminUserES(check==null?0:check.modifier) == ''">{{getAdminUser(check==null?0:check.modifier)}}</span>
  462. <img class="es-img" :src="setAdminUserES(check==null?0:check.modifier)" alt="" srcset="" v-else>
  463. </div>
  464. </div>
  465. <div class="inline_block">
  466. &emsp;核对时间:
  467. <div class="under_line" style="width: 200px;">
  468. {{getTime(check.updated_time,'{y}年{m}月{d}日 {h}时')}}
  469. </div>
  470. </div>
  471. <div class="inline_block" >
  472. &emsp;收针者:
  473. <div class="under_line" style="width: 100px;">
  474. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
  475. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
  476. </div>
  477. </div>
  478. </div>
  479. </td>
  480. </tr>
  481. <tr>
  482. <td colspan="2">
  483. <div class="row" style="padding: 2px 0; line-height:19px;">
  484. 患者去向:
  485. <check-box text="门诊" :checked="afterdialysis.patient_gose==4?true:false"></check-box>
  486. <check-box text="离院" :checked="afterdialysis.patient_gose==1?true:false"></check-box>
  487. <check-box text="留观" :checked="afterdialysis.patient_gose==2?true:false"></check-box>
  488. <check-box text="住院" :checked="afterdialysis.patient_gose==3?true:false"></check-box>
  489. ( 科室
  490. <div class="under_line" style="width: 200px;">
  491. <span v-if="afterdialysis.patient_gose==3">{{afterdialysis.inpatient_department}}</span>
  492. </div>
  493. </div>
  494. <div class="row" style="padding: 2px 0; line-height:19px;">
  495. <div class="inline_block" >
  496. 血透室护士签名:
  497. <div class="under_line" style="width: 100px;">
  498. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  499. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  500. </div>
  501. </div>
  502. <div class="inline_block" >
  503. &emsp;病区护士签名:
  504. <div class="under_line" style="width: 100px;">
  505. </div>
  506. </div>
  507. <div class="inline_block">
  508. &emsp;时间:
  509. <div class="under_line" style="width: 200px;" v-if="dialysisOrder != null">
  510. {{getTime(dialysisOrder.end_time,'{y}年{m}月{d}日 {h}时')}}
  511. </div>
  512. </div>
  513. </div>
  514. </td>
  515. </tr>
  516. <tr>
  517. <td colspan="2">
  518. <div class="row" style="font-size: 10px;">
  519. 注:透析器及血路管凝血:0级无凝血;
  520. “+”(指Ⅰ级:束状纤维凝血或动/静脉壶/滤网见轻微凝血);“++”(指II级:近半数纤维凝血或动/静脉壶/滤网出现凝血块);“+++”(指III级:压力异常升高,须中途更换透析器/血路管A/V)。
  521. </div>
  522. </td>
  523. </tr>
  524. </tbody>
  525. </table>
  526. <div class="order-yy-name">{{orgname}}</div>
  527. <div class="order_title"> 血液净化科医嘱及执行单 </div>
  528. <div class="row" style="margin-top: 15px;">
  529. <div class="inline_block" >
  530. 科室:
  531. <check-box text="门诊透析" :checked="patientInfo_source_1"></check-box>
  532. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  533. </div>
  534. <div class="inline_block" style="margin-left:25px;">
  535. 姓名:
  536. <div class="under_line" style="width: 120px;">{{patientInfo.name}}</div>
  537. </div>
  538. <div class="inline_block" style="margin-left: 25px;">
  539. 性别:
  540. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  541. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  542. </div>
  543. <div class="inline_block" style="margin-left: 25px;">
  544. 年龄:
  545. <div class="under_line" style="width: 70px;">{{getAge(patientInfo)}}</div>
  546. </div>
  547. <div class="inline_block" style="margin-left:25px;">
  548. 住院号/ID号:
  549. <div class="under_line" style="width: 120px;">
  550. {{patientInfo.admission_number?patientInfo.admission_number:'无'}}/{{patientInfo.dialysis_no}}
  551. </div>
  552. </div>
  553. </div>
  554. <div class="row flex">
  555. <div class="inline_block">
  556. 诊断:
  557. <div class="under_line_two" style="width: 500px;">{{patientInfo.diagnose}}</div>
  558. </div>
  559. </div>
  560. <table class="proj_table">
  561. <tbody>
  562. <tr>
  563. <td>
  564. <div class="row" style="padding: 2px 0;line-height:24px;">
  565. <div class="inline_block">
  566. 诊断:
  567. <div class="under_line_two" style="width: 150px;">{{patientInfo.diagnose}}</div>
  568. </div>
  569. <div class="inline_block">
  570. &emsp;治疗方式:
  571. <check-box text="HD" :checked="prescription.mode_id==1?true:false"></check-box>
  572. <check-box text="HDF" :checked="prescription.mode_id==2?true:false"></check-box>
  573. <check-box text="HF" :checked="prescription.mode_id==5?true:false"></check-box>
  574. <check-box text="HP" :checked="prescription.mode_id==4?true:false"></check-box>
  575. <check-box text="HD+HP" :checked="prescription.mode_id==3?true:false"></check-box>
  576. </div>
  577. <div class="inline_block" style="margin-left:20px;">
  578. 其它:
  579. <div class="under_line" style="width: 100px;">
  580. <span v-if="prescription.mode_id>5">{{prescription.mode}}</span>
  581. </div>
  582. </div>
  583. <div class="inline_block" style="margin-left:20px;">
  584. 治疗时间:
  585. <div class="under_line" style="width: 30px;">
  586. {{prescription.dialysis_duration_hour?prescription.dialysis_duration_hour:''}}
  587. </div>
  588. h
  589. <div class="under_line" style="width: 30px;">
  590. {{prescription.dialysis_duration_minute?prescription.dialysis_duration_minute:''}}
  591. </div>
  592. min
  593. </div>
  594. </div>
  595. <div class="row" style="padding: 2px 0;line-height:24px;">
  596. <div class="inline_block">
  597. 病情:
  598. <check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>
  599. <check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>
  600. <check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>
  601. <div class="inline_block">
  602. &emsp;透析器型号:
  603. <div class="under_line_two" style="width: 200px">
  604. {{prescription.dialyzer_perfusion_apparatus}}
  605. </div>
  606. </div>
  607. </div>
  608. </div>
  609. <div class="row" style="padding: 2px 0; line-height:24px;">
  610. <div class="inline_block">
  611. 体液过多症状:
  612. <check-box text="无" :checked="prescription.body_fluid==1?true:false"></check-box>
  613. <check-box text="下肢水肿+" :checked="prescription.body_fluid==2?true:false"></check-box>
  614. <check-box text="下肢水肿++" :checked="prescription.body_fluid==3?true:false"></check-box>
  615. <check-box text="下肢水肿+++" :checked="prescription.body_fluid==4?true:false"></check-box>
  616. </div>
  617. <!-- <div class="inline_block">
  618. 其它:
  619. <div class="under_line" style="width: 100px;">
  620. <div class="under-line" v-if="prescription&&prescription.body_fluid_other.length > 0">&nbsp;{{prescription.body_fluid_other}}</div>
  621. </div>
  622. </div> -->
  623. <div class="inline_block" style="margin-left:20px;">
  624. 透析前使用特殊药物:
  625. <check-box text="无" :checked="prescription.special_medicine==1?true:false"></check-box>
  626. <check-box text="降压药" :checked="prescription.special_medicine==2?true:false"></check-box>
  627. <check-box text="抗凝" :checked="prescription.special_medicine==3?true:false"></check-box>
  628. </div>
  629. <div class="inline_block">
  630. 其它:
  631. <div class="under_line" style="width: 100px;">
  632. <span v-if="prescription.special_medicine == -1">{{prescription.special_medicine_other}}</span>
  633. </div>
  634. </div>
  635. </div>
  636. <div class="row" style="padding: 2px 0;line-height:24px;">
  637. <div class="inline_block">
  638. 透析液(mol/l): &emsp;Ca<sup>2+</sup>:
  639. <div class="under_line" style="width: 70px;">
  640. <span v-if="prescription.calcium">{{getFloat(prescription.calcium)}}</span>
  641. </div>
  642. mol/l &emsp;Na<sup>+</sup>:
  643. <div class="under_line" style="width: 70px;">
  644. <span v-if="prescription.sodium">{{getFloat(prescription.sodium)}}</span>
  645. </div>
  646. mol/l &emsp;K<sup>+</sup>:
  647. <div class="under_line" style="width: 70px;">
  648. <span v-if="prescription.kalium">{{getFloat(prescription.kalium)}}</span>
  649. </div>
  650. mol/l
  651. </div>
  652. <div class="inline_block" v-if="prescription.displace_liqui_part == 0">
  653. &emsp;置换液后/前稀释 总量:
  654. <div class="under_line" style="width: 100px;">
  655. {{prescription.displace_liqui_value?prescription.displace_liqui_value:''}}L
  656. </div>
  657. </div>
  658. <div class="inline_block" v-if="prescription.displace_liqui_part == 1">
  659. &emsp;置换液前稀释 总量:
  660. <div class="under_line" style="width: 100px;">
  661. {{prescription.displace_liqui_value?prescription.displace_liqui_value:''}}L
  662. </div>
  663. </div>
  664. <div class="inline_block" v-if="prescription.displace_liqui_part == 2">
  665. &emsp;置换液后稀释 总量:
  666. <div class="under_line" style="width: 100px;">
  667. {{prescription.displace_liqui_value?prescription.displace_liqui_value:''}}L
  668. </div>
  669. </div>
  670. </div>
  671. <div class="row" style="padding: 2px 0;line-height:24px;">
  672. <div class="inline_block">
  673. 血管通路:
  674. <check-box text="内瘘" :checked="prescription.blood_access == 1?true:false"></check-box>
  675. <check-box text="直穿" :checked="prescription.blood_access == 2?true:false"></check-box>
  676. <check-box text="导管" :checked="prescription.blood_access == 3?true:false"></check-box>
  677. </div>
  678. <div class="inline_block">
  679. &emsp;血流量:
  680. <div class="under_line" style="width: 100px;">
  681. {{prescription.blood_flow_volume?prescription.blood_flow_volume:''}}
  682. </div>
  683. ml/min
  684. </div>
  685. <div class="inline_block">
  686. &emsp;透析液流量:
  687. <div class="under_line" style="width: 100px;">
  688. {{prescription.dialysate_flow?prescription.dialysate_flow:''}}
  689. </div>
  690. ml/min
  691. </div>
  692. </div>
  693. <div class="row" style="padding: 2px 0;line-height:24px;">
  694. <div class="inline_block">
  695. 透前体重:
  696. <div class="under_line" style="width: 100px;">
  697. {{predialysis.weight_before?predialysis.weight_before:''}}
  698. </div>
  699. kg
  700. </div>
  701. <div class="inline_block">
  702. &emsp;设定超滤量:
  703. <div class="under_line" style="width: 100px;">
  704. {{prescription.target_ultrafiltration?prescription.target_ultrafiltration:''}}
  705. </div>
  706. L
  707. </div>
  708. <div class="inline_block">
  709. &emsp;实际超滤量:
  710. <div class="under_line" style="width: 100px;">
  711. {{prescription.ultrafiltration?prescription.ultrafiltration:''}}
  712. </div>
  713. L
  714. </div>
  715. <div class="inline_block">
  716. 透后体重:
  717. <div class="under_line" style="width: 100px;">
  718. {{afterdialysis.weight_after?afterdialysis.weight_after:''}}
  719. </div>
  720. kg
  721. </div>
  722. </div>
  723. </td>
  724. </tr>
  725. </tbody>
  726. </table>
  727. <table class="print-table-no" border="1" count="0" :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;border-top:0;':'border-top:0;'">
  728. <tbody>
  729. <tr style="line-height:35px;padding:8px 5px;">
  730. <td colspan="7" style="font-size: 18px">医嘱</td>
  731. </tr>
  732. <tr style="line-height:35px;padding:8px 5px;">
  733. <td colspan="4" style="font-size: 16px">开医嘱</td>
  734. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  735. </tr>
  736. <tr style="line-height:35px;padding:8px 5px;">
  737. <td style="font-size: 16px" width="10%">时间</td>
  738. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  739. <td style="font-size: 16px" width="10%">医生签名</td>
  740. <td style="font-size: 16px" width="10%">核对人签名</td>
  741. <td style="font-size: 16px" width="10%">执行人签名</td>
  742. <td style="font-size: 16px" width="10%">时间</td>
  743. </tr>
  744. <template v-for="(group, group_index) in advice_groups" >
  745. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
  746. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  747. <span v-if="advice.start_time">
  748. {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
  749. </span>
  750. <span v-else>&nbsp;<br/>&nbsp;</span>
  751. </td>
  752. <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
  753. <span >{{advice.advice_name }}</span>
  754. <span>{{advice.advice_desc}}</span>
  755. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  756. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  757. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.delivery_way}}</span>
  758. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.execution_frequency}}</span>
  759. <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
  760. </td>
  761. <td colspan="2" height="60px" style="text-align: center" v-else >
  762. <span>{{advice.delivery_way}}</span>
  763. <span>{{advice.execution_frequency}}</span>
  764. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  765. </td>
  766. <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
  767. <td height="60px">
  768. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
  769. <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
  770. </td>
  771. <td height="60px">
  772. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  773. <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  774. </td>
  775. <td height="60px">
  776. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
  777. <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
  778. </td>
  779. <td height="60px">
  780. <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  781. </td>
  782. </tr>
  783. </template>
  784. </tbody>
  785. </table>
  786. <template v-if="this.advice_groups_2.length > 0">
  787. <div class="order-yy-name">{{orgname}}</div>
  788. <div class="order_title"> 血液净化科医嘱及执行单 </div>
  789. <div class="row" style="margin-top: 15px;">
  790. <div class="inline_block" >
  791. 科室:
  792. <check-box text="门诊透析" :checked="patientInfo_source_1"></check-box>
  793. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  794. </div>
  795. <div class="inline_block" style="margin-left:25px;">
  796. 姓名:
  797. <div class="under_line" style="width: 120px;">{{patientInfo.name}}</div>
  798. </div>
  799. <div class="inline_block" style="margin-left: 25px;">
  800. 性别:
  801. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  802. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  803. </div>
  804. <div class="inline_block" style="margin-left: 25px;">
  805. 年龄:
  806. <div class="under_line" style="width: 70px;">{{getAge(patientInfo)}}</div>
  807. </div>
  808. <div class="inline_block" style="margin-left:25px;">
  809. 住院号/ID号:
  810. <div class="under_line" style="width: 120px;">
  811. {{patientInfo.admission_number?patientInfo.admission_number:'无'}}/{{patientInfo.dialysis_no}}
  812. </div>
  813. </div>
  814. </div>
  815. <div class="row flex">
  816. <div class="inline_block">
  817. 诊断:
  818. <div class="under_line_two" style="width: 500px;">{{patientInfo.diagnose}}</div>
  819. </div>
  820. </div>
  821. <table class="print-table-no" border="1" count="0">
  822. <tbody>
  823. <tr style="line-height:35px;padding:8px 5px;">
  824. <td colspan="7" style="font-size: 18px">医嘱</td>
  825. </tr>
  826. <tr style="line-height:35px;padding:8px 5px;">
  827. <td colspan="4" style="font-size: 16px">开医嘱</td>
  828. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  829. </tr>
  830. <tr style="line-height:35px;padding:8px 5px;">
  831. <td style="font-size: 16px" width="10%">时间</td>
  832. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  833. <td style="font-size: 16px" width="10%">医生签名</td>
  834. <td style="font-size: 16px" width="10%">核对人签名</td>
  835. <td style="font-size: 16px" width="10%">执行人签名</td>
  836. <td style="font-size: 16px" width="10%">时间</td>
  837. </tr>
  838. <template v-for="(group, group_index) in advice_groups_2" >
  839. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
  840. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  841. <span v-if="advice.start_time">
  842. {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
  843. </span>
  844. <span v-else>&nbsp;<br/>&nbsp;</span>
  845. </td>
  846. <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
  847. <span >{{advice.advice_name }}</span>
  848. <span>{{advice.advice_desc}}</span>
  849. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  850. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  851. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.delivery_way}}</span>
  852. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.execution_frequency}}</span>
  853. <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
  854. </td>
  855. <td colspan="2" height="60px" style="text-align: center" v-else >
  856. <span>{{advice.delivery_way}}</span>
  857. <span>{{advice.execution_frequency}}</span>
  858. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  859. </td>
  860. <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
  861. <td height="60px">
  862. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
  863. <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
  864. </td>
  865. <td height="60px">
  866. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  867. <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  868. </td>
  869. <td height="60px">
  870. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
  871. <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
  872. </td>
  873. <td height="60px">
  874. <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  875. </td>
  876. </tr>
  877. </template>
  878. </tbody>
  879. </table>
  880. </template>
  881. </div>
  882. </div>
  883. </div>
  884. </template>
  885. <script>
  886. import CheckBox from '../batch_print/option_check_box'
  887. import { getDialysisRecord } from '@/api/dialysis'
  888. import { getDataConfig } from '@/utils/data'
  889. import { jsGetAge, uParseTime } from '@/utils/tools'
  890. import LabelBox from '../printItem/LabelBox'
  891. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  892. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  893. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  894. import print from 'print-js'
  895. export default {
  896. name: 'dialysisPrintOrder',
  897. props: ['childResponse'],
  898. components: {
  899. // DialysisPrintOrderOne,
  900. // DialysisPrintOrderTwo,
  901. CheckBox,
  902. LabelBox,
  903. BreadCrumb
  904. },
  905. data() {
  906. return {
  907. crumbs: [
  908. { path: false, name: '透析管理' },
  909. { path: false, name: '打印单' }
  910. ],
  911. operators: [],
  912. adminUser: [],
  913. check: {},
  914. dialysisOrder: {
  915. DeviceNumber: []
  916. },
  917. operatorMaps: {},
  918. complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛'],
  919. jilurow: 0,
  920. advice_jilurow: 0,
  921. loading: false,
  922. orgname: '',
  923. patientInfo_gender_1: false,
  924. patientInfo_gender_2: false,
  925. patientInfo_source_2: false,
  926. patientInfo_source_1: false,
  927. modeOptions: {},
  928. replacementWays: [],
  929. perfusionApparatus: [],
  930. anticoagulantsConfit: {},
  931. bloodAccessParOpera: {},
  932. dialysateFormulationOptions: {},
  933. queryParams: {
  934. xtdate: '',
  935. xtno: ''
  936. },
  937. patientInfo: {
  938. birth: '',
  939. age: '',
  940. DialysisSchedule: {
  941. device_number: { number: '' },
  942. device_zone: { name: '' }
  943. },
  944. gender: 0
  945. },
  946. predialysis: {
  947. score: '',
  948. internal_fistula: '',
  949. internal_fistula_skin: '',
  950. catheter: '',
  951. blood_access_part_opera_name: ''
  952. },
  953. afterdialysis: {
  954. complications_index: ''
  955. },
  956. prescription: {
  957. dialysate_formulation_name: '',
  958. device: {}
  959. },
  960. advices: [],
  961. users: [],
  962. monitors: [],
  963. monitors2: [],
  964. summary: {},
  965. receiverTreatmentAccess: {},
  966. org_template_info: {},
  967. doctor_advices: [],
  968. advice_groups: [],
  969. advice_groups_2: [],
  970. AlPanel: {
  971. id: 0,
  972. name: '',
  973. type: 1,
  974. shouji: 2,
  975. weichi: 2,
  976. zongliang: 2,
  977. gaimingcheng: -1,
  978. gaijiliang: -1,
  979. shouji_unit: 'mg',
  980. weichi_unit: 'mg/h',
  981. zongliang_unit: 'mg',
  982. gaimingcheng_unit: '',
  983. gaijiliang_unit: ''
  984. }
  985. }
  986. },
  987. methods: {
  988. getAdminUser(id) {
  989. if (id == 0) {
  990. return ''
  991. }
  992. if (id == undefined) {
  993. return ''
  994. }
  995. for (let i = 0; i < this.adminUser.length; i++) {
  996. if (this.adminUser[i].id == id) {
  997. return this.adminUser[i].name
  998. }
  999. }
  1000. },
  1001. getTime(value, temp) {
  1002. if (value == 0) {
  1003. return ''
  1004. }
  1005. if (value != undefined) {
  1006. return uParseTime(value, temp)
  1007. }
  1008. return ''
  1009. },
  1010. printThisPage() {
  1011. var ptime = Math.round(new Date().getTime() / 1000)
  1012. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1013. const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under_line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px} .under_line_two{border-bottom:1px solid #999;width:95%;text-align:left;margin-left:2px} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
  1014. if (this.org_template_info.template_id != 2) {
  1015. printJS({
  1016. printable: 'dialysis-print-box',
  1017. type: 'html',
  1018. style: style,
  1019. scanStyles: false
  1020. })
  1021. } else if (this.org_template_info.template_id == 2) {
  1022. printJS({
  1023. printable: 'dialysis-print-box-1',
  1024. type: 'html',
  1025. style: style,
  1026. scanStyles: false
  1027. })
  1028. }
  1029. }, getNumber() {
  1030. if (this.dialysisOrder != null) {
  1031. return this.patientInfo.DialysisSchedule.device_zone.name + this.dialysisOrder.DeviceNumber.number
  1032. } else {
  1033. return this.patientInfo.DialysisSchedule.device_zone.name + this.patientInfo.DialysisSchedule.device_number.number
  1034. }
  1035. },
  1036. getXuserName(id) {
  1037. if (id <= 0) {
  1038. return ''
  1039. }
  1040. var name = ''
  1041. if (this.users == null || typeof (this.users.length) === 'undefined') {
  1042. return name
  1043. }
  1044. var leng = this.users.length
  1045. if (leng == 0) {
  1046. return name
  1047. }
  1048. for (let index = 0; index < leng; index++) {
  1049. if (this.users[index].id == id) {
  1050. name = this.users[index].name
  1051. break
  1052. }
  1053. }
  1054. return name
  1055. },
  1056. setAdminUserES(id) {
  1057. if (id == 0) {
  1058. return ''
  1059. }
  1060. if (id in this.operatorMaps) {
  1061. return this.operatorMaps[id].url
  1062. } else {
  1063. return ''
  1064. }
  1065. },
  1066. modeName(mode_id) {
  1067. return typeof (this.modeOptions[mode_id]) !== 'undefined' && typeof (this.modeOptions[mode_id].name) !== 'undefined' ? this.modeOptions[mode_id].name : ''
  1068. },
  1069. getDialysisRecord() {
  1070. this.loading = true
  1071. // getDialysisRecord(this.queryParams).then(response => {
  1072. var response = this.childResponse
  1073. if (response.data.state == 1) {
  1074. this.adminUser = response.data.data.users
  1075. this.users = response.data.data.users
  1076. this.patientInfo = response.data.data.patientInfo
  1077. this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}')
  1078. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1079. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1080. this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}')
  1081. } else {
  1082. this.patientInfo.first_dialysis_date = ''
  1083. }
  1084. this.check = response.data.data.check
  1085. this.predialysis = response.data.data.PredialysisEvaluation
  1086. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.predialysis.blood_access_part_opera_id)
  1087. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1088. this.operators = response.data.data.operators
  1089. this.dialysisOrder = response.data.data.dialysisOrder === null ? null : response.data.data.dialysisOrder
  1090. if (this.operators.length > 0) {
  1091. var operatorsLen = this.operators.length
  1092. for (var index = 0; index < operatorsLen; index++) {
  1093. this.$set(this.operatorMaps, this.operators[index].creator, this.operators[index])
  1094. }
  1095. }
  1096. this.afterdialysis.txqnx = -1
  1097. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1098. this.afterdialysis.txqnx = 0
  1099. }
  1100. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1101. this.afterdialysis.txqnx = 1
  1102. }
  1103. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1104. this.afterdialysis.txqnx = 2
  1105. }
  1106. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1107. this.afterdialysis.txqnx = 3
  1108. }
  1109. this.afterdialysis.complications = this.afterdialysis.complication.split(',')
  1110. this.afterdialysis.complications_other = []
  1111. this.afterdialysis.complications_index = []
  1112. var acllen = this.afterdialysis.complications.length
  1113. for (let index = 0; index < acllen; index++) {
  1114. if (this.complications.indexOf(this.afterdialysis.complications[index]) >= 0) {
  1115. this.afterdialysis.complications_index.push(this.afterdialysis.complications[index])
  1116. } else if (this.complications.indexOf(this.afterdialysis.complications[index]) < 0 && this.afterdialysis.complications_other.indexOf(this.afterdialysis.complications[index]) < 0) {
  1117. this.afterdialysis.complications_other.push(this.afterdialysis.complications[index])
  1118. }
  1119. }
  1120. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(',')
  1121. this.prescription = response.data.data.dialysisPrescription
  1122. this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess
  1123. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1124. var rwLen = this.replacementWays.length
  1125. this.prescription.replacement = ''
  1126. for (let index = 0; index < rwLen; index++) {
  1127. if (this.replacementWays[index].id == this.prescription.replacement_way) {
  1128. this.prescription.replacement = this.replacementWays[index].name
  1129. break
  1130. }
  1131. }
  1132. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(this.prescription.dialysate_formulation)
  1133. var paLen = this.perfusionApparatus.length
  1134. this.prescription.perfusion_apparatus_name = ''
  1135. for (let index = 0; index < paLen; index++) {
  1136. if (this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
  1137. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name
  1138. break
  1139. }
  1140. }
  1141. var acLen = this.anticoagulantsConfit.length
  1142. var thisALID = this.prescription.anticoagulant
  1143. this.prescription.anticoagulant_name = ''
  1144. if (typeof (this.anticoagulantsConfit[thisALID]) !== 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
  1145. this.prescription.anticoagulant_name = this.anticoagulantsConfit[thisALID].name
  1146. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1147. }
  1148. this.advices = response.data.data.advices
  1149. this.monitors = response.data.data.monitors
  1150. this.summary = response.data.data.summary
  1151. this.org_template_info = response.data.data.org_template_info
  1152. if (this.monitors.length < 8) {
  1153. var nl = 8 - this.monitors.length
  1154. for (let index = 0; index < nl; index++) {
  1155. if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
  1156. this.monitors.push([])
  1157. } else {
  1158. continue
  1159. }
  1160. }
  1161. }
  1162. if (this.monitors.length > 15) {
  1163. const tempMonitors = []
  1164. const tempMonitors2 = []
  1165. for (let index = 0; index < this.monitors.length; index++) {
  1166. if (index < 15) {
  1167. tempMonitors.push(this.monitors[index])
  1168. } else {
  1169. tempMonitors2.push(this.monitors[index])
  1170. }
  1171. }
  1172. this.monitors = tempMonitors
  1173. this.monitors2 = tempMonitors2
  1174. }
  1175. this.jilurow = this.monitors.length + 1
  1176. this.advice_jilurow = this.advices.length + 1
  1177. var childMap = {}
  1178. for (const index in this.advices) {
  1179. if (this.advices[index].parent_id == 0) {
  1180. continue
  1181. }
  1182. if (!(this.advices[index].parent_id in childMap)) {
  1183. childMap[this.advices[index].parent_id] = []
  1184. }
  1185. childMap[this.advices[index].parent_id].push(this.advices[index])
  1186. }
  1187. var advices = []
  1188. for (const index in this.advices) {
  1189. if (this.advices[index].parent_id > 0) {
  1190. continue
  1191. }
  1192. var item = this.advices[index]
  1193. if (item.id in childMap) {
  1194. item.children = childMap[item.id]
  1195. } else {
  1196. item.children = []
  1197. }
  1198. advices.push(item)
  1199. }
  1200. var leftAdvice = []
  1201. var rightAdvice = []
  1202. var adlen = advices.length
  1203. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1204. for (var i = 0; i < halfLen; i++) {
  1205. leftAdvice.push(advices[i])
  1206. rightAdvice.push(advices[i + halfLen])
  1207. }
  1208. if (halfLen < 5) {
  1209. var nl = 5 - leftAdvice.length
  1210. for (let index = 0; index < nl; index++) {
  1211. leftAdvice.push([])
  1212. }
  1213. var nl = 5 - rightAdvice.length
  1214. for (let index = 0; index < nl; index++) {
  1215. rightAdvice.push([])
  1216. }
  1217. }
  1218. this.advices = []
  1219. for (var i = 0; i < halfLen; i++) {
  1220. var item = []
  1221. item.push(leftAdvice[i])
  1222. item.push(rightAdvice[i])
  1223. this.advices.push(item)
  1224. }
  1225. this.loading = false
  1226. this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices
  1227. for (let index = 0; index < this.doctor_advices.length; index++) {
  1228. this.doctor_advices[index]['isShow'] = 2
  1229. }
  1230. if (this.doctor_advices.length > 0) {
  1231. var group = this.newAdviceGroupObject()
  1232. var initGroupBlock = function(group, advice) {
  1233. group.group_no = advice.groupno
  1234. }
  1235. for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  1236. var new_advice_index = 0
  1237. if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  1238. new_advice_index = index + this.doctor_advices[index].children.length + 1
  1239. var doctor_advice = {
  1240. delivery_way: this.doctor_advices[index].delivery_way,
  1241. execution_frequency: this.doctor_advices[index].execution_frequency,
  1242. groupno: this.doctor_advices[index].groupno,
  1243. id: this.doctor_advices[index].id,
  1244. parent_id: this.doctor_advices[index].parent_id,
  1245. children: this.doctor_advices[index].children,
  1246. remark: this.doctor_advices[index].remark,
  1247. execution_staff: this.doctor_advices[index].execution_staff,
  1248. checker: this.doctor_advices[index].checker,
  1249. execution_time: this.doctor_advices[index].execution_time,
  1250. advice_doctor: this.doctor_advices[index].advice_doctor
  1251. }
  1252. doctor_advice['isShow'] = 1
  1253. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1254. // this.doctor_advices.push(doctor_advice)
  1255. }
  1256. }
  1257. var templength = 0
  1258. if (this.doctor_advices.length > 12) {
  1259. templength = 12
  1260. } else {
  1261. templength = this.doctor_advices.length
  1262. }
  1263. for (let index = 0; index < templength; index++) {
  1264. const advice = this.doctor_advices[index]
  1265. if (advice.groupno == 0) {
  1266. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1267. if (advice.parent_id > 0) {
  1268. if (this.advice_groups.length > 0) {
  1269. var parent_group = this.advice_groups[
  1270. this.advice_groups.length - 1
  1271. ]
  1272. if (parent_group.advices.length > 0) {
  1273. if (parent_group.advices[0].id == advice.parent_id) {
  1274. parent_group.advices.push(advice)
  1275. }
  1276. }
  1277. }
  1278. continue
  1279. } else {
  1280. if (group.group_no > 0) {
  1281. this.advice_groups.push(group)
  1282. group = this.newAdviceGroupObject()
  1283. }
  1284. initGroupBlock(group, advice)
  1285. group.advices.push(advice)
  1286. this.advice_groups.push(group)
  1287. group = this.newAdviceGroupObject()
  1288. continue
  1289. }
  1290. }
  1291. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1292. this.advice_groups.push(group)
  1293. group = this.newAdviceGroupObject()
  1294. }
  1295. if (group.group_no == 0) {
  1296. initGroupBlock(group, advice)
  1297. }
  1298. if (group.group_no == advice.groupno) {
  1299. group.advices.push(advice)
  1300. }
  1301. if (index == 11) {
  1302. this.advice_groups.push(group)
  1303. group = this.newAdviceGroupObject()
  1304. }
  1305. }
  1306. if (this.doctor_advices.length > 12) {
  1307. for (let index = 12; index < this.doctor_advices.length; index++) {
  1308. const advice = this.doctor_advices[index]
  1309. if (advice.groupno == 0) {
  1310. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1311. if (advice.parent_id > 0) {
  1312. if (this.advice_groups_2.length > 0) {
  1313. var parent_group = this.advice_groups_2[
  1314. this.advice_groups_2.length - 1
  1315. ]
  1316. if (parent_group.advices.length > 0) {
  1317. if (parent_group.advices[0].id == advice.parent_id) {
  1318. parent_group.advices.push(advice)
  1319. }
  1320. }
  1321. }
  1322. continue
  1323. } else {
  1324. if (group.group_no > 0) {
  1325. this.advice_groups_2.push(group)
  1326. group = this.newAdviceGroupObject()
  1327. }
  1328. initGroupBlock(group, advice)
  1329. group.advices.push(advice)
  1330. this.advice_groups_2.push(group)
  1331. group = this.newAdviceGroupObject()
  1332. continue
  1333. }
  1334. }
  1335. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1336. this.advice_groups_2.push(group)
  1337. group = this.newAdviceGroupObject()
  1338. }
  1339. if (group.group_no == 0) {
  1340. initGroupBlock(group, advice)
  1341. }
  1342. if (group.group_no == advice.groupno) {
  1343. group.advices.push(advice)
  1344. }
  1345. }
  1346. }
  1347. if (group.group_no > 0) {
  1348. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1349. if (this.doctor_advices.length > 10) {
  1350. this.advice_groups_2.push(group)
  1351. } else {
  1352. this.advice_groups.push(group)
  1353. }
  1354. }
  1355. }
  1356. } else {
  1357. this.loading = false
  1358. this.$message.error('请求数据失败')
  1359. return false
  1360. }
  1361. // })
  1362. },
  1363. bloodAccessParOperaName(id) {
  1364. if (id in this.bloodAccessParOpera) {
  1365. return this.bloodAccessParOpera[id].name
  1366. }
  1367. return ''
  1368. },
  1369. dialysateFormulationName(id) {
  1370. if (id in this.dialysateFormulationOptions) {
  1371. return this.dialysateFormulationOptions[id].name
  1372. }
  1373. return ''
  1374. }, getAge: function(val) {
  1375. if (this.org_template_info.template_id == 2) {
  1376. if (val.age == 0) {
  1377. return jsGetAge(val.birth, '-')
  1378. } else {
  1379. return val.age
  1380. }
  1381. } else {
  1382. return jsGetAge(val.birth, '-')
  1383. }
  1384. }, newAdviceGroupObject: function() {
  1385. return Object.assign(
  1386. {},
  1387. {
  1388. group_no: 0,
  1389. // advice_doctor: 0,
  1390. // start_time: 0,
  1391. advices: []
  1392. // exec_staff: 0,
  1393. // exec_time: 0,
  1394. // checker: 0,
  1395. }
  1396. )
  1397. }, getFloat: function(x) {
  1398. if (x != '.') {
  1399. var f = Math.round(x * 100) / 100
  1400. var s = f.toString()
  1401. var rs = s.indexOf('.')
  1402. if (rs <= 0) {
  1403. rs = s.length
  1404. s += '.'
  1405. }
  1406. while (s.length <= rs + 1) {
  1407. s += '0'
  1408. }
  1409. return s
  1410. } else {
  1411. return '0.0'
  1412. }
  1413. }
  1414. },
  1415. watch: {
  1416. 'patientInfo.gender': function() {
  1417. if (this.patientInfo.gender == 1) {
  1418. this.patientInfo_gender_1 = true
  1419. this.patientInfo_gender_2 = false
  1420. } else if (this.patientInfo.gender == 2) {
  1421. this.patientInfo_gender_2 = true
  1422. this.patientInfo_gender_1 = false
  1423. } else {
  1424. this.patientInfo_gender_2 = false
  1425. this.patientInfo_gender_1 = false
  1426. }
  1427. },
  1428. 'patientInfo.source': function() {
  1429. if (this.patientInfo.source == 1) {
  1430. this.patientInfo_source_1 = true
  1431. this.patientInfo_source_2 = false
  1432. } else if (this.patientInfo.source == 2) {
  1433. this.patientInfo_source_2 = true
  1434. this.patientInfo_source_1 = false
  1435. } else {
  1436. this.patientInfo_source_2 = false
  1437. this.patientInfo_source_1 = false
  1438. }
  1439. }
  1440. },
  1441. created() {
  1442. var xtuser = this.$store.getters.xt_user
  1443. this.orgname = xtuser.org.org_name
  1444. // this.orgname = "遂溪方济医院";
  1445. this.modeOptions = this.$store.getters.treatment_mode
  1446. this.replacementWays = this.$store.getters.replacement_ways
  1447. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  1448. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1449. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1450. var bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1451. for (var key in bloodAccessParOpera) {
  1452. this.bloodAccessParOpera[bloodAccessParOpera[key].id] = bloodAccessParOpera[key]
  1453. }
  1454. var dialysateFormulationOptions = getDataConfig('hemodialysis', 'dialysate_formulation')
  1455. for (var key in dialysateFormulationOptions) {
  1456. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] = dialysateFormulationOptions[key]
  1457. }
  1458. const xtdate = this.$route.query && this.$route.query.xtdate
  1459. const xtno = this.$route.query && this.$route.query.xtno
  1460. if (typeof (xtdate) === 'string' && xtdate.length > 0 && typeof (xtno) === 'string' && xtno.length > 0) {
  1461. this.queryParams.xtdate = xtdate
  1462. this.queryParams.xtno = xtno
  1463. this.getDialysisRecord()
  1464. } else {
  1465. this.$message.error('参数不齐')
  1466. return false
  1467. }
  1468. }
  1469. }
  1470. </script>
  1471. <style>
  1472. .print_page_main_content {
  1473. background-color: white;
  1474. width: 960px;
  1475. margin: 0 auto 50px;
  1476. padding: 0 0 0 0;
  1477. page-break-after: always;
  1478. }
  1479. .print_page_main_content .order-yy-name {
  1480. margin: auto;
  1481. text-align: center;
  1482. font-size: 20px;
  1483. letter-spacing: 5px;
  1484. }
  1485. .print_page_main_content .order_title {
  1486. text-align: center;
  1487. font-size: 23px;
  1488. line-height: 50px;
  1489. font-weight: 500;
  1490. }
  1491. .row {
  1492. font-size: 14px;
  1493. line-height: 20px;
  1494. padding: 5px 0;
  1495. }
  1496. .inline_block {
  1497. display: inline-block;
  1498. }
  1499. .under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}
  1500. .under_line_two::before {content: "\00A0";}
  1501. .under_line_two::after {content: "\00A0";}
  1502. .under_line {
  1503. display: inline-block;
  1504. border-bottom: 1px solid #999;
  1505. text-align: center;
  1506. white-space: nowrap;
  1507. width: 50%;
  1508. }
  1509. .under_line::before {
  1510. content: "\00A0";
  1511. }
  1512. .under_line::after {
  1513. content: "\00A0";
  1514. }
  1515. .flex {
  1516. display: -webkit-box;
  1517. display: -moz-box;
  1518. display: -ms-flexbox;
  1519. display: -webkit-flex;
  1520. display: flex;
  1521. align-items: center;
  1522. -webkit-align-items: center;
  1523. box-align: center;
  1524. -moz-box-align: center;
  1525. -webkit-box-align: center;
  1526. text-align: center;
  1527. -webkit-justify-content: space-between;
  1528. justify-content: space-between;
  1529. -moz-box-pack: space-between;
  1530. -webkit--moz-box-pack: space-between;
  1531. box-pack: space-between;
  1532. }
  1533. .print_page_main_content .proj_table {
  1534. width: 100%;
  1535. border: 1px solid;
  1536. border-collapse: collapse;
  1537. padding: 2px;
  1538. }
  1539. .print_page_main_content .proj_table tbody tr td {
  1540. border: 1px solid;
  1541. /* text-align: center; */
  1542. font-size: 16px;
  1543. padding: 10px 8px;
  1544. line-height: 30px;
  1545. }
  1546. .print_page_main_content .proj_table .inside_table {
  1547. width: 100%;
  1548. border: hidden; /* 解决边框冲突 */
  1549. border-collapse: collapse;
  1550. }
  1551. .print_page_main_content .proj_table .inside_table tr td {
  1552. border: 1px solid;
  1553. text-align: center;
  1554. font-size: 14px;
  1555. padding: 8px 5px;
  1556. line-height: 25px;
  1557. }
  1558. .print-table-no {
  1559. width: 100%;
  1560. text-align: center;
  1561. border-collapse: collapse;
  1562. font-size: 14px;
  1563. }
  1564. .es-img {
  1565. height: 25px;
  1566. }
  1567. .advice-name {
  1568. text-align: left !important;
  1569. line-height: 16px !important;
  1570. }
  1571. .advice-children {
  1572. display: flex;
  1573. }
  1574. .margin-bottom-300 {
  1575. margin-bottom:300px;
  1576. }
  1577. .margin-bottom-600 {
  1578. margin-bottom:600px;
  1579. }
  1580. .margin-bottom-900 {
  1581. margin-bottom:900px;
  1582. }
  1583. </style>