DialysisPrintOrderFortySeven.vue 137KB

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