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

dialysisPrintOrderTwelve.vue 99KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <div id="dialysis-print-box">
  5. <div class="dialysis-print-order">
  6. <div class="order-yy-name">{{ orgname }}</div>
  7. <div class="order-title">血液透析治疗记录单</div>
  8. <table class="print-table" border="1" style="margin-top: 10px">
  9. <tbody>
  10. <tr style="text-align: center">
  11. <td colspan="11" style="margin-left: 15px">
  12. 治疗日期:{{ queryParams.xtdate ? queryParams.xtdate : "/" }}
  13. </td>
  14. </tr>
  15. <tr>
  16. <td
  17. width="120"
  18. style="padding-left: 5px; border: none; text-align: left"
  19. >
  20. <div>
  21. 姓 名:&nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
  22. </div>
  23. </td>
  24. <td width="120" style="border: none; text-align: left">
  25. 性 别:
  26. <span>{{ patientInfo.gender ? patientInfo.gender : "/" }}</span>
  27. </td>
  28. <td width="120" style="border: none; text-align: left">
  29. 年 龄:
  30. <span>{{ getAge(patientInfo) }}</span>
  31. </td>
  32. <td width="50" style="border: none">身 高:</td>
  33. <td width="80" style="border: none; text-align: left">
  34. <span>
  35. &nbsp;&nbsp;&nbsp;{{
  36. patientInfo.height ? patientInfo.height : ""
  37. }}&nbsp;&nbsp;&nbsp;
  38. </span>
  39. cm
  40. </td>
  41. <td width="50" style="border: none">科 室:</td>
  42. <td width="140" style="border: none; text-align: left">
  43. <div>
  44. <label-box
  45. showValue="门诊"
  46. :isChecked="
  47. receiverTreatmentAccess.condition == 2 ? true : false
  48. "
  49. ></label-box>
  50. <label-box
  51. showValue="住院"
  52. :isChecked="
  53. receiverTreatmentAccess.condition == 1 ? true : false
  54. "
  55. ></label-box>
  56. </div>
  57. </td>
  58. <td width="80" style="border: none">透析机号:</td>
  59. <td width="80" style="border: none; text-align: left">
  60. <div v-if="org_id == 10081 ||org_id == 9675">
  61. {{
  62. patientInfo.DialysisSchedule.device_zone.name
  63. ? patientInfo.DialysisSchedule.device_zone.name
  64. : " "
  65. }}
  66. {{
  67. dialysisOrder &&
  68. dialysisOrder.DeviceNumber &&
  69. dialysisOrder.DeviceNumber.number.length > 0
  70. ? dialysisOrder.DeviceNumber.number
  71. : patientInfo.DialysisSchedule.device_number.number
  72. }}
  73. </div>
  74. <div v-else>
  75. {{
  76. dialysisOrder &&
  77. dialysisOrder.DeviceNumber &&
  78. dialysisOrder.DeviceNumber.number.length > 0
  79. ? dialysisOrder.DeviceNumber.number
  80. : patientInfo.DialysisSchedule.device_number.number
  81. }}
  82. </div>
  83. </td>
  84. <!-- <td width="1"></td> -->
  85. <td width="50" style="border: none">床位号:</td>
  86. <td width="80" style="border-left: none; text-align: left">
  87. <div>{{ patientInfo.dialysis_no }}</div>
  88. </td>
  89. </tr>
  90. <tr style="text-align: left">
  91. <td colspan="11" style="padding-left: 5px">
  92. 上机前病情:{{
  93. predialysis.symptom_before_dialysis
  94. ? predialysis.symptom_before_dialysis
  95. : ""
  96. }}
  97. </td>
  98. </tr>
  99. <tr style="text-align: left">
  100. <td colspan="8" style="padding-left: 5px">
  101. 治疗方式:&nbsp;
  102. <label-box
  103. :isChecked="prescription.mode_id == 1 ? true : false"
  104. showValue="HD"
  105. ></label-box
  106. >&nbsp;
  107. <label-box
  108. :isChecked="prescription.mode_id == 2 ? true : false"
  109. showValue="HDF"
  110. ></label-box
  111. >&nbsp; (
  112. <label-box
  113. :isChecked="
  114. prescription.mode_id == 2 && prescription.displace_liqui_part == 1 ? true : false
  115. "
  116. showValue="前稀释"
  117. ></label-box>
  118. <label-box
  119. :isChecked="
  120. prescription.mode_id == 2 && prescription.displace_liqui_part == 2 ? true : false
  121. "
  122. showValue="后稀释"
  123. ></label-box>
  124. <span>
  125. ,置换量
  126. <span style="width: 50px; display: inline-block">
  127. {{
  128. prescription.displace_liqui_value && prescription.mode_id == 2
  129. ? prescription.displace_liqui_value
  130. : "/"
  131. }}
  132. </span>
  133. L
  134. </span>
  135. <label-box
  136. :isChecked="prescription.mode_id > 2 ? true : false"
  137. showValue="其他:"
  138. ></label-box>
  139. <span v-if="prescription.mode_id == 3">{{
  140. prescription.mode_id == 3 ? "HD+HP" : ""
  141. }}</span>
  142. <span v-if="prescription.mode_id == 4">{{
  143. prescription.mode_id == 4 ? "HP" : ""
  144. }}</span>
  145. <span v-if="prescription.mode_id == 5">{{
  146. prescription.mode_id == 5 ? "HF" : ""
  147. }}</span>
  148. <span v-if="prescription.mode_id == 6">{{
  149. prescription.mode_id == 6 ? "SCUF" : ""
  150. }}</span>
  151. <span v-if="prescription.mode_id == 7">{{
  152. prescription.mode_id == 7 ? "IUF" : ""
  153. }}</span>
  154. <span v-if="prescription.mode_id == 8">{{
  155. prescription.mode_id == 8 ? "HFHD" : ""
  156. }}</span>
  157. <span v-if="prescription.mode_id == 9">{{
  158. prescription.mode_id == 9 ? "HFHD+HP" : ""
  159. }}</span>
  160. <span v-if="prescription.mode_id == 10">{{
  161. prescription.mode_id == 10 ? "PHF" : ""
  162. }}</span>
  163. <span v-if="prescription.mode_id == 11">{{
  164. prescription.mode_id == 11 ? "HFR" : ""
  165. }}</span>
  166. <span v-if="prescription.mode_id == 12">{{
  167. prescription.mode_id == 12 ? "HDF+HP" : ""
  168. }}</span>
  169. <span v-if="prescription.mode_id == 13">{{
  170. prescription.mode_id == 13 ? "CRRT" : ""
  171. }}</span>
  172. <span v-if="prescription.mode_id == 14">{{
  173. prescription.mode_id == 14 ? "腹水回输" : ""
  174. }}</span>
  175. </td>
  176. <td
  177. colspan="3"
  178. style="border-left: 1px solid #000; padding-left: 5px"
  179. >
  180. 治疗时间:
  181. <span>
  182. &nbsp;{{
  183. prescription.dialysis_duration_hour
  184. ? prescription.dialysis_duration_hour
  185. : "0"
  186. }}小时
  187. {{
  188. prescription.dialysis_duration_minute
  189. ? prescription.dialysis_duration_minute
  190. : "0"
  191. }}分钟
  192. </span>
  193. </td>
  194. </tr>
  195. <tr style="text-align: left">
  196. <td colspan="11" style="padding-left: 5px">
  197. 治疗抗凝:
  198. <label-box
  199. :isChecked="
  200. prescription.anticoagulant == '低分子肝素钙'
  201. ? true
  202. : prescription.anticoagulant == '低分子肝素钠'
  203. ? true
  204. :prescription.anticoagulant == '低分子肝素'
  205. ? true
  206. : false
  207. "
  208. showValue="低分子肝素:"
  209. ></label-box>
  210. <span style="width: 50px; display: inline-block">
  211. {{
  212. prescription.anticoagulant_zongliang &&
  213. (prescription.anticoagulant == "低分子肝素钙" ||
  214. prescription.anticoagulant == "低分子肝素钠"||
  215. prescription.anticoagulant == "低分子肝素")
  216. ? prescription.anticoagulant_zongliang
  217. : ""
  218. }} </span
  219. >iu&nbsp;
  220. <label-box
  221. :isChecked="
  222. prescription.anticoagulant == '普通肝素' ? true : false
  223. "
  224. showValue="普通肝素:"
  225. ></label-box>
  226. 首剂:
  227. <span style="width: 35px; display: inline-block">
  228. {{
  229. prescription.anticoagulant_shouji &&
  230. prescription.anticoagulant != "低分子肝素钙" &&
  231. prescription.anticoagulant != "低分子肝素钠" &&
  232. prescription.anticoagulant == "普通肝素"
  233. ? prescription.anticoagulant_shouji
  234. : ""
  235. }}
  236. </span>
  237. <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
  238. <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
  239. <span v-if="prescription.anticoagulant == '低分子肝素'"
  240. >iu</span
  241. >
  242. <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
  243. <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
  244. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  245. >iu</span
  246. >
  247. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  248. >iu</span
  249. >&nbsp; 追加:
  250. <span style="width: 35px; display: inline-block">
  251. {{
  252. prescription.anticoagulant_weichi &&
  253. prescription.anticoagulant == "普通肝素"
  254. ? prescription.anticoagulant_weichi
  255. : ""
  256. }}
  257. </span>
  258. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  259. >ml/h</span
  260. >
  261. <span v-if="prescription.anticoagulant == '阿加曲班'"
  262. >mg/h</span
  263. >
  264. <span v-if="prescription.anticoagulant == '低分子肝素'"
  265. >iu/h</span
  266. >
  267. <span v-if="prescription.anticoagulant == '普通肝素'"
  268. >iu/h</span
  269. >
  270. <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
  271. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  272. >iu/h</span
  273. >
  274. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  275. >iu/h</span
  276. >
  277. &nbsp; 总量:
  278. <span style="width: 50px; display: inline-block">
  279. {{
  280. prescription.anticoagulant_zongliang &&
  281. prescription.anticoagulant == "普通肝素"
  282. ? prescription.anticoagulant_zongliang
  283. : ""
  284. }}
  285. </span>
  286. <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
  287. <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
  288. <span v-if="prescription.anticoagulant == '低分子肝素'"
  289. >iu</span
  290. >
  291. <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
  292. <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
  293. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  294. >iu</span
  295. >
  296. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  297. >iu</span
  298. >
  299. &nbsp;
  300. <label-box
  301. :isChecked="
  302. prescription.anticoagulant == '无肝素' ? true : false
  303. "
  304. showValue="无肝素:"
  305. ></label-box>
  306. <label-box
  307. :isChecked="
  308. prescription.anticoagulant == '枸橼酸钠' ? true : false
  309. "
  310. showValue="枸橼酸"
  311. ></label-box>
  312. </td>
  313. </tr>
  314. <tr style="text-align: left">
  315. <td colspan="7" style="padding-left: 5px">
  316. 处方脱水量:
  317. <span style="width: 50px; display: inline-block">
  318. {{
  319. prescription.target_ultrafiltration
  320. ? prescription.target_ultrafiltration
  321. : ""
  322. }} </span
  323. >L; 透析液流量:
  324. <span style="width: 50px; display: inline-block">
  325. {{
  326. prescription.dialysate_flow
  327. ? prescription.dialysate_flow
  328. : ""
  329. }} </span
  330. >ml/min;
  331. </td>
  332. <td
  333. colspan="4"
  334. style="
  335. padding-left: 5px;
  336. border-left: 1px solid #000;
  337. padding-left: 5px;
  338. "
  339. >
  340. 医师签名:
  341. <span v-if="setAdminUserES(prescription.creater) == ''">
  342. {{ getAdminUser(prescription.creater) }}
  343. </span>
  344. <img
  345. class="es-img"
  346. :src="setAdminUserES(prescription.creater)"
  347. alt
  348. srcset
  349. v-else
  350. />
  351. </td>
  352. </tr>
  353. <tr style="text-align: left">
  354. <td colspan="2" style="padding-left: 5px">
  355. 透析机:{{
  356. predialysis.machine_type ? predialysis.machine_type : ""
  357. }}
  358. </td>
  359. <td
  360. colspan="2"
  361. style="padding-left: 5px; border-left: 1px solid #000"
  362. >
  363. 透析(滤)器:{{
  364. prescription.dialyzer_perfusion_apparatus
  365. ? prescription.dialyzer_perfusion_apparatus
  366. : ""
  367. }}
  368. </td>
  369. <td
  370. colspan="7"
  371. style="padding-left: 5px; border-left: 1px solid #000"
  372. >
  373. 透析液:钾:
  374. <span style="width: 40px; display: inline-block">
  375. {{ prescription.kalium ? prescription.kalium : "" }} </span
  376. >mmol/L&nbsp; 钙:
  377. <span style="width: 40px; display: inline-block">
  378. {{ prescription.calcium ? prescription.calcium : "" }} </span
  379. >mmol/L&nbsp; 碳酸氢根:
  380. <span style="width: 40px; display: inline-block">
  381. {{
  382. prescription.bicarbonate ? prescription.bicarbonate : ""
  383. }} </span
  384. >mmol/L
  385. </td>
  386. </tr>
  387. <tr style="text-align: left">
  388. <td colspan="11" style="padding-left: 5px">
  389. 血管通路:
  390. <label-box
  391. :isChecked="
  392. predialysis.blood_access_part_opera_name == '内瘘'
  393. ? true
  394. : false
  395. "
  396. showValue="内瘘"
  397. ></label-box
  398. >&nbsp;
  399. <label-box
  400. :isChecked="
  401. predialysis.blood_access_part_opera_name.indexOf(
  402. '长期静脉导管'
  403. ) > -1
  404. ? true
  405. : false
  406. "
  407. showValue="长期静脉导管"
  408. ></label-box
  409. >&nbsp;
  410. <label-box
  411. :isChecked="
  412. predialysis.blood_access_part_opera_name.indexOf(
  413. '颈内静脉'
  414. ) > -1
  415. ? true
  416. : false
  417. "
  418. showValue="临时颈内静脉导管"
  419. ></label-box
  420. >&nbsp;
  421. <label-box
  422. :isChecked="
  423. predialysis.blood_access_part_opera_name.indexOf('股静脉') >
  424. -1
  425. ? true
  426. : false
  427. "
  428. showValue="临时股静脉导管"
  429. ></label-box
  430. >&nbsp;
  431. <label-box
  432. :isChecked="
  433. predialysis.blood_access_part_opera_name.indexOf(
  434. '人造血管'
  435. ) > -1
  436. ? true
  437. : predialysis.blood_access_part_opera_name.indexOf(
  438. '移植血管'
  439. ) > -1
  440. ? true
  441. : false
  442. "
  443. showValue="其他"
  444. ></label-box
  445. >&nbsp;
  446. <span style="width: 50px; display: inline-block"></span>
  447. 穿刺者:
  448. <span style="width: 50px; display: inline-block">
  449. <span
  450. v-if="
  451. setAdminUserES(
  452. dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
  453. ) == ''
  454. "
  455. >
  456. {{
  457. getAdminUser(
  458. dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
  459. )
  460. }}
  461. </span>
  462. <img
  463. class="es-img"
  464. :src="
  465. setAdminUserES(
  466. dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
  467. )
  468. "
  469. alt
  470. srcset
  471. v-else
  472. />
  473. </span>
  474. </td>
  475. </tr>
  476. </tbody>
  477. </table>
  478. <!-- <table class="print-table" border="1" style="margin-top:10px">
  479. <tbody>
  480. <tr>
  481. <td>
  482. <table class="table-box">
  483. <tr>
  484. <td style="text-align:left;margin-left:15px">
  485. 病情评估:
  486. <span class="under-line"
  487. >&nbsp;{{
  488. receiverTreatmentAccess.sick_condition
  489. ? receiverTreatmentAccess.sick_condition
  490. : "/"
  491. }}</span
  492. >
  493. </td>
  494. <td style="text-align:left;margin-left:15px">
  495. 入科方式:
  496. <span class="under-line"
  497. >&nbsp;
  498. {{
  499. receiverTreatmentAccess.way
  500. ? receiverTreatmentAccess.way
  501. : "/"
  502. }}
  503. </span>
  504. </td>
  505. <td style="text-align:left;margin-left:15px" colspan="2">
  506. 透析次数:
  507. <span class="under-line">&nbsp;{{ total }}</span>
  508. </td>
  509. </tr>
  510. <tr>
  511. <td style="text-align:left;margin-left:15px">
  512. 净化治疗方式:
  513. <span class="under-line"
  514. >&nbsp;{{
  515. prescription.mode ? prescription.mode : "/"
  516. }}</span
  517. >
  518. </td>
  519. <td style="text-align:left;margin-left:15px">
  520. 透析器型号:
  521. <span
  522. class="under-line"
  523. v-if="
  524. prescription.mode_id != 3 &&
  525. prescription.mode_id != 4 &&
  526. prescription.mode_id != 12 &&
  527. prescription.mode_id != 9
  528. "
  529. >&nbsp;{{
  530. prescription.dialyzer_perfusion_apparatus
  531. ? prescription.dialyzer_perfusion_apparatus
  532. : "/"
  533. }}</span
  534. >
  535. <span class="under-line" v-else>
  536. /
  537. </span>
  538. </td>
  539. <td style="text-align:left;margin-left:15px">
  540. 灌流器型号:
  541. <span
  542. class="under-line"
  543. v-if="
  544. prescription.mode_id == 3 ||
  545. prescription.mode_id == 4 ||
  546. prescription.mode_id == 9 ||
  547. prescription.mode_id == 12
  548. "
  549. >&nbsp;{{
  550. prescription.dialyzer_perfusion_apparatus
  551. ? prescription.dialyzer_perfusion_apparatus
  552. : "/"
  553. }}</span
  554. >
  555. <span v-else class="under-line">
  556. /
  557. </span>
  558. </td>
  559. <td style="text-align:left;margin-left:15px">
  560. 血管通路:
  561. <span class="under-line"
  562. >&nbsp;{{
  563. predialysis.blood_access_part_opera_name
  564. ? predialysis.blood_access_part_opera_name
  565. : "/"
  566. }}</span
  567. >
  568. </td>
  569. </tr>
  570. <tr>
  571. <td style="text-align:left;margin-left:15px">
  572. 干体重:
  573. <span class="under-line"
  574. >&nbsp;{{
  575. predialysis.dry_weight ? predialysis.dry_weight : "0"
  576. }}</span
  577. >kg
  578. </td>
  579. <td style="text-align:left;margin-left:15px">
  580. 透前体重:
  581. <span class="under-line"
  582. >&nbsp;{{
  583. predialysis.weight_before
  584. ? predialysis.weight_before
  585. : "0"
  586. }}</span
  587. >kg
  588. </td>
  589. <td style="text-align:left;margin-left:15px">
  590. 预脱:
  591. <span class="under-line"
  592. >&nbsp;{{
  593. prescription.target_ultrafiltration
  594. ? prescription.target_ultrafiltration
  595. : "0"
  596. }}</span
  597. >L
  598. </td>
  599. <td style="text-align:left;margin-left:15px">
  600. 治疗时间:
  601. <span class="under-line"
  602. >&nbsp;{{
  603. prescription.dialysis_duration_hour
  604. ? prescription.dialysis_duration_hour
  605. : "0"
  606. }}小时{{
  607. prescription.dialysis_duration_minute
  608. ? prescription.dialysis_duration_minute
  609. : "0"
  610. }}分钟</span
  611. >
  612. </td>
  613. </tr>
  614. <tr>
  615. <td style="text-align:left;margin-left:15px">
  616. 血流量:
  617. <span class="under-line"
  618. >&nbsp;{{
  619. prescription.blood_flow_volume
  620. ? prescription.blood_flow_volume
  621. : "0"
  622. }}</span
  623. >ml/min
  624. </td>
  625. <td style="text-align:left;margin-left:15px">
  626. 置换方式:
  627. <span class="under-line"
  628. >&nbsp;
  629. {{
  630. getDisplaceLiquiPart(prescription.displace_liqui_part)
  631. }}</span
  632. >
  633. </td>
  634. <td style="text-align:left;margin-left:15px">
  635. 置换液总量:
  636. <span class="under-line"
  637. >&nbsp;{{
  638. prescription.displace_liqui_value
  639. ? prescription.displace_liqui_value
  640. : "0"
  641. }}</span
  642. >
  643. </td>
  644. </tr>
  645. <tr>
  646. <td style="text-align:left;margin-left:15px">
  647. 抗凝剂:
  648. <span class="under-line"
  649. >&nbsp;{{
  650. prescription.anticoagulant
  651. ? prescription.anticoagulant
  652. : "/"
  653. }}</span
  654. >
  655. </td>
  656. <td style="text-align:left;margin-left:15px">
  657. 首剂:<span class="under-line">{{
  658. prescription.anticoagulant_shouji
  659. ? prescription.anticoagulant_shouji
  660. : "0"
  661. }}</span>
  662. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  663. >mg</span
  664. >
  665. <span v-if="prescription.anticoagulant == '阿加曲班'"
  666. >mg</span
  667. >
  668. <span v-if="prescription.anticoagulant == '低分子肝素'"
  669. >iu</span
  670. >
  671. <span v-if="prescription.anticoagulant == '普通肝素'"
  672. >iu</span
  673. >
  674. <span v-if="prescription.anticoagulant == '无肝素'"
  675. >mg</span
  676. >
  677. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  678. >iu</span
  679. >
  680. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  681. >iu</span
  682. >&nbsp;
  683. </td>
  684. <td style="text-align:left;margin-left:15px">
  685. 维持:
  686. <span class="under-line"
  687. >&nbsp;{{
  688. prescription.anticoagulant_weichi
  689. ? prescription.anticoagulant_weichi
  690. : "0"
  691. }}</span
  692. >
  693. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  694. >ml/h</span
  695. >
  696. <span v-if="prescription.anticoagulant == '阿加曲班'"
  697. >mg/h</span
  698. >
  699. <span v-if="prescription.anticoagulant == '低分子肝素'"
  700. >iu/h</span
  701. >
  702. <span v-if="prescription.anticoagulant == '普通肝素'"
  703. >iu/h</span
  704. >
  705. <span v-if="prescription.anticoagulant == '无肝素'"
  706. >mg/h</span
  707. >
  708. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  709. >iu/h</span
  710. >
  711. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  712. >iu/h</span
  713. >
  714. </td>
  715. <td style="text-align:left;margin-left:15px">
  716. 总量:<span class="under-line"
  717. >&nbsp;{{
  718. prescription.anticoagulant_zongliang
  719. ? prescription.anticoagulant_zongliang
  720. : "0"
  721. }}</span
  722. >
  723. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  724. >mg</span
  725. >
  726. <span v-if="prescription.anticoagulant == '阿加曲班'"
  727. >mg</span
  728. >
  729. <span v-if="prescription.anticoagulant == '低分子肝素'"
  730. >iu</span
  731. >
  732. <span v-if="prescription.anticoagulant == '普通肝素'"
  733. >iu</span
  734. >
  735. <span v-if="prescription.anticoagulant == '无肝素'"
  736. >mg</span
  737. >
  738. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  739. >iu</span
  740. >
  741. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  742. >iu</span
  743. >
  744. </td>
  745. </tr>
  746. <tr>
  747. <td style="text-align:left;margin-left:15px">
  748. 透析液(mmol/L):
  749. <span
  750. class="under-line"
  751. v-if="prescription.dialysate_formulation == 0"
  752. >&nbsp; 常规(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
  753. </span>
  754. <span
  755. class="under-line"
  756. v-if="prescription.dialysate_formulation == 1"
  757. >&nbsp; 常规(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  758. prescription.calcium
  759. }}&nbsp;,钠:{{ prescription.sodium }})
  760. </span>
  761. <span
  762. class="under-line"
  763. v-if="prescription.dialysate_formulation == 2"
  764. >&nbsp; 低钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  765. prescription.calcium
  766. }}&nbsp;,钠:{{ prescription.sodium }})
  767. </span>
  768. <span
  769. class="under-line"
  770. v-if="prescription.dialysate_formulation == 3"
  771. >&nbsp; 高钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  772. prescription.calcium
  773. }}&nbsp;,钠:{{ prescription.sodium }})
  774. </span>
  775. <span
  776. class="under-line"
  777. v-if="prescription.dialysate_formulation == 4"
  778. >&nbsp; 低钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  779. prescription.calcium
  780. }}&nbsp;,钠:{{ prescription.sodium }})
  781. </span>
  782. <span
  783. class="under-line"
  784. v-if="prescription.dialysate_formulation == 5"
  785. >&nbsp; 高钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  786. prescription.calcium
  787. }}&nbsp;,钠:{{ prescription.sodium }})
  788. </span>
  789. </td>
  790. <td style="text-align:left;margin-left:15px">
  791. 并发症:
  792. <span class="under-line">{{
  793. predialysis.complication ? predialysis.complication : "/"
  794. }}</span>
  795. </td>
  796. <td style="text-align:left;margin-left:15px">
  797. 医生签名:
  798. <span class="under-line" v-if="doctorForm.url == ''"
  799. >&nbsp;{{
  800. doctorForm.doctor ? doctorForm.doctor : "/"
  801. }}</span
  802. >
  803. <span class="under-line" v-if="doctorForm.url != ''">
  804. <img style="height:40px" :src="doctorForm.url" />
  805. </span>
  806. </td>
  807. </tr>
  808. </table>
  809. </td>
  810. </tr>
  811. </tbody>
  812. </table>-->
  813. <table class="print-table" border="1">
  814. <tr style="text-align: center">
  815. <td colspan="15" style="margin-left: 15px; font-size: 20px">
  816. 治 疗 过 程 记 录
  817. </td>
  818. </tr>
  819. <tr>
  820. <td style="width: 60px" rowspan="2">时间</td>
  821. <td colspan="5">透析参数</td>
  822. <td colspan="5">生命体征</td>
  823. <td colspan="2">治疗中病情变化</td>
  824. <td style="width: 80px" rowspan="2">护士签名</td>
  825. </tr>
  826. <tr>
  827. <th style="width: 70px">
  828. <p style="height: 20px; line-height: 20px">TMP</p>
  829. <p style="height: 20px; line-height: 20px">mmHg</p>
  830. </th>
  831. <th style="width: 70px">
  832. <p style="height: 20px; line-height: 20px">静脉压</p>
  833. <p style="height: 20px; line-height: 20px">mmHg</p>
  834. </th>
  835. <th style="width: 70px">
  836. <p style="height: 20px; line-height: 20px">血流量</p>
  837. <p style="height: 20px; line-height: 20px">ml/min</p>
  838. </th>
  839. <th style="width: 70px">
  840. <p style="height: 20px; line-height: 20px">脱水量</p>
  841. <p style="height: 20px; line-height: 20px">ml</p>
  842. </th>
  843. <th style="width: 70px">
  844. <p style="height: 20px; line-height: 20px">KT/V</p>
  845. <p style="height: 20px; line-height: 20px">&nbsp;</p>
  846. </th>
  847. <th style="width: 40px">
  848. <p style="height: 20px; line-height: 20px">T</p>
  849. <p style="height: 20px; line-height: 20px">℃</p>
  850. </th>
  851. <th style="width: 50px">
  852. <p style="height: 20px; line-height: 20px">HR</p>
  853. <p style="height: 20px; line-height: 20px">bpm</p>
  854. </th>
  855. <th style="width: 50px">
  856. <p style="height: 20px; line-height: 20px">R</p>
  857. <p style="height: 20px; line-height: 20px">bpm</p>
  858. </th>
  859. <th style="width: 90px">
  860. <p style="height: 20px; line-height: 20px">BP</p>
  861. <p style="height: 20px; line-height: 20px">mmHg</p>
  862. </th>
  863. <th style="width: 50px">
  864. <p style="height: 20px; line-height: 20px">
  865. Spo
  866. <sub>2</sub>
  867. </p>
  868. <p style="height: 20px; line-height: 20px">%</p>
  869. </th>
  870. <th style="width: 333px">
  871. <p style="height: 20px; line-height: 20px">
  872. 记&nbsp;&nbsp;&nbsp;&nbsp;录
  873. </p>
  874. </th>
  875. <!-- <td style="width:80px">护士签名</td> -->
  876. </tr>
  877. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  878. <td style="min-width: 60px; height: 30px">
  879. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  880. </td>
  881. <td>
  882. <span v-if="getTime(monitor.operate_time) != ''">
  883. {{
  884. monitor.transmembrane_pressure
  885. ? monitor.transmembrane_pressure
  886. : "0"
  887. }}
  888. </span>
  889. </td>
  890. <td>
  891. <span v-if="getTime(monitor.operate_time) != ''">
  892. {{ monitor.venous_pressure ? monitor.venous_pressure : "0" }}
  893. </span>
  894. </td>
  895. <td>
  896. <span v-if="getTime(monitor.operate_time) != ''">
  897. {{
  898. monitor.blood_flow_volume ? monitor.blood_flow_volume : "0"
  899. }}
  900. </span>
  901. </td>
  902. <td>
  903. <span v-if="getTime(monitor.operate_time) != ''">
  904. {{
  905. monitor.ultrafiltration_volume
  906. ? monitor.ultrafiltration_volume
  907. : "0"
  908. }}
  909. </span>
  910. </td>
  911. <td>
  912. <span v-if="getTime(monitor.operate_time) != ''">
  913. {{
  914. monitor.ktv
  915. ? monitor.ktv
  916. : ""
  917. }}
  918. </span>
  919. </td>
  920. <td>
  921. <span v-if="getTime(monitor.operate_time) != ''">
  922. {{ monitor.temperature ? monitor.temperature : "0" }}
  923. </span>
  924. </td>
  925. <td>
  926. <span v-if="getTime(monitor.operate_time) != ''">
  927. {{ monitor.pulse_frequency ? monitor.pulse_frequency : "0" }}
  928. </span>
  929. </td>
  930. <td>
  931. <span v-if="getTime(monitor.operate_time) != ''">
  932. {{ monitor.breathing_rate ? monitor.breathing_rate : "0" }}
  933. </span>
  934. </td>
  935. <td>
  936. <span v-if="getTime(monitor.operate_time) != ''">
  937. {{
  938. monitor.systolic_blood_pressure
  939. ? monitor.systolic_blood_pressure
  940. : ""
  941. }}/
  942. {{
  943. monitor.diastolic_blood_pressure
  944. ? monitor.diastolic_blood_pressure
  945. : ""
  946. }}
  947. </span>
  948. </td>
  949. <td>
  950. <span v-if="getTime(monitor.operate_time) != ''">
  951. {{
  952. monitor.blood_oxygen_saturation
  953. ? monitor.blood_oxygen_saturation
  954. : "0"
  955. }}
  956. </span>
  957. </td>
  958. <td>
  959. <span v-if="monitor.symptom || monitor.dispose || monitor.result">
  960. {{
  961. monitor.symptom +
  962. "," +
  963. monitor.dispose +
  964. "," +
  965. monitor.result
  966. }}
  967. </span>
  968. </td>
  969. <td
  970. width="0"
  971. style="border: none; visibility: hidden; padding: 0"
  972. ></td>
  973. <td>
  974. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  975. {{ getAdminUser(monitor.monitoring_nurse) }}
  976. </span>
  977. <img
  978. class="es-img"
  979. :src="setAdminUserES(monitor.monitoring_nurse)"
  980. alt
  981. srcset
  982. v-else
  983. />
  984. </td>
  985. </tr>
  986. </table>
  987. <table class="print-table" border="1">
  988. <tbody>
  989. <tr>
  990. <td style="width: 130px; height: 40px">时间</td>
  991. <td colspan="5" style="width: 560px; height: 40px">
  992. 医嘱执行记录
  993. </td>
  994. <td colspan="2" style="width: 110px; height: 40px">医生签名</td>
  995. <td colspan="2" style="width: 108px; height: 40px">执行</td>
  996. <td colspan="3" style="width: 130px; height: 40px">执行时间</td>
  997. <!-- <td style="width:60px;height:60px">
  998. <p style="height:20px;line-height:20px">核对</p>
  999. </td>
  1000. <td style="width:60px;height:40px">
  1001. <p style="height:20px;line-height:20px">上次透后体重</p>
  1002. </td>
  1003. <td style="width:60px;height:40px">
  1004. {{
  1005. assessmentafter.weight_after
  1006. ? assessmentafter.weight_after
  1007. : "0"
  1008. }}kg
  1009. </td>-->
  1010. </tr>
  1011. <tr
  1012. v-for="(advice, advice_index) in tableAdvice"
  1013. style="height: 30px"
  1014. >
  1015. <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  1016. <td colspan="5" style="height: 30px">
  1017. <span v-if="advice.parent_id > 0">---></span>
  1018. <span>{{ advice.advice_name }}</span>
  1019. <span v-if="advice && advice.advice_desc"
  1020. >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
  1021. >
  1022. <span v-if="advice.prescribing_number">
  1023. &nbsp;&nbsp; {{ advice.prescribing_number
  1024. }}{{ advice.prescribing_number_unit }}
  1025. </span>
  1026. <span v-if="advice.single_dose != 0"
  1027. >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span
  1028. >
  1029. <span v-if="advice.parent_id == 0">
  1030. {{ advice.delivery_way }}
  1031. </span>
  1032. <span v-if="advice.parent_id == 0">
  1033. {{ advice.execution_frequency }}
  1034. </span>
  1035. </td>
  1036. <td colspan="2">
  1037. <span v-if="setAdminUserES(advice.advice_doctor) == ''">
  1038. {{ getAdminUser(advice.advice_doctor) }}
  1039. </span>
  1040. <img
  1041. style="height: 30px"
  1042. :src="setAdminUserES(advice.advice_doctor)"
  1043. alt
  1044. srcset
  1045. v-else
  1046. />
  1047. </td>
  1048. <td colspan="2" style="height: 40px">
  1049. <span v-if="setAdminUserES(advice.execution_staff) == ''">
  1050. {{ getAdminUser(advice.execution_staff) }}
  1051. </span>
  1052. <img
  1053. style="height: 30px"
  1054. :src="setAdminUserES(advice.execution_staff)"
  1055. alt
  1056. srcset
  1057. v-else
  1058. />
  1059. </td>
  1060. <td colspan="3" style="width: 130px">
  1061. {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
  1062. </td>
  1063. <!-- <td>
  1064. <span v-if="setAdminUserES(advice.checker) == ''">{{
  1065. getAdminUser(advice.checker)
  1066. }}</span>
  1067. <img
  1068. style="height:40px;"
  1069. :src="setAdminUserES(advice.checker)"
  1070. alt=""
  1071. srcset=""
  1072. v-else
  1073. />
  1074. </td>
  1075. <td v-if="advice_index === 0">透前体重:</td>
  1076. <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
  1077. <td v-if="advice_index === 1">体重增加量:</td>
  1078. <td v-if="advice_index === 1"></td>
  1079. <td v-if="advice_index === 2">干体重(DW):</td>
  1080. <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
  1081. <td v-if="advice_index === 3">较干体重增加量:</td>
  1082. <td v-if="advice_index === 3">
  1083. {{
  1084. (
  1085. predialysis.weight_before -
  1086. predialysis.dry_weight -
  1087. predialysis.additional_weight
  1088. ).toFixed(2)
  1089. }}kg
  1090. </td>
  1091. <td v-if="advice_index === 4">净脱水量:</td>
  1092. <td v-if="advice_index === 4">
  1093. {{ afterdialysis.actual_ultrafiltration }}L
  1094. </td>
  1095. <td v-if="advice_index === 5">透后体重:</td>
  1096. <td v-if="advice_index === 5">
  1097. {{ afterdialysis.weight_after }}kg
  1098. </td>-->
  1099. </tr>
  1100. </tbody>
  1101. </table>
  1102. <table class="print-table" border="1">
  1103. <tbody>
  1104. <tr>
  1105. <td width="100" style="padding-left: 5px; border: none">
  1106. 透前体重:
  1107. </td>
  1108. <td
  1109. width="120"
  1110. style="border: none; text-align: left; border: none"
  1111. >
  1112. <div>
  1113. &nbsp;
  1114. <span style="width: 70px; display: inline-block">
  1115. {{
  1116. predialysis.weight_before ? predialysis.weight_before : ""
  1117. }} </span
  1118. >Kg
  1119. </div>
  1120. </td>
  1121. <!-- <td width="100" style="border:none;"></td> -->
  1122. <td
  1123. width="100"
  1124. style="
  1125. border: none;
  1126. border-left: 1px solid #000;
  1127. padding-left: 5px;
  1128. "
  1129. >
  1130. 干体重:
  1131. </td>
  1132. <td width="180" style="text-align: left; border: none">
  1133. <div>
  1134. <span
  1135. style="width: 70px; display: inline-block; border: none"
  1136. >
  1137. {{
  1138. predialysis.dry_weight ? predialysis.dry_weight : ""
  1139. }} </span
  1140. >Kg
  1141. </div>
  1142. </td>
  1143. <!-- <td width="10" style="border:none;"></td> -->
  1144. <td
  1145. width="100"
  1146. style="
  1147. border: none;
  1148. border-left: 1px solid #000;
  1149. padding-left: 5px;
  1150. "
  1151. >
  1152. 实际脱水量:
  1153. </td>
  1154. <td width="130" style="text-align: left; border: none">
  1155. <div>
  1156. <span style="width: 70px; display: inline-block">
  1157. {{
  1158. afterdialysis.actual_ultrafiltration
  1159. ? afterdialysis.actual_ultrafiltration
  1160. : "/"
  1161. }}
  1162. </span>
  1163. <span>L</span>
  1164. </div>
  1165. </td>
  1166. <td
  1167. width="100"
  1168. style="
  1169. border: none;
  1170. border-left: 1px solid #000;
  1171. padding-left: 5px;
  1172. "
  1173. >
  1174. 透后体重:
  1175. </td>
  1176. <td width="180" style="text-align: left; border: none">
  1177. <div>
  1178. <span style="width: 70px; display: inline-block">
  1179. {{
  1180. afterdialysis.weight_after
  1181. ? parseFloat(afterdialysis.weight_after).toFixed(1)
  1182. : ""
  1183. }} </span
  1184. >Kg
  1185. </div>
  1186. </td>
  1187. </tr>
  1188. </tbody>
  1189. </table>
  1190. <table class="print-table" border="1">
  1191. <tbody>
  1192. <tr>
  1193. <td
  1194. width="100"
  1195. style="
  1196. padding-left: 5px;
  1197. border: none;
  1198. border-right: 1px solid #000;
  1199. "
  1200. >
  1201. 透后评估
  1202. </td>
  1203. <td width="100" style="border: none; padding-left: 5px">
  1204. 透析器凝血:
  1205. </td>
  1206. <td width="100" style="text-align: left; border: none">
  1207. <div>
  1208. <span
  1209. style="width: 100px; display: inline-block; border: none"
  1210. >
  1211. {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
  1212. </span>
  1213. </div>
  1214. </td>
  1215. <!-- <td width="10" style="border:none;"></td> -->
  1216. <td width="70" style="border: none; padding-left: 5px">内瘘:</td>
  1217. <td
  1218. width="200"
  1219. style="text-align: left; border: none; line-height: 30px"
  1220. >
  1221. <div>
  1222. <span style="width: 200px; display: inline-block">
  1223. {{
  1224. afterdialysis.internal_fistula
  1225. ? afterdialysis.internal_fistula
  1226. : ""
  1227. }}
  1228. </span>
  1229. </div>
  1230. </td>
  1231. <td width="70" style="border: none; padding-left: 5px">导管:</td>
  1232. <td width="180" style="text-align: left; border: none">
  1233. <div>
  1234. <span style="width: 180px; display: inline-block">
  1235. {{ afterdialysis.catheter ? afterdialysis.catheter : "" }}
  1236. </span>
  1237. </div>
  1238. </td>
  1239. </tr>
  1240. </tbody>
  1241. </table>
  1242. <table class="print-table" border="1">
  1243. <!-- <td>
  1244. <table class="table-box" style="table-layout:fixed">
  1245. <tr>
  1246. <td style="text-align:left;margin-left:15px;width:25%">
  1247. 上机时间:
  1248. <span class="under-line">
  1249. {{
  1250. getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
  1251. ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
  1252. : "0"
  1253. }}</span
  1254. >
  1255. </td>
  1256. <td style="text-align:left;margin-left:15px;width:25%">
  1257. 下机时间:
  1258. <span class="under-line">{{
  1259. getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
  1260. ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
  1261. : "0"
  1262. }}</span>
  1263. </td>
  1264. <td style="text-align:left;margin-left:15px;width:25%">
  1265. 上机护士:
  1266. <span class="under-line" v-if="orderForm.url === ''">{{
  1267. orderForm.start_nurse ? orderForm.start_nurse : "/"
  1268. }}</span>
  1269. <span class="under-line" v-if="orderForm.url !== ''"
  1270. ><img :src="orderForm.url" style="height:40px;"
  1271. /></span>
  1272. </td>
  1273. <td style="text-align:left;margin-left:15px;width:25%">
  1274. 核对护士:
  1275. <span class="under-line"
  1276. >&nbsp;
  1277. <span
  1278. v-if="
  1279. setAdminUserES(check == null ? 0 : check.modifier) == ''
  1280. "
  1281. >{{
  1282. getAdminUser(check == null ? 0 : check.modifier)
  1283. ? getAdminUser(check == null ? 0 : check.modifier)
  1284. : "/"
  1285. }}</span
  1286. >
  1287. <img
  1288. class="es-img"
  1289. :src="setAdminUserES(check == null ? 0 : check.modifier)"
  1290. alt=""
  1291. srcset=""
  1292. style="height:40px"
  1293. v-else
  1294. />
  1295. </span>
  1296. </td>
  1297. </tr>
  1298. <tr>
  1299. <td style="text-align:left;margin-left:15px;width:25%">
  1300. 下机护士:
  1301. <span class="under-line" v-if="finshForm.url === ''"
  1302. >&nbsp;{{
  1303. finshForm.finish_nurse ? finshForm.finish_nurse : "/"
  1304. }}</span
  1305. >
  1306. <span class="under-line" v-if="finshForm.url !== ''"
  1307. >&nbsp;<img :src="finshForm.url" style="height:40px;"
  1308. /></span>
  1309. </td>
  1310. <td style="text-align:left;margin-left:15px;width:25%">
  1311. 下机血压:
  1312. <span class="under-line"
  1313. >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
  1314. afterdialysis.diastolic_blood_pressure
  1315. }}&nbsp;mmHg</span
  1316. >
  1317. </td>
  1318. <td style="text-align:left;margin-left:15px;width:25%">
  1319. 实际治疗时间:
  1320. <span class="under-line"
  1321. >&nbsp;
  1322. {{
  1323. afterdialysis.actual_treatment_hour
  1324. ? afterdialysis.actual_treatment_hour
  1325. : "0"
  1326. }}小时{{
  1327. afterdialysis.actual_treatment_minute
  1328. ? afterdialysis.actual_treatment_minute
  1329. : "0"
  1330. }}分钟
  1331. </span>
  1332. </td>
  1333. <td style="text-align:left;margin-left:15px;width:25%">
  1334. 实际超滤量:
  1335. <span class="under-line"
  1336. >&nbsp;{{
  1337. afterdialysis.actual_ultrafiltration
  1338. ? afterdialysis.actual_ultrafiltration
  1339. : "0"
  1340. }}&nbsp;L</span
  1341. >
  1342. </td>
  1343. </tr>
  1344. <tr>
  1345. <td style="text-align:left;margin-left:15px">
  1346. 拔针后穿刺点渗血:
  1347. <span
  1348. class="under-line"
  1349. v-if="afterdialysis.puncture_point_oozing_blood === 0"
  1350. >&nbsp;/</span
  1351. >
  1352. <span
  1353. class="under-line"
  1354. v-if="afterdialysis.puncture_point_oozing_blood === 1"
  1355. >&nbsp;有</span
  1356. >
  1357. <span
  1358. class="under-line"
  1359. v-if="afterdialysis.puncture_point_oozing_blood === 2"
  1360. >&nbsp;无</span
  1361. >
  1362. </td>
  1363. <td style="text-align:left;margin-left:15px">
  1364. 穿刺处血肿:
  1365. <span
  1366. class="under-line"
  1367. v-if="afterdialysis.puncture_point_haematoma === 0"
  1368. >&nbsp;/</span
  1369. >
  1370. <span
  1371. class="under-line"
  1372. v-if="afterdialysis.puncture_point_haematoma === 1"
  1373. >&nbsp;有</span
  1374. >
  1375. <span
  1376. class="under-line"
  1377. v-if="afterdialysis.puncture_point_haematoma === 2"
  1378. >&nbsp;无</span
  1379. >
  1380. </td>
  1381. <td :colspan="2" style="text-align:left;margin-left:15px">
  1382. 压迫后内瘘震颤:
  1383. <label-box
  1384. :isChecked="
  1385. predialysis.internal_fistula.indexOf('震颤-存在') > -1
  1386. ? true
  1387. : false
  1388. "
  1389. showValue="存在"
  1390. ></label-box>
  1391. &nbsp;
  1392. <label-box
  1393. :isChecked="
  1394. predialysis.internal_fistula.indexOf('震颤-减弱') > -1
  1395. ? true
  1396. : false
  1397. "
  1398. showValue="减弱"
  1399. ></label-box>
  1400. &nbsp;
  1401. <label-box
  1402. :isChecked="
  1403. predialysis.internal_fistula.indexOf('震颤-无') > -1
  1404. ? true
  1405. : false
  1406. "
  1407. showValue="无"
  1408. ></label-box>
  1409. </td>
  1410. <td width="10"></td>
  1411. </tr>
  1412. <tr>
  1413. <td style="text-align:left;margin-left:15px;" colspan="2">
  1414. 并发症:
  1415. <span class="under-line"
  1416. >&nbsp;{{ afterdialysis.complication }}</span
  1417. >
  1418. </td>
  1419. <td style="text-align:left;margin-left:15px" colspan="2">
  1420. 透析器凝血:
  1421. <span class="under-line">{{
  1422. afterdialysis.cruor ? afterdialysis.cruor : "/"
  1423. }}</span>
  1424. </td>
  1425. </tr>
  1426. </table>
  1427. <table class="table-box">
  1428. <tr>
  1429. <td style="text-align:left;margin-left:15px">
  1430. 治疗小结:
  1431. <span class="under-line"
  1432. >&nbsp;{{ summary.dialysis_summary }}</span
  1433. >
  1434. </td>
  1435. </tr>
  1436. </table>
  1437. </td>-->
  1438. <tr style="height: 100px; text-align: left; border: none">
  1439. <td style="padding-left: 5px; border: none">
  1440. 治疗小结:{{
  1441. summary.dialysis_summary ? summary.dialysis_summary : ""
  1442. }}
  1443. </td>
  1444. </tr>
  1445. <tr style="height: 40px">
  1446. <td
  1447. rowspan="11"
  1448. style="border: none; text-align: right; height: 40px"
  1449. >
  1450. 医生签名
  1451. <span
  1452. style="display: inline-block; width: 100px; text-align: left"
  1453. >
  1454. &nbsp;
  1455. <span v-if="doctorForm.url === ''">{{
  1456. doctorForm.doctor
  1457. }}</span>
  1458. <span v-if="doctorForm.url !== ''">
  1459. <img class="es-img" :src="doctorForm.url" />
  1460. </span>
  1461. </span>
  1462. 核对护士
  1463. <span
  1464. style="display: inline-block; width: 100px; text-align: left"
  1465. >
  1466. &nbsp;
  1467. <p v-if="doctor_advices.length > 0">
  1468. <span
  1469. v-if="
  1470. setAdminUserES(doctor_advices[0].checker) == ''
  1471. "
  1472. >
  1473. {{ getAdminUser(doctor_advices[0].checker) }}
  1474. </span>
  1475. <img
  1476. class="es-img"
  1477. :src="setAdminUserES(doctor_advices[0].checker)"
  1478. alt
  1479. srcset
  1480. v-else
  1481. />
  1482. </p>
  1483. </span>
  1484. 护士签名
  1485. <span
  1486. style="display: inline-block; width: 100px; text-align: left"
  1487. >
  1488. &nbsp;
  1489. <p v-if="doctor_advices.length > 0">
  1490. <span
  1491. v-if="
  1492. setAdminUserES(doctor_advices[0].execution_staff) == ''
  1493. "
  1494. >
  1495. {{ getAdminUser(doctor_advices[0].execution_staff) }}
  1496. </span>
  1497. <img
  1498. class="es-img"
  1499. :src="setAdminUserES(doctor_advices[0].execution_staff)"
  1500. alt
  1501. srcset
  1502. v-else
  1503. />
  1504. </p>
  1505. </span>
  1506. </td>
  1507. </tr>
  1508. </table>
  1509. <!-- <div>
  1510. 注:透析器凝血评价标准:"0级"&nbsp;无凝血或数条纤维束凝血,"Ⅰ级"&nbsp;少于10%纤维凝血,"Ⅱ级"&nbsp;少于50%纤维凝血,"Ⅲ级"&nbsp;大于50%纤维凝血
  1511. </div>-->
  1512. </div>
  1513. </div>
  1514. </div>
  1515. </template>
  1516. <script>
  1517. import { getDialysisRecord } from "@/api/dialysis";
  1518. import { getDataConfig } from "@/utils/data";
  1519. import { jsGetAge, uParseTime } from "@/utils/tools";
  1520. import LabelBox from "../printItem/LabelBox";
  1521. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1522. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1523. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1524. import print from "print-js";
  1525. export default {
  1526. name: "dialysisPrintOrderOne",
  1527. components: {
  1528. // DialysisPrintOrderOne,
  1529. // DialysisPrintOrderTwo,
  1530. LabelBox,
  1531. BreadCrumb,
  1532. },
  1533. data() {
  1534. return {
  1535. way_arr: [],
  1536. consciousness_arr: [],
  1537. appetite_arr: [],
  1538. posture_arr: [],
  1539. sick_condition_arr: [],
  1540. precaution_arr: [],
  1541. intake_arr: [],
  1542. nutrition_arr: [],
  1543. crumbs: [
  1544. { path: false, name: "透析管理" },
  1545. { path: false, name: "打印单" },
  1546. ],
  1547. operators: [],
  1548. adminUser: [],
  1549. check: {},
  1550. dialysisOrder: {
  1551. DeviceNumber: [],
  1552. },
  1553. Order: {},
  1554. operatorMaps: {},
  1555. complications: [
  1556. "低血压",
  1557. "高血压",
  1558. "心律失常",
  1559. "头晕",
  1560. "头痛",
  1561. "呕吐",
  1562. "抽搐",
  1563. "出血",
  1564. "心衰",
  1565. "腹痛",
  1566. "无",
  1567. ],
  1568. jilurow: 0,
  1569. advice_jilurow: 0,
  1570. loading: false,
  1571. orgname: "",
  1572. patientInfo_gender_1: false,
  1573. patientInfo_gender_2: false,
  1574. patientInfo_source_2: false,
  1575. patientInfo_source_1: false,
  1576. modeOptions: {},
  1577. replacementWays: [],
  1578. perfusionApparatus: [],
  1579. anticoagulantsConfit: {},
  1580. bloodAccessParOpera: {},
  1581. dialysateFormulationOptions: {},
  1582. org_id: 0,
  1583. queryParams: {
  1584. xtdate: "",
  1585. xtno: "",
  1586. },
  1587. patientInfo: {
  1588. birth: "",
  1589. age: "",
  1590. DialysisSchedule: {
  1591. device_number: { number: "" },
  1592. device_zone: { name: "" },
  1593. },
  1594. gender: 0,
  1595. },
  1596. predialysis: {
  1597. score: "",
  1598. internal_fistula: "",
  1599. internal_fistula_skin: "",
  1600. catheter: "",
  1601. blood_access_part_opera_name: "",
  1602. },
  1603. afterdialysis: {
  1604. complications_index: "",
  1605. },
  1606. prescription: {
  1607. dialysate_formulation_name: "",
  1608. device: {},
  1609. },
  1610. advices: [],
  1611. users: [],
  1612. monitors: [],
  1613. summary: {},
  1614. receiverTreatmentAccess: {},
  1615. org_template_info: {},
  1616. isShowZero: false,
  1617. doctor_advices: [],
  1618. advice_groups: [],
  1619. AlPanel: {
  1620. id: 0,
  1621. name: "",
  1622. type: 1,
  1623. shouji: 2,
  1624. weichi: 2,
  1625. zongliang: 2,
  1626. gaimingcheng: -1,
  1627. gaijiliang: -1,
  1628. shouji_unit: "mg",
  1629. weichi_unit: "mg/h",
  1630. zongliang_unit: "mg",
  1631. gaimingcheng_unit: "",
  1632. gaijiliang_unit: "",
  1633. },
  1634. total: "",
  1635. doctorForm: {
  1636. doctor: "",
  1637. url: "",
  1638. },
  1639. dialysisDoctor: {
  1640. doctor: "",
  1641. url: "",
  1642. },
  1643. tableAdvice: [],
  1644. assessmentafter: {},
  1645. orderForm: {
  1646. start_nurse: "",
  1647. url: "",
  1648. },
  1649. finshForm: {
  1650. finish_nurse: "",
  1651. url: "",
  1652. },
  1653. displaceLiquiPartOptions: [],
  1654. };
  1655. },
  1656. methods: {
  1657. checkData() {
  1658. if (this.receiverTreatmentAccess.condition == 0) {
  1659. this.$message.error("门诊或住院未填");
  1660. } else if (this.predialysis.symptom_before_dialysis == "") {
  1661. this.$message.error("上机前病情未填");
  1662. } else if (this.prescription.mode_id == "") {
  1663. this.$message.error("治疗方式未填");
  1664. } else if (
  1665. this.prescription.displace_liqui_part == 0 &&
  1666. (this.prescription.mode_id == 2 ||
  1667. this.prescription.mode_id == 5 ||
  1668. this.prescription.mode_id == 12)
  1669. ) {
  1670. this.$message.error("置换方式未填");
  1671. } else if (
  1672. this.prescription.displace_liqui_value == 0 &&
  1673. (this.prescription.mode_id == 2 ||
  1674. this.prescription.mode_id == 5 ||
  1675. this.prescription.mode_id == 12)
  1676. ) {
  1677. this.$message.error("置换量未填");
  1678. } else if (
  1679. this.prescription.dialysis_duration_hour == 0 &&
  1680. this.prescription.dialysis_duration_minute == 0
  1681. ) {
  1682. this.$message.error("透析时间未填");
  1683. } else if (this.prescription.anticoagulant == 0) {
  1684. this.$message.error("治疗抗凝未填");
  1685. } else if (this.prescription.dialysate_flow == 0) {
  1686. this.$message.error("透析液流量未填");
  1687. } else if (this.prescription.target_ultrafiltration == 0) {
  1688. this.$message.error("处方脱水量未填");
  1689. } else if (this.prescription.creater == 0) {
  1690. this.$message.error("医生签名未填");
  1691. } else if (this.predialysis.machine_type == "") {
  1692. this.$message.error("透析机未填");
  1693. } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
  1694. this.$message.error("透析(滤)器未填");
  1695. } else if (this.prescription.calcium == 0) {
  1696. this.$message.error("钙未填");
  1697. } else if (this.prescription.kalium == 0) {
  1698. this.$message.error("钾未填");
  1699. } else if (this.prescription.bicarbonate == 0) {
  1700. this.$message.error("碳酸氢根未填");
  1701. } else if (this.predialysis.blood_access_part_opera_name == "") {
  1702. this.$message.error("血管通路未填");
  1703. } else if (
  1704. this.dialysisOrder == null ||
  1705. this.dialysisOrder.puncture_nurse <= 0
  1706. ) {
  1707. this.$message.error("穿刺者未填");
  1708. } else if (this.predialysis.weight_before == 0) {
  1709. this.$message.error("透前体重未填");
  1710. } else if (this.predialysis.dry_weight == 0) {
  1711. this.$message.error("干体重未填");
  1712. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  1713. this.$message.error("实际脱水量未填");
  1714. } else if (this.afterdialysis.weight_after == 0) {
  1715. this.$message.error("透后体重未填");
  1716. } else if (this.afterdialysis.cruor == "") {
  1717. this.$message.error("透析器凝血未填");
  1718. } else if (this.afterdialysis.internal_fistula == "") {
  1719. this.$message.error("透后内瘘未填");
  1720. } else if (this.afterdialysis.catheter == "") {
  1721. this.$message.error("透后导管未填");
  1722. } else if (this.summary.dialysis_summary == "") {
  1723. this.$message.error("透析小结未填");
  1724. } else if (this.doctorForm.doctor == "") {
  1725. this.$message.error("医生签名未填");
  1726. } else if (
  1727. this.doctor_advices.length > 0 &&
  1728. this.doctor_advices[0].execution_staff != this.check.modifier &&
  1729. this.check.modifier == 0
  1730. ) {
  1731. this.$message.error("核对护士未填");
  1732. } else if (
  1733. this.doctor_advices.length > 0 &&
  1734. this.doctor_advices[0].execution_staff != this.check.creater &&
  1735. this.check.creater == 0
  1736. ) {
  1737. this.$message.error("核对护士未填");
  1738. } else if (
  1739. this.doctor_advices.length > 0 &&
  1740. this.doctor_advices[0].execution_staff == 0
  1741. ) {
  1742. this.$message.error("护士签名未填");
  1743. } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
  1744. let num = 0;
  1745. if (this.monitors.length > 0) {
  1746. this.monitors.map((item) => {
  1747. if (item.id > 0 && item.operate_time) {
  1748. this.users.map((it) => {
  1749. if (it.id == item.monitoring_nurse) {
  1750. if (it.user_type == 2) {
  1751. num++;
  1752. this.$message.closeAll();
  1753. this.$message.error("存在不是护士保存的监测");
  1754. }
  1755. }
  1756. });
  1757. }
  1758. });
  1759. }
  1760. if (this.tableAdvice.length > 0) {
  1761. this.tableAdvice.map((item) => {
  1762. if (item.id > 0 && (item.created_time || item.start_time)) {
  1763. this.users.map((it) => {
  1764. if (it.id == item.advice_doctor) {
  1765. if (it.user_type == 3) {
  1766. num++;
  1767. this.$message.closeAll();
  1768. this.$message.error("存在不是医生保存的医嘱");
  1769. } else if (
  1770. it.id == item.execution_staff &&
  1771. item.execution_staff > 0
  1772. ) {
  1773. if (it.user_type == 2) {
  1774. num++;
  1775. this.$message.closeAll();
  1776. this.$message.error("存在不是护士执行的医嘱");
  1777. }
  1778. }
  1779. } else if (
  1780. it.id == item.execution_staff &&
  1781. item.execution_staff > 0
  1782. ) {
  1783. if (it.user_type == 2) {
  1784. num++;
  1785. this.$message.closeAll();
  1786. this.$message.error("存在不是护士执行的医嘱");
  1787. }
  1788. }
  1789. });
  1790. }
  1791. });
  1792. }
  1793. if (num == 0) {
  1794. this.$message.success("核对完成");
  1795. }
  1796. } else {
  1797. this.$message.success("核对完成");
  1798. }
  1799. },
  1800. getDisplaceLiquiPart: function (val) {
  1801. let displace_liqui_part_name = "/";
  1802. const displace_liqui_part = this.displaceLiquiPartOptions;
  1803. for (let i = 0; i < displace_liqui_part.length; i++) {
  1804. if (displace_liqui_part[i].id == val) {
  1805. displace_liqui_part_name = displace_liqui_part[i].name;
  1806. }
  1807. }
  1808. return displace_liqui_part_name;
  1809. },
  1810. getAdminUser(id) {
  1811. if (id == 0) {
  1812. return "";
  1813. }
  1814. if (id == undefined) {
  1815. return "";
  1816. }
  1817. for (let i = 0; i < this.adminUser.length; i++) {
  1818. if (this.adminUser[i].id == id) {
  1819. return this.adminUser[i].name;
  1820. }
  1821. }
  1822. },
  1823. getTime(value, temp) {
  1824. if (value == 0) {
  1825. return "";
  1826. }
  1827. if (value != undefined) {
  1828. return uParseTime(value, temp);
  1829. }
  1830. return "";
  1831. },
  1832. printThisPage() {
  1833. var ptime = Math.round(new Date().getTime() / 1000);
  1834. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1835. const style =
  1836. '@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;}';
  1837. if (this.org_template_info.template_id == 1) {
  1838. printJS({
  1839. printable: "dialysis-print-box",
  1840. type: "html",
  1841. style: style,
  1842. scanStyles: false,
  1843. });
  1844. } else if (
  1845. this.org_template_info.template_id == 2 ||
  1846. this.org_template_info.template_id == 0
  1847. ) {
  1848. printJS({
  1849. printable: "dialysis-print-box-1",
  1850. type: "html",
  1851. style: style,
  1852. scanStyles: false,
  1853. });
  1854. }
  1855. },
  1856. getNumber() {
  1857. if (this.dialysisOrder != null) {
  1858. return (
  1859. this.patientInfo.DialysisSchedule.device_zone.name +
  1860. this.dialysisOrder.DeviceNumber.number
  1861. );
  1862. } else {
  1863. return (
  1864. this.patientInfo.DialysisSchedule.device_zone.name +
  1865. this.patientInfo.DialysisSchedule.device_number.number
  1866. );
  1867. }
  1868. },
  1869. getXuserName(id) {
  1870. if (id <= 0) {
  1871. return "";
  1872. }
  1873. var name = "";
  1874. if (this.users == null || typeof this.users.length === "undefined") {
  1875. return name;
  1876. }
  1877. var leng = this.users.length;
  1878. if (leng == 0) {
  1879. return name;
  1880. }
  1881. for (let index = 0; index < leng; index++) {
  1882. if (this.users[index].id == id) {
  1883. name = this.users[index].name;
  1884. break;
  1885. }
  1886. }
  1887. return name;
  1888. },
  1889. setAdminUserES(id) {
  1890. if (id == 0) {
  1891. return "";
  1892. }
  1893. if (id in this.operatorMaps) {
  1894. return this.operatorMaps[id].url;
  1895. } else {
  1896. return "";
  1897. }
  1898. },
  1899. modeName(mode_id) {
  1900. return typeof this.modeOptions[mode_id] !== "undefined" &&
  1901. typeof this.modeOptions[mode_id].name !== "undefined"
  1902. ? this.modeOptions[mode_id].name
  1903. : "";
  1904. },
  1905. getDialysisRecord() {
  1906. this.loading = true;
  1907. this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
  1908. getDialysisRecord(this.queryParams).then((response) => {
  1909. if (response.data.state === 1) {
  1910. this.total = response.data.data.total;
  1911. this.adminUser = response.data.data.users;
  1912. this.users = response.data.data.users;
  1913. var patientInfo = response.data.data.patientInfo;
  1914. console.log("烧腊店就拉萨讲道理看", patientInfo);
  1915. if (patientInfo.gender === 1) {
  1916. patientInfo.gender = "男";
  1917. }
  1918. if (patientInfo.gender === 2) {
  1919. patientInfo.gender = "女";
  1920. }
  1921. console.log("patientInfo", patientInfo);
  1922. this.patientInfo = patientInfo;
  1923. this.patientInfo.birth = uParseTime(
  1924. this.patientInfo.birthday,
  1925. "{y}-{m}-{d}"
  1926. );
  1927. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1928. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1929. this.patientInfo.first_dialysis_date = uParseTime(
  1930. response.data.data.patientInfo.first_dialysis_date,
  1931. "{y}-{m}-{d}"
  1932. );
  1933. } else {
  1934. this.patientInfo.first_dialysis_date = "";
  1935. }
  1936. this.check = response.data.data.check;
  1937. console.log("核对信息", this.check);
  1938. this.predialysis = response.data.data.PredialysisEvaluation;
  1939. console.log("透前评估", this.predialysis);
  1940. this.predialysis.blood_access_part_opera_name =
  1941. this.bloodAccessParOperaName(
  1942. this.predialysis.blood_access_part_opera_id
  1943. );
  1944. this.assessmentafter = response.data.data.assessmentAfterDislysis;
  1945. console.log("上次透后体重", this.assessmentafter);
  1946. var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
  1947. var tableAdvice = doctorAdevieInfo;
  1948. console.log("医生", tableAdvice);
  1949. if (tableAdvice.length === 0) {
  1950. var obj = { advice_name: "", start_time: "" };
  1951. var obj1 = { advice_name: "", start_time: "" };
  1952. var obj2 = { advice_name: "", start_time: "" };
  1953. var obj3 = { advice_name: "", start_time: "" };
  1954. var obj4 = { advice_name: "", start_time: "" };
  1955. var obj5 = { advice_name: "", start_time: "" };
  1956. tableAdvice.push(obj);
  1957. tableAdvice.push(obj1);
  1958. tableAdvice.push(obj2);
  1959. tableAdvice.push(obj3);
  1960. tableAdvice.push(obj4);
  1961. tableAdvice.push(obj5);
  1962. this.tableAdvice = tableAdvice;
  1963. }
  1964. if (tableAdvice.length === 1) {
  1965. var obj = { advice_name: "", start_time: "" };
  1966. var obj1 = { advice_name: "", start_time: "" };
  1967. var obj2 = { advice_name: "", start_time: "" };
  1968. var obj3 = { advice_name: "", start_time: "" };
  1969. var obj4 = { advice_name: "", start_time: "" };
  1970. tableAdvice.push(obj);
  1971. tableAdvice.push(obj1);
  1972. tableAdvice.push(obj2);
  1973. tableAdvice.push(obj3);
  1974. tableAdvice.push(obj4);
  1975. this.tableAdvice = tableAdvice;
  1976. }
  1977. if (tableAdvice.length === 2) {
  1978. var obj = { advice_name: "", start_time: "" };
  1979. var obj1 = { advice_name: "", start_time: "" };
  1980. var obj2 = { advice_name: "", start_time: "" };
  1981. var obj3 = { advice_name: "", start_time: "" };
  1982. tableAdvice.push(obj);
  1983. tableAdvice.push(obj1);
  1984. tableAdvice.push(obj2);
  1985. tableAdvice.push(obj3);
  1986. this.tableAdvice = tableAdvice;
  1987. }
  1988. if (tableAdvice.length === 3) {
  1989. // eslint-disable-next-line no-redeclare
  1990. var obj = { advice_name: "", start_time: "" };
  1991. // eslint-disable-next-line no-redeclare
  1992. var obj1 = { advice_name: "", start_time: "" };
  1993. // eslint-disable-next-line no-redeclare
  1994. var obj2 = { advice_name: "", start_time: "" };
  1995. // eslint-disable-next-line no-redeclare
  1996. tableAdvice.push(obj);
  1997. tableAdvice.push(obj1);
  1998. tableAdvice.push(obj2);
  1999. this.tableAdvice = tableAdvice;
  2000. }
  2001. if (tableAdvice.length === 4) {
  2002. // eslint-disable-next-line no-redeclare
  2003. var obj = { advice_name: "", start_time: "" };
  2004. // eslint-disable-next-line no-redeclare
  2005. var obj1 = { advice_name: "", start_time: "" };
  2006. // eslint-disable-next-line no-redeclare
  2007. tableAdvice.push(obj);
  2008. tableAdvice.push(obj1);
  2009. this.tableAdvice = tableAdvice;
  2010. }
  2011. if (tableAdvice.length === 5) {
  2012. // eslint-disable-next-line no-redeclare
  2013. var obj = { advice_name: "", start_time: "" };
  2014. // eslint-disable-next-line no-redeclare
  2015. var obj1 = { advice_name: "", start_time: "" };
  2016. tableAdvice.push(obj);
  2017. tableAdvice.push(obj1);
  2018. this.tableAdvice = tableAdvice;
  2019. }
  2020. if (tableAdvice.length >= 6) {
  2021. this.tableAdvice = tableAdvice;
  2022. }
  2023. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  2024. console.log("透后评估", this.afterdialysis);
  2025. this.operators = response.data.data.operators;
  2026. this.dialysisOrder =
  2027. response.data.data.dialysisOrder === null
  2028. ? null
  2029. : response.data.data.dialysisOrder;
  2030. if (this.operators.length > 0) {
  2031. var operatorsLen = this.operators.length;
  2032. for (var index = 0; index < operatorsLen; index++) {
  2033. this.$set(
  2034. this.operatorMaps,
  2035. this.operators[index].creator,
  2036. this.operators[index]
  2037. );
  2038. }
  2039. }
  2040. this.afterdialysis.txqnx = -1;
  2041. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  2042. this.afterdialysis.txqnx = 0;
  2043. }
  2044. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  2045. this.afterdialysis.txqnx = 1;
  2046. }
  2047. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  2048. this.afterdialysis.txqnx = 2;
  2049. }
  2050. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  2051. this.afterdialysis.txqnx = 3;
  2052. }
  2053. this.afterdialysis.complications =
  2054. this.afterdialysis.complication.split(",");
  2055. this.afterdialysis.complications_other = [];
  2056. this.afterdialysis.complications_index = [];
  2057. var acllen = this.afterdialysis.complications.length;
  2058. for (let index = 0; index < acllen; index++) {
  2059. if (
  2060. this.complications.indexOf(
  2061. this.afterdialysis.complications[index]
  2062. ) >= 0
  2063. ) {
  2064. this.afterdialysis.complications_index.push(
  2065. this.afterdialysis.complications[index]
  2066. );
  2067. } else if (
  2068. this.complications.indexOf(
  2069. this.afterdialysis.complications[index]
  2070. ) < 0 &&
  2071. this.afterdialysis.complications_other.indexOf(
  2072. this.afterdialysis.complications[index]
  2073. ) < 0
  2074. ) {
  2075. this.afterdialysis.complications_other.push(
  2076. this.afterdialysis.complications[index]
  2077. );
  2078. }
  2079. }
  2080. this.afterdialysis.complications_other =
  2081. this.afterdialysis.complications_other.join(",");
  2082. var doctorname = response.data.data.DoctorName;
  2083. //console.log("医师签名", doctorname);
  2084. this.doctorForm.doctor = doctorname.user_name;
  2085. this.doctorForm.url = doctorname.url;
  2086. var prescription = response.data.data.dialysisPrescription;
  2087. console.log("透析处方", prescription);
  2088. if (prescription.anticoagulant == 6) {
  2089. prescription.anticoagulant = "低分子肝素钙";
  2090. }
  2091. if (prescription.anticoagulant == 7) {
  2092. prescription.anticoagulant = "低分子肝素钠";
  2093. }
  2094. if (prescription.blood_access === 1) {
  2095. prescription.blood_access = "正常";
  2096. }
  2097. if (prescription.blood_access === 2) {
  2098. prescription.blood_access = "震颤";
  2099. }
  2100. if (prescription.blood_access === 3) {
  2101. prescription.blood_access = "堵塞";
  2102. }
  2103. if (prescription.blood_access === 4) {
  2104. prescription.blood_access = "血肿";
  2105. }
  2106. if (prescription.blood_access === 5) {
  2107. prescription.blood_access = "淤血";
  2108. }
  2109. if (prescription.blood_access === 6) {
  2110. prescription.blood_access = "感染";
  2111. }
  2112. if (prescription.blood_access === 7) {
  2113. prescription.blood_access = "自体内瘘";
  2114. }
  2115. if (prescription.blood_access === 8) {
  2116. prescription.blood_access = "人工血管内瘘";
  2117. }
  2118. if (prescription.replacement_way === 1) {
  2119. prescription.replacement_way = "前置换";
  2120. }
  2121. if (prescription.replacement_way === 2) {
  2122. prescription.replacement_way = "后置换";
  2123. }
  2124. if (prescription.replacement_way === 3) {
  2125. prescription.replacement_way = "中置换";
  2126. }
  2127. if (prescription.replacement_way === 4) {
  2128. prescription.replacement_way = "混合置换";
  2129. }
  2130. if (prescription.anticoagulant === 1) {
  2131. prescription.anticoagulant = "无肝素";
  2132. }
  2133. if (prescription.anticoagulant === 2) {
  2134. prescription.anticoagulant = "普通肝素";
  2135. }
  2136. if (prescription.anticoagulant === 3) {
  2137. prescription.anticoagulant = "低分子肝素";
  2138. }
  2139. if (prescription.anticoagulant === 4) {
  2140. prescription.anticoagulant = "阿加曲班";
  2141. }
  2142. if (prescription.anticoagulant === 5) {
  2143. prescription.anticoagulant = "枸橼酸钠";
  2144. }
  2145. this.prescription = prescription;
  2146. var receiverTreatmentAccess =
  2147. response.data.data.receiverTreatmentAccess;
  2148. if (receiverTreatmentAccess.sick_condition === 1) {
  2149. receiverTreatmentAccess.sick_condition = "一般";
  2150. }
  2151. if (receiverTreatmentAccess.sick_condition === 2) {
  2152. receiverTreatmentAccess.sick_condition = "严重";
  2153. }
  2154. if (receiverTreatmentAccess.sick_condition === 3) {
  2155. receiverTreatmentAccess.sick_condition = "危";
  2156. }
  2157. if (receiverTreatmentAccess.way === 1) {
  2158. receiverTreatmentAccess.way = "步行";
  2159. }
  2160. if (receiverTreatmentAccess.way === 2) {
  2161. receiverTreatmentAccess.way = "扶行";
  2162. }
  2163. if (receiverTreatmentAccess.way === 3) {
  2164. receiverTreatmentAccess.way = "轮椅";
  2165. }
  2166. if (receiverTreatmentAccess.way === 4) {
  2167. receiverTreatmentAccess.way = "平车";
  2168. }
  2169. console.log("接诊评估:", receiverTreatmentAccess);
  2170. this.receiverTreatmentAccess = receiverTreatmentAccess;
  2171. this.prescription.mode = this.modeName(this.prescription.mode_id);
  2172. var rwLen = this.replacementWays.length;
  2173. this.prescription.replacement = "";
  2174. for (let index = 0; index < rwLen; index++) {
  2175. if (
  2176. this.replacementWays[index].id ==
  2177. this.prescription.replacement_way
  2178. ) {
  2179. this.prescription.replacement = this.replacementWays[index].name;
  2180. break;
  2181. }
  2182. }
  2183. this.prescription.dialysate_formulation_name =
  2184. this.dialysateFormulationName(
  2185. this.prescription.dialysate_formulation
  2186. );
  2187. var paLen = this.perfusionApparatus.length;
  2188. this.prescription.perfusion_apparatus_name = "";
  2189. for (let index = 0; index < paLen; index++) {
  2190. if (
  2191. this.perfusionApparatus[index].id ==
  2192. this.prescription.perfusion_apparatus
  2193. ) {
  2194. this.prescription.perfusion_apparatus_name =
  2195. this.perfusionApparatus[index].name;
  2196. break;
  2197. }
  2198. }
  2199. var acLen = this.anticoagulantsConfit.length;
  2200. var thisALID = this.prescription.anticoagulant;
  2201. this.prescription.anticoagulant_name = "";
  2202. if (
  2203. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  2204. this.anticoagulantsConfit[thisALID] != null
  2205. ) {
  2206. this.prescription.anticoagulant_name =
  2207. this.anticoagulantsConfit[thisALID].name;
  2208. this.AlPanel = this.anticoagulantsConfit[thisALID];
  2209. }
  2210. this.advices = response.data.data.advices;
  2211. this.monitors = response.data.data.monitors;
  2212. console.log("透析监测", this.monitors);
  2213. this.summary = response.data.data.summary;
  2214. this.Order = response.data.data.order;
  2215. var start_nurse = response.data.data.startNuse;
  2216. // console.log('上机护士', start_nurse)
  2217. this.orderForm.start_nurse = start_nurse.user_name;
  2218. this.orderForm.url = start_nurse.url;
  2219. var finish_nurse = response.data.data.FinishNuse;
  2220. // console.log('下机护士', finish_nurse)
  2221. this.finshForm.url = finish_nurse.url;
  2222. this.finshForm.finish_nurse = finish_nurse.user_name;
  2223. var dialysisdoctor = response.data.data.dialysisdocotr;
  2224. //this.dialysisDoctor.doctor = dialysisdoctor.user_name;
  2225. // this.dialysisDoctor.url = dialysisdoctor.url;
  2226. this.org_template_info = response.data.data.org_template_info;
  2227. // 配置超滤量和置换量是否要显示0还是空
  2228. if (this.org_template_info.org_id == 9535) {
  2229. this.isShowZero = true;
  2230. }
  2231. if (this.monitors.length < 7) {
  2232. var nl = 8 - this.monitors.length;
  2233. for (let index = 0; index < nl; index++) {
  2234. this.monitors.push([]);
  2235. }
  2236. }
  2237. this.jilurow = this.monitors.length + 1;
  2238. this.advice_jilurow = this.advices.length + 1;
  2239. var childMap = {};
  2240. for (const index in this.advices) {
  2241. if (this.advices[index].parent_id == 0) {
  2242. continue;
  2243. }
  2244. if (!(this.advices[index].parent_id in childMap)) {
  2245. childMap[this.advices[index].parent_id] = [];
  2246. }
  2247. childMap[this.advices[index].parent_id].push(this.advices[index]);
  2248. }
  2249. var advices = [];
  2250. for (const index in this.advices) {
  2251. if (this.advices[index].parent_id > 0) {
  2252. continue;
  2253. }
  2254. var item = this.advices[index];
  2255. if (item.id in childMap) {
  2256. item.children = childMap[item.id];
  2257. } else {
  2258. item.children = [];
  2259. }
  2260. advices.push(item);
  2261. }
  2262. var leftAdvice = [];
  2263. var rightAdvice = [];
  2264. var adlen = advices.length;
  2265. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  2266. for (var i = 0; i < halfLen; i++) {
  2267. leftAdvice.push(advices[i]);
  2268. rightAdvice.push(advices[i + halfLen]);
  2269. }
  2270. if (halfLen < 5) {
  2271. var nl = 5 - leftAdvice.length;
  2272. for (let index = 0; index < nl; index++) {
  2273. leftAdvice.push([]);
  2274. }
  2275. var nl = 5 - rightAdvice.length;
  2276. for (let index = 0; index < nl; index++) {
  2277. rightAdvice.push([]);
  2278. }
  2279. }
  2280. this.advices = [];
  2281. for (var i = 0; i < halfLen; i++) {
  2282. var item = [];
  2283. item.push(leftAdvice[i]);
  2284. item.push(rightAdvice[i]);
  2285. this.advices.push(item);
  2286. }
  2287. this.loading = false;
  2288. this.doctor_advices =
  2289. response.data.data.advices == null
  2290. ? []
  2291. : response.data.data.advices;
  2292. for (let index = 0; index < this.doctor_advices.length; index++) {
  2293. this.doctor_advices[index]["isShow"] = 2;
  2294. }
  2295. if (this.doctor_advices.length > 0) {
  2296. var group = this.newAdviceGroupObject();
  2297. var initGroupBlock = function (group, advice) {
  2298. group.group_no = advice.groupno;
  2299. };
  2300. for (
  2301. let index = this.doctor_advices.length - 1;
  2302. index >= 0;
  2303. index--
  2304. ) {
  2305. var new_advice_index = 0;
  2306. if (
  2307. "children" in this.doctor_advices[index] &&
  2308. this.doctor_advices[index].children.length > 0
  2309. ) {
  2310. new_advice_index =
  2311. index + this.doctor_advices[index].children.length + 1;
  2312. var doctor_advice = {
  2313. delivery_way: this.doctor_advices[index].delivery_way,
  2314. execution_frequency:
  2315. this.doctor_advices[index].execution_frequency,
  2316. groupno: this.doctor_advices[index].groupno,
  2317. id: this.doctor_advices[index].id,
  2318. parent_id: this.doctor_advices[index].parent_id,
  2319. children: this.doctor_advices[index].children,
  2320. remark: this.doctor_advices[index].remark,
  2321. };
  2322. doctor_advice["isShow"] = 1;
  2323. this.doctor_advices.splice(new_advice_index, 0, doctor_advice);
  2324. // this.doctor_advices.push(doctor_advice)
  2325. }
  2326. }
  2327. for (let index = 0; index < this.doctor_advices.length; index++) {
  2328. const advice = this.doctor_advices[index];
  2329. if (advice.groupno == 0) {
  2330. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2331. if (advice.parent_id > 0) {
  2332. if (this.advice_groups.length > 0) {
  2333. var parent_group =
  2334. this.advice_groups[this.advice_groups.length - 1];
  2335. if (parent_group.advices.length > 0) {
  2336. if (parent_group.advices[0].id == advice.parent_id) {
  2337. parent_group.advices.push(advice);
  2338. }
  2339. }
  2340. }
  2341. continue;
  2342. } else {
  2343. if (group.group_no > 0) {
  2344. this.advice_groups.push(group);
  2345. group = this.newAdviceGroupObject();
  2346. }
  2347. initGroupBlock(group, advice);
  2348. group.advices.push(advice);
  2349. this.advice_groups.push(group);
  2350. group = this.newAdviceGroupObject();
  2351. continue;
  2352. }
  2353. }
  2354. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2355. this.advice_groups.push(group);
  2356. group = this.newAdviceGroupObject();
  2357. }
  2358. if (group.group_no == 0) {
  2359. initGroupBlock(group, advice);
  2360. }
  2361. if (group.group_no == advice.groupno) {
  2362. group.advices.push(advice);
  2363. }
  2364. }
  2365. if (group.group_no > 0) {
  2366. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2367. this.advice_groups.push(group);
  2368. }
  2369. }
  2370. console.log(this.advice_groups);
  2371. } else {
  2372. this.loading = false;
  2373. this.$message.error("请求数据失败");
  2374. return false;
  2375. }
  2376. });
  2377. },
  2378. bloodAccessParOperaName(id) {
  2379. if (id in this.bloodAccessParOpera) {
  2380. return this.bloodAccessParOpera[id].name;
  2381. }
  2382. return "";
  2383. },
  2384. dialysateFormulationName(id) {
  2385. if (id in this.dialysateFormulationOptions) {
  2386. return this.dialysateFormulationOptions[id].name;
  2387. }
  2388. return "";
  2389. },
  2390. getAge: function (val) {
  2391. if (val.birthday != 0) {
  2392. return jsGetAge(val.birth, "-");
  2393. }
  2394. return "";
  2395. },
  2396. checkIdCardNo(val) {
  2397. var thisLen = val.length;
  2398. var birth = "";
  2399. if (thisLen == 15) {
  2400. birth = "19" + val.substr(6, 6);
  2401. } else {
  2402. birth = val.substr(6, 8);
  2403. }
  2404. var birthTwo =
  2405. birth.substr(0, 4) +
  2406. "-" +
  2407. birth.substr(4, 2) +
  2408. "-" +
  2409. birth.substr(6, 2);
  2410. var age = jsGetAge(birthTwo, "-");
  2411. return age;
  2412. },
  2413. newAdviceGroupObject: function () {
  2414. return Object.assign(
  2415. {},
  2416. {
  2417. group_no: 0,
  2418. // advice_doctor: 0,
  2419. // start_time: 0,
  2420. advices: [],
  2421. // exec_staff: 0,
  2422. // exec_time: 0,
  2423. // checker: 0,
  2424. }
  2425. );
  2426. },
  2427. },
  2428. watch: {
  2429. "patientInfo.gender": function () {
  2430. if (this.patientInfo.gender == 1) {
  2431. this.patientInfo_gender_1 = true;
  2432. this.patientInfo_gender_2 = false;
  2433. } else if (this.patientInfo.gender == 2) {
  2434. this.patientInfo_gender_2 = true;
  2435. this.patientInfo_gender_1 = false;
  2436. } else {
  2437. this.patientInfo_gender_2 = false;
  2438. this.patientInfo_gender_1 = false;
  2439. }
  2440. },
  2441. "patientInfo.source": function () {
  2442. if (this.patientInfo.source == 1) {
  2443. this.patientInfo_source_1 = true;
  2444. this.patientInfo_source_2 = false;
  2445. } else if (this.patientInfo.source == 2) {
  2446. this.patientInfo_source_2 = true;
  2447. this.patientInfo_source_1 = false;
  2448. } else {
  2449. this.patientInfo_source_2 = false;
  2450. this.patientInfo_source_1 = false;
  2451. }
  2452. },
  2453. },
  2454. created() {
  2455. var xtuser = this.$store.getters.xt_user;
  2456. this.org_id = xtuser.org.id;
  2457. this.orgname = xtuser.org.org_name;
  2458. // this.orgname = "遂溪方济医院";
  2459. this.modeOptions = this.$store.getters.treatment_mode;
  2460. this.replacementWays = this.$store.getters.replacement_ways;
  2461. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2462. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2463. this.way_arr = getDataConfig("hemodialysis", "way");
  2464. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2465. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  2466. this.posture_arr = getDataConfig("hemodialysis", "posture");
  2467. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  2468. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  2469. this.intake_arr = getDataConfig("hemodialysis", "intake");
  2470. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  2471. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  2472. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2473. var bloodAccessParOpera = getDataConfig(
  2474. "hemodialysis",
  2475. "vascular_access_desc"
  2476. );
  2477. for (var key in bloodAccessParOpera) {
  2478. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2479. bloodAccessParOpera[key];
  2480. }
  2481. var dialysateFormulationOptions = getDataConfig(
  2482. "hemodialysis",
  2483. "dialysate_formulation"
  2484. );
  2485. for (var key in dialysateFormulationOptions) {
  2486. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2487. dialysateFormulationOptions[key];
  2488. }
  2489. const xtdate = this.$route.query && this.$route.query.xtdate;
  2490. const xtno = this.$route.query && this.$route.query.xtno;
  2491. if (
  2492. typeof xtdate === "string" &&
  2493. xtdate.length > 0 &&
  2494. typeof xtno === "string" &&
  2495. xtno.length > 0
  2496. ) {
  2497. this.queryParams.xtdate = xtdate;
  2498. this.queryParams.xtno = xtno;
  2499. this.getDialysisRecord();
  2500. } else {
  2501. this.$message.error("参数不齐");
  2502. return false;
  2503. }
  2504. },
  2505. };
  2506. </script>
  2507. <style>
  2508. .dialysis-print-order {
  2509. width: 960px;
  2510. margin: 0 auto;
  2511. }
  2512. .dialysis-print-order .order-yy-name {
  2513. margin: auto;
  2514. text-align: center;
  2515. font-size: 20px;
  2516. letter-spacing: 5px;
  2517. }
  2518. .dialysis-print-order .order-title {
  2519. margin: auto;
  2520. font-weight: 600;
  2521. text-align: center;
  2522. font-size: 22px;
  2523. padding: 10px 20px 20px 20px;
  2524. }
  2525. .dialysis-print-order .table-box {
  2526. width: 100%;
  2527. line-height: 23px;
  2528. font-size: 14px;
  2529. }
  2530. .dialysis-print-order .print-table {
  2531. width: 100%;
  2532. text-align: center;
  2533. border-collapse: collapse;
  2534. line-height: 40px;
  2535. font-size: 14px;
  2536. }
  2537. .dialysis-print-order .print-table-no {
  2538. width: 100%;
  2539. text-align: center;
  2540. border-collapse: collapse;
  2541. font-size: 14px;
  2542. }
  2543. .dialysis-print-order .under-line {
  2544. border-bottom: 1px solid #999;
  2545. width: 95%;
  2546. text-align: center;
  2547. margin-left: 2px;
  2548. }
  2549. .dialysis-print-order .title-box {
  2550. text-align: center;
  2551. font-size: 16px;
  2552. }
  2553. .dialysis-print-order .radio-lebel-box {
  2554. font-weight: 400;
  2555. cursor: pointer;
  2556. }
  2557. .dialysis-print-order .radio-no {
  2558. opacity: 0;
  2559. outline: none;
  2560. position: absolute;
  2561. margin: 0;
  2562. width: 0;
  2563. height: 0;
  2564. z-index: -1;
  2565. }
  2566. .dialysis-print-order .radio-inner {
  2567. white-space: nowrap;
  2568. cursor: pointer;
  2569. outline: none;
  2570. display: inline-block;
  2571. line-height: 1;
  2572. position: relative;
  2573. vertical-align: middle;
  2574. }
  2575. .dialysis-print-order .radio-fang {
  2576. display: inline-block;
  2577. position: relative;
  2578. border: 1px solid #000;
  2579. box-sizing: border-box;
  2580. width: 14px;
  2581. height: 14px;
  2582. background-color: #fff;
  2583. z-index: 1;
  2584. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2585. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2586. }
  2587. .dialysis-print-order .is-checked-radio::after {
  2588. content: "√";
  2589. font-size: 15px;
  2590. }
  2591. .dialysis-print-order .print-table-no tr td {
  2592. padding: 8px 5px;
  2593. line-height: 25px;
  2594. }
  2595. .dialysis-print-order .print-table tr td {
  2596. padding: 1px 1px;
  2597. /*line-height: 25px;*/
  2598. }
  2599. .es-img {
  2600. height: 25px;
  2601. }
  2602. .advice-name {
  2603. text-align: left;
  2604. }
  2605. .advice-children {
  2606. display: flex;
  2607. }
  2608. .title-box-pro {
  2609. border: 0 #fff;
  2610. line-height: 25px;
  2611. height: 25px;
  2612. text-align: left;
  2613. padding-left: 10px !important;
  2614. }
  2615. .title-box-pro-tr {
  2616. border: 0 #fff;
  2617. }
  2618. .text-align-left {
  2619. text-align: left !important;
  2620. padding-left: 10px !important;
  2621. font-size: 14px !important;
  2622. line-height: 25px;
  2623. }
  2624. .print-table-tr-new td {
  2625. line-height: 20px !important;
  2626. }
  2627. .border-top-solid {
  2628. border: solid 1px #000;
  2629. }
  2630. .print-template-two tr {
  2631. line-height: 30px;
  2632. }
  2633. .table-box1 {
  2634. border: 1px solid #000;
  2635. width: 100%;
  2636. line-height: 30px;
  2637. font-size: 14px;
  2638. border-collapse: collapse;
  2639. }
  2640. .table-box1 tr {
  2641. border-bottom: 1px solid #000;
  2642. }
  2643. </style>