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

DialysisPrintOrderTen.vue 83KB

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