血透系统pad前端

DialysisPrintOrderTwo.vue 89KB

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