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

DialysisPrintOrderSix.vue 82KB

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