1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091 |
- <template>
- <div class="dialog_box">
- <el-dialog
- title="透析监测"
- :visible.sync="visible"
- width="1100px"
- @close="reset"
- :modal = 'false'
- :close-on-click-modal="false"
- >
- <div v-show="edit == false">
- <div class="txsj">
- <el-button round :disabled="!is_has_create" @click="newRecordAction"
- >新增监测</el-button
- >
- <el-button
- round
- :disabled="!is_has_modify && !is_has_modify_other"
- @click="modifyRecordAction"
- >修改监测</el-button
- >
- <el-button
- round
- :disabled="!is_has_del && !is_has_del_other"
- @click="deleteRecordAction"
- >删除监测</el-button
- >
- </div>
- <el-table
- :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
- ref="table"
- :data="monitors"
- border
- highlight-current-row
- @current-change="tableCurrentRowChange"
- style="width: 100%"
- :class="current_row_class"
- >
- <el-table-column
- label="监测时间"
- align="center"
- width="144"
- v-if="isShow('监测时间')"
- >
- <template slot-scope="scope">
- {{ getMonitorDate(scope.row) }}
- </template>
- </el-table-column>
- <el-table-column
- prop="temperature"
- align="center"
- width="100"
- label="体温(℃)"
- v-if="isShow('体温')"
- >
- <template slot-scope="scope">
- {{ scope.row.temperature ? scope.row.temperature : "" }}
- </template>
- </el-table-column>
- <el-table-column
- align="center"
- label="血压(mmHg)"
- width="110"
- v-if="isShow('血压')"
- >
- <template slot-scope="scope">
- {{
- scope.row.systolic_blood_pressure
- ? scope.row.systolic_blood_pressure
- : ""
- }}/{{
- scope.row.diastolic_blood_pressure
- ? scope.row.diastolic_blood_pressure
- : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- align="center"
- label="拒测血压"
- width="110"
- v-if="isShow('拒测血压')"
- >
- <template slot-scope="scope">
- {{
- scope.row.is_pressure
- ? scope.row.is_pressure
- : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="pulse_frequency"
- align="center"
- width="100"
- label="脉搏(次/分)"
- v-if="isShow('脉搏')"
- >
- <template slot-scope="scope">
- {{ scope.row.pulse_frequency ? scope.row.pulse_frequency : "" }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="breathing_rate"
- align="center"
- label="呼吸频率(次/分)"
- width="100"
- v-if="isShow('呼吸频率')"
- >
- <template slot-scope="scope">
- {{ scope.row.breathing_rate ? scope.row.breathing_rate : "" }}
- </template>
- </el-table-column>
-
- <el-table-column
- v-if="monitors[0] && monitors[0]['venous_pressure_type'] == 2"
- prop="venous_pressure"
- align="center"
- label="静脉压/动脉压(kpa)"
- width="120"
- >
- <template slot-scope="scope">
- <span
- >{{
- scope.row.venous_pressure ? scope.row.venous_pressure : ""
- }}/
- {{
- scope.row.arterial_pressure ? scope.row.arterial_pressure : ""
- }}</span
- >
- </template>
- </el-table-column>
- <el-table-column
- v-else
- prop="venous_pressure"
- align="center"
- label="静脉压/动脉压(mmHg)"
- width="120"
- >
- <template slot-scope="scope">
- <span
- >{{
- scope.row.venous_pressure ? scope.row.venous_pressure : ""
- }}/
- {{
- scope.row.arterial_pressure ? scope.row.arterial_pressure : ""
- }}</span
- >
- </template>
- </el-table-column>
-
- <el-table-column
- prop="blood_flow_volume"
- align="center"
- label="血流量(ml/min)"
- width="120"
- v-if="isShow('血流量')"
- >
- <template slot-scope="scope">
- {{
- scope.row.blood_flow_volume ? scope.row.blood_flow_volume : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="transmembrane_pressure"
- align="center"
- label="跨膜压(kpa)"
- width="120"
- v-if="
- isShow('跨膜压') &&
- monitors[0] &&
- monitors[0]['transmembrane_pressure_type'] == 2
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.transmembrane_pressure
- ? scope.row.transmembrane_pressure
- : "/"
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="transmembrane_pressure"
- align="center"
- label="跨膜压(mmHg)"
- width="120"
- v-if="
- isShow('跨膜压') &&
- monitors[0] &&
- monitors[0]['transmembrane_pressure_type'] != 2
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.transmembrane_pressure
- ? scope.row.transmembrane_pressure
- : "/"
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="ultrafiltration_volume"
- align="center"
- label="超滤量(ml)"
- width="110"
- v-if="
- isShow('超滤量') &&
-
- (template_id == 6 ||
- template_id == 9 ||
- 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 == 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 == 39 ||
- template_id == 40 ||
- template_id == 41 ||
- template_id == 43 ||
- template_id == 44 ||
- template_id == 46 ||
- template_id == 47 ||
- template_id == 48 ||
- template_id == 51 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 60 ||
- template_id == 65 ||
- org_id == 10210 ||
- org_id == 9555
- || org_id == 10432
- || org_id == 10445
- || org_id == 10410 ||
- org_id == 10495 ||
- org_id == 10375 ||
- org_id == 10485 ||
- org_id == 10375 ||
- org_id == 10480 ||
- org_id == 10551 ||
- org_id == 10599 ||
- org_id == 10597 ||
- org_id == 10599) &&
- org_id!=10387
- "
- >
- <template slot-scope="scope">
- <span v-if="org_id == 10440 || org_id == 9671 || org_id ==10206">
- {{
- scope.row.ultrafiltration_volume
- ? scope.row.ultrafiltration_volume
- : "0"
- }}
- </span>
- <span v-if="org_id != 10440 && org_id!=9671 && org_id!=10206">
- {{
- scope.row.ultrafiltration_volume
- ? scope.row.ultrafiltration_volume
- : ""
- }}
- </span>
- </template>
- </el-table-column>
- <el-table-column
- prop="ultrafiltration_volume"
- align="center"
- label="超滤量(L)"
- width="110"
- v-if="
- isShow('超滤量') &&
- (template_id != 6 &&
- template_id != 9 &&
- 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 != 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 != 39 &&
- template_id != 40 &&
- template_id != 41 &&
- template_id != 43 &&
- template_id != 44 &&
- template_id != 46 &&
- template_id != 47 &&
- template_id != 48 &&
- template_id != 51 &&
- template_id != 53 &&
- template_id != 54 &&
- template_id != 56 &&
- template_id != 60 &&
- template_id != 65 &&
- org_id!= 10210 &&
- org_id != 9555
- && org_id!=10432 && org_id!=10445
- && org_id!=10410 && org_id!=10495 &&
- org_id!=10485 && org_id!=10395 && org_id!=10375
- && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599)
- || org_id == 10387
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.ultrafiltration_volume
- ? scope.row.ultrafiltration_volume
- : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="超滤率(ml/h)"
- width="100"
- 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 == 29 ||
- template_id == 30 ||
- template_id == 31 ||
- template_id == 34 ||
- template_id == 35 ||
- template_id == 38 ||
- template_id == 41 ||
- template_id == 43 ||
- template_id == 44 ||
- template_id == 46 ||
- template_id == 48 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 47 ||
- template_id == 60 ||
- template_id == 65 ||
- org_id == 10432 ||
- org_id == 10445 ||
- org_id == 10410 ||
- org_id == 10495 ||
- org_id == 10395
- || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599)
- && org_id!=10387
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.ultrafiltration_rate
- ? scope.row.ultrafiltration_rate
- : ""
- }}
- </template>
- </el-table-column>
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="超滤率(L/h)"
- width="100"
- 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 != 29 &&
- template_id != 30 &&
- template_id != 31 &&
- template_id != 34 &&
- template_id != 35 &&
- template_id != 38 &&
- template_id != 41 &&
- template_id != 43 &&
- template_id != 44 &&
- template_id != 46 &&
- template_id != 53 &&
- template_id != 54 &&
- template_id != 56 &&
- template_id != 48 &&
- template_id != 47 &&
- template_id != 60 &&
- template_id != 65 &&
- org_id!=10432 &&
- org_id!=10445 &&
- org_id!=10410 && org_id!=10495
- && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599 ) ||
- org_id == 10387
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.ultrafiltration_rate
- ? scope.row.ultrafiltration_rate
- : ""
- }}
- </template>
- </el-table-column>
- <el-table-column
- prop="sodium_concentration"
- align="center"
- label="钠浓度(mmol/L)"
- width="126"
- v-if="isShow('钠浓度')"
- >
- <template slot-scope="scope">
- {{
- scope.row.sodium_concentration
- ? scope.row.sodium_concentration
- : ""
- }}
- </template>
- </el-table-column>
- <el-table-column
- prop="dialysate_temperature"
- align="center"
- label="透析液温度(℃)"
- width="120"
- v-if="isShow('透析液温度')"
- >
- <template slot-scope="scope">
- {{
- scope.row.dialysate_temperature
- ? scope.row.dialysate_temperature
- : ""
- }}
- </template>
- </el-table-column>
- <el-table-column
- prop="replacement_rate"
- align="center"
- label="置换率(ml/min)"
- width="120"
- v-if="
- isShow('置换率') &&
- (template_id == 6 ||
- template_id == 10 ||
- template_id == 11 ||
- template_id == 20 ||
- template_id == 26 ||
- template_id == 29 ||
- template_id == 48 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- org_id ==10432 ||
- org_id ==10445 ||
- org_id ==10410 ||
- org_id == 10395
-
- )
- "
- >
- <template slot-scope="scope">
- {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="replacement_rate"
- align="center"
- label="置换率(L/h)"
- width="120"
- v-if="
- isShow('置换率') &&
- template_id != 6 &&
- template_id != 10 &&
- template_id != 11 &&
- template_id != 20 &&
- template_id != 26 &&
- template_id != 29 &&
- template_id != 48 &&
- template_id != 53 &&
- template_id != 54 &&
- template_id != 56 &&
- org_id !=10432 &&
- org_id !=10445 &&
- org_id!=10395 &&
- org_id !=10410
- "
- >
- <template slot-scope="scope">
- {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
- </template>
- </el-table-column>
- <el-table-column
- prop="displacement_quantity"
- align="center"
- label="置换量(ml/h)"
- width="100"
- v-if="isShow('置换量') && (template_id == 43 || template_id == 48)"
- >
- <template slot-scope="scope">
- {{
- scope.row.displacement_quantity
- ? scope.row.displacement_quantity
- : ""
- }}
- </template>
- </el-table-column>
- <el-table-column
- prop="displacement_quantity"
- align="center"
- label="置换量(ml)"
- width="100"
- v-if="
- isShow('置换量') &&
- ((template_id == 6 &&
- org_id != 9919 &&
- org_id != 10191 &&
- org_id!=10478 &&
- org_id!=10551 &&
- template_id != 43 &&
- template_id != 47 &&
- org_id!=10558) ||
- org_id == 9779 ||
- template_id == 11 ||
- template_id == 20 ||
- template_id == 26 ||
- template_id == 29 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 48 ||
- org_id == 10340 ||
- org_id == 10432 ||
- org_id == 10445 ||
- org_id == 10395)
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.displacement_quantity
- ? scope.row.displacement_quantity
- : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_quantity"
- align="center"
- label="置换量(L)"
- width="100"
- v-if="
- isShow('置换量') &&
- (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558) &&
- template_id != 9779 &&
- template_id != 11 &&
- template_id != 20 &&
- template_id != 26 &&
- template_id != 29 &&
- template_id != 43 &&
- template_id != 53 &&
- template_id != 54 &&
- template_id != 56 &&
- template_id != 48 &&
- org_id !=10340 &&
- org_id !=10432 &&
- org_id !=10445 &&
- org_id!=10395
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.displacement_quantity
- ? scope.row.displacement_quantity
- : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_quantity"
- align="center"
- label="SpO₂(%)"
- width="100"
- v-if="
- isShow('SpO₂') &&
- template_id != 6 &&
- template_id != 10 &&
- template_id != 11
- "
- >
- <template slot-scope="scope">
- {{
- scope.row.blood_oxygen_saturation
- ? scope.row.blood_oxygen_saturation
- : "/"
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="电导度(mS/m)"
- width="100"
- v-if="isShow('电导度')"
- >
- <template slot-scope="scope">
- {{ scope.row.conductivity ? scope.row.conductivity : "" }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="置换液流量(ml/h)"
- width="100"
- v-if="isShow('置换液流量') && template_id != 27 && template_id != 60"
- >
- <template slot-scope="scope">
- {{
- scope.row.displacement_flow_quantity
- ? scope.row.displacement_flow_quantity
- : ""
- }}
- </template>
- </el-table-column>
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="置换液流量(ml/min)"
- width="100"
- v-if="isShow('置换液流量') && (template_id == 27 || template_id == 60)"
- >
- <template slot-scope="scope">
- {{
- scope.row.displacement_flow_quantity
- ? scope.row.displacement_flow_quantity
- : ""
- }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="透析液流量(ml/h)"
- width="100"
- v-if="isShow('透析液流量')"
- >
- <template slot-scope="scope">
- {{ scope.row.dialysate_flow ? scope.row.dialysate_flow : "" }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="肝素用量余量(ml)"
- width="140"
- v-if="isShow('肝素用量余量')"
- >
- </el-table-column>
-
- <el-table-column
- prop="heparin_amount"
- align="center"
- label="肝素量(mg)"
- width="140"
- v-if="isShow('肝素量')"
- >
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="抗凝剂"
- width="140"
- v-if="isShow('抗凝剂')"
- >
- <template slot-scope="scope">
- <span v-if="scope.row.monitor_anticoagulant == 1">无肝素</span>
- <span v-if="scope.row.monitor_anticoagulant == 2">普通肝素</span>
- <span v-if="scope.row.monitor_anticoagulant == 3"
- >低分子肝素</span
- >
- <span v-if="scope.row.monitor_anticoagulant == 4">阿加曲班</span>
- <span v-if="scope.row.monitor_anticoagulant == 5">枸橼酸钠</span>
- <span v-if="scope.row.monitor_anticoagulant == 6"
- >低分子肝素钙</span
- >
- <span v-if="scope.row.monitor_anticoagulant == 7"
- >低分子肝素钠</span
- >
- <span v-if="scope.row.monitor_anticoagulant == 8">依诺肝素</span>
- <span v-if="scope.row.monitor_anticoagulant == 9">达肝素</span>
- <span v-if="scope.row.monitor_anticoagulant == 12">无抗凝剂</span>
- <span v-if="scope.row.monitor_anticoagulant == 13">那屈肝素钙</span>
- <span v-if="scope.row.monitor_anticoagulant_value != ''"
- >({{
- scope.row.monitor_anticoagulant_value
- ? scope.row.monitor_anticoagulant_value
- : ""
- }})</span
- >
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="血压监测部位"
- width="140"
- v-if="isShow('血压监测部位')"
- >
- <template slot-scope="scope">
- {{ getBloodPressure(scope.row.blood_pressure_monitoring_site) }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="并发症"
- width="140"
- v-if="isShow('并发症')"
- >
- <template slot-scope="scope">
- {{ getComplication(scope.row.complication) }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="累计血容量(ml)"
- width="100"
- v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340 "
- >
- <template slot-scope="scope">
- {{ scope.row.accumulated_blood_volume }}
- </template>
- </el-table-column>
- <el-table-column
- prop="displacement_flow_quantity"
- align="center"
- label="累计血容量(L)"
- width="100"
- v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9538) && org_id!=10340 && org_id!=9671"
- >
- <template slot-scope="scope">
- {{ scope.row.accumulated_blood_volume }}
- </template>
- </el-table-column>
-
-
-
- <el-table-column
- prop="heparin"
- align="center"
- label="血容量(L)"
- width="140"
- v-if="isShow('血容量')"
- >
- <template slot-scope="scope">
- {{ scope.row.accumulated_blood_volume }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="血温监测"
- width="140"
- v-if="isShow('血温监测')"
- >
- <template slot-scope="scope">
- {{ scope.row.blood_temperature }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="尿素监测"
- width="140"
- v-if="isShow('尿素监测')"
- >
- <template slot-scope="scope">
- {{ scope.row.urea_monitoring }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="血浓量"
- width="140"
- v-if="isShow('血浓量')"
- >
- <template slot-scope="scope">
- {{ scope.row.blood_thickness }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="血压监测"
- width="140"
- v-if="isShow('血压监测')"
- >
- <template slot-scope="scope">
- {{ scope.row.blood_monitor }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="肝素量(mg)"
- width="140"
- v-if="isShow('肝素量')"
- >
- <template slot-scope="scope">
- {{ scope.row.heparin_amount }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="脱水(L)"
- width="140"
- v-if="isShow('脱水')"
- >
- <template slot-scope="scope">
- {{ scope.row.dehydration }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="置换液速度(ml/h)"
- width="140"
- v-if="isShow('置换液速度')"
- >
- <template slot-scope="scope">
- {{ scope.row.replacement_speed }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="碳酸氢钠用量(ml)"
- width="140"
- v-if="isShow('碳酸氢钠用量')"
- >
- <template slot-scope="scope">
- {{ scope.row.dicarbonate }}
- </template>
- </el-table-column>
-
- <el-table-column
- prop="heparin"
- align="center"
- label="滤前压(mmHg)"
- width="140"
- v-if="isShow('滤前压')"
- >
- <template slot-scope="scope">
- {{ scope.row.filter_pressure }}
- </template>
- </el-table-column>
-
-
-
-
- <el-table-column
- prop="heparin"
- align="center"
- label="KT/V"
- width="140"
- v-if="
- isShow('KT/V') &&
- (org_id == 9987 || org_id == 10215 || org_id == 9800 || org_id == 9598 || org_id ==10517)
- "
- >
- <template slot-scope="scope">
- {{ scope.row.ktv ? scope.row.ktv : "" }}
- </template>
- </el-table-column>
-
- <el-table-column
-
- align="center"
- label="病情变化"
- width="130"
- v-if="isShow('病情变化')"
- >
- <template slot-scope="scope">
- {{scope.row.symptom}}
-
-
- <span v-if="(scope.$index == monitors.length - 1) && (org_id == 0 || org_id == 9671 || org_id == 10340)">累计血容量:{{scope.row.accumulated_blood_volume }}L</span>
- </template>
- </el-table-column>
-
- <el-table-column
- prop="dispose"
- align="center"
- label="处理"
- width="130"
- v-if="isShow('处理')"
- >
- </el-table-column>
- <el-table-column
- prop="result"
- align="center"
- label="结果"
- width="130"
- v-if="isShow('结果')"
- >
- </el-table-column>
- </el-table>
- </div>
-
- <!--<div v-show="edit">-->
- <el-form v-show="edit" ref="form" :model="form" label-width="130px">
- <el-row :gutter="20">
- <el-col :span="8" v-if="isShow('监测时间')">
- <el-form-item label="监测时间:" :prop="isName('监测时间')"
- :rules="isCheckmust('监测时间')">
- <!-- {{ monitor_date_str }}
- <el-time-picker v-model="form.monitoring_time" :clearable="false" arrow-control :picker-options="{format: 'HH:mm'}" prefix-icon="" value-format="HH:mm" style="width: 60%;">
- </el-time-picker> -->
- <el-date-picker
- v-model="form.operate_time"
- type="datetime"
- prefix-icon=""
- style="width: 100%"
- format="yyyy-MM-dd HH:mm"
- value-format="timestamp"
- ></el-date-picker>
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('体温')">
- <el-form-item label="体温(℃):" :prop="isName('体温')"
- :rules="isCheckmust('体温')">
- <el-input v-model="form.temperature"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('收缩压')">
- <el-form-item label="收缩压(mmHg):" :prop="isName('收缩压')"
- :rules="isCheckmust('收缩压')">
- <el-input v-model="form.systolic_bp"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('舒张压')">
- <el-form-item label="舒张压(mmHg):" :prop="isName('舒张压')"
- :rules="isCheckmust('舒张压')">
- <el-input v-model="form.diastolic_bp"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('脉搏')">
- <el-form-item label="脉搏(次/分):" :prop="isName('脉搏')"
- :rules="isCheckmust('脉搏')">
- <el-input v-model="form.pulse_frequency"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('呼吸频率')">
- <el-form-item label="呼吸频率(次/分):" :prop="isName('呼吸频率')"
- :rules="isCheckmust('呼吸频率')">
- <el-input v-model="form.breathing_rated"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('静脉压')">
- <el-form-item
- v-if="form.venous_pressure_type == 2"
- label="静脉压(kpa):"
- :prop="isName('静脉压')"
- :rules="isCheckmust('静脉压')"
- >
- <el-input
- style="width: 140px"
- v-model="form.venous_pressure"
- ></el-input>
- <el-button
- size="mini"
- type="primary"
- @click="venousPressureChangeOne"
- >切换</el-button
- >
- </el-form-item>
- <el-form-item v-else label="静脉压(mmHg):" :prop="isName('静脉压')"
- :rules="isCheckmust('静脉压')">
- <el-input
- style="width: 140px"
- v-model="form.venous_pressure"
- ></el-input>
- <el-button
- size="mini"
- type="primary"
- @click="venousPressureChangeOne"
- >切换</el-button
- >
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('动脉压')">
- <el-form-item
- v-if="form.arterial_pressure_type == 2"
- label="动脉压(kpa):"
- :prop="isName('动脉压')"
- :rules="isCheckmust('动脉压')"
- >
- <el-input
- style="width: 140px"
- v-model="form.arterial_pressure"
- ></el-input>
- <el-button
- size="mini"
- type="primary"
- @click="venousPressureChangeThree"
- >切换</el-button
- >
- </el-form-item>
- <el-form-item v-else label="动脉压(mmHg):" :prop="isName('动脉压')"
- :rules="isCheckmust('动脉压')">
- <el-input
- style="width: 140px"
- v-model="form.arterial_pressure"
- ></el-input>
- <el-button
- size="mini"
- type="primary"
- @click="venousPressureChangeThree"
- >切换</el-button
- >
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血流量')">
- <el-form-item label="血流量(ml/min):" :prop="isName('血流量')"
- :rules="isCheckmust('血流量')">
- <el-input v-model="form.blood_flow_volume"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('跨膜压')">
- <el-form-item
- v-if="form.transmembrane_pressure_type == 2"
- label="跨膜压(kpa):"
- :prop="isName('跨膜压')"
- :rules="isCheckmust('跨膜压')"
- >
- <el-input
- style="width: 140px"
- v-model="form.transmembrane_pressure"
- ></el-input>
- <el-button
- size="mini"
- type="primary"
- @click="venousPressureChangeTwo"
- >切换</el-button
- >
- </el-form-item>
- <el-form-item v-else label="跨膜压(mmHg):" :prop="isName('跨膜压')"
- :rules="isCheckmust('跨膜压')">
- <el-input
- style="width: 140px"
- v-model="form.transmembrane_pressure"
- ></el-input>
- <el-button
- size="mini"
- type="primary"
- @click="venousPressureChangeTwo"
- >切换</el-button
- >
- </el-form-item>
- </el-col>
-
- <el-col
- :span="8"
- 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 == 29 ||
- template_id == 30 ||
- template_id == 31 ||
- template_id == 34 ||
- template_id == 35 ||
- template_id == 38 ||
- template_id == 41 ||
- template_id == 43 ||
- template_id == 44 ||
- template_id == 46 ||
- template_id == 48 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 47 ||
- template_id == 60 ||
- template_id == 65 ||
- org_id== 10432 ||
- org_id== 10445 ||
- org_id== 10410 ||
- org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551) &&
- org_id!=10387
- "
- >
- <el-form-item label="超滤率(ml/h)" :prop="isName('超滤率')"
- :rules="isCheckmust('超滤率')">
- <el-input v-model="form.ultrafiltration_rate"></el-input>
- </el-form-item>
- </el-col>
- <el-col
- :span="8"
- 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 != 29 &&
- template_id != 30 &&
- template_id != 31 &&
- template_id != 34 &&
- template_id != 35 &&
- template_id != 38 &&
- template_id != 41 &&
- template_id != 43 &&
- template_id != 44 &&
- template_id != 46 &&
- template_id != 48 &&
- template_id != 53 &&
- template_id != 54 &&
- template_id != 56 &&
- template_id != 47 &&
- template_id != 60 &&
- template_id != 65 &&
- org_id!=10432 &&
- org_id!=10445 &&
- org_id!=10410 &&
- org_id!=10485 &&
- org_id!=10375 && org_id!=10480 && org_id!=10551)
- || org_id == 10387
- "
- >
- <el-form-item label="超滤率(L/h)" :prop="isName('超滤率')"
- :rules="isCheckmust('超滤率')">
- <el-input v-model="form.ultrafiltration_rate"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col
- :span="8"
- v-if="
- isShow('超滤量') &&
- (template_id == 6 ||
- template_id == 9 ||
- 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 == 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 == 41 ||
- template_id == 43 ||
- template_id == 44 ||
- template_id == 46 ||
- template_id == 47 ||
- template_id == 48 ||
- template_id == 51 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 60 ||
- template_id == 65 ||
- org_id == 10210 ||
- org_id == 9555 ||
- org_id == 10340 ||
- org_id == 10432 ||
- org_id == 10445 ||
- org_id == 10410 ||
- org_id == 10495 ||
- org_id == 10485 ||
- org_id == 10395 ||
- org_id == 10375 ||
- org_id == 10480 ||
- org_id == 10551)
- && org_id!=10387
- "
- >
- <el-form-item label="超滤量(ml):" :prop="isName('超滤量')"
- :rules="isCheckmust('超滤量')">
- <el-input v-model="form.ultrafiltration_volume"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col
- :span="8"
- v-if="
- isShow('超滤量') &&
- (template_id != 6 &&
- template_id != 9 &&
- 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 != 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 != 41 &&
- template_id != 43 &&
- template_id != 44 &&
- template_id != 46 &&
- template_id != 47 &&
- template_id != 51 &&
- template_id == 48 &&
- template_id == 53 &&
- template_id == 54 &&
- template_id == 56 &&
- template_id == 60 &&
- template_id == 65 &&
- org_id != 10210 &&
- org_id != 10340 &&
- org_id != 9555 &&
- org_id!=10432 &&
- org_id!=10445 &&
- org_id!=10410 &&
- org_id!=10495 &&
- org_id!=10485 &&
- org_id!=10395 &&
- org_id!=10375 &&
- org_id!=10480 &&
- org_id!=10551
- )
- || org_id == 10387
- "
- >
- <el-form-item label="超滤量(L):" :prop="isName('超滤量')"
- :rules="isCheckmust('超滤量')">
- <el-input v-model="form.ultrafiltration_volume"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('钠浓度')">
- <el-form-item label="钠浓度(mmol/L):" :prop="isName('钠浓度')"
- :rules="isCheckmust('钠浓度')">
- <el-input v-model="form.sodium_concentration"></el-input>
- </el-form-item>
- </el-col>
- <!-- </el-row>
-
- <el-row :gutter="20"> -->
- <el-col :span="8" v-if="isShow('透析液温度')">
- <el-form-item label="透析液温度(℃):" :prop="isName('透析液温度')"
- :rules="isCheckmust('透析液温度')">
- <el-input v-model="form.dialysate_temperature"></el-input>
- </el-form-item>
- </el-col>
- <el-col
- :span="8"
- 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 != 54 &&
- template_id != 56 &&
- template_id != 53 &&
- org_id!=10432 &&
- org_id!=10445 &&
- org_id!=10410 &&
- org_id!=10395)
- || org_id ==10558
- "
- >
- <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
- :rules="isCheckmust('置换率')">
- <el-input v-model="form.replacement_rate"></el-input>
- </el-form-item>
- </el-col>
- <el-col
- :span="8"
- 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 == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 48 ||
- org_id==10432 ||
- org_id!=10445 ||
- org_id!=10410 ||
- org_id!=10395) && org_id !=10558
- "
- >
- <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
- :rules="isCheckmust('置换率')">
- <el-input v-model="form.replacement_rate"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('置换量') && template_id == 43">
- <el-form-item label="置换量(ml/h):" :prop="isName('置换量')"
- :rules="isCheckmust('置换量')">
- <el-input v-model="form.displacement_quantity"></el-input>
- </el-form-item>
- </el-col>
- <el-col
- :span="8"
- v-if="
- isShow('置换量') &&
- (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346) &&
- org_id != 9779 &&
- template_id != 11 &&
- template_id != 20 &&
- template_id != 26 &&
- template_id != 29 &&
- template_id != 43 &&
- template_id != 46 &&
- template_id != 53 &&
- template_id != 54 &&
- template_id != 56 &&
- template_id != 48 &&
- org_id!=10340 &&
- org_id!=10432 &&
- org_id!=10445 &&
- org_id!=10395
- "
- >
- <el-form-item label="置换量(L):" :prop="isName('置换量')"
- :rules="isCheckmust('置换量')">
- <el-input v-model="form.displacement_quantity"></el-input>
- </el-form-item>
- </el-col>
- <el-col
- :span="8"
- v-if="
- isShow('置换量') &&
- ((template_id == 6 &&
- org_id != 9919 &&
- org_id != 10191 &&
- org_id != 10551 &&
- template_id != 43 && org_id!=10558 && org_id!=10346) ||
- org_id == 9779 ||
- template_id == 11 ||
- template_id == 20 ||
- template_id == 26 ||
- template_id == 29 ||
- template_id == 46 ||
- template_id == 53 ||
- template_id == 54 ||
- template_id == 56 ||
- template_id == 48 ||
- org_id!=10340 ||
- org_id ==10432 ||
- org_id ==10445 ||
- org_id == 10395)
- "
- >
- <el-form-item label="置换量(ml):" :prop="isName('置换量')"
- :rules="isCheckmust('置换量')">
- <el-input v-model="form.displacement_quantity"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('电导度')">
- <el-form-item label="电导度(mS/m):" :prop="isName('电导度')"
- :rules="isCheckmust('电导度')">
- <el-input v-model="form.conductivity"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('置换液流量') && template_id != 27 && template_id != 60">
- <el-form-item label="置换液流量(ml/h):" :prop="isName('置换液流量')"
- :rules="isCheckmust('置换液流量')">
- <el-input v-model="form.displacement_flow_quantity"></el-input>
- </el-form-item>
- </el-col>
- <el-col :span="8" v-if="isShow('置换液流量') && (template_id ==27 || template_id == 60)">
- <el-form-item label="置换液流量(ml/min):" :prop="isName('置换液流量')"
- :rules="isCheckmust('置换液流量')">
- <el-input v-model="form.displacement_flow_quantity"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('透析液流量')">
- <el-form-item label="透析液流量(ml/h):" :prop="isName('透析液流量')"
- :rules="isCheckmust('透析液流量')">
- <el-input v-model="form.dialysate_flow"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('SpO₂')">
- <el-form-item label="SpO₂(%):" :prop="isName('SpO₂')"
- :rules="isCheckmust('SpO₂')">
- <el-input v-model="form.blood_oxygen_saturation"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血糖')">
- <el-form-item label="血糖(mmol/L):" :prop="isName('血糖')"
- :rules="isCheckmust('血糖')">
- <el-input v-model="form.blood_sugar"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('肝素用量余量')">
- <el-form-item label="肝素用量余量(ml):" :prop="isName('肝素用量余量')"
- :rules="isCheckmust('肝素用量余量')">
- <el-input v-model="form.heparin"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('肝素量')">
- <el-form-item label="肝素量(mg):" :prop="isName('肝素量')"
- :rules="isCheckmust('肝素量')">
- <el-input v-model="form.heparin_amount"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('抗凝剂')">
- <el-form-item label="抗凝剂:" :prop="isName('抗凝剂')"
- :rules="isCheckmust('抗凝剂')">
- <div style="display: flex">
- <el-select
- v-model="form.monitor_anticoagulant"
- placeholder="请选择"
- style="width: 50%"
- >
- <el-option
- v-for="(item, index) in anticoagulantsConfit"
- :label="item.name"
- :key="index + 'e'"
- :value="item.id"
- ></el-option>
- </el-select>
- <el-input
- v-model="form.monitor_anticoagulant_value"
- style="width: 49%; margin-left: 10px"
- ></el-input>
- </div>
- </el-form-item>
- </el-col>
-
-
- <el-col :span="24" v-if="isShow('拒测血压')">
- <el-form-item label="拒测血压:" :prop="isName('拒测血压')">
- <el-select v-model="form.is_pressure" placeholder="请选择">
- <el-option
- v-for="item in pressureList"
- :key="item.id"
- :label="item.name"
- :value="item.name">
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血压监测部位')">
- <el-form-item label="血压监测部位:" :prop="isName('血压监测部位')"
- :rules="isCheckmust('血压监测部位')">
- <div style="display: flex">
- <el-select
- v-model="form.blood_pressure_monitoring_site"
- placeholder="请选择"
- style="width: 50%"
- >
- <el-option
- v-for="(item, index) in bloodPressureMmonitoringSite"
- :label="item.name"
- :key="index + 'e'"
- :value="item.id"
- ></el-option>
- </el-select>
- </div>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('并发症')">
- <el-form-item label="并发症" :prop="isName('并发症')"
- :rules="isCheckmust('并发症')">
- <div style="display: flex">
- <el-select
- v-model="form.complication"
- placeholder="请选择"
- style="width: 50%"
- >
- <el-option
- v-for="(item, index) in complicationList"
- :label="item.name"
- :key="index + 'e'"
- :value="item.id"
- ></el-option>
- </el-select>
- </div>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9671 || org_id == 9538 || org_id == 10340)">
- <el-form-item label="累计血容量(L):" :prop="isName('累计血容量')"
- :rules="isCheckmust('累计血容量')">
- <el-input v-model="form.accumulated_blood_volume"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('累计血容量') && (template_id != 41 && template_id !=9671 && org_id!=9538 && org_id!=10340)">
- <el-form-item label="累计血容量(ml):" :prop="isName('累计血容量')"
- :rules="isCheckmust('累计血容量')">
- <el-input v-model="form.accumulated_blood_volume"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血容量')">
- <el-form-item label="血容量(L):" :prop="isName('血容量')"
- :rules="isCheckmust('血容量')">
- <el-input v-model="form.accumulated_blood_volume"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血温监测')">
- <el-form-item label="血温监测" :prop="isName('血温监测')"
- :rules="isCheckmust('血温监测')">
- <el-input v-model="form.blood_temperature"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('尿素监测')">
- <el-form-item label="尿素监测" :prop="isName('尿素监测')"
- :rules="isCheckmust('尿素监测')">
- <el-input v-model="form.urea_monitoring"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血浓量')">
- <el-form-item label="血浓量" :prop="isName('血浓量')"
- :rules="isCheckmust('血浓量')">
- <el-input v-model="form.blood_thickness"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('血压监测')">
- <el-form-item label="血压监测" :prop="isName('血压监测')"
- :rules="isCheckmust('血压监测')">
- <el-input v-model="form.blood_monitor"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('脱水')">
- <el-form-item label="脱水(L):" :prop="isName('脱水')"
- :rules="isCheckmust('脱水')">
- <el-input v-model="form.dehydration"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('置换液速度')">
- <el-form-item label="置换液速度(ml/h):" :prop="isName('置换液速度')"
- :rules="isCheckmust('置换液速度')">
- <el-input v-model="form.replacement_speed"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('碳酸氢钠用量')">
- <el-form-item label="碳酸氢钠用量(ml):" :prop="isName('碳酸氢钠用量')"
- :rules="isCheckmust('碳酸氢钠用量')">
- <el-input v-model="form.dicarbonate"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="8" v-if="isShow('滤前压')">
- <el-form-item label="滤前压(mmHg):">
- <el-input v-model="form.filter_pressure"></el-input>
- </el-form-item>
- </el-col>
-
-
-
- <!-- </el-row>
-
- <el-row :gutter="20"> -->
- <el-col :span="24" v-if="isShow('KT/V')">
- <el-form-item label="KT/V(在线):" :prop="isName('KT/V')"
- :rules="isCheckmust('KT/V')">
- <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
- </el-form-item>
- </el-col>
-
- <el-col :span="24" v-if="isShow('URR')">
- <el-form-item label="URR:" :prop="isName('URR')"
- :rules="isCheckmust('URR')">
- <el-input type="textarea" :rows="4" v-model="form.urr"></el-input>
- </el-form-item>
- </el-col>
-
-
-
- <!-- </el-row>
-
- <el-row :gutter="20"> -->
- <el-col :span="24" v-if="isShow('病情变化')">
- <el-form-item label="病情变化:" :prop="isName('病情变化')"
- :rules="isCheckmust('病情变化')">
- <el-select
- v-model="symptom_selecteds"
- style="width: 100%"
- :multiple="true"
- collapse-tags
- @change="symptomSelectorChange"
- >
- <el-option
- v-for="(symptom, index) in symptom_options"
- :key="index"
- :label="symptom.name"
- :value="symptom.name"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <!-- </el-row>
- <el-row :gutter="20"> -->
- <el-col :span="24" v-if="isShow('病情变化')">
- <el-form-item :prop="isName('病情变化')"
- :rules="isCheckmust('病情变化')">
- <el-input
- type="textarea"
- :rows="4"
- v-model="form.symptom"
- @blur="symptomTextareaBlur"
- ></el-input>
- </el-form-item>
- </el-col>
- <!-- </el-row>
-
- <el-row :gutter="20"> -->
-
- <el-col :span="24" v-if="isShow('处理')">
- <el-form-item label="处理:" :prop="isName('处理')"
- :rules="isCheckmust('处理')">
- <el-select
- v-model="dispose_selecteds"
- style="width: 100%"
- :multiple="true"
- collapse-tags
- @change="disposeSelectorChange"
- >
- <el-option
- v-for="(dispose, index) in dispose_options"
- :key="index"
- :label="dispose.name"
- :value="dispose.name"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
-
- <!-- </el-row>
- <el-row :gutter="20"> -->
- <el-col :span="24" v-if="isShow('处理')">
- <el-form-item :prop="isName('处理')"
- :rules="isCheckmust('处理')">
- <el-input
- type="textarea"
- :rows="4"
- v-model="form.dispose"
- @blur="disposeTextareaBlur"
- ></el-input>
- <!-- @blur="disposeTextareaBlur" -->
- </el-form-item>
- </el-col>
- <!-- </el-row>
-
- <el-row :gutter="20"> -->
- <el-col :span="24" v-if="isShow('结果')">
- <el-form-item label="结果:" :prop="isName('结果')"
- :rules="isCheckmust('结果')">
- <el-select
- v-model="result_selecteds"
- style="width: 100%"
- :multiple="true"
- collapse-tags
- @change="resultSelectorChange"
- >
- <el-option
- v-for="(result, index) in result_options"
- :key="index"
- :label="result.name"
- :value="result.name"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <!-- </el-row>
- <el-row :gutter="20"> -->
- <el-col :span="24" v-if="isShow('结果')">
- <el-form-item :prop="isName('结果')"
- :rules="isCheckmust('结果')">
- <el-input
- type="textarea"
- :rows="4"
- v-model="form.result"
- @blur="resultTextareaBlur"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
-
- <div slot="footer" class="dialog-footer" v-show="edit">
- <el-button @click="cancelEditAction">取 消</el-button>
- <el-button :loading="loading" type="primary" @click="submitAction('form')">保 存</el-button>
- </div>
- <!--</div>-->
- </el-dialog>
-
-
- <el-dialog
- title="提示"
- :visible.sync="infoDialogVisible"
- width="30%">
- <span>
- <el-form>
- <el-row>
- <span>申请日期:</span>
- <span>
- <el-date-picker
- type="datetime"
- format="yyyy-MM-dd HH:mm"
- value-format="yyyy-MM-dd HH:mm"
- placeholder="选择时间"
- v-model="selected_date"
- ></el-date-picker>
- </span>
- </el-row>
- <el-row>
- <span>备注:</span>
- <span>
- <el-input v-model="remark" style="width:200px"></el-input>
- </span>
- </el-row>
- </el-form>
-
- </span>
- <span slot="footer" class="dialog-footer">
- <el-button @click="infoDialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="saveInformation">确 定</el-button>
- </span>
- </el-dialog>
- </div>
- </template>
-
- <script>
- import { parseTime } from "@/utils";
- import { getDataConfig } from "@/utils/data";
- import {
- editMonitor,
- postDelMonitorInfo,
- getTodayMonitor,
- } from "@/api/dialysis_record";
- import store from "@/store";
- import { saveInformation } from '@/api/dialysis'
- import request from "@/utils/request";
-
- export default {
- name: "MonitorDialog",
- data() {
- return {
- loading: false,
- is_has_create: true,
- is_has_modify: true,
- is_has_modify_other: true,
- is_has_del: true,
- is_has_del_other: true,
- visible: false,
- edit: false,
- current_row_class: "current-box-class",
- creator: 0,
- patient_id: 0,
- schedule_date: 0,
- template_id: 0,
- isAdd: false,
- // monitoring_date: 0,
-
- form: {
- id: 0,
- monitoring_date: 0, // 监测日期
- // operate_date: 0, // 实际测量日期
- // monitoring_time: "", // 监测时间 HH:mm
- operate_time: 0,
- systolic_bp: "", // 收缩压
- diastolic_bp: "", // 舒张压
- pulse_frequency: "", // 心率
- temperature: "", // 体温
- breathing_rated: "", // 呼吸频率
- blood_flow_volume: "", // 血流量
- venous_pressure: "", // 静脉压
- venous_pressure_type: 1, // 静脉压
- transmembrane_pressure: "", // 跨膜压
- transmembrane_pressure_type: 1, // 跨膜压
- ultrafiltration_volume: "", // c
- ultrafiltration_rate: "", // 超滤率
- arterial_pressure: "", // 动脉压
- arterial_pressure_type: 1, // 动脉压
- sodium_concentration: "", // 钠浓度
- dialysate_temperature: "", // 透析液温度
- replacement_rate: "", // 置换率
- displacement_quantity: "", // 置换量
- conductivity: "", // 电导度
- displacement_flow_quantity: "", // 置换液流量
- dialysate_flow: "", // 透析液流量
- heparin: "", // 肝素用量余量
- ktv: "", // KT/V
- symptom: "", // 病情变化
- dispose: "", // 处理
- result: "", // 结果,
- blood_oxygen_saturation: "",
- urr: "",
- blood_sugar: "", //血糖
- monitor_anticoagulant: "",
- monitor_anticoagulant_value: "",
- blood_pressure_monitoring_site: "",
- complication: "",
- accumulated_blood_volume: "",
- blood_temperature: "",
- urea_monitoring: "",
- blood_thickness: "",
- blood_monitor: "",
- heparin_amount: "", //肝素量
- dehydration: "",
- filter_pressure:"",
- replacement_speed:"",
- dicarbonate:"",
- is_pressure:"",
- },
-
- table_current_row: null,
-
- symptom_selecteds: [],
- symptom_options: getDataConfig("hemodialysis", "symptoms"),
- dispose_selecteds: [],
- dispose_options: getDataConfig("hemodialysis", "deals"),
- result_selecteds: [],
- result_options: getDataConfig("hemodialysis", "results"),
- valueOne: 0,
- valueTwo: 0,
- valueThree: 0,
- anticoagulantsConfit: {},
- bloodPressureMmonitoringSite: [],
- complicationList: [],
- infoDialogVisible:false,
- selected_date:"",
- remark:"",
- pressureList:[
- {id:1,name:"是"},
- {id:2,name:"否"}
- ]
- };
- },
- props: {
- monitors: {
- type: Array,
- },
- patient: {
- type: Object,
- },
- },
- computed: {
- monitor_date_str: function () {
- return parseTime(this.form.monitoring_date, "{y}-{m}-{d}");
- },
- },
- created() {
- this.template_id = this.$store.getters.xt_user.template_info.template_id;
- this.org_id = this.$store.getters.xt_user.template_info.org_id;
- var date = this.$route.query.date;
- var patient_id = this.$route.query.patient_id;
- this.patient_id = patient_id ? patient_id : this.patient.id;
- console.log("this.patient_id", this.patient_id);
- this.schedule_date = date
- ? date
- : new Date(new Date().toLocaleDateString()).getTime() / 1000;
- this.form.monitoring_date = date
- ? date
- : new Date(new Date().toLocaleDateString()).getTime() / 1000;
- // this.form.operate_date = parseInt((new Date()).getTime() / 1000)
- // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
- this.form.operate_time = new Date().getTime();
- var symptoms = getDataConfig("hemodialysis", "symptoms");
-
- this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
- //console.log("抗凝剂",this.anticoagulantsConfit)
- this.bloodPressureMmonitoringSite = getDataConfig(
- "hemodialysis",
- "blood_pressure_monitoring_site"
- );
- this.complicationList = getDataConfig("hemodialysis", "complication");
-
-
- },
- methods: {
- isName(name) {
- let filedList = store.getters.xt_user.fileds;
- for (let i = 0; i < filedList.length; i++) {
- if (filedList[i].module == 4 && filedList[i].filed_name_cn == name) {
- return filedList[i].filed_name;
- }
- }
- },
-
- isCheckmust(name) {
- let filedList = store.getters.xt_user.fileds;
- for (let i = 0; i < filedList.length; i++) {
- if (
- filedList[i].module == 4
- &&filedList[i].filed_name_cn == name
- &&filedList[i].is_write == 1
- ) {
- // console.log(filedList[i].is_write,'false')
- // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
- return [{ required: true ,message:`请输入${name}` }];
- }
- // else {
- // console.log(name,filedList[i].filed_name_cn,'难道不一样吗')
- // // console.log(filedList[i].is_write,'true')
- // return [{ required:false}];
- // }
- }
- },
- venousPressureChange(type) {
- if (type == 1) {
- this.form.venous_pressure = Math.ceil(
- Math.round(this.form.venous_pressure * 7.5)
- );
- } else if (type == 2) {
- this.form.transmembrane_pressure = Math.ceil(
- Math.round(this.form.transmembrane_pressure * 7.5)
- );
- } else {
- this.form.arterial_pressure = Math.ceil(
- Math.round(this.form.arterial_pressure * 7.5)
- );
- }
- },
- venousPressureChangeOne() {
- if (this.form.venous_pressure_type == 1) {
- this.form.venous_pressure_type = 2;
- } else {
- this.form.venous_pressure_type = 1;
- }
- // if (this.valueOne == 0) {
- // this.form.venous_pressure = Math.ceil(
- // Math.round(this.form.venous_pressure * 7.5)
- // )
- // this.valueOne = 1
- // return false
- // }
- // if (this.valueOne == 1) {
- // this.form.venous_pressure = Math.ceil(
- // Math.round(this.form.venous_pressure / 7.5)
- // )
- // this.valueOne = 0
- // return false
- // }
- },
- venousPressureChangeThree() {
- if (this.form.arterial_pressure_type == 1) {
- this.form.arterial_pressure_type = 2;
- } else {
- this.form.arterial_pressure_type = 1;
- }
- // if (this.valueThree == 0) {
- // this.form.arterial_pressure = Math.ceil(
- // Math.round(this.form.arterial_pressure * 7.5)
- // )
- // this.valueThree = 1
- // return false
- // }
- // if (this.valueThree == 1) {
- // this.form.arterial_pressure = Math.ceil(
- // Math.round(this.form.arterial_pressure / 7.5)
- // )
- // this.valueThree = 0
- // return false
- // }
- },
-
- venousPressureChangeTwo() {
- if (this.form.transmembrane_pressure_type == 1) {
- this.form.transmembrane_pressure_type = 2;
- } else {
- this.form.transmembrane_pressure_type = 1;
- }
- // if (this.valueTwo == 0) {
- // this.form.transmembrane_pressure = Math.ceil(
- // Math.round(this.form.transmembrane_pressure * 7.5)
- // )
- // this.valueTwo = 1
- // return false
- // }
- // if (this.valueTwo == 1) {
- // this.form.transmembrane_pressure = Math.ceil(
- // Math.round(this.form.transmembrane_pressure / 7.5)
- // )
- // this.valueTwo = 0
- // return false
- // }
- },
-
- isShow(name) {
- var filedList = store.getters.xt_user.fileds;
- for (let i = 0; i < filedList.length; i++) {
- if (
- filedList[i].module == 4 &&
- filedList[i].filed_name_cn == name &&
- filedList[i].is_show == 1
- ) {
- return true;
- }
- }
- return false;
- },
- reset: function () {
- this.cancelEditAction();
- },
- show() {
- this.getPermission();
- this.visible = true;
- },
- hide() {
- this.visible = false;
- },
- getMonitorDate: function (monitor) {
- return parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}");
- },
-
- newRecordAction: function () {
- console.log("111111111")
- this.setEditMonitor(null);
- this.$refs.table.setCurrentRow(null);
- console.log(this.dispose_options,'oop')
- if (this.monitors.length == 0) {
- this.disposeTextareaBlur();
- }
- this.edit = true;
- this.isAdd = true;
- this.getLastRecordTody();
-
- },
- getLastRecordTody() {
- const params = {
- patient_id: this.patient_id,
- };
-
- getTodayMonitor(params).then((rs) => {
- console.log("机构ID", this.org_id);
-
- var resp = rs.data.data;
-
- this.form.operate_time = resp.monitor.operate_time
- ? (resp.monitor.operate_time + 3600) * 1000
- : Date.parse(new Date());
-
-
- this.form.temperature = ""
-
- // this.last_monitor_record.pulse_frequency;
- // this.form.breathing_rated = resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
- this.form.systolic_bp = ""; // this.last_monitor_record.systolic_blood_pressure;
- this.form.diastolic_bp = ""; // this.last_monitor_record.diastolic_blood_pressure;
- this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume: "";
- // 静脉压
- if (this.org_id == 10060 || this.org_id == 10387) {
- this.form.venous_pressure = resp.monitor.venous_pressure;
- }else if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471 ){
- this.form.venous_pressure = 80
- } else {
- this.form.venous_pressure = ""; // this.last_monitor_record.venous_pressure;
- }
-
- if(this.org_id == 10440){
- this.form.pulse_frequency = 80
- }else{
- this.form.pulse_frequency = ""
- }
-
- this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
- if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10387){
- this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: "-100"; // this.last_monitor_record.arterial_pressure;
- }else{
- this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: ""
- }
-
- this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
- ? resp.monitor.arterial_pressure_type
- : 1;
- if (this.org_id == 10060 || this.org_id == 10387) {
- this.form.transmembrane_pressure = resp.monitor.transmembrane_pressure;
- }else if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
- this.form.transmembrane_pressure = 60
- } else {
- this.form.transmembrane_pressure = ""; // this.last_monitor_record.transmembrane_pressure;
- }
- if (this.org_id == 10318) {
- this.form.breathing_rated = resp.monitor.breathing_rate;
- }else if(this.org_id == 9671){
- this.form.breathing_rated = "20"
- }else if(this.org_id == 10340){
- this.form.breathing_rated = "20"
- } else {
- this.form.breathing_rated = "";
- }
- this.form.transmembrane_pressure_type = resp.monitor
- .transmembrane_pressure_type
- ? resp.monitor.transmembrane_pressure_type
- : 1;
- this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate
- ? resp.monitor.ultrafiltration_rate
- : "";
- this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume
- ? resp.monitor.ultrafiltration_volume
- : "";
- this.form.sodium_concentration = resp.monitor.sodium_concentration
- ? resp.monitor.sodium_concentration
- : "";
- this.form.dialysate_temperature = resp.monitor.dialysate_temperature
- ? resp.monitor.dialysate_temperature
- : "";
-
- if(this.org_id == 9675 || this.org_id == 9671 || this.org_id == 10340 || this.org_id == 10469 || this.org_id == 10471){
- this.form.temperature = "36.5"
-
- }else{
- this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature: "";
- }
- this.form.replacement_rate = resp.monitor.replacement_rate
- ? resp.monitor.replacement_rate
- : "";
- this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : "";
- this.form.dialysate_flow = resp.monitor.dialysate_flow
- ? resp.monitor.dialysate_flow
- : "";
- this.form.displacement_quantity = resp.monitor.displacement_quantity
- ? resp.monitor.displacement_quantity
- : ""; // this.last_monitor_record.displacement_quantity;
- this.form.conductivity = "";
- this.form.displacement_flow_quantity = resp.monitor
- .displacement_flow_quantity
- ? resp.monitor.displacement_flow_quantity
- : "";
- this.form.ktv = resp.monitor.ktv ? resp.monitor.ktv : ""; // this.last_monitor_record.ktv;
- this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
- // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
- this.form.result = resp.monitor.result ? resp.monitor.result : ""; // this.last_monitor_record.result;
- this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation? resp.monitor.blood_oxygen_saturation: "";
- //针对长沙南雅医院
- if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 9675){
- this.form.blood_oxygen_saturation = "/"
- }
- this.form.urr = resp.monitor.urr ? resp.monitor.urr : "";
- this.form.blood_sugar = resp.monitor.blood_sugar
- ? resp.monitor.blood_sugar
- : "";
- this.form.sodium_concentration = resp.monitor.sodium_concentration
- ? resp.monitor.sodium_concentration
- : "";
- if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
- this.form.conductivity = 14
- }else{
- this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
- }
-
- this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant
- ? resp.monitor.monitor_anticoagulant
- : "";
- this.form.monitor_anticoagulant_value = resp.monitor
- .monitor_anticoagulant_value
- ? resp.monitor.monitor_anticoagulant_value
- : "";
- this.form.accumulated_blood_volume = resp.monitor
- .accumulated_blood_volume
- ? resp.monitor.accumulated_blood_volume
- : "";
- this.form.blood_temperature = resp.monitor.blood_temperature
- ? resp.monitor.blood_temperature
- : "";
- this.form.urea_monitoring = resp.monitor.urea_monitoring
- ? resp.monitor.urea_monitoring
- : "";
- this.form.blood_thickness = resp.monitor.blood_thickness
- ? resp.monitor.blood_thickness
- : "";
- this.form.blood_monitor = resp.monitor.blood_monitor
- ? resp.monitor.blood_monitor
- : "";
- this.form.dehydration = resp.monitor.dehydration
- ? resp.monitor.dehydration
- : "";
- this.form.heparin_amount = resp.monitor.heparin_amount
- ? resp.monitor.heparin_amount
- : "";
- if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
- this.form.dialysate_temperature = 36.5
-
- }
- });
- },
-
- modifyRecordAction: function () {
- if (this.table_current_row == null) {
- this.$message.error("请选择一条监测记录");
- return;
- }
- this.creator = this.table_current_row.creator;
- console.log("22222222222")
- this.setEditMonitor(this.table_current_row);
- this.$refs.table.setCurrentRow(null);
- this.edit = true;
- this.isAdd = false;
- },
- cancelEditAction: function () {
- console.log("3333333333")
- this.setEditMonitor(null);
- this.$refs.table.setCurrentRow(null);
- this.edit = false;
- },
- tableCurrentRowChange: function (currentRow) {
- this.table_current_row = currentRow;
-
- // console.log("tableCurrentRowChange", currentRow)
- },
- setEditMonitor: function (monitor) {
- console.log("monitor23223322332", monitor);
- if (monitor == null || monitor == undefined) {
- this.form.id = 0;
- // this.form.operate_date = parseInt((new Date()).getTime() / 1000)
- // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
- this.form.operate_time = new Date().getTime();
- this.form.systolic_bp = "";
- this.form.diastolic_bp = "";
- this.form.pulse_frequency = "";
- this.form.breathing_rated = "";
- this.form.blood_flow_volume = "";
- this.form.temperature = "";
- this.form.venous_pressure = "";
- this.form.venous_pressure_type = 1;
- this.form.transmembrane_pressure = "";
- this.form.transmembrane_pressure_type = 1;
- if(this.org_id == 9671 || this.org_id == 10440){
- this.form.ultrafiltration_volume = 0
- }
- if(this.org_id != 9671 && this.org_id != 10440){
- this.form.ultrafiltration_volume = "";
- }
-
- this.form.ultrafiltration_rate = "";
- this.form.arterial_pressure = "";
- this.form.arterial_pressure_type = 1;
- this.form.sodium_concentration = "";
- this.form.dialysate_temperature = "";
- this.form.replacement_rate = "";
- this.form.displacement_quantity = "";
- this.form.conductivity = "";
- this.form.displacement_flow_quantity = "";
- this.form.heparin = "";
- this.form.dialysate_flow = "";
- this.form.ktv = "";
- this.form.symptom = "";
- this.form.dispose = "";
- this.form.result = "";
- this.symptom_selecteds = [];
- this.dispose_selecteds = [];
- this.result_selecteds = [];
- this.form.urr = "";
- this.form.blood_sugar = "";
- this.form.monitor_anticoagulant = "";
- this.form.monitor_anticoagulant_value = "";
- this.form.accumulated_blood_volume = "";
- this.form.blood_temperature = "";
- this.form.urea_monitoring = "";
- this.form.blood_thickness = "";
- this.form.blood_monitor = "";
- this.form.dehydration = "";
- this.form.heparin_amount = "";
- this.form.filter_pressure =""
- } else {
- (this.form.id = monitor.id),
- // this.form.operate_date = monitor.operate_date
- // this.form.monitoring_time = monitor.monitoring_time
- (this.form.operate_time = monitor.operate_time * 1000);
- this.form.systolic_bp = monitor.systolic_blood_pressure
- ? monitor.systolic_blood_pressure
- : "";
- this.form.temperature = monitor.temperature ? monitor.temperature : "";
- this.form.diastolic_bp = monitor.diastolic_blood_pressure
- ? monitor.diastolic_blood_pressure
- : "";
- this.form.pulse_frequency = monitor.pulse_frequency
- ? monitor.pulse_frequency
- : "";
- this.form.breathing_rated = monitor.breathing_rate
- ? monitor.breathing_rate
- : "";
- this.form.blood_flow_volume = monitor.blood_flow_volume
- ? monitor.blood_flow_volume
- : "";
- this.form.venous_pressure = monitor.venous_pressure
- ? monitor.venous_pressure
- : "";
- this.form.venous_pressure_type = monitor.venous_pressure_type
- ? monitor.venous_pressure_type
- : "";
- this.form.transmembrane_pressure = monitor.transmembrane_pressure
- ? monitor.transmembrane_pressure
- : "";
- this.form.transmembrane_pressure_type =
- monitor.transmembrane_pressure_type
- ? monitor.transmembrane_pressure_type
- : "";
- if(this.org_id == 9671 || this.org_id == 10440){
- this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
- ? monitor.ultrafiltration_volume
- : "0";
- }
- if(this.org_id != 9671 && this.org_id !=10440){
- this.form.ultrafiltration_volume = monitor.ultrafiltration_volume
- ? monitor.ultrafiltration_volume
- : "";
- }
-
- this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
- ? monitor.ultrafiltration_rate
- : "";
- if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
- this.form.arterial_pressure = monitor.arterial_pressure
- ? monitor.arterial_pressure
- : "-100";
- }else{
- this.form.arterial_pressure = monitor.arterial_pressure
- ? monitor.arterial_pressure
- : "";
- }
-
- this.form.arterial_pressure_type = monitor.arterial_pressure_type
- ? monitor.arterial_pressure_type
- : "";
- this.form.sodium_concentration = monitor.sodium_concentration
- ? monitor.sodium_concentration
- : "";
- this.form.dialysate_temperature = monitor.dialysate_temperature
- ? monitor.dialysate_temperature
- : "";
- this.form.replacement_rate = monitor.replacement_rate
- ? monitor.replacement_rate
- : "";
- this.form.displacement_quantity = monitor.displacement_quantity
- ? monitor.displacement_quantity
- : "";
- this.form.conductivity = monitor.conductivity
- ? monitor.conductivity
- : "";
- this.form.displacement_flow_quantity =
- monitor.displacement_flow_quantity
- ? monitor.displacement_flow_quantity
- : "";
- this.form.heparin = monitor.heparin ? monitor.heparin : "";
- this.form.dialysate_flow = monitor.dialysate_flow
- ? monitor.dialysate_flow
- : "";
-
- this.form.ktv = monitor.ktv ? monitor.ktv : "";
- this.form.symptom = monitor.symptom;
- this.form.dispose = monitor.dispose;
- this.form.result = monitor.result;
- this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:"/"
- this.form.urr = monitor.urr ? monitor.urr : "";
- this.form.blood_sugar = monitor.blood_sugar ? monitor.blood_sugar : "";
- this.form.monitor_anticoagulant = monitor.monitor_anticoagulant
- ? monitor.monitor_anticoagulant
- : "";
- this.form.monitor_anticoagulant_value =
- monitor.monitor_anticoagulant_value
- ? monitor.monitor_anticoagulant_value
- : "";
- this.form.accumulated_blood_volume = monitor.accumulated_blood_volume
- ? monitor.accumulated_blood_volume
- : "";
- this.form.blood_temperature = monitor.blood_temperature
- ? monitor.blood_temperature
- : "";
- this.form.urea_monitoring = monitor.urea_monitoring
- ? monitor.urea_monitoring
- : "";
- this.form.blood_thickness = monitor.blood_thickness
- ? monitor.blood_thickness
- : "";
- this.form.blood_monitor = monitor.blood_monitor
- ? monitor.blood_monitor
- : "";
- this.form.dehydration = monitor.dehydration ? monitor.dehydration : "";
- this.form.heparin_amount = monitor.heparin_amount
- ? monitor.heparin_amount
- : "";
- this.form.filter_pressure = monitor.filter_pressure
- ? monitor.filter_pressure
- : "";
- this.form.replacement_speed = monitor.replacement_speed?monitor.replacement_speed:""
- this.form.dicarbonate = monitor.dicarbonate?monitor.dicarbonate:""
- this.form.is_pressure = monitor.is_pressure
- // 设置三个下拉框的值,直接调用事件偷懒
- this.symptomTextareaBlur();
- this.disposeTextareaBlur();
- this.resultTextareaBlur();
- }
- },
-
- submitAction: function (form) {
- // TODO loading
- this.$refs[form].validate((valid) => {
- if (valid) {
- this.loading = true
- console.log("aaaa")
- var is_new = this.form.id;
- this.form.operate_time = parseInt(this.form.operate_time / 1000);
- this.form.systolic_bp =
- parseFloat(this.form.systolic_bp) == NaN
- ? 0
- : parseFloat(this.form.systolic_bp);
- this.form.diastolic_bp =
- parseFloat(this.form.diastolic_bp) == NaN
- ? 0
- : parseFloat(this.form.diastolic_bp);
- this.form.temperature =
- parseFloat(this.form.temperature) == NaN
- ? 0
- : parseFloat(this.form.temperature);
- this.form.pulse_frequency =
- parseFloat(this.form.pulse_frequency) == NaN ? 0: parseFloat(this.form.pulse_frequency);
- this.form.breathing_rated = this.form.breathing_rated
- this.form.blood_flow_volume =
- parseFloat(this.form.blood_flow_volume) == NaN
- ? 0
- : parseFloat(this.form.blood_flow_volume);
- this.form.venous_pressure =
- parseFloat(this.form.venous_pressure) == NaN
- ? 0
- : parseFloat(this.form.venous_pressure);
- this.form.venous_pressure_type =
- parseFloat(this.form.venous_pressure_type) == NaN
- ? 1
- : parseFloat(this.form.venous_pressure_type);
- this.form.transmembrane_pressure =
- parseFloat(this.form.transmembrane_pressure) == NaN
- ? 0
- : parseFloat(this.form.transmembrane_pressure);
- this.form.transmembrane_pressure_type =
- parseFloat(this.form.transmembrane_pressure_type) == NaN
- ? 1
- : parseFloat(this.form.transmembrane_pressure_type);
- this.form.ultrafiltration_volume =
- parseFloat(this.form.ultrafiltration_volume) == NaN
- ? 0
- : parseFloat(this.form.ultrafiltration_volume);
- this.form.ultrafiltration_rate =
- parseFloat(this.form.ultrafiltration_rate) == NaN
- ? 0
- : parseFloat(this.form.ultrafiltration_rate);
- this.form.arterial_pressure =
- parseFloat(this.form.arterial_pressure) == NaN
- ? 0
- : parseFloat(this.form.arterial_pressure);
- this.form.arterial_pressure_type =
- parseFloat(this.form.arterial_pressure_type) == NaN
- ? 1
- : parseFloat(this.form.arterial_pressure_type);
- this.form.sodium_concentration =
- parseFloat(this.form.sodium_concentration) == NaN
- ? 0
- : parseFloat(this.form.sodium_concentration);
- this.form.dialysate_temperature =
- parseFloat(this.form.dialysate_temperature) == NaN
- ? 0
- : parseFloat(this.form.dialysate_temperature);
- this.form.replacement_rate =
- parseFloat(this.form.replacement_rate) == NaN
- ? 0
- : parseFloat(this.form.replacement_rate);
- this.form.displacement_quantity =
- parseFloat(this.form.displacement_quantity) == NaN
- ? 0
- : parseFloat(this.form.displacement_quantity);
- this.form.conductivity =
- parseFloat(this.form.conductivity) == NaN
- ? 0
- : parseFloat(this.form.conductivity);
- this.form.displacement_flow_quantity =
- parseFloat(this.form.displacement_flow_quantity) == NaN
- ? 0
- : parseFloat(this.form.displacement_flow_quantity);
- this.form.heparin =
- parseFloat(this.form.heparin) == NaN
- ? 0
- : parseFloat(this.form.heparin);
- this.form.dialysate_flow =
- parseFloat(this.form.dialysate_flow) == NaN
- ? 0
- : parseFloat(this.form.dialysate_flow);
- this.form.ktv =
- parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
- this.form.monitoring_date = parseInt(this.form.monitoring_date);
- this.form.urr = this.form.urr;
- this.form.blood_sugar =
- parseFloat(this.form.blood_sugar) == NaN
- ? 0
- : parseFloat(this.form.blood_sugar);
- this.form.monitor_anticoagulant = parseInt(
- this.form.monitor_anticoagulant
- );
- this.form.monitor_anticoagulant_value =
- this.form.monitor_anticoagulant_value;
- this.form.blood_pressure_monitoring_site = parseInt(
- this.form.blood_pressure_monitoring_site
- );
- this.form.complication = parseInt(this.form.complication);
- this.form.blood_temperature =
- parseFloat(this.form.blood_temperature) == NaN
- ? 0
- : parseFloat(this.form.blood_temperature);
- this.form.accumulated_blood_volume =
- parseFloat(this.form.accumulated_blood_volume) == NaN
- ? 0
- : parseFloat(this.form.accumulated_blood_volume);
- this.form.urea_monitoring =
- parseFloat(this.form.urea_monitoring) == NaN
- ? 0
- : parseFloat(this.form.urea_monitoring);
- this.form.blood_thickness =
- parseFloat(this.form.blood_thickness) == NaN
- ? 0
- : parseFloat(this.form.blood_thickness);
- this.form.blood_monitor =
- parseFloat(this.form.blood_monitor) == NaN
- ? 0
- : parseFloat(this.form.blood_monitor);
- this.form.heparin_amount =
- parseFloat(this.form.heparin_amount) == NaN
- ? 0
- : parseFloat(this.form.heparin_amount);
- this.form.dehydration =
- parseFloat(this.form.dehydration) == NaN
- ? 0
- : parseFloat(this.form.dehydration);
- this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
-
- this.form.replacement_speed =
- parseFloat(this.form.replacement_speed) == NaN
- ? 0
- : parseFloat(this.form.replacement_speed);
-
- this.form.dicarbonate =parseFloat(this.form.dicarbonate) == NaN ? 0: parseFloat(this.form.dicarbonate);
- this.form.is_pressure = this.form.is_pressure
-
- let mode = "1";
- if (this.form.id > 0) {
- mode = "2";
- if (
- this.creator > 0 &&
- this.creator != this.$store.getters.xt_user.user.id
- ) {
- mode = "3";
- }
- }
- editMonitor(this.patient_id, this.schedule_date, this.form, mode).then(
- (rs) => {
- var resp = rs.data;
- if (resp.state == 1) {
- var monitor = resp.data.monitor;
- if (this.isAdd) {
- this.monitors.unshift(monitor);
- this.monitors.sort((a, b) => b.operate_time - a.operate_time);
- this.monitors.reverse();
- } else {
- for (let index = 0; index < this.monitors.length; index++) {
- const m = this.monitors[index];
- if (m.id == monitor.id) {
- for (const key in monitor) {
- m[key] = monitor[key];
- }
- break;
- }
- }
- }
- this.reset();
- } else {
- this.form.systolic_bp =
- parseFloat(this.form.systolic_bp) == NaN
- ? 0
- : parseFloat(this.form.systolic_bp);
- this.form.diastolic_bp =
- parseFloat(this.form.diastolic_bp) == NaN
- ? 0
- : parseFloat(this.form.diastolic_bp);
- this.form.temperature =
- parseFloat(this.form.temperature) == NaN
- ? 0
- : parseFloat(this.form.temperature);
- this.form.pulse_frequency =parseFloat(this.form.pulse_frequency) == NaN? 0 : parseFloat(this.form.pulse_frequency);
- this.form.breathing_rated = this.form.breathing_rated
- this.form.blood_flow_volume =
- parseFloat(this.form.blood_flow_volume) == NaN
- ? 0
- : parseFloat(this.form.blood_flow_volume);
- this.form.venous_pressure =
- parseFloat(this.form.venous_pressure) == NaN
- ? 0
- : parseFloat(this.form.venous_pressure);
- this.form.venous_pressure_type =
- parseFloat(this.form.venous_pressure_type) == NaN
- ? 1
- : parseFloat(this.form.venous_pressure_type);
- this.form.transmembrane_pressure =
- parseFloat(this.form.transmembrane_pressure) == NaN
- ? 0
- : parseFloat(this.form.transmembrane_pressure);
- this.form.transmembrane_pressure_type =
- parseFloat(this.form.transmembrane_pressure_type) == NaN
- ? 1
- : parseFloat(this.form.transmembrane_pressure_type);
- this.form.ultrafiltration_volume =
- parseFloat(this.form.ultrafiltration_volume) == NaN
- ? 0
- : parseFloat(this.form.ultrafiltration_volume);
- this.form.ultrafiltration_rate =
- parseFloat(this.form.ultrafiltration_rate) == NaN
- ? 0
- : parseFloat(this.form.ultrafiltration_rate);
- this.form.arterial_pressure =
- parseFloat(this.form.arterial_pressure) == NaN
- ? 0
- : parseFloat(this.form.arterial_pressure);
- this.form.arterial_pressure_type =
- parseFloat(this.form.arterial_pressure_type) == NaN
- ? 1
- : parseFloat(this.form.arterial_pressure_type);
- this.form.sodium_concentration =
- parseFloat(this.form.sodium_concentration) == NaN
- ? 0
- : parseFloat(this.form.sodium_concentration);
- this.form.dialysate_temperature =
- parseFloat(this.form.dialysate_temperature) == NaN
- ? 0
- : parseFloat(this.form.dialysate_temperature);
- this.form.replacement_rate =
- parseFloat(this.form.replacement_rate) == NaN
- ? 0
- : parseFloat(this.form.replacement_rate);
- this.form.displacement_quantity =
- parseFloat(this.form.displacement_quantity) == NaN
- ? 0
- : parseFloat(this.form.displacement_quantity);
- this.form.conductivity =
- parseFloat(this.form.conductivity) == NaN
- ? 0
- : parseFloat(this.form.conductivity);
- this.form.displacement_flow_quantity =
- parseFloat(this.form.displacement_flow_quantity) == NaN
- ? 0
- : parseFloat(this.form.displacement_flow_quantity);
- this.form.heparin =
- parseFloat(this.form.heparin) == NaN
- ? 0
- : parseFloat(this.form.heparin);
- this.form.dialysate_flow =
- parseFloat(this.form.dialysate_flow) == NaN
- ? 0
- : parseFloat(this.form.dialysate_flow);
-
- this.form.ktv =
- parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
- this.form.urr = this.form.urr;
- this.form.blood_sugar =
- parseFloat(this.form.blood_sugar) == NaN
- ? 0
- : parseFloat(this.form.blood_sugar);
- this.form.monitor_anticoagulant = parseInt(
- this.form.monitor_anticoagulant
- );
- this.form.monitor_anticoagulant_value =
- this.form.monitor_anticoagulant_value;
- this.form.blood_pressure_monitoring_site =
- this.form.blood_pressure_monitoring_site;
- this.form.complication = this.form.complication;
- this.form.blood_temperature =
- parseFloat(this.form.blood_temperature) == NaN
- ? 0
- : parseFloat(this.form.blood_temperature);
- this.form.accumulated_blood_volume =
- parseFloat(this.form.accumulated_blood_volume) == NaN
- ? 0
- : parseFloat(this.form.accumulated_blood_volume);
- this.form.urea_monitoring =
- parseFloat(this.form.urea_monitoring) == NaN
- ? 0
- : parseFloat(this.form.urea_monitoring);
- this.form.blood_thickness =
- parseFloat(this.form.blood_thickness) == NaN
- ? 0
- : parseFloat(this.form.blood_thickness);
- this.form.blood_monitor =
- parseFloat(this.form.blood_monitor) == NaN
- ? 0
- : parseFloat(this.form.blood_monitor);
- this.form.dehydration =
- parseFloat(this.form.dehydration) == NaN
- ? 0
- : parseFloat(this.form.dehydration);
- this.form.heparin_amount =
- parseFloat(this.form.heparin_amount) == NaN
- ? 0
- : parseFloat(this.form.heparin_amount);
- this.$message.error(resp.msg);
- if(resp.code == 600000008){
- this.infoDialogVisible = true
- }
- }
- }
- );
- this.loading = false
- } else {
- console.log('error submit!!');
- return false;
- }
- });
-
-
- },
-
- symptomTextareaBlur: function () {
- if (this.form.symptom.length > 0) {
- this.symptom_selecteds = this.form.symptom.split(",");
- } else {
- this.symptom_selecteds = [];
- }
- },
- symptomSelectorChange: function () {
- if (this.symptom_selecteds.length > 0) {
- this.form.symptom = this.symptom_selecteds.join(",") + ",";
- } else {
- this.form.symptom = "";
- }
- },
- disposeTextareaBlur: function () {
- if (this.form.dispose.length > 0) {
- this.dispose_selecteds = this.form.dispose.split(",");
- } else {
- this.dispose_selecteds = [];
- }
- },
- disposeSelectorChange: function () {
- if (this.dispose_selecteds.length > 0) {
- this.form.dispose = this.dispose_selecteds.join(",") + ",";
- } else {
- this.form.dispose = "";
- }
- },
- resultTextareaBlur: function () {
- if (this.form.result.length > 0) {
- this.result_selecteds = this.form.result.split(",");
- } else {
- this.result_selecteds = [];
- }
- },
- setRecords(records) {
- this.monitors = records;
- },
- resultSelectorChange: function () {
- if (this.result_selecteds.length > 0) {
- this.form.result = this.result_selecteds.join(",") + ",";
- } else {
- this.form.result = "";
- }
- },
- deleteRecordAction: function () {
- if (this.table_current_row == null) {
- this.$message.error("请选择一条监测记录");
- return;
- }
-
- this.$confirm("删除记录", "是否删除该监测记录", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- })
- .then(() => {
- let mode = "4";
- if (
- this.table_current_row.creator > 0 &&
- this.table_current_row.creator !=
- this.$store.getters.xt_user.user.id
- ) {
- mode = "5";
- }
-
- const params = {
- patient_id: this.patient_id,
- record_id: this.table_current_row.id,
- mode: mode,
- };
-
- postDelMonitorInfo(params).then((response) => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- return false;
- } else {
- const record_id = response.data.data.record_id;
- for (let i = 0; i < this.monitors.length; i++) {
- if (this.monitors[i].id == record_id) {
- this.monitors.splice(i, 1);
- }
- }
- this.$message.success("删除成功");
- if(response.data.code =600000008){
- this.infoDialogVisible = true
- }
- }
- });
- })
- .catch(() => {});
- },
- getPermission() {
- request
- .get("/api/func_per/get", {
- params: {
- create_url: "/api/dislysis/monitor/edit?mode=1",
- modify_url: "/api/dislysis/monitor/edit?mode=2",
- modify_other_url: "/api/dislysis/monitor/edit?mode=3",
- del_url: "/api/dialysis/monitor/del?mode=4",
- del_other_url: "/api/dialysis/monitor/del?mode=5",
- module: 7,
- },
- })
- .then((res) => {
- console.log(res);
- if (res.data.state == 0) {
- this.hasPermission = false;
- } else if (res.data.state == 1) {
- this.is_has_create = res.data.data.is_has_create;
- this.is_has_exce = res.data.data.is_has_exce;
- this.is_has_check = res.data.data.is_has_check;
- this.is_has_modify = res.data.data.is_has_modify;
- this.is_has_modify_other = res.data.data.is_has_modify_other;
- this.is_has_modify_exce = res.data.data.is_has_modify_exce;
- this.is_has_del = res.data.data.is_has_del;
- this.is_has_del_other = res.data.data.is_has_del_other;
- }
- });
- },
- getBloodPressure(id) {
- var name = "";
- for (let i = 0; i < this.bloodPressureMmonitoringSite.length; i++) {
- if (id == this.bloodPressureMmonitoringSite[i].id) {
- name = this.bloodPressureMmonitoringSite[i].name;
- }
- }
- return name;
- },
- getComplication(id) {
- var name = "";
- for (let i = 0; i < this.complicationList.length; i++) {
- if (id == this.complicationList[i].id) {
- name = this.complicationList[i].name;
- }
- }
- return name;
- },
- saveInformation(){
- var params = {
- selected_date:this.selected_date,
- patient_id:this.$route.query.patient_id,
- record_date:this.$route.query.date,
- module:7,
- remark:this.remark,
- }
- saveInformation(params).then(response=>{
- if(response.data.state == 1){
- var information = response.data.data.information
- this.$message.success("提交成功!")
- this.infoDialogVisible = false
- }
- })
- }
- },
- watch: {
- patient: {
- handler(newVal) {
- this.patient_id = newVal.id;
- },
- deep: true,
- },
- },
- };
- </script>
-
- <style style="stylesheet/scss" lang="scss" scoped>
- .grid {
- padding: 10px 0 20px 0;
- .list {
- ul {
- @include display-flex;
- @include align-items-center;
- @include text-align;
- @include justify-content-around;
- cursor: pointer;
- li {
- font-size: 12px;
- color: #5d6b7a;
- margin-top: 20px;
-
- p {
- height: 30px;
- line-height: 30px;
- color: #34495e;
- font-size: 14px;
- }
- img {
- width: 50px;
- height: 50px;
- }
- }
- }
- }
- }
- .txsj {
- text-align: center;
- margin-bottom: 20px;
- }
- .current-box-class::-webkit-scrollbar {
- height: 20px; /*滚动条高度*/
- }
- </style>
-
- <style style="stylesheet/scss" lang="scss">
- .dialog_box .current-box-class .current-row > td {
- background: #6fb5fa;
- // color: #000;
- /* font-size: 12px; */
- }
-
- .dialog_box .current-box-class .current-row:hover > td {
- background: #6fb5fa;
- // color: white;
- /* font-size: 12px; */
- }
- .el-table__body-wrapper::-webkit-scrollbar {
- height: 20px;
- }
- .dialog_box .current-box-class .current-row {
- background: #87ceff;
- }
- .dialog_box tr:hover > td {
- background-color: #ecf5ff !important;
- color: #3a8ee6;
- }
- .dialog_box tr > td:hover {
- background-color: #409eff !important;
- color: #fff !important;
- }
- </style>
|