monitoring.vue 137KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569
  1. <template>
  2. <div class="monitoring">
  3. <div>
  4. <!-- <span class="computerTime">上机时间:{{getTimes(dialysis_order.start_time)}}</span> -->
  5. <!-- <van-cell>
  6. <template #title><span style="color:#7b8c9c">上机时间:{{getTimes(dialysis_order.start_time)}}</span>
  7. </template>
  8. </van-cell> -->
  9. <div style="padding:0 1rem;height:1.875rem;line-height:1.875rem;color: #323233;font-size:0.875rem;" v-if="this.org_id == 9671 || this.org_id == 10340">
  10. 透析模式:
  11. <span v-if="prescription_prop!=null&&prescription_prop.mode_id>0">{{getModeName(prescription_prop.mode_id)}}</span>
  12. </div>
  13. <div style="padding:0 1rem;height:1.875rem;line-height:1.875rem;color: #323233;font-size:0.875rem;" v-if="this.org_id == 9671 || this.org_id == 10340">
  14. 目标超滤量:<span v-if="prescription_prop!=null">{{prescription_prop.target_ultrafiltration}}ml</span>
  15. 透析时长:
  16. <span v-if="prescription_prop!=null&&prescription_prop.dialysis_duration_hour>0">{{prescription_prop.dialysis_duration_hour}}时</span>
  17. <span v-if="prescription_prop!=null&&prescription_prop.dialysis_duration_minute>0">{{prescription_prop.dialysis_duration_minute}}分</span>
  18. </div>
  19. <div style="padding:0 1rem;height:1.875rem;line-height:1.875rem;color: #323233;font-size:0.875rem;" v-if="this.org_id == 9671 || this.org_id == 10469 || this.org_id == 9675">
  20. 处方脱水量:<span v-if="prescription_prop!=null">{{prescription_prop.prescription_water}}ml
  21. </span>
  22. </div>
  23. <div style="padding:0 1rem;height:1.875rem;line-height:1.875rem;color: #323233;font-size:0.875rem;">
  24. 上机时间:{{getTimes(dialysis_order.start_time)}}
  25. <span v-if="this.org_id == 9671 || this.org_id == 10340">下机时间:{{getTime(dialysis_order.end_time)}}</span>
  26. </div>
  27. <div v-if="monitorRecords.length > 0" style="width:100%;overflow-x:auto;">
  28. <table class="table newMonitTable" style>
  29. <tr @click="selectRow(-1, null)">
  30. <th v-if="isShow('监测时间')" width="60px" >时间</th>
  31. <th v-if="isShow('血压')" width="40px" style="width:5%"> 血压 <br />(mmHg) </th>
  32. <th v-if="isShow('血压1')" width="40px" style="width:5%"> 血压 <br />(mmHg) </th>
  33. <th v-if="isShow('拒测血压')" width="20px" style="width:5%"> 拒测 <br />血压</th>
  34. <th v-if="isShow('血压监测部位')" width="40px">血压监测部位</th>
  35. <th v-if="isShow('脉搏')" width="30px"> 脉搏 <br />(次/分) </th>
  36. <th v-if="isShow('脉搏1')" width="30px"> 脉搏 <br />(次/分) </th>
  37. <th v-if="isShow('体温')" width="40px" style="width:6%"> 体温 <br />(℃) </th>
  38. <th v-if="isShow('体温1')" width="40px" style="width:6%"> 体温 <br />(℃) </th>
  39. <th v-if="isShow('呼吸频率')" width="50px" style="width:6%"> 呼吸频率 <br />(次/分) </th>
  40. <th v-if="isShow('血流量')" width="40px" style="width:5%"> 血流量 <br />(ml/min) </th>
  41. <th v-if="isShow('血流量1')" width="40px" style="width:5%"> 血流量 <br />(ml/min) </th>
  42. <th width="60px" style="width:6%"> 静脉压/动脉压 <br />({{monitorRecords[0]&&monitorRecords[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  43. <th v-if="isShow('跨膜压')" width="40px" style="width:6%"> 跨膜压 <br />({{monitorRecords[0]&&monitorRecords[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  44. <th v-if="isShow('跨膜压1')" width="40px" style="width:6%"> 跨膜压 <br />({{monitorRecords[0]&&monitorRecords[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  45. <th v-if="isShow('超滤量') && (template_id ==5 || template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 9 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 65 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10387 || org_id == 10432 || org_id == 10445 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id == 10485 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id ==10580 || org_id ==10629 || org_id ==10617 || org_id==10677 || org_id==10667 || org_id==10693 || org_id ==10702 || org_id ==10697 || org_id ==10635)" width="50px" style="width:6%"> 超滤量 <br />(ml) </th>
  46. <th v-if="isShow('超滤量') && template_id != 5 && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && org_id !=9555 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id !=9 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id!=40 && template_id!=41 && template_id!=43 && template_id!=44 && template_id!=47 && template_id!=46 && template_id!=48 && template_id!=53 && template_id!=54 && template_id!=65 && template_id!=56 && template_id!=60 && org_id != 10340 && org_id != 10387 && org_id != 10432 && org_id != 10445 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10485 && org_id!=10597 && org_id!=10599&&org_id!=10612 &&org_id!=10580 && org_id !=10629 && org_id!=10617 && org_id!=10677 && org_id!=10667 && org_id!=10693 && org_id!=10702 && org_id!=10697 && org_id!=10635" width="50px" style="width:6%"> 超滤量 <br />(L) </th>
  47. <th v-if="isShow('超滤量1')" width="50px" style="width:6%"> 超滤量 <br />(ml) </th>
  48. <th v-if="isShow('钠浓度')" width="40px" style="width:6%"> 钠浓度 <br />(mmol/L) </th>
  49. <th v-if="isShow('钠浓度1')" width="40px" style="width:6%"> 钠浓度 <br />(mmol/L) </th>
  50. <th v-if="isShow('透析液温度')" width="60px" style="width:6%"> 透析液温度 <br />(℃) </th>
  51. <th v-if="isShow('透析液温度1')" width="60px" style="width:6%"> 透析液温度 <br />(℃) </th>
  52. <th v-if="isShow('置换率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || org_id == 10340 || org_id == 10445 || org_id == 10410 || org_id ==10617 || org_id ==10598 || org_id ==10677 || org_id==10702) && org_id!=10558 && org_id!=10414 && org_id!=10677 " width="50px" style="width:6%"> 置换率 <br />(ml/min) </th>
  53. <th v-if="isShow('置换率') && (template_id !=6 && template_id !=10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && org_id!=10340 && org_id!=10445 && org_id!=10410 && org_id!=10617 && org_id!=10598 && org_id!=10677 && org_id!=10702) || org_id ==10558 || org_id ==10414 || org_id==10677" width="50px" style="width:6%"> 置换率 <br />(L/h) </th>
  54. <th v-if="isShow('置换率1')" width="50px" style="width:6%"> 置换率 <br />(ml/min) </th>
  55. <th v-if="isShow('置换量') && (template_id ==43 )" width="40px" style="width:6%"> 置换量 <br />(ml/h) </th>
  56. <th v-if="isShow('置换量') && ((template_id ==6 && org_id != 9919 && org_id!=10191 && template_id!=43) || org_id ==9779 ||template_id ==11 ||template_id ==20 ||template_id ==26 ||template_id ==29 ||template_id == 48 ||template_id == 46 ||template_id == 53 ||template_id == 54 ||template_id == 56 ||org_id == 10340 ||org_id == 10432 ||org_id == 10445) && org_id!=10558 && org_id!=10346 && org_id!=10517 && org_id!=10598 && org_id!=10617 && org_id!=10414 && org_id!=10510 && org_id!=10567" width="50px" style="width:6%"> 置换量 <br />(ml) </th>
  57. <th v-if="isShow('置换量') && ((template_id !=6 || org_id == 9919 || org_id == 10191) && org_id !=9779 && template_id !=11 && template_id !=20 && template_id !=26 && template_id !=29 && template_id!=43 && template_id!=48 && template_id!=46 && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340 && org_id!=10432 && org_id!=10445) || org_id ==10558 || org_id ==10346 || org_id == 10517 || org_id ==10598 || org_id==10617 || org_id==10414 || org_id == 10510 || org_id ==10567" width="50px" style="width:6%"> 置换量 <br />(L) </th>
  58. <th v-if="isShow('SpO₂') && template_id !=6 && template_id !=10 && template_id !=11" width="40px" > SpO₂ <br />(%) </th>
  59. <th v-if="isShow('SpO₂') && (org_id == 10447 || org_id ==9829)" width="40px" > SpO₂ <br />(%) </th>
  60. <th v-if="isShow('SpO₂1')" width="40px" > SpO₂ <br />(%) </th>
  61. <th v-if="isShow('电导度')" width="40px"> 电导度 <br />(mS/cm) </th>
  62. <th v-if="isShow('电导度1')" width="40px"> 电导度 <br />(mS/cm) </th>
  63. <th v-if="isShow('置换液流量')" width="50px"> 置换液流量 <br /><span v-if="template_id !=27 && template_id !=29 && template_id !=60">(ml/h)</span><span v-if="template_id ==27 || template_id ==29 || template_id == 60">(ml/min)</span> </th>
  64. <th v-if="isShow('置换液流量1')" width="50px"> 置换液流量 <br />(ml/min)</th>
  65. <th v-if="isShow('透析液流量')" width="50px"> 透析液流量 <br />(ml/h) </th>
  66. <th v-if="isShow('透析液流量1')" width="50px"> 透析液流量 <br />(ml/h) </th>
  67. <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 65 || org_id == 10432 || org_id == 10445 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id == 10537 || org_id ==10597 || org_id ==10599 || org_id == 10580 || org_id ==10629 || org_id ==10617 || org_id==10677|| org_id==10667 || org_id == 10693 || org_id ==10702 || org_id == 10697 || org_id ==10635)" width="50px" style="6%"> 超滤率 <br />(ml/h) </th>
  68. <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56 && template_id !=65 && org_id!=10432 && org_id!=10445 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10537 && org_id!=10597 && org_id!=10599 && org_id!=10580 && org_id!=10629 && org_id!=10617 && org_id!=10677 && org_id!=10667 && org_id!=10693 && org_id!=10702 && org_id!=10697 && org_id!=10635" width="50px" style="6%"> 超滤率 <br />(L/h) </th>
  69. <th v-if="isShow('超滤率2')" width="60px">超滤率 <br />(ml/h) </th>
  70. <th v-if="isShow('剩余肝素')" width="60px">剩余肝素 <br />(ml) </th>
  71. <th v-if="isShow('置换量1')" width="50px" style="width:6%"> 置换量 <br />(L) </th>
  72. <th v-if="isShow('肝素用量余量')" width="60px"> 肝素用量余量 <br />(ml) </th>
  73. <th v-if="isShow('肝素量')" width="60px"> 肝素量 <br />(mg) </th>
  74. <th v-if="isShow('抗凝剂')" width="60px">抗凝剂</th>
  75. <th v-if="isShow('并发症')" width="60px">并发症</th>
  76. <th v-if="isShow('累计血容量') && (template_id ==41 || org_id ==9538 || org_id == 10340 || org_id ==10217)" width="50px"> 累计血容量 <br />(L) </th>
  77. <th v-if="isShow('累计血容量') && template_id !=41 && org_id!=9538 && org_id!=10340 && org_id!=10217" width="50px"> 累计血容量 <br />(ml) </th>
  78. <th v-if="isShow('血容量')" width="60px">血容量(L)</th>
  79. <th v-if="isShow('血容量1')" width="50px">血容量 <br />(L) </th>
  80. <th v-if="isShow('血温监测')" width="60px">血温监测</th>
  81. <th v-if="isShow('血温监测1')" width="60px">血温监测</th>
  82. <th v-if="isShow('尿素监测')" width="60px">尿素监测</th>
  83. <th v-if="isShow('尿素监测1')" width="60px">尿素监测</th>
  84. <th v-if="isShow('血浓量')" width="60px">血浓量</th>
  85. <th v-if="isShow('血浓量1')" width="60px">血浓量</th>
  86. <th v-if="isShow('脱水')" width="60px">脱水</th>
  87. <th v-if="isShow('KT/V')" width="60px">Kt/V</th>
  88. <th v-if="isShow('kt/v1')" width="60px">Kt/V</th>
  89. <th v-if="isShow('urr1')" width="60px">URR</th>
  90. <th v-if="isShow('病情变化')" width="92px" >病情变化</th>
  91. <th v-if="isShow('处理')" width="92px" >处理</th>
  92. <th v-if="isShow('结果')" width="92px">结果</th>
  93. </tr>
  94. <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value" @click="selectRow(index, item)" :class="index==currentIndex?'row-class-active':''" >
  95. <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, '{y}-{m}-{d} {h}:{i}')}}</td>
  96. <td v-if="isShow('血压')" >{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
  97. <td v-if="isShow('血压1')" >
  98. {{item.monitor_systolic_blood_pressure_one?item.monitor_systolic_blood_pressure_one:'未测'}}
  99. <span v-if="item.monitor_diastolic_blood_pressure_one!=''&&item.monitor_diastolic_blood_pressure_one>0">/{{item.monitor_diastolic_blood_pressure_one?item.monitor_diastolic_blood_pressure_one:'未测'}}</span></td>
  100. <td v-if="isShow('拒测血压')" >{{ item.is_pressure }}</td>
  101. <td v-if="isShow('血压监测部位')">{{getBloodPressure(item.blood_pressure_monitoring_site)}}</td>
  102. <td v-if="isShow('脉搏')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
  103. <td v-if="isShow('脉搏1')">{{item.monitor_pulse_frequency_one?item.monitor_pulse_frequency_one:'/'}}</td>
  104. <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
  105. <td v-if="isShow('体温1')">{{item.monitor_temperature_one?item.monitor_temperature_one:'/'}}</td>
  106. <td v-if="isShow('呼吸频率')">
  107. <span v-if="org_id!=10644"> {{item.breathing_rate?item.breathing_rate:'/'}} </span>
  108. <span v-if="org_id==10644"> {{item.breathing_rate?item.breathing_rate:''}} </span>
  109. </td>
  110. <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
  111. <td v-if="isShow('血流量1')">{{item.blood_flow_volume_one?item.blood_flow_volume_one:'/'}}</td>
  112. <td v-if="org_id!=10693"> {{item.venous_pressure?item.venous_pressure:''}}
  113. <span v-if="item.arterial_pressure!=''|| item.arterial_pressure>0">/</span>
  114. {{item.arterial_pressure?item.arterial_pressure:''}}</td>
  115. <td v-if="org_id ==10693"> {{item.venous_pressure_one?item.venous_pressure_one:''}}/{{item.arterial_pressure_one?item.arterial_pressure_one:''}}</td>
  116. <td v-if="isShow('跨膜压')" >
  117. <span v-if="org_id!=10644">{{item.transmembrane_pressure?item.transmembrane_pressure:'/'}}</span>
  118. <span v-if="org_id==10644">{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</span>
  119. </td>
  120. <td v-if="isShow('跨膜压1')" >{{item.transmembrane_pressure_one?item.transmembrane_pressure_one:'/'}}</td>
  121. <td v-if="isShow('超滤量') && (org_id==10551 || org_id ==10617 || org_id ==10629 || org_id ==10679 || org_id ==10693 || org_id ==10702)" >
  122. {{item.ultrafiltration_volume?item.ultrafiltration_volume:'0'}}</td>
  123. <td v-if="isShow('超滤量') && org_id!=10551 && org_id != 10617 && org_id!=10629 && org_id!=10679 && org_id!=10693 && org_id!=10702" >
  124. <span v-if="org_id ==10612">
  125. <span v-if="index == 1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "0" }}</span>
  126. <span v-if="index!=1"> {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</span>
  127. </span>
  128. <span v-if="org_id!=10612">
  129. {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}
  130. </span>
  131. </td>
  132. <td v-if="isShow('超滤量1')" >{{item.ultrafiltration_volume_one?item.ultrafiltration_volume_one:'/'}}</td>
  133. <td v-if="isShow('钠浓度')">{{item.sodium_concentration?item.sodium_concentration:''}}</td>
  134. <td v-if="isShow('钠浓度1')">{{item.sodium_concentration_one?item.sodium_concentration_one:'/'}}</td>
  135. <td v-if="isShow('透析液温度')" >{{item.dialysate_temperature?item.dialysate_temperature:''}}</td>
  136. <td v-if="isShow('透析液温度1')" >{{item.dialysate_temperature_one?item.dialysate_temperature_one:'/'}}</td>
  137. <td v-if="isShow('置换率')">{{item.replacement_rate?item.replacement_rate:''}}</td>
  138. <td v-if="isShow('置换率1')">{{item.replacement_rate_one?item.replacement_rate_one:'/'}}</td>
  139. <td v-if="isShow('置换量')" >{{item.displacement_quantity?item.displacement_quantity:''}}</td>
  140. <td v-if="isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11" >
  141. <span v-if="org_id == 10340">{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:'/'}}</span>
  142. <span v-else>{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:''}}</span>
  143. </td>
  144. <td v-if="isShow('SpO₂') && (org_id == 10447 || org_id ==9829)" >
  145. <span>{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:'/'}}</span>
  146. </td>
  147. <td v-if="isShow('SpO₂1')" >
  148. <span>{{item.blood_oxygen_saturation_one?item.blood_oxygen_saturation_one:'/'}}</span>
  149. </td>
  150. <td v-if="isShow('电导度')">{{item.conductivity?item.conductivity:''}}</td>
  151. <td v-if="isShow('电导度1')">{{item.conductivity_one?item.conductivity_one:'/'}}</td>
  152. <td v-if="isShow('置换液流量')" >{{item.displacement_flow_quantity?item.displacement_flow_quantity:''}}</td>
  153. <td v-if="isShow('置换液流量1')" >{{item.displacement_flow_quantity_one?item.displacement_flow_quantity_one:'/'}}</td>
  154. <td v-if="isShow('透析液流量')" >{{item.dialysate_flow?item.dialysate_flow:''}}</td>
  155. <td v-if="isShow('透析液流量1')" >{{item.dialysate_flow_one?item.dialysate_flow_one:'/'}}</td>
  156. <td v-if="isShow('超滤率')" >{{item.ultrafiltration_rate?item.ultrafiltration_rate:''}}</td>
  157. <th v-if="isShow('超滤率2')" width="60px">{{ item.ultrafiltration_rate_one?item.ultrafiltration_rate_one:"/" }} <br /></th>
  158. <th v-if="isShow('剩余肝素')" width="60px">{{item.heparin_one?item.heparin_one:"/"}} <br /> </th>
  159. <td v-if="isShow('置换量1')" >{{item.displacement_quantity_one?item.displacement_quantity_one:'/'}}</td>
  160. <td v-if="isShow('肝素用量余量')">{{item.heparin?item.heparin:''}}</td>
  161. <td v-if="isShow('肝素量')">{{item.heparin_amount?item.heparin_amount:''}}</td>
  162. <td v-if="isShow('抗凝剂')">
  163. <span v-if="item.monitor_anticoagulant == 0"></span>
  164. <span v-if="item.monitor_anticoagulant == 1">无肝素</span>
  165. <span v-if="item.monitor_anticoagulant == 2">普通肝素</span>
  166. <span v-if="item.monitor_anticoagulant == 3">低分子肝素</span>
  167. <span v-if="item.monitor_anticoagulant == 4">阿加曲班</span>
  168. <span v-if="item.monitor_anticoagulant == 5">枸橼酸钠</span>
  169. <span v-if="item.monitor_anticoagulant == 6">低分子肝素钙</span>
  170. <span v-if="item.monitor_anticoagulant == 7">低分子肝素钠</span>
  171. <span v-if="item.monitor_anticoagulant == 8">依诺肝素</span>
  172. <span v-if="item.monitor_anticoagulant == 9">达肝素</span>
  173. <span v-if="item.monitor_anticoagulant == 12">无抗凝剂</span>
  174. <span v-if="item.monitor_anticoagulant_value!=''">({{item.monitor_anticoagulant_value}})</span>
  175. </td>
  176. <td v-if="isShow('并发症')">{{getComplication(item.complication)}}</td>
  177. <td v-if="isShow('累计血容量')" width="60px">{{item.accumulated_blood_volume}}</td>
  178. <td v-if="isShow('血容量')" width="60px">{{item.accumulated_blood_volume}}</td>
  179. <td v-if="isShow('血容量1')" width="60px">{{item.accumulated_blood_volume_one?item.accumulated_blood_volume_one:"/"}}</td>
  180. <td v-if="isShow('血温监测')" width="60px">{{item.blood_temperature}}</td>
  181. <td v-if="isShow('血温监测1')" width="60px">{{item.blood_temperature_one?item.blood_temperature_one:"/"}}</td>
  182. <td v-if="isShow('尿素监测')" width="60px">{{item.urea_monitoring}}</td>
  183. <td v-if="isShow('尿素监测1')" width="60px">{{item.urea_monitoring?item.urea_monitoring:"/"}}</td>
  184. <td v-if="isShow('血浓量')" width="60px">{{item.blood_thickness}}</td>
  185. <td v-if="isShow('血浓量1')" width="60px">{{item.blood_thickness_one?item.blood_thickness_one:"/"}}</td>
  186. <td v-if="isShow('脱水')" width="60px">{{item.dehydration}}</td>
  187. <td v-if="isShow('KT/V')">{{item.ktv?item.ktv:''}}</td>
  188. <td v-if="isShow('kt/v1')">{{item.ktv_one?item.ktv_one:'/'}}</td>
  189. <td v-if="isShow('urr1')">{{item.urr_one?item.urr_one:'/'}}</td>
  190. <td v-if="isShow('病情变化')">{{item.symptom}}</td>
  191. <td v-if="isShow('处理')">{{item.dispose}}</td>
  192. <td v-if="isShow('结果')">{{item.result}}</td>
  193. </tr>
  194. </table>
  195. </div>
  196. <div v-else class="nodataTxt">暂无监测数据</div>
  197. <van-popup v-model="show" get-container="#app" class="mointoringPopup" style="z-index:3200;" position="top" :style="{ height: '100%' }">
  198. <div class="newMointoring">
  199. <div class="newMointoringTitle">
  200. <span @click="back" style="color:#323233;font-size: .875rem;"><i class="iconfont icon-zuojiantou jiantou" style="color:#323233;"></i>返回</span>
  201. <span style="font-weight:bold;margin-right: 1.5rem;">{{ formTitle }}</span>
  202. <span></span>
  203. </div>
  204. <div style="display:flex;flex:1; flex-direction: column;flex: 1;overflow-y: auto;">
  205. <div style="flex:1;overflow-y: auto;">
  206. <van-cell v-if="isShow('监测时间')" title="监测时间" :required="isShow_title('监测时间')" :value="parseTime(form.operate_time, '{y}-{m}-{d} {h}:{i}')" @click="chooseTime"></van-cell>
  207. <van-field v-model="form.systolic_bp" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('收缩压')" :required="isShow_title('收缩压')" label="收缩压(mmHg)" type="number" input-align="right" />
  208. <van-field v-model="form.monitor_systolic_blood_pressure_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('收缩压1')" :required="isShow_title('收缩压')" label="收缩压(mmHg)" input-align="right" />
  209. <van-field v-model="form.diastolic_bp" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('舒张压')" :required="isShow_title('舒张压')" label="舒张压(mmHg)" type="number" input-align="right" />
  210. <van-field v-model="form.monitor_diastolic_blood_pressure_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('舒张压1')" :required="isShow_title('舒张压')" label="舒张压(mmHg)" input-align="right" />
  211. <van-field v-model="form.pulse_frequency" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('脉搏')" :required="isShow_title('脉搏')" label="脉搏(次/分)" type="number" input-align="right"/>
  212. <van-field v-model="form.monitor_pulse_frequency_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('脉搏1')" :required="isShow_title('脉搏')" label="脉搏(次/分)" input-align="right"/>
  213. <van-cell title='拒测血压' v-if="isShow('拒测血压')">
  214. <template #label>
  215. <van-radio-group v-model="form.is_pressure">
  216. <van-radio :name="item.name" v-for='(item,index) in pressureList' :key="index">{{ item.name }}</van-radio>
  217. </van-radio-group>
  218. </template>
  219. </van-cell>
  220. <van-cell title='血压监测部位' :required="isShow_title('血压监测部位')" v-if="isShow('血压监测部位')">
  221. <template #label>
  222. <van-radio-group v-model="form.blood_pressure_monitoring_site">
  223. <van-radio :name="item.id" v-for='(item,index) in bloodPressureMmonitoringSite' :key="index">{{ item.name }}</van-radio>
  224. </van-radio-group>
  225. </template>
  226. </van-cell>
  227. <van-field v-model="form.temperature" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('体温')" :required="isShow_title('体温')" label="体温(℃)" type="number" input-align="right" />
  228. <van-field v-model="form.monitor_temperature_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('体温1')" :required="isShow_title('体温1')" label="体温(℃)" input-align="right" />
  229. <van-field v-model="form.breathing_rated" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('呼吸频率')&& org_id!=10340 && org_id!=9671" :required="isShow_title('呼吸频率')" label="呼吸频率(次/分)" input-align="right" />
  230. <van-field v-model="form.breathing_rated" @focus="inputFocus" @keydown='changeFocus' type="number" v-if="isShow('呼吸频率')&& (org_id ==10340 || org_id ==9671)" :required="isShow_title('呼吸频率')" label="呼吸频率(次/分)" input-align="right" />
  231. <van-field v-model="form.blood_flow_volume" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血流量')" :required="isShow_title('血流量')" label="血流量(ml/min)" type="number" input-align="right" />
  232. <van-field v-model="form.blood_flow_volume_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血流量1')" :required="isShow_title('血流量')" label="血流量(ml/min)" input-align="right" />
  233. <van-field v-model="form.arterial_pressure" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('动脉压') && org_id!=10340 && org_id!=9671" :required="isShow_title('动脉压')" input-align="right">
  234. <template #label>
  235. <span>动脉压({{form.arterial_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  236. </template>
  237. <template #button>
  238. <van-button @click="venousPressureChangeThree" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  239. </template>
  240. </van-field>
  241. <van-field v-model="form.arterial_pressure_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('动脉压1')" :required="isShow_title('动脉压1')" input-align="right">
  242. <template #label>
  243. <span>动脉压({{form.arterial_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  244. </template>
  245. <template #button>
  246. <van-button @click="venousPressureChangeThree" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  247. </template>
  248. </van-field>
  249. <van-field v-model="form.arterial_pressure" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('动脉压')" v-if="isShow('动脉压') && (org_id ==10340 || org_id==9671)" type="number" input-align="right">
  250. <template #label>
  251. <span>动脉压({{form.arterial_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  252. </template>
  253. <template #button>
  254. <van-button @click="venousPressureChangeThree" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  255. </template>
  256. </van-field>
  257. <van-field v-model="form.arterial_pressure" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('动脉压1')" v-if="isShow('动脉压1') && (org_id ==10340 || org_id==9671)" type="number" input-align="right">
  258. <template #label>
  259. <span>动脉压({{form.arterial_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  260. </template>
  261. <template #button>
  262. <van-button @click="venousPressureChangeThree" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  263. </template>
  264. </van-field>
  265. <van-field v-model="form.venous_pressure" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('静脉压')" v-if="isShow('静脉压')" type="number" input-align="right">
  266. <template #label>
  267. <span>静脉压({{form.venous_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  268. </template>
  269. <template #button>
  270. <van-button @click="venousPressureChangeOne" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  271. </template>
  272. </van-field>
  273. <van-field v-model="form.venous_pressure_one" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('静脉压1')" v-if="isShow('静脉压1')" type="number" input-align="right">
  274. <template #label>
  275. <span>静脉压({{form.venous_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  276. </template>
  277. <template #button>
  278. <van-button @click="venousPressureChangeOne" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  279. </template>
  280. </van-field>
  281. <van-field v-model="form.transmembrane_pressure" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('跨膜压')" v-if="isShow('跨膜压')" type="number" input-align="right">
  282. <template #label>
  283. <span>跨膜压({{form.transmembrane_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  284. </template>
  285. <template #button>
  286. <van-button @click="venousPressureChangeTwo" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  287. </template>
  288. </van-field>
  289. <van-field v-model="form.transmembrane_pressure_one" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('跨膜压1')" v-if="isShow('跨膜压1')" type="number" input-align="right">
  290. <template #label>
  291. <span>跨膜压({{form.transmembrane_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
  292. </template>
  293. <template #button>
  294. <van-button @click="venousPressureChangeTwo" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
  295. </template>
  296. </van-field>
  297. <van-field v-model="form.ultrafiltration_volume_one" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('超滤量1')" v-if="isShow('超滤量1')" type="number" input-align="right">
  298. <template #label>
  299. <span>超滤量(ml)</span>
  300. </template>
  301. </van-field>
  302. <van-field v-model="form.ultrafiltration_volume" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('超滤量')" v-if="isShow('超滤量')" type="number" input-align="right">
  303. <template #label>
  304. <span v-if="(template_id == 5 || template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 9 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || org_id == 10340 || org_id == 10387 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id == 10580 || org_id ==10629 || org_id ==10617 || org_id ==10677 || org_id ==10667 || org_id == 10693 || org_id == 10702 || org_id == 10697 || org_id == 10635) && org_id!=10471" >超滤量(ml)</span>
  305. <span v-else>超滤量(L)</span>
  306. </template>
  307. </van-field>
  308. <van-field v-model="form.ultrafiltration_rate" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('超滤率')" :required="isShow_title('超滤率')" type="number" input-align="right">
  309. <template #label>
  310. <span v-if="(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || org_id == 10340 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10537 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10580 || org_id ==10629 || org_id ==10617 || org_id ==10677 || org_id ==10667 || org_id == 10693 || org_id==10702 || org_id == 10697 || org_id == 10635) && org_id!=10471">超滤率(ml/h)</span>
  311. <span v-else>超滤率(L/h)</span>
  312. </template>
  313. </van-field>
  314. <van-field v-model="form.ultrafiltration_rate_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('超滤率2')" :required="isShow_title('超滤率2')" input-align="right">
  315. <template #label>
  316. <span>超滤率(ml/h)</span>
  317. </template>
  318. </van-field>
  319. <van-field v-model="form.sodium_concentration" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('钠浓度')" :required="isShow_title('钠浓度')" label="钠浓度(mmol/L)" type="number" input-align="right" />
  320. <van-field v-model="form.sodium_concentration_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('钠浓度1')" :required="isShow_title('钠浓度1')" label="钠浓度(mmol/L)" type="number" input-align="right" />
  321. <van-field v-model="form.conductivity" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('电导度')" :required="isShow_title('电导度')" label="电导度(mS/cm)" type="number" input-align="right" />
  322. <van-field v-model="form.conductivity_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('电导度1')" :required="isShow_title('电导度1')" label="电导度(mS/cm)" type="number" input-align="right" />
  323. <van-field v-model="form.dialysate_temperature" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('透析液温度')" :required="isShow_title('透析液温度')" label="透析液温度(℃)" type="number" input-align="right" />
  324. <van-field v-model="form.dialysate_temperature_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('透析液温度1')" :required="isShow_title('透析液温度1')" label="透析液温度(℃)" type="number" input-align="right" />
  325. <van-field v-model="form.replacement_rate" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换率')" :required="isShow_title('置换率')" type="number" input-align="right">
  326. <template #label>
  327. <span v-if="(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || org_id == 10340 || org_id == 10445 || org_id == 10410 || org_id ==10410 || org_id ==10617 || org_id ==10598 || org_id ==10677 || org_id ==10702) && org_id!=10558 && org_id!=10414 && org_id!=10677">置换率(ml/min)</span>
  328. <span v-else>置换率(L/h)</span>
  329. </template>
  330. </van-field>
  331. <van-field v-model="form.replacement_rate_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换率1')" :required="isShow_title('置换率1')" type="number" input-align="right">
  332. <template #label>
  333. <span>置换率(ml/min)</span>
  334. </template>
  335. </van-field>
  336. <van-field v-model="form.displacement_quantity" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换量')" :required="isShow_title('置换量')" type="number" input-align="right">
  337. <template #label>
  338. <span v-if="(template_id == 6 || template_id == 9779 || template_id == 43 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || org_id == 10340 || org_id == 10432 || org_id == 10445) && org_id != 9919 && org_id!=10478 && org_id!=10558 && org_id!=10517 && org_id!=10598 && org_id!=10617 && org_id!=10414 && org_id!=10510 && org_id!=10567">
  339. <span v-if="(template_id == 43) ">置换量(ml/h)</span>
  340. <span v-else>置换量(ml)</span>
  341. </span>
  342. <span v-else>置换量(L)</span>
  343. </template>
  344. </van-field>
  345. <van-field v-model="form.displacement_quantity_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换量1')" :required="isShow_title('置换量1')" type="number" input-align="right">
  346. <template #label>
  347. <span>置换量(L)</span>
  348. </template>
  349. </van-field>
  350. <van-field v-model="form.blood_oxygen_saturation" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('SpO₂')" v-if="isShow('SpO₂')" input-align="right">
  351. <template #label>
  352. <span v-if="template_id == 6 || template_id == 10 || template_id == 11 || template_id == 21">SpO₂(%)</span>
  353. <span v-else>SpO₂(%)</span>
  354. </template>
  355. </van-field>
  356. <van-field v-model="form.blood_oxygen_saturation_one" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('SpO₂1')" v-if="isShow('SpO₂1')" input-align="right">
  357. <template #label>
  358. <span>SpO₂(%)</span>
  359. </template>
  360. </van-field>
  361. <van-field v-model="form.blood_sugar" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血糖')" :required="isShow_title('血糖')" label="血糖(mmol/L)" type="number" input-align="right"/>
  362. <van-field v-model="form.blood_sugar_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血糖1')" :required="isShow_title('血糖1')" label="血糖(mmol/L)" type="number" input-align="right"/>
  363. <van-field v-model="form.displacement_flow_quantity" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液流量')" :required="isShow_title('置换液流量')" type="number" input-align="right">
  364. <template #label>
  365. <span v-if="template_id != 27 && template_id!=29 && template_id!=60">置换液流量(ml/h)</span>
  366. <span v-if="template_id == 27 || template_id == 29 || template_id ==60">置换液流量(ml/min)</span>
  367. </template>
  368. </van-field>
  369. <van-field v-model="form.displacement_flow_quantity_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液流量1')" :required="isShow_title('置换液流量1')" type="number" input-align="right">
  370. <template #label>
  371. <span>置换液流量(ml/min)</span>
  372. </template>
  373. </van-field>
  374. <van-field v-model="form.dialysate_flow" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('透析液流量')" :required="isShow_title('透析液流量')" label="透析液流量(ml/h)" type="number" input-align="right"/>
  375. <van-field v-model="form.dialysate_flow_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('透析液流量1')" :required="isShow_title('透析液流量1')" label="透析液流量(ml/h)" type="number" input-align="right"/>
  376. <van-field v-model="form.heparin" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('肝素用量余量')" :required="isShow_title('肝素用量余量')" label="肝素用量余量(ml)" input-align="right"/>
  377. <van-field v-model="form.heparin_amount" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('肝素量')" :required="isShow_title('肝素量')" label="肝素量(mg)" type="number" input-align="right"/>
  378. <van-field v-model="form.heparin_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('剩余肝素')" :required="isShow_title('剩余肝素')" label="剩余肝素(ml)" input-align="right"/>
  379. <van-cell title='抗凝剂' v-if="isShow('抗凝剂')">
  380. <template #label>
  381. <van-radio-group v-model="form.monitor_anticoagulant">
  382. <van-radio name="-2" key="-2">请选择</van-radio>
  383. <van-radio :name="item.id" v-for='(item,index) in anticoagulantsConfit' :key="index">{{ item.name }}</van-radio>
  384. </van-radio-group>
  385. </template>
  386. </van-cell>
  387. <van-field v-model="form.monitor_anticoagulant_value" @focus="inputFocus" v-if="isShow('抗凝剂')" :required="isShow_title('抗凝剂')" label="抗凝剂" input-align="right"/>
  388. <van-field v-if="isShow('KT/V')" :required="isShow_title('KT/V')" label="Kt/V" @focus="inputFocus" v-model="form.ktv" rows="1" autosize type="textarea" placeholder=""/>
  389. <van-field v-if="isShow('kt/v1')" :required="isShow_title('kt/v1')" label="Kt/V" @focus="inputFocus" v-model="form.ktv_one" rows="1" autosize type="textarea" placeholder=""/>
  390. <van-field v-if="isShow('URR')" :required="isShow_title('URR')" label="URR" @focus="inputFocus" v-model="form.urr" rows="1" autosize type="textarea" placeholder=""/>
  391. <van-field v-if="isShow('urr1')" :required="isShow_title('urr1')" label="URR" @focus="inputFocus" v-model="form.urr_one" rows="1" autosize type="textarea" placeholder=""/>
  392. <van-cell title='并发症' v-if="isShow('并发症')">
  393. <template #label>
  394. <van-radio-group v-model="form.complication">
  395. <van-radio name="-2" key="-2">请选择</van-radio>
  396. <van-radio :name="item.id" v-for='(item,index) in complicationList' :key="index">{{ item.name }}</van-radio>
  397. </van-radio-group>
  398. </template>
  399. </van-cell>
  400. <van-field v-model="form.accumulated_blood_volume" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('累计血容量')" type="number" input-align="right">
  401. <template #label>
  402. <span v-if="template_id == 41 || org_id == 9538 || org_id == 10340 || org_id == 10217">累计血容量(L)</span>
  403. <span v-else>累计血容量(ml)</span>
  404. </template>
  405. </van-field>
  406. <van-field v-model="form.accumulated_blood_volume" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血容量')" label="血容量(L)" type="number" input-align="right"/>
  407. <van-field v-model="form.accumulated_blood_volume_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血容量1')" label="血容量(L)" input-align="right"/>
  408. <van-field v-model="form.blood_temperature" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血温监测')" label="血温监测" type="number" input-align="right"/>
  409. <van-field v-model="form.blood_temperature_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血温监测1')" label="血温监测" input-align="right"/>
  410. <van-field v-model="form.urea_monitoring" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('尿素监测')" label="尿素监测" type="number" input-align="right"/>
  411. <van-field v-model="form.urea_monitoring_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('尿素监测1')" label="尿素监测" input-align="right"/>
  412. <van-field v-model="form.blood_thickness" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血浓量')" label="血浓量" type="number" input-align="right"/>
  413. <van-field v-model="form.blood_thickness_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血浓量1')" label="血浓量" input-align="right"/>
  414. <van-field v-model="form.blood_monitor" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血压监测')" label="血压监测" type="number" input-align="right"/>
  415. <van-field v-model="form.blood_monitor_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血压监测1')" label="血压监测" input-align="right"/>
  416. <van-field v-model="form.dehydration" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('脱水')" label="脱水(L)" type="number" input-align="right"/>
  417. <van-field v-model="form.replacement_speed" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液速度')" label="置换液速度(ml/h)" type="number" input-align="right"/>
  418. <van-field v-model="form.replacement_speed_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液速度1')" label="置换液速度(ml/h)" input-align="right"/>
  419. <van-field v-model="form.dicarbonate" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('碳酸氢钠用量')" label="碳酸氢钠用量(ml)" type="number" input-align="right"/>
  420. <van-field v-model="form.dicarbonate_one" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('碳酸氢钠用量1')" label="碳酸氢钠用量(ml)" input-align="right"/>
  421. <van-cell title='病情变化' v-if="isShow('病情变化')" @click="symptomsShow = true" is-link value="请选择"></van-cell>
  422. <van-popup v-model="symptomsShow" class="listBoxPopup newListBoxPopup" style="z-index:5000">
  423. <div class="listBox">
  424. <div @click="chooseSymptoms('')">请选择</div>
  425. <div v-for="(item,index) in symptoms" :key="index" @click="chooseSymptoms(item.name)">{{ item.name }}</div>
  426. </div>
  427. </van-popup>
  428. <van-field class="bgField" v-if="isShow('病情变化')" :required="isShow_title('病情变化')" @focus="inputFocus" v-model="form.symptom" rows="1" autosize type="textarea" placeholder="请输入"/>
  429. <van-cell title='处理' v-if="isShow('处理')" :required="isShow_title('处理')" @click="disposeShow = true" is-link value="请选择"></van-cell>
  430. <van-popup v-model="disposeShow" class="listBoxPopup newListBoxPopup" style="z-index:5000">
  431. <div class="listBox">
  432. <div @click="chooseDispose('')">请选择</div>
  433. <div v-for="(item,index) in dispose" :key="index" @click="chooseDispose(item.name)">{{ item.name }}</div>
  434. </div>
  435. </van-popup>
  436. <van-field class="bgField" v-if="isShow('处理')" :required="isShow_title('处理')" @focus="inputFocus" v-model="form.dispose" rows="1" autosize type="textarea" placeholder="请输入"/>
  437. <van-cell title='结果' v-if="isShow('结果')" :required="isShow_title('结果')" @click="resultsShow = true" is-link value="请选择"></van-cell>
  438. <van-popup v-model="resultsShow" class="listBoxPopup newListBoxPopup" style="z-index:5000">
  439. <div class="listBox">
  440. <div @click="chooseResults('')">请选择</div>
  441. <div v-for="(item,index) in results" :key="index" @click="chooseResults(item.name)">{{ item.name }}</div>
  442. </div>
  443. </van-popup>
  444. <van-field class="bgField" v-if="isShow('结果')" :required="isShow_title('结果')" @focus="inputFocus" v-model="form.result" rows="1" autosize type="textarea" placeholder="请输入"/>
  445. </div>
  446. <div class="addBox">
  447. <div v-if="form.id>0" @click="submitEditAction">修改</div>
  448. <div v-else @click="submitAction">保存</div>
  449. </div>
  450. </div>
  451. <mt-datetime-picker class="datetimePicker startTimePicker" ref="picker" type="datetime" @confirm="handleConfirm" v-model="pickertime"></mt-datetime-picker>
  452. </div>
  453. </van-popup>
  454. <van-popup v-model="tableShow" get-container="#app" class="mointoringPopup" position="top" :style="{ height: '100%' }">
  455. <div>
  456. <van-sticky>
  457. <div class="newMointoringTitle">
  458. <span @click="tableShow = false" style="color:#323233;font-size: .875rem;"><i class="iconfont icon-zuojiantou jiantou" style="color:#323233;"></i>返回</span>
  459. <span style="font-weight:bold;margin-right: 1.5rem;">表格查看</span>
  460. <span></span>
  461. </div>
  462. </van-sticky>
  463. <div style="width:100%;overflow-x:auto;">
  464. <table class="table newMonitTable tablePopup" style>
  465. <tr >
  466. <th v-if="isShow('监测时间')" width="60px">时间</th>
  467. <th v-if="isShow('血压')" width="40px"> 血压 <br />(mmHg) </th>
  468. <th v-if="isShow('脉搏')" width="30px"> 脉搏 <br />(次/分) </th>
  469. <th v-if="isShow('体温')" width="40px"> 体温 <br />(℃) </th>
  470. <th v-if="isShow('呼吸频率')" width="50px"> 呼吸频率 <br />(次/分) </th>
  471. <th v-if="isShow('血流量')" width="40px"> 血流量 <br />(ml/min) </th>
  472. <th width="60px"> 静脉压/动脉压 <br />({{monitorRecords[0]&&monitorRecords[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  473. <th v-if="isShow('跨膜压')" width="40px"> 跨膜压 <br />({{monitorRecords[0]&&monitorRecords[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
  474. <th v-if="isShow('超滤量') && (template_id ==5 || template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 9 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10387 || org_id == 10432 || org_id == 10445 || org_id == 10480 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id == 10697)" width="50px" > 超滤量 <br />(ml) </th>
  475. <th v-if="isShow('超滤量') && template_id != 5 && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && org_id !=9555 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id !=9 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id!=40 && template_id!=41 && template_id!=43 && template_id!=44 && template_id!=47 && template_id!=46 && template_id!=48 && template_id!=53 && template_id!=54 && template_id!=56 && template_id!=60 && org_id != 10340 && org_id != 10387 && org_id != 10432 && org_id != 10445 && org_id != 10480 && org_id!=10597 && org_id!=10599&&org_id!=10612 && org_id!=10580 && org_id!=10617 && org_id!=10697" width="50px" > 超滤量 <br />(L) </th>
  476. <th v-if="isShow('钠浓度')" width="40px"> 钠浓度 <br />(mmol/L) </th>
  477. <th v-if="isShow('透析液温度')" width="60px"> 透析液温度 <br />(℃) </th>
  478. <th v-if="isShow('置换率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || org_id == 10340 || org_id == 10445 || org_id ==10375) && org_id!=10558 && org_id!=10598 && org_id!=10617" width="50px" > 置换率 <br />(ml/min) </th>
  479. <th v-if="isShow('置换率') && (template_id !=6 && template_id !=10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && org_id!=10340 && org_id!=10445 && org_id!=10375) || org_id ==10558 || org_id ==10598 || org_id ==10617" width="50px" > 置换率 <br />(L/h) </th>
  480. <th v-if="isShow('置换量') && (template_id ==43 )" width="40px" > 置换量 <br />(ml/h) </th>
  481. <th v-if="isShow('置换量') && ((template_id ==6 && org_id != 9919 && org_id!=10191 && template_id!=43) || org_id ==9779 ||template_id ==11 ||template_id ==20 ||template_id ==26 ||template_id ==29 ||template_id == 48 ||template_id == 46 ||template_id == 53 ||template_id == 54 ||template_id == 56 ||org_id == 10340 ||org_id == 10432 ||org_id == 10445) && org_id!=10558 && org_id !=10617 && org_id!=10510" width="50px" > 置换量 <br />(ml) </th>
  482. <th v-if="isShow('置换量') && ((template_id !=6 || org_id == 9919 || org_id == 10191) && org_id !=9779 && template_id !=11 && template_id !=20 && template_id !=26 && template_id !=29 && template_id!=43 && template_id!=48 && template_id!=46 && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340 && org_id!=10432 && org_id!=10445) || org_id == 10558 || org_id ==10617 || org_id == 10510" width="50px" > 置换量 <br />(L) </th>
  483. <th v-if="isShow('SpO₂') && template_id !=6 && template_id !=10 && template_id !=11" width="40px" > SpO₂ <br />(%) </th>
  484. <th v-if="isShow('SpO₂') && org_id == 10447" width="40px" > SpO₂ <br />(%) </th>
  485. <th v-if="isShow('电导度')" width="40px"> 电导度 <br />(mS/cm) </th>
  486. <th v-if="isShow('置换液流量')" width="50px"> 置换液流量 <br /><span v-if="template_id !=27 && template_id !=29 && template_id !=60">(ml/h)</span><span v-if="template_id ==27 || template_id ==29 || template_id==60">(ml/min)</span> </th>
  487. <th v-if="isShow('透析液流量')" width="50px"> 透析液流量 <br />(ml/h) </th>
  488. <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10480 || org_id ==10537 || org_id ==10597 || org_id ==10599 || org_id ==10580 || org_id ==10617 || org_id == 10697)" width="50px"> 超滤率 <br />(ml/h) </th>
  489. <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56 && org_id!=10432 && org_id!=10445 && org_id!=10480 && org_id!=10537 && org_id!=10597 && org_id!=10599 && org_id!=10580 && org_id!=10617 && org_id!=10697" width="50px"> 超滤率 <br />(L/h) </th>
  490. <th v-if="isShow('肝素用量余量')" width="60px"> 肝素用量余量 <br />(ml) </th>
  491. <th v-if="isShow('肝素量')" width="60px"> 肝素量 <br />(mg) </th>
  492. <th v-if="isShow('抗凝剂')" width="60px">抗凝剂</th>
  493. <th v-if="isShow('血压监测部位')" width="60px">血压监测部位</th>
  494. <th v-if="isShow('并发症')" width="60px">并发症</th>
  495. <th v-if="isShow('累计血容量') && (template_id ==41 || org_id ==9538 || org_id == 10340 || org_id == 10217)" width="50px"> 累计血容量 <br />(L) </th>
  496. <th v-if="isShow('累计血容量') && template_id !=41 && org_id!=9538 && org_id!=10340 && org_id!=10217" width="50px"> 累计血容量 <br />(ml) </th>
  497. <th v-if="isShow('血容量')" width="60px">血容量(L)</th>
  498. <th v-if="isShow('血温监测')" width="60px">血温监测</th>
  499. <th v-if="isShow('尿素监测')" width="60px">尿素监测</th>
  500. <th v-if="isShow('血浓量')" width="60px">血浓量</th>
  501. <!-- <th v-if="isShow('血浓量')" width="60px">血浓量</th> -->
  502. <th v-if="isShow('脱水')" width="60px">脱水</th>
  503. <th v-if="isShow('KT/V') && (org_id == 9987|| org_id == 10215 || org_id == 9800 || org_id ==10517)" width="60px">Kt/V</th>
  504. <th v-if="isShow('病情变化')" width="92px">病情变化</th>
  505. <th v-if="isShow('处理')" width="92px">处理</th>
  506. <th v-if="isShow('结果')" width="92px">结果</th>
  507. </tr>
  508. <tr v-for="(item,index) in monitorRecords" :key="index" :value="item.value">
  509. <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, '{y}-{m}-{d} {h}:{i}')}}</td>
  510. <td v-if="isShow('血压')" >{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
  511. <td v-if="isShow('脉搏')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
  512. <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
  513. <td v-if="isShow('呼吸频率')">{{item.breathing_rate?item.breathing_rate:'/'}}</td>
  514. <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
  515. <td> {{item.venous_pressure?item.venous_pressure:''}}/{{item.arterial_pressure?item.arterial_pressure:''}}</td>
  516. <td v-if="isShow('跨膜压')" >{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</td>
  517. <td v-if="isShow('超滤量')" >
  518. {{item.ultrafiltration_volume?item.ultrafiltration_volume:''}}
  519. </td>
  520. <td v-if="isShow('钠浓度')">{{item.sodium_concentration?item.sodium_concentration:''}}</td>
  521. <td v-if="isShow('透析液温度')" >{{item.dialysate_temperature?item.dialysate_temperature:''}}</td>
  522. <td v-if="isShow('置换率')">{{item.replacement_rate?item.replacement_rate:''}}</td>
  523. <td v-if="isShow('置换量')" >{{item.displacement_quantity?item.displacement_quantity:''}}</td>
  524. <td v-if="isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11" >
  525. <span v-if="org_id == 10340">{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:'/'}}</span>
  526. <span v-else>{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:''}}</span>
  527. </td>
  528. <td v-if="isShow('电导度')">{{item.conductivity?item.conductivity:''}}</td>
  529. <td v-if="isShow('置换液流量')" >{{item.displacement_flow_quantity?item.displacement_flow_quantity:''}}</td>
  530. <td v-if="isShow('透析液流量')" >{{item.dialysate_flow?item.dialysate_flow:''}}</td>
  531. <td v-if="isShow('超滤率')" >{{item.ultrafiltration_rate?item.ultrafiltration_rate:''}}</td>
  532. <td v-if="isShow('肝素用量余量')&& prescription_prop && prescription_prop.anticoagulant == 2">{{item.heparin?item.heparin:''}}</td>
  533. <td v-if="isShow('肝素量')">{{item.heparin_amount?item.heparin_amount:''}}</td>
  534. <td v-if="isShow('抗凝剂')">
  535. <span v-if="item.monitor_anticoagulant == 0"></span>
  536. <span v-if="item.monitor_anticoagulant == 1">无肝素</span>
  537. <span v-if="item.monitor_anticoagulant == 2">普通肝素</span>
  538. <span v-if="item.monitor_anticoagulant == 3">低分子肝素</span>
  539. <span v-if="item.monitor_anticoagulant == 4">阿加曲班</span>
  540. <span v-if="item.monitor_anticoagulant == 5">枸橼酸钠</span>
  541. <span v-if="item.monitor_anticoagulant == 6">低分子肝素钙</span>
  542. <span v-if="item.monitor_anticoagulant == 7">低分子肝素钠</span>
  543. <span v-if="item.monitor_anticoagulant == 8">依诺肝素</span>
  544. <span v-if="item.monitor_anticoagulant == 9">达肝素</span>
  545. <span v-if="item.monitor_anticoagulant == 11">那屈肝素</span>
  546. <span v-if="item.monitor_anticoagulant == 12">无抗凝剂</span>
  547. <span v-if="item.monitor_anticoagulant == 13">那屈肝素钙</span>
  548. <span v-if="item.monitor_anticoagulant_value!=''">({{item.monitor_anticoagulant_value}})</span>
  549. </td>
  550. <td v-if="isShow('KT/V') && (org_id == 9987 || org_id ==10215 || org_id == 9800 || org_id == 10278 || org_id == 10138 || org_id ==10517)">{{item.ktv?item.ktv:''}}</td>
  551. <td v-if="isShow('病情变化')">{{item.symptom}}</td>
  552. <td v-if="isShow('处理')">{{item.dispose}}</td>
  553. <td v-if="isShow('结果')">{{item.result}}</td>
  554. </tr>
  555. </table>
  556. </div>
  557. </div>
  558. </van-popup>
  559. </div>
  560. <div class="preserveBox">
  561. <!-- <van-checkbox class="allcheckTitle" v-model="allChecked" @click="toggle">全选</van-checkbox>
  562. <p style="font-size:.875rem;" @click="openTable">表格查看</p> -->
  563. <span :class="{ forbid: is_has_create != true }" @click="openForm">新增</span>
  564. <span :class="{ forbid: is_has_modify != true && is_has_modify_other != true }" @click="openEidtForm">修改</span>
  565. <span :class="{ forbid: is_has_del != true && is_has_del_other != true }" class="deleteColor" @click="deleteForm">删除</span>
  566. <!-- <div @click="commitInfo">保存</div> -->
  567. </div>
  568. <van-popup
  569. v-model="infor_visibility"
  570. class="advicePopup"
  571. get-container="#today_panel"
  572. >
  573. <infor-sub-menu
  574. :visibility="infor_visibility"
  575. v-on:menu-cancle-three="menuCancleFour"
  576. v-on:menu-comfirm-three="menuComfirmFour"
  577. >
  578. </infor-sub-menu>
  579. </van-popup>
  580. </div>
  581. </template>
  582. <script>
  583. import { addMonitorRecord, deleteMonitorRecord, editMonitorRecord, GetMonitor, GetMonitorToday, batchDeleteMonitor,saveMobileInformation } from '@/api/dialysis'
  584. import { parseTime } from '@/utils'
  585. import { Dialog, Toast } from 'vant'
  586. import { getDataConfig } from '@/utils/data'
  587. import InforSubMenu from "../dialog/subMenu/InforSubMenu"
  588. import request from '@/utils/request'
  589. import { Console } from 'console'
  590. export default {
  591. props: {
  592. monitor_records: {
  593. type: Array
  594. },
  595. patient: {
  596. type: Object
  597. },
  598. order: {
  599. type: Object
  600. },
  601. last_monitor_record: {
  602. type: Object
  603. },
  604. dialysis_order: {
  605. type: Object
  606. },
  607. prescription_prop: {
  608. type: Object
  609. },
  610. assessment_after_dislysis:{
  611. type:Object
  612. }
  613. },
  614. components:{
  615. InforSubMenu
  616. },
  617. data () {
  618. return {
  619. is_has_create: true,
  620. is_has_modify: true,
  621. is_has_modify_other: true,
  622. is_has_del: true,
  623. is_has_del_other: true,
  624. list: ['a', 'b'],
  625. result: [],
  626. monitorRecords: this.monitor_records,
  627. pickertime: new Date(),
  628. form: {
  629. // patient_id: 0,
  630. // order_id: 0,
  631. monitor_date: 0,
  632. // monitor_time: "00:00",
  633. operate_time: 0,
  634. pulse_frequency: '', // 脉率
  635. breathing_rated: '', // 呼吸频率
  636. systolic_bp: '', // 收缩压
  637. diastolic_bp: '', // 舒张压
  638. blood_flow_volume: '', // 血流量
  639. venous_pressure: '', // 静脉压
  640. venous_pressure_type: 1, // 静脉压类型
  641. arterial_pressure: '', // 动脉压
  642. arterial_pressure_type: 1, // 动脉压类型
  643. transmembrane_pressure: '', // 跨膜压
  644. transmembrane_pressure_type: 1, // 跨膜压类型
  645. ultrafiltration_rate: '', // 超滤率
  646. ultrafiltration_volume: '', // 超滤量
  647. sodium_concentration: '', // 钠浓度
  648. dialysate_temperature: '', // 透析液温度
  649. temperature: '', // 体温
  650. replacement_rate: '', // 置换率
  651. displacement_quantity: '', // 置换量
  652. conductivity: '',
  653. displacement_flow_quantity: '',
  654. ktv: '', // KT/V(在线)
  655. symptom: '', // 症状
  656. dispose: '', // 处理
  657. result: '', // 结果,
  658. blood_oxygen_saturation: '',
  659. monitoring_nurse: this.$store.getters.user.admin.id, // 监测人
  660. creator: 0,
  661. heparin: '',
  662. dialysate_flow: '',
  663. urr: '',
  664. blood_sugar: '',
  665. monitor_anticoagulant: '',
  666. monitor_anticoagulant_value: '',
  667. blood_pressure_monitoring_site: '',
  668. complication: '',
  669. accumulated_blood_volume: '',
  670. blood_temperature: '',
  671. urea_monitoring: '',
  672. blood_thickness: '',
  673. blood_monitor: '',
  674. heparin_amount: '',
  675. dehydration: '',
  676. filter_pressure: '',
  677. replacement_speed:'', // 置换液速度
  678. dicarbonate:"",//碳酸氢钠
  679. remaining_amount_water:"",//肝素用量余量
  680. dehydration: '',
  681. filter_pressure: '',
  682. replacement_speed:'', // 置换液速度
  683. dicarbonate:"",//碳酸氢钠
  684. remaining_amount_water:"",//肝素用量余量
  685. is_pressure:"否",
  686. heparin_one:"",
  687. ultrafiltration_rate_one:"",
  688. monitor_systolic_blood_pressure_one:"",
  689. monitor_diastolic_blood_pressure_one:"",
  690. monitor_pulse_frequency_one:"",
  691. blood_flow_volume_one:"",
  692. venous_pressure_one:"",
  693. arterial_pressure_one:"",
  694. transmembrane_pressure_one:"",
  695. ultrafiltration_volume_one:"",
  696. sodium_concentration_one:"",
  697. dialysate_temperature_one:"",
  698. replacement_rate_one:"",
  699. displacement_quantity_one:"",
  700. ktv_one:"",
  701. urr_one:"",
  702. conductivity_one:"",
  703. displacement_flow_quantity_one:"",
  704. blood_oxygen_saturation_one:"",
  705. dialysate_flow_one:"",
  706. blood_sugar_one:"",
  707. monitor_temperature_one:"",
  708. pulse_frequency_one:"",
  709. blood_temperature_one:"",
  710. urea_monitoring_one:"",
  711. blood_thickness_one:"",
  712. blood_monitor_one:"",
  713. replacement_speed_one:"",
  714. dicarbonate_one:"",
  715. accumulated_blood_volume_one:"",
  716. },
  717. anticoagulantsConfit: [],
  718. allChecked: false,
  719. show: false,
  720. symptomsArr: [],
  721. disposeArr: [],
  722. resultsArr: [],
  723. formTitle: '新增监测',
  724. currentIndex: -1,
  725. currentRow: null,
  726. tableShow: false,
  727. bloodPressureMmonitoringSite: [],
  728. complicationList: [],
  729. symptomsShow: false,
  730. disposeShow: false,
  731. resultsShow: false,
  732. infor_visibility: false,
  733. pressureList:[
  734. {id:1,name:"是"},
  735. {id:2,name:"否"}
  736. ]
  737. }
  738. },
  739. created () {
  740. this.getPermission()
  741. var date = this.$route.query && this.$route.query.date
  742. this.template_id = this.$store.getters.user.template_info.template_id
  743. this.org_id = this.$store.getters.user.template_info.org_id
  744. this.form.monitor_date = date
  745. this.form.operate_time = this.pickertime.getTime()
  746. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  747. this.symptoms = getDataConfig('hemodialysis', 'symptoms')
  748. this.dispose = getDataConfig('hemodialysis', 'deals')
  749. this.results = getDataConfig('hemodialysis', 'results')
  750. if(this.monitorRecords!=null && this.monitorRecords.length>0){
  751. this.monitorRecords.sort((a, b) => a.operate_time - b.operate_time)
  752. }
  753. this.bloodPressureMmonitoringSite = getDataConfig('hemodialysis', 'blood_pressure_monitoring_site')
  754. this.complicationList = getDataConfig('hemodialysis', 'complication')
  755. },
  756. methods: {
  757. changeFocus (e) {
  758. var inputGroup = document.getElementsByTagName('input')
  759. var inputGroupArr = Array.from(document.getElementsByTagName('input'))
  760. var iGlength = inputGroupArr.length
  761. var e = event || e
  762. var idx = inputGroupArr.indexOf(e.srcElement)
  763. if (e.keyCode == 13 || e.which == 13) {
  764. inputGroup[idx + 1].focus()
  765. }
  766. // e.preventDefault();
  767. },
  768. restrict(even){
  769. const e=even.target.value
  770. if((e<130||e>250)){
  771. Toast.fail(`收缩压不能小于130,大于250`)
  772. }
  773. },
  774. diastolic(even){
  775. const e=even.target.value
  776. if((e<50||e>80)){
  777. Toast.fail(`舒张压不能小于50,大于80`)
  778. }
  779. },
  780. frequency(even){
  781. const e=even.target.value
  782. if((e<50||e>130)){
  783. Toast.fail(`脉搏不能小于50,大于130`)
  784. }
  785. },
  786. temperature(even){
  787. const e=even.target.value
  788. if((e<36||e>37)){
  789. Toast.fail(`体温不能小于36,大于37`)
  790. }
  791. },
  792. breathing(even){
  793. const e=even.target.value
  794. if((e<16||e>20)){
  795. Toast.fail(`呼吸频率不能小于16,大于20`)
  796. }
  797. },
  798. blood(even){
  799. const e=even.target.value
  800. if((e<180||e>300)){
  801. Toast.fail(`血流量不能小于180,大于300`)
  802. }
  803. },
  804. sodium(even){
  805. const e=even.target.value
  806. if((e<136||e>142)){
  807. Toast.fail(`钠浓度不能小于136,大于142`)
  808. }
  809. },
  810. conductivity(even){
  811. const e=even.target.value
  812. if((e<136||e>142)){
  813. Toast.fail(`电导度不能小于136,大于142`)
  814. }
  815. },
  816. dialysate(even){
  817. const e=even.target.value
  818. if((e<35||e>37)){
  819. Toast.fail(`透析液温度不能小于35,大于37`)
  820. }
  821. },
  822. inputFocus: function (event) {
  823. var input = event.target
  824. if (input.setSelectionRange) {
  825. setTimeout(function () {
  826. input.setSelectionRange(0, input.value.length)
  827. }, 0)
  828. } else if (input.createTextRange) {
  829. var rng = input.createTextRange()
  830. rng.move('character', input.value.length)
  831. rng.select()
  832. }
  833. },
  834. isShow (name) {
  835. var filedList = this.$store.getters.user.fileds
  836. for (let i = 0; i < filedList.length; i++) {
  837. if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
  838. return true
  839. }
  840. }
  841. return false
  842. },
  843. isShow_title (name) {
  844. var filedList = this.$store.getters.user.fileds
  845. for (let i = 0; i < filedList.length; i++) {
  846. if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1&&
  847. filedList[i].is_write == 1) {
  848. return true
  849. }
  850. }
  851. return false
  852. },
  853. getArrEqual(arr1, arr2) {
  854. let newArr = [];
  855. for (let i = 0; i < arr2.length; i++) {
  856. for (let j = 0; j < arr1.length; j++) {
  857. if (arr1[j].module == 4&&arr1[j].is_show == 1 &&arr1[j].filed_name === arr2[i][0]&&arr1[j].is_write == 1) {
  858. newArr.push(arr1[j]);
  859. }
  860. }
  861. }
  862. return newArr;
  863. },
  864. open_tips(info) {
  865. for (let i = 0; i < info.length; i++) {
  866. if (info[i].is_write == 1) {
  867. Toast.fail(`${info[i].filed_name_cn}为必填字段,不能为空`)
  868. }
  869. }
  870. },
  871. parseTime (time, layout) {
  872. return parseTime(time, layout)
  873. },
  874. getTimes (time) {
  875. return parseTime(time, '{h}:{i}')
  876. },
  877. getTime (time) {
  878. if (time == 0) {
  879. return ''
  880. } else {
  881. return parseTime(time, '{h}:{i}')
  882. }
  883. },
  884. // 自动计算 超滤量
  885. handleConfirm (time) {
  886. console.log("haaaaaaaaaaaaaa",this.org_id)
  887. if(this.org_id!=10693){
  888. // 获取每分钟的超滤率
  889. if (this.form.ultrafiltration_rate > 0) {
  890. var ultrafiltration_rate_min = (this.form.ultrafiltration_rate / 60).toFixed(0)
  891. var operateTime = time / 1000
  892. if (this.order.id > 0) {
  893. if (operateTime > this.order.start_time) {
  894. // 获取时间差
  895. var total_min = (operateTime - this.order.start_time) / 60
  896. if (total_min / 60 == 1 || total_min / 60 == 2 || total_min / 60 == 3 || total_min / 60 == 4 || total_min / 60 == 5 || total_min / 60 == 6) {
  897. this.form.ultrafiltration_volume = (this.form.ultrafiltration_rate * (total_min / 60))
  898. } else {
  899. // 获取超滤量的值
  900. this.form.ultrafiltration_volume = ultrafiltration_rate_min * total_min
  901. }
  902. }
  903. }
  904. }
  905. }
  906. if(this.org_id == 10693){
  907. // 获取每分钟的超滤率
  908. if (this.form.ultrafiltration_rate_one > 0) {
  909. // var ultrafiltration_rate_min = (this.form.ultrafiltration_rate_one / 60).toFixed(0)
  910. // console.log("ultrafiltration_rate_min-----------",ultrafiltration_rate_min)
  911. var operateTime = time / 1000
  912. if (this.order.id > 0) {
  913. if (operateTime > this.order.start_time) {
  914. // 获取时间差
  915. var total_min = (operateTime - this.order.start_time) / 60
  916. console.log("数据-233333333333333333333",total_min)
  917. // console.log("this.form.ultrafiltration_volume_one",this.form.ultrafiltration_volume_one)
  918. // console.log("total_min------------------",total_min)
  919. // console.log("this.form.ultrafiltration_volume_one * total_min",this.form.ultrafiltration_volume_one * total_min)
  920. // 获取超滤量的值
  921. this.form.ultrafiltration_volume_one = ((this.form.ultrafiltration_rate_one * total_min)/60).toFixed(0)
  922. }
  923. }
  924. }
  925. }
  926. this.form.operate_time = time.getTime()
  927. },
  928. toggle () {
  929. this.result = []
  930. if (this.allChecked) {
  931. for (let i = 0; i < this.monitorRecords.length; i++) {
  932. this.result.push(this.monitorRecords[i].id)
  933. }
  934. } else {
  935. this.result = []
  936. }
  937. },
  938. checkGroup (arr) {
  939. if (arr.length == this.monitorRecords.length) {
  940. this.allChecked = true
  941. } else {
  942. this.allChecked = false
  943. }
  944. if (arr.length == 1) {
  945. this.monitorRecords.map(item => {
  946. if (item.id == arr.toString()) {
  947. this.currentRow = item
  948. }
  949. })
  950. } else {
  951. this.currentRow = null
  952. }
  953. },
  954. selectRow (index, row) {
  955. if (row != null) {
  956. this.creator = row.creator
  957. }
  958. this.currentIndex = index
  959. this.currentRow = row
  960. },
  961. chooseTime () {
  962. this.$refs.picker.open()
  963. },
  964. openForm () {
  965. if (this.is_has_create == false) {
  966. Toast.fail('你没有新增监测的权限')
  967. return false
  968. }
  969. this.show = true
  970. this.formTitle = '新增监测'
  971. var date = this.$route.query && this.$route.query.date
  972. date *= 1000
  973. var newDate = new Date(date)
  974. var y = newDate.getFullYear()
  975. var m = newDate.getMonth() + 1
  976. var d = newDate.getDate()
  977. var record_date = y + '/' + (m < 10 ? '0' + m : m) + '/' + (d < 10 ? '0' + d : d)
  978. this.form.monitor_date = new Date(record_date + ' 00:00:00').getTime() / 1000
  979. this.getLastRecordTody()
  980. },
  981. submitAction: function () {
  982. var params = {}
  983. params.patient_id = this.patient.id
  984. params.order_id = this.order == null ? 0 : this.order.id
  985. params.date = this.form.monitor_date
  986. params.operate_time = parseInt(this.form.operate_time / 1000)
  987. params.pulse_frequency = this.form.pulse_frequency
  988. params.breathing_rated = this.form.breathing_rated
  989. params.systolic_bp = this.form.systolic_bp
  990. params.diastolic_bp = this.form.diastolic_bp
  991. params.blood_flow_volume = this.form.blood_flow_volume
  992. params.venous_pressure = this.form.venous_pressure
  993. params.venous_pressure_type = this.form.venous_pressure_type
  994. params.arterial_pressure = this.form.arterial_pressure
  995. params.arterial_pressure_type = this.form.arterial_pressure_type
  996. params.transmembrane_pressure = this.form.transmembrane_pressure
  997. params.transmembrane_pressure_type = this.form.transmembrane_pressure_type
  998. params.ultrafiltration_rate = this.form.ultrafiltration_rate
  999. params.ultrafiltration_volume = this.form.ultrafiltration_volume
  1000. params.sodium_concentration = this.form.sodium_concentration
  1001. params.dialysate_temperature = this.form.dialysate_temperature
  1002. params.temperature = this.form.temperature
  1003. params.replacement_rate = this.form.replacement_rate
  1004. params.displacement_quantity = this.form.displacement_quantity
  1005. params.conductivity = this.form.conductivity
  1006. params.displacement_flow_quantity = this.form.displacement_flow_quantity
  1007. params.blood_oxygen_saturation = this.form.blood_oxygen_saturation
  1008. params.heparin = this.form.heparin
  1009. params.dialysate_flow = this.form.dialysate_flow
  1010. params.ktv = this.form.ktv
  1011. params.urr = this.form.urr
  1012. params.blood_sugar = this.form.blood_sugar
  1013. params.symptom = this.form.symptom
  1014. params.dispose = this.form.dispose
  1015. params.result = this.form.result
  1016. params.monitoring_nurse = this.form.monitoring_nurse
  1017. params.mode = '1'
  1018. params.monitor_anticoagulant = this.form.monitor_anticoagulant
  1019. params.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value
  1020. params.blood_pressure_monitoring_site = this.form.blood_pressure_monitoring_site
  1021. params.complication = this.form.complication
  1022. params.accumulated_blood_volume = this.form.accumulated_blood_volume
  1023. params.blood_temperature = this.form.blood_temperature
  1024. params.urea_monitoring = this.form.urea_monitoring
  1025. params.blood_thickness = this.form.blood_thickness
  1026. params.blood_monitor = this.form.blood_monitor
  1027. params.heparin_amount = this.form.heparin_amount
  1028. params.dehydration = this.form.dehydration
  1029. params.filter_pressure = this.form.filter_pressure
  1030. params.replacement_speed = this.form.replacement_speed
  1031. params.dicarbonate = this.form.dicarbonate
  1032. params.is_pressure = this.form.is_pressure
  1033. params.ultrafiltration_rate_one = this.form.ultrafiltration_rate_one
  1034. params.heparin_one = this.form.heparin_one
  1035. params.ultrafiltration_rate_one = this.form.ultrafiltration_rate_one
  1036. params.monitor_systolic_blood_pressure_one = this.form.monitor_systolic_blood_pressure_one
  1037. params.monitor_diastolic_blood_pressure_one =this.form.monitor_diastolic_blood_pressure_one
  1038. params.monitor_pulse_frequency_one = this.form.monitor_pulse_frequency_one
  1039. params.blood_flow_volume_one = this.form.blood_flow_volume_one
  1040. params.venous_pressure_one = this.form.venous_pressure_one
  1041. params.arterial_pressure_one = this.form.arterial_pressure_one
  1042. params.transmembrane_pressure_one = this.form.transmembrane_pressure_one
  1043. params.ultrafiltration_volume_one = this.form.ultrafiltration_volume_one
  1044. params.sodium_concentration_one = this.form.sodium_concentration_one
  1045. params.dialysate_temperature_one = this.form.dialysate_temperature_one
  1046. params.replacement_rate_one = this.form.replacement_rate_one
  1047. params.displacement_quantity_one = this.form.displacement_quantity_one
  1048. params.ktv_one = this.form.ktv_one
  1049. params.urr_one = this.form.urr_one
  1050. params.conductivity_one = this.form.conductivity_one
  1051. params.displacement_flow_quantity_one = this.form.displacement_flow_quantity_one
  1052. params.blood_oxygen_saturation_one = this.form.blood_oxygen_saturation_one
  1053. params.dialysate_flow_one = this.form.dialysate_flow_one
  1054. params.blood_sugar_one = this.form.blood_sugar_one
  1055. params.monitor_temperature_one = this.form.monitor_temperature_one
  1056. params.pulse_frequency_one = this.form.pulse_frequency_one
  1057. params.blood_temperature_one = this.form.blood_temperature_one
  1058. params.urea_monitoring_one = this.form.urea_monitoring_one
  1059. params.blood_thickness_one = this.form.blood_thickness_one
  1060. params.blood_monitor_one = this.form.blood_monitor_one
  1061. params.replacement_speed_one = this.form.replacement_speed_one
  1062. params.dicarbonate_one = this.form.dicarbonate_one
  1063. params.accumulated_blood_volume_one = this.form.accumulated_blood_volume_one
  1064. console.log('params', params)
  1065. // 必填弹窗开始
  1066. let result = [];
  1067. let filedList = this.$store.getters.user.fileds;
  1068. let new_arr = Object.entries(params);
  1069. new_arr.forEach((el) => {
  1070. if (el[1] === "" || el[1] === 0 ) {
  1071. // result.push(el);
  1072. result.unshift(el)
  1073. }
  1074. });
  1075. let warnarr = [];
  1076. warnarr = this.getArrEqual(filedList, result);
  1077. if (warnarr.length > 0) {
  1078. this.open_tips(warnarr);
  1079. // 必填弹窗结束
  1080. } else {
  1081. this.loading = true
  1082. Toast.loading({ forbidClick: true, duration: 0 })
  1083. addMonitorRecord(params).then(rs => {
  1084. var resp = rs.data
  1085. if (resp.state == 1) {
  1086. this.loading = false
  1087. var monitor = resp.data.monitor
  1088. this.$emit('did_add_monitor', monitor)
  1089. this.form.pulse_frequency = ''
  1090. this.form.breathing_rated = ''
  1091. this.form.systolic_bp = ''
  1092. this.form.diastolic_bp = ''
  1093. this.form.blood_flow_volume = ''
  1094. this.form.venous_pressure = ''
  1095. this.form.arterial_pressure = ''
  1096. this.form.transmembrane_pressure = ''
  1097. this.form.ultrafiltration_rate = ''
  1098. this.form.ultrafiltration_volume = ''
  1099. this.form.sodium_concentration = ''
  1100. this.form.dialysate_temperature = ''
  1101. this.form.temperature = ''
  1102. this.form.replacement_rate = ''
  1103. this.form.displacement_quantity = ''
  1104. this.form.ktv = ''
  1105. this.form.symptom = ''
  1106. this.form.dispose = ''
  1107. this.form.result = ''
  1108. this.form.conductivity = ''
  1109. this.form.displacement_flow_quantity = ''
  1110. this.form.heparin = ''
  1111. this.form.dialysate_flow = ''
  1112. this.form.urr = ''
  1113. this.form.blood_sugar = ''
  1114. this.form.monitor_anticoagulant = ''
  1115. this.form.monitor_anticoagulant_value = ''
  1116. this.form.complication = ''
  1117. this.form.blood_pressure_monitoring_site = ''
  1118. this.form.accumulated_blood_volume = ''
  1119. this.form.blood_temperature = ''
  1120. this.form.urea_monitoring = ''
  1121. this.form.blood_thickness = ''
  1122. this.form.blood_monitor = ''
  1123. this.form.dehydration = ''
  1124. this.form.heparin_amount = ''
  1125. this.form.filter_pressure = ''
  1126. this.form.replacement_speed = ""
  1127. this.form.dicarbonate = ""
  1128. this.form.ultrafiltration_rate_one = ""
  1129. this.form.heparin_one = ""
  1130. this.form.monitor_diastolic_blood_pressure_one = ""
  1131. this.form.monitor_systolic_blood_pressure_one =""
  1132. this.form.monitor_pulse_frequency_one=""
  1133. this.form.blood_flow_volume_one=""
  1134. this.form.venous_pressure_one = ""
  1135. this.form.arterial_pressure_one= ""
  1136. this.form.transmembrane_pressure_one= ""
  1137. this.form.ultrafiltration_volume_one = ""
  1138. this.form.sodium_concentration_one = ""
  1139. this.form.dialysate_temperature_one =""
  1140. this.form.replacement_rate_one =""
  1141. this.form.displacement_quantity_one = ""
  1142. this.form.ktv_one =""
  1143. this.form.urr_one = ""
  1144. this.form.conductivity_one = ""
  1145. this.form.displacement_flow_quantity_one = ""
  1146. this.form.blood_oxygen_saturation_one = ""
  1147. this.form.dialysate_flow_one = ""
  1148. this.form.blood_sugar_one = ""
  1149. this.form.monitor_temperature_one =""
  1150. this.form.pulse_frequency_one = ""
  1151. this.form.blood_temperature_one = ""
  1152. this.form.urea_monitoring_one = ""
  1153. this.form.blood_thickness_one = ""
  1154. this.form.blood_monitor_one = ""
  1155. this.form.replacement_speed_one = ""
  1156. this.form.dicarbonate_one =""
  1157. this.form.accumulated_blood_volume_one =""
  1158. // this.last_monitor_record.sodium_concentration =
  1159. // monitor.sodium_concentration
  1160. // this.last_monitor_record.dialysate_temperature =
  1161. // monitor.dialysate_temperature
  1162. Toast.success('新增成功')
  1163. this.formPanel = false
  1164. this.listPanel = true
  1165. this.symptomsArr = []
  1166. this.disposeArr = []
  1167. this.resultsArr = []
  1168. this.show = false
  1169. // this.$nextTick(() => {
  1170. // this.$refs[`crewData${this.monitorRecords.length-1}`].scrollIntoView()
  1171. // })监测
  1172. } else {
  1173. this.loading = false
  1174. this.symptomsArr = []
  1175. this.disposeArr = []
  1176. this.resultsArr = []
  1177. this.show = false
  1178. Toast.fail(resp.msg)
  1179. if(resp.code == 600000008){
  1180. this.loading = false
  1181. this.show = false
  1182. this.infor_visibility = true
  1183. }
  1184. }
  1185. })
  1186. .catch(err => {
  1187. this.loading = false
  1188. this.symptomsArr = []
  1189. this.disposeArr = []
  1190. this.resultsArr = []
  1191. this.show = false
  1192. Toast.fail(err)
  1193. })
  1194. }
  1195. },
  1196. openEidtForm () {
  1197. if (this.currentRow == null) {
  1198. Toast.fail('请先选择要修改的记录')
  1199. return false
  1200. } else {
  1201. this.formTitle = '修改监测'
  1202. this.show = true
  1203. }
  1204. this.formPanel = true
  1205. this.listPanel = false
  1206. if (this.currentRow.systolic_blood_pressure == 0) {
  1207. this.form.systolic_bp = ''
  1208. } else {
  1209. this.form.systolic_bp = this.currentRow.systolic_blood_pressure
  1210. }
  1211. if (this.currentRow.diastolic_blood_pressure == 0) {
  1212. this.form.diastolic_bp = ''
  1213. } else {
  1214. this.form.diastolic_bp = this.currentRow.diastolic_blood_pressure
  1215. }
  1216. if (this.currentRow.pulse_frequency == 0) {
  1217. this.form.pulse_frequency = ''
  1218. } else {
  1219. this.form.pulse_frequency = this.currentRow.pulse_frequency
  1220. }
  1221. if (this.currentRow.breathing_rate == 0) {
  1222. this.form.breathing_rated = ''
  1223. } else {
  1224. this.form.breathing_rated = this.currentRow.breathing_rate
  1225. }
  1226. if (this.currentRow.blood_flow_volume == 0) {
  1227. this.form.blood_flow_volume = ''
  1228. } else {
  1229. this.form.blood_flow_volume = this.currentRow.blood_flow_volume
  1230. }
  1231. if (this.currentRow.venous_pressure == 0) {
  1232. this.form.venous_pressure = ''
  1233. } else {
  1234. this.form.venous_pressure = this.currentRow.venous_pressure
  1235. }
  1236. this.form.venous_pressure_type = this.currentRow.venous_pressure_type ? this.currentRow.venous_pressure_type : 1
  1237. if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340) {
  1238. if (this.currentRow.arterial_pressure == 0) {
  1239. this.form.arterial_pressure = '-100'
  1240. this.form.arterial_pressure = '-'
  1241. } else {
  1242. this.form.arterial_pressure = this.currentRow.arterial_pressure
  1243. }
  1244. } else {
  1245. if (this.currentRow.arterial_pressure == 0) {
  1246. if(this.org_id == 10495){
  1247. this.form.arterial_pressure = '-'
  1248. }else{
  1249. this.form.arterial_pressure = ''
  1250. }
  1251. if(this.org_id == 10495){
  1252. this.form.arterial_pressure = '-'
  1253. }else{
  1254. this.form.arterial_pressure = ''
  1255. }
  1256. } else {
  1257. this.form.arterial_pressure = this.currentRow.arterial_pressure
  1258. }
  1259. }
  1260. this.form.arterial_pressure_type = this.currentRow.arterial_pressure_type ? this.currentRow.arterial_pressure_type : 1
  1261. if (this.currentRow.transmembrane_pressure == 0) {
  1262. this.form.transmembrane_pressure = ''
  1263. } else {
  1264. this.form.transmembrane_pressure = this.currentRow.transmembrane_pressure
  1265. }
  1266. this.form.transmembrane_pressure_type = this.currentRow.transmembrane_pressure_type ? this.currentRow.transmembrane_pressure_type : 1
  1267. if (this.currentRow.ultrafiltration_rate == 0) {
  1268. this.form.ultrafiltration_rate = ''
  1269. } else {
  1270. this.form.ultrafiltration_rate = this.currentRow.ultrafiltration_rate
  1271. }
  1272. if(this.org_id !=10551 && this.org_id!=10644){
  1273. if (this.currentRow.ultrafiltration_volume == 0) {
  1274. this.form.ultrafiltration_volume = ''
  1275. } else {
  1276. this.form.ultrafiltration_volume = this.currentRow.ultrafiltration_volume
  1277. }
  1278. }
  1279. if(this.org_id == 10551 || this.org_id == 10644 || this.org_id == 10679){
  1280. this.form.ultrafiltration_volume = this.currentRow.ultrafiltration_volume?this.currentRow.ultrafiltration_volume:0
  1281. }
  1282. if (this.currentRow.sodium_concentration == 0) {
  1283. this.form.sodium_concentration = ''
  1284. } else {
  1285. this.form.sodium_concentration = this.currentRow.sodium_concentration
  1286. }
  1287. if (this.currentRow.dialysate_temperature == 0) {
  1288. this.form.dialysate_temperature = ''
  1289. } else {
  1290. if(this.org_id == 10495){
  1291. this.form.dialysate_temperature = 36.5
  1292. }else{
  1293. this.form.dialysate_temperature = this.currentRow.dialysate_temperature
  1294. }
  1295. if(this.org_id == 10495){
  1296. this.form.dialysate_temperature = 36.5
  1297. }else{
  1298. this.form.dialysate_temperature = this.currentRow.dialysate_temperature
  1299. }
  1300. }
  1301. if (this.currentRow.temperature == 0) {
  1302. this.form.temperature = ''
  1303. } else {
  1304. this.form.temperature = this.currentRow.temperature
  1305. }
  1306. if (this.currentRow.replacement_rate == 0) {
  1307. this.form.replacement_rate = ''
  1308. } else {
  1309. this.form.replacement_rate = this.currentRow.replacement_rate
  1310. }
  1311. if (this.currentRow.displacement_quantity == 0) {
  1312. this.form.displacement_quantity = ''
  1313. } else {
  1314. this.form.displacement_quantity = this.currentRow.displacement_quantity
  1315. }
  1316. if (this.currentRow.conductivity == 0) {
  1317. this.form.conductivity = ''
  1318. } else {
  1319. this.form.conductivity = this.currentRow.conductivity
  1320. }
  1321. if (this.currentRow.displacement_flow_quantity == 0) {
  1322. this.form.displacement_flow_quantity = ''
  1323. } else {
  1324. this.form.displacement_flow_quantity = this.currentRow.displacement_flow_quantity
  1325. }
  1326. if (this.currentRow.heparin == 0) {
  1327. this.form.heparin = ''
  1328. } else {
  1329. this.form.heparin = this.currentRow.heparin
  1330. }
  1331. if (this.currentRow.dialysate_flow == 0) {
  1332. this.form.dialysate_flow = ''
  1333. } else {
  1334. this.form.dialysate_flow = this.currentRow.dialysate_flow
  1335. }
  1336. if (this.currentRow.ktv == 0) {
  1337. this.form.ktv = ''
  1338. } else {
  1339. this.form.ktv = this.currentRow.ktv
  1340. }
  1341. if (this.currentRow.urr == '') {
  1342. this.form.urr = ''
  1343. } else {
  1344. this.form.urr = this.currentRow.urr
  1345. }
  1346. if (this.currentRow.blood_sugar == '') {
  1347. this.form.blood_sugar = ''
  1348. } else {
  1349. this.form.blood_sugar = this.currentRow.blood_sugar
  1350. }
  1351. if (this.org_id == 10340) {
  1352. this.form.blood_oxygen_saturation = this.currentRow.blood_oxygen_saturation ? this.currentRow.blood_oxygen_saturation : '/'
  1353. } else {
  1354. this.form.blood_oxygen_saturation = this.currentRow.blood_oxygen_saturation ? this.currentRow.blood_oxygen_saturation : ' '
  1355. }
  1356. this.form.symptom = this.currentRow.symptom
  1357. this.form.dispose = this.currentRow.dispose
  1358. this.form.result = this.currentRow.result
  1359. this.form.id = this.currentRow.id
  1360. this.form.operate_time = this.currentRow.operate_time * 1000
  1361. this.form.creator = this.currentRow.creator
  1362. this.form.monitor_anticoagulant = this.currentRow.monitor_anticoagulant
  1363. this.form.monitor_anticoagulant_value = this.currentRow.monitor_anticoagulant_value
  1364. this.symptomsArr = this.currentRow.symptom.split(',')
  1365. this.disposeArr = this.currentRow.dispose.split(',')
  1366. this.resultsArr = this.currentRow.result.split(',')
  1367. this.form.blood_pressure_monitoring_site = this.currentRow.blood_pressure_monitoring_site
  1368. this.form.complication = this.currentRow.complication
  1369. this.form.accumulated_blood_volume = this.currentRow.accumulated_blood_volume
  1370. this.form.blood_temperature = this.currentRow.blood_temperature
  1371. this.form.urea_monitoring = this.currentRow.urea_monitoring
  1372. this.form.blood_thickness = this.currentRow.blood_thickness
  1373. this.form.blood_monitor = this.currentRow.blood_monitor
  1374. this.form.heparin_amount = this.currentRow.heparin_amount
  1375. if (this.currentRow.heparin_amount === 0) {
  1376. this.form.heparin_amount = ''
  1377. } else {
  1378. this.form.heparin_amount = this.currentRow.heparin_amount
  1379. }
  1380. if (this.currentRow.dehydration === 0) {
  1381. this.form.dehydration = ''
  1382. } else {
  1383. this.form.dehydration = this.currentRow.dehydration
  1384. }
  1385. this.form.id = this.currentRow.id
  1386. this.form.filter_pressure = this.currentRow.filter_pressure ? this.currentRow.filter_pressure : ''
  1387. this.form.replacement_speed = this.currentRow.replacement_speed?this.currentRow.replacement_speed:''
  1388. this.form.dicarbonate = this.currentRow.dicarbonate?this.currentRow.dicarbonate:""
  1389. this.form.ultrafiltration_rate_one = this.currentRow.ultrafiltration_rate_one?this.currentRow.ultrafiltration_rate_one:""
  1390. this.form.heparin_one = this.currentRow.heparin_one?this.currentRow.heparin_one:""
  1391. this.form.monitor_systolic_blood_pressure_one = this.currentRow.monitor_systolic_blood_pressure_one?this.currentRow.monitor_systolic_blood_pressure_one:""
  1392. this.form.monitor_diastolic_blood_pressure_one = this.currentRow.monitor_diastolic_blood_pressure_one?this.currentRow.monitor_diastolic_blood_pressure_one:""
  1393. this.form.monitor_pulse_frequency_one = this.currentRow.monitor_pulse_frequency_one?this.currentRow.monitor_pulse_frequency_one:""
  1394. this.form.blood_flow_volume_one = this.currentRow.blood_flow_volume_one?this.currentRow.blood_flow_volume_one:""
  1395. this.form.venous_pressure_one = this.currentRow.venous_pressure_one? this.currentRow.venous_pressure_one:""
  1396. this.form.arterial_pressure_one = this.currentRow.arterial_pressure_one?this.currentRow.arterial_pressure_one:""
  1397. this.form.transmembrane_pressure_one = this.currentRow.transmembrane_pressure_one?this.currentRow.transmembrane_pressure_one:""
  1398. this.form.ultrafiltration_volume_one = this.currentRow.ultrafiltration_volume_one?this.currentRow.ultrafiltration_volume_one:""
  1399. this.form.sodium_concentration_one = this.currentRow.sodium_concentration_one?this.currentRow.sodium_concentration_one:""
  1400. this.form.dialysate_temperature_one = this.currentRow.dialysate_temperature_one?this.currentRow.dialysate_temperature_one:""
  1401. this.form.replacement_rate_one = this.currentRow.replacement_rate_one?this.currentRow.replacement_rate_one:""
  1402. this.form.displacement_quantity_one = this.currentRow.displacement_quantity_one?this.currentRow.displacement_quantity_one:""
  1403. this.form.ktv_one = this.currentRow.ktv_one? this.currentRow.ktv_one:""
  1404. this.form.urr_one = this.currentRow.urr_one?this.currentRow.urr_one:""
  1405. this.form.conductivity_one = this.currentRow.conductivity_one?this.currentRow.conductivity_one:""
  1406. this.form.displacement_flow_quantity_one = this.currentRow.displacement_flow_quantity_one?this.currentRow.displacement_flow_quantity_one:""
  1407. this.form.blood_oxygen_saturation_one = this.currentRow.blood_oxygen_saturation_one?this.currentRow.blood_oxygen_saturation_one:""
  1408. this.form.dialysate_flow_one = this.currentRow.dialysate_flow_one?this.currentRow.dialysate_flow_one:""
  1409. this.form.blood_sugar_one = this.currentRow.blood_sugar_one?this.currentRow.blood_sugar_one:""
  1410. this.form.monitor_temperature_one = this.currentRow.monitor_temperature_one?this.currentRow.monitor_temperature_one:""
  1411. this.form.pulse_frequency_one = this.currentRow.pulse_frequency_one?this.currentRow.pulse_frequency_one:""
  1412. this.form.blood_temperature_one= this.currentRow.blood_temperature_one?this.currentRow.blood_temperature_one:""
  1413. console.log("hahhahahah",this.form.blood_temperature_one)
  1414. this.form.urea_monitoring_one = this.currentRow.urea_monitoring_one?this.currentRow.urea_monitoring_one:""
  1415. this.form.blood_thickness_one = this.currentRow.blood_thickness_one?this.currentRow.blood_thickness_one:""
  1416. this.form.blood_monitor_one = this.currentRow.blood_monitor_one?this.currentRow.blood_monitor_one:""
  1417. this.form.replacement_speed_one = this.currentRow.replacement_speed_one?this.currentRow.replacement_speed_one:""
  1418. this.form.dicarbonate_one = this.currentRow.dicarbonate_one?this.currentRow.dicarbonate_one:""
  1419. this.form.accumulated_blood_volume_one = this.currentRow.accumulated_blood_volume_one?this.currentRow.accumulated_blood_volume_one:""
  1420. },
  1421. submitEditAction: function () {
  1422. this.loading = true
  1423. Toast.loading({ forbidClick: true, duration: 0 })
  1424. var params = {}
  1425. params.patient_id = this.patient.id
  1426. params.order_id = this.order == null ? 0 : this.order.id
  1427. params.date = this.form.monitor_date
  1428. // params.time = this.form.monitor_time;
  1429. params.operate_time = parseInt(this.form.operate_time / 1000)
  1430. params.pulse_frequency = this.form.pulse_frequency
  1431. params.breathing_rated = this.form.breathing_rated
  1432. params.systolic_bp = this.form.systolic_bp
  1433. params.diastolic_bp = this.form.diastolic_bp
  1434. params.blood_flow_volume = this.form.blood_flow_volume
  1435. params.venous_pressure = this.form.venous_pressure
  1436. params.venous_pressure_type = this.form.venous_pressure_type
  1437. params.arterial_pressure = this.form.arterial_pressure
  1438. params.arterial_pressure_type = this.form.arterial_pressure_type
  1439. params.transmembrane_pressure = this.form.transmembrane_pressure
  1440. params.transmembrane_pressure_type = this.form.transmembrane_pressure_type
  1441. params.ultrafiltration_rate = this.form.ultrafiltration_rate
  1442. params.ultrafiltration_volume = this.form.ultrafiltration_volume
  1443. params.sodium_concentration = this.form.sodium_concentration
  1444. params.dialysate_temperature = this.form.dialysate_temperature
  1445. params.temperature = this.form.temperature
  1446. params.replacement_rate = this.form.replacement_rate
  1447. params.displacement_quantity = this.form.displacement_quantity
  1448. params.ktv = this.form.ktv
  1449. params.conductivity = this.form.conductivity
  1450. params.symptom = this.form.symptom
  1451. params.heparin = this.form.heparin
  1452. params.dialysate_flow = this.form.dialysate_flow
  1453. params.dispose = this.form.dispose
  1454. params.result = this.form.result
  1455. params.monitoring_nurse = this.form.monitoring_nurse
  1456. params.displacement_flow_quantity = this.form.displacement_flow_quantity
  1457. params.blood_oxygen_saturation = this.form.blood_oxygen_saturation
  1458. params.id = this.form.id
  1459. params.mode = '2'
  1460. params.urr = this.form.urr
  1461. params.blood_sugar = this.form.blood_sugar
  1462. params.monitor_anticoagulant = this.form.monitor_anticoagulant
  1463. params.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value
  1464. params.blood_pressure_monitoring_site = this.form.blood_pressure_monitoring_site
  1465. params.complication = this.form.complication
  1466. params.accumulated_blood_volume = this.form.accumulated_blood_volume
  1467. params.blood_temperature = this.form.blood_temperature
  1468. params.urea_monitoring = this.form.urea_monitoring
  1469. params.blood_thickness = this.form.blood_thickness
  1470. params.blood_monitor = this.form.blood_monitor
  1471. params.heparin_amount = this.form.heparin_amount
  1472. params.dehydration = this.form.dehydration
  1473. params.filter_pressure = this.form.filter_pressure
  1474. params.dicarbonate = this.form.dicarbonate
  1475. params.replacement_speed = this.form.replacement_speed
  1476. params.is_pressure = this.form.is_pressure
  1477. params.ultrafiltration_rate_one = this.form.ultrafiltration_rate_one?this.form.ultrafiltration_rate_one:"/"
  1478. params.heparin_one= this.form.heparin_one?this.form.heparin_one:"/"
  1479. params.monitor_systolic_blood_pressure_one = this.form.monitor_systolic_blood_pressure_one?this.form.monitor_systolic_blood_pressure_one:""
  1480. params.monitor_diastolic_blood_pressure_one =this.form.monitor_diastolic_blood_pressure_one?this.form.monitor_diastolic_blood_pressure_one:""
  1481. params.monitor_pulse_frequency_one = this.form.monitor_pulse_frequency_one?this.form.monitor_pulse_frequency_one:""
  1482. params.blood_flow_volume_one = this.form.blood_flow_volume_one?this.form.blood_flow_volume_one:""
  1483. params.venous_pressure_one = this.form.venous_pressure_one?this.form.venous_pressure_one:""
  1484. params.arterial_pressure_one = this.form.arterial_pressure_one?this.form.arterial_pressure_one:""
  1485. params.transmembrane_pressure_one = this.form.transmembrane_pressure_one?this.form.transmembrane_pressure_one:""
  1486. params.ultrafiltration_volume_one = this.form.ultrafiltration_volume_one?this.form.ultrafiltration_volume_one:""
  1487. params.sodium_concentration_one = this.form.sodium_concentration_one? this.form.sodium_concentration_one:""
  1488. params.dialysate_temperature_one = this.form.dialysate_temperature_one?this.form.dialysate_temperature_one:""
  1489. params.replacement_rate_one = this.form.replacement_rate_one?this.form.replacement_rate_one:""
  1490. params.displacement_quantity_one = this.form.displacement_quantity_one?this.form.displacement_quantity_one:""
  1491. params.ktv_one = this.form.ktv_one?this.form.ktv_one:""
  1492. params.urr_one = this.form.urr_one?this.form.urr_one:""
  1493. params.conductivity_one = this.form.conductivity_one?this.form.conductivity_one:""
  1494. params.displacement_flow_quantity_one = this.form.displacement_flow_quantity_one?this.form.displacement_flow_quantity_one:""
  1495. params.blood_oxygen_saturation_one = this.form.blood_oxygen_saturation_one?this.form.blood_oxygen_saturation_one:""
  1496. params.dialysate_flow_one = this.form.dialysate_flow_one?this.form.dialysate_flow_one:""
  1497. params.blood_sugar_one = this.form.blood_sugar_one?this.form.blood_sugar_one:""
  1498. params.monitor_temperature_one = this.form.monitor_temperature_one?this.form.monitor_temperature_one:""
  1499. params.pulse_frequency_one = this.form.pulse_frequency_one? this.form.pulse_frequency_one:""
  1500. params.blood_temperature_one = this.form.blood_temperature_one?this.form.blood_temperature_one:""
  1501. params.urea_monitoring_one = this.form.urea_monitoring_one?this.form.urea_monitoring_one:""
  1502. params.blood_thickness_one = this.form.blood_thickness_one?this.form.blood_thickness_one:""
  1503. params.blood_monitor_one = this.form.blood_monitor_one?this.form.blood_monitor_one:""
  1504. params.replacement_speed_one = this.form.replacement_speed_one?this.form.replacement_speed_one:""
  1505. params.dicarbonate_one = this.form.dicarbonate_one?this.form.dicarbonate_one:""
  1506. params.accumulated_blood_volume_one = this.form.accumulated_blood_volume_one? this.form.accumulated_blood_volume_one:""
  1507. if (
  1508. this.form.creator != this.$store.getters.user.admin.id &&
  1509. this.form.creator != 0
  1510. ) {
  1511. params.mode = '3'
  1512. }
  1513. editMonitorRecord(params)
  1514. .then(rs => {
  1515. var resp = rs.data
  1516. if (resp.state == 1) {
  1517. this.loading = false
  1518. var monitor = resp.data.monitor
  1519. this.$emit('did_edit_monitor', monitor)
  1520. //
  1521. Toast.success('修改成功')
  1522. // this.selectRow(-1, null)
  1523. this.form.pulse_frequency = ''
  1524. this.form.breathing_rated = ''
  1525. this.form.systolic_bp = ''
  1526. this.form.diastolic_bp = ''
  1527. this.form.blood_flow_volume = ''
  1528. this.form.venous_pressure = ''
  1529. this.form.arterial_pressure = ''
  1530. this.form.transmembrane_pressure = ''
  1531. this.form.ultrafiltration_rate = ''
  1532. this.form.ultrafiltration_volume = ''
  1533. this.form.sodium_concentration = ''
  1534. this.form.dialysate_temperature = ''
  1535. this.form.temperature = ''
  1536. this.form.replacement_rate = ''
  1537. this.form.displacement_quantity = ''
  1538. this.form.ktv = ''
  1539. this.form.blood_oxygen_saturation = ''
  1540. this.form.symptom = ''
  1541. this.form.dispose = ''
  1542. this.form.result = ''
  1543. this.form.conductivity = ''
  1544. this.form.displacement_flow_quantity = ''
  1545. this.form.heparin = ''
  1546. this.form.dialysate_flow = ''
  1547. this.form.urr = ''
  1548. this.form.blood_sugar = ''
  1549. this.form.creator = 0
  1550. this.form.id = -1
  1551. this.formPanel = false
  1552. this.listPanel = true
  1553. this.form.monitor_anticoagulant_value = ''
  1554. this.form.monitor_anticoagulant = ''
  1555. this.form.dehydration = ''
  1556. this.form.heparin_amount = ''
  1557. this.form.ultrafiltration_rate_one= ""
  1558. this.form.heparin_one= ""
  1559. this.form.monitor_systolic_blood_pressure_one = ""
  1560. this.form.monitor_diastolic_blood_pressure_one = ""
  1561. this.form.monitor_pulse_frequency_one = ""
  1562. this.form.blood_flow_volume_one = ""
  1563. this.form.venous_pressure_one = ""
  1564. this.form.arterial_pressure_one =""
  1565. this.form.transmembrane_pressure_one =""
  1566. this.form.ultrafiltration_volume_one = ""
  1567. this.form.sodium_concentration_one = ""
  1568. this.form.dialysate_temperature_one = ""
  1569. this.form.replacement_rate_one = ""
  1570. this.form.displacement_quantity_one = ""
  1571. this.form.ktv_one = ""
  1572. this.form.urr_one = ""
  1573. this.form.conductivity_one = ""
  1574. this.form.displacement_flow_quantity_one = ""
  1575. this.form.blood_oxygen_saturation_one = ""
  1576. this.form.dialysate_flow_one = ""
  1577. this.form.blood_sugar_one = ""
  1578. this.form.monitor_temperature_one = ""
  1579. this.form.pulse_frequency_one = ""
  1580. this.form.blood_temperature_one= ""
  1581. this.form.urea_monitoring_one = ""
  1582. this.form.blood_thickness_one = ""
  1583. this.form.blood_monitor_one = ""
  1584. this.form.replacement_speed_one = ""
  1585. this.form.dicarbonate_one = ""
  1586. this.form.accumulated_blood_volume_one = ""
  1587. this.symptomsArr = []
  1588. this.disposeArr = []
  1589. this.resultsArr = []
  1590. this.show = false
  1591. } else {
  1592. this.loading = false
  1593. Toast.fail(resp.msg)
  1594. if(resp.code == 600000008){
  1595. this.infor_visibility = true
  1596. }
  1597. }
  1598. })
  1599. .catch(error => {
  1600. Toast.fail(error.toString())
  1601. })
  1602. },
  1603. deleteForm () {
  1604. if (this.currentIndex < 0 || this.currentRow == null) {
  1605. Toast.fail('请先选择要删除的记录')
  1606. return false
  1607. }
  1608. Dialog.confirm({
  1609. title: '删除监测记录',
  1610. message: '是否删除该监测记录'
  1611. })
  1612. .then(() => {
  1613. let params = {
  1614. record_id: this.currentRow.id,
  1615. patient_id: this.patient.id,
  1616. mode: '4',
  1617. monitoring_date: this.currentRow.monitoring_date
  1618. }
  1619. if (
  1620. this.$store.getters.user.admin.id != this.creator &&
  1621. this.creator != 0
  1622. ) {
  1623. params.mode = '5'
  1624. }
  1625. deleteMonitorRecord(params).then(rs => {
  1626. var resp = rs.data
  1627. if (resp.state == 1) {
  1628. var recordId = resp.data.record_id
  1629. this.$emit('did_delete_monitor', recordId)
  1630. // this.result = []
  1631. Toast.success('删除成功')
  1632. // this.result = []
  1633. this.allChecked = false
  1634. } else {
  1635. Toast.fail(resp.msg)
  1636. if(resp.code == 600000008){
  1637. this.allChecked = false
  1638. this.infor_visibility = true
  1639. }
  1640. }
  1641. })
  1642. })
  1643. .catch(() => {})
  1644. },
  1645. getLastRecordTody () {
  1646. let params = {
  1647. patient_id: this.patient.id
  1648. }
  1649. GetMonitorToday(params).then(rs => {
  1650. var resp = rs.data.data
  1651. this.today_last_monitor_record = resp.monitor
  1652. var lastMonitorRecordList = resp.lastMonitorRecordList
  1653. console.log("owowowo",lastMonitorRecordList)
  1654. if(this.org_id == 10510){
  1655. this.form.operate_time = Date.parse(new Date())
  1656. }else{
  1657. if(this.org_id!=10060){
  1658. this.form.operate_time = lastMonitorRecordList.operate_time ? (lastMonitorRecordList.operate_time + 3600) * 1000 : Date.parse(new Date())
  1659. }
  1660. if(this.org_id ==10060){
  1661. this.form.operate_time = resp.monitor.operate_time ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date())
  1662. }
  1663. }
  1664. if(this.org_id == 9829){
  1665. this.form.pulse_frequency = 80
  1666. }else{
  1667. this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
  1668. }
  1669. this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
  1670. this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
  1671. this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
  1672. if (this.template_id == 34) {
  1673. this.form.venous_pressure = resp.monitor.venous_pressure ? resp.monitor.venous_pressure : ''
  1674. } else {
  1675. this.form.venous_pressure = '' // this.last_monitor_record.venous_pressure;
  1676. }
  1677. if (this.org_id == 10387) {
  1678. this.form.venous_pressure = resp.monitor.venous_pressure ? resp.monitor.venous_pressure : ''
  1679. }
  1680. if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340) {
  1681. this.form.venous_pressure = 80
  1682. }
  1683. this.form.venous_pressure_type = resp.monitor.venous_pressure_type ? resp.monitor.venous_pressure_type : 1 // this.last_monitor_record.venous_pressure;
  1684. if (this.template_id == 17 || this.template_id == 43 || this.org_id == 9671 || this.org_id == 9675) {
  1685. this.form.arterial_pressure = '-100'
  1686. }else if(this.org_id == 10340){
  1687. this.form.arterial_pressure = '-'
  1688. } else {
  1689. this.form.arterial_pressure = resp.monitor.arterial_pressure ? resp.monitor.arterial_pressure : '' // this.last_monitor_record.arterial_pressure;
  1690. }
  1691. if (this.org_id == 10387) {
  1692. this.form.arterial_pressure = resp.monitor.arterial_pressure ? resp.monitor.arterial_pressure : ''
  1693. }
  1694. if(this.org_id == 10495){
  1695. this.form.arterial_pressure = "-"
  1696. }
  1697. this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type ? resp.monitor.arterial_pressure_type : 1
  1698. if (this.template_id == 34) {
  1699. this.form.transmembrane_pressure = resp.monitor.transmembrane_pressure ? resp.monitor.transmembrane_pressure : ''
  1700. } else if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340) {
  1701. this.form.transmembrane_pressure = 60
  1702. } else {
  1703. this.form.transmembrane_pressure = ''
  1704. }
  1705. if (this.org_id == 10387) {
  1706. this.form.transmembrane_pressure = resp.monitor.transmembrane_pressure ? resp.monitor.transmembrane_pressure : ''
  1707. }
  1708. // this.last_monitor_record.transmembrane_pressure;
  1709. this.form.transmembrane_pressure_type = resp.monitor.transmembrane_pressure_type ? resp.monitor.transmembrane_pressure_type : 1
  1710. this.form.id = -1
  1711. this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate ? resp.monitor.ultrafiltration_rate : ''
  1712. this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
  1713. this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
  1714. this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : ''
  1715. this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
  1716. this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : ''
  1717. this.form.dialysate_flow = resp.monitor.dialysate_flow ? resp.monitor.dialysate_flow : ''
  1718. this.form.displacement_quantity = resp.monitor.displacement_quantity ? resp.monitor.displacement_quantity : '' // this.last_monitor_record.displacement_quantity;
  1719. this.form.conductivity = ''
  1720. this.form.displacement_flow_quantity = resp.monitor.displacement_flow_quantity ? resp.monitor.displacement_flow_quantity : ''
  1721. this.form.ktv = resp.monitor.ktv ? resp.monitor.ktv : '' // this.last_monitor_record.ktv;
  1722. this.form.symptom = '' // this.last_monitor_record.symptom;
  1723. this.form.dispose = '' // this.last_monitor_record.dispose;
  1724. this.form.result = '' // this.last_monitor_record.result;
  1725. // this.form.ultrafiltration_rate_one= ""
  1726. this.form.heparin_one= ""
  1727. this.form.monitor_systolic_blood_pressure_one = ""
  1728. this.form.monitor_diastolic_blood_pressure_one = ""
  1729. this.form.monitor_pulse_frequency_one = ""
  1730. this.form.blood_flow_volume_one = ""
  1731. this.form.venous_pressure_one = ""
  1732. this.form.arterial_pressure_one =""
  1733. this.form.transmembrane_pressure_one =""
  1734. // this.form.ultrafiltration_volume_one = ""
  1735. this.form.sodium_concentration_one = ""
  1736. this.form.dialysate_temperature_one = ""
  1737. this.form.replacement_rate_one = ""
  1738. this.form.displacement_quantity_one = ""
  1739. this.form.ktv_one = ""
  1740. this.form.urr_one = ""
  1741. this.form.conductivity_one = ""
  1742. this.form.displacement_flow_quantity_one = ""
  1743. this.form.blood_oxygen_saturation_one = ""
  1744. this.form.dialysate_flow_one = ""
  1745. this.form.blood_sugar_one = ""
  1746. this.form.monitor_temperature_one = ""
  1747. this.form.pulse_frequency_one = ""
  1748. this.form.blood_temperature_one= ""
  1749. this.form.urea_monitoring_one = ""
  1750. this.form.blood_thickness_one = ""
  1751. this.form.blood_monitor_one = ""
  1752. this.form.replacement_speed_one = ""
  1753. this.form.dicarbonate_one = ""
  1754. this.form.accumulated_blood_volume_one = ""
  1755. if (this.org_id == 9675 || this.org_id == 10340) {
  1756. this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation ? resp.monitor.blood_oxygen_saturation : '/'
  1757. }else if(this.org_id == 10447 ||this.org_id == 9671){
  1758. this.form.blood_oxygen_saturation = "99"
  1759. } else {
  1760. this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation ? resp.monitor.blood_oxygen_saturation : ''
  1761. }
  1762. if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10447) {
  1763. this.form.breathing_rated = '20'
  1764. } else {
  1765. this.form.breathing_rated = resp.monitor.breathing_rate ? resp.monitor.breathing_rate : ''
  1766. }
  1767. if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 9829 || this.org_id ==10517) {
  1768. if(this.form.temperature == 0 || this.form.temperature == ""){
  1769. this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : '36.5'
  1770. }
  1771. } else {
  1772. this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : ''
  1773. }
  1774. this.form.urr = resp.monitor.urr ? resp.monitor.urr : ''
  1775. if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10447) {
  1776. if(this.form.conductivity == 0 || this.form.conductivity == ""){
  1777. this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity : ''
  1778. }
  1779. } else {
  1780. this.form.conductivity = resp.monitor.conductivity ? resp.monitor.conductivity : ''
  1781. }
  1782. this.form.blood_pressure_monitoring_site = resp.monitor.blood_pressure_monitoring_site ? resp.monitor.blood_pressure_monitoring_site : ''
  1783. this.form.accumulated_blood_volume = resp.monitor.accumulated_blood_volume ? resp.monitor.accumulated_blood_volume : ''
  1784. this.form.heparin_amount = resp.monitor.heparin_amount ? resp.monitor.heparin_amount : ''
  1785. this.form.dehydration = resp.monitor.dehydration ? resp.monitor.dehydration : ''
  1786. if (this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10447) {
  1787. if(this.form.breathing_rated == 0 || this.form.breathing_rated == ""){
  1788. this.form.breathing_rated = '20'
  1789. }
  1790. }
  1791. this.form.dicarbonate = resp.monitor.dicarbonate
  1792. this.form.replacement_speed = resp.monitor.replacement_speed
  1793. if(this.org_id == 10375){
  1794. this.form.conductivity = 13.8
  1795. this.form.dialysate_temperature = 37
  1796. this.form.dialysate_flow = 500
  1797. this.form.blood_flow_volume=200
  1798. this.form.breathing_rated = "18"
  1799. this.form.sodium_concentration = 140
  1800. }
  1801. if(this.org_id == 10517){
  1802. this.form.sodium_concentration = 138
  1803. this.form.dialysate_temperature =36.5
  1804. }
  1805. //孝昌
  1806. if(this.org_id == 10693){
  1807. this.form.blood_flow_volume_one = resp.monitor.blood_flow_volume_one? resp.monitor.blood_flow_volume_one:""
  1808. }
  1809. //超滤率 超滤量自动计算
  1810. if(this.org_id == 10597 || this.org_id ==10599 || this.org_id ==10587 || this.org_id ==10571 || this.org_id==10579 || this.org_id ==10600 || this.org_id ==10612 || this.org_id ==10617 || this.org_id ==10580 || this.org_id ==10375 || this.org_id ==10629 || this.org_id ==10480 || this.org_id ==10414 || this.org_id ==10679 || this.org_id ==10693 || this.org_id == 10694 || this.org_id == 10697 || this.org_id ==10702){
  1811. if(lastMonitorRecordList!=null){
  1812. this.form.ultrafiltration_rate = lastMonitorRecordList.ultrafiltration_rate?lastMonitorRecordList.ultrafiltration_rate:""
  1813. this.form.replacement_rate = lastMonitorRecordList.replacement_rate?lastMonitorRecordList.replacement_rate:""
  1814. this.form.transmembrane_pressure = lastMonitorRecordList.transmembrane_pressure?lastMonitorRecordList.transmembrane_pressure:""
  1815. this.form.venous_pressure = lastMonitorRecordList.venous_pressure?lastMonitorRecordList.venous_pressure:""
  1816. this.form.displacement_quantity = lastMonitorRecordList.displacement_quantity + lastMonitorRecordList.replacement_rate
  1817. if(this.org_id == 10587){
  1818. this.form.displacement_quantity = (lastMonitorRecordList.displacement_quantity + (lastMonitorRecordList.replacement_rate *60) ).toFixed(0)
  1819. }
  1820. if(this.org_id == 10375){
  1821. this.form.displacement_quantity = (lastMonitorRecordList.displacement_quantity + lastMonitorRecordList.replacement_rate).toFixed(1)
  1822. }
  1823. if(this.org_id == 10414){
  1824. this.form.displacement_quantity = (lastMonitorRecordList.displacement_quantity + lastMonitorRecordList.replacement_rate).toFixed(1)
  1825. }
  1826. if(this.org_id == 10480){
  1827. this.form.displacement_quantity = (lastMonitorRecordList.displacement_quantity + lastMonitorRecordList.replacement_rate).toFixed(1)
  1828. }
  1829. if(this.org_id == 10702){
  1830. this.form.displacement_quantity = (lastMonitorRecordList.displacement_quantity + lastMonitorRecordList.replacement_rate).toFixed(1)
  1831. }
  1832. this.form.ultrafiltration_volume = (lastMonitorRecordList.ultrafiltration_rate + lastMonitorRecordList.ultrafiltration_volume).toFixed(0)
  1833. if(this.org_id == 10694){
  1834. this.form.ultrafiltration_volume = this.form.ultrafiltration_volume.toFixed(0)
  1835. }
  1836. }
  1837. }
  1838. if(this.org_id == 10693){
  1839. if(lastMonitorRecordList!=null){
  1840. this.form.ultrafiltration_rate_one = lastMonitorRecordList.ultrafiltration_rate_one?lastMonitorRecordList.ultrafiltration_rate_one:"0"
  1841. }
  1842. console.log("超滤率",lastMonitorRecordList.ultrafiltration_rate_one)
  1843. console.log("超滤量",lastMonitorRecordList.ultrafiltration_volume_one)
  1844. if(lastMonitorRecordList.ultrafiltration_volume_one == "NaN" || lastMonitorRecordList.ultrafiltration_volume_one == ""){
  1845. lastMonitorRecordList.ultrafiltration_volume_one = 0
  1846. }
  1847. this.form.ultrafiltration_volume_one = parseFloat(lastMonitorRecordList.ultrafiltration_rate_one) + parseFloat(lastMonitorRecordList.ultrafiltration_volume_one)
  1848. console.log("this.form.ultrafiltration_volume_one",this.form.ultrafiltration_volume_one)
  1849. if(this.form.ultrafiltration_volume_one>0){
  1850. this.form.ultrafiltration_volume_one = this.form.ultrafiltration_volume_one.toFixed(0)
  1851. }
  1852. // this.form.ultrafiltration_volume = parseFloat(lastMonitorRecordList.ultrafiltration_rate_one) +parseFloat(lastMonitorRecordList.ultrafiltration_volume)
  1853. // console.log(parseFloat(lastMonitorRecordList.ultrafiltration_rate_one))
  1854. // console.log(parseFloat(lastMonitorRecordList.ultrafiltration_volume))
  1855. // console.log("haaaaaaaaaaaaaaaaaa", this.form.ultrafiltration_volume )
  1856. }
  1857. if(this.org_id == 10702){
  1858. this.form.venous_pressure = ""
  1859. this.form.transmembrane_pressure = ""
  1860. }
  1861. if(this.org_id ==10693){
  1862. this.form.conductivity_one = lastMonitorRecordList.conductivity_one?lastMonitorRecordList.conductivity_one:""
  1863. }
  1864. // this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant?resp.monitor.monitor_anticoagulant:''
  1865. // this.form.monitor_anticoagulant_value = resp.monitor.monitor_anticoagulant_value?resp.monitor.monitor_anticoagulant_value:''
  1866. })
  1867. },
  1868. openTable () {
  1869. this.tableShow = true
  1870. },
  1871. setRecords (records) {
  1872. this.monitorRecords = records
  1873. },
  1874. chooseSymptoms (val) {
  1875. this.form.symptom += val + ' '
  1876. this.symptomsShow = false
  1877. },
  1878. chooseDispose (val) {
  1879. this.form.dispose += val + ' '
  1880. this.disposeShow = false
  1881. },
  1882. chooseResults (val) {
  1883. this.form.result += val + ' '
  1884. this.resultsShow = false
  1885. },
  1886. menuComfirmSymptoms: function (val) {
  1887. this.form.symptom = val.join(' ')
  1888. },
  1889. changeBloodPressure (val) {
  1890. this.form.blood_pressure_monitoring_site = val.join(' ')
  1891. },
  1892. menuComfirmDispose (val) {
  1893. this.form.dispose = val.join(' ')
  1894. },
  1895. menuComfirmResults (val) {
  1896. this.form.result = val.join(' ')
  1897. },
  1898. back () {
  1899. this.show = false
  1900. },
  1901. getPermission () {
  1902. request
  1903. .get('/m/api/permission/get', {
  1904. params: {
  1905. create_url: '/m/api/monitor/add?mode=1',
  1906. modify_url: '/m/api/monitor/edit?mode=2',
  1907. modify_other_url: '/m/api/monitor/edit?mode=3',
  1908. del_url: '/m/api/monitor/delete?mode=4',
  1909. del_other_url: '/m/api/monitor/delete?mode=5',
  1910. module: 7
  1911. }
  1912. })
  1913. .then(res => {
  1914. if (res.data.state == 0) {
  1915. this.hasPermission = false
  1916. } else if (res.data.state == 1) {
  1917. this.is_has_create = res.data.data.is_has_create
  1918. this.is_has_modify = res.data.data.is_has_modify
  1919. this.is_has_modify_other = res.data.data.is_has_modify_other
  1920. this.is_has_del = res.data.data.is_has_del
  1921. this.is_has_del_other = res.data.data.is_has_del_other
  1922. }
  1923. })
  1924. },
  1925. venousPressureChangeThree () {
  1926. if (this.form.arterial_pressure_type == 1) {
  1927. this.form.arterial_pressure_type = 2
  1928. } else {
  1929. this.form.arterial_pressure_type = 1
  1930. }
  1931. },
  1932. venousPressureChangeOne () {
  1933. if (this.form.venous_pressure_type == 1) {
  1934. this.form.venous_pressure_type = 2
  1935. } else {
  1936. this.form.venous_pressure_type = 1
  1937. }
  1938. },
  1939. venousPressureChangeTwo () {
  1940. if (this.form.transmembrane_pressure_type == 1) {
  1941. this.form.transmembrane_pressure_type = 2
  1942. } else {
  1943. this.form.transmembrane_pressure_type = 1
  1944. }
  1945. },
  1946. getBloodPressure (id) {
  1947. var name = ''
  1948. for (let i = 0; i < this.bloodPressureMmonitoringSite.length; i++) {
  1949. if (id == this.bloodPressureMmonitoringSite[i].id) {
  1950. name = this.bloodPressureMmonitoringSite[i].name
  1951. }
  1952. }
  1953. return name
  1954. },
  1955. getComplication (id) {
  1956. var name = ''
  1957. for (let i = 0; i < this.complicationList.length; i++) {
  1958. if (id == this.complicationList[i].id) {
  1959. name = this.complicationList[i].name
  1960. }
  1961. }
  1962. return name
  1963. },
  1964. getModeName (id) {
  1965. var name = ''
  1966. if (id == 1) {
  1967. name = 'HD'
  1968. }
  1969. if (id == 2) {
  1970. name = 'HDF'
  1971. }
  1972. if (id == 3) {
  1973. name = 'HD+HP'
  1974. }
  1975. if (id == 4) {
  1976. name = 'HP'
  1977. }
  1978. if (id == 5) {
  1979. name = 'HF'
  1980. }
  1981. if (id == 6) {
  1982. name = 'SCUF'
  1983. }
  1984. if (id == 7) {
  1985. name = 'IUF'
  1986. }
  1987. if (id == 8) {
  1988. name = 'HFHD'
  1989. }
  1990. if (id == 9) {
  1991. name = 'HFHD+HP'
  1992. }
  1993. if (id == 10) {
  1994. name = 'PHF'
  1995. }
  1996. if (id == 11) {
  1997. name = 'HFR'
  1998. }
  1999. if (id == 12) {
  2000. name = 'HDF+HP'
  2001. }
  2002. if (id == 13) {
  2003. name = 'CRRT'
  2004. }
  2005. if (id == 14) {
  2006. name = '腹水回输'
  2007. }
  2008. if (id == 19) {
  2009. name = 'IUF+HD'
  2010. }
  2011. if (id == 20) {
  2012. name = 'UF'
  2013. }
  2014. if (id == 21) {
  2015. name = 'HD+'
  2016. }
  2017. if (id == 22) {
  2018. name = '血浆胆红素吸附+HDF'
  2019. }
  2020. if (id == 23) {
  2021. name = '血浆胆红素吸附'
  2022. }
  2023. if (id == 24) {
  2024. name = 'I-HDF'
  2025. }
  2026. if (id == 25) {
  2027. name = 'HD高通'
  2028. }
  2029. if (id == 26) {
  2030. name = 'CVVH'
  2031. }
  2032. if (id == 27) {
  2033. name = 'CVVHD'
  2034. }
  2035. if (id == 28) {
  2036. name = 'CVVHDF'
  2037. }
  2038. if (id == 29) {
  2039. name = 'PE'
  2040. }
  2041. if (id == 30) {
  2042. name = '血浆胆红素吸附+HP'
  2043. }
  2044. if (id == 31) {
  2045. name = 'HPD'
  2046. }
  2047. if (id == 32) {
  2048. name = 'HDP'
  2049. }
  2050. return name
  2051. },
  2052. menuComfirmFour:function(start_time,remark){
  2053. var params = {
  2054. patient_id:this.$route.query.patient_id,
  2055. record_date:this.$route.query.date,
  2056. start_time:start_time,
  2057. module:7,
  2058. remark:remark,
  2059. }
  2060. saveMobileInformation(params).then(response=>{
  2061. if(response.data.state == 1){
  2062. this.infor_visibility = false
  2063. Toast.success('申请成功')
  2064. }
  2065. })
  2066. },
  2067. menuCancleFour:function(){
  2068. this.infor_visibility = false
  2069. },
  2070. }
  2071. }
  2072. </script>
  2073. <style lang="scss" scoped>
  2074. .monitoring{
  2075. display: flex;
  2076. flex-direction: column;
  2077. height: 100%;
  2078. >:first-child{
  2079. flex: 1;
  2080. overflow-y: auto;
  2081. }
  2082. .halfWidth{
  2083. width: 100%;
  2084. }
  2085. .allWidth{
  2086. width: 100%;
  2087. }
  2088. .van-cell__title{
  2089. display: flex;
  2090. flex-wrap: wrap;
  2091. }
  2092. .preserveBox{
  2093. height: 2.5rem;
  2094. display: flex;
  2095. justify-content: space-between;
  2096. // padding: 0 .625rem;
  2097. padding: 0 3.75rem;
  2098. align-items: center;
  2099. font-size: 1rem;
  2100. >span{
  2101. height: 1.875rem;
  2102. line-height: 1.875rem;
  2103. padding: 0 .875rem;
  2104. font-size: .875rem;
  2105. border-radius: 5px;
  2106. border: 1px solid #409eff;
  2107. color: #409eff;
  2108. }
  2109. .forbid {
  2110. color: #c6cdd2;
  2111. border: 1px solid #c6cdd2;
  2112. }
  2113. }
  2114. .mint-datetime{
  2115. z-index: 4010 !important;
  2116. }
  2117. >>>.v-modal{
  2118. z-index: 4009 !important;
  2119. }
  2120. .mointoringPopup{
  2121. top: 0;
  2122. transform: translate3d(0, 0, 0);
  2123. border-radius: 0;
  2124. }
  2125. .van-radio-group{
  2126. display: flex;
  2127. flex-wrap: wrap;
  2128. .van-radio{
  2129. width: 50%;
  2130. margin-bottom: .625rem;
  2131. }
  2132. }
  2133. .nodataTxt{
  2134. position: fixed;
  2135. left: 50%;
  2136. top: 50%;
  2137. transform: translate(-50%,-50%);
  2138. font-size: .875rem;
  2139. color:#999;
  2140. }
  2141. .row-class-active > td {
  2142. background: #badcff !important;
  2143. }
  2144. .newMonitTable{
  2145. font-size: .875rem !important;
  2146. tr th{
  2147. height: 2.25rem !important;
  2148. }
  2149. tr td{
  2150. padding: .5rem 0;
  2151. }
  2152. }
  2153. @media only screen and (min-width: 415px) and (max-width: 767px){
  2154. .newMonitTable {
  2155. width: 2000px !important;
  2156. }
  2157. }
  2158. @media only screen and (min-width: 768px) and (max-width: 1024px){
  2159. .newMonitTable {
  2160. width: 3200px !important;
  2161. }
  2162. }
  2163. }
  2164. .newMointoring{
  2165. height: 100%;
  2166. display: flex;
  2167. flex-direction: column;
  2168. // >:last-child{
  2169. // flex: 1;
  2170. // overflow-y: auto;
  2171. // }
  2172. .addBox{
  2173. height: 3.125rem;
  2174. display: flex;
  2175. justify-content: space-between;
  2176. padding: 0 1rem;
  2177. align-items: center;
  2178. font-size: 1rem;
  2179. >:first-child{
  2180. text-align: center;
  2181. height: 2.5rem;
  2182. width: 100%;
  2183. line-height: 2.5rem;
  2184. background: #409eff;
  2185. color:#fff;
  2186. border-radius: 4px;
  2187. }
  2188. }
  2189. .van-checkbox-group{
  2190. display: flex;
  2191. flex-wrap: wrap;
  2192. .van-checkbox{
  2193. width: 50%;
  2194. margin-bottom: .625rem;
  2195. }
  2196. }
  2197. }
  2198. .newMointoringTitle{
  2199. height: 3.125rem;
  2200. display: flex;
  2201. justify-content: space-between;
  2202. padding: 0 .875rem;
  2203. align-items: center;
  2204. font-size: 1rem;
  2205. background: #fff;
  2206. border-bottom: 1px solid #e5e5e5;
  2207. }
  2208. .computerTime{
  2209. height: 1.875rem;
  2210. line-height: 1.875rem;
  2211. font-size: .875rem;
  2212. padding: 0 1rem;
  2213. color: #323233;
  2214. }
  2215. .paddingLeft{
  2216. padding-left: 1.6875rem;
  2217. width: 100%;
  2218. }
  2219. .bgColor{
  2220. color: #409eff;
  2221. }
  2222. .datetimePicker{
  2223. // z-index: 4012 !important;
  2224. .picker-item{
  2225. font-size: .875rem !important;
  2226. height: 44px;
  2227. line-height: 44px;
  2228. }
  2229. .mint-datetime-action{
  2230. font-size: .9375rem !important;
  2231. }
  2232. }
  2233. .deleteColor{
  2234. color: #f56c6c !important;
  2235. border: 1px solid #f56c6c !important;
  2236. }
  2237. .tablePopup{
  2238. font-size: .875rem;
  2239. }
  2240. </style>
  2241. <style lang="scss">
  2242. .monitoring{
  2243. .van-field__label{
  2244. // width: 9.375rem;
  2245. width: initial;
  2246. }
  2247. }
  2248. .newMointoring{
  2249. .van-field__label{
  2250. width: initial;
  2251. }
  2252. .van-radio-group{
  2253. display: flex;
  2254. flex-wrap: wrap;
  2255. font-size: .875rem;
  2256. .van-radio{
  2257. width: 50%;
  2258. margin-bottom: .625rem;
  2259. }
  2260. }
  2261. .changeBtn{
  2262. height: 2rem;
  2263. font-size: .875rem !important;
  2264. padding: 0 .625rem;
  2265. }
  2266. .van-field__control--right{
  2267. padding-right: 1.375rem !important;
  2268. }
  2269. .v-modal{
  2270. z-index: 4009 !important;
  2271. }
  2272. .startTimePicker{
  2273. z-index: 5000 !important;
  2274. }
  2275. .datetimePicker{
  2276. // z-index: 4012 !important;
  2277. .picker-item{
  2278. font-size: .875rem !important;
  2279. height: 44px;
  2280. line-height: 44px;
  2281. }
  2282. .mint-datetime-action{
  2283. font-size: .9375rem !important;
  2284. }
  2285. }
  2286. .bgField{
  2287. .van-field__control{
  2288. border:1px solid #ccc;
  2289. background: #f6f6f6;
  2290. border-radius: 4px;
  2291. min-height: 6.25rem !important;
  2292. }
  2293. ::placeholder{ //通过这个设置
  2294. color: #999 !important;
  2295. }
  2296. }
  2297. .newListBoxPopup{
  2298. width: 80%;
  2299. height: 80%;
  2300. left: 50% !important;
  2301. top: 50% !important;
  2302. transform: translate3d(-50%,-50%,0) !important;
  2303. overflow-y: auto;
  2304. border-radius: .625rem;
  2305. z-index: 9999 !important;
  2306. }
  2307. .listBox{
  2308. >div{
  2309. padding: 1rem .625rem;
  2310. border-bottom: 1px solid #e5e5e5;
  2311. font-size: .875rem;
  2312. color:#323233;
  2313. text-align: left;
  2314. }
  2315. }
  2316. .van-dialog.open_tips{
  2317. z-index: 9999 !important;
  2318. box-shadow: 3px 4px 6px 0px #aeabab;
  2319. }
  2320. .van-overlay{
  2321. z-index: 9999 !important;
  2322. }
  2323. }
  2324. </style>
  2325. <style scoped>
  2326. .van-overflow-hidden >>> .van-dialog.open_tips{
  2327. z-index: 9999 !important;
  2328. box-shadow: 3px 4px 6px 0px #aeabab;
  2329. }
  2330. </style>