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

DialysisPrintOrderThirtyOne.vue 69KB

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