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

dialysisPrintOrderTwelve.vue 90KB

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