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

DialysisPrintOrderTwentySeven.vue 101KB

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