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

dialysisPrintOrderTwo.vue 100KB

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