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

DialysisPrintOrderSixtyTwo.vue 98KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680
  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"></div>
  7. <div class="order-title">
  8. {{ orgname }}&nbsp;&nbsp;&nbsp;血液净化治疗记录单
  9. </div>
  10. <table class="print-table" border="1" style="margin-top: 10px">
  11. <tr>
  12. <td style="text-align: left; width: 170px" colspan="1">
  13. <span style="display: inline-block; margin-left: 15px">
  14. {{ getDatge(queryParams.xtdate) }}
  15. </span>
  16. </td>
  17. <td style="text-align: center; width: 170px" colspan="1">
  18. 姓名:
  19. <span style="display: inline-block; margin-left: 10px">
  20. {{ patientInfo.name }}
  21. </span>
  22. </td>
  23. <td style="text-align: center" colspan="1">
  24. 性别:
  25. <span style="display: inline-block; margin-left: 10px">
  26. {{ patientInfo.gender }}
  27. </span>
  28. </td>
  29. <td style="text-align: center" colspan="1">
  30. 年龄:
  31. <span style="display: inline-block; margin-left: 10px">
  32. {{ getAge(patientInfo) }}
  33. </span>
  34. </td>
  35. <td style="text-align: center" colspan="2">
  36. 透析次数:
  37. <span style="display: inline-block; margin-left: 10px">
  38. {{
  39. patientInfo.total_dialysis + patientInfo.user_sys_before_count
  40. }}
  41. </span>
  42. </td>
  43. <!-- <td style="text-align:center;" colspan="1">
  44. <template v-if="receiverTreatmentAccess.condition == 1">
  45. 住院号:
  46. <span style="display:inline-block;margin-left:10px;">
  47. {{
  48. receiverTreatmentAccess.admission_number
  49. ? receiverTreatmentAccess.admission_number
  50. : "/"
  51. }}
  52. </span>
  53. </template>
  54. <template v-else>
  55. 门诊号:
  56. <span style="display:inline-block;margin-left:10px;">
  57. {{
  58. patientInfo.admission_number
  59. ? patientInfo.admission_number
  60. : "/"
  61. }}
  62. </span>
  63. </template>
  64. </td> -->
  65. <td style="text-align: center" colspan="1">
  66. 机器号:
  67. <span style="display: inline-block; margin-left: 10px">
  68. {{
  69. dialysisOrder &&
  70. dialysisOrder.DeviceNumber &&
  71. dialysisOrder.DeviceNumber.number > 0
  72. ? dialysisOrder.DeviceNumber.number
  73. : patientInfo.DialysisSchedule.device_number.number
  74. }}
  75. </span>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td style="text-align: left" colspan="2">
  80. <span style="display: inline-block; margin-left: 15px">治疗方式:</span>
  81. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!prescription.mode_id">
  82. /
  83. </span>
  84. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 1">
  85. HD
  86. </span>
  87. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 2">
  88. HDF
  89. </span>
  90. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 3">
  91. HD+HP
  92. </span>
  93. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 4">
  94. HP
  95. </span>
  96. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 5">
  97. HF
  98. </span>
  99. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 6">
  100. SCUF
  101. </span>
  102. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 7">
  103. IUF
  104. </span>
  105. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 8">
  106. HFHD
  107. </span>
  108. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 9">
  109. HFHD+HP
  110. </span>
  111. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 10">
  112. PHF
  113. </span>
  114. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 11">
  115. HFR
  116. </span>
  117. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 12">
  118. HDF+HP
  119. </span>
  120. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 13">
  121. CRRT
  122. </span>
  123. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 14">
  124. 腹水回输
  125. </span>
  126. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 15">
  127. HD前置换
  128. </span>
  129. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 16">
  130. HD后置换
  131. </span>
  132. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 17">
  133. HDF前置换
  134. </span>
  135. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 18">
  136. HDF后置换
  137. </span>
  138. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 19">
  139. IUF+HD
  140. </span>
  141. <span class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 22">
  142. 血浆胆红素吸附+HDF
  143. </span>
  144. <span class="under_line" style="bwidth: 150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 23">
  145. 血浆胆红素吸附
  146. </span>
  147. <span class="under_line" style="width:100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 29">
  148. PE
  149. </span>
  150. <span class="under_line" style="width:150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 30">
  151. 血浆胆红素吸附+HP
  152. </span>
  153. </td>
  154. <td style="text-align: left" colspan="5">
  155. <span
  156. style="display: inline-block; margin-left: 15px; width: 100%"
  157. >诊断: {{ patientInfo.diagnose }}</span
  158. >
  159. </td>
  160. </tr>
  161. <tr>
  162. <td style="text-align: left" colspan="1">
  163. <span style="display: inline-block; margin-left: 15px">
  164. 干体重:
  165. {{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg
  166. </span>
  167. </td>
  168. <td style="text-align: left" colspan="1">
  169. <span style="display: inline-block; margin-left: 15px">
  170. 电导率:{{
  171. prescription.conductivity ? prescription.conductivity : "/"
  172. }}&nbsp;(mS/cm)
  173. </span>
  174. </td>
  175. <td style="text-align: left" colspan="2">
  176. <span style="display: inline-block; margin-left: 15px">
  177. 钙:
  178. {{
  179. prescription.calcium ? prescription.calcium : "/"
  180. }}&nbsp;mmol/L
  181. </span>
  182. </td>
  183. <td style="text-align: left" colspan="4">
  184. <span style="display: inline-block; margin-left: 15px">
  185. 透析液温度:{{
  186. prescription.dialysate_temperature
  187. ? prescription.dialysate_temperature
  188. : "/"
  189. }}&nbsp;℃
  190. </span>
  191. <span style="display: inline-block; margin-left: 20px">
  192. 钾:{{
  193. prescription.kalium ? prescription.kalium : "/"
  194. }}&nbsp;mmol/L
  195. </span>
  196. <span style="display: inline-block; margin-left: 20px">
  197. 葡萄糖:{{
  198. prescription.amylaceum ? prescription.amylaceum : ""
  199. }}&nbsp;mmol/L
  200. </span>
  201. </td>
  202. </tr>
  203. <tr>
  204. <td style="text-align: left" colspan="1">
  205. <span style="display: inline-block; margin-left: 15px">
  206. 透前体重:{{
  207. predialysis.weight_before ? predialysis.weight_before : "/"
  208. }}kg
  209. </span>
  210. </td>
  211. <td style="text-align: left" colspan="1">
  212. <span style="display: inline-block; margin-left: 15px">
  213. 设定脱水量:{{
  214. prescription.target_ultrafiltration
  215. ? prescription.target_ultrafiltration
  216. : "/"
  217. }}ml
  218. </span>
  219. </td>
  220. <td style="text-align: left" colspan="1">
  221. <span style="display: inline-block; margin-left: 15px">
  222. <label-box
  223. :isChecked="anticoagulant == 1 ? true : false"
  224. showValue="无肝素"
  225. ></label-box>
  226. </span>
  227. </td>
  228. <td style="text-align: left" colspan="2">
  229. <span style="display: inline-block; margin-left: 15px">
  230. <span v-if="prescription.anticoagulant == 2">普通肝素首剂:</span>
  231. <span v-if="prescription.anticoagulant == 3"
  232. >低分子肝素首剂:</span
  233. >
  234. <span v-if="prescription.anticoagulant == 4"
  235. >阿加曲班肝素首剂:</span
  236. >
  237. <span v-if="prescription.anticoagulant == 5"
  238. >枸橼酸钠肝素首剂:</span
  239. >
  240. <span v-if="prescription.anticoagulant == 6"
  241. >低分子肝素钙首剂:</span
  242. >
  243. <span v-if="prescription.anticoagulant == 7"
  244. >低分子肝素钠首剂:</span
  245. >
  246. <span v-if="prescription.anticoagulant == 8"
  247. >依诺肝素首剂:</span
  248. >
  249. <span v-if="prescription.anticoagulant == 9">达肝素首剂:</span>
  250. <span v-if="prescription.anticoagulant == 10"
  251. >体外抗凝肝素首剂:</span
  252. >
  253. {{
  254. prescription.anticoagulant_shouji
  255. ? prescription.anticoagulant_shouji
  256. : "/"
  257. }}
  258. </span>
  259. <span v-if="prescription.anticoagulant == 4">mg</span>
  260. <span v-if="prescription.anticoagulant == 3">iu</span>
  261. <span v-if="prescription.anticoagulant == 2">mg</span>
  262. <span v-if="prescription.anticoagulant == 1">mg</span>
  263. </td>
  264. <td style="text-align: left" colspan="1">
  265. <span style="display: inline-block; margin-left: 15px">
  266. 维持:
  267. {{
  268. prescription.anticoagulant_weichi
  269. ? prescription.anticoagulant_weichi
  270. : "/"
  271. }}
  272. </span>
  273. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  274. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  275. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  276. <span v-if="prescription.anticoagulant == 2">mg/h</span>
  277. <span v-if="prescription.anticoagulant == 1">mg/h</span>
  278. </td>
  279. <td style="text-align: left" colspan="2">
  280. <span style="display: inline-block; ">
  281. 总量:
  282. {{
  283. prescription.anticoagulant_zongliang
  284. ? prescription.anticoagulant_zongliang
  285. : "/"
  286. }}
  287. </span>
  288. <span v-if="prescription.anticoagulant == 4">mg</span>
  289. <span v-if="prescription.anticoagulant == 3">iu</span>
  290. <span v-if="prescription.anticoagulant == 2">mg</span>
  291. <span v-if="prescription.anticoagulant == 1">mg</span>
  292. </td>
  293. </tr>
  294. <tr>
  295. <td style="text-align: left" colspan="1">
  296. <span style="display: inline-block; margin-left: 15px">
  297. 透后体重:
  298. {{
  299. afterdialysis.weight_after
  300. ? parseFloat(
  301. afterdialysis.weight_after -
  302. afterdialysis.additional_weight
  303. ).toFixed(2)
  304. : "/"
  305. }}kg
  306. </span>
  307. </td>
  308. <td style="text-align: left" colspan="1">
  309. <span style="display: inline-block; margin-left: 15px">
  310. 实际脱水量:{{
  311. afterdialysis.actual_ultrafiltration
  312. ? afterdialysis.actual_ultrafiltration
  313. : "/"
  314. }}ml
  315. </span>
  316. </td>
  317. <td style="text-align: left" colspan="2">
  318. <span style="display: inline-block; margin-left: 15px">
  319. 透析时间:
  320. {{
  321. prescription.dialysis_duration_hour
  322. ? prescription.dialysis_duration_hour
  323. : "0"
  324. }}小时{{
  325. prescription.dialysis_duration_minute
  326. ? prescription.dialysis_duration_minute
  327. : "0"
  328. }}分钟
  329. </span>
  330. </td>
  331. <td style="text-align: left" colspan="1">
  332. <span style="display: inline-block; margin-left: 15px">
  333. 透析/灌流器型号:{{
  334. prescription.dialysis_dialyszers
  335. ? prescription.dialysis_dialyszers
  336. : "/"
  337. }}&nbsp;&nbsp;{{
  338. prescription.dialysis_irrigation
  339. ? prescription.dialysis_irrigation
  340. : "/"
  341. }}
  342. </span>
  343. </td>
  344. <td style="text-align: left" colspan="2">
  345. <span style="display: inline-block; margin-left: 15px">
  346. 置换方式:
  347. <label-box
  348. :isChecked="
  349. prescription.displace_liqui_part == 1 ? true : false
  350. "
  351. showValue="前"
  352. ></label-box
  353. >&nbsp;
  354. <label-box
  355. :isChecked="
  356. prescription.displace_liqui_part == 2 ? true : false
  357. "
  358. showValue="后"
  359. ></label-box>
  360. &nbsp; (总量:{{
  361. prescription.displace_liqui_value
  362. ? prescription.displace_liqui_value
  363. : "/"
  364. }}L)
  365. </span>
  366. </td>
  367. </tr>
  368. <tr>
  369. <td style="text-align: left" colspan="1">
  370. <span style="display: inline-block; margin-left: 15px">
  371. <span
  372. v-if="orderForm.url === ''"
  373. style="display: flex; align-items: center"
  374. >责任护士:{{ orderForm.start_nurse }}</span
  375. >
  376. <span
  377. v-if="orderForm.url !== ''"
  378. style="display: flex; align-items: center; height: 36px"
  379. >
  380. 责任护士:
  381. <img :src="orderForm.url" style="height: 30px" />
  382. </span>
  383. </span>
  384. </td>
  385. <td style="text-align: left" colspan="1">
  386. <span style="display: inline-block; margin-left: 15px">
  387. <span
  388. v-if="orderForm.url === ''"
  389. style="display: flex; align-items: center"
  390. >上机护士:{{ orderForm.start_nurse }}</span
  391. >
  392. <span
  393. v-if="orderForm.url !== ''"
  394. style="display: flex; align-items: center; height: 36px"
  395. >
  396. 上机护士:
  397. <img :src="orderForm.url" style="height: 30px" />
  398. </span>
  399. </span>
  400. </td>
  401. <td style="text-align: left" colspan="3">
  402. <span style="display: inline-block; margin-left: 15px">
  403. <span
  404. v-if="orderForm.url === ''"
  405. style="display: flex; align-items: center"
  406. >抗凝剂执行护士:{{ orderForm.start_nurse }}</span
  407. >
  408. <span
  409. v-if="orderForm.url !== ''"
  410. style="display: flex; align-items: center; height: 36px"
  411. >
  412. 抗凝剂执行护士:
  413. <img :src="orderForm.url" style="height: 30px" />
  414. </span>
  415. </span>
  416. <span style="display: inline-block; margin-left: 15px">
  417. 核对护士:<span
  418. style="height: 30px; display: inline-block"
  419. v-if="setAdminUserES(check == null ? 0 : check.creater) == ''"
  420. >
  421. {{ getAdminUser(check == null ? 0 : check.creater) }}
  422. </span>
  423. <img
  424. style="height: 30px"
  425. :src="setAdminUserES(check == null ? 0 : check.creater)"
  426. alt=""
  427. srcset=""
  428. v-else
  429. />
  430. </span>
  431. </td>
  432. <td style="text-align: left" colspan="3">
  433. <span style="display: inline-block; margin-left: 15px">
  434. <span
  435. style="display: flex; align-items: center"
  436. v-if="
  437. setAdminUserES(
  438. prescription == null
  439. ? 0
  440. : prescription.prescription_doctor
  441. ? prescription.prescription_doctor
  442. : prescription.creater
  443. ) == ''
  444. "
  445. >医生签名:{{
  446. getAdminUser(
  447. prescription == null
  448. ? 0
  449. : prescription.prescription_doctor
  450. ? prescription.prescription_doctor
  451. : prescription.creater
  452. )
  453. }}</span
  454. >
  455. <span
  456. v-else
  457. style="display: flex; align-items: center; height: 36px"
  458. >医生签名:
  459. <img
  460. style="height: 30px"
  461. :src="
  462. setAdminUserES(
  463. prescription == null
  464. ? 0
  465. : prescription.prescription_doctor
  466. ? prescription.prescription_doctor
  467. : prescription.creater
  468. )
  469. "
  470. alt=""
  471. srcset=""
  472. />
  473. </span>
  474. </span>
  475. </td>
  476. </tr>
  477. <tr>
  478. <td style="text-align: left" colspan="4">
  479. <span style="display: inline-block; margin-left: 15px">
  480. 透前评估: 入科方式:
  481. <label-box
  482. :isChecked="receiverTreatmentAccess.way == 1 ? true : false"
  483. showValue="步行"
  484. ></label-box
  485. >&nbsp;
  486. <label-box
  487. :isChecked="receiverTreatmentAccess.way == 2 ? true : false"
  488. showValue="扶行"
  489. ></label-box
  490. >&nbsp;
  491. <label-box
  492. :isChecked="receiverTreatmentAccess.way == 3 ? true : false"
  493. showValue="轮椅"
  494. ></label-box
  495. >&nbsp;
  496. <label-box
  497. :isChecked="receiverTreatmentAccess.way == 4 ? true : false"
  498. showValue="平车"
  499. ></label-box
  500. >&nbsp;
  501. </span>
  502. </td>
  503. <td style="text-align: left" colspan="4">
  504. <span style="display: inline-block; margin-left: 15px">
  505. 意识:
  506. <label-box
  507. :isChecked="
  508. receiverTreatmentAccess.consciousness == 1 ? true : false
  509. "
  510. showValue="清醒"
  511. ></label-box
  512. >&nbsp;
  513. <label-box
  514. :isChecked="
  515. receiverTreatmentAccess.consciousness == 2 ? true : false
  516. "
  517. showValue="嗜睡"
  518. ></label-box
  519. >&nbsp;
  520. <label-box
  521. :isChecked="
  522. receiverTreatmentAccess.consciousness == 4 ? true : false
  523. "
  524. showValue="模糊"
  525. ></label-box
  526. >&nbsp;
  527. <label-box
  528. :isChecked="
  529. receiverTreatmentAccess.consciousness == 3 ? true : false
  530. "
  531. showValue="昏迷"
  532. ></label-box
  533. >&nbsp;
  534. </span>
  535. </td>
  536. </tr>
  537. <tr>
  538. <td colspan="2" style="text-align: left">
  539. <span style="display: inline-block; margin-left: 15px"
  540. >食欲:</span
  541. >
  542. <label-box
  543. :isChecked="
  544. receiverTreatmentAccess.appetite == 1 ? true : false
  545. "
  546. showValue="正常"
  547. ></label-box
  548. >&nbsp;
  549. <label-box
  550. :isChecked="
  551. receiverTreatmentAccess.appetite == 2 ? true : false
  552. "
  553. showValue="减退"
  554. ></label-box
  555. >&nbsp;
  556. <label-box
  557. :isChecked="
  558. receiverTreatmentAccess.appetite == 3 ? true : false
  559. "
  560. showValue="恶心"
  561. ></label-box
  562. >&nbsp;
  563. <label-box
  564. :isChecked="
  565. receiverTreatmentAccess.appetite == 4 ? true : false
  566. "
  567. showValue="呕吐"
  568. ></label-box
  569. >&nbsp;
  570. <label-box
  571. :isChecked="
  572. receiverTreatmentAccess.appetite == 5 ? true : false
  573. "
  574. showValue="腹泻"
  575. ></label-box
  576. >&nbsp;
  577. </td>
  578. <td colspan="2" style="text-align: left">
  579. <span style="display: inline-block; margin-left: 15px">
  580. 体温:{{
  581. predialysis.temperature ? predialysis.temperature : "/"
  582. }}
  583. </span>
  584. </td>
  585. <td colspan="3" style="text-align: left">
  586. <span style="display: inline-block; margin-left: 15px">
  587. 体位:
  588. <label-box
  589. v-for="(item, index) in posture_arr"
  590. :key="index"
  591. :isChecked="
  592. receiverTreatmentAccess.posture == item.id ? true : false
  593. "
  594. :showValue="item.name"
  595. ></label-box>
  596. <label-box
  597. :isChecked="
  598. receiverTreatmentAccess.posture == 1 ? true : false
  599. "
  600. showValue="自动体位"
  601. ></label-box
  602. >&nbsp;
  603. <label-box
  604. :isChecked="
  605. receiverTreatmentAccess.posture == 2 ? true : false
  606. "
  607. showValue="平卧位"
  608. ></label-box
  609. >&nbsp;
  610. <label-box
  611. :isChecked="
  612. receiverTreatmentAccess.posture == 3 ? true : false
  613. "
  614. showValue="半卧位"
  615. ></label-box
  616. >&nbsp;
  617. <label-box
  618. :isChecked="
  619. receiverTreatmentAccess.posture == 4 ? true : false
  620. "
  621. showValue="端坐位"
  622. ></label-box
  623. >&nbsp;
  624. <label-box
  625. :isChecked="
  626. receiverTreatmentAccess.posture == 5 ? true : false
  627. "
  628. showValue="躁动不安"
  629. ></label-box
  630. >&nbsp;
  631. </span>
  632. </td>
  633. </tr>
  634. <tr>
  635. <td colspan="8" style="text-align: left">
  636. <span style="display: inline-block; margin-left: 15px">
  637. 血管通路:内瘘波动及震颤: (&nbsp;
  638. <!-- <label-box
  639. v-for="(item, index) in arr"
  640. :key="index"
  641. :isChecked="
  642. predialysis.blood_access_part_opera_id == item.id
  643. ? true
  644. : false
  645. "
  646. :showValue="item.name"
  647. ></label-box> -->
  648. <label-box
  649. :isChecked="
  650. predialysis.blood_access_part_opera_name.indexOf(
  651. '内瘘波动及震颤-存在'
  652. ) > -1
  653. ? true
  654. : predialysis.internal_fistula.indexOf(
  655. '内瘘波动及震颤-存在'
  656. ) > -1
  657. ? true
  658. : false
  659. "
  660. showValue="存在"
  661. ></label-box>
  662. <label-box
  663. :isChecked="
  664. predialysis.blood_access_part_opera_name.indexOf(
  665. '内瘘波动及震颤-减弱'
  666. ) > -1
  667. ? true
  668. : predialysis.internal_fistula.indexOf(
  669. '内瘘波动及震颤-减弱'
  670. ) > -1
  671. ? true
  672. : false
  673. "
  674. showValue="减弱"
  675. ></label-box>
  676. <label-box
  677. :isChecked="
  678. predialysis.blood_access_part_opera_name.indexOf(
  679. '内瘘波动及震颤-消失'
  680. ) > -1
  681. ? true
  682. : predialysis.internal_fistula.indexOf(
  683. '内瘘波动及震颤-消失'
  684. ) > -1
  685. ? true
  686. : false
  687. "
  688. showValue="消失"
  689. ></label-box>
  690. )
  691. <label-box
  692. v-for="(item, index) in arrtwo"
  693. :key="index"
  694. :isChecked="
  695. predialysis.blood_access_part_opera_id == item.id
  696. ? true
  697. : false
  698. "
  699. :showValue="item.name"
  700. ></label-box>
  701. </span>
  702. <span style="display: inline-block; margin-left: 30px">
  703. 内瘘肢:<label-box
  704. :isChecked="
  705. predialysis.blood_access_part_opera_name.indexOf(
  706. '内瘘肢-左'
  707. ) > -1
  708. ? true
  709. : predialysis.internal_fistula.indexOf('内瘘肢-左') > -1
  710. ? true
  711. : false
  712. "
  713. showValue="左"
  714. ></label-box>
  715. <label-box
  716. :isChecked="
  717. predialysis.blood_access_part_opera_name.indexOf(
  718. '内瘘肢-右'
  719. ) > -1
  720. ? true
  721. : predialysis.internal_fistula.indexOf('内瘘肢-右') > -1
  722. ? true
  723. : false
  724. "
  725. showValue="右"
  726. ></label-box>
  727. </span>
  728. </td>
  729. </tr>
  730. <tr>
  731. <td colspan="8" style="text-align: left">
  732. <span style="display: inline-block; margin-left: 15px"
  733. >中心静脉导管:</span
  734. >
  735. <!-- (部位:{{ getPartName(predialysis.blood_access_part_id) }}) -->
  736. (部位:{{ predialysis.blood_access_part_id }})
  737. <label-box
  738. showValue="长期"
  739. :isChecked="
  740. predialysis.venous_catheterization == 1 ? true : false
  741. "
  742. ></label-box>
  743. <label-box
  744. showValue="临时"
  745. :isChecked="
  746. predialysis.venous_catheterization == 2 ? true : false
  747. "
  748. ></label-box
  749. >&nbsp;&nbsp; 感染:
  750. <label-box
  751. showValue="有"
  752. :isChecked="
  753. predialysis.catheter.indexOf('感染-有') > -1 ? true : false
  754. "
  755. ></label-box>
  756. <label-box
  757. showValue="无"
  758. :isChecked="
  759. predialysis.catheter.indexOf('感染-无') > -1 ? true : false
  760. "
  761. ></label-box
  762. >&nbsp;&nbsp;流畅度:
  763. <label-box
  764. showValue="正接"
  765. :isChecked="
  766. predialysis.catheter.indexOf('流畅度-正接') > -1
  767. ? true
  768. : false
  769. "
  770. ></label-box>
  771. <label-box
  772. showValue="反接"
  773. :isChecked="
  774. predialysis.catheter.indexOf('流畅度-反接') > -1
  775. ? true
  776. : false
  777. "
  778. ></label-box
  779. >&nbsp;&nbsp;溶栓:
  780. <label-box
  781. showValue="有"
  782. :isChecked="
  783. predialysis.catheter.indexOf('溶栓-有') > -1 ? true : false
  784. "
  785. ></label-box>
  786. <label-box
  787. showValue="无"
  788. :isChecked="
  789. predialysis.catheter.indexOf('溶栓-无') > -1 ? true : false
  790. "
  791. ></label-box>
  792. &nbsp;&nbsp;外露:{{ predialysis.exposed }}cm
  793. <span style="display: inline-block; margin-left: 15px"
  794. >容量:<span
  795. >A:{{
  796. afterdialysis.cvc_a ? afterdialysis.cvc_a : "/"
  797. }}ml</span
  798. >
  799. <span style="padding -left: 15px"
  800. >V:{{
  801. afterdialysis.cvc_v ? afterdialysis.cvc_v : "/"
  802. }}ml</span
  803. >
  804. </span>
  805. </td>
  806. </tr>
  807. <tr>
  808. <td style="text-align: left" colspan="8">
  809. <span style="display: inline-block; margin-left: 15px">
  810. 血管通路皮肤情况:
  811. <label-box
  812. :isChecked="
  813. predialysis.internal_fistula_skin.indexOf('正常') > -1
  814. ? true
  815. : false
  816. "
  817. showValue="正常"
  818. ></label-box
  819. >&nbsp;
  820. <label-box
  821. :isChecked="
  822. predialysis.internal_fistula_skin.indexOf('淤血') > -1
  823. ? true
  824. : false
  825. "
  826. showValue="淤血"
  827. ></label-box
  828. >&nbsp;
  829. <label-box
  830. :isChecked="
  831. predialysis.internal_fistula_skin.indexOf('红') > -1
  832. ? true
  833. : false
  834. "
  835. showValue="红"
  836. ></label-box
  837. >&nbsp;
  838. <label-box
  839. :isChecked="
  840. predialysis.internal_fistula_skin.indexOf('肿') > -1
  841. ? true
  842. : false
  843. "
  844. showValue="肿"
  845. ></label-box>
  846. <!-- 其他: -->
  847. </span>
  848. </td>
  849. </tr>
  850. <tr>
  851. <td style="text-align: left" colspan="8">
  852. <span style="display: inline-block; margin-left: 15px"
  853. >出血影响因素:</span
  854. >
  855. <label-box
  856. showValue="无"
  857. :isChecked="predialysis.is_hemorrhage == 2 ? true : false"
  858. ></label-box>
  859. <label-box
  860. showValue="异常"
  861. :isChecked="predialysis.is_hemorrhage == 1 ? true : false"
  862. ></label-box
  863. >&nbsp;
  864. <label-box
  865. showValue="穿刺点渗血"
  866. :isChecked="
  867. predialysis.is_hemorrhage == 1 &&
  868. predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
  869. ? true
  870. : false
  871. "
  872. ></label-box>
  873. <label-box
  874. showValue="牙龈出血"
  875. :isChecked="
  876. predialysis.is_hemorrhage == 1 &&
  877. predialysis.hemorrhage.indexOf('牙龈出血') > -1
  878. ? true
  879. : false
  880. "
  881. ></label-box>
  882. <label-box
  883. showValue="消化道出血"
  884. :isChecked="
  885. predialysis.is_hemorrhage == 1 &&
  886. predialysis.hemorrhage.indexOf('消化道出血') > -1
  887. ? true
  888. : false
  889. "
  890. ></label-box>
  891. <label-box
  892. showValue="女性经期"
  893. :isChecked="
  894. predialysis.is_hemorrhage == 1 &&
  895. predialysis.hemorrhage.indexOf('女性经期') > -1
  896. ? true
  897. : false
  898. "
  899. ></label-box
  900. >其他:
  901. <span>{{ predialysis.hemorrhage_other }}</span>
  902. </td>
  903. </tr>
  904. </table>
  905. <table class="print-table" border="1" style="line-height: 30px">
  906. <tr style="line-height: 20px">
  907. <td style="min-width: 60px">时间</td>
  908. <td style="min-width: 60px">
  909. 血压
  910. <br />(mmHg)
  911. </td>
  912. <td style="min-width: 60px">
  913. 心率
  914. <br />次/分
  915. </td>
  916. <td style="min-width: 60px">
  917. 血流量
  918. <br />ml/min
  919. </td>
  920. <td style="min-width: 60px">
  921. 静脉压
  922. <br />(mmHg)
  923. </td>
  924. <td style="min-width: 60px">
  925. 动脉压
  926. <br />(mmHg)
  927. </td>
  928. <td style="min-width: 60px">
  929. 跨膜压
  930. <br />(mmHg)
  931. </td>
  932. <td style="min-width: 60px">
  933. 超滤率
  934. <br />ml/h
  935. </td>
  936. <td style="min-width: 60px">
  937. 超滤量
  938. <br />ml
  939. </td>
  940. <td style="min-width: 60px">
  941. 电导度
  942. <br />
  943. </td>
  944. <td style="min-width: 60px">病情变化及处理</td>
  945. <td style="min-width: 110px">护士签名核对者</td>
  946. </tr>
  947. <tr
  948. v-for="(monitor, monindex) in monitors"
  949. :key="monindex"
  950. style="height: 30px"
  951. >
  952. <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  953. <td>
  954. {{
  955. monitor.systolic_blood_pressure
  956. ? monitor.systolic_blood_pressure + "/"
  957. : ""
  958. }}{{
  959. monitor.diastolic_blood_pressure
  960. ? monitor.diastolic_blood_pressure
  961. : ""
  962. }}
  963. </td>
  964. <td>{{ monitor.pulse_frequency }}</td>
  965. <td>{{ monitor.blood_flow_volume }}</td>
  966. <td>{{ monitor.venous_pressure }}</td>
  967. <td>
  968. {{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}
  969. </td>
  970. <td>{{ monitor.transmembrane_pressure }}</td>
  971. <td>{{ monitor.ultrafiltration_rate }}</td>
  972. <td>{{ monitor.ultrafiltration_volume }}</td>
  973. <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
  974. <td>
  975. <span style="line-height: 18px; display: block">
  976. {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
  977. monitor.result
  978. }}
  979. </span>
  980. </td>
  981. <td>
  982. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  983. {{ getAdminUser(monitor.monitoring_nurse) }}
  984. </span>
  985. <span
  986. v-else
  987. style="
  988. display: flex;
  989. align-items: center;
  990. justify-content: space-around;
  991. height: 36px;
  992. "
  993. >
  994. <img
  995. style="height: 30px"
  996. :src="setAdminUserES(monitor.monitoring_nurse)"
  997. alt
  998. srcset
  999. />
  1000. </span>
  1001. </td>
  1002. </tr>
  1003. <tr>
  1004. <td style="text-align: left" colspan="12">
  1005. <span style="display: inline-block; margin-left: 15px"
  1006. >透析护理记录:{{ nursing_record }}</span
  1007. >
  1008. </td>
  1009. </tr>
  1010. <tr>
  1011. <td style="text-align: left" colspan="12">
  1012. <span style="display: inline-block; margin-left: 15px">
  1013. 透后评估: 透析过程:
  1014. <label-box
  1015. showValue="完成"
  1016. :isChecked="
  1017. afterdialysis.dialysis_process == 1 ? true : false
  1018. "
  1019. ></label-box>
  1020. <label-box
  1021. showValue="提前"
  1022. :isChecked="
  1023. afterdialysis.dialysis_process == 2 ? true : false
  1024. "
  1025. ></label-box
  1026. >&nbsp;&nbsp; 并发症:{{
  1027. afterdialysis.complication ? afterdialysis.complication : ""
  1028. }}
  1029. </span>
  1030. </td>
  1031. </tr>
  1032. <tr>
  1033. <td style="text-align: left" colspan="2">
  1034. <span style="display: inline-block; margin-left: 15px"
  1035. >实际置换量:{{
  1036. afterdialysis.actual_displacement
  1037. ? afterdialysis.actual_displacement
  1038. : "/"
  1039. }}
  1040. L</span
  1041. >
  1042. </td>
  1043. <td style="text-align: left" colspan="10">
  1044. <span>
  1045. 透析器及管路凝血情况:
  1046. <label-box
  1047. showValue="0级"
  1048. :isChecked="afterdialysis.cruor.indexOf('透析器-0级') > -1"
  1049. ></label-box>
  1050. <label-box
  1051. showValue="1级"
  1052. :isChecked="afterdialysis.cruor.indexOf('透析器-1级') > -1"
  1053. ></label-box>
  1054. <label-box
  1055. showValue="2级"
  1056. :isChecked="afterdialysis.cruor.indexOf('透析器-2级') > -1"
  1057. ></label-box>
  1058. <label-box
  1059. showValue="3级"
  1060. :isChecked="afterdialysis.cruor.indexOf('透析器-3级') > -1"
  1061. ></label-box
  1062. >&nbsp;&nbsp;
  1063. {{ getCruor(afterdialysis.cruor) }}
  1064. </span>
  1065. </td>
  1066. </tr>
  1067. <tr>
  1068. <td style="text-align: left" colspan="2">
  1069. <span style="display: inline-block; margin-left: 15px">
  1070. <span
  1071. v-if="finshForm.url === ''"
  1072. style="display: flex; align-items: center; height: 36px"
  1073. >下机护士:{{ finshForm.finish_nurse }}</span
  1074. >
  1075. <span
  1076. v-if="finshForm.url !== ''"
  1077. style="display: flex; align-items: center; height: 36px"
  1078. >
  1079. 下机护士:
  1080. <img :src="finshForm.url" style="height: 30px" />
  1081. </span>
  1082. </span>
  1083. </td>
  1084. </tr>
  1085. </table>
  1086. <div
  1087. v-if="tableAdvice.length > 8"
  1088. style="page-break-after: always"
  1089. ></div>
  1090. <div v-if="tableAdvice.length > 8" class="order-title">
  1091. {{ orgname }}&nbsp;&nbsp;&nbsp;血液净化治疗记录单续页
  1092. </div>
  1093. <table
  1094. v-if="tableAdvice.length > 8"
  1095. class="print-table"
  1096. border="1"
  1097. style="margin-top: 10px"
  1098. >
  1099. <tr>
  1100. <td style="text-align: left">
  1101. <span style="display: inline-block; margin-left: 15px">
  1102. {{ getDatge(queryParams.xtdate) }}
  1103. </span>
  1104. </td>
  1105. <td style="text-align: center">
  1106. 姓名:
  1107. <span style="display: inline-block; margin-left: 10px">
  1108. {{ patientInfo.name }}
  1109. </span>
  1110. </td>
  1111. <td style="text-align: center">
  1112. 性别:
  1113. <span style="display: inline-block; margin-left: 10px">
  1114. {{ patientInfo.gender }}
  1115. </span>
  1116. </td>
  1117. <td style="text-align: center">
  1118. 年龄:
  1119. <span style="display: inline-block; margin-left: 10px">
  1120. {{ getAge(patientInfo) }}
  1121. </span>
  1122. </td>
  1123. <td style="text-align: center" colspan="2">
  1124. 透析次数:
  1125. <span style="display: inline-block; margin-left: 10px">
  1126. {{
  1127. patientInfo.total_dialysis + patientInfo.user_sys_before_count
  1128. }}
  1129. </span>
  1130. </td>
  1131. <!-- <td style="text-align:center;">
  1132. <template v-if="receiverTreatmentAccess.condition == 1">
  1133. 住院号:
  1134. <span style="display:inline-block;margin-left:10px;">
  1135. {{
  1136. receiverTreatmentAccess.admission_number
  1137. ? receiverTreatmentAccess.admission_number
  1138. : "/"
  1139. }}
  1140. </span>
  1141. </template>
  1142. <template v-else>
  1143. 门诊号:
  1144. <span style="display:inline-block;margin-left:10px;">
  1145. {{
  1146. patientInfo.admission_number
  1147. ? patientInfo.admission_number
  1148. : "/"
  1149. }}
  1150. </span>
  1151. </template>
  1152. </td> -->
  1153. <td style="text-align: center">
  1154. 机器号:
  1155. <span style="display: inline-block; margin-left: 10px">
  1156. {{
  1157. dialysisOrder &&
  1158. dialysisOrder.DeviceNumber &&
  1159. dialysisOrder.DeviceNumber.number > 0
  1160. ? dialysisOrder.DeviceNumber.number
  1161. : patientInfo.DialysisSchedule.device_number.number
  1162. }}
  1163. </span>
  1164. </td>
  1165. </tr>
  1166. </table>
  1167. <table class="print-table" border="1">
  1168. <tr>
  1169. <td>时间</td>
  1170. <td>医生</td>
  1171. <td>临时医嘱</td>
  1172. <td>执行者</td>
  1173. <td>执行时间</td>
  1174. <!-- <td>核对者</td> -->
  1175. </tr>
  1176. <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
  1177. <td style="height: 30px; line-height: 30px">
  1178. {{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}
  1179. </td>
  1180. <td>
  1181. <span v-if="setAdminUserES(advice.advice_doctor) == ''">
  1182. {{ getAdminUser(advice.advice_doctor) }}
  1183. </span>
  1184. <span
  1185. v-else
  1186. style="
  1187. display: flex;
  1188. align-items: center;
  1189. justify-content: space-around;
  1190. height: 36px;
  1191. "
  1192. >
  1193. <img
  1194. style="height: 30px"
  1195. :src="setAdminUserES(advice.advice_doctor)"
  1196. alt
  1197. srcset
  1198. />
  1199. </span>
  1200. </td>
  1201. <td
  1202. class="parent"
  1203. style="text-align: left; padding-left: 20px !important"
  1204. >
  1205. <span v-if="advice.parent_id > 0">&nbsp;&nbsp;&nbsp;</span>
  1206. <span>{{ advice.advice_name }}</span>
  1207. <span v-if="advice && advice.advice_desc"
  1208. >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
  1209. >
  1210. <span v-if="advice.prescribing_number">
  1211. &nbsp;&nbsp; {{ advice.prescribing_number
  1212. }}{{ advice.prescribing_number_unit }}
  1213. </span>
  1214. <span v-if="advice.single_dose != 0"
  1215. >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span
  1216. >
  1217. <span v-if="advice.parent_id == 0">{{
  1218. advice.delivery_way
  1219. }}</span>
  1220. <span v-if="advice.parent_id == 0">
  1221. {{ advice.execution_frequency }}
  1222. </span>
  1223. <span v-if="advice.parent_id == 0 && advice.remark.length > 0"
  1224. >({{ advice.remark }})</span
  1225. >
  1226. </td>
  1227. <td>
  1228. <span v-if="setAdminUserES(advice.execution_staff) == ''">
  1229. {{ getAdminUser(advice.execution_staff) }}
  1230. </span>
  1231. <span
  1232. v-else
  1233. style="
  1234. display: flex;
  1235. align-items: center;
  1236. justify-content: space-around;
  1237. height: 36px;
  1238. "
  1239. >
  1240. <img
  1241. style="height: 30px"
  1242. :src="setAdminUserES(advice.execution_staff)"
  1243. alt
  1244. srcset
  1245. />
  1246. </span>
  1247. </td>
  1248. <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  1249. <!-- <td>
  1250. <span v-if="setAdminUserES(advice.checker) == ''">
  1251. {{ getAdminUser(advice.checker) }}
  1252. </span>
  1253. <span
  1254. v-else
  1255. style="
  1256. display: flex;
  1257. align-items: center;
  1258. justify-content: space-around;
  1259. height: 36px;
  1260. "
  1261. >
  1262. <img
  1263. style="height: 30px"
  1264. :src="setAdminUserES(advice.checker)"
  1265. alt
  1266. srcset
  1267. />
  1268. </span>
  1269. </td> -->
  1270. </tr>
  1271. <tr>
  1272. <td style="text-align: left" colspan="6">
  1273. <span style="display: inline-block; margin-left: 15px"
  1274. >特殊记录:{{ special_record }}</span
  1275. >
  1276. </td>
  1277. </tr>
  1278. <!-- <tr>
  1279. <td style="text-align:left;" colspan="3">
  1280. <span style="display:inline-block;margin-left:15px;">医生签名:</span>
  1281. <span v-if="doctorForm.url === ''">{{doctorForm.doctor}}</span>
  1282. <span v-if="doctorForm.url!==''">
  1283. <img style="height:20px" :src="doctorForm.url" />
  1284. </span>
  1285. </td>
  1286. <td style="text-align:left;" colspan="6">
  1287. <span style="display:inline-block;margin-left:15px;">质控护士签名:
  1288. <span v-if="dialysisOrder!=null&&dialysisOrder.quality_nurse_id">
  1289. {{dialysisOrder!=null&&dialysisOrder.quality_nurse_id?getAdminUser(dialysisOrder.quality_nurse_id):''}}
  1290. </span>
  1291. <span
  1292. v-else style="align-items:center;justify-content:space-around;height:36px;"
  1293. >
  1294. <img style="height:30px;" :src="dialysisOrder!=null&&dialysisOrder.quality_nurse_id?setAdminUserES(dialysisOrder.quality_nurse_id):''" alt srcset />
  1295. </span>
  1296. </span>
  1297. </td>
  1298. </tr> -->
  1299. </table>
  1300. <!-- <div style="margin-top:20px">
  1301. <span style="margin-left:280px;">肝素浓度:每毫升肝素生理盐水含肝素钠2.5毫克</span>
  1302. </div>-->
  1303. </div>
  1304. </div>
  1305. </div>
  1306. </template>
  1307. <script>
  1308. import { getDialysisRecord } from "@/api/dialysis";
  1309. import { getDataConfig } from "@/utils/data";
  1310. import { jsGetAge, uParseTime } from "@/utils/tools";
  1311. import LabelBox from "../printItem/LabelBox";
  1312. import CheckBox from "../batch_print/option_check_box";
  1313. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1314. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1315. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1316. export default {
  1317. name: "dialysisPrintOrderOne",
  1318. components: {
  1319. // DialysisPrintOrderOne,
  1320. // DialysisPrintOrderTwo,
  1321. LabelBox,
  1322. BreadCrumb,
  1323. CheckBox,
  1324. },
  1325. data() {
  1326. return {
  1327. crumbs: [
  1328. { path: false, name: "透析管理" },
  1329. { path: false, name: "打印单" },
  1330. ],
  1331. operators: [],
  1332. adminUser: [],
  1333. check: {},
  1334. dialysisOrder: {
  1335. DeviceNumber: [],
  1336. },
  1337. posture_arr: [],
  1338. operatorMaps: {},
  1339. complications: [
  1340. "低血压",
  1341. "高血压",
  1342. "心律失常",
  1343. "头晕",
  1344. "头痛",
  1345. "呕吐",
  1346. "抽搐",
  1347. "出血",
  1348. "心衰",
  1349. "腹痛",
  1350. "无",
  1351. ],
  1352. consciousness_arr: [],
  1353. jilurow: 0,
  1354. advice_jilurow: 0,
  1355. loading: false,
  1356. orgname: "",
  1357. patientInfo_gender_1: false,
  1358. patientInfo_gender_2: false,
  1359. patientInfo_source_2: false,
  1360. patientInfo_source_1: false,
  1361. modeOptions: {},
  1362. replacementWays: [],
  1363. perfusionApparatus: [],
  1364. anticoagulantsConfit: {},
  1365. bloodAccessParOpera: {},
  1366. dialysateFormulationOptions: {},
  1367. queryParams: {
  1368. xtdate: "",
  1369. xtno: "",
  1370. },
  1371. patientInfo: {
  1372. birth: "",
  1373. age: "",
  1374. DialysisSchedule: {
  1375. device_number: { number: "" },
  1376. device_zone: { name: "" },
  1377. },
  1378. gender: 0,
  1379. },
  1380. predialysis: {
  1381. score: "",
  1382. internal_fistula: "",
  1383. internal_fistula_skin: "",
  1384. catheter: "",
  1385. blood_access_part_opera_name: "",
  1386. },
  1387. afterdialysis: {
  1388. complications_index: "",
  1389. },
  1390. prescription: {
  1391. dialysate_formulation_name: "",
  1392. device: {},
  1393. },
  1394. advices: [],
  1395. users: [],
  1396. monitors: [],
  1397. summary: {},
  1398. receiverTreatmentAccess: {},
  1399. org_template_info: {},
  1400. doctor_advices: [],
  1401. advice_groups: [],
  1402. schedule: [],
  1403. AlPanel: {
  1404. id: 0,
  1405. name: "",
  1406. type: 1,
  1407. shouji: 2,
  1408. weichi: 2,
  1409. zongliang: 2,
  1410. gaimingcheng: -1,
  1411. gaijiliang: -1,
  1412. shouji_unit: "mg",
  1413. weichi_unit: "mg/h",
  1414. zongliang_unit: "mg",
  1415. gaimingcheng_unit: "",
  1416. gaijiliang_unit: "",
  1417. },
  1418. list: 5,
  1419. replacement_total: "",
  1420. actual_treatment_hour: "",
  1421. actual_treatment_minute: "",
  1422. anticoagulant: "",
  1423. anticoagulant_shouji: "",
  1424. anticoagulant_zongliang: "",
  1425. prescription_dewatering: "",
  1426. blood_flow_volume: "",
  1427. dialysate_flow: "",
  1428. bed: "",
  1429. dialyzer_perfusion_apparatus: "",
  1430. dialysate_formulation: "",
  1431. blood_access: "",
  1432. doctor: "",
  1433. nurse: "",
  1434. doctorAdvice: [],
  1435. total: "",
  1436. weight_before: "",
  1437. dry_weight: "",
  1438. weight_after: "",
  1439. weightloss_after: "",
  1440. actual_ultrafiltration: "",
  1441. temperature: "",
  1442. systolic_blood_pressure: "",
  1443. diastolic_blood_pressure: "",
  1444. mission: "",
  1445. dialysis_summary: "",
  1446. orderForm: {
  1447. start_nurse: "",
  1448. url: "",
  1449. },
  1450. doctorForm: {
  1451. doctor: "",
  1452. url: "",
  1453. },
  1454. finshForm: {
  1455. finish_nurse: "",
  1456. url: "",
  1457. },
  1458. tableAdvice: [],
  1459. monitor: [],
  1460. displace_liqui: "",
  1461. kalium: "",
  1462. sodium: "",
  1463. calcium: "",
  1464. weight_gain: "",
  1465. afterWeightLast: "",
  1466. anticoagulant_weichi: "",
  1467. target_ultrafiltration: "",
  1468. blood_access_internal_fistula: "",
  1469. venous_catheterization: "",
  1470. blood_access_part_opera_id: "",
  1471. dryWeight_add: "",
  1472. weight: "",
  1473. vascularId: 0,
  1474. PunctureNurse: {
  1475. user_name: "",
  1476. url: "",
  1477. },
  1478. arr: [],
  1479. arrtwo: [],
  1480. bloodAccess: [],
  1481. vascularAccess: [],
  1482. nursing_record: "",
  1483. special_record: "",
  1484. newTableAdvice: [],
  1485. qualityNurse: {},
  1486. };
  1487. },
  1488. methods: {
  1489. checkData() {
  1490. if (this.receiverTreatmentAccess.condition == 0) {
  1491. this.$message.error("门诊或住院未填");
  1492. } else if (
  1493. this.receiverTreatmentAccess.condition == 1 &&
  1494. this.receiverTreatmentAccess.admission_number == ""
  1495. ) {
  1496. this.$message.error("住院号未填");
  1497. } else if (
  1498. this.receiverTreatmentAccess.condition == 2 &&
  1499. this.patientInfo.admission_number == ""
  1500. ) {
  1501. this.$message.error("门诊号未填");
  1502. } else if (this.prescription.mode_id == "") {
  1503. this.$message.error("治疗方式未填");
  1504. } else if (this.predialysis.dry_weight == 0) {
  1505. this.$message.error("干体重未填");
  1506. } else if (this.prescription.conductivity == 0) {
  1507. this.$message.error("电导率未填");
  1508. } else if (this.prescription.calcium == 0) {
  1509. this.$message.error("钙未填");
  1510. } else if (this.prescription.dialysate_temperature == 0) {
  1511. this.$message.error("透析液温度未填");
  1512. } else if (this.predialysis.weight_before == 0) {
  1513. this.$message.error("透前体重未填");
  1514. } else if (this.prescription.target_ultrafiltration == 0) {
  1515. this.$message.error("设定脱水量未填");
  1516. } else if (this.prescription.anticoagulant == 0) {
  1517. this.$message.error("抗凝剂未填");
  1518. } else if (this.afterdialysis.weight_after == 0) {
  1519. this.$message.error("透后体重未填");
  1520. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  1521. this.$message.error("实际脱水量未填");
  1522. } else if (
  1523. this.prescription.dialysis_duration_hour == 0 &&
  1524. this.prescription.dialysis_duration_minute == 0
  1525. ) {
  1526. this.$message.error("透析时间未填");
  1527. } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
  1528. this.$message.error("透析器型号未填");
  1529. } else if (
  1530. this.prescription.displace_liqui_part == 0 &&
  1531. (this.prescription.mode_id == 2 ||
  1532. this.prescription.mode_id == 5 ||
  1533. this.prescription.mode_id == 12)
  1534. ) {
  1535. this.$message.error("置换方式未填");
  1536. } else if (
  1537. this.prescription.displace_liqui_value == 0 &&
  1538. (this.prescription.mode_id == 2 ||
  1539. this.prescription.mode_id == 5 ||
  1540. this.prescription.mode_id == 12)
  1541. ) {
  1542. this.$message.error("置换量未填");
  1543. } else if (this.orderForm.start_nurse == "") {
  1544. this.$message.error("责任护士未填");
  1545. } else if (this.orderForm.start_nurse == "") {
  1546. this.$message.error("上机护士未填");
  1547. } else if (this.orderForm.start_nurse == "") {
  1548. this.$message.error("抗凝剂执行护士未填");
  1549. } else if (
  1550. this.prescription.prescription_doctor == 0 &&
  1551. this.prescription.creater == 0
  1552. ) {
  1553. this.$message.error("医生签名未填");
  1554. } else if (this.receiverTreatmentAccess.way == 0) {
  1555. this.$message.error("入科方式未填");
  1556. } else if (this.receiverTreatmentAccess.consciousness == 0) {
  1557. this.$message.error("意识未填");
  1558. } else if (this.receiverTreatmentAccess.appetite == 0) {
  1559. this.$message.error("食欲未填");
  1560. } else if (this.predialysis.temperature == 0) {
  1561. this.$message.error("透前体温未填");
  1562. } else if (this.receiverTreatmentAccess.posture == 0) {
  1563. this.$message.error("体位未填");
  1564. } else if (this.predialysis.blood_access_part_opera_name == "") {
  1565. this.$message.error("内瘘波动及震颤未填");
  1566. } else if (this.predialysis.blood_access_part_id == 0) {
  1567. this.$message.error("中心静脉导管部位未填");
  1568. } else if (this.predialysis.venous_catheterization == 0) {
  1569. this.$message.error("中心静脉导管未填");
  1570. } else if (this.predialysis.catheter == "") {
  1571. this.$message.error("中心静脉导管感染未填");
  1572. } else if (this.predialysis.internal_fistula_skin == "") {
  1573. this.$message.error("血管通路皮肤情况未填");
  1574. } else if (this.predialysis.skin == "") {
  1575. this.$message.error("皮肤未填");
  1576. } else if (this.predialysis.is_hemorrhage == 0) {
  1577. this.$message.error("是否出血未填");
  1578. } else if (
  1579. this.predialysis.is_hemorrhage == 1 &&
  1580. this.predialysis.hemorrhage == ""
  1581. ) {
  1582. this.$message.error("出血影响因素未填");
  1583. } else if (this.predialysis.special_medicine_other == "") {
  1584. this.$message.error("使用特殊药物未填");
  1585. } else if (this.receiverTreatmentAccess.danger_level == 0) {
  1586. this.$message.error("跌倒风险未填");
  1587. } else if (this.receiverTreatmentAccess.precaution == "") {
  1588. this.$message.error("跌倒风险预防措施未填");
  1589. } else if (this.nursing_record == "") {
  1590. this.$message.error("透析护理记录未填");
  1591. } else if (this.afterdialysis.dialysis_process == 0) {
  1592. this.$message.error("透析过程未填");
  1593. } else if (this.afterdialysis.complication == "") {
  1594. this.$message.error("透后并发症未填");
  1595. } else if (this.afterdialysis.actual_displacement == 0) {
  1596. this.$message.error("实际置换量未填");
  1597. } else if (this.afterdialysis.internal_fistula == "") {
  1598. this.$message.error("内瘘搏动及震颤音未填");
  1599. } else if (this.afterdialysis.cruor == "") {
  1600. this.$message.error("透析器及管路凝血情况未填");
  1601. } else if (this.afterdialysis.is_eat == 0) {
  1602. this.$message.error("透析中进食未填");
  1603. } else if (this.afterdialysis.patient_gose == 0) {
  1604. this.$message.error("患者去向未填");
  1605. } else if (this.finshForm.finish_nurse == "") {
  1606. this.$message.error("下机护士未填");
  1607. } else if (this.special_record == "") {
  1608. this.$message.error("特殊记录未填");
  1609. } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
  1610. let num = 0;
  1611. if (this.monitors.length > 0) {
  1612. this.monitors.map((item) => {
  1613. if (item.id > 0 && item.operate_time) {
  1614. this.users.map((it) => {
  1615. if (it.id == item.monitoring_nurse) {
  1616. if (it.user_type == 2) {
  1617. num++;
  1618. this.$message.closeAll();
  1619. this.$message.error("存在不是护士保存的监测");
  1620. }
  1621. }
  1622. });
  1623. }
  1624. });
  1625. }
  1626. if (this.tableAdvice.length > 0) {
  1627. this.tableAdvice.map((item) => {
  1628. if (item.id > 0 && (item.created_time || item.start_time)) {
  1629. this.users.map((it) => {
  1630. if (it.id == item.advice_doctor) {
  1631. if (it.user_type == 3) {
  1632. num++;
  1633. this.$message.closeAll();
  1634. this.$message.error("存在不是医生保存的医嘱");
  1635. } else if (
  1636. it.id == item.execution_staff &&
  1637. item.execution_staff > 0
  1638. ) {
  1639. if (it.user_type == 2) {
  1640. num++;
  1641. this.$message.closeAll();
  1642. this.$message.error("存在不是护士执行的医嘱");
  1643. }
  1644. } else if (it.id == item.checker && item.checker > 0) {
  1645. if (it.user_type == 2) {
  1646. num++;
  1647. this.$message.closeAll();
  1648. this.$message.error("存在不是护士核对的医嘱");
  1649. }
  1650. }
  1651. } else if (
  1652. it.id == item.execution_staff &&
  1653. item.execution_staff > 0
  1654. ) {
  1655. if (it.user_type == 2) {
  1656. num++;
  1657. this.$message.closeAll();
  1658. this.$message.error("存在不是护士执行的医嘱");
  1659. }
  1660. } else if (it.id == item.checker && item.checker > 0) {
  1661. if (it.user_type == 2) {
  1662. num++;
  1663. this.$message.closeAll();
  1664. this.$message.error("存在不是护士核对的医嘱");
  1665. }
  1666. }
  1667. });
  1668. }
  1669. });
  1670. }
  1671. if (num == 0) {
  1672. this.$message.success("核对完成");
  1673. }
  1674. } else {
  1675. this.$message.success("核对完成");
  1676. }
  1677. },
  1678. getCruor(cruor) {
  1679. if (cruor.indexOf(",") == -1) {
  1680. let str = cruor;
  1681. if (
  1682. ["透析器-0级", "透析器-1级", "透析器-2级", "透析器-3级"].indexOf(
  1683. str
  1684. ) == -1
  1685. ) {
  1686. return str;
  1687. }
  1688. } else if (cruor.indexOf(",") > -1) {
  1689. let str = cruor;
  1690. if (
  1691. ["透析器-0级", "透析器-1级", "透析器-2级", "透析器-3级"].indexOf(
  1692. str
  1693. ) == -1
  1694. ) {
  1695. let newStr = "";
  1696. str.split(",").map((item) => {
  1697. if (
  1698. ["透析器-0级", "透析器-1级", "透析器-2级", "透析器-3级"].indexOf(
  1699. item
  1700. ) == -1
  1701. ) {
  1702. newStr += item + ",";
  1703. }
  1704. });
  1705. return newStr.substring(0, newStr.length - 1);
  1706. }
  1707. }
  1708. },
  1709. getAdminUser(id) {
  1710. if (id == 0) {
  1711. return "";
  1712. }
  1713. if (id == undefined) {
  1714. return "";
  1715. }
  1716. for (let i = 0; i < this.adminUser.length; i++) {
  1717. if (this.adminUser[i].id == id) {
  1718. return this.adminUser[i].name;
  1719. }
  1720. }
  1721. },
  1722. getDatge(value) {
  1723. var times = Date.parse(value) / 1000;
  1724. var timestr = uParseTime(times, "{y}年{m}月{d}日");
  1725. return timestr;
  1726. },
  1727. getTime(value, temp) {
  1728. if (value == 0) {
  1729. return "";
  1730. }
  1731. if (value != undefined) {
  1732. return uParseTime(value, temp);
  1733. }
  1734. return "";
  1735. },
  1736. getTimes(time) {
  1737. if (time === "") {
  1738. return "";
  1739. }
  1740. return uParseTime(time, "{y}-{m}-{d} {h}:{i}");
  1741. },
  1742. printThisPage() {
  1743. var ptime = Math.round(new Date().getTime() / 1000);
  1744. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1745. const style =
  1746. '@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;}';
  1747. if (this.org_template_info.template_id == 1) {
  1748. printJS({
  1749. printable: "dialysis-print-box",
  1750. type: "html",
  1751. style: style,
  1752. scanStyles: false,
  1753. });
  1754. } else if (
  1755. this.org_template_info.template_id == 2 ||
  1756. this.org_template_info.template_id == 0
  1757. ) {
  1758. printJS({
  1759. printable: "dialysis-print-box-1",
  1760. type: "html",
  1761. style: style,
  1762. scanStyles: false,
  1763. });
  1764. }
  1765. },
  1766. getNumber() {
  1767. if (this.dialysisOrder != null) {
  1768. return (
  1769. this.patientInfo.DialysisSchedule.device_zone.name +
  1770. this.dialysisOrder.DeviceNumber.number
  1771. );
  1772. } else {
  1773. return (
  1774. this.patientInfo.DialysisSchedule.device_zone.name +
  1775. this.patientInfo.DialysisSchedule.device_number.number
  1776. );
  1777. }
  1778. },
  1779. getXuserName(id) {
  1780. if (id <= 0) {
  1781. return "";
  1782. }
  1783. var name = "";
  1784. if (this.users == null || typeof this.users.length === "undefined") {
  1785. return name;
  1786. }
  1787. var leng = this.users.length;
  1788. if (leng === 0) {
  1789. return name;
  1790. }
  1791. for (let index = 0; index < leng; index++) {
  1792. if (this.users[index].id === id) {
  1793. name = this.users[index].name;
  1794. break;
  1795. }
  1796. }
  1797. return name;
  1798. },
  1799. setAdminUserES(id) {
  1800. if (id === 0) {
  1801. return "";
  1802. }
  1803. if (id in this.operatorMaps) {
  1804. return this.operatorMaps[id].url;
  1805. } else {
  1806. return "";
  1807. }
  1808. },
  1809. modeName(mode_id) {
  1810. return typeof this.modeOptions[mode_id] !== "undefined" &&
  1811. typeof this.modeOptions[mode_id].name !== "undefined"
  1812. ? this.modeOptions[mode_id].name
  1813. : "";
  1814. },
  1815. getDialysisRecord() {
  1816. this.loading = true;
  1817. getDialysisRecord(this.queryParams).then((response) => {
  1818. if (response.data.state === 1) {
  1819. this.adminUser = response.data.data.users;
  1820. this.users = response.data.data.users;
  1821. var patientInfo = response.data.data.patientInfo;
  1822. if (patientInfo.gender === 1) {
  1823. patientInfo.gender = "男";
  1824. }
  1825. if (patientInfo.gender === 2) {
  1826. patientInfo.gender = "女";
  1827. }
  1828. this.patientInfo = response.data.data.patientInfo;
  1829. // console.log("透析记录", this.patientInfo);
  1830. this.patientInfo.birth = uParseTime(
  1831. this.patientInfo.birthday,
  1832. "{y}-{m}-{d}"
  1833. );
  1834. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1835. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1836. this.patientInfo.first_dialysis_date = uParseTime(
  1837. response.data.data.patientInfo.first_dialysis_date,
  1838. "{y}-{m}-{d}"
  1839. );
  1840. } else {
  1841. this.patientInfo.first_dialysis_date = "";
  1842. }
  1843. this.check = response.data.data.check;
  1844. var predialysis = response.data.data.PredialysisEvaluation;
  1845. console.log("透前评估", predialysis);
  1846. var predialysName = response.data.data.predialysName;
  1847. this.blood_access_part_opera_id = predialysName.name;
  1848. // console.log('血管', predialysName)
  1849. // this.weight_before = predialysis.weight_before
  1850. this.dry_weight = predialysis.dry_weight;
  1851. this.weight_gain = predialysis.weight_gain;
  1852. this.blood_access_internal_fistula =
  1853. predialysis.blood_access_internal_fistula;
  1854. this.venous_catheterization = predialysis.venous_catheterization;
  1855. // this.blood_access_part_opera_id = predialysis.blood_access_part_opera_id
  1856. // console.log('血管通路', this.blood_access_part_opera_id)
  1857. var arry = [];
  1858. arry = getDataConfig("hemodialysis", "vascular_access_desc");
  1859. // eslint-disable-next-line no-empty
  1860. var id = 0;
  1861. for (let i = 0; i < arry.length; i++) {
  1862. if (arry[i].id === predialysis.blood_access_part_opera_id) {
  1863. id = predialysis.blood_access_part_opera_id;
  1864. }
  1865. this.vascularId = id;
  1866. }
  1867. this.predialysis = predialysis;
  1868. // console.log('透前评估', this.predialysis)
  1869. this.predialysis.blood_access_part_opera_name =
  1870. this.bloodAccessParOperaName(
  1871. this.predialysis.blood_access_part_opera_id
  1872. );
  1873. var afterdialysis = response.data.data.AssessmentAfterDislysis;
  1874. // eslint-disable-next-line no-undef
  1875. console.log("透后评估", afterdialysis);
  1876. this.temperature = afterdialysis.temperature;
  1877. this.actual_ultrafiltration = afterdialysis.actual_ultrafiltration;
  1878. this.actual_treatment_hour = afterdialysis.actual_treatment_hour;
  1879. this.actual_treatment_minute = afterdialysis.actual_treatment_minute;
  1880. this.systolic_blood_pressure = afterdialysis.systolic_blood_pressure;
  1881. this.diastolic_blood_pressure =
  1882. afterdialysis.diastolic_blood_pressure;
  1883. this.afterdialysis = afterdialysis;
  1884. // eslint-disable-next-line no-unused-vars
  1885. var doctoradvce = response.data.data.doctorAdvice;
  1886. var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
  1887. this.newTableAdvice = response.data.data.doctorAdevieInfo;
  1888. console.log("哈哈哈哈哈哈哈哈哈", this.newTableAdvice);
  1889. var tableAdvice = doctorAdevieInfo;
  1890. console.log("tableAdvice", tableAdvice);
  1891. // console.log('医生', tableAdvice.length)
  1892. if (tableAdvice.length === 0) {
  1893. var obj = { advice_name: "", start_time: "" };
  1894. var obj1 = { advice_name: "", start_time: "" };
  1895. var obj2 = { advice_name: "", start_time: "" };
  1896. var obj3 = { advice_name: "", start_time: "" };
  1897. var obj4 = { advice_name: "", start_time: "" };
  1898. var obj5 = { advice_name: "", start_time: "" };
  1899. var obj6 = { advice_name: "", start_time: "" };
  1900. tableAdvice.push(obj);
  1901. tableAdvice.push(obj1);
  1902. tableAdvice.push(obj2);
  1903. tableAdvice.push(obj3);
  1904. tableAdvice.push(obj4);
  1905. tableAdvice.push(obj5);
  1906. tableAdvice.push(obj6);
  1907. this.tableAdvice = tableAdvice;
  1908. }
  1909. if (tableAdvice.length === 1) {
  1910. var obj = { advice_name: "", start_time: "" };
  1911. var obj1 = { advice_name: "", start_time: "" };
  1912. var obj2 = { advice_name: "", start_time: "" };
  1913. var obj3 = { advice_name: "", start_time: "" };
  1914. var obj4 = { advice_name: "", start_time: "" };
  1915. var obj5 = { advice_name: "", start_time: "" };
  1916. tableAdvice.push(obj);
  1917. tableAdvice.push(obj1);
  1918. tableAdvice.push(obj2);
  1919. tableAdvice.push(obj3);
  1920. tableAdvice.push(obj4);
  1921. tableAdvice.push(obj5);
  1922. this.tableAdvice = tableAdvice;
  1923. }
  1924. if (tableAdvice.length === 2) {
  1925. var obj = { advice_name: "", start_time: "" };
  1926. var obj1 = { advice_name: "", start_time: "" };
  1927. var obj2 = { advice_name: "", start_time: "" };
  1928. var obj3 = { advice_name: "", start_time: "" };
  1929. var obj4 = { advice_name: "", start_time: "" };
  1930. tableAdvice.push(obj);
  1931. tableAdvice.push(obj1);
  1932. tableAdvice.push(obj2);
  1933. tableAdvice.push(obj3);
  1934. tableAdvice.push(obj4);
  1935. this.tableAdvice = tableAdvice;
  1936. }
  1937. if (tableAdvice.length === 3) {
  1938. // eslint-disable-next-line no-redeclare
  1939. var obj = { advice_name: "", start_time: "" };
  1940. // eslint-disable-next-line no-redeclare
  1941. var obj1 = { advice_name: "", start_time: "" };
  1942. // eslint-disable-next-line no-redeclare
  1943. var obj2 = { advice_name: "", start_time: "" };
  1944. // eslint-disable-next-line no-redeclare
  1945. var obj3 = { advice_name: "", start_time: "" };
  1946. tableAdvice.push(obj);
  1947. tableAdvice.push(obj1);
  1948. tableAdvice.push(obj2);
  1949. tableAdvice.push(obj3);
  1950. this.tableAdvice = tableAdvice;
  1951. }
  1952. if (tableAdvice.length === 4) {
  1953. // eslint-disable-next-line no-redeclare
  1954. var obj = { advice_name: "", start_time: "" };
  1955. // eslint-disable-next-line no-redeclare
  1956. var obj1 = { advice_name: "", start_time: "" };
  1957. // eslint-disable-next-line no-redeclare
  1958. var obj2 = { advice_name: "", start_time: "" };
  1959. tableAdvice.push(obj);
  1960. tableAdvice.push(obj1);
  1961. tableAdvice.push(obj2);
  1962. this.tableAdvice = tableAdvice;
  1963. }
  1964. if (tableAdvice.length === 5) {
  1965. // eslint-disable-next-line no-redeclare
  1966. var obj = { advice_name: "", start_time: "" };
  1967. // eslint-disable-next-line no-redeclare
  1968. var obj1 = { advice_name: "", start_time: "" };
  1969. tableAdvice.push(obj);
  1970. tableAdvice.push(obj1);
  1971. this.tableAdvice = tableAdvice;
  1972. }
  1973. if (tableAdvice.length === 6) {
  1974. // eslint-disable-next-line no-redeclare
  1975. var obj = { advice_name: "", start_time: "" };
  1976. tableAdvice.push(obj);
  1977. this.tableAdvice = tableAdvice;
  1978. }
  1979. if (tableAdvice.length >= 7) {
  1980. this.tableAdvice = tableAdvice;
  1981. }
  1982. var doctor = response.data.data.doctor;
  1983. this.doctor = doctor.user_name;
  1984. // console.log('医生', doctor)
  1985. this.PunctureNurse = response.data.data.nurse;
  1986. // console.log('穿刺护士', this.PunctureNurse)
  1987. var operators = response.data.data.operators;
  1988. // console.log('operators', operators)
  1989. var total = response.data.data.total;
  1990. console.log("total", total);
  1991. this.total = total;
  1992. this.operators = operators;
  1993. this.dialysisOrder =
  1994. response.data.data.dialysisOrder === null
  1995. ? null
  1996. : response.data.data.dialysisOrder;
  1997. if (this.operators.length > 0) {
  1998. var operatorsLen = this.operators.length;
  1999. for (var index = 0; index < operatorsLen; index++) {
  2000. this.$set(
  2001. this.operatorMaps,
  2002. this.operators[index].creator,
  2003. this.operators[index]
  2004. );
  2005. }
  2006. }
  2007. this.afterdialysis.txqnx = -1;
  2008. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  2009. this.afterdialysis.txqnx = 0;
  2010. }
  2011. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  2012. this.afterdialysis.txqnx = 1;
  2013. }
  2014. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  2015. this.afterdialysis.txqnx = 2;
  2016. }
  2017. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  2018. this.afterdialysis.txqnx = 3;
  2019. }
  2020. this.afterdialysis.complications =
  2021. this.afterdialysis.complication.split(",");
  2022. this.afterdialysis.complications_other = [];
  2023. this.afterdialysis.complications_index = [];
  2024. var acllen = this.afterdialysis.complications.length;
  2025. for (let index = 0; index < acllen; index++) {
  2026. if (
  2027. this.complications.indexOf(
  2028. this.afterdialysis.complications[index]
  2029. ) >= 0
  2030. ) {
  2031. this.afterdialysis.complications_index.push(
  2032. this.afterdialysis.complications[index]
  2033. );
  2034. } else if (
  2035. this.complications.indexOf(
  2036. this.afterdialysis.complications[index]
  2037. ) < 0 &&
  2038. this.afterdialysis.complications_other.indexOf(
  2039. this.afterdialysis.complications[index]
  2040. ) < 0
  2041. ) {
  2042. this.afterdialysis.complications_other.push(
  2043. this.afterdialysis.complications[index]
  2044. );
  2045. }
  2046. }
  2047. this.afterdialysis.complications_other =
  2048. this.afterdialysis.complications_other.join(",");
  2049. var prescription = response.data.data.dialysisPrescription;
  2050. this.prescription = prescription;
  2051. var schedule = response.data.data.schedule;
  2052. // console.log('排班', schedule)
  2053. this.schedule = schedule;
  2054. var receiverTreatmentAccess =
  2055. response.data.data.receiverTreatmentAccess;
  2056. console.log("接诊评估", receiverTreatmentAccess);
  2057. var obj = receiverTreatmentAccess.precaution;
  2058. var arr = obj.split(",");
  2059. console.log("arr", arr);
  2060. var arr2 = [];
  2061. for (let i = 0; i < this.precautions.length; i++) {
  2062. for (let j = 0; j < arr.length; j++) {
  2063. if (this.precautions[i].id == parseInt(arr[j])) {
  2064. arr2.push(this.precautions[i].name);
  2065. }
  2066. }
  2067. }
  2068. var obj2 = arr2.join(",");
  2069. console.log("obj2", obj2);
  2070. receiverTreatmentAccess.precaution = obj2;
  2071. console.log("接诊评估", receiverTreatmentAccess);
  2072. this.receiverTreatmentAccess = receiverTreatmentAccess;
  2073. var dialysisway = response.data.data.dialysisway;
  2074. console.log("透析处方", dialysisway);
  2075. this.target_ultrafiltration = dialysisway.target_ultrafiltration;
  2076. var order = response.data.data.order;
  2077. // console.log('上下机', order)
  2078. var start_nurse = response.data.data.startNuse;
  2079. // console.log('上机护士', start_nurse)
  2080. this.orderForm.start_nurse = start_nurse.user_name;
  2081. this.orderForm.url = start_nurse.url;
  2082. var finish_nurse = response.data.data.FinishNuse;
  2083. // console.log('下机护士', finish_nurse)
  2084. this.finshForm.url = finish_nurse.url;
  2085. this.finshForm.finish_nurse = finish_nurse.user_name;
  2086. var doctorname = response.data.data.DoctorName;
  2087. // console.log('医师签名', doctorname)
  2088. this.doctorForm.doctor = doctorname.user_name;
  2089. this.doctorForm.url = doctorname.url;
  2090. this.bed = order.number;
  2091. this.replacement_total = dialysisway.replacement_total;
  2092. this.anticoagulant = dialysisway.anticoagulant;
  2093. this.anticoagulant_shouji = dialysisway.anticoagulant_shouji;
  2094. this.anticoagulant_zongliang = dialysisway.anticoagulant_zongliang;
  2095. this.prescription_dewatering = dialysisway.prescription_dewatering;
  2096. this.blood_flow_volume = dialysisway.blood_flow_volume;
  2097. this.dialysate_flow = dialysisway.dialysate_flow;
  2098. this.dialyzer_perfusion_apparatus =
  2099. dialysisway.dialyzer_perfusion_apparatus;
  2100. this.dialysate_formulation = dialysisway.dialysate_formulation;
  2101. this.blood_access = dialysisway.blood_access;
  2102. this.displace_liqui = dialysisway.displace_liqui;
  2103. this.kalium = dialysisway.kalium;
  2104. this.sodium = dialysisway.sodium;
  2105. this.calcium = dialysisway.calcium;
  2106. this.anticoagulant_weichi = dialysisway.anticoagulant_weichi;
  2107. // var afterWeightLast = response.data.data.assessmentAfterDislysis
  2108. // this.afterWeightLast = afterWeightLast.weight_after
  2109. // eslint-disable-next-line no-undef
  2110. // console.log('透前体重', this.weight_before)
  2111. // console.log('干体中', this.dry_weight)
  2112. // console.log('什么体重', predialysis.additional_weight)
  2113. // console.log('较干体中增加量', this.dryWeight_add)
  2114. // this.afterWeightLast = afterWeightLast.weight_after
  2115. this.prescription.mode = this.modeName(this.prescription.mode_id);
  2116. var rwLen = this.replacementWays.length;
  2117. this.prescription.replacement = "";
  2118. for (let index = 0; index < rwLen; index++) {
  2119. if (
  2120. this.replacementWays[index].id ==
  2121. this.prescription.replacement_way
  2122. ) {
  2123. this.prescription.replacement = this.replacementWays[index].name;
  2124. break;
  2125. }
  2126. }
  2127. this.prescription.dialysate_formulation_name =
  2128. this.dialysateFormulationName(
  2129. this.prescription.dialysate_formulation
  2130. );
  2131. var paLen = this.perfusionApparatus.length;
  2132. this.prescription.perfusion_apparatus_name = "";
  2133. for (let index = 0; index < paLen; index++) {
  2134. if (
  2135. this.perfusionApparatus[index].id ==
  2136. this.prescription.perfusion_apparatus
  2137. ) {
  2138. this.prescription.perfusion_apparatus_name =
  2139. this.perfusionApparatus[index].name;
  2140. break;
  2141. }
  2142. }
  2143. // eslint-disable-next-line no-unused-vars
  2144. var acLen = this.anticoagulantsConfit.length;
  2145. var thisALID = this.prescription.anticoagulant;
  2146. this.prescription.anticoagulant_name = "";
  2147. if (
  2148. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  2149. this.anticoagulantsConfit[thisALID] != null
  2150. ) {
  2151. this.prescription.anticoagulant_name =
  2152. this.anticoagulantsConfit[thisALID].name;
  2153. this.AlPanel = this.anticoagulantsConfit[thisALID];
  2154. }
  2155. this.advices = response.data.data.advices;
  2156. // console.log('医嘱', this.advices)
  2157. var monitor = response.data.data.monitor;
  2158. // console.log('透析监测', monitor)
  2159. this.monitor = monitor;
  2160. // console.log('monitor', monitor)
  2161. this.monitors = response.data.data.monitors;
  2162. // console.log("透析监测", this.monitors);
  2163. var summary = response.data.data.summary;
  2164. console.log("透析小结", summary);
  2165. this.mission = summary.mission;
  2166. this.dialysis_summary = summary.dialysis_summary;
  2167. this.nursing_record = summary.nursing_record;
  2168. this.special_record = summary.special_record;
  2169. this.org_template_info = response.data.data.org_template_info;
  2170. if (this.monitors.length < 7) {
  2171. var nl = 8 - this.monitors.length;
  2172. for (let index = 0; index < nl; index++) {
  2173. this.monitors.push([]);
  2174. }
  2175. }
  2176. this.jilurow = this.monitors.length + 1;
  2177. this.advice_jilurow = this.advices.length + 1;
  2178. var childMap = {};
  2179. for (const index in this.advices) {
  2180. if (this.advices[index].parent_id == 0) {
  2181. continue;
  2182. }
  2183. if (!(this.advices[index].parent_id in childMap)) {
  2184. childMap[this.advices[index].parent_id] = [];
  2185. }
  2186. childMap[this.advices[index].parent_id].push(this.advices[index]);
  2187. }
  2188. var advices = [];
  2189. for (const index in this.advices) {
  2190. if (this.advices[index].parent_id > 0) {
  2191. continue;
  2192. }
  2193. var item = this.advices[index];
  2194. if (item.id in childMap) {
  2195. item.children = childMap[item.id];
  2196. } else {
  2197. item.children = [];
  2198. }
  2199. advices.push(item);
  2200. }
  2201. var leftAdvice = [];
  2202. var rightAdvice = [];
  2203. var adlen = advices.length;
  2204. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  2205. for (var i = 0; i < halfLen; i++) {
  2206. leftAdvice.push(advices[i]);
  2207. rightAdvice.push(advices[i + halfLen]);
  2208. }
  2209. if (halfLen < 5) {
  2210. var nl = 5 - leftAdvice.length;
  2211. for (let index = 0; index < nl; index++) {
  2212. leftAdvice.push([]);
  2213. }
  2214. var nl = 5 - rightAdvice.length;
  2215. for (let index = 0; index < nl; index++) {
  2216. rightAdvice.push([]);
  2217. }
  2218. }
  2219. this.advices = [];
  2220. for (var i = 0; i < halfLen; i++) {
  2221. var item = [];
  2222. item.push(leftAdvice[i]);
  2223. item.push(rightAdvice[i]);
  2224. this.advices.push(item);
  2225. }
  2226. this.loading = false;
  2227. this.doctor_advices =
  2228. response.data.data.advices == null
  2229. ? []
  2230. : response.data.data.advices;
  2231. for (let index = 0; index < this.doctor_advices.length; index++) {
  2232. this.doctor_advices[index]["isShow"] = 2;
  2233. }
  2234. if (this.doctor_advices.length > 0) {
  2235. var group = this.newAdviceGroupObject();
  2236. var initGroupBlock = function (group, advice) {
  2237. group.group_no = advice.groupno;
  2238. };
  2239. for (
  2240. let index = this.doctor_advices.length - 1;
  2241. index >= 0;
  2242. index--
  2243. ) {
  2244. var new_advice_index = 0;
  2245. if (
  2246. "children" in this.doctor_advices[index] &&
  2247. this.doctor_advices[index].children.length > 0
  2248. ) {
  2249. new_advice_index =
  2250. index + this.doctor_advices[index].children.length + 1;
  2251. var doctor_advice = {
  2252. delivery_way: this.doctor_advices[index].delivery_way,
  2253. execution_frequency:
  2254. this.doctor_advices[index].execution_frequency,
  2255. groupno: this.doctor_advices[index].groupno,
  2256. id: this.doctor_advices[index].id,
  2257. parent_id: this.doctor_advices[index].parent_id,
  2258. children: this.doctor_advices[index].children,
  2259. remark: this.doctor_advices[index].remark,
  2260. };
  2261. doctor_advice["isShow"] = 1;
  2262. this.doctor_advices.splice(new_advice_index, 0, doctor_advice);
  2263. // this.doctor_advices.push(doctor_advice)
  2264. }
  2265. }
  2266. for (let index = 0; index < this.doctor_advices.length; index++) {
  2267. const advice = this.doctor_advices[index];
  2268. if (advice.groupno == 0) {
  2269. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2270. if (advice.parent_id > 0) {
  2271. if (this.advice_groups.length > 0) {
  2272. var parent_group =
  2273. this.advice_groups[this.advice_groups.length - 1];
  2274. if (parent_group.advices.length > 0) {
  2275. if (parent_group.advices[0].id == advice.parent_id) {
  2276. parent_group.advices.push(advice);
  2277. }
  2278. }
  2279. }
  2280. continue;
  2281. } else {
  2282. if (group.group_no > 0) {
  2283. this.advice_groups.push(group);
  2284. group = this.newAdviceGroupObject();
  2285. }
  2286. initGroupBlock(group, advice);
  2287. group.advices.push(advice);
  2288. this.advice_groups.push(group);
  2289. group = this.newAdviceGroupObject();
  2290. continue;
  2291. }
  2292. }
  2293. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2294. this.advice_groups.push(group);
  2295. group = this.newAdviceGroupObject();
  2296. }
  2297. if (group.group_no == 0) {
  2298. initGroupBlock(group, advice);
  2299. }
  2300. if (group.group_no == advice.groupno) {
  2301. group.advices.push(advice);
  2302. }
  2303. }
  2304. if (group.group_no > 0) {
  2305. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2306. this.advice_groups.push(group);
  2307. }
  2308. }
  2309. } else {
  2310. this.loading = false;
  2311. this.$message.error("请求数据失败");
  2312. return false;
  2313. }
  2314. });
  2315. },
  2316. bloodAccessParOperaName(id) {
  2317. if (id in this.bloodAccessParOpera) {
  2318. return this.bloodAccessParOpera[id].name;
  2319. }
  2320. return "";
  2321. },
  2322. dialysateFormulationName(id) {
  2323. if (id in this.dialysateFormulationOptions) {
  2324. return this.dialysateFormulationOptions[id].name;
  2325. }
  2326. return "";
  2327. },
  2328. getAge: function (val) {
  2329. if (val.birthday != 0) {
  2330. return jsGetAge(val.birth, "-");
  2331. } else {
  2332. return "";
  2333. }
  2334. },
  2335. newAdviceGroupObject: function () {
  2336. return Object.assign(
  2337. {},
  2338. {
  2339. group_no: 0,
  2340. // advice_doctor: 0,
  2341. // start_time: 0,
  2342. advices: [],
  2343. // exec_staff: 0,
  2344. // exec_time: 0,
  2345. // checker: 0,
  2346. }
  2347. );
  2348. },
  2349. getPartName(id) {
  2350. for (let i = 0; i < this.vascularAccess.length; i++) {
  2351. if (this.vascularAccess[i].id == id) {
  2352. return this.vascularAccess[i].name;
  2353. }
  2354. }
  2355. },
  2356. },
  2357. watch: {
  2358. "patientInfo.gender": function () {
  2359. if (this.patientInfo.gender == 1) {
  2360. this.patientInfo_gender_1 = true;
  2361. this.patientInfo_gender_2 = false;
  2362. } else if (this.patientInfo.gender == 2) {
  2363. this.patientInfo_gender_2 = true;
  2364. this.patientInfo_gender_1 = false;
  2365. } else {
  2366. this.patientInfo_gender_2 = false;
  2367. this.patientInfo_gender_1 = false;
  2368. }
  2369. },
  2370. "patientInfo.source": function () {
  2371. if (this.patientInfo.source == 1) {
  2372. this.patientInfo_source_1 = true;
  2373. this.patientInfo_source_2 = false;
  2374. } else if (this.patientInfo.source == 2) {
  2375. this.patientInfo_source_2 = true;
  2376. this.patientInfo_source_1 = false;
  2377. } else {
  2378. this.patientInfo_source_2 = false;
  2379. this.patientInfo_source_1 = false;
  2380. }
  2381. },
  2382. },
  2383. created() {
  2384. var xtuser = this.$store.getters.xt_user;
  2385. this.orgname = xtuser.org.org_name;
  2386. // this.orgname = "遂溪方济医院";
  2387. this.modeOptions = this.$store.getters.treatment_mode;
  2388. this.replacementWays = this.$store.getters.replacement_ways;
  2389. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2390. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2391. var vascularAccess = getDataConfig("hemodialysis", "vascular_access");
  2392. this.vascularAccess = vascularAccess;
  2393. // console.log("hhe", vascularAccess);
  2394. console.log(
  2395. "血管通路部位",
  2396. getDataConfig("hemodialysis", "vascular_access")
  2397. );
  2398. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2399. var bloodAccessParOpera = getDataConfig(
  2400. "hemodialysis",
  2401. "vascular_access_desc"
  2402. );
  2403. var arr = [];
  2404. var arrtwo = [];
  2405. for (let i = 0; i < bloodAccessParOpera.length; i++) {
  2406. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-存在") {
  2407. bloodAccessParOpera[i].name = "存在";
  2408. arr.push(bloodAccessParOpera[i]);
  2409. }
  2410. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-减弱") {
  2411. bloodAccessParOpera[i].name = "减弱";
  2412. arr.push(bloodAccessParOpera[i]);
  2413. }
  2414. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-消失") {
  2415. bloodAccessParOpera[i].name = "消失";
  2416. arr.push(bloodAccessParOpera[i]);
  2417. }
  2418. if (bloodAccessParOpera[i].name == "直穿") {
  2419. arrtwo.push(bloodAccessParOpera[i]);
  2420. }
  2421. if (bloodAccessParOpera[i].name == "人造血管") {
  2422. arrtwo.push(bloodAccessParOpera[i]);
  2423. }
  2424. if (bloodAccessParOpera[i].name == "移植血管") {
  2425. arrtwo.push(bloodAccessParOpera[i]);
  2426. }
  2427. this.arr = arr;
  2428. this.arrtwo = arrtwo;
  2429. }
  2430. console.log("arr", arr);
  2431. console.log("arrtwo", arrtwo);
  2432. var bloodAccessParOpera = getDataConfig(
  2433. "hemodialysis",
  2434. "vascular_access_desc"
  2435. );
  2436. for (var key in bloodAccessParOpera) {
  2437. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2438. bloodAccessParOpera[key];
  2439. }
  2440. var dialysateFormulationOptions = getDataConfig(
  2441. "hemodialysis",
  2442. "dialysate_formulation"
  2443. );
  2444. for (var key in dialysateFormulationOptions) {
  2445. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2446. dialysateFormulationOptions[key];
  2447. }
  2448. const xtdate = this.$route.query && this.$route.query.xtdate;
  2449. const xtno = this.$route.query && this.$route.query.xtno;
  2450. if (
  2451. typeof xtdate === "string" &&
  2452. xtdate.length > 0 &&
  2453. typeof xtno === "string" &&
  2454. xtno.length > 0
  2455. ) {
  2456. this.queryParams.xtdate = xtdate;
  2457. this.queryParams.xtno = xtno;
  2458. this.getDialysisRecord();
  2459. } else {
  2460. this.$message.error("参数不齐");
  2461. return false;
  2462. }
  2463. this.ways = getDataConfig("hemodialysis", "way");
  2464. console.log("ways", this.ways);
  2465. this.consciousnesses = getDataConfig("hemodialysis", "consciousness");
  2466. this.appetites = getDataConfig("hemodialysis", "appetite");
  2467. this.postures = getDataConfig("hemodialysis", "posture");
  2468. this.sick_condition = getDataConfig("hemodialysis", "sick_condition");
  2469. this.precautions = getDataConfig("hemodialysis", "precaution");
  2470. console.log("跌倒", this.precautions);
  2471. this.intake = getDataConfig("hemodialysis", "intake");
  2472. this.nutrition = getDataConfig("hemodialysis", "nutrition");
  2473. },
  2474. };
  2475. </script>
  2476. <style>
  2477. .dialysis-print-order {
  2478. width: 960px;
  2479. margin: 0 auto;
  2480. }
  2481. .dialysis-print-order .order-yy-name {
  2482. margin: auto;
  2483. text-align: center;
  2484. font-size: 20px;
  2485. letter-spacing: 5px;
  2486. }
  2487. .dialysis-print-order .order-title {
  2488. margin: auto;
  2489. font-weight: 600;
  2490. text-align: center;
  2491. font-size: 22px;
  2492. padding: 10px 20px 20px 20px;
  2493. }
  2494. .dialysis-print-order .table-box {
  2495. width: 100%;
  2496. line-height: 23px;
  2497. font-size: 14px;
  2498. }
  2499. .dialysis-print-order .print-table {
  2500. width: 100%;
  2501. text-align: center;
  2502. border-collapse: collapse;
  2503. line-height: 40px;
  2504. font-size: 14px;
  2505. }
  2506. .dialysis-print-order .print-table-no {
  2507. width: 100%;
  2508. text-align: center;
  2509. border-collapse: collapse;
  2510. font-size: 14px;
  2511. }
  2512. .dialysis-print-order .under-line {
  2513. border-bottom: 1px solid #999;
  2514. width: 95%;
  2515. text-align: center;
  2516. margin-left: 2px;
  2517. }
  2518. .dialysis-print-order .title-box {
  2519. text-align: center;
  2520. font-size: 16px;
  2521. }
  2522. .dialysis-print-order .radio-lebel-box {
  2523. font-weight: 400;
  2524. cursor: pointer;
  2525. }
  2526. .dialysis-print-order .radio-no {
  2527. opacity: 0;
  2528. outline: none;
  2529. position: absolute;
  2530. margin: 0;
  2531. width: 0;
  2532. height: 0;
  2533. z-index: -1;
  2534. }
  2535. .dialysis-print-order .radio-inner {
  2536. white-space: nowrap;
  2537. cursor: pointer;
  2538. outline: none;
  2539. display: inline-block;
  2540. line-height: 1;
  2541. position: relative;
  2542. vertical-align: middle;
  2543. }
  2544. .dialysis-print-order .radio-fang {
  2545. display: inline-block;
  2546. position: relative;
  2547. border: 1px solid #000;
  2548. box-sizing: border-box;
  2549. width: 14px;
  2550. height: 14px;
  2551. background-color: #fff;
  2552. z-index: 1;
  2553. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2554. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2555. }
  2556. .dialysis-print-order .is-checked-radio::after {
  2557. content: "√";
  2558. font-size: 15px;
  2559. }
  2560. .dialysis-print-order .print-table-no tr td {
  2561. padding: 8px 5px;
  2562. line-height: 25px;
  2563. }
  2564. .dialysis-print-order .print-table tr td {
  2565. padding: 1px 1px;
  2566. /*line-height: 25px;*/
  2567. }
  2568. .es-img {
  2569. height: 25px;
  2570. }
  2571. .advice-name {
  2572. text-align: left;
  2573. }
  2574. .advice-children {
  2575. display: flex;
  2576. }
  2577. .title-box-pro {
  2578. border: 0 #fff;
  2579. line-height: 25px;
  2580. height: 25px;
  2581. text-align: left;
  2582. padding-left: 10px !important;
  2583. }
  2584. .title-box-pro-tr {
  2585. border: 0 #fff;
  2586. }
  2587. .text-align-left {
  2588. text-align: left !important;
  2589. padding-left: 10px !important;
  2590. font-size: 14px !important;
  2591. line-height: 25px;
  2592. }
  2593. .print-table-tr-new td {
  2594. line-height: 20px !important;
  2595. }
  2596. .border-top-solid {
  2597. border: solid 1px #000;
  2598. }
  2599. .print-template-two tr {
  2600. line-height: 30px;
  2601. }
  2602. .parent {
  2603. text-align: left;
  2604. padding-left: 20px !important;
  2605. }
  2606. </style>