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

DialysisPrintOrderFortySix.vue 119KB

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