DialysisPrintOrderSix.vue 142KB

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