12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086 |
- <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!=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 == 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!=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 == 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 != 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 == 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="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-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-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>
|