DialysisPrintOrderFiftyOne.vue 158KB

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