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

DialysisPrintOrderFortySix.vue 119KB

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