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

DialysisPrintOrderSixtyeight.vue 151KB

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