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

DialysisPrintOrderThirtyFive.vue 83KB

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