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

DialysisPrintOrderNine.vue 110KB

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