DialysisPrintOrderSeventythree.vue 125KB

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