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

DialysisPrintOrderSix.vue 143KB

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