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

DialysisPrintOrderTwentySix.vue 85KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div class="dialysis-print-order">
  4. <div class="order-yy-name">{{ orgname }}</div>
  5. <div class="order-title">血液透析治疗记录单</div>
  6. <table class="print-table" border="1" style="margin-top: 10px;">
  7. <tbody>
  8. <tr>
  9. <td colspan="2" style="padding-left:5px;border:none;text-align: left;">
  10. 治疗日期:{{ queryParams.xtdate ? queryParams.xtdate : "/" }}
  11. </td>
  12. <td width="120" style="padding-left:5px;border:none;text-align: left;">
  13. <div>
  14. 姓 名:&nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
  15. </div>
  16. </td>
  17. <td width="120" style="border:none;text-align: left;">
  18. 性 别:
  19. <span>{{ patientInfo.gender ? patientInfo.gender : "/" }}</span>
  20. </td>
  21. <td width="120" style="border:none;text-align: left;">
  22. 年 龄:
  23. <span>{{ getNewAge(patientInfo.id_card_no) }}</span>
  24. </td>
  25. <td width="80" style="border:none">透析机号:</td>
  26. <td width="80" style="border:none;text-align: left;">
  27. <div>
  28. {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
  29. </div>
  30. </td>
  31. <!-- <td width="1"></td> -->
  32. <td width="50" style="border:none">住院号:</td>
  33. <td width="80" style="border:none;text-align: left;" colspan="3">
  34. <div>{{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number : "" }}</div>
  35. </td>
  36. </tr>
  37. <tr>
  38. <td colspan="2" style="padding-left:5px;border-left:none;border-right:none;text-align: left;">
  39. <div>
  40. 体 温:&nbsp;{{ predialysis.temperature ? predialysis.temperature : "" }}&nbsp;℃
  41. </div>
  42. </td>
  43. <td colspan="2" style="border-left:none;border-right:none;text-align: left;">
  44. 脉 搏:
  45. <span>{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}</span>&nbsp;次/分
  46. </td>
  47. <td colspan="2" style="border-left:none;border-right:none;text-align: left;">
  48. 呼吸频次:
  49. <span>{{ predialysis.breathing_rate ? predialysis.breathing_rate : "" }}</span>&nbsp;次/分
  50. </td>
  51. <td colspan="5" style="border-left:none;border-right:none;text-align: left;">
  52. 血压:
  53. <span>
  54. {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}/
  55. {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}&nbsp;mmHg
  56. </span>
  57. </td>
  58. </tr>
  59. <tr style="text-align:left">
  60. <td colspan="11" style="padding-left:5px">
  61. 上机前病情:{{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "" }}
  62. </td>
  63. </tr>
  64. <tr style="text-align:left">
  65. <td colspan="8" style="padding-left:5px">
  66. 治疗方式:&nbsp;
  67. <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>&nbsp;
  68. <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>&nbsp; (
  69. <label-box :isChecked="prescription.displace_liqui_part == 1 ? true : false" showValue="前稀释"></label-box>
  70. <label-box :isChecked="prescription.displace_liqui_part == 2 ? true : false" showValue="后稀释"></label-box>
  71. <span>
  72. ,置换量
  73. <span style="width:50px;display: inline-block;">
  74. {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}
  75. </span>
  76. L
  77. </span>
  78. <label-box :isChecked="prescription.mode_id > 2 ? true : false" showValue="其他:"></label-box>
  79. <span v-if="prescription.mode_id == 3">{{ prescription.mode_id == 3 ? "HD+HP" : "" }}</span>
  80. <span v-if="prescription.mode_id == 4">{{ prescription.mode_id == 4 ? "HP" : "" }}</span>
  81. <span v-if="prescription.mode_id == 5">{{ prescription.mode_id == 5 ? "HF" : "" }}</span>
  82. <span v-if="prescription.mode_id == 6">{{ prescription.mode_id == 6 ? "SCUF" : "" }}</span>
  83. <span v-if="prescription.mode_id == 7">{{ prescription.mode_id == 7 ? "IUF" : "" }}</span>
  84. <span v-if="prescription.mode_id == 8">{{ prescription.mode_id == 8 ? "HFHD" : "" }}</span>
  85. <span v-if="prescription.mode_id == 9">{{ prescription.mode_id == 9 ? "HFHD+HP" : "" }}</span>
  86. <span v-if="prescription.mode_id == 10">{{ prescription.mode_id == 10 ? "PHF" : "" }}</span>
  87. <span v-if="prescription.mode_id == 11">{{ prescription.mode_id == 11 ? "HFR" : "" }}</span>
  88. <span v-if="prescription.mode_id == 12">{{ prescription.mode_id == 12 ? "HDF+HP" : "" }}</span>
  89. <span v-if="prescription.mode_id == 13">{{ prescription.mode_id == 13 ? "CRRT" : "" }}</span>
  90. <span v-if="prescription.mode_id == 14">{{ prescription.mode_id == 14 ? "腹水回输" : "" }}</span>
  91. </td>
  92. <td colspan="3" style="border-left:1px solid #000;padding-left:5px">
  93. 治疗时间:
  94. <span>
  95. &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}小时
  96. {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}分钟
  97. </span>
  98. </td>
  99. </tr>
  100. <tr style="text-align:left">
  101. <td colspan="11" style="padding-left:5px">
  102. 治疗抗凝:
  103. <label-box :isChecked="prescription.anticoagulant == '低分子肝素钙' ? true : prescription.anticoagulant == '低分子肝素钠' ? true : false" showValue="低分子肝素:"></label-box>
  104. <span style="width:50px;display: inline-block;">
  105. {{ prescription.anticoagulant_zongliang && (prescription.anticoagulant == "低分子肝素钙" || prescription.anticoagulant == "低分子肝素钠") ? prescription.anticoagulant_zongliang : "" }}
  106. </span>iu&nbsp;
  107. <label-box :isChecked="prescription.anticoagulant == '普通肝素' ? true : false" showValue="普通肝素:"></label-box>
  108. 首剂:
  109. <span style="width:35px;display: inline-block;">
  110. {{ prescription.anticoagulant_shouji && (prescription.anticoagulant != "低分子肝素钙" && prescription.anticoagulant != "低分子肝素钠") && prescription.anticoagulant == "普通肝素" ? prescription.anticoagulant_shouji : "" }}
  111. </span>
  112. <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
  113. <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
  114. <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
  115. <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
  116. <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
  117. <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
  118. <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp;
  119. 追加:
  120. <span style="width:35px;display: inline-block;">
  121. {{ prescription.anticoagulant_weichi && prescription.anticoagulant == "普通肝素" ? prescription.anticoagulant_weichi : "" }}
  122. </span>
  123. <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
  124. <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
  125. <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
  126. <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
  127. <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
  128. <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
  129. <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>
  130. &nbsp; 总量:
  131. <span style="width:50px;display: inline-block;">
  132. {{ prescription.anticoagulant_zongliang && prescription.anticoagulant == "普通肝素" ? prescription.anticoagulant_zongliang : "" }}
  133. </span>
  134. <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
  135. <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
  136. <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
  137. <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
  138. <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
  139. <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
  140. <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
  141. &nbsp;
  142. <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素:"></label-box>
  143. <label-box :isChecked="prescription.anticoagulant == '枸橼酸钠' ? true : false" showValue="枸橼酸"></label-box>
  144. </td>
  145. </tr>
  146. <tr style="text-align:left">
  147. <td colspan="7" style="padding-left:5px">
  148. 处方脱水量:
  149. <span style="width:50px;display: inline-block;">
  150. {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}
  151. </span>ml; 透析液流量:
  152. <span style="width:50px;display: inline-block;">
  153. {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}
  154. </span>ml/min;
  155. 血流量:
  156. <span style="width:50px;display: inline-block;">
  157. {{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "" }}
  158. </span>ml/min;
  159. </td>
  160. <td colspan="4" style="padding-left:5px;border-left:1px solid #000;padding-left:5px">
  161. 医师签名:
  162. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  163. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  164. </td>
  165. </tr>
  166. <tr style="text-align:left">
  167. <td colspan="2" style="padding-left:5px">
  168. 透析机:{{ predialysis.machine_type ? predialysis.machine_type : "" }}
  169. </td>
  170. <td colspan="2" style="padding-left:5px;border-left:1px solid #000;">
  171. 透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}
  172. </td>
  173. <td colspan="7" style="padding-left:5px;border-left:1px solid #000;">
  174. 透析液:钠:
  175. <span style="width:40px;display: inline-block;">
  176. {{ prescription.sodium ? prescription.sodium : "" }}
  177. </span>mmol/L&nbsp; 钙:
  178. <span style="width:40px;display: inline-block;">
  179. {{ prescription.calcium ? prescription.calcium : "" }}
  180. </span>mmol/L&nbsp; 碳酸氢根:
  181. <span style="width:40px;display: inline-block;">
  182. {{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
  183. </span>mmol/L
  184. </td>
  185. </tr>
  186. <tr style="text-align:left">
  187. <td colspan="11" style="padding-left:5px">
  188. 血管通路:
  189. <label-box :isChecked="predialysis.blood_access_part_opera_name == '内瘘' ? true : false" showValue="内瘘"></label-box>&nbsp;
  190. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期静脉导管') > -1 ? true : false" showValue="长期静脉导管"></label-box>&nbsp;
  191. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="临时颈内静脉导管"></label-box>&nbsp;
  192. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="临时股静脉导管"></label-box>&nbsp;
  193. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('移植血管') > -1 ? true : false" showValue="其他"></label-box>&nbsp;
  194. <span style="width:50px;display: inline-block;"></span>
  195. 穿刺者:
  196. <span style="width:50px;display: inline-block;">
  197. <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
  198. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
  199. </span>
  200. <img class="es-img" style="height:30px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt srcset v-else />
  201. </span>
  202. </td>
  203. </tr>
  204. </tbody>
  205. </table>
  206. <!-- <table class="print-table" border="1" style="margin-top:10px">
  207. <tbody>
  208. <tr>
  209. <td>
  210. <table class="table-box">
  211. <tr>
  212. <td style="text-align:left;margin-left:15px">
  213. 病情评估:
  214. <span class="under-line"
  215. >&nbsp;{{
  216. receiverTreatmentAccess.sick_condition
  217. ? receiverTreatmentAccess.sick_condition
  218. : "/"
  219. }}</span
  220. >
  221. </td>
  222. <td style="text-align:left;margin-left:15px">
  223. 入科方式:
  224. <span class="under-line"
  225. >&nbsp;
  226. {{
  227. receiverTreatmentAccess.way
  228. ? receiverTreatmentAccess.way
  229. : "/"
  230. }}
  231. </span>
  232. </td>
  233. <td style="text-align:left;margin-left:15px" colspan="2">
  234. 透析次数:
  235. <span class="under-line">&nbsp;{{ total }}</span>
  236. </td>
  237. </tr>
  238. <tr>
  239. <td style="text-align:left;margin-left:15px">
  240. 净化治疗方式:
  241. <span class="under-line"
  242. >&nbsp;{{
  243. prescription.mode ? prescription.mode : "/"
  244. }}</span
  245. >
  246. </td>
  247. <td style="text-align:left;margin-left:15px">
  248. 透析器型号:
  249. <span
  250. class="under-line"
  251. v-if="
  252. prescription.mode_id != 3 &&
  253. prescription.mode_id != 4 &&
  254. prescription.mode_id != 12 &&
  255. prescription.mode_id != 9
  256. "
  257. >&nbsp;{{
  258. prescription.dialyzer_perfusion_apparatus
  259. ? prescription.dialyzer_perfusion_apparatus
  260. : "/"
  261. }}</span
  262. >
  263. <span class="under-line" v-else>
  264. /
  265. </span>
  266. </td>
  267. <td style="text-align:left;margin-left:15px">
  268. 灌流器型号:
  269. <span
  270. class="under-line"
  271. v-if="
  272. prescription.mode_id == 3 ||
  273. prescription.mode_id == 4 ||
  274. prescription.mode_id == 9 ||
  275. prescription.mode_id == 12
  276. "
  277. >&nbsp;{{
  278. prescription.dialyzer_perfusion_apparatus
  279. ? prescription.dialyzer_perfusion_apparatus
  280. : "/"
  281. }}</span
  282. >
  283. <span v-else class="under-line">
  284. /
  285. </span>
  286. </td>
  287. <td style="text-align:left;margin-left:15px">
  288. 血管通路:
  289. <span class="under-line"
  290. >&nbsp;{{
  291. predialysis.blood_access_part_opera_name
  292. ? predialysis.blood_access_part_opera_name
  293. : "/"
  294. }}</span
  295. >
  296. </td>
  297. </tr>
  298. <tr>
  299. <td style="text-align:left;margin-left:15px">
  300. 干体重:
  301. <span class="under-line"
  302. >&nbsp;{{
  303. predialysis.dry_weight ? predialysis.dry_weight : "0"
  304. }}</span
  305. >kg
  306. </td>
  307. <td style="text-align:left;margin-left:15px">
  308. 透前体重:
  309. <span class="under-line"
  310. >&nbsp;{{
  311. predialysis.weight_before
  312. ? predialysis.weight_before
  313. : "0"
  314. }}</span
  315. >kg
  316. </td>
  317. <td style="text-align:left;margin-left:15px">
  318. 预脱:
  319. <span class="under-line"
  320. >&nbsp;{{
  321. prescription.target_ultrafiltration
  322. ? prescription.target_ultrafiltration
  323. : "0"
  324. }}</span
  325. >L
  326. </td>
  327. <td style="text-align:left;margin-left:15px">
  328. 治疗时间:
  329. <span class="under-line"
  330. >&nbsp;{{
  331. prescription.dialysis_duration_hour
  332. ? prescription.dialysis_duration_hour
  333. : "0"
  334. }}小时{{
  335. prescription.dialysis_duration_minute
  336. ? prescription.dialysis_duration_minute
  337. : "0"
  338. }}分钟</span
  339. >
  340. </td>
  341. </tr>
  342. <tr>
  343. <td style="text-align:left;margin-left:15px">
  344. 血流量:
  345. <span class="under-line"
  346. >&nbsp;{{
  347. prescription.blood_flow_volume
  348. ? prescription.blood_flow_volume
  349. : "0"
  350. }}</span
  351. >ml/min
  352. </td>
  353. <td style="text-align:left;margin-left:15px">
  354. 置换方式:
  355. <span class="under-line"
  356. >&nbsp;
  357. {{
  358. getDisplaceLiquiPart(prescription.displace_liqui_part)
  359. }}</span
  360. >
  361. </td>
  362. <td style="text-align:left;margin-left:15px">
  363. 置换液总量:
  364. <span class="under-line"
  365. >&nbsp;{{
  366. prescription.displace_liqui_value
  367. ? prescription.displace_liqui_value
  368. : "0"
  369. }}</span
  370. >
  371. </td>
  372. </tr>
  373. <tr>
  374. <td style="text-align:left;margin-left:15px">
  375. 抗凝剂:
  376. <span class="under-line"
  377. >&nbsp;{{
  378. prescription.anticoagulant
  379. ? prescription.anticoagulant
  380. : "/"
  381. }}</span
  382. >
  383. </td>
  384. <td style="text-align:left;margin-left:15px">
  385. 首剂:<span class="under-line">{{
  386. prescription.anticoagulant_shouji
  387. ? prescription.anticoagulant_shouji
  388. : "0"
  389. }}</span>
  390. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  391. >mg</span
  392. >
  393. <span v-if="prescription.anticoagulant == '阿加曲班'"
  394. >mg</span
  395. >
  396. <span v-if="prescription.anticoagulant == '低分子肝素'"
  397. >iu</span
  398. >
  399. <span v-if="prescription.anticoagulant == '普通肝素'"
  400. >iu</span
  401. >
  402. <span v-if="prescription.anticoagulant == '无肝素'"
  403. >mg</span
  404. >
  405. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  406. >iu</span
  407. >
  408. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  409. >iu</span
  410. >&nbsp;
  411. </td>
  412. <td style="text-align:left;margin-left:15px">
  413. 维持:
  414. <span class="under-line"
  415. >&nbsp;{{
  416. prescription.anticoagulant_weichi
  417. ? prescription.anticoagulant_weichi
  418. : "0"
  419. }}</span
  420. >
  421. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  422. >ml/h</span
  423. >
  424. <span v-if="prescription.anticoagulant == '阿加曲班'"
  425. >mg/h</span
  426. >
  427. <span v-if="prescription.anticoagulant == '低分子肝素'"
  428. >iu/h</span
  429. >
  430. <span v-if="prescription.anticoagulant == '普通肝素'"
  431. >iu/h</span
  432. >
  433. <span v-if="prescription.anticoagulant == '无肝素'"
  434. >mg/h</span
  435. >
  436. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  437. >iu/h</span
  438. >
  439. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  440. >iu/h</span
  441. >
  442. </td>
  443. <td style="text-align:left;margin-left:15px">
  444. 总量:<span class="under-line"
  445. >&nbsp;{{
  446. prescription.anticoagulant_zongliang
  447. ? prescription.anticoagulant_zongliang
  448. : "0"
  449. }}</span
  450. >
  451. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  452. >mg</span
  453. >
  454. <span v-if="prescription.anticoagulant == '阿加曲班'"
  455. >mg</span
  456. >
  457. <span v-if="prescription.anticoagulant == '低分子肝素'"
  458. >iu</span
  459. >
  460. <span v-if="prescription.anticoagulant == '普通肝素'"
  461. >iu</span
  462. >
  463. <span v-if="prescription.anticoagulant == '无肝素'"
  464. >mg</span
  465. >
  466. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  467. >iu</span
  468. >
  469. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  470. >iu</span
  471. >
  472. </td>
  473. </tr>
  474. <tr>
  475. <td style="text-align:left;margin-left:15px">
  476. 透析液(mmol/L):
  477. <span
  478. class="under-line"
  479. v-if="prescription.dialysate_formulation == 0"
  480. >&nbsp; 常规(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
  481. </span>
  482. <span
  483. class="under-line"
  484. v-if="prescription.dialysate_formulation == 1"
  485. >&nbsp; 常规(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  486. prescription.calcium
  487. }}&nbsp;,钠:{{ prescription.sodium }})
  488. </span>
  489. <span
  490. class="under-line"
  491. v-if="prescription.dialysate_formulation == 2"
  492. >&nbsp; 低钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  493. prescription.calcium
  494. }}&nbsp;,钠:{{ prescription.sodium }})
  495. </span>
  496. <span
  497. class="under-line"
  498. v-if="prescription.dialysate_formulation == 3"
  499. >&nbsp; 高钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  500. prescription.calcium
  501. }}&nbsp;,钠:{{ prescription.sodium }})
  502. </span>
  503. <span
  504. class="under-line"
  505. v-if="prescription.dialysate_formulation == 4"
  506. >&nbsp; 低钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  507. prescription.calcium
  508. }}&nbsp;,钠:{{ prescription.sodium }})
  509. </span>
  510. <span
  511. class="under-line"
  512. v-if="prescription.dialysate_formulation == 5"
  513. >&nbsp; 高钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  514. prescription.calcium
  515. }}&nbsp;,钠:{{ prescription.sodium }})
  516. </span>
  517. </td>
  518. <td style="text-align:left;margin-left:15px">
  519. 并发症:
  520. <span class="under-line">{{
  521. predialysis.complication ? predialysis.complication : "/"
  522. }}</span>
  523. </td>
  524. <td style="text-align:left;margin-left:15px">
  525. 医生签名:
  526. <span class="under-line" v-if="doctorForm.url == ''"
  527. >&nbsp;{{
  528. doctorForm.doctor ? doctorForm.doctor : "/"
  529. }}</span
  530. >
  531. <span class="under-line" v-if="doctorForm.url != ''">
  532. <img style="height:40px" :src="doctorForm.url" />
  533. </span>
  534. </td>
  535. </tr>
  536. </table>
  537. </td>
  538. </tr>
  539. </tbody>
  540. </table>-->
  541. <table class="print-table" border="1" style="border-top:none;">
  542. <tr style="text-align:center">
  543. <td colspan="14" style="margin-left:15px;font-size:20px">
  544. 治 疗 过 程 记 录
  545. </td>
  546. </tr>
  547. <tr>
  548. <td style="width:60px" rowspan="2">时间</td>
  549. <td colspan="5">透析参数</td>
  550. <td colspan="4">生命体征</td>
  551. <td colspan="2">治疗中病情变化</td>
  552. <td style="width:80px" rowspan="2">护士签名</td>
  553. </tr>
  554. <tr>
  555. <th style="width:70px">
  556. <p style="height:20px;line-height:20px">静脉压</p>
  557. <p style="height:20px;line-height:20px">mmHg</p>
  558. </th>
  559. <th style="width:70px">
  560. <p style="height:20px;line-height:20px">置换率</p>
  561. <p style="height:20px;line-height:20px">ml/h</p>
  562. </th>
  563. <th style="width:70px">
  564. <p style="height:20px;line-height:20px">超滤率</p>
  565. <p style="height:20px;line-height:20px">ml/h</p>
  566. </th>
  567. <th style="width:70px">
  568. <p style="height:20px;line-height:20px">血流量</p>
  569. <p style="height:20px;line-height:20px">ml/min</p>
  570. </th>
  571. <th style="width:70px">
  572. <p style="height:20px;line-height:20px">脱水量</p>
  573. <p style="height:20px;line-height:20px">ml</p>
  574. </th>
  575. <th style="width:30px">
  576. <p style="height:20px;line-height:20px">T</p>
  577. <p style="height:20px;line-height:20px">℃</p>
  578. </th>
  579. <th style="width:50px">
  580. <p style="height:20px;line-height:20px">HR</p>
  581. <p style="height:20px;line-height:20px">bpm</p>
  582. </th>
  583. <th style="width:50px">
  584. <p style="height:20px;line-height:20px">R</p>
  585. <p style="height:20px;line-height:20px">bpm</p>
  586. </th>
  587. <th style="width:80px">
  588. <p style="height:20px;line-height:20px">BP</p>
  589. <p style="height:20px;line-height:20px">mmHg</p>
  590. </th>
  591. <!-- <th style="width:50px">
  592. <p style="height:20px;line-height:20px">
  593. Spo
  594. <sub>2</sub>
  595. </p>
  596. <p style="height:20px;line-height:20px">%</p>
  597. </th> -->
  598. <th style="width:333px">
  599. <p style="height:20px;line-height:20px">
  600. 记&nbsp;&nbsp;&nbsp;&nbsp;录
  601. </p>
  602. </th>
  603. <!-- <td style="width:80px">护士签名</td> -->
  604. </tr>
  605. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  606. <td style="min-width:60px;height:30px">
  607. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  608. </td>
  609. <td>
  610. <span v-if="getTime(monitor.operate_time) != ''">
  611. {{ monitor.venous_pressure ? monitor.venous_pressure : "0" }}
  612. </span>
  613. </td>
  614. <td>
  615. <span v-if="getTime(monitor.operate_time) != ''">
  616. &nbsp;{{monitor.replacement_rate ? monitor.replacement_rate : "0" }}
  617. </span>
  618. </td>
  619. <td>
  620. <span v-if="getTime(monitor.operate_time) != ''">
  621. {{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '0' }}
  622. </span>
  623. </td>
  624. <td>
  625. <span v-if="getTime(monitor.operate_time) != ''">
  626. {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "0" }}
  627. </span>
  628. </td>
  629. <td>
  630. <span v-if="getTime(monitor.operate_time) != ''">
  631. {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}
  632. </span>
  633. </td>
  634. <td>
  635. <span v-if="getTime(monitor.operate_time) != ''">
  636. {{ monitor.temperature ? monitor.temperature : "0" }}
  637. </span>
  638. </td>
  639. <td>
  640. <span v-if="getTime(monitor.operate_time) != ''">
  641. {{ monitor.pulse_frequency ? monitor.pulse_frequency : "0" }}
  642. </span>
  643. </td>
  644. <td>
  645. <span v-if="getTime(monitor.operate_time) != ''">
  646. {{ monitor.breathing_rate ? monitor.breathing_rate : "0" }}
  647. </span>
  648. </td>
  649. <td>
  650. <span v-if="getTime(monitor.operate_time) != ''">
  651. {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  652. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  653. </span>
  654. </td>
  655. <!-- <td>
  656. <span v-if="getTime(monitor.operate_time) != ''">
  657. {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "0" }}
  658. </span>
  659. </td> -->
  660. <td>
  661. <span v-if="monitor.symptom || monitor.dispose || monitor.result">
  662. {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
  663. </span>
  664. </td>
  665. <td width="0" style="border:none;visibility: hidden;padding:0"></td>
  666. <td>
  667. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  668. {{ getAdminUser(monitor.monitoring_nurse) }}
  669. </span>
  670. <img class="es-img" style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset v-else />
  671. </td>
  672. </tr>
  673. </table>
  674. <table class="print-table" border="1">
  675. <tbody>
  676. <tr>
  677. <td style="width:130px;height:40px">时间</td>
  678. <td colspan="5" style="width:560px;height:40px">医嘱执行记录</td>
  679. <td colspan="2" style="width:110px;height:40px">医生签名</td>
  680. <td colspan="2" style="width:108px;height:40px">执行</td>
  681. <td colspan="3" style="width:130px;height:40px">执行时间</td>
  682. <!-- <td style="width:60px;height:60px">
  683. <p style="height:20px;line-height:20px">核对</p>
  684. </td>
  685. <td style="width:60px;height:40px">
  686. <p style="height:20px;line-height:20px">上次透后体重</p>
  687. </td>
  688. <td style="width:60px;height:40px">
  689. {{
  690. assessmentafter.weight_after
  691. ? assessmentafter.weight_after
  692. : "0"
  693. }}kg
  694. </td>-->
  695. </tr>
  696. <tr v-for="(advice, advice_index) in tableAdvice" style="height:30px">
  697. <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  698. <td colspan="5" style="height:30px;">
  699. <span v-if="advice.parent_id > 0">---></span>
  700. <span>{{ advice.advice_name }}</span>
  701. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
  702. <span v-if="advice.prescribing_number">
  703. &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}
  704. </span>
  705. <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
  706. <span v-if="advice.parent_id == 0">
  707. {{ advice.delivery_way }}
  708. </span>
  709. <span v-if="advice.parent_id == 0">
  710. {{ advice.execution_frequency }}
  711. </span>
  712. </td>
  713. <td colspan="2">
  714. <span v-if="setAdminUserES(advice.advice_doctor) == ''">
  715. {{ getAdminUser(advice.advice_doctor) }}
  716. </span>
  717. <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset v-else />
  718. </td>
  719. <td colspan="2" style="height:40px">
  720. <span v-if="setAdminUserES(advice.execution_staff) == ''">
  721. {{ getAdminUser(advice.execution_staff) }}
  722. </span>
  723. <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
  724. </td>
  725. <td colspan="3" style="width:130px;">
  726. {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
  727. </td>
  728. <!-- <td>
  729. <span v-if="setAdminUserES(advice.checker) == ''">{{
  730. getAdminUser(advice.checker)
  731. }}</span>
  732. <img
  733. style="height:40px;"
  734. :src="setAdminUserES(advice.checker)"
  735. alt=""
  736. srcset=""
  737. v-else
  738. />
  739. </td>
  740. <td v-if="advice_index === 0">透前体重:</td>
  741. <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
  742. <td v-if="advice_index === 1">体重增加量:</td>
  743. <td v-if="advice_index === 1"></td>
  744. <td v-if="advice_index === 2">干体重(DW):</td>
  745. <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
  746. <td v-if="advice_index === 3">较干体重增加量:</td>
  747. <td v-if="advice_index === 3">
  748. {{
  749. (
  750. predialysis.weight_before -
  751. predialysis.dry_weight -
  752. predialysis.additional_weight
  753. ).toFixed(2)
  754. }}kg
  755. </td>
  756. <td v-if="advice_index === 4">净脱水量:</td>
  757. <td v-if="advice_index === 4">
  758. {{ afterdialysis.actual_ultrafiltration }}L
  759. </td>
  760. <td v-if="advice_index === 5">透后体重:</td>
  761. <td v-if="advice_index === 5">
  762. {{ afterdialysis.weight_after }}kg
  763. </td>-->
  764. </tr>
  765. </tbody>
  766. </table>
  767. <table class="print-table" border="1" style="border-top:none;">
  768. <tbody>
  769. <tr>
  770. <td width="100" style="padding-left:5px;border:none">透前体重:</td>
  771. <td width="120" style="border:none;text-align:left;border:none;">
  772. <div>
  773. &nbsp;
  774. <span style="width:70px;display:inline-block">
  775. {{ predialysis.weight_before ? predialysis.weight_before : "" }}
  776. </span>Kg
  777. </div>
  778. </td>
  779. <!-- <td width="100" style="border:none;"></td> -->
  780. <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px;">
  781. 干体重:
  782. </td>
  783. <td width="180" style="text-align:left;border:none;">
  784. <div>
  785. <span style="width:70px;display:inline-block;border:none;">
  786. {{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
  787. </span>Kg
  788. </div>
  789. </td>
  790. <!-- <td width="10" style="border:none;"></td> -->
  791. <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px;">
  792. 实际脱水量:
  793. </td>
  794. <td width="130" style="text-align:left;border:none;">
  795. <div>
  796. <span style="width:70px;display:inline-block">
  797. {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
  798. </span>ml
  799. </div>
  800. </td>
  801. <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px">
  802. 透后体重:
  803. </td>
  804. <td width="180" style="text-align:left;border:none;">
  805. <div>
  806. <span style="width:70px;display:inline-block">
  807. {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : "" }}
  808. </span>Kg
  809. </div>
  810. </td>
  811. </tr>
  812. </tbody>
  813. </table>
  814. <table class="print-table" border="1" style="border-top:none;">
  815. <tbody>
  816. <tr>
  817. <td width="100" style="padding-left:5px;border:none;border-right:1px solid #000;">
  818. 透后评估
  819. </td>
  820. <td width="100" style="border:none;padding-left:5px;">
  821. 透析器凝血:
  822. </td>
  823. <td width="100" style="text-align:left;border:none;">
  824. <div>
  825. <span style="width:100px;display:inline-block;border:none;">
  826. {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
  827. </span>
  828. </div>
  829. </td>
  830. <!-- <td width="10" style="border:none;"></td> -->
  831. <td width="70" style="border:none;padding-left:5px;">内瘘:</td>
  832. <td width="200" style="text-align:left;border:none;line-height: 30px;">
  833. <div>
  834. <span style="width:200px;display:inline-block">
  835. {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
  836. </span>
  837. </div>
  838. </td>
  839. <td width="70" style="border:none;padding-left:5px">导管:</td>
  840. <td width="180" style="text-align:left;border:none;">
  841. <div>
  842. <span style="width:180px;display:inline-block">
  843. {{ afterdialysis.catheter ? afterdialysis.catheter : "" }}
  844. </span>
  845. </div>
  846. </td>
  847. </tr>
  848. </tbody>
  849. </table>
  850. <table class="print-table" border="1" style="border-top:none;">
  851. <!-- <td>
  852. <table class="table-box" style="table-layout:fixed">
  853. <tr>
  854. <td style="text-align:left;margin-left:15px;width:25%">
  855. 上机时间:
  856. <span class="under-line">
  857. {{
  858. getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
  859. ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
  860. : "0"
  861. }}</span
  862. >
  863. </td>
  864. <td style="text-align:left;margin-left:15px;width:25%">
  865. 下机时间:
  866. <span class="under-line">{{
  867. getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
  868. ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
  869. : "0"
  870. }}</span>
  871. </td>
  872. <td style="text-align:left;margin-left:15px;width:25%">
  873. 上机护士:
  874. <span class="under-line" v-if="orderForm.url === ''">{{
  875. orderForm.start_nurse ? orderForm.start_nurse : "/"
  876. }}</span>
  877. <span class="under-line" v-if="orderForm.url !== ''"
  878. ><img :src="orderForm.url" style="height:40px;"
  879. /></span>
  880. </td>
  881. <td style="text-align:left;margin-left:15px;width:25%">
  882. 核对护士:
  883. <span class="under-line"
  884. >&nbsp;
  885. <span
  886. v-if="
  887. setAdminUserES(check == null ? 0 : check.modifier) == ''
  888. "
  889. >{{
  890. getAdminUser(check == null ? 0 : check.modifier)
  891. ? getAdminUser(check == null ? 0 : check.modifier)
  892. : "/"
  893. }}</span
  894. >
  895. <img
  896. class="es-img"
  897. :src="setAdminUserES(check == null ? 0 : check.modifier)"
  898. alt=""
  899. srcset=""
  900. style="height:40px"
  901. v-else
  902. />
  903. </span>
  904. </td>
  905. </tr>
  906. <tr>
  907. <td style="text-align:left;margin-left:15px;width:25%">
  908. 下机护士:
  909. <span class="under-line" v-if="finshForm.url === ''"
  910. >&nbsp;{{
  911. finshForm.finish_nurse ? finshForm.finish_nurse : "/"
  912. }}</span
  913. >
  914. <span class="under-line" v-if="finshForm.url !== ''"
  915. >&nbsp;<img :src="finshForm.url" style="height:40px;"
  916. /></span>
  917. </td>
  918. <td style="text-align:left;margin-left:15px;width:25%">
  919. 下机血压:
  920. <span class="under-line"
  921. >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
  922. afterdialysis.diastolic_blood_pressure
  923. }}&nbsp;mmHg</span
  924. >
  925. </td>
  926. <td style="text-align:left;margin-left:15px;width:25%">
  927. 实际治疗时间:
  928. <span class="under-line"
  929. >&nbsp;
  930. {{
  931. afterdialysis.actual_treatment_hour
  932. ? afterdialysis.actual_treatment_hour
  933. : "0"
  934. }}小时{{
  935. afterdialysis.actual_treatment_minute
  936. ? afterdialysis.actual_treatment_minute
  937. : "0"
  938. }}分钟
  939. </span>
  940. </td>
  941. <td style="text-align:left;margin-left:15px;width:25%">
  942. 实际超滤量:
  943. <span class="under-line"
  944. >&nbsp;{{
  945. afterdialysis.actual_ultrafiltration
  946. ? afterdialysis.actual_ultrafiltration
  947. : "0"
  948. }}&nbsp;L</span
  949. >
  950. </td>
  951. </tr>
  952. <tr>
  953. <td style="text-align:left;margin-left:15px">
  954. 拔针后穿刺点渗血:
  955. <span
  956. class="under-line"
  957. v-if="afterdialysis.puncture_point_oozing_blood === 0"
  958. >&nbsp;/</span
  959. >
  960. <span
  961. class="under-line"
  962. v-if="afterdialysis.puncture_point_oozing_blood === 1"
  963. >&nbsp;有</span
  964. >
  965. <span
  966. class="under-line"
  967. v-if="afterdialysis.puncture_point_oozing_blood === 2"
  968. >&nbsp;无</span
  969. >
  970. </td>
  971. <td style="text-align:left;margin-left:15px">
  972. 穿刺处血肿:
  973. <span
  974. class="under-line"
  975. v-if="afterdialysis.puncture_point_haematoma === 0"
  976. >&nbsp;/</span
  977. >
  978. <span
  979. class="under-line"
  980. v-if="afterdialysis.puncture_point_haematoma === 1"
  981. >&nbsp;有</span
  982. >
  983. <span
  984. class="under-line"
  985. v-if="afterdialysis.puncture_point_haematoma === 2"
  986. >&nbsp;无</span
  987. >
  988. </td>
  989. <td :colspan="2" style="text-align:left;margin-left:15px">
  990. 压迫后内瘘震颤:
  991. <label-box
  992. :isChecked="
  993. predialysis.internal_fistula.indexOf('震颤-存在') > -1
  994. ? true
  995. : false
  996. "
  997. showValue="存在"
  998. ></label-box>
  999. &nbsp;
  1000. <label-box
  1001. :isChecked="
  1002. predialysis.internal_fistula.indexOf('震颤-减弱') > -1
  1003. ? true
  1004. : false
  1005. "
  1006. showValue="减弱"
  1007. ></label-box>
  1008. &nbsp;
  1009. <label-box
  1010. :isChecked="
  1011. predialysis.internal_fistula.indexOf('震颤-无') > -1
  1012. ? true
  1013. : false
  1014. "
  1015. showValue="无"
  1016. ></label-box>
  1017. </td>
  1018. <td width="10"></td>
  1019. </tr>
  1020. <tr>
  1021. <td style="text-align:left;margin-left:15px;" colspan="2">
  1022. 并发症:
  1023. <span class="under-line"
  1024. >&nbsp;{{ afterdialysis.complication }}</span
  1025. >
  1026. </td>
  1027. <td style="text-align:left;margin-left:15px" colspan="2">
  1028. 透析器凝血:
  1029. <span class="under-line">{{
  1030. afterdialysis.cruor ? afterdialysis.cruor : "/"
  1031. }}</span>
  1032. </td>
  1033. </tr>
  1034. </table>
  1035. <table class="table-box">
  1036. <tr>
  1037. <td style="text-align:left;margin-left:15px">
  1038. 治疗小结:
  1039. <span class="under-line"
  1040. >&nbsp;{{ summary.dialysis_summary }}</span
  1041. >
  1042. </td>
  1043. </tr>
  1044. </table>
  1045. </td>-->
  1046. <tr style="height:100px;text-align:left;border:none;">
  1047. <td style="padding-left:5px;border:none">
  1048. 治疗小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
  1049. </td>
  1050. </tr>
  1051. <tr style="height:40px">
  1052. <td rowspan="11" style="border:none;text-align:right;height:40px">
  1053. 医生签名
  1054. <span style="display: inline-block;width:100px;text-align: left;">
  1055. &nbsp;
  1056. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  1057. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  1058. </span>
  1059. 护士签名
  1060. <span style="display: inline-block;width:100px;text-align: left;">
  1061. &nbsp;
  1062. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  1063. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  1064. </span>
  1065. 核对护士
  1066. <span style="display: inline-block;width:100px;text-align: left;">
  1067. &nbsp;
  1068. <span v-if="(dialysisOrder==null?0:dialysisOrder.start_nurse) != check.modifier">
  1069. <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
  1070. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  1071. </span>
  1072. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
  1073. </span>
  1074. <span v-else>
  1075. <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
  1076. {{ getAdminUser(check == null ? 0 : check.creater) }}
  1077. </span>
  1078. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
  1079. </span>
  1080. </span>
  1081. </td>
  1082. </tr>
  1083. </table>
  1084. <!-- <div>
  1085. 注:透析器凝血评价标准:"0级"&nbsp;无凝血或数条纤维束凝血,"Ⅰ级"&nbsp;少于10%纤维凝血,"Ⅱ级"&nbsp;少于50%纤维凝血,"Ⅲ级"&nbsp;大于50%纤维凝血
  1086. </div>-->
  1087. </div>
  1088. </div>
  1089. </template>
  1090. <script>
  1091. import { getDialysisRecord } from "@/api/dialysis";
  1092. import { getDataConfig } from "@/utils/data";
  1093. import { jsGetAge, uParseTime } from "@/utils/tools";
  1094. import LabelBox from "../printItem/LabelBox";
  1095. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1096. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1097. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1098. import print from "print-js";
  1099. export default {
  1100. name: "dialysisPrintOrderOne",
  1101. components: {
  1102. // DialysisPrintOrderOne,
  1103. // DialysisPrintOrderTwo,
  1104. LabelBox,
  1105. BreadCrumb
  1106. },
  1107. data() {
  1108. return {
  1109. way_arr: [],
  1110. consciousness_arr: [],
  1111. appetite_arr: [],
  1112. posture_arr: [],
  1113. sick_condition_arr: [],
  1114. precaution_arr: [],
  1115. intake_arr: [],
  1116. nutrition_arr: [],
  1117. crumbs: [
  1118. { path: false, name: "透析管理" },
  1119. { path: false, name: "打印单" }
  1120. ],
  1121. operators: [],
  1122. adminUser: [],
  1123. check: {},
  1124. dialysisOrder: {
  1125. DeviceNumber: []
  1126. },
  1127. Order: {},
  1128. operatorMaps: {},
  1129. complications: [
  1130. "低血压",
  1131. "高血压",
  1132. "心律失常",
  1133. "头晕",
  1134. "头痛",
  1135. "呕吐",
  1136. "抽搐",
  1137. "出血",
  1138. "心衰",
  1139. "腹痛",
  1140. "无"
  1141. ],
  1142. jilurow: 0,
  1143. advice_jilurow: 0,
  1144. loading: false,
  1145. orgname: "",
  1146. patientInfo_gender_1: false,
  1147. patientInfo_gender_2: false,
  1148. patientInfo_source_2: false,
  1149. patientInfo_source_1: false,
  1150. modeOptions: {},
  1151. replacementWays: [],
  1152. perfusionApparatus: [],
  1153. anticoagulantsConfit: {},
  1154. bloodAccessParOpera: {},
  1155. dialysateFormulationOptions: {},
  1156. queryParams: {
  1157. xtdate: "",
  1158. xtno: ""
  1159. },
  1160. patientInfo: {
  1161. birth: "",
  1162. age: "",
  1163. DialysisSchedule: {
  1164. device_number: { number: "" },
  1165. device_zone: { name: "" }
  1166. },
  1167. gender: 0
  1168. },
  1169. predialysis: {
  1170. score: "",
  1171. internal_fistula: "",
  1172. internal_fistula_skin: "",
  1173. catheter: "",
  1174. blood_access_part_opera_name: ""
  1175. },
  1176. afterdialysis: {
  1177. complications_index: ""
  1178. },
  1179. prescription: {
  1180. dialysate_formulation_name: "",
  1181. device: {}
  1182. },
  1183. advices: [],
  1184. users: [],
  1185. monitors: [],
  1186. summary: {},
  1187. receiverTreatmentAccess: {},
  1188. org_template_info: {},
  1189. isShowZero: false,
  1190. doctor_advices: [],
  1191. advice_groups: [],
  1192. AlPanel: {
  1193. id: 0,
  1194. name: "",
  1195. type: 1,
  1196. shouji: 2,
  1197. weichi: 2,
  1198. zongliang: 2,
  1199. gaimingcheng: -1,
  1200. gaijiliang: -1,
  1201. shouji_unit: "mg",
  1202. weichi_unit: "mg/h",
  1203. zongliang_unit: "mg",
  1204. gaimingcheng_unit: "",
  1205. gaijiliang_unit: ""
  1206. },
  1207. total: "",
  1208. doctorForm: {
  1209. doctor: "",
  1210. url: ""
  1211. },
  1212. dialysisDoctor: {
  1213. doctor: "",
  1214. url: ""
  1215. },
  1216. tableAdvice: [],
  1217. assessmentafter: {},
  1218. orderForm: {
  1219. start_nurse: "",
  1220. url: ""
  1221. },
  1222. finshForm: {
  1223. finish_nurse: "",
  1224. url: ""
  1225. },
  1226. displaceLiquiPartOptions: []
  1227. };
  1228. },
  1229. methods: {
  1230. getNewAge(UUserCard) {
  1231. if (UUserCard != null && UUserCard != '') {
  1232. // 获取年龄
  1233. var myDate = new Date()
  1234. var month = myDate.getMonth() + 1
  1235. var day = myDate.getDate()
  1236. var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
  1237. if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
  1238. age++
  1239. }
  1240. return age
  1241. }
  1242. },
  1243. getDisplaceLiquiPart: function(val) {
  1244. let displace_liqui_part_name = "/";
  1245. const displace_liqui_part = this.displaceLiquiPartOptions;
  1246. for (let i = 0; i < displace_liqui_part.length; i++) {
  1247. if (displace_liqui_part[i].id == val) {
  1248. displace_liqui_part_name = displace_liqui_part[i].name;
  1249. }
  1250. }
  1251. return displace_liqui_part_name;
  1252. },
  1253. getAdminUser(id) {
  1254. if (id == 0) {
  1255. return "";
  1256. }
  1257. if (id == undefined) {
  1258. return "";
  1259. }
  1260. for (let i = 0; i < this.adminUser.length; i++) {
  1261. if (this.adminUser[i].id == id) {
  1262. return this.adminUser[i].name;
  1263. }
  1264. }
  1265. },
  1266. getTime(value, temp) {
  1267. if (value == 0) {
  1268. return "";
  1269. }
  1270. if (value != undefined) {
  1271. return uParseTime(value, temp);
  1272. }
  1273. return "";
  1274. },
  1275. printThisPage() {
  1276. var ptime = Math.round(new Date().getTime() / 1000);
  1277. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1278. const style =
  1279. '@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}.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;}';
  1280. if (this.org_template_info.template_id == 1) {
  1281. printJS({
  1282. printable: "dialysis-print-box",
  1283. type: "html",
  1284. style: style,
  1285. scanStyles: false
  1286. });
  1287. } else if (
  1288. this.org_template_info.template_id == 2 ||
  1289. this.org_template_info.template_id == 0
  1290. ) {
  1291. printJS({
  1292. printable: "dialysis-print-box-1",
  1293. type: "html",
  1294. style: style,
  1295. scanStyles: false
  1296. });
  1297. }
  1298. },
  1299. getNumber() {
  1300. if (this.dialysisOrder != null) {
  1301. return (
  1302. this.patientInfo.DialysisSchedule.device_zone.name +
  1303. this.dialysisOrder.DeviceNumber.number
  1304. );
  1305. } else {
  1306. return (
  1307. this.patientInfo.DialysisSchedule.device_zone.name +
  1308. this.patientInfo.DialysisSchedule.device_number.number
  1309. );
  1310. }
  1311. },
  1312. getXuserName(id) {
  1313. if (id <= 0) {
  1314. return "";
  1315. }
  1316. var name = "";
  1317. if (this.users == null || typeof this.users.length === "undefined") {
  1318. return name;
  1319. }
  1320. var leng = this.users.length;
  1321. if (leng == 0) {
  1322. return name;
  1323. }
  1324. for (let index = 0; index < leng; index++) {
  1325. if (this.users[index].id == id) {
  1326. name = this.users[index].name;
  1327. break;
  1328. }
  1329. }
  1330. return name;
  1331. },
  1332. setAdminUserES(id) {
  1333. if (id == 0) {
  1334. return "";
  1335. }
  1336. if (id in this.operatorMaps) {
  1337. return this.operatorMaps[id].url;
  1338. } else {
  1339. return "";
  1340. }
  1341. },
  1342. modeName(mode_id) {
  1343. return typeof this.modeOptions[mode_id] !== "undefined" &&
  1344. typeof this.modeOptions[mode_id].name !== "undefined"
  1345. ? this.modeOptions[mode_id].name
  1346. : "";
  1347. },
  1348. getDialysisRecord() {
  1349. this.loading = true;
  1350. getDialysisRecord(this.queryParams).then(response => {
  1351. if (response.data.state === 1) {
  1352. this.total = response.data.data.total;
  1353. this.adminUser = response.data.data.users;
  1354. this.users = response.data.data.users;
  1355. var patientInfo = response.data.data.patientInfo;
  1356. console.log("烧腊店就拉萨讲", patientInfo);
  1357. if (patientInfo.gender === 1) {
  1358. patientInfo.gender = "男";
  1359. }
  1360. if (patientInfo.gender === 2) {
  1361. patientInfo.gender = "女";
  1362. }
  1363. console.log("patientInfo", patientInfo);
  1364. this.patientInfo = patientInfo;
  1365. this.patientInfo.birth = uParseTime(
  1366. this.patientInfo.birthday,
  1367. "{y}-{m}-{d}"
  1368. );
  1369. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1370. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1371. this.patientInfo.first_dialysis_date = uParseTime(
  1372. response.data.data.patientInfo.first_dialysis_date,
  1373. "{y}-{m}-{d}"
  1374. );
  1375. } else {
  1376. this.patientInfo.first_dialysis_date = "";
  1377. }
  1378. this.check = response.data.data.check;
  1379. console.log("核对信息", this.check);
  1380. this.predialysis = response.data.data.PredialysisEvaluation;
  1381. console.log("透前评估", this.predialysis);
  1382. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1383. this.predialysis.blood_access_part_opera_id
  1384. );
  1385. this.assessmentafter = response.data.data.assessmentAfterDislysis;
  1386. console.log("上次透后体重", this.assessmentafter);
  1387. var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
  1388. var tableAdvice = doctorAdevieInfo;
  1389. console.log("医生", tableAdvice);
  1390. if (tableAdvice.length === 0) {
  1391. var obj = { advice_name: "", start_time: "" };
  1392. var obj1 = { advice_name: "", start_time: "" };
  1393. var obj2 = { advice_name: "", start_time: "" };
  1394. var obj3 = { advice_name: "", start_time: "" };
  1395. var obj4 = { advice_name: "", start_time: "" };
  1396. var obj5 = { advice_name: "", start_time: "" };
  1397. tableAdvice.push(obj);
  1398. tableAdvice.push(obj1);
  1399. tableAdvice.push(obj2);
  1400. tableAdvice.push(obj3);
  1401. tableAdvice.push(obj4);
  1402. tableAdvice.push(obj5);
  1403. this.tableAdvice = tableAdvice;
  1404. }
  1405. if (tableAdvice.length === 1) {
  1406. var obj = { advice_name: "", start_time: "" };
  1407. var obj1 = { advice_name: "", start_time: "" };
  1408. var obj2 = { advice_name: "", start_time: "" };
  1409. var obj3 = { advice_name: "", start_time: "" };
  1410. var obj4 = { advice_name: "", start_time: "" };
  1411. tableAdvice.push(obj);
  1412. tableAdvice.push(obj1);
  1413. tableAdvice.push(obj2);
  1414. tableAdvice.push(obj3);
  1415. tableAdvice.push(obj4);
  1416. this.tableAdvice = tableAdvice;
  1417. }
  1418. if (tableAdvice.length === 2) {
  1419. var obj = { advice_name: "", start_time: "" };
  1420. var obj1 = { advice_name: "", start_time: "" };
  1421. var obj2 = { advice_name: "", start_time: "" };
  1422. var obj3 = { advice_name: "", start_time: "" };
  1423. tableAdvice.push(obj);
  1424. tableAdvice.push(obj1);
  1425. tableAdvice.push(obj2);
  1426. tableAdvice.push(obj3);
  1427. this.tableAdvice = tableAdvice;
  1428. }
  1429. if (tableAdvice.length === 3) {
  1430. // eslint-disable-next-line no-redeclare
  1431. var obj = { advice_name: "", start_time: "" };
  1432. // eslint-disable-next-line no-redeclare
  1433. var obj1 = { advice_name: "", start_time: "" };
  1434. // eslint-disable-next-line no-redeclare
  1435. var obj2 = { advice_name: "", start_time: "" };
  1436. // eslint-disable-next-line no-redeclare
  1437. tableAdvice.push(obj);
  1438. tableAdvice.push(obj1);
  1439. tableAdvice.push(obj2);
  1440. this.tableAdvice = tableAdvice;
  1441. }
  1442. if (tableAdvice.length === 4) {
  1443. // eslint-disable-next-line no-redeclare
  1444. var obj = { advice_name: "", start_time: "" };
  1445. // eslint-disable-next-line no-redeclare
  1446. var obj1 = { advice_name: "", start_time: "" };
  1447. // eslint-disable-next-line no-redeclare
  1448. tableAdvice.push(obj);
  1449. tableAdvice.push(obj1);
  1450. this.tableAdvice = tableAdvice;
  1451. }
  1452. if (tableAdvice.length === 5) {
  1453. // eslint-disable-next-line no-redeclare
  1454. var obj = { advice_name: "", start_time: "" };
  1455. // eslint-disable-next-line no-redeclare
  1456. var obj1 = { advice_name: "", start_time: "" };
  1457. tableAdvice.push(obj);
  1458. tableAdvice.push(obj1);
  1459. this.tableAdvice = tableAdvice;
  1460. }
  1461. if (tableAdvice.length >= 6) {
  1462. this.tableAdvice = tableAdvice;
  1463. }
  1464. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  1465. console.log("透后评估", this.afterdialysis);
  1466. this.operators = response.data.data.operators;
  1467. this.dialysisOrder =
  1468. response.data.data.dialysisOrder === null
  1469. ? null
  1470. : response.data.data.dialysisOrder;
  1471. if (this.operators.length > 0) {
  1472. var operatorsLen = this.operators.length;
  1473. for (var index = 0; index < operatorsLen; index++) {
  1474. this.$set(
  1475. this.operatorMaps,
  1476. this.operators[index].creator,
  1477. this.operators[index]
  1478. );
  1479. }
  1480. }
  1481. this.afterdialysis.txqnx = -1;
  1482. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  1483. this.afterdialysis.txqnx = 0;
  1484. }
  1485. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  1486. this.afterdialysis.txqnx = 1;
  1487. }
  1488. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  1489. this.afterdialysis.txqnx = 2;
  1490. }
  1491. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  1492. this.afterdialysis.txqnx = 3;
  1493. }
  1494. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1495. ","
  1496. );
  1497. this.afterdialysis.complications_other = [];
  1498. this.afterdialysis.complications_index = [];
  1499. var acllen = this.afterdialysis.complications.length;
  1500. for (let index = 0; index < acllen; index++) {
  1501. if (
  1502. this.complications.indexOf(
  1503. this.afterdialysis.complications[index]
  1504. ) >= 0
  1505. ) {
  1506. this.afterdialysis.complications_index.push(
  1507. this.afterdialysis.complications[index]
  1508. );
  1509. } else if (
  1510. this.complications.indexOf(
  1511. this.afterdialysis.complications[index]
  1512. ) < 0 &&
  1513. this.afterdialysis.complications_other.indexOf(
  1514. this.afterdialysis.complications[index]
  1515. ) < 0
  1516. ) {
  1517. this.afterdialysis.complications_other.push(
  1518. this.afterdialysis.complications[index]
  1519. );
  1520. }
  1521. }
  1522. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1523. ","
  1524. );
  1525. var doctorname = response.data.data.DoctorName;
  1526. //console.log("医师签名", doctorname);
  1527. this.doctorForm.doctor = doctorname.user_name;
  1528. this.doctorForm.url = doctorname.url;
  1529. var prescription = response.data.data.dialysisPrescription;
  1530. console.log("透析处方", prescription);
  1531. if (prescription.anticoagulant == 6) {
  1532. prescription.anticoagulant = "低分子肝素钙";
  1533. }
  1534. if (prescription.anticoagulant == 7) {
  1535. prescription.anticoagulant = "低分子肝素钠";
  1536. }
  1537. if (prescription.blood_access === 1) {
  1538. prescription.blood_access = "正常";
  1539. }
  1540. if (prescription.blood_access === 2) {
  1541. prescription.blood_access = "震颤";
  1542. }
  1543. if (prescription.blood_access === 3) {
  1544. prescription.blood_access = "堵塞";
  1545. }
  1546. if (prescription.blood_access === 4) {
  1547. prescription.blood_access = "血肿";
  1548. }
  1549. if (prescription.blood_access === 5) {
  1550. prescription.blood_access = "淤血";
  1551. }
  1552. if (prescription.blood_access === 6) {
  1553. prescription.blood_access = "感染";
  1554. }
  1555. if (prescription.blood_access === 7) {
  1556. prescription.blood_access = "自体内瘘";
  1557. }
  1558. if (prescription.blood_access === 8) {
  1559. prescription.blood_access = "人工血管内瘘";
  1560. }
  1561. if (prescription.replacement_way === 1) {
  1562. prescription.replacement_way = "前置换";
  1563. }
  1564. if (prescription.replacement_way === 2) {
  1565. prescription.replacement_way = "后置换";
  1566. }
  1567. if (prescription.replacement_way === 3) {
  1568. prescription.replacement_way = "中置换";
  1569. }
  1570. if (prescription.replacement_way === 4) {
  1571. prescription.replacement_way = "混合置换";
  1572. }
  1573. if (prescription.anticoagulant === 1) {
  1574. prescription.anticoagulant = "无肝素";
  1575. }
  1576. if (prescription.anticoagulant === 2) {
  1577. prescription.anticoagulant = "普通肝素";
  1578. }
  1579. if (prescription.anticoagulant === 3) {
  1580. prescription.anticoagulant = "低分子肝素";
  1581. }
  1582. if (prescription.anticoagulant === 4) {
  1583. prescription.anticoagulant = "阿加曲班";
  1584. }
  1585. if (prescription.anticoagulant === 5) {
  1586. prescription.anticoagulant = "枸橼酸钠";
  1587. }
  1588. this.prescription = prescription;
  1589. var receiverTreatmentAccess =
  1590. response.data.data.receiverTreatmentAccess;
  1591. if (receiverTreatmentAccess.sick_condition === 1) {
  1592. receiverTreatmentAccess.sick_condition = "一般";
  1593. }
  1594. if (receiverTreatmentAccess.sick_condition === 2) {
  1595. receiverTreatmentAccess.sick_condition = "严重";
  1596. }
  1597. if (receiverTreatmentAccess.sick_condition === 3) {
  1598. receiverTreatmentAccess.sick_condition = "危";
  1599. }
  1600. if (receiverTreatmentAccess.way === 1) {
  1601. receiverTreatmentAccess.way = "步行";
  1602. }
  1603. if (receiverTreatmentAccess.way === 2) {
  1604. receiverTreatmentAccess.way = "扶行";
  1605. }
  1606. if (receiverTreatmentAccess.way === 3) {
  1607. receiverTreatmentAccess.way = "轮椅";
  1608. }
  1609. if (receiverTreatmentAccess.way === 4) {
  1610. receiverTreatmentAccess.way = "平车";
  1611. }
  1612. console.log("接诊评估:", receiverTreatmentAccess);
  1613. this.receiverTreatmentAccess = receiverTreatmentAccess;
  1614. this.prescription.mode = this.modeName(this.prescription.mode_id);
  1615. var rwLen = this.replacementWays.length;
  1616. this.prescription.replacement = "";
  1617. for (let index = 0; index < rwLen; index++) {
  1618. if (
  1619. this.replacementWays[index].id ==
  1620. this.prescription.replacement_way
  1621. ) {
  1622. this.prescription.replacement = this.replacementWays[index].name;
  1623. break;
  1624. }
  1625. }
  1626. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1627. this.prescription.dialysate_formulation
  1628. );
  1629. var paLen = this.perfusionApparatus.length;
  1630. this.prescription.perfusion_apparatus_name = "";
  1631. for (let index = 0; index < paLen; index++) {
  1632. if (
  1633. this.perfusionApparatus[index].id ==
  1634. this.prescription.perfusion_apparatus
  1635. ) {
  1636. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1637. index
  1638. ].name;
  1639. break;
  1640. }
  1641. }
  1642. var acLen = this.anticoagulantsConfit.length;
  1643. var thisALID = this.prescription.anticoagulant;
  1644. this.prescription.anticoagulant_name = "";
  1645. if (
  1646. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  1647. this.anticoagulantsConfit[thisALID] != null
  1648. ) {
  1649. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1650. thisALID
  1651. ].name;
  1652. this.AlPanel = this.anticoagulantsConfit[thisALID];
  1653. }
  1654. this.advices = response.data.data.advices;
  1655. this.monitors = response.data.data.monitors;
  1656. console.log("透析监测", this.monitors);
  1657. this.summary = response.data.data.summary;
  1658. this.Order = response.data.data.order;
  1659. var start_nurse = response.data.data.startNuse;
  1660. // console.log('上机护士', start_nurse)
  1661. this.orderForm.start_nurse = start_nurse.user_name;
  1662. this.orderForm.url = start_nurse.url;
  1663. var finish_nurse = response.data.data.FinishNuse;
  1664. // console.log('下机护士', finish_nurse)
  1665. this.finshForm.url = finish_nurse.url;
  1666. this.finshForm.finish_nurse = finish_nurse.user_name;
  1667. var dialysisdoctor = response.data.data.dialysisdocotr;
  1668. //this.dialysisDoctor.doctor = dialysisdoctor.user_name;
  1669. // this.dialysisDoctor.url = dialysisdoctor.url;
  1670. this.org_template_info = response.data.data.org_template_info;
  1671. // 配置超滤量和置换量是否要显示0还是空
  1672. if (this.org_template_info.org_id == 9535) {
  1673. this.isShowZero = true;
  1674. }
  1675. if (this.monitors.length < 7) {
  1676. var nl = 8 - this.monitors.length;
  1677. for (let index = 0; index < nl; index++) {
  1678. this.monitors.push([]);
  1679. }
  1680. }
  1681. this.jilurow = this.monitors.length + 1;
  1682. this.advice_jilurow = this.advices.length + 1;
  1683. var childMap = {};
  1684. for (const index in this.advices) {
  1685. if (this.advices[index].parent_id == 0) {
  1686. continue;
  1687. }
  1688. if (!(this.advices[index].parent_id in childMap)) {
  1689. childMap[this.advices[index].parent_id] = [];
  1690. }
  1691. childMap[this.advices[index].parent_id].push(this.advices[index]);
  1692. }
  1693. var advices = [];
  1694. for (const index in this.advices) {
  1695. if (this.advices[index].parent_id > 0) {
  1696. continue;
  1697. }
  1698. var item = this.advices[index];
  1699. if (item.id in childMap) {
  1700. item.children = childMap[item.id];
  1701. } else {
  1702. item.children = [];
  1703. }
  1704. advices.push(item);
  1705. }
  1706. var leftAdvice = [];
  1707. var rightAdvice = [];
  1708. var adlen = advices.length;
  1709. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  1710. for (var i = 0; i < halfLen; i++) {
  1711. leftAdvice.push(advices[i]);
  1712. rightAdvice.push(advices[i + halfLen]);
  1713. }
  1714. if (halfLen < 5) {
  1715. var nl = 5 - leftAdvice.length;
  1716. for (let index = 0; index < nl; index++) {
  1717. leftAdvice.push([]);
  1718. }
  1719. var nl = 5 - rightAdvice.length;
  1720. for (let index = 0; index < nl; index++) {
  1721. rightAdvice.push([]);
  1722. }
  1723. }
  1724. this.advices = [];
  1725. for (var i = 0; i < halfLen; i++) {
  1726. var item = [];
  1727. item.push(leftAdvice[i]);
  1728. item.push(rightAdvice[i]);
  1729. this.advices.push(item);
  1730. }
  1731. this.loading = false;
  1732. this.doctor_advices =
  1733. response.data.data.advices == null
  1734. ? []
  1735. : response.data.data.advices;
  1736. for (let index = 0; index < this.doctor_advices.length; index++) {
  1737. this.doctor_advices[index]["isShow"] = 2;
  1738. }
  1739. if (this.doctor_advices.length > 0) {
  1740. var group = this.newAdviceGroupObject();
  1741. var initGroupBlock = function(group, advice) {
  1742. group.group_no = advice.groupno;
  1743. };
  1744. for (
  1745. let index = this.doctor_advices.length - 1;
  1746. index >= 0;
  1747. index--
  1748. ) {
  1749. var new_advice_index = 0;
  1750. if (
  1751. "children" in this.doctor_advices[index] &&
  1752. this.doctor_advices[index].children.length > 0
  1753. ) {
  1754. new_advice_index =
  1755. index + this.doctor_advices[index].children.length + 1;
  1756. var doctor_advice = {
  1757. delivery_way: this.doctor_advices[index].delivery_way,
  1758. execution_frequency: this.doctor_advices[index]
  1759. .execution_frequency,
  1760. groupno: this.doctor_advices[index].groupno,
  1761. id: this.doctor_advices[index].id,
  1762. parent_id: this.doctor_advices[index].parent_id,
  1763. children: this.doctor_advices[index].children,
  1764. remark: this.doctor_advices[index].remark
  1765. };
  1766. doctor_advice["isShow"] = 1;
  1767. this.doctor_advices.splice(new_advice_index, 0, doctor_advice);
  1768. // this.doctor_advices.push(doctor_advice)
  1769. }
  1770. }
  1771. for (let index = 0; index < this.doctor_advices.length; index++) {
  1772. const advice = this.doctor_advices[index];
  1773. if (advice.groupno == 0) {
  1774. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1775. if (advice.parent_id > 0) {
  1776. if (this.advice_groups.length > 0) {
  1777. var parent_group = this.advice_groups[
  1778. this.advice_groups.length - 1
  1779. ];
  1780. if (parent_group.advices.length > 0) {
  1781. if (parent_group.advices[0].id == advice.parent_id) {
  1782. parent_group.advices.push(advice);
  1783. }
  1784. }
  1785. }
  1786. continue;
  1787. } else {
  1788. if (group.group_no > 0) {
  1789. this.advice_groups.push(group);
  1790. group = this.newAdviceGroupObject();
  1791. }
  1792. initGroupBlock(group, advice);
  1793. group.advices.push(advice);
  1794. this.advice_groups.push(group);
  1795. group = this.newAdviceGroupObject();
  1796. continue;
  1797. }
  1798. }
  1799. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1800. this.advice_groups.push(group);
  1801. group = this.newAdviceGroupObject();
  1802. }
  1803. if (group.group_no == 0) {
  1804. initGroupBlock(group, advice);
  1805. }
  1806. if (group.group_no == advice.groupno) {
  1807. group.advices.push(advice);
  1808. }
  1809. }
  1810. if (group.group_no > 0) {
  1811. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1812. this.advice_groups.push(group);
  1813. }
  1814. }
  1815. console.log(this.advice_groups);
  1816. } else {
  1817. this.loading = false;
  1818. this.$message.error("请求数据失败");
  1819. return false;
  1820. }
  1821. });
  1822. },
  1823. bloodAccessParOperaName(id) {
  1824. if (id in this.bloodAccessParOpera) {
  1825. return this.bloodAccessParOpera[id].name;
  1826. }
  1827. return "";
  1828. },
  1829. dialysateFormulationName(id) {
  1830. if (id in this.dialysateFormulationOptions) {
  1831. return this.dialysateFormulationOptions[id].name;
  1832. }
  1833. return "";
  1834. },
  1835. getAge: function(val) {
  1836. if (val.birthday != 0) {
  1837. return jsGetAge(val.birth, "-");
  1838. }
  1839. return "";
  1840. },
  1841. checkIdCardNo(val) {
  1842. var thisLen = val.length;
  1843. var birth = "";
  1844. if (thisLen == 15) {
  1845. birth = "19" + val.substr(6, 6);
  1846. } else {
  1847. birth = val.substr(6, 8);
  1848. }
  1849. var birthTwo =
  1850. birth.substr(0, 4) +
  1851. "-" +
  1852. birth.substr(4, 2) +
  1853. "-" +
  1854. birth.substr(6, 2);
  1855. var age = jsGetAge(birthTwo, "-");
  1856. return age;
  1857. },
  1858. newAdviceGroupObject: function() {
  1859. return Object.assign(
  1860. {},
  1861. {
  1862. group_no: 0,
  1863. // advice_doctor: 0,
  1864. // start_time: 0,
  1865. advices: []
  1866. // exec_staff: 0,
  1867. // exec_time: 0,
  1868. // checker: 0,
  1869. }
  1870. );
  1871. }
  1872. },
  1873. watch: {
  1874. "patientInfo.gender": function() {
  1875. if (this.patientInfo.gender == 1) {
  1876. this.patientInfo_gender_1 = true;
  1877. this.patientInfo_gender_2 = false;
  1878. } else if (this.patientInfo.gender == 2) {
  1879. this.patientInfo_gender_2 = true;
  1880. this.patientInfo_gender_1 = false;
  1881. } else {
  1882. this.patientInfo_gender_2 = false;
  1883. this.patientInfo_gender_1 = false;
  1884. }
  1885. },
  1886. "patientInfo.source": function() {
  1887. if (this.patientInfo.source == 1) {
  1888. this.patientInfo_source_1 = true;
  1889. this.patientInfo_source_2 = false;
  1890. } else if (this.patientInfo.source == 2) {
  1891. this.patientInfo_source_2 = true;
  1892. this.patientInfo_source_1 = false;
  1893. } else {
  1894. this.patientInfo_source_2 = false;
  1895. this.patientInfo_source_1 = false;
  1896. }
  1897. }
  1898. },
  1899. created() {
  1900. var xtuser = this.$store.getters.xt_user;
  1901. this.orgname = xtuser.org.org_name;
  1902. // this.orgname = "遂溪方济医院";
  1903. this.modeOptions = this.$store.getters.treatment_mode;
  1904. this.replacementWays = this.$store.getters.replacement_ways;
  1905. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  1906. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  1907. this.way_arr = getDataConfig("hemodialysis", "way");
  1908. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  1909. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  1910. this.posture_arr = getDataConfig("hemodialysis", "posture");
  1911. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  1912. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  1913. this.intake_arr = getDataConfig("hemodialysis", "intake");
  1914. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  1915. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  1916. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1917. var bloodAccessParOpera = getDataConfig(
  1918. "hemodialysis",
  1919. "vascular_access_desc"
  1920. );
  1921. for (var key in bloodAccessParOpera) {
  1922. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1923. bloodAccessParOpera[key];
  1924. }
  1925. var dialysateFormulationOptions = getDataConfig(
  1926. "hemodialysis",
  1927. "dialysate_formulation"
  1928. );
  1929. for (var key in dialysateFormulationOptions) {
  1930. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1931. dialysateFormulationOptions[key];
  1932. }
  1933. const xtdate = this.$route.query && this.$route.query.xtdate;
  1934. const xtno = this.$route.query && this.$route.query.xtno;
  1935. if (
  1936. typeof xtdate === "string" &&
  1937. xtdate.length > 0 &&
  1938. typeof xtno === "string" &&
  1939. xtno.length > 0
  1940. ) {
  1941. this.queryParams.xtdate = xtdate;
  1942. this.queryParams.xtno = xtno;
  1943. this.getDialysisRecord();
  1944. } else {
  1945. this.$message.error("参数不齐");
  1946. return false;
  1947. }
  1948. }
  1949. };
  1950. </script>
  1951. <style>
  1952. .dialysis-print-order {
  1953. width: 960px;
  1954. margin: 0 auto;
  1955. }
  1956. .dialysis-print-order .order-yy-name {
  1957. margin: auto;
  1958. text-align: center;
  1959. font-size: 20px;
  1960. letter-spacing: 5px;
  1961. }
  1962. .dialysis-print-order .order-title {
  1963. margin: auto;
  1964. font-weight: 600;
  1965. text-align: center;
  1966. font-size: 22px;
  1967. padding: 10px 20px 20px 20px;
  1968. }
  1969. .dialysis-print-order .table-box {
  1970. width: 100%;
  1971. line-height: 23px;
  1972. font-size: 14px;
  1973. }
  1974. .dialysis-print-order .print-table {
  1975. width: 100%;
  1976. text-align: center;
  1977. border-collapse: collapse;
  1978. line-height: 40px;
  1979. font-size: 14px;
  1980. }
  1981. .dialysis-print-order .print-table-no {
  1982. width: 100%;
  1983. text-align: center;
  1984. border-collapse: collapse;
  1985. font-size: 14px;
  1986. }
  1987. .dialysis-print-order .under-line {
  1988. border-bottom: 1px solid #999;
  1989. width: 95%;
  1990. text-align: center;
  1991. margin-left: 2px;
  1992. }
  1993. .dialysis-print-order .title-box {
  1994. text-align: center;
  1995. font-size: 16px;
  1996. }
  1997. .dialysis-print-order .radio-lebel-box {
  1998. font-weight: 400;
  1999. cursor: pointer;
  2000. }
  2001. .dialysis-print-order .radio-no {
  2002. opacity: 0;
  2003. outline: none;
  2004. position: absolute;
  2005. margin: 0;
  2006. width: 0;
  2007. height: 0;
  2008. z-index: -1;
  2009. }
  2010. .dialysis-print-order .radio-inner {
  2011. white-space: nowrap;
  2012. cursor: pointer;
  2013. outline: none;
  2014. display: inline-block;
  2015. line-height: 1;
  2016. position: relative;
  2017. vertical-align: middle;
  2018. }
  2019. .dialysis-print-order .radio-fang {
  2020. display: inline-block;
  2021. position: relative;
  2022. border: 1px solid #000;
  2023. box-sizing: border-box;
  2024. width: 14px;
  2025. height: 14px;
  2026. background-color: #fff;
  2027. z-index: 1;
  2028. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2029. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2030. }
  2031. .dialysis-print-order .is-checked-radio::after {
  2032. content: "√";
  2033. font-size: 15px;
  2034. }
  2035. .dialysis-print-order .print-table-no tr td {
  2036. padding: 8px 5px;
  2037. line-height: 25px;
  2038. }
  2039. .dialysis-print-order .print-table tr td {
  2040. padding: 1px 1px;
  2041. /*line-height: 25px;*/
  2042. }
  2043. .es-img {
  2044. height: 25px;
  2045. }
  2046. .advice-name {
  2047. text-align: left;
  2048. }
  2049. .advice-children {
  2050. display: flex;
  2051. }
  2052. .title-box-pro {
  2053. border: 0 #fff;
  2054. line-height: 25px;
  2055. height: 25px;
  2056. text-align: left;
  2057. padding-left: 10px !important;
  2058. }
  2059. .title-box-pro-tr {
  2060. border: 0 #fff;
  2061. }
  2062. .text-align-left {
  2063. text-align: left !important;
  2064. padding-left: 10px !important;
  2065. font-size: 14px !important;
  2066. line-height: 25px;
  2067. }
  2068. .print-table-tr-new td {
  2069. line-height: 20px !important;
  2070. }
  2071. .border-top-solid {
  2072. border: solid 1px #000;
  2073. }
  2074. .print-template-two tr {
  2075. line-height: 30px;
  2076. }
  2077. .table-box1 {
  2078. border: 1px solid #000;
  2079. width: 100%;
  2080. line-height: 30px;
  2081. font-size: 14px;
  2082. border-collapse: collapse;
  2083. }
  2084. .table-box1 tr {
  2085. border-bottom: 1px solid #000;
  2086. }
  2087. </style>