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

DialysisPrintOrderTwentySeven.vue 113KB

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