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

DialysisPrintOrderThirteen.vue 69KB

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