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

DialysisPrintOrderFiftyThree.vue 51KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492
  1. <template>
  2. <div id="dialysis-print-box" style="position: relative">
  3. <div class="dialysis-print-order">
  4. <div class="order-yy-name">{{ orgname }}</div>
  5. <div class="order-title">血液透析(滤过)记录表单</div>
  6. <!-- <table class="table-box" style="margin-top: 10px;">
  7. <tbody>
  8. <tr>
  9. <td width="40">诊 断:</td>
  10. <td width="">
  11. <div class="under-line">&nbsp;{{patientInfo.diagnose}}</div>
  12. </td>
  13. </tr>
  14. </tbody>
  15. </table> -->
  16. <table class="print-table" border="1">
  17. <tbody>
  18. <tr>
  19. <td width="80" colspan="11" style="text-align: center">
  20. 治 疗 日 期:&nbsp;<span>{{ queryParams.xtdate }}</span>
  21. </td>
  22. </tr>
  23. <tr>
  24. <td colspan="11">
  25. <div class="list_table">
  26. <div>姓 名:&nbsp;{{ patientInfo.name }}</div>
  27. <div>
  28. 性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
  29. </div>
  30. <div>透析机号:&nbsp;{{ getNumber() }}</div>
  31. </div>
  32. </td>
  33. </tr>
  34. <tr class="list_table_1">
  35. <td colspan="11">
  36. <div style="display: flex">
  37. <div style="width: 400px">
  38. 病情评估:&nbsp;<span>{{ sick_condition ? sick_condition : "" }}</span>
  39. </div>
  40. <div style="width: 400px">
  41. 入科方式:&nbsp;<span
  42. v-for="(item, index) in way_arr"
  43. :key="index"
  44. class="under_line"
  45. v-if="receiverTreatmentAccess.way == item.id"
  46. style="width: 180px; text-align: left"
  47. >{{ item.name }}
  48. </span>
  49. </div>
  50. </div>
  51. </td>
  52. </tr>
  53. <tr class="list_table_1">
  54. <td width="250" style="border-right: none" colspan="2">
  55. 治疗方式:
  56. <label-box
  57. :isChecked="prescription.mode_id == 1 ? true : false"
  58. showValue="HD"
  59. >
  60. </label-box>
  61. <label-box
  62. :isChecked="prescription.mode_id == 2 ? true : false"
  63. showValue="HDF"
  64. ></label-box>
  65. (<label-box
  66. :isChecked="
  67. prescription.mode_id == 2 &&
  68. prescription.displace_liqui_part == 1
  69. ? true
  70. : false
  71. "
  72. showValue="前稀释"
  73. ></label-box>
  74. <label-box
  75. :isChecked="
  76. prescription.mode_id == 2 &&
  77. prescription.displace_liqui_part == 2
  78. ? true
  79. : false
  80. "
  81. showValue="后稀释"
  82. ></label-box>
  83. , 置换量:&nbsp;{{
  84. prescription.displace_liqui_value
  85. ? prescription.displace_liqui_value
  86. : "/"
  87. }}ml&nbsp; )
  88. <label-box
  89. :isChecked="prescription.mode_id > 2 ? true : false"
  90. showValue="其他:"
  91. ></label-box>
  92. &nbsp;
  93. <span v-if="prescription.mode_id > 2">
  94. {{ prescription.mode }}
  95. </span>
  96. </td>
  97. <!-- <td width="20" style="border: none"></td> -->
  98. <td width="200">
  99. 治疗时间:&nbsp;{{
  100. afterdialysis.actual_treatment_hour
  101. ? afterdialysis.actual_treatment_hour
  102. : "0"
  103. }}&nbsp;小时&nbsp;{{
  104. afterdialysis.actual_treatment_minute
  105. ? afterdialysis.actual_treatment_minute
  106. : 0
  107. }}&nbsp;分
  108. </td>
  109. </tr>
  110. <tr class="list_table_1">
  111. <td colspan="12">
  112. 治疗抗凝:
  113. <label-box
  114. :isChecked="prescription.anticoagulant == 3 ? true : false"
  115. showValue="低分子肝素:"
  116. ></label-box>
  117. &nbsp;&nbsp;{{prescription.anticoagulant_zongliang && prescription.anticoagulant == "3" ? prescription.anticoagulant_zongliang : ""}}U;&nbsp;&nbsp;
  118. <label-box
  119. :isChecked="prescription.anticoagulant == 2 ? true : false"
  120. showValue="普通肝素:"
  121. ></label-box
  122. >首剂 &nbsp;&nbsp;<span><span style="width:35px;display: inline-block;">
  123. {{ prescription.anticoagulant_shouji && (prescription.anticoagulant != 3 ) && prescription.anticoagulant == 2 ? prescription.anticoagulant_shouji : "" }}
  124. </span></span> mg&nbsp;&nbsp;&nbsp;
  125. 追加&nbsp;&nbsp;<span>{{ prescription.anticoagulant_weichi && prescription.anticoagulant == 2 ? prescription.anticoagulant_weichi : "" }}</span>&nbsp;&nbsp;mg/h&nbsp;
  126. 总量&nbsp;&nbsp;<span>{{ prescription.anticoagulant_zongliang && prescription.anticoagulant == 2 ? prescription.anticoagulant_zongliang : "" }}</span>&nbsp;&nbsp;mg;
  127. <label-box
  128. :isChecked="prescription.anticoagulant == 1 ? true : false"
  129. showValue="无肝素"
  130. ></label-box>
  131. <label-box :isChecked="prescription.anticoagulant == 5 ? true : false" showValue="枸橼酸"></label-box>
  132. </td>
  133. </tr>
  134. <tr class="list_table_1" style="line-height: 30px">
  135. <td width="100" style="border-right: none" colspan="2">
  136. 处方脱水量:
  137. <p style="display: inline-block; width: 40px">{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}</p>
  138. ml; 透析液流量:
  139. <p style="display: inline-block; width: 40px">{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}</p>
  140. ml/h;
  141. </td>
  142. <!-- <td style="border: none"></td> -->
  143. <td width="20">
  144. 医师签名:
  145. <span v-if="setAdminUserES(prescription.creater) == ''">
  146. {{ getAdminUser(prescription.creater) }}
  147. </span>
  148. <img
  149. class="es-img"
  150. style="height: 30px"
  151. :src="setAdminUserES(prescription.creater)"
  152. alt
  153. srcset
  154. v-else
  155. />
  156. </td>
  157. </tr>
  158. <tr colspan="13" class="list_table_1">
  159. <!-- <td >透析机:{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}</td>
  160. <td style="width: 175px;">透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}</td>
  161. <td width="150">透析液:钾:
  162. <span style="width:30px;display: inline-block;">
  163. {{ prescription.kalium ? prescription.kalium : "" }}
  164. </span>mmol/L&nbsp; 钙:
  165. <span style="width:30px;display: inline-block;">
  166. {{ prescription.calcium ? prescription.calcium : "" }}
  167. </span>mmol/L&nbsp; 碳酸氢根:
  168. <span style="width:30px;display: inline-block;">
  169. {{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
  170. </span>mmol/L</td> -->
  171. <td colspan="13">
  172. <div style="display:flex;">
  173. <div style="width: 230px;border-right: 1px solid;" >透析机:{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}</div>
  174. <div style="width: 213px;border-right: 1px solid;">透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}</div>
  175. <div>透析液:钾:
  176. <span style="width:30px;display: inline-block;">
  177. {{ prescription.kalium ? prescription.kalium : "" }}
  178. </span>mmol/L&nbsp; 钙:
  179. <span style="width:30px;display: inline-block;">
  180. {{ prescription.calcium ? prescription.calcium : "" }}
  181. </span>mmol/L&nbsp; 碳酸氢根:
  182. <span style="width:30px;display: inline-block;">
  183. {{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
  184. </span>mmol/L</div>
  185. </div>
  186. </td>
  187. </tr>
  188. <tr class="list_table_1">
  189. <td colspan="11">
  190. <div style="display: flex; justify-content: flex-start">
  191. <div style="width: 75%">
  192. 血管通路: &nbsp;
  193. <label-box
  194. :isChecked="
  195. predialysis.blood_access_part_opera_name.indexOf(
  196. '自体内瘘'
  197. ) > -1
  198. ? true
  199. : false
  200. "
  201. showValue="自体内瘘"
  202. ></label-box>
  203. &nbsp;
  204. <label-box
  205. :isChecked="
  206. predialysis.blood_access_part_opera_name.indexOf(
  207. '人造血管'
  208. ) > -1
  209. ? true
  210. : false
  211. "
  212. showValue="人造血管"
  213. ></label-box>
  214. &nbsp; &nbsp;
  215. <label-box
  216. :isChecked="
  217. predialysis.blood_access_part_opera_name.indexOf('直穿') >
  218. -1
  219. ? true
  220. : false
  221. "
  222. showValue="直穿"
  223. ></label-box>
  224. &nbsp;
  225. <label-box
  226. :isChecked="
  227. predialysis.blood_access_part_opera_name.indexOf(
  228. '颈内静脉'
  229. ) > -1
  230. ? true
  231. : false
  232. "
  233. showValue="颈内静脉"
  234. ></label-box>
  235. &nbsp;
  236. <label-box
  237. :isChecked="
  238. predialysis.blood_access_part_opera_name.indexOf(
  239. '股静脉'
  240. ) > -1
  241. ? true
  242. : false
  243. "
  244. showValue="股静脉"
  245. ></label-box>
  246. &nbsp;
  247. <label-box
  248. :isChecked="
  249. predialysis.blood_access_part_opera_name.indexOf(
  250. '锁骨下'
  251. ) > -1
  252. ? true
  253. : false
  254. "
  255. showValue="锁骨下"
  256. ></label-box>
  257. &nbsp;
  258. </div>
  259. <div style="width: 25%">穿刺者:
  260. <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
  261. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
  262. </span>
  263. <img class="es-img" style="height:30px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt srcset v-else /></div>
  264. </div>
  265. </td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. <table
  270. class="print-table"
  271. border="1"
  272. style="text-align: center"
  273. table-layout="fixed"
  274. >
  275. <tbody>
  276. <tr class="tr_top" style="border-top: none">
  277. <td class="tr_top" colspan="11" style="text-align: center">
  278. 治疗过程记录
  279. </td>
  280. </tr>
  281. <tr>
  282. <td width="60">时间</td>
  283. <td width="300" class="td_sp">
  284. <table
  285. class="print-table-3"
  286. border="1"
  287. style="text-align: center"
  288. >
  289. <tr class="tr_3">
  290. <td colspan="4">透析参数</td>
  291. </tr>
  292. <td width="70" class="td_3_2">TMP/<br />mmHg</td>
  293. <td width="70" class="td_3">静脉压/<br />mmHg</td>
  294. <td width="70" class="td_3">血流量/<br />(ml·min)⁻¹</td>
  295. <td width="70">脱水量/<br />ml</td>
  296. </table>
  297. </td>
  298. <td width="300">
  299. <table
  300. class="print-table-3"
  301. border="1"
  302. style="text-align: center"
  303. frame="void"
  304. >
  305. <tbody>
  306. <tr class="tr_3">
  307. <td colspan="5">生命体征</td>
  308. </tr>
  309. <td width="59" class="td_3_1">T/<br />℃</td>
  310. <td width="60" class="td_3">HR/<br />bpm</td>
  311. <td width="60" class="td_3">R/<br />bpm</td>
  312. <td width="60" class="td_3">BP/<br />mmHg</td>
  313. <td width="60">SpO₂/<br />%</td>
  314. </tbody>
  315. </table>
  316. </td>
  317. <td width="300">
  318. <table
  319. class="print-table-2"
  320. border="1"
  321. style="text-align: center"
  322. frame="void"
  323. >
  324. <tbody>
  325. <tr>
  326. <td>治疗中病情变化</td>
  327. </tr>
  328. <td width="220" style="height: 80.85px; text-align: center">
  329. 记录
  330. </td>
  331. </tbody>
  332. </table>
  333. </td>
  334. </tr>
  335. <tr v-for="monitor in monitors" :key="monitor.id">
  336. <td>
  337. &nbsp;
  338. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  339. </td>
  340. <td>
  341. <table
  342. table-layout="fixed"
  343. class="print-table"
  344. border="1"
  345. style="text-align: center; width: 300px"
  346. frame="void"
  347. >
  348. <td width="25%">
  349. &nbsp;{{
  350. monitor.transmembrane_pressure
  351. ? monitor.transmembrane_pressure
  352. : ""
  353. }}
  354. </td>
  355. <td width="25%">
  356. &nbsp;{{
  357. monitor.venous_pressure ? monitor.venous_pressure : ""
  358. }}
  359. </td>
  360. <td width="25%">
  361. &nbsp;{{
  362. monitor.blood_flow_volume ? monitor.blood_flow_volume : ""
  363. }}
  364. </td>
  365. <td width="25%">
  366. &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
  367. </td>
  368. </table>
  369. </td>
  370. <td width="300">
  371. <table
  372. table-layout="fixed"
  373. class="print-table"
  374. border="1"
  375. style="text-align: center; width: 300px"
  376. frame="void"
  377. >
  378. <td style="width: 20%">
  379. &nbsp;{{
  380. monitor.monitor_temperature
  381. ? monitor.monitor_temperature
  382. : ""
  383. }}
  384. </td>
  385. <td style="width: 20%">
  386. &nbsp;{{
  387. monitor.pulse_frequency ? monitor.pulse_frequency : ""
  388. }}
  389. </td>
  390. <td style="width: 20%">
  391. &nbsp;{{
  392. monitor.breathing_rate ? monitor.breathing_rate : ""
  393. }}
  394. </td>
  395. <td style="width: 20%">
  396. &nbsp;{{
  397. monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : ""
  398. }}
  399. </td>
  400. <td style="width: 20%">
  401. &nbsp;{{
  402. monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : ""
  403. }}
  404. </td>
  405. </table>
  406. </td>
  407. <td>
  408. <span style="line-height:18px;display:block;">
  409. {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
  410. monitor.result
  411. }}
  412. </span>
  413. </td>
  414. </tr>
  415. </tbody>
  416. </table>
  417. <table class="print-table" border="1" style="text-align: center">
  418. <tbody>
  419. <tr>
  420. <td style="width: 25px; height: 40px">
  421. <p style="height: 20px; line-height: 20px">时间</p>
  422. </td>
  423. <td style="width: 150px; height: 40px">
  424. <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
  425. </td>
  426. <td style="width: 32px; height: 40px">
  427. <p style="height: 20px; line-height: 20px">执行</p>
  428. </td>
  429. <td style="width: 60px; height: 60px">
  430. <p style="height: 20px; line-height: 20px">核对</p>
  431. </td>
  432. <td style="width: 60px; height: 40px">
  433. <p style="height: 20px; line-height: 20px">上次透后体重</p>
  434. </td>
  435. <td style="width: 45px; height: 40px">{{assessmentafter.weight_after}}kg</td>
  436. </tr>
  437. <tr v-for="(advice, advice_index) in advices">
  438. <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  439. <td>
  440. <span v-if="advice.parent_id > 0">---></span>
  441. <span>{{ advice.advice_name }}</span>
  442. <span v-if="advice && advice.advice_desc"
  443. >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
  444. >
  445. <span v-if="advice.prescribing_number"
  446. >&nbsp;&nbsp; {{ advice.prescribing_number
  447. }}{{ advice.prescribing_number_unit }}</span
  448. >
  449. <span v-if="advice.single_dose != 0"
  450. >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span
  451. >
  452. <span v-if="advice.parent_id == 0">{{
  453. advice.delivery_way
  454. }}</span>
  455. <span v-if="advice.parent_id == 0">{{
  456. advice.execution_frequency
  457. }}</span>
  458. </td>
  459. <td>
  460. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
  461. getAdminUser(advice.execution_staff)
  462. }}</span>
  463. <img
  464. style="height: 40px"
  465. :src="setAdminUserES(advice.execution_staff)"
  466. alt=""
  467. srcset=""
  468. v-else
  469. />
  470. </td>
  471. <td>
  472. <span v-if="setAdminUserES(advice.checker) == ''">{{
  473. getAdminUser(advice.checker)
  474. }}</span>
  475. <img
  476. style="height: 40px"
  477. :src="setAdminUserES(advice.checker)"
  478. alt=""
  479. srcset=""
  480. v-else
  481. />
  482. </td>
  483. <td v-if="advice_index === 0">透前体重:</td>
  484. <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
  485. <td v-if="advice_index === 1">体重增加量:</td>
  486. <td v-if="advice_index === 1">
  487. {{
  488. (
  489. predialysis.weight_before - assessmentafter.weight_after
  490. ).toFixed(1)
  491. }}kg
  492. </td>
  493. <td v-if="advice_index === 2">干体重(DW):</td>
  494. <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
  495. <td v-if="advice_index === 3">较干体重增加量:</td>
  496. <td v-if="advice_index === 3">
  497. {{
  498. (
  499. assessmentafter.weight_after -
  500. predialysis.dry_weight
  501. ).toFixed(2)
  502. }}kg
  503. </td>
  504. <td v-if="advice_index === 4">净脱水量:</td>
  505. <td v-if="advice_index === 4">
  506. {{ afterdialysis.actual_ultrafiltration }}L
  507. </td>
  508. <td v-if="advice_index === 5">透后体重:</td>
  509. <td v-if="advice_index === 5">
  510. {{ assessmentafter.weight_after }}kg
  511. </td>
  512. <td v-if="advice_index === 6">本次透析体重下降量:</td>
  513. <td v-if="advice_index === 6">
  514. {{ afterdialysis.weight_after }}kg
  515. </td>
  516. </tr>
  517. </tbody>
  518. </table>
  519. <table class="print-table" border="1">
  520. <tr style="height:60px;text-align:left;border:none;">
  521. <td style="padding-left:5px;border:none">
  522. 治疗小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
  523. </td>
  524. </tr>
  525. <tr style="height:40px">
  526. <td rowspan="11" style="border:none;text-align:right;height:40px">
  527. 医生签名
  528. <span style="display: inline-block;width:100px;text-align: left;">
  529. &nbsp;
  530. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  531. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  532. </span>
  533. 护士签名
  534. <span style="display: inline-block;width:100px;text-align: left;">
  535. &nbsp;
  536. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  537. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  538. </span>
  539. </td>
  540. </tr>
  541. </table >
  542. <table class="table-box" style="margin-top: 10px">
  543. <tbody>
  544. <tr>
  545. <td width="" style="font-size: 13px">
  546. 注:透析器凝血评价标准:“0 级” 无凝血或数条纤维束凝血,“Ⅰ 级”
  547. 少于10%纤维凝血,“Ⅱ 级” 少于50%纤维凝血,“Ⅲ 级” 大于50%纤维凝血。
  548. </td>
  549. </tr>
  550. </tbody>
  551. </table>
  552. </div>
  553. <div style="position: absolute; top: 1380px; left: 50%">1</div>
  554. </div>
  555. </template>
  556. <script>
  557. import { getDialysisRecord } from "@/api/dialysis";
  558. import { jsGetAge, uParseTime } from "@/utils/tools";
  559. import LabelBox from "../printItem/LabelBox";
  560. import { getDataConfig } from "@/utils/data";
  561. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  562. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  563. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  564. import print from "print-js";
  565. export default {
  566. name: "dialysisPrintOrderFour",
  567. components: {
  568. // DialysisPrintOrderOne,
  569. // DialysisPrintOrderTwo,
  570. LabelBox,
  571. BreadCrumb,
  572. },
  573. data() {
  574. return {
  575. way_arr: [],
  576. consciousness_arr: [],
  577. appetite_arr: [],
  578. posture_arr: [],
  579. sick_condition_arr: [],
  580. precaution_arr: [],
  581. intake_arr: [],
  582. nutrition_arr: [],
  583. bloodAccessParOpera: {},
  584. crumbs: [
  585. { path: false, name: "透析管理" },
  586. { path: false, name: "打印单" },
  587. ],
  588. operators: [],
  589. adminUser: [],
  590. check: {},
  591. dialysisOrder: {
  592. DeviceNumber: [],
  593. },
  594. operatorMaps: {},
  595. complications: [
  596. "低血压",
  597. "高血压",
  598. "心律失常",
  599. "头晕",
  600. "头痛",
  601. "呕吐",
  602. "抽搐",
  603. "出血",
  604. "心衰",
  605. "腹痛",
  606. ],
  607. jilurow: 0,
  608. assessmentafter: {},
  609. advice_jilurow: 0,
  610. loading: false,
  611. orgname: "",
  612. patientInfo_gender_1: false,
  613. patientInfo_gender_2: false,
  614. patientInfo_source_2: false,
  615. patientInfo_source_1: false,
  616. modeOptions: {},
  617. replacementWays: [],
  618. perfusionApparatus: [],
  619. anticoagulantsConfit: {},
  620. bloodAccessParOpera: {},
  621. dialysateFormulationOptions: {},
  622. queryParams: {
  623. xtdate: "",
  624. xtno: "",
  625. },
  626. patientInfo: {
  627. birth: "",
  628. age: "",
  629. DialysisSchedule: {
  630. device_number: { number: "" },
  631. device_zone: { name: "" },
  632. },
  633. gender: 0,
  634. },
  635. predialysis: {
  636. score: "",
  637. internal_fistula: "",
  638. internal_fistula_skin: "",
  639. catheter: "",
  640. blood_access_part_opera_name: "",
  641. },
  642. afterdialysis: {
  643. complications_index: "",
  644. },
  645. prescription: {
  646. dialysate_formulation_name: "",
  647. device: {},
  648. },
  649. advices: [],
  650. users: [],
  651. monitors: [],
  652. sick_condition:"",
  653. summary: {},
  654. receiverTreatmentAccess: {},
  655. org_template_info: {},
  656. doctor_advices: [],
  657. advice_groups: [],
  658. AlPanel: {
  659. id: 0,
  660. name: "",
  661. type: 1,
  662. shouji: 2,
  663. weichi: 2,
  664. zongliang: 2,
  665. gaimingcheng: -1,
  666. gaijiliang: -1,
  667. shouji_unit: "mg",
  668. weichi_unit: "mg/h",
  669. zongliang_unit: "mg",
  670. gaimingcheng_unit: "",
  671. gaijiliang_unit: "",
  672. },
  673. };
  674. },
  675. methods: {
  676. getAdminUser(id) {
  677. if (id == 0) {
  678. return "";
  679. }
  680. if (id == undefined) {
  681. return "";
  682. }
  683. for (let i = 0; i < this.adminUser.length; i++) {
  684. if (this.adminUser[i].id == id) {
  685. return this.adminUser[i].name;
  686. }
  687. }
  688. },
  689. getTime(value, temp) {
  690. if (value == 0) {
  691. return "";
  692. }
  693. if (value != undefined) {
  694. return uParseTime(value, temp);
  695. }
  696. return "";
  697. },
  698. printThisPage() {
  699. var ptime = Math.round(new Date().getTime() / 1000);
  700. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  701. const style =
  702. '@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 20px 20px 20px}.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:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.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;}';
  703. if (this.org_template_info.template_id == 1) {
  704. printJS({
  705. printable: "dialysis-print-box",
  706. type: "html",
  707. style: style,
  708. scanStyles: false,
  709. });
  710. } else if (
  711. this.org_template_info.template_id == 2 ||
  712. this.org_template_info.template_id == 0
  713. ) {
  714. printJS({
  715. printable: "dialysis-print-box-1",
  716. type: "html",
  717. style: style,
  718. scanStyles: false,
  719. });
  720. }
  721. },
  722. getNumber() {
  723. if (this.dialysisOrder != null) {
  724. return (
  725. this.patientInfo.DialysisSchedule.device_zone.name +
  726. this.dialysisOrder.DeviceNumber.number
  727. );
  728. } else {
  729. return (
  730. this.patientInfo.DialysisSchedule.device_zone.name +
  731. this.patientInfo.DialysisSchedule.device_number.number
  732. );
  733. }
  734. },
  735. getXuserName(id) {
  736. if (id <= 0) {
  737. return "";
  738. }
  739. var name = "";
  740. if (this.users == null || typeof this.users.length === "undefined") {
  741. return name;
  742. }
  743. var leng = this.users.length;
  744. if (leng == 0) {
  745. return name;
  746. }
  747. for (let index = 0; index < leng; index++) {
  748. if (this.users[index].id == id) {
  749. name = this.users[index].name;
  750. break;
  751. }
  752. }
  753. return name;
  754. },
  755. setAdminUserES(id) {
  756. console.log(id);
  757. if (id == 0) {
  758. return "";
  759. }
  760. if (id in this.operatorMaps) {
  761. return this.operatorMaps[id].url;
  762. } else {
  763. return "";
  764. }
  765. },
  766. modeName(mode_id) {
  767. return typeof this.modeOptions[mode_id] !== "undefined" &&
  768. typeof this.modeOptions[mode_id].name !== "undefined"
  769. ? this.modeOptions[mode_id].name
  770. : "";
  771. },
  772. getDialysisRecord() {
  773. this.loading = true;
  774. getDialysisRecord(this.queryParams).then((response) => {
  775. if (response.data.state == 1) {
  776. this.adminUser = response.data.data.users;
  777. this.users = response.data.data.users;
  778. this.patientInfo = response.data.data.patientInfo;
  779. this.patientInfo.birth = uParseTime(
  780. this.patientInfo.birthday,
  781. "{y}-{m}-{d}"
  782. );
  783. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  784. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  785. this.patientInfo.first_dialysis_date = uParseTime(
  786. response.data.data.patientInfo.first_dialysis_date,
  787. "{y}-{m}-{d}"
  788. );
  789. } else {
  790. this.patientInfo.first_dialysis_date = "";
  791. }
  792. this.check = response.data.data.check;
  793. this.predialysis = response.data.data.PredialysisEvaluation;
  794. this.predialysis.blood_access_part_opera_name =
  795. this.bloodAccessParOperaName(
  796. this.predialysis.blood_access_part_opera_id
  797. );
  798. console.log(this.predialysis.blood_access_part_opera_name,'this.predialysis.blood_access_part_opera_name')
  799. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  800. this.operators = response.data.data.operators;
  801. this.dialysisOrder =
  802. response.data.data.dialysisOrder === null
  803. ? null
  804. : response.data.data.dialysisOrder;
  805. if (this.operators.length > 0) {
  806. var operatorsLen = this.operators.length;
  807. for (var index = 0; index < operatorsLen; index++) {
  808. this.$set(
  809. this.operatorMaps,
  810. this.operators[index].creator,
  811. this.operators[index]
  812. );
  813. }
  814. }
  815. this.afterdialysis.txqnx = -1;
  816. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  817. this.afterdialysis.txqnx = 0;
  818. }
  819. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  820. this.afterdialysis.txqnx = 1;
  821. }
  822. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  823. this.afterdialysis.txqnx = 2;
  824. }
  825. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  826. this.afterdialysis.txqnx = 3;
  827. }
  828. this.afterdialysis.complications =
  829. this.afterdialysis.complication.split(",");
  830. this.afterdialysis.complications_other = [];
  831. this.afterdialysis.complications_index = [];
  832. var acllen = this.afterdialysis.complications.length;
  833. for (let index = 0; index < acllen; index++) {
  834. if (
  835. this.complications.indexOf(
  836. this.afterdialysis.complications[index]
  837. ) >= 0
  838. ) {
  839. this.afterdialysis.complications_index.push(
  840. this.afterdialysis.complications[index]
  841. );
  842. } else if (
  843. this.complications.indexOf(
  844. this.afterdialysis.complications[index]
  845. ) < 0 &&
  846. this.afterdialysis.complications_other.indexOf(
  847. this.afterdialysis.complications[index]
  848. ) < 0
  849. ) {
  850. this.afterdialysis.complications_other.push(
  851. this.afterdialysis.complications[index]
  852. );
  853. }
  854. }
  855. this.afterdialysis.complications_other =
  856. this.afterdialysis.complications_other.join(",");
  857. this.prescription = response.data.data.dialysisPrescription;
  858. this.receiverTreatmentAccess =
  859. response.data.data.receiverTreatmentAccess;
  860. this.assessmentafter = response.data.data.assessmentAfterDislysis;
  861. this.sick_condition_arr.forEach(o => {
  862. // console.log(o,'hh')
  863. if(this.receiverTreatmentAccess.sick_condition == o.id){
  864. this.sick_condition = o.name
  865. }
  866. })
  867. console.log(this.sick_condition,'hh')
  868. console.log("上次透后体重", this.assessmentafter);
  869. this.prescription.mode = this.modeName(this.prescription.mode_id);
  870. var rwLen = this.replacementWays.length;
  871. this.prescription.replacement = "";
  872. for (let index = 0; index < rwLen; index++) {
  873. if (
  874. this.replacementWays[index].id ==
  875. this.prescription.replacement_way
  876. ) {
  877. this.prescription.replacement = this.replacementWays[index].name;
  878. break;
  879. }
  880. }
  881. this.prescription.dialysate_formulation_name =
  882. this.dialysateFormulationName(
  883. this.prescription.dialysate_formulation
  884. );
  885. var paLen = this.perfusionApparatus.length;
  886. this.prescription.perfusion_apparatus_name = "";
  887. for (let index = 0; index < paLen; index++) {
  888. if (
  889. this.perfusionApparatus[index].id ==
  890. this.prescription.perfusion_apparatus
  891. ) {
  892. this.prescription.perfusion_apparatus_name =
  893. this.perfusionApparatus[index].name;
  894. break;
  895. }
  896. }
  897. var acLen = this.anticoagulantsConfit.length;
  898. var thisALID = this.prescription.anticoagulant;
  899. this.prescription.anticoagulant_name = "";
  900. if (
  901. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  902. this.anticoagulantsConfit[thisALID] != null
  903. ) {
  904. this.prescription.anticoagulant_name =
  905. this.anticoagulantsConfit[thisALID].name;
  906. this.AlPanel = this.anticoagulantsConfit[thisALID];
  907. }
  908. this.advices = response.data.data.advices;
  909. this.monitors = response.data.data.monitors;
  910. this.summary = response.data.data.summary;
  911. this.org_template_info = response.data.data.org_template_info;
  912. if (this.monitors.length < 8) {
  913. var nl = 8 - this.monitors.length;
  914. for (let index = 0; index < nl; index++) {
  915. this.monitors.push([]);
  916. }
  917. }
  918. this.jilurow = this.monitors.length + 1;
  919. this.advice_jilurow = this.advices.length + 1;
  920. var childMap = {};
  921. for (const index in this.advices) {
  922. if (this.advices[index].parent_id == 0) {
  923. continue;
  924. }
  925. if (!(this.advices[index].parent_id in childMap)) {
  926. childMap[this.advices[index].parent_id] = [];
  927. }
  928. childMap[this.advices[index].parent_id].push(this.advices[index]);
  929. }
  930. var advices = [];
  931. for (const index in this.advices) {
  932. if (this.advices[index].parent_id > 0) {
  933. continue;
  934. }
  935. var item = this.advices[index];
  936. if (item.id in childMap) {
  937. item.children = childMap[item.id];
  938. } else {
  939. item.children = [];
  940. }
  941. advices.push(item);
  942. }
  943. var tableAdvice = this.advices;
  944. console.log("医生", tableAdvice);
  945. if (tableAdvice.length === 0) {
  946. var obj = { advice_name: "", start_time: "" };
  947. var obj1 = { advice_name: "", start_time: "" };
  948. var obj2 = { advice_name: "", start_time: "" };
  949. var obj3 = { advice_name: "", start_time: "" };
  950. var obj4 = { advice_name: "", start_time: "" };
  951. var obj5 = { advice_name: "", start_time: "" };
  952. tableAdvice.push(obj);
  953. tableAdvice.push(obj1);
  954. tableAdvice.push(obj2);
  955. tableAdvice.push(obj3);
  956. tableAdvice.push(obj4);
  957. tableAdvice.push(obj5);
  958. this.advices = tableAdvice;
  959. }
  960. if (tableAdvice.length === 1) {
  961. var obj = { advice_name: "", start_time: "" };
  962. var obj1 = { advice_name: "", start_time: "" };
  963. var obj2 = { advice_name: "", start_time: "" };
  964. var obj3 = { advice_name: "", start_time: "" };
  965. var obj4 = { advice_name: "", start_time: "" };
  966. tableAdvice.push(obj);
  967. tableAdvice.push(obj1);
  968. tableAdvice.push(obj2);
  969. tableAdvice.push(obj3);
  970. tableAdvice.push(obj4);
  971. this.advices = tableAdvice;
  972. }
  973. if (tableAdvice.length === 2) {
  974. var obj = { advice_name: "", start_time: "" };
  975. var obj1 = { advice_name: "", start_time: "" };
  976. var obj2 = { advice_name: "", start_time: "" };
  977. var obj3 = { advice_name: "", start_time: "" };
  978. tableAdvice.push(obj);
  979. tableAdvice.push(obj1);
  980. tableAdvice.push(obj2);
  981. tableAdvice.push(obj3);
  982. this.advices = tableAdvice;
  983. }
  984. if (tableAdvice.length === 3) {
  985. // eslint-disable-next-line no-redeclare
  986. var obj = { advice_name: "", start_time: "" };
  987. // eslint-disable-next-line no-redeclare
  988. var obj1 = { advice_name: "", start_time: "" };
  989. // eslint-disable-next-line no-redeclare
  990. var obj2 = { advice_name: "", start_time: "" };
  991. // eslint-disable-next-line no-redeclare
  992. tableAdvice.push(obj);
  993. tableAdvice.push(obj1);
  994. tableAdvice.push(obj2);
  995. this.advices = tableAdvice;
  996. }
  997. if (tableAdvice.length === 4) {
  998. // eslint-disable-next-line no-redeclare
  999. var obj = { advice_name: "", start_time: "" };
  1000. // eslint-disable-next-line no-redeclare
  1001. var obj1 = { advice_name: "", start_time: "" };
  1002. // eslint-disable-next-line no-redeclare
  1003. tableAdvice.push(obj);
  1004. tableAdvice.push(obj1);
  1005. this.advices = tableAdvice;
  1006. }
  1007. if (tableAdvice.length === 5) {
  1008. // eslint-disable-next-line no-redeclare
  1009. var obj = { advice_name: "", start_time: "" };
  1010. // eslint-disable-next-line no-redeclare
  1011. var obj1 = { advice_name: "", start_time: "" };
  1012. tableAdvice.push(obj);
  1013. tableAdvice.push(obj1);
  1014. this.advices = tableAdvice;
  1015. }
  1016. if (tableAdvice.length === 6) {
  1017. var obj1 = { advice_name: "", start_time: "" };
  1018. tableAdvice.push(obj1);
  1019. this.advices = tableAdvice;
  1020. }
  1021. console.log(this.advices,'this.advices')
  1022. this.loading = false;
  1023. this.doctor_advices =
  1024. response.data.data.advices == null
  1025. ? []
  1026. : response.data.data.advices;
  1027. for (let index = 0; index < this.doctor_advices.length; index++) {
  1028. this.doctor_advices[index]["isShow"] = 2;
  1029. }
  1030. if (this.doctor_advices.length > 0) {
  1031. var group = this.newAdviceGroupObject();
  1032. var initGroupBlock = function (group, advice) {
  1033. group.group_no = advice.groupno;
  1034. };
  1035. for (
  1036. let index = this.doctor_advices.length - 1;
  1037. index >= 0;
  1038. index--
  1039. ) {
  1040. var new_advice_index = 0;
  1041. if (
  1042. "children" in this.doctor_advices[index] &&
  1043. this.doctor_advices[index].children.length > 0
  1044. ) {
  1045. new_advice_index =
  1046. index + this.doctor_advices[index].children.length + 1;
  1047. var doctor_advice = {
  1048. delivery_way: this.doctor_advices[index].delivery_way,
  1049. execution_frequency:
  1050. this.doctor_advices[index].execution_frequency,
  1051. groupno: this.doctor_advices[index].groupno,
  1052. id: this.doctor_advices[index].id,
  1053. parent_id: this.doctor_advices[index].parent_id,
  1054. children: this.doctor_advices[index].children,
  1055. remark: this.doctor_advices[index].remark,
  1056. };
  1057. doctor_advice["isShow"] = 1;
  1058. this.doctor_advices.splice(new_advice_index, 0, doctor_advice);
  1059. // this.doctor_advices.push(doctor_advice)
  1060. }
  1061. }
  1062. for (let index = 0; index < this.doctor_advices.length; index++) {
  1063. const advice = this.doctor_advices[index];
  1064. if (advice.groupno == 0) {
  1065. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1066. if (advice.parent_id > 0) {
  1067. if (this.advice_groups.length > 0) {
  1068. var parent_group =
  1069. this.advice_groups[this.advice_groups.length - 1];
  1070. if (parent_group.advices.length > 0) {
  1071. if (parent_group.advices[0].id == advice.parent_id) {
  1072. parent_group.advices.push(advice);
  1073. }
  1074. }
  1075. }
  1076. continue;
  1077. } else {
  1078. if (group.group_no > 0) {
  1079. this.advice_groups.push(group);
  1080. group = this.newAdviceGroupObject();
  1081. }
  1082. initGroupBlock(group, advice);
  1083. group.advices.push(advice);
  1084. this.advice_groups.push(group);
  1085. group = this.newAdviceGroupObject();
  1086. continue;
  1087. }
  1088. }
  1089. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1090. this.advice_groups.push(group);
  1091. group = this.newAdviceGroupObject();
  1092. }
  1093. if (group.group_no == 0) {
  1094. initGroupBlock(group, advice);
  1095. }
  1096. if (group.group_no == advice.groupno) {
  1097. group.advices.push(advice);
  1098. }
  1099. }
  1100. if (group.group_no > 0) {
  1101. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1102. this.advice_groups.push(group);
  1103. }
  1104. }
  1105. console.log(this.advice_groups);
  1106. } else {
  1107. this.loading = false;
  1108. this.$message.error("请求数据失败");
  1109. return false;
  1110. }
  1111. });
  1112. },
  1113. bloodAccessParOperaName(id) {
  1114. console.log(this.bloodAccessParOpera)
  1115. if (id in this.bloodAccessParOpera) {
  1116. return this.bloodAccessParOpera[id].name;
  1117. }
  1118. return "";
  1119. },
  1120. dialysateFormulationName(id) {
  1121. if (id in this.dialysateFormulationOptions) {
  1122. return this.dialysateFormulationOptions[id].name;
  1123. }
  1124. return "";
  1125. },
  1126. getAge: function (val) {
  1127. if (val.birthday != 0) {
  1128. return jsGetAge(val.birth, "-");
  1129. } else {
  1130. return "";
  1131. }
  1132. },
  1133. newAdviceGroupObject: function () {
  1134. return Object.assign(
  1135. {},
  1136. {
  1137. group_no: 0,
  1138. // advice_doctor: 0,
  1139. // start_time: 0,
  1140. advices: [],
  1141. // exec_staff: 0,
  1142. // exec_time: 0,
  1143. // checker: 0,
  1144. }
  1145. );
  1146. },
  1147. },
  1148. watch: {
  1149. "patientInfo.gender": function () {
  1150. if (this.patientInfo.gender == 1) {
  1151. this.patientInfo_gender_1 = true;
  1152. this.patientInfo_gender_2 = false;
  1153. } else if (this.patientInfo.gender == 2) {
  1154. this.patientInfo_gender_2 = true;
  1155. this.patientInfo_gender_1 = false;
  1156. } else {
  1157. this.patientInfo_gender_2 = false;
  1158. this.patientInfo_gender_1 = false;
  1159. }
  1160. },
  1161. "patientInfo.source": function () {
  1162. if (this.patientInfo.source == 1) {
  1163. this.patientInfo_source_1 = true;
  1164. this.patientInfo_source_2 = false;
  1165. } else if (this.patientInfo.source == 2) {
  1166. this.patientInfo_source_2 = true;
  1167. this.patientInfo_source_1 = false;
  1168. } else {
  1169. this.patientInfo_source_2 = false;
  1170. this.patientInfo_source_1 = false;
  1171. }
  1172. },
  1173. },
  1174. created() {
  1175. this.way_arr = getDataConfig("hemodialysis", "way");
  1176. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  1177. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  1178. this.posture_arr = getDataConfig("hemodialysis", "posture");
  1179. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  1180. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  1181. this.intake_arr = getDataConfig("hemodialysis", "intake");
  1182. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  1183. var bloodAccessParOpera = getDataConfig(
  1184. "hemodialysis",
  1185. "vascular_access_desc"
  1186. );
  1187. var xtuser = this.$store.getters.xt_user;
  1188. this.orgname = xtuser.org.org_name;
  1189. // this.orgname = "遂溪方济医院";
  1190. this.modeOptions = this.$store.getters.treatment_mode;
  1191. this.replacementWays = this.$store.getters.replacement_ways;
  1192. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  1193. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  1194. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1195. var bloodAccessParOpera = getDataConfig(
  1196. "hemodialysis",
  1197. "vascular_access_desc"
  1198. );
  1199. for (var key in bloodAccessParOpera) {
  1200. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1201. bloodAccessParOpera[key];
  1202. }
  1203. var dialysateFormulationOptions = getDataConfig(
  1204. "hemodialysis",
  1205. "dialysate_formulation"
  1206. );
  1207. for (var key in dialysateFormulationOptions) {
  1208. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1209. dialysateFormulationOptions[key];
  1210. }
  1211. const xtdate = this.$route.query && this.$route.query.xtdate;
  1212. const xtno = this.$route.query && this.$route.query.xtno;
  1213. if (
  1214. typeof xtdate === "string" &&
  1215. xtdate.length > 0 &&
  1216. typeof xtno === "string" &&
  1217. xtno.length > 0
  1218. ) {
  1219. this.queryParams.xtdate = xtdate;
  1220. this.queryParams.xtno = xtno;
  1221. this.getDialysisRecord();
  1222. } else {
  1223. this.$message.error("参数不齐");
  1224. return false;
  1225. }
  1226. },
  1227. };
  1228. </script>
  1229. <style>
  1230. .dialysis-print-order {
  1231. width: 890px;
  1232. margin: 0 auto;
  1233. }
  1234. .dialysis-print-order .order-yy-name {
  1235. margin: auto;
  1236. text-align: center;
  1237. font-size: 20px;
  1238. letter-spacing: 5px;
  1239. }
  1240. .dialysis-print-order .order-title {
  1241. margin: auto;
  1242. font-weight: 600;
  1243. text-align: center;
  1244. font-size: 22px;
  1245. padding: 10px 20px 20px 20px;
  1246. }
  1247. .dialysis-print-order .table-box {
  1248. width: 100%;
  1249. line-height: 23px;
  1250. font-size: 14px;
  1251. }
  1252. .dialysis-print-order .print-table {
  1253. width: 100%;
  1254. text-align: left;
  1255. border-collapse: collapse;
  1256. line-height: 40px;
  1257. font-size: 14px;
  1258. }
  1259. .dialysis-print-order .print-table-2 {
  1260. width: 100%;
  1261. text-align: left;
  1262. border-collapse: collapse;
  1263. line-height: 38px;
  1264. font-size: 14px;
  1265. }
  1266. .print-table-3 {
  1267. text-align: center;
  1268. width: 300px;
  1269. border-collapse: inherit;
  1270. height: 129px !important;
  1271. border: none;
  1272. }
  1273. .print-table-3 .tr_3 {
  1274. border-bottom: 1px solid;
  1275. }
  1276. .print-table-3 .td_3_1 {
  1277. border-right: 1px solid;
  1278. }
  1279. .print-table-3 .td_3_2 {
  1280. border-right: 1px solid;
  1281. }
  1282. .print-table-3 .td_3 {
  1283. border-right: 1px solid;
  1284. }
  1285. .dialysis-print-order .print-table-no {
  1286. width: 100%;
  1287. text-align: left;
  1288. border-collapse: collapse;
  1289. font-size: 14px;
  1290. }
  1291. .dialysis-print-order .under-line {
  1292. border-bottom: 1px solid #999;
  1293. width: 95%;
  1294. text-align: center;
  1295. margin-left: 2px;
  1296. }
  1297. .dialysis-print-order .title-box {
  1298. text-align: center;
  1299. font-size: 16px;
  1300. }
  1301. .dialysis-print-order .radio-lebel-box {
  1302. font-weight: 400;
  1303. cursor: pointer;
  1304. }
  1305. .dialysis-print-order .radio-no {
  1306. opacity: 0;
  1307. outline: none;
  1308. position: absolute;
  1309. margin: 0;
  1310. width: 0;
  1311. height: 0;
  1312. z-index: -1;
  1313. }
  1314. .dialysis-print-order .radio-inner {
  1315. white-space: nowrap;
  1316. cursor: pointer;
  1317. outline: none;
  1318. display: inline-block;
  1319. line-height: 1;
  1320. position: relative;
  1321. vertical-align: middle;
  1322. }
  1323. .dialysis-print-order .radio-fang {
  1324. display: inline-block;
  1325. position: relative;
  1326. border: 1px solid #000;
  1327. box-sizing: border-box;
  1328. width: 14px;
  1329. height: 14px;
  1330. background-color: #fff;
  1331. z-index: 1;
  1332. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1333. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1334. }
  1335. .dialysis-print-order .is-checked-radio::after {
  1336. content: "√";
  1337. font-size: 15px;
  1338. }
  1339. .dialysis-print-order .print-table-no tr td {
  1340. padding: 8px 5px;
  1341. line-height: 25px;
  1342. }
  1343. .print-table {
  1344. text-align: center;
  1345. }
  1346. .dialysis-print-order .print-table tr td {
  1347. padding: 0px 0px;
  1348. /*line-height: 25px;*/
  1349. }
  1350. .es-img {
  1351. height: 25px;
  1352. }
  1353. .advice-name {
  1354. text-align: left;
  1355. }
  1356. .advice-children {
  1357. display: flex;
  1358. }
  1359. .title-box-pro {
  1360. border: 0 #fff;
  1361. line-height: 25px;
  1362. height: 25px;
  1363. text-align: left;
  1364. padding-left: 10px !important;
  1365. }
  1366. .title-box-pro-tr {
  1367. border: 0 #fff;
  1368. }
  1369. .text-align-left {
  1370. text-align: left !important;
  1371. padding-left: 10px !important;
  1372. font-size: 14px !important;
  1373. line-height: 25px;
  1374. }
  1375. .print-table-tr-new td {
  1376. line-height: 20px !important;
  1377. }
  1378. .border-top-solid {
  1379. border: solid 1px #000;
  1380. }
  1381. .print-template-two tr {
  1382. line-height: 30px;
  1383. }
  1384. .list_table {
  1385. display: flex;
  1386. justify-content: flex-start;
  1387. }
  1388. .list_table div {
  1389. text-align: left;
  1390. flex: 1;
  1391. }
  1392. .print-table-list {
  1393. width: 100%;
  1394. text-align: left;
  1395. border-collapse: collapse;
  1396. line-height: 40px;
  1397. font-size: 14px;
  1398. border-spacing: 0;
  1399. }
  1400. .print-table-list tr td {
  1401. padding: 0;
  1402. border: 1px solid #dcdfe6;
  1403. }
  1404. </style>