DialysisPrintOrderseventyone.vue 68KB

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