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

DialysisPrintOrderSixtyThree.vue 143KB

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