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

DialysisPrintOrderTwentySeven.vue 112KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530
  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. },
  1193. patientInfo: {
  1194. birth: '',
  1195. age: '',
  1196. DialysisSchedule: {
  1197. device_number: { number: '' },
  1198. device_zone: { name: '' }
  1199. },
  1200. gender: 0
  1201. },
  1202. predialysis: {
  1203. score: '',
  1204. internal_fistula: '',
  1205. internal_fistula_skin: '',
  1206. catheter: '',
  1207. blood_access_part_opera_name: ''
  1208. },
  1209. lastpredialysis: '',
  1210. InfectiousDiseases: '',
  1211. afterdialysis: {
  1212. complications_index: ''
  1213. },
  1214. prescription: {
  1215. dialysate_formulation_name: '',
  1216. device: {}
  1217. },
  1218. advices: [],
  1219. users: [],
  1220. monitors: [],
  1221. summary: {},
  1222. receiverTreatmentAccess: {},
  1223. org_template_info: {},
  1224. isShowZero: false,
  1225. doctor_advices: [],
  1226. advice_groups: [],
  1227. AlPanel: {
  1228. id: 0,
  1229. name: '',
  1230. type: 1,
  1231. shouji: 2,
  1232. weichi: 2,
  1233. zongliang: 2,
  1234. gaimingcheng: -1,
  1235. gaijiliang: -1,
  1236. shouji_unit: 'mg',
  1237. weichi_unit: 'mg/h',
  1238. zongliang_unit: 'mg',
  1239. gaimingcheng_unit: '',
  1240. gaijiliang_unit: ''
  1241. },
  1242. total: '',
  1243. doctorForm: {
  1244. doctor: '',
  1245. url: ''
  1246. },
  1247. dialysisDoctor: {
  1248. doctor: '',
  1249. url: ''
  1250. },
  1251. tableAdvice: [],
  1252. assessmentafter: {},
  1253. orderForm: {
  1254. start_nurse: '',
  1255. url: ''
  1256. },
  1257. finshForm: {
  1258. finish_nurse: '',
  1259. url: ''
  1260. },
  1261. displaceLiquiPartOptions: [],
  1262. last_order:{}
  1263. }
  1264. },
  1265. methods: {
  1266. checkData(){
  1267. if(this.receiverTreatmentAccess.way == 0){
  1268. this.$message.error('入科方式未填')
  1269. }else if(this.receiverTreatmentAccess.consciousness == 0){
  1270. this.$message.error('意识未填')
  1271. }else if(this.predialysis.is_hemorrhage == 0){
  1272. this.$message.error('出血未填')
  1273. }else if(this.predialysis.is_hemorrhage == 1 && this.predialysis.hemorrhage == ""){
  1274. this.$message.error('出血选项未填')
  1275. }else if(this.prescription.body_fluid == 0 || this.predialysis.humor_excessive_symptom == ""){
  1276. this.$message.error('体液过多症状未填')
  1277. }else if(this.predialysis.special_medicine == 0){
  1278. this.$message.error('透析前使用特殊药物未填')
  1279. }else if(this.predialysis.blood_access_part_opera_name == ''){
  1280. this.$message.error('通路类型未填')
  1281. }else if(this.predialysis.puncture_way == ''){
  1282. this.$message.error('穿刺方法未填')
  1283. }else if(this.predialysis.catheter == ''){
  1284. this.$message.error('导管或导管出口处未填')
  1285. }else if(this.predialysis.internal_fistula == ''){
  1286. this.$message.error('内瘘震颤未填')
  1287. }else if(this.predialysis.internal_fistula_skin == ''){
  1288. this.$message.error('内瘘皮肤情况未填')
  1289. }else if(this.predialysis.venous_catheterization == 0){
  1290. this.$message.error('中心静脉置管未填')
  1291. }else if(this.predialysis.blood_access_part_id == ''){
  1292. this.$message.error('血管通路位置未填')
  1293. }else if(this.predialysis.thromubus_type == 0){
  1294. this.$message.error('血栓未填')
  1295. }else if(this.predialysis.thrombus_av == ''){
  1296. this.$message.error('导管AV端未填')
  1297. }else if(this.predialysis.thromubus_a == ''){
  1298. this.$message.error('a端未填')
  1299. }else if(this.predialysis.thromubus_v == ''){
  1300. this.$message.error('v端未填')
  1301. }else if(this.predialysis.temperature == ""){
  1302. this.$message.error('透前体温未填')
  1303. }else if(this.predialysis.pulse_frequency == ""){
  1304. this.$message.error('透前脉搏未填')
  1305. }else if(this.predialysis.breathing_rate == ""){
  1306. this.$message.error('透前呼吸频率未填')
  1307. }else if(this.predialysis.systolic_blood_pressure == 0){
  1308. this.$message.error('收缩压未填完整')
  1309. }else if(this.predialysis.diastolic_blood_pressure == 0){
  1310. this.$message.error('舒张压未填完整')
  1311. }else if(this.predialysis.weight_before == 0){
  1312. this.$message.error('本次透前体重未填')
  1313. }else if(this.predialysis.dry_weight == 0){
  1314. this.$message.error('干体重未填')
  1315. }else if(this.assessmentafter.weight_after == 0){
  1316. this.$message.error('上次透后体重未填')
  1317. }else if(this.afterdialysis.weight_after == 0){
  1318. this.$message.error('本次透后体重未填')
  1319. }else if(this.prescription.dialysis_duration_hour == 0 && this.prescription.dialysis_duration_minute == 0){
  1320. this.$message.error('计划时间未填')
  1321. }else if(this.afterdialysis.actual_treatment_hour == 0 && this.afterdialysis.actual_treatment_minute == 0){
  1322. this.$message.error('机面治疗时间未填')
  1323. }else if(this.prescription.target_ultrafiltration == 0){
  1324. this.$message.error('预设超滤量未填')
  1325. }else if(this.afterdialysis.actual_ultrafiltration == 0){
  1326. this.$message.error('机面超滤量未填')
  1327. }else if(this.prescription.mode_id == ""){
  1328. this.$message.error('治疗方式未填')
  1329. }else if(this.prescription.dialyzer_perfusion_apparatus == ""){
  1330. this.$message.error('透析器或灌流器未填')
  1331. }else if(this.prescription.anticoagulant == 0){
  1332. this.$message.error('抗凝方式未填')
  1333. }else if(this.prescription.dialysate_formulation_name == ""){
  1334. this.$message.error('透析液配方未填')
  1335. }else if(this.afterdialysis.return_blood == 0){
  1336. this.$message.error('回血未填')
  1337. }else if(this.afterdialysis.rehydration_volume == 0){
  1338. this.$message.error('补液量未填')
  1339. }else if(this.afterdialysis.dialysis_during == 0){
  1340. this.$message.error('透析中进食量未填')
  1341. }else if(this.afterdialysis.stroke_volume == 0){
  1342. this.$message.error('出量未填')
  1343. }else if(this.prescription.prescription_doctor == 0){
  1344. this.$message.error('主管医生未填')
  1345. }else if(this.dialysisOrder.puncture_nurse == 0){
  1346. this.$message.error('穿刺/开管护士未填')
  1347. }else if(this.check.modifier == 0){
  1348. this.$message.error('核对护士未填')
  1349. }else if(this.afterdialysis.internal_fistula == ''){
  1350. this.$message.error('透后内瘘震颤未填')
  1351. }else if(this.afterdialysis.catheter == ''){
  1352. this.$message.error('置管口未填')
  1353. }else if(this.afterdialysis.blood_flow == 0){
  1354. this.$message.error('血流量未填')
  1355. }else if(this.afterdialysis.sealing_fluid_dispose == ""){
  1356. this.$message.error('封管液配置未填')
  1357. }else if(this.afterdialysis.cvc_a == 0){
  1358. this.$message.error('封管量A端未填')
  1359. }else if(this.afterdialysis.cvc_v == 0){
  1360. this.$message.error('封管量V端未填')
  1361. }else if(this.afterdialysis.catheter == ""){
  1362. this.$message.error('打折和吸壁未填')
  1363. }else if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('打折') == -1){
  1364. this.$message.error('打折未填')
  1365. }else if(this.afterdialysis.catheter != "" && this.afterdialysis.catheter.indexOf('吸壁') == -1){
  1366. this.$message.error('吸壁未填')
  1367. }else if(this.afterdialysis.cruor == ""){
  1368. this.$message.error('透析器凝血未填')
  1369. }else if(this.afterdialysis.arterial_tube == 0){
  1370. this.$message.error('动脉管道未填')
  1371. }else if(this.afterdialysis.intravenous_tube == 0){
  1372. this.$message.error('静脉管道未填')
  1373. }else if(this.afterdialysis.complication == ""){
  1374. this.$message.error('透后并发症未填')
  1375. }else if(this.summary.special_record == ""){
  1376. this.$message.error('特殊记录未填')
  1377. }else if(this.dialysisOrder.start_nurse == 0){
  1378. this.$message.error('当班责任护士未填')
  1379. }else if(this.dialysisOrder.finish_nurse == 0){
  1380. this.$message.error('下机护士未填')
  1381. }else if(this.tableAdvice.length > 0){
  1382. let num = 0
  1383. if(this.tableAdvice.length > 0){
  1384. this.tableAdvice.map(item => {
  1385. if(item.id > 0 && (item.created_time || item.start_time)){
  1386. this.users.map(it => {
  1387. if(it.id == item.advice_doctor){
  1388. if(it.user_type == 3){
  1389. num++
  1390. this.$message.error('存在不是医生保存的医嘱')
  1391. }else if(it.id == item.execution_staff && item.execution_staff > 0){
  1392. if(it.user_type == 2){
  1393. num++
  1394. this.$message.error('存在不是护士执行的医嘱')
  1395. }
  1396. }else if(it.id == item.checker && item.checker > 0){
  1397. if(it.user_type == 2){
  1398. num++
  1399. this.$message.error('存在不是护士核对的医嘱')
  1400. }
  1401. }
  1402. }else if(it.id == item.execution_staff && item.execution_staff > 0){
  1403. if(it.user_type == 2){
  1404. num++
  1405. this.$message.error('存在不是护士执行的医嘱')
  1406. }
  1407. }else if(it.id == item.checker && item.checker > 0){
  1408. if(it.user_type == 2){
  1409. num++
  1410. this.$message.error('存在不是护士核对的医嘱')
  1411. }
  1412. }
  1413. })
  1414. }
  1415. })
  1416. }
  1417. if(num == 0){
  1418. this.$message.success('核对完成')
  1419. }
  1420. }else{
  1421. this.$message.success('核对完成')
  1422. }
  1423. },
  1424. getComplication(complication){
  1425. if(complication.indexOf(',') == -1){
  1426. let str = complication
  1427. if(['无','头晕','头痛','抽搐','低血压','出血','呕吐'].indexOf(str) == -1){
  1428. return str
  1429. }
  1430. }else if(complication.indexOf(',') > -1){
  1431. let str = complication
  1432. if(['无','头晕','头痛','抽搐','低血压','出血','呕吐'].indexOf(str) == -1){
  1433. let newStr = ''
  1434. str.split(',').map(item => {
  1435. if(['无','头晕','头痛','抽搐','低血压','出血','呕吐'].indexOf(item) == -1){
  1436. newStr += item + ','
  1437. }
  1438. })
  1439. return newStr.substring(0, newStr.length - 1)
  1440. }
  1441. }
  1442. },
  1443. getPunctureWay: function(val) {
  1444. let puncture_method_name = '/'
  1445. const puncture_method = getDataConfig("hemodialysis", "puncture_method")
  1446. for (let i = 0; i < puncture_method.length; i++) {
  1447. if (puncture_method[i].id == val) {
  1448. puncture_method_name = puncture_method[i].name
  1449. }
  1450. }
  1451. return puncture_method_name
  1452. },
  1453. getHumorExcessiveSymptom(val) {
  1454. const humor_excessive_symptom = getDataConfig('hemodialysis', 'humor_excessive_symptom')
  1455. var humor_excessive_symptom_name = ''
  1456. for (let i = 0; i < humor_excessive_symptom.length; i++) {
  1457. if (humor_excessive_symptom[i].id == val) {
  1458. humor_excessive_symptom_name = humor_excessive_symptom[i].name
  1459. }
  1460. }
  1461. return humor_excessive_symptom_name
  1462. },
  1463. QueryPartById: function(val) {
  1464. let vascular_access_part_name = '/'
  1465. const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  1466. for (let i = 0; i < vascular_access.length; i++) {
  1467. if (vascular_access[i].id == val) {
  1468. vascular_access_part_name = vascular_access[i].name
  1469. }
  1470. }
  1471. return vascular_access_part_name
  1472. },
  1473. getDisplaceLiquiPart: function(val) {
  1474. let displace_liqui_part_name = '/'
  1475. const displace_liqui_part = this.displaceLiquiPartOptions
  1476. for (let i = 0; i < displace_liqui_part.length; i++) {
  1477. if (displace_liqui_part[i].id == val) {
  1478. displace_liqui_part_name = displace_liqui_part[i].name
  1479. }
  1480. }
  1481. return displace_liqui_part_name
  1482. },
  1483. getAdminUser(id) {
  1484. if (id == 0) {
  1485. return ''
  1486. }
  1487. if (id == undefined) {
  1488. return ''
  1489. }
  1490. for (let i = 0; i < this.adminUser.length; i++) {
  1491. if (this.adminUser[i].id == id) {
  1492. return this.adminUser[i].name
  1493. }
  1494. }
  1495. },
  1496. getTime(value, temp) {
  1497. if (value == 0) {
  1498. return ''
  1499. }
  1500. if (value != undefined) {
  1501. return uParseTime(value, temp)
  1502. }
  1503. return ''
  1504. },
  1505. printThisPage() {
  1506. var ptime = Math.round(new Date().getTime() / 1000)
  1507. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1508. const style =
  1509. '@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;}'
  1510. if (this.org_template_info.template_id == 1) {
  1511. printJS({
  1512. printable: 'dialysis-print-box',
  1513. type: 'html',
  1514. style: style,
  1515. scanStyles: false
  1516. })
  1517. } else if (
  1518. this.org_template_info.template_id == 2 ||
  1519. this.org_template_info.template_id == 0
  1520. ) {
  1521. printJS({
  1522. printable: 'dialysis-print-box-1',
  1523. type: 'html',
  1524. style: style,
  1525. scanStyles: false
  1526. })
  1527. }
  1528. },
  1529. getNumber() {
  1530. if (this.dialysisOrder != null) {
  1531. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1532. return (
  1533. this.patientInfo.DialysisSchedule.device_zone.name +
  1534. this.dialysisOrder.DeviceNumber.number
  1535. );
  1536. } else {
  1537. return (
  1538. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1539. this.dialysisOrder.DeviceNumber.number
  1540. );
  1541. }
  1542. } else {
  1543. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1544. return (
  1545. this.patientInfo.DialysisSchedule.device_zone.name +
  1546. this.patientInfo.DialysisSchedule.device_number.number
  1547. );
  1548. }else{
  1549. return (
  1550. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1551. this.patientInfo.DialysisSchedule.device_number.number
  1552. );
  1553. }
  1554. }
  1555. },
  1556. getXuserName(id) {
  1557. if (id <= 0) {
  1558. return ''
  1559. }
  1560. var name = ''
  1561. if (this.users == null || typeof this.users.length === 'undefined') {
  1562. return name
  1563. }
  1564. var leng = this.users.length
  1565. if (leng == 0) {
  1566. return name
  1567. }
  1568. for (let index = 0; index < leng; index++) {
  1569. if (this.users[index].id == id) {
  1570. name = this.users[index].name
  1571. break
  1572. }
  1573. }
  1574. return name
  1575. },
  1576. setAdminUserES(id) {
  1577. if (id == 0) {
  1578. return ''
  1579. }
  1580. if (id in this.operatorMaps) {
  1581. return this.operatorMaps[id].url
  1582. } else {
  1583. return ''
  1584. }
  1585. },
  1586. modeName(mode_id) {
  1587. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1588. typeof this.modeOptions[mode_id].name !== 'undefined'
  1589. ? this.modeOptions[mode_id].name
  1590. : ''
  1591. },
  1592. getDialysisRecord() {
  1593. this.loading = true
  1594. getDialysisRecord(this.queryParams).then(response => {
  1595. if (response.data.state === 1) {
  1596. this.total = response.data.data.total
  1597. this.adminUser = response.data.data.users
  1598. this.users = response.data.data.users
  1599. var patientInfo = response.data.data.patientInfo
  1600. if (patientInfo.gender === 1) {
  1601. patientInfo.gender = '男'
  1602. }
  1603. if (patientInfo.gender === 2) {
  1604. patientInfo.gender = '女'
  1605. }
  1606. console.log('patientInfo', patientInfo)
  1607. this.patientInfo = patientInfo
  1608. this.patientInfo.birth = uParseTime(
  1609. this.patientInfo.birthday,
  1610. '{y}-{m}-{d}'
  1611. )
  1612. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1613. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1614. this.patientInfo.first_dialysis_date = uParseTime(
  1615. response.data.data.patientInfo.first_dialysis_date,
  1616. '{y}-{m}-{d}'
  1617. )
  1618. } else {
  1619. this.patientInfo.first_dialysis_date = ''
  1620. }
  1621. this.check = response.data.data.check
  1622. console.log('核对信息', this.check)
  1623. this.predialysis = response.data.data.PredialysisEvaluation
  1624. this.lastpredialysis = response.data.data.lastPredialysisEvaluation
  1625. var InfectiousDiseasesArr = response.data.data.patientInfo.InfectiousDiseases
  1626. console.log('透前评估', this.predialysis)
  1627. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1628. this.predialysis.blood_access_part_opera_id
  1629. )
  1630. this.assessmentafter = response.data.data.assessmentAfterDislysis
  1631. console.log('上次透后体重', this.assessmentafter)
  1632. var doctorAdevieInfo = response.data.data.doctorAdevieInfo
  1633. var tableAdvice = doctorAdevieInfo
  1634. InfectiousDiseasesArr.forEach((item, index) => {
  1635. if (item['id'] > 0 && item['disease_id'] > 0) {
  1636. switch (item['disease_id']) {
  1637. case 2 :
  1638. this.InfectiousDiseases += '乙肝 '
  1639. break
  1640. case 3 :
  1641. this.InfectiousDiseases += '丙肝 '
  1642. break
  1643. case 4 :
  1644. this.InfectiousDiseases += '艾滋病 '
  1645. break
  1646. case 5 :
  1647. this.InfectiousDiseases += '肺结核 '
  1648. break
  1649. case 6 :
  1650. this.InfectiousDiseases += '梅毒 '
  1651. break
  1652. }
  1653. }
  1654. })
  1655. // console.log('医生', tableAdvice.length)
  1656. if (tableAdvice.length === 0) {
  1657. var obj = { advice_name: '', start_time: '' }
  1658. var obj1 = { advice_name: '', start_time: '' }
  1659. var obj2 = { advice_name: '', start_time: '' }
  1660. var obj3 = { advice_name: '', start_time: '' }
  1661. var obj4 = { advice_name: '', start_time: '' }
  1662. var obj5 = { advice_name: '', start_time: '' }
  1663. tableAdvice.push(obj)
  1664. tableAdvice.push(obj1)
  1665. tableAdvice.push(obj2)
  1666. tableAdvice.push(obj3)
  1667. tableAdvice.push(obj4)
  1668. tableAdvice.push(obj5)
  1669. tableAdvice.push(obj1)
  1670. tableAdvice.push(obj2)
  1671. tableAdvice.push(obj3)
  1672. tableAdvice.push(obj4)
  1673. tableAdvice.push(obj5)
  1674. tableAdvice.push(obj1)
  1675. tableAdvice.push(obj2)
  1676. tableAdvice.push(obj3)
  1677. tableAdvice.push(obj4)
  1678. tableAdvice.push(obj5)
  1679. tableAdvice.push(obj1)
  1680. tableAdvice.push(obj2)
  1681. tableAdvice.push(obj3)
  1682. tableAdvice.push(obj4)
  1683. tableAdvice.push(obj5)
  1684. this.tableAdvice = tableAdvice
  1685. }
  1686. if (tableAdvice.length === 1) {
  1687. var obj = { advice_name: '', start_time: '' }
  1688. var obj1 = { advice_name: '', start_time: '' }
  1689. var obj2 = { advice_name: '', start_time: '' }
  1690. var obj3 = { advice_name: '', start_time: '' }
  1691. var obj4 = { advice_name: '', start_time: '' }
  1692. tableAdvice.push(obj)
  1693. tableAdvice.push(obj1)
  1694. tableAdvice.push(obj2)
  1695. tableAdvice.push(obj3)
  1696. tableAdvice.push(obj4)
  1697. tableAdvice.push(obj1)
  1698. tableAdvice.push(obj2)
  1699. tableAdvice.push(obj3)
  1700. tableAdvice.push(obj4)
  1701. tableAdvice.push(obj4)
  1702. tableAdvice.push(obj1)
  1703. tableAdvice.push(obj2)
  1704. tableAdvice.push(obj3)
  1705. tableAdvice.push(obj4)
  1706. tableAdvice.push(obj4)
  1707. tableAdvice.push(obj1)
  1708. tableAdvice.push(obj2)
  1709. tableAdvice.push(obj3)
  1710. tableAdvice.push(obj4)
  1711. this.tableAdvice = tableAdvice
  1712. }
  1713. if (tableAdvice.length === 2) {
  1714. var obj = { advice_name: '', start_time: '' }
  1715. var obj1 = { advice_name: '', start_time: '' }
  1716. var obj2 = { advice_name: '', start_time: '' }
  1717. var obj3 = { advice_name: '', start_time: '' }
  1718. tableAdvice.push(obj)
  1719. tableAdvice.push(obj1)
  1720. tableAdvice.push(obj2)
  1721. tableAdvice.push(obj3)
  1722. tableAdvice.push(obj1)
  1723. tableAdvice.push(obj2)
  1724. tableAdvice.push(obj3)
  1725. tableAdvice.push(obj3)
  1726. tableAdvice.push(obj3)
  1727. tableAdvice.push(obj1)
  1728. tableAdvice.push(obj2)
  1729. tableAdvice.push(obj3)
  1730. tableAdvice.push(obj3)
  1731. tableAdvice.push(obj3)
  1732. tableAdvice.push(obj1)
  1733. tableAdvice.push(obj2)
  1734. tableAdvice.push(obj3)
  1735. this.tableAdvice = tableAdvice
  1736. }
  1737. if (tableAdvice.length === 3) {
  1738. // eslint-disable-next-line no-redeclare
  1739. var obj = { advice_name: '', start_time: '' }
  1740. // eslint-disable-next-line no-redeclare
  1741. var obj1 = { advice_name: '', start_time: '' }
  1742. // eslint-disable-next-line no-redeclare
  1743. var obj2 = { advice_name: '', start_time: '' }
  1744. // eslint-disable-next-line no-redeclare
  1745. tableAdvice.push(obj)
  1746. tableAdvice.push(obj1)
  1747. tableAdvice.push(obj2)
  1748. tableAdvice.push(obj1)
  1749. tableAdvice.push(obj2)
  1750. tableAdvice.push(obj2)
  1751. tableAdvice.push(obj2)
  1752. tableAdvice.push(obj2)
  1753. tableAdvice.push(obj1)
  1754. tableAdvice.push(obj2)
  1755. tableAdvice.push(obj2)
  1756. tableAdvice.push(obj2)
  1757. tableAdvice.push(obj2)
  1758. tableAdvice.push(obj1)
  1759. tableAdvice.push(obj2)
  1760. this.tableAdvice = tableAdvice
  1761. }
  1762. if (tableAdvice.length === 4) {
  1763. // eslint-disable-next-line no-redeclare
  1764. var obj = { advice_name: '', start_time: '' }
  1765. // eslint-disable-next-line no-redeclare
  1766. var obj1 = { advice_name: '', start_time: '' }
  1767. // eslint-disable-next-line no-redeclare
  1768. tableAdvice.push(obj)
  1769. tableAdvice.push(obj1)
  1770. tableAdvice.push(obj1)
  1771. tableAdvice.push(obj1)
  1772. tableAdvice.push(obj1)
  1773. tableAdvice.push(obj1)
  1774. tableAdvice.push(obj1)
  1775. tableAdvice.push(obj1)
  1776. tableAdvice.push(obj1)
  1777. tableAdvice.push(obj1)
  1778. tableAdvice.push(obj1)
  1779. tableAdvice.push(obj1)
  1780. tableAdvice.push(obj1)
  1781. this.tableAdvice = tableAdvice
  1782. }
  1783. if (tableAdvice.length === 5) {
  1784. // eslint-disable-next-line no-redeclare
  1785. var obj = { advice_name: '', start_time: '' }
  1786. // eslint-disable-next-line no-redeclare
  1787. var obj1 = { advice_name: '', start_time: '' }
  1788. tableAdvice.push(obj)
  1789. tableAdvice.push(obj1)
  1790. tableAdvice.push(obj1)
  1791. tableAdvice.push(obj1)
  1792. tableAdvice.push(obj1)
  1793. tableAdvice.push(obj1)
  1794. tableAdvice.push(obj1)
  1795. tableAdvice.push(obj1)
  1796. tableAdvice.push(obj1)
  1797. tableAdvice.push(obj1)
  1798. tableAdvice.push(obj1)
  1799. tableAdvice.push(obj1)
  1800. this.tableAdvice = tableAdvice
  1801. }
  1802. if (tableAdvice.length >= 6 && tableAdvice.length <= 28) {
  1803. const length = 28 - tableAdvice.length
  1804. var obj = { advice_name: '', start_time: '' }
  1805. for (i = 0; i < length; i++) {
  1806. console.log(1)
  1807. tableAdvice.push(obj)
  1808. }
  1809. this.tableAdvice = tableAdvice
  1810. }else{
  1811. this.tableAdvice = tableAdvice
  1812. }
  1813. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1814. console.log('透后评估', this.afterdialysis)
  1815. this.operators = response.data.data.operators
  1816. this.dialysisOrder =
  1817. response.data.data.dialysisOrder === null
  1818. ? null
  1819. : response.data.data.dialysisOrder
  1820. if (this.operators.length > 0) {
  1821. var operatorsLen = this.operators.length
  1822. for (var index = 0; index < operatorsLen; index++) {
  1823. this.$set(
  1824. this.operatorMaps,
  1825. this.operators[index].creator,
  1826. this.operators[index]
  1827. )
  1828. }
  1829. }
  1830. this.afterdialysis.txqnx = -1
  1831. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1832. this.afterdialysis.txqnx = 0
  1833. }
  1834. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1835. this.afterdialysis.txqnx = 1
  1836. }
  1837. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1838. this.afterdialysis.txqnx = 2
  1839. }
  1840. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1841. this.afterdialysis.txqnx = 3
  1842. }
  1843. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1844. ','
  1845. )
  1846. this.afterdialysis.complications_other = []
  1847. this.afterdialysis.complications_index = []
  1848. var acllen = this.afterdialysis.complications.length
  1849. for (let index = 0; index < acllen; index++) {
  1850. if (
  1851. this.complications.indexOf(
  1852. this.afterdialysis.complications[index]
  1853. ) >= 0
  1854. ) {
  1855. this.afterdialysis.complications_index.push(
  1856. this.afterdialysis.complications[index]
  1857. )
  1858. } else if (
  1859. this.complications.indexOf(
  1860. this.afterdialysis.complications[index]
  1861. ) < 0 &&
  1862. this.afterdialysis.complications_other.indexOf(
  1863. this.afterdialysis.complications[index]
  1864. ) < 0
  1865. ) {
  1866. this.afterdialysis.complications_other.push(
  1867. this.afterdialysis.complications[index]
  1868. )
  1869. }
  1870. }
  1871. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1872. ','
  1873. )
  1874. var doctorname = response.data.data.DoctorName
  1875. // console.log("医师签名", doctorname);
  1876. this.doctorForm.doctor = doctorname.user_name
  1877. this.doctorForm.url = doctorname.url
  1878. var prescription = response.data.data.dialysisPrescription
  1879. console.log('透析处方', prescription)
  1880. if (prescription.anticoagulant == 6) {
  1881. prescription.anticoagulant = '低分子肝素钙'
  1882. }
  1883. if (prescription.anticoagulant == 7) {
  1884. prescription.anticoagulant = '低分子肝素钠'
  1885. }
  1886. if (prescription.blood_access === 1) {
  1887. prescription.blood_access = '正常'
  1888. }
  1889. if (prescription.blood_access === 2) {
  1890. prescription.blood_access = '震颤'
  1891. }
  1892. if (prescription.blood_access === 3) {
  1893. prescription.blood_access = '堵塞'
  1894. }
  1895. if (prescription.blood_access === 4) {
  1896. prescription.blood_access = '血肿'
  1897. }
  1898. if (prescription.blood_access === 5) {
  1899. prescription.blood_access = '淤血'
  1900. }
  1901. if (prescription.blood_access === 6) {
  1902. prescription.blood_access = '感染'
  1903. }
  1904. if (prescription.blood_access === 7) {
  1905. prescription.blood_access = '自体内瘘'
  1906. }
  1907. if (prescription.blood_access === 8) {
  1908. prescription.blood_access = '人工血管内瘘'
  1909. }
  1910. if (prescription.replacement_way === 1) {
  1911. prescription.replacement_way = '前置换'
  1912. }
  1913. if (prescription.replacement_way === 2) {
  1914. prescription.replacement_way = '后置换'
  1915. }
  1916. if (prescription.replacement_way === 3) {
  1917. prescription.replacement_way = '中置换'
  1918. }
  1919. if (prescription.replacement_way === 4) {
  1920. prescription.replacement_way = '混合置换'
  1921. }
  1922. if (prescription.anticoagulant === 1) {
  1923. prescription.anticoagulant = '无肝素'
  1924. }
  1925. if (prescription.anticoagulant === 2) {
  1926. prescription.anticoagulant = '普通肝素'
  1927. }
  1928. if (prescription.anticoagulant === 3) {
  1929. prescription.anticoagulant = '低分子肝素'
  1930. }
  1931. if (prescription.anticoagulant === 4) {
  1932. prescription.anticoagulant = '阿加曲班'
  1933. }
  1934. if (prescription.anticoagulant === 5) {
  1935. prescription.anticoagulant = '枸橼酸钠'
  1936. }
  1937. this.prescription = prescription
  1938. var receiverTreatmentAccess =
  1939. response.data.data.receiverTreatmentAccess
  1940. if (receiverTreatmentAccess.sick_condition === 1) {
  1941. receiverTreatmentAccess.sick_condition = '一般'
  1942. }
  1943. if (receiverTreatmentAccess.sick_condition === 2) {
  1944. receiverTreatmentAccess.sick_condition = '严重'
  1945. }
  1946. if (receiverTreatmentAccess.sick_condition === 3) {
  1947. receiverTreatmentAccess.sick_condition = '危'
  1948. }
  1949. if (receiverTreatmentAccess.way === 1) {
  1950. receiverTreatmentAccess.way = '步行'
  1951. }
  1952. if (receiverTreatmentAccess.way === 2) {
  1953. receiverTreatmentAccess.way = '扶行'
  1954. }
  1955. if (receiverTreatmentAccess.way === 3) {
  1956. receiverTreatmentAccess.way = '轮椅'
  1957. }
  1958. if (receiverTreatmentAccess.way === 4) {
  1959. receiverTreatmentAccess.way = '平车'
  1960. }
  1961. console.log('接诊评估:', receiverTreatmentAccess)
  1962. this.receiverTreatmentAccess = receiverTreatmentAccess
  1963. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1964. var rwLen = this.replacementWays.length
  1965. this.prescription.replacement = ''
  1966. for (let index = 0; index < rwLen; index++) {
  1967. if (
  1968. this.replacementWays[index].id ==
  1969. this.prescription.replacement_way
  1970. ) {
  1971. this.prescription.replacement = this.replacementWays[index].name
  1972. break
  1973. }
  1974. }
  1975. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1976. this.prescription.dialysate_formulation
  1977. )
  1978. var paLen = this.perfusionApparatus.length
  1979. this.prescription.perfusion_apparatus_name = ''
  1980. for (let index = 0; index < paLen; index++) {
  1981. if (
  1982. this.perfusionApparatus[index].id ==
  1983. this.prescription.perfusion_apparatus
  1984. ) {
  1985. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1986. index
  1987. ].name
  1988. break
  1989. }
  1990. }
  1991. var acLen = this.anticoagulantsConfit.length
  1992. var thisALID = this.prescription.anticoagulant
  1993. this.prescription.anticoagulant_name = ''
  1994. if (
  1995. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1996. this.anticoagulantsConfit[thisALID] != null
  1997. ) {
  1998. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1999. thisALID
  2000. ].name
  2001. this.AlPanel = this.anticoagulantsConfit[thisALID]
  2002. }
  2003. this.last_order = response.data.data.last_order
  2004. this.advices = response.data.data.advices
  2005. this.monitors = response.data.data.monitors
  2006. console.log('透析监测', this.monitors)
  2007. this.summary = response.data.data.summary
  2008. console.log('透后小结',this.summary)
  2009. this.Order = response.data.data.order
  2010. var start_nurse = response.data.data.startNuse
  2011. // console.log('上机护士', start_nurse)
  2012. this.orderForm.start_nurse = start_nurse.user_name
  2013. this.orderForm.url = start_nurse.url
  2014. var finish_nurse = response.data.data.FinishNuse
  2015. // console.log('下机护士', finish_nurse)
  2016. this.finshForm.url = finish_nurse.url
  2017. this.finshForm.finish_nurse = finish_nurse.user_name
  2018. var dialysisdoctor = response.data.data.dialysisdocotr
  2019. // this.dialysisDoctor.doctor = dialysisdoctor.user_name;
  2020. // this.dialysisDoctor.url = dialysisdoctor.url;
  2021. this.org_template_info = response.data.data.org_template_info
  2022. // 配置超滤量和置换量是否要显示0还是空
  2023. if (this.org_template_info.org_id == 9535) {
  2024. this.isShowZero = true
  2025. }
  2026. if (this.monitors.length < 9) {
  2027. var nl = 10 - this.monitors.length
  2028. for (let index = 0; index < nl; index++) {
  2029. this.monitors.push([])
  2030. }
  2031. }
  2032. this.jilurow = this.monitors.length + 1
  2033. this.advice_jilurow = this.advices.length + 1
  2034. var childMap = {}
  2035. for (const index in this.advices) {
  2036. if (this.advices[index].parent_id == 0) {
  2037. continue
  2038. }
  2039. if (!(this.advices[index].parent_id in childMap)) {
  2040. childMap[this.advices[index].parent_id] = []
  2041. }
  2042. childMap[this.advices[index].parent_id].push(this.advices[index])
  2043. }
  2044. var advices = []
  2045. for (const index in this.advices) {
  2046. if (this.advices[index].parent_id > 0) {
  2047. continue
  2048. }
  2049. var item = this.advices[index]
  2050. if (item.id in childMap) {
  2051. item.children = childMap[item.id]
  2052. } else {
  2053. item.children = []
  2054. }
  2055. advices.push(item)
  2056. }
  2057. var leftAdvice = []
  2058. var rightAdvice = []
  2059. var adlen = advices.length
  2060. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  2061. for (var i = 0; i < halfLen; i++) {
  2062. leftAdvice.push(advices[i])
  2063. rightAdvice.push(advices[i + halfLen])
  2064. }
  2065. if (halfLen < 5) {
  2066. var nl = 5 - leftAdvice.length
  2067. for (let index = 0; index < nl; index++) {
  2068. leftAdvice.push([])
  2069. }
  2070. var nl = 5 - rightAdvice.length
  2071. for (let index = 0; index < nl; index++) {
  2072. rightAdvice.push([])
  2073. }
  2074. }
  2075. this.advices = []
  2076. for (var i = 0; i < halfLen; i++) {
  2077. var item = []
  2078. item.push(leftAdvice[i])
  2079. item.push(rightAdvice[i])
  2080. this.advices.push(item)
  2081. }
  2082. this.loading = false
  2083. this.doctor_advices =
  2084. response.data.data.advices == null
  2085. ? []
  2086. : response.data.data.advices
  2087. for (let index = 0; index < this.doctor_advices.length; index++) {
  2088. this.doctor_advices[index]['isShow'] = 2
  2089. }
  2090. if (this.doctor_advices.length > 0) {
  2091. var group = this.newAdviceGroupObject()
  2092. var initGroupBlock = function(group, advice) {
  2093. group.group_no = advice.groupno
  2094. }
  2095. for (
  2096. let index = this.doctor_advices.length - 1;
  2097. index >= 0;
  2098. index--
  2099. ) {
  2100. var new_advice_index = 0
  2101. if (
  2102. 'children' in this.doctor_advices[index] &&
  2103. this.doctor_advices[index].children.length > 0
  2104. ) {
  2105. new_advice_index =
  2106. index + this.doctor_advices[index].children.length + 1
  2107. var doctor_advice = {
  2108. delivery_way: this.doctor_advices[index].delivery_way,
  2109. execution_frequency: this.doctor_advices[index]
  2110. .execution_frequency,
  2111. groupno: this.doctor_advices[index].groupno,
  2112. id: this.doctor_advices[index].id,
  2113. parent_id: this.doctor_advices[index].parent_id,
  2114. children: this.doctor_advices[index].children,
  2115. remark: this.doctor_advices[index].remark
  2116. }
  2117. doctor_advice['isShow'] = 1
  2118. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  2119. // this.doctor_advices.push(doctor_advice)
  2120. }
  2121. }
  2122. for (let index = 0; index < this.doctor_advices.length; index++) {
  2123. const advice = this.doctor_advices[index]
  2124. if (advice.groupno == 0) {
  2125. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2126. if (advice.parent_id > 0) {
  2127. if (this.advice_groups.length > 0) {
  2128. var parent_group = this.advice_groups[
  2129. this.advice_groups.length - 1
  2130. ]
  2131. if (parent_group.advices.length > 0) {
  2132. if (parent_group.advices[0].id == advice.parent_id) {
  2133. parent_group.advices.push(advice)
  2134. }
  2135. }
  2136. }
  2137. continue
  2138. } else {
  2139. if (group.group_no > 0) {
  2140. this.advice_groups.push(group)
  2141. group = this.newAdviceGroupObject()
  2142. }
  2143. initGroupBlock(group, advice)
  2144. group.advices.push(advice)
  2145. this.advice_groups.push(group)
  2146. group = this.newAdviceGroupObject()
  2147. continue
  2148. }
  2149. }
  2150. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2151. this.advice_groups.push(group)
  2152. group = this.newAdviceGroupObject()
  2153. }
  2154. if (group.group_no == 0) {
  2155. initGroupBlock(group, advice)
  2156. }
  2157. if (group.group_no == advice.groupno) {
  2158. group.advices.push(advice)
  2159. }
  2160. }
  2161. if (group.group_no > 0) {
  2162. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2163. this.advice_groups.push(group)
  2164. }
  2165. }
  2166. console.log(this.advice_groups)
  2167. } else {
  2168. this.loading = false
  2169. this.$message.error('请求数据失败')
  2170. return false
  2171. }
  2172. })
  2173. },
  2174. bloodAccessParOperaName(id) {
  2175. if (id in this.bloodAccessParOpera) {
  2176. return this.bloodAccessParOpera[id].name
  2177. }
  2178. return ''
  2179. },
  2180. dialysateFormulationName(id) {
  2181. if (id in this.dialysateFormulationOptions) {
  2182. return this.dialysateFormulationOptions[id].name
  2183. }
  2184. return ''
  2185. },
  2186. getAge: function(val) {
  2187. if (val.birthday != 0) {
  2188. return jsGetAge(val.birth, '-')
  2189. }
  2190. return ''
  2191. },
  2192. checkIdCardNo(val) {
  2193. var thisLen = val.length
  2194. var birth = ''
  2195. if (thisLen == 15) {
  2196. birth = '19' + val.substr(6, 6)
  2197. } else {
  2198. birth = val.substr(6, 8)
  2199. }
  2200. var birthTwo =
  2201. birth.substr(0, 4) +
  2202. '-' +
  2203. birth.substr(4, 2) +
  2204. '-' +
  2205. birth.substr(6, 2)
  2206. var age = jsGetAge(birthTwo, '-')
  2207. return age
  2208. },
  2209. newAdviceGroupObject: function() {
  2210. return Object.assign(
  2211. {},
  2212. {
  2213. group_no: 0,
  2214. // advice_doctor: 0,
  2215. // start_time: 0,
  2216. advices: []
  2217. // exec_staff: 0,
  2218. // exec_time: 0,
  2219. // checker: 0,
  2220. }
  2221. )
  2222. }
  2223. },
  2224. watch: {
  2225. 'patientInfo.gender': function() {
  2226. if (this.patientInfo.gender == 1) {
  2227. this.patientInfo_gender_1 = true
  2228. this.patientInfo_gender_2 = false
  2229. } else if (this.patientInfo.gender == 2) {
  2230. this.patientInfo_gender_2 = true
  2231. this.patientInfo_gender_1 = false
  2232. } else {
  2233. this.patientInfo_gender_2 = false
  2234. this.patientInfo_gender_1 = false
  2235. }
  2236. },
  2237. 'patientInfo.source': function() {
  2238. if (this.patientInfo.source == 1) {
  2239. this.patientInfo_source_1 = true
  2240. this.patientInfo_source_2 = false
  2241. } else if (this.patientInfo.source == 2) {
  2242. this.patientInfo_source_2 = true
  2243. this.patientInfo_source_1 = false
  2244. } else {
  2245. this.patientInfo_source_2 = false
  2246. this.patientInfo_source_1 = false
  2247. }
  2248. }
  2249. },
  2250. created() {
  2251. var xtuser = this.$store.getters.xt_user
  2252. this.orgname = xtuser.org.org_name
  2253. // this.orgname = "遂溪方济医院";
  2254. this.modeOptions = this.$store.getters.treatment_mode
  2255. this.replacementWays = this.$store.getters.replacement_ways
  2256. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  2257. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  2258. this.way_arr = getDataConfig('hemodialysis', 'way')
  2259. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  2260. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  2261. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  2262. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  2263. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  2264. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  2265. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  2266. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
  2267. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2268. var vascularAccess = getDataConfig('hemodialysis', 'vascular_access')
  2269. this.vascularAccess = vascularAccess
  2270. var bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2271. for (var key in bloodAccessParOpera) {
  2272. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2273. bloodAccessParOpera[key]
  2274. }
  2275. var dialysateFormulationOptions = getDataConfig('hemodialysis', 'dialysate_formulation')
  2276. for (var key in dialysateFormulationOptions) {
  2277. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] = dialysateFormulationOptions[key]
  2278. }
  2279. const xtdate = this.$route.query && this.$route.query.xtdate
  2280. const xtno = this.$route.query && this.$route.query.xtno
  2281. if (typeof xtdate === 'string' && xtdate.length > 0 && typeof xtno === 'string' && xtno.length > 0) {
  2282. this.queryParams.xtdate = xtdate
  2283. this.queryParams.xtno = xtno
  2284. this.getDialysisRecord()
  2285. } else {
  2286. this.$message.error('参数不齐')
  2287. return false
  2288. }
  2289. }
  2290. }
  2291. </script>
  2292. <style>
  2293. .dialysis-print-order {
  2294. width: 960px;
  2295. margin: 0 auto;
  2296. }
  2297. .dialysis-print-order .order-yy-name {
  2298. margin: auto;
  2299. text-align: center;
  2300. font-size: 20px;
  2301. letter-spacing: 5px;
  2302. }
  2303. .dialysis-print-order .order-title {
  2304. margin: auto;
  2305. font-weight: 600;
  2306. text-align: center;
  2307. font-size: 22px;
  2308. padding: 10px 20px 20px 20px;
  2309. }
  2310. .dialysis-print-order .table-box {
  2311. width: 100%;
  2312. line-height: 23px;
  2313. font-size: 14px;
  2314. }
  2315. .dialysis-print-order .print-table {
  2316. width: 100%;
  2317. text-align: center;
  2318. border-collapse: collapse;
  2319. line-height: 40px;
  2320. font-size: 14px;
  2321. }
  2322. .dialysis-print-order .print-table-no {
  2323. width: 100%;
  2324. text-align: center;
  2325. border-collapse: collapse;
  2326. font-size: 14px;
  2327. }
  2328. .dialysis-print-order .under-line {
  2329. border-bottom: 1px solid #999;
  2330. width: 95%;
  2331. text-align: center;
  2332. margin-left: 2px;
  2333. }
  2334. .dialysis-print-order .title-box {
  2335. text-align: center;
  2336. font-size: 16px;
  2337. }
  2338. .dialysis-print-order .radio-lebel-box {
  2339. font-weight: 400;
  2340. cursor: pointer;
  2341. }
  2342. .dialysis-print-order .radio-no {
  2343. opacity: 0;
  2344. outline: none;
  2345. position: absolute;
  2346. margin: 0;
  2347. width: 0;
  2348. height: 0;
  2349. z-index: -1;
  2350. }
  2351. .dialysis-print-order .radio-inner {
  2352. white-space: nowrap;
  2353. cursor: pointer;
  2354. outline: none;
  2355. display: inline-block;
  2356. line-height: 1;
  2357. position: relative;
  2358. vertical-align: middle;
  2359. }
  2360. .dialysis-print-order .radio-fang {
  2361. display: inline-block;
  2362. position: relative;
  2363. border: 1px solid #000;
  2364. box-sizing: border-box;
  2365. width: 14px;
  2366. height: 14px;
  2367. background-color: #fff;
  2368. z-index: 1;
  2369. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2370. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2371. }
  2372. .dialysis-print-order .is-checked-radio::after {
  2373. content: "√";
  2374. font-size: 15px;
  2375. }
  2376. .dialysis-print-order .print-table-no tr td {
  2377. padding: 8px 5px;
  2378. line-height: 25px;
  2379. }
  2380. .dialysis-print-order .print-table tr td {
  2381. padding: 1px 1px;
  2382. /*line-height: 25px;*/
  2383. }
  2384. .es-img {
  2385. height: 25px;
  2386. }
  2387. .advice-name {
  2388. text-align: left;
  2389. }
  2390. .advice-children {
  2391. display: flex;
  2392. }
  2393. .title-box-pro {
  2394. border: 0 #fff;
  2395. line-height: 25px;
  2396. height: 25px;
  2397. text-align: left;
  2398. padding-left: 10px !important;
  2399. }
  2400. .title-box-pro-tr {
  2401. border: 0 #fff;
  2402. }
  2403. .text-align-left {
  2404. text-align: left !important;
  2405. padding-left: 10px !important;
  2406. font-size: 14px !important;
  2407. line-height: 25px;
  2408. }
  2409. .print-table-tr-new td {
  2410. line-height: 20px !important;
  2411. }
  2412. .border-top-solid {
  2413. border: solid 1px #000;
  2414. }
  2415. .print-template-two tr {
  2416. line-height: 30px;
  2417. }
  2418. </style>