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

DialysisPrintOrderSix.vue 141KB

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