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

DialysisPrintOrderTwentyFour.vue 137KB

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