123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246 |
- <template>
- <div class="main-contain">
- <div class="position">
- <bread-crumb :crumbs="crumbs"></bread-crumb>
-
- <template v-if="this.template_id == 1">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="this.template_id == 2 || this.template_id == 0 || this.template_id == 33">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintAction"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintActionOne"
- type="primary"
- style=""
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintActionTwo"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="this.template_id == 3">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="this.template_id == 4">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="this.template_id == 5">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintAction"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintActionOne"
- type="primary"
- style=""
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintActionTwo"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="this.template_id == 6 || this.template_id == 48 || this.template_id == 0">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >打印</el-button>
- </template>
- <template v-if="this.template_id == 7">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 8">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 9">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 11">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 12">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 13">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 15">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 17">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 20">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 22">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintAction"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintActionOne"
- type="primary"
- style=""
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="batchPrintActionTwo"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="this.template_id == 25">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 27">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 28">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 30">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 32">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 37">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 38">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 39">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 40">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 41">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 43">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 47 && this.org_id!=10318">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button
- >
- </template>
- <template v-if="this.template_id == 51">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 53">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 59">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 60">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 61">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 62">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 65">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 66">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 67">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 68">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 70">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 71">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 72">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 73">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 74">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 75">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 76">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 78">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- <template v-if="this.template_id == 79">
- <el-button
- size="small"
- icon="el-icon-printer"
- :disabled="selecting_schs.length == 0"
- @click="batchPrintAction"
- type="primary"
- >批量打印</el-button>
- </template>
- </div>
- <div class="app-container">
- <!-- <div class="filter-container">
- <el-input style="width: 400px;" v-model="searchKey" class="filter-item"/>
- <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
- </div>-->
- <div class="cell clearfix">
- <label class="title">
- <span class="name">{{
- search_mode == 1 ? "日期查询" : "病人查询"
- }}</span>
- :
- </label>
- <el-date-picker
- v-show="search_mode == 1"
- v-model="time"
- prefix-icon="el-icon-date"
- @change="changeTime"
- :editable="false"
- style="width: 250px;"
- type="date"
- placeholder="选择日期时间"
- align="right"
- :picker-options="pickerOptions1"
- format="yyyy-MM-dd"
- value-format="timestamp"
- ></el-date-picker>
- <el-input
- v-show="search_mode == 2"
- v-model="patient_search_keyword"
- style="width: 250px;"
- placeholder="病人名字、透析号"
- @keyup.enter.native='searchPatientAction'
- >
- <el-button
- slot="append"
- style="background-color: #409EFF; color: white; border-radius: 0;"
- icon="el-icon-search"
- @click="searchPatientAction"
- ></el-button>
- </el-input>
- <el-button type="primary" @click="changeSearchMode">{{
- search_mode == 1 ? "改为病人查询" : "改为日期查询"
- }}</el-button>
- </div>
- <div class="cell clearfix" v-show="search_mode == 2">
- <label class="title">
- <span class="name">日期查询</span>:
- </label>
- <el-date-picker
- v-model="listQuery.start_time"
- prefix-icon="el-icon-date"
- @change="changeStartTime"
- style="width: 250px;"
- type="date"
- placeholder="选择日期时间"
- align="right"
- :picker-options="pickerOptions1"
- format="yyyy-MM-dd"
- value-format="timestamp"
- ></el-date-picker>
- -
- <el-date-picker
- v-model="listQuery.end_time"
- prefix-icon="el-icon-date"
- @change="changeEndTime"
- style="width: 250px;"
- type="date"
- placeholder="选择日期时间"
- align="right"
- :picker-options="pickerOptions1"
- format="yyyy-MM-dd"
- value-format="timestamp"
- ></el-date-picker>
- </div>
- <div class="cell clearfix">
- <label class="title"> <span class="name">排班班次</span> : </label>
- <div class="time">
- <ul class>
- <li
- :class="item.value == schedulType ? 'active' : ''"
- @click="selectSchedulType(item.value)"
- v-for="item in schedulArr"
- :key="item.value"
- >
- {{ item.label }}
- </li>
- </ul>
- </div>
- </div>
- <div class="cell clearfix">
- <label class="title"> <span class="name">分区</span> : </label>
- <div class="time">
- <ul class>
- <li
- :class="item.id == partitionType ? 'active' : ''"
- @click="selectPartitionType(item.id)"
- v-for="item in partitionArr"
- :key="item.id"
- >
- {{ item.name }}
- </li>
- </ul>
- </div>
- </div>
-
- <div style="margin-left: 1100px; margin-bottom: 10px;">
- <el-button type="primary" size="small" @click="printOrder">透析并发症登记打印</el-button>
- <el-button type="primary" size="small" @click="toExport">导出</el-button>
- </div>
-
- <el-table
- :row-style="{ color: '#303133' }"
- :header-cell-style="{
- backgroundColor: 'rgb(245, 247, 250)',
- color: '#606266'
- }"
- :data="SchedualPatientsTableData"
- style="width: 100%"
- v-loading="loading"
- border
- @current-change="clickCurrent"
- @selection-change="handleSelectionChange"
- highlight-current-row
- :cell-class-name="cellStyle"
- >
- <el-table-column
- type="selection"
- width="45"
- align="center"
- ></el-table-column>
- <el-table-column
- prop="number"
- label="机号"
- align="center"
- ></el-table-column>
- <el-table-column
- label="排班日期"
- prop="sch_time"
- align="center"
- width="120"
- ></el-table-column>
- <el-table-column
- prop="start_time"
- label="上机时间"
- align="center"
- width="80"
- ></el-table-column>
- <el-table-column
- prop="dialysis_no"
- label="透析号"
- align="center"
- ></el-table-column>
- <el-table-column prop="name" label="姓名" align="center">
- <template slot-scope="scope">
- <span style="color: #579ef8;width:100%;display:block;">{{ scope.row.name }}</span>
- </template>
- </el-table-column>
-
- <el-table-column
- prop="mode_name"
- label="透析模式"
- align="center"
- width="100"
- ></el-table-column>
- <el-table-column
- prop="target_ultrafiltration"
- label="目标超滤量"
- align="center"
- width="100"
- ></el-table-column>
-
- <el-table-column
- v-if="org_id == 10469"
- prop="prescription_water"
- label="处方脱水量"
- align="center"
- width="100"
- ></el-table-column>
-
- <el-table-column label="透前血压(mmHg)" align="center" width="130" prop="pressure_name">
-
- </el-table-column>
-
- <el-table-column label="透后血压(mmHg)" align="center" width="130" prop="after_pressure_name">
-
- </el-table-column>
-
- <el-table-column
- prop="dry_weight"
- label="干体重(kg)"
- align="center"
- width="120"
- ></el-table-column>
- <el-table-column
- prop="dialysis_before_weight"
- label="透前称重(kg)"
- align="center"
- width="120"
- ></el-table-column>
-
- <el-table-column
- prop="dialysis_after_weight"
- label="透后称重(kg)"
- align="center"
- width="120"
- ></el-table-column>
-
- <el-table-column label="监测时间" align="center" width="120">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{getTimeOne(item.operate_time)}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="透中血压(mmHg)" align="center" width="180" v-if="isShow('血压')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
-
-
- <span v-if="item.systolic_blood_pressure>=90 && item.systolic_blood_pressure<=140"> {{item.systolic_blood_pressure}}</span>
- <span v-if="item.systolic_blood_pressure<90 || item.systolic_blood_pressure >140" style="color:red">{{item.systolic_blood_pressure}}</span>
- <span v-if="item.diastolic_blood_pressure >0">/</span>
- <span v-if="item.diastolic_blood_pressure >=60 &&item.diastolic_blood_pressure <=90">{{item.diastolic_blood_pressure}}</span>
- <span v-if="item.diastolic_blood_pressure <60 || item.diastolic_blood_pressure >90" style="color:red">{{item.diastolic_blood_pressure }}</span>
-
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="透中血压(mmHg)" align="center" width="180" v-if="isShow('血压1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
-
-
- <span v-if="item.monitor_systolic_blood_pressure_one>=90 && item.monitor_systolic_blood_pressure_one<=140"> {{item.monitor_systolic_blood_pressure_one?item.monitor_systolic_blood_pressure_one:"未测"}}</span>
- <span v-if="item.monitor_systolic_blood_pressure_one<90 || item.monitor_systolic_blood_pressure_one >140" style="color:red">{{item.monitor_systolic_blood_pressure_one?item.monitor_systolic_blood_pressure_one:"未测"}}</span>
- <span v-if="item.monitor_diastolic_blood_pressure_one >0">/</span>
- <span v-if="item.monitor_diastolic_blood_pressure_one >=60 &&item.monitor_diastolic_blood_pressure_one <=90">{{item.monitor_diastolic_blood_pressure_one?item.monitor_diastolic_blood_pressure_one:"未测"}}</span>
- <span v-if="item.monitor_diastolic_blood_pressure_one <60 || item.monitor_diastolic_blood_pressure_one >90" style="color:red">{{item.monitor_diastolic_blood_pressure_one?item.monitor_diastolic_blood_pressure_one:"未测" }}</span>
-
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
-
- <el-table-column label="体温(℃)" align="center" width="120" v-if="isShow('体温')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ item.temperature ? item.temperature : "" }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="体温(℃)" align="center" width="120" v-if="isShow('体温1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ item.monitor_temperature_one ? item.monitor_temperature_one : "/" }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
-
- <el-table-column label="脉搏(次/分)" align="center" width="120" v-if="isShow('脉搏')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ item.pulse_frequency ? item.pulse_frequency : "" }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="脉搏(次/分)" align="center" width="120" v-if="isShow('脉搏1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ item.pulse_frequency_one ? item.pulse_frequency_one : "/" }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="呼吸频率(次/分)" align="center" width="120" v-if="isShow('呼吸频率')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ item.breathing_rate ? item.breathing_rate : "/" }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="静脉压/动脉压(mmHg)" align="center" width="120">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- <span v-if="org_id !=10693"> <span>{{item.venous_pressure ? item.venous_pressure : ""}}/
- {{item.arterial_pressure ? item.arterial_pressure : ""}}</span>
-
- </span>
-
- <span v-if="org_id ==10693"> <span>{{item.venous_pressure_one ? item.venous_pressure_one : "/"}}/
- {{item.arterial_pressure_one ? item.arterial_pressure_one : "/"}}</span>
-
- </span>
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="血流量" align="center" width="120" v-if="isShow('血流量')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.blood_flow_volume?item.blood_flow_volume:""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="血流量1" align="center" width="120" v-if="isShow('血流量')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.dialysate_flow_one?item.dialysate_flow_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="跨膜压(mmHg)" align="center" width="120" v-if="isShow('跨膜压')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.transmembrane_pressure?item.transmembrane_pressure:""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="跨膜压(mmHg)" align="center" width="120" v-if="isShow('跨膜压1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.transmembrane_pressure_one?item.transmembrane_pressure_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="超滤量(ml)" align="center"
- 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 ||
- org_id == 10210 ||
- org_id == 9555 || org_id == 10387
- || org_id == 10432
- || org_id == 10445)
- ">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="超滤量(L)" align="center"
- 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 &&
- org_id!= 10210 &&
- org_id != 9555 && org_id!=10387
- && org_id!=10432 && org_id!=10445
- ">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ultrafiltration_volume?item.ultrafiltration_volume:""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="超滤量(ml)" align="center"
- v-if="
- isShow('超滤量1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ultrafiltration_volume_one?item.ultrafiltration_volume_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="超滤率(ml/h)" align="center"
- 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 ||
- org_id == 10432 ||
- org_id == 10445)
- ">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ultrafiltration_rate? item.ultrafiltration_rate: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="超滤率(L/h)" align="center"
- 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 &&
- org_id!=10432 &&
- org_id!=10445
- "
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ultrafiltration_rate? item.ultrafiltration_rate: ""}}
- </td>
- </tr>
-
- </template>
-
- </el-table-column>
-
- <el-table-column label="超滤率(ml/h)" align="center"
- v-if="
- isShow('超滤率2')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ultrafiltration_rate_one?item.ultrafiltration_rate_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="钠浓度(mmol/L)" align="center" v-if="isShow('钠浓度')">
-
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.sodium_concentration? item.sodium_concentration: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="钠浓度(mmol/L)" align="center" v-if="isShow('钠浓度1')">
-
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.sodium_concentration_one? item.sodium_concentration_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="透析液温度(℃)" align="center" v-if="isShow('透析液温度')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.dialysate_temperature? item.dialysate_temperature: ""}}
- </td>
- </tr>
-
- </template>
-
- </el-table-column>
-
-
- <el-table-column label="透析液温度(℃)" align="center" v-if="isShow('透析液温度1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.dialysate_temperature_one? item.dialysate_temperature_one: "/"}}
- </td>
- </tr>
-
- </template>
-
- </el-table-column>
-
- <el-table-column label="置换率(ml/min)" align="center"
- 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
-
- )
- ">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.replacement_rate? item.replacement_rate: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换率(L/h)" align="center"
- 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
- "
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.replacement_rate? item.replacement_rate: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换率(ml/h)" align="center"
- v-if="isShow('置换率1')"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.replacement_rate_one? item.replacement_rate_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="置换量(L)" align="center"
- v-if="isShow('置换量') && (template_id == 43 || template_id == 48)"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_quantity? item.displacement_quantity: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换量(ml)" align="center"
- v-if="
- isShow('置换量') &&
- ((template_id == 6 &&
- org_id != 9919 &&
- org_id != 10191 &&
- template_id != 43 &&
- template_id != 47) ||
- 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)
- ">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_quantity? item.displacement_quantity: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换量(L)" align="center"
- v-if="
- isShow('置换量') &&
- (template_id != 6 || org_id == 9919 || org_id == 10191) &&
- 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
- "
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_quantity? item.displacement_quantity: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="置换量(ml)" align="center"
- v-if="isShow('置换量1')"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_quantity_one? item.displacement_quantity_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="SpO₂(%)" align="center"
- v-if="
- isShow('SpO₂') &&
- template_id != 6 &&
- template_id != 10 &&
- template_id != 11
- "
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.blood_oxygen_saturation? item.blood_oxygen_saturation: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="SpO₂(%)" align="center"
- v-if="
- isShow('SpO₂1')
- "
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.blood_oxygen_saturation_one? item.blood_oxygen_saturation_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="电导度(mS/cm)" align="center"
- v-if="isShow('电导度')">
-
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.conductivity? item.conductivity: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="电导度(mS/cm)" align="center"
- v-if="isShow('电导度1')">
-
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.conductivity_one? item.conductivity_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换液流量(ml/h)" align="center"
- v-if="isShow('置换液流量') && template_id != 27"
- >
- <!-- 数据的遍历 scope.row就代表数据的每一个对象-->
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_flow_quantity? item.displacement_flow_quantity: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换液流量(ml/min)" align="center"
- v-if="isShow('置换液流量') && template_id == 27"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_flow_quantity? item.displacement_flow_quantity: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="置换液流量(ml/min)" align="center"
- v-if="isShow('置换液流量1')"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.displacement_flow_quantity_one? item.displacement_flow_quantity_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="透析液流量(ml/h)" align="center" v-if="isShow('透析液流量')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.dialysate_flow? item.dialysate_flow: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="透析液流量(ml/h)" align="center" v-if="isShow('透析液流量1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.dialysate_flow_one? item.dialysate_flow_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="肝素用量余量(ml)" align="center" v-if="isShow('肝素用量余量')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.heparin? item.heparin: ""}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="剩余肝素(ml)" align="center" v-if="isShow('剩余肝素')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.heparin_one? item.heparin_one: "/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
-
- <el-table-column label="血压监测部位" align="center" v-if="isShow('血压监测部位')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ getBloodPressure(item.blood_pressure_monitoring_site) }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="并发症" align="center" v-if="isShow('并发症')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{ getComplication(item.complication) }}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="累计血容量(ml)" align="center"
- v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.accumulated_blood_volume}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="累计血容量(L)" align="center"
- v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9538 || org_id == 9671 || org_id == 10340)"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.accumulated_blood_volume}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="血容量" align="center" v-if="isShow('血容量')">
-
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.accumulated_blood_volume}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="血容量" align="center" v-if="isShow('血容量1')">
-
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.accumulated_blood_volume_one?item.accumulated_blood_volume_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="血温监测" align="center" v-if="isShow('血温监测')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.blood_temperature}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="血温监测" align="center" v-if="isShow('血温监测1')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.blood_temperature_one?item.blood_temperature_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="尿素监测" align="center" v-if="isShow('尿素监测')" >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.urea_monitoring}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="尿素监测" align="center" v-if="isShow('尿素监测1')" >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.urea_monitoring_one?item.urea_monitoring_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="血压监测" align="center" v-if="isShow('血压监测')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.blood_monitor}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="肝素量(mg)" align="center" v-if="isShow('肝素量')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.heparin_amount}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="脱水(L)" align="center" v-if="isShow('脱水')">
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.dehydration}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
-
- <el-table-column label="KT/V" align="center"
- v-if="isShow('KT/V') &&(org_id == 9987 || org_id == 10215 || org_id == 9800 || org_id == 9671 || org_id == 9675)"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ktv}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
-
- <el-table-column label="KT/V" align="center"
- v-if="isShow('kt/v1')"
- >
- <template slot-scope="scope">
- <tr style="background: none" v-for="(item,index) in scope.row.monitoring_record" :key="index">
- <td style="border-right: none; border-inline-end: none;text-align: center">
- {{item.ktv_one?item.ktv_one:"/"}}
- </td>
- </tr>
-
- </template>
- </el-table-column>
- </el-table>
-
- <el-pagination
- align="right"
- @size-change="handleSizeChange"
- @current-change="handleCurrentChange"
- :page-sizes="[20, 40, 60, 80,100,300,500]"
- :page-size="10"
- background
- style="margin-top:20px;"
- layout="total, sizes, prev, pager, next, jumper"
- :total="total"
- ></el-pagination>
- <!-- :page-sizes="[20, 40, 60, 80,100,300,500]" -->
- </div>
- </div>
- </template>
-
- <script>
- import UploadExcel from '@/xt_pages/components/UploadExcel'
- import { getDataConfig } from "@/utils/data";
- import store from "@/store";
- import { getSchedualPatient, GetAllZone } from "@/api/dialysis";
- import { parseTime } from "@/utils";
- import BreadCrumb from "@/xt_pages/components/bread-crumb";
- import { getPrintTemplate } from "@/api/data";
- import { uParseTime } from '@/utils/tools'
- const moment = require('moment')
-
- export default {
- name: "Patient",
- components: {
- UploadExcel,
- },
- data() {
- return {
- crumbs: [
- { path: false, name: "透析管理" },
- { path: false, name: "透析监测" }
- ],
- loading: false,
- time: "",
-
- search_mode: 1, // 搜索模式 1.日期搜索 2.病人搜索
- patient_search_keyword: "",
-
- SchedualPatientsTableData: [],
- active: true,
- schedulType: 0,
- schedulArr: [
- { value: 0, label: "全部" },
- { value: 1, label: "上午" },
- { value: 2, label: "下午" },
- { value: 3, label: "晚上" }
- ],
- template_id: 0,
-
- partitionType: 0,
-
- labelArr: ["第1次", "第2次", "第3次", "第4次", "第5次", "第6次", "第7次"],
-
- pickerOptions1: {
- shortcuts: [
- {
- text: "今天",
- onClick(picker) {
- var date = new Date();
- var year = date.getFullYear();
- var month = date.getMonth() + 1;
- var day = date.getDate();
- if (month < 10) {
- month = "0" + month;
- }
- if (day < 10) {
- day = "0" + day;
- }
- var nowDate = year + "-" + month + "-" + day;
- var date1 = new Date(nowDate + " 00:00:00");
- picker.$emit("pick", date1.getTime());
- }
- },
- {
- text: "昨天",
- onClick(picker) {
- var d = new Date();
- d.setTime(d.getTime() - 3600 * 1000 * 24);
- var date = d;
- var year = date.getFullYear();
- var month = date.getMonth() + 1;
- var day = date.getDate();
- if (month < 10) {
- month = "0" + month;
- }
- if (day < 10) {
- day = "0" + day;
- }
- var nowDate = year + "-" + month + "-" + day;
- var date1 = new Date(nowDate + " 00:00:00");
- picker.$emit("pick", date1.getTime());
- }
- },
- {
- text: "一周前",
- onClick(picker) {
- var d = new Date();
- d.setTime(d.getTime() - 3600 * 1000 * 24 * 7);
- var date = d;
- var year = date.getFullYear();
- var month = date.getMonth() + 1;
- var day = date.getDate();
- if (month < 10) {
- month = "0" + month;
- }
- if (day < 10) {
- day = "0" + day;
- }
- var nowDate = year + "-" + month + "-" + day;
- var date1 = new Date(nowDate + " 00:00:00");
- picker.$emit("pick", date1.getTime());
- }
- },
- {
- text: "清空",
- onClick(picker) {
- picker.$emit("pick");
- }
- }
- ]
- },
-
- total: 0,
- listQuery: {
- page: 1,
- limit: 20,
- schedul_type: 0,
- partition_type: 0,
- schedul_time: "",
- keywords: "",
- start_time:"",
- end_time:"",
- },
- selecting_schs: [],
- partitionArr: [],
- bloodPressureMmonitoringSite: [],
- complicationList: [],
- template_id:0,
- org_id:0,
- page2:0,
- };
- },
- created() {
- this.listQuery.page=sessionStorage.getItem("page");
- sessionStorage.removeItem("page");
- this.template_id = this.$store.getters.xt_user.template_info.template_id;
- this.org_id = this.$store.getters.xt_user.template_info.org_id;
- this.bloodPressureMmonitoringSite = getDataConfig(
- "hemodialysis",
- "blood_pressure_monitoring_site"
- );
- this.complicationList = getDataConfig("hemodialysis", "complication");
- var search_mode = this.$store.getters.search_mode
- var search_value = this.$store.getters.search_value
- console.log('search_mode',search_mode)
- if(search_mode == 2){
- this.search_mode = search_mode
- if(search_value != ''){
- this.patient_search_keyword = search_value
- this.listQuery.keywords = search_value
-
- this.getSchedualPatientList();
- var date = new Date();
- this.time = date;
- var year = date.getFullYear();
- var month = date.getMonth() + 1;
- var day = date.getDate();
- if (month < 10) {
- month = "0" + month;
- }
- if (day < 10) {
- day = "0" + day;
- }
- var nowDate = year + "-" + month + "-" + day;
- var date = new Date(nowDate + " 00:00:00");
-
- this.listQuery.schedul_time = date.getTime();
- this.getAllZone();
- this.getTemplateInfo();
- }else {
- var start_month = moment().startOf('month').format('YYYY-MM-DD')
- var start_time = this.getTimestamp(start_month)
- this.listQuery.start_time = start_time
- var end_month = moment(new Date()).add('year',0).format("YYYY-MM-DD")
- var end_time = this.getTimestamp(end_month)
- this.listQuery.end_time = end_time
- this.getSchedualPatientList()
-
- this.getAllZone();
- this.getTemplateInfo();
-
- }
- }else {
- var date = new Date();
- this.time = date;
- var year = date.getFullYear();
- var month = date.getMonth() + 1;
- var day = date.getDate();
- if (month < 10) {
- month = "0" + month;
- }
- if (day < 10) {
- day = "0" + day;
- }
- var nowDate = year + "-" + month + "-" + day;
- var date = new Date(nowDate + " 00:00:00");
- this.listQuery.schedul_time = date.getTime();
- var start_month = moment().startOf('month').format('YYYY-MM-DD')
- var start_time = this.getTimestamp(start_month)
-
- this.listQuery.start_time = start_time
- var end_month = moment(new Date()).add('year',0).format("YYYY-MM-DD")
- var end_time = this.getTimestamp(end_month)
- this.listQuery.end_time = end_time
-
- this.getAllZone();
- this.getSchedualPatientList();
- this.getTemplateInfo();
- }
-
- // this.template_id = this.$store.getters.xt_user.template_info.template_id;
- },
- methods: {
-
- printOrder(){
- this.$router.push({ path: "/dialysis/dialysisRecordPrint",query:{page:this.listQuery.page,limit:this.listQuery.limit,schedul_type:this.listQuery.schedul_type,partition_type:this.listQuery.partition_type,schedul_time:this.listQuery.schedul_time,keywords:this.listQuery.keywords,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}} );
- },
- getTemplateInfo() {
- getPrintTemplate().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- return false;
- } else {
- var template = response.data.data.template;
- this.template_id = template.template_id;
- console.log("templage-i233232323232322323233232323223",this.template_id)
- }
- });
- },
- clickCurrent(val) {
- sessionStorage.setItem("page", this.listQuery.page);
- // this.page2 = this.listQuery.page
- console.log('val',this.listQuery.page);
- this.$router.push({
- path: "/dialysis/details",
- query: { patient_id: val.patient_id, date: val.sch_time_int,mode_id:val.mode_id }
- });
- },
- handleSelectionChange(val) {
- this.selecting_schs = val;
- },
-
- selectSchedulType(scheduleType) {
- // alert(scheduleType);/
- this.schedulType = scheduleType;
- this.listQuery.schedul_type = scheduleType;
- this.getSchedualPatientList();
- },
- selectPartitionType(partitionType) {
- this.partitionType = partitionType;
- this.listQuery.partition_type = partitionType;
- this.getSchedualPatientList();
- },
-
- changeTime() {
- this.listQuery.start_time = ""
- this.listQuery.end_time = ""
- this.listQuery.start_time = this.getTimestampOne(this.time)
- this.listQuery.end_time = this.getTimestampOne(this.time)
- this.listQuery.schedul_time = this.time;
- this.getSchedualPatientList();
- },
- changeStartTime(){
-
- this.getSchedualPatientList()
- },
- changeEndTime(){
-
- this.getSchedualPatientList()
- },
- getAllZone: function() {
- GetAllZone().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- return false;
- } else {
- this.partitionArr = response.data.data.zone;
- this.partitionArr.unshift({ id: 0, name: "全部" });
- }
- });
- },
- getTimestamp(time) { //把时间日期转成时间戳
-
- return (new Date(time)).getTime() - 28800000
- },
- getTimestampOne(time) { //把时间日期转成时间戳
-
- return (new Date(time)).getTime()
- },
- getSchedualPatientList: function() {
- this.loading = true;
- if (this.search_mode == 1) {
- this.listQuery.keywords = "";
-
-
- } else {
- this.listQuery.schedul_time = "";
-
- }
-
-
- console.log("params332322332323232",this.listQuery.start_time)
- this.SchedualPatientsTableData = [];
- getSchedualPatient(this.listQuery).then(response => {
-
- if (response.data.state == 0) {
- this.loading = false;
- this.$message.error(response.data.msg);
- return false;
- } else {
- this.loading = false;
- this.total = response.data.data.total;
- console.log("世界文化遗产",response.data.data.schedule)
- for (let i = 0; i < response.data.data.schedule.length; i++) {
-
- if (response.data.data.schedule[i].patient&&response.data.data.schedule[i].patient.id > 0) {
- const SchedualPatientsTable = {
- bp: []
- };
- if(response.data.data.schedule[i].dialysis_order!=null){
- SchedualPatientsTable["start_time"] = response.data.data.schedule[i].dialysis_order.start_time ? parseTime(response.data.data.schedule[i].dialysis_order.start_time,"{h}:{i}") : '';
- }
-
- SchedualPatientsTable["sch_id"] = response.data.data.schedule[i].id;
- SchedualPatientsTable["sch_time_int"] = response.data.data.schedule[i].schedule_date;
- SchedualPatientsTable["sch_time"] = parseTime(response.data.data.schedule[i].schedule_date,"{y}-{m}-{d}");
- SchedualPatientsTable["mode_id"] = response.data.data.schedule[i].mode_id
-
- if(response.data.data.schedule[i].patient!=null){
- SchedualPatientsTable["dialysis_no"] = response.data.data.schedule[i].patient.dialysis_no;
- SchedualPatientsTable["name"] = response.data.data.schedule[i].patient.name;
- SchedualPatientsTable["gender"] = response.data.data.schedule[i].patient.gender;
- SchedualPatientsTable["source"] = response.data.data.schedule[i].patient.source;
- SchedualPatientsTable["patient_id"] = response.data.data.schedule[i].patient_id;
- }
-
- SchedualPatientsTable["number"] = response.data.data.schedule[i].device_number.number;
-
- SchedualPatientsTable["mode_name"] = this.getModeId(response.data.data.schedule[i].mode_id)
-
- // if(response.data.data.schedule[i].treatment_mode!=null){
- // SchedualPatientsTable["mode_name"] = response.data.data.schedule[i].treatment_mode.name;
- // }
- if(response.data.data.schedule[i].prescription!=null){
- SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;
- }
-
- if(response.data.data.schedule[i].prescription!=null){
- SchedualPatientsTable["prescription_water"] = response.data.data.schedule[i].prescription.prescription_water;
- }
-
- if (response.data.data.schedule[i].assessment_before_dislysis != null) {
- SchedualPatientsTable["dialysis_before_weight"] =response.data.data.schedule[i].assessment_before_dislysis.weight_before;
- }
-
- if (response.data.data.schedule[i].assessment_before_dislysis != null) {
- SchedualPatientsTable["dry_weight"] =response.data.data.schedule[i].assessment_before_dislysis.dry_weight;
- }
- if (response.data.data.schedule[i].assessment_after_dislysis !=null) {
- SchedualPatientsTable["dialysis_after_weight"] =response.data.data.schedule[i].assessment_after_dislysis.weight_after;
- }
-
-
- if (response.data.data.schedule[i].assessment_before_dislysis != null) {
- SchedualPatientsTable["pressure_name"] =response.data.data.schedule[i].assessment_before_dislysis.systolic_blood_pressure+"/"+ response.data.data.schedule[i].assessment_before_dislysis.diastolic_blood_pressure;
- }
-
-
-
-
- if(response.data.data.schedule[i].monitoring_record!=null &&response.data.data.schedule[i].monitoring_record.length >0 ){
- SchedualPatientsTable["monitoring_record"] = response.data.data.schedule[i].monitoring_record
- }
-
- SchedualPatientsTable.bp = [];
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 && this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const bp = {};
- bp["value"] =response.data.data.schedule[i].monitoring_record[a].systolic_blood_pressure.toString()+"/" +response.data.data.schedule[i].monitoring_record[a].diastolic_blood_pressure.toString();
- SchedualPatientsTable.bp.push(bp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 && this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const bp = {};
- bp["value"] =response.data.data.schedule[i].monitoring_record[a].monitor_systolic_blood_pressure_one.toString()+"/" +response.data.data.schedule[i].monitoring_record[a].monitor_diastolic_blood_pressure_one.toString();
- SchedualPatientsTable.bp.push(bp);
- }
- }
-
-
- // 体温
- SchedualPatientsTable.tp = [];
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0 && this.org_id !=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tp = {};
- tp["value"] =response.data.data.schedule[i].monitoring_record[a].temperature
- SchedualPatientsTable.tp.push(tp);
- }
- }
-
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0 && this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tp = {};
- tp["value"] =response.data.data.schedule[i].monitoring_record[a].monitor_temperature_one?response.data.data.schedule[i].monitoring_record[a].monitor_temperature_one:"/"
- SchedualPatientsTable.tp.push(tp);
- }
- }
-
- // 脉搏
- SchedualPatientsTable.mp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0 && this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const mp = {};
- mp["value"] =response.data.data.schedule[i].monitoring_record[a].pulse_frequency
- SchedualPatientsTable.mp.push(mp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0 && this.org_id == 10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const mp = {};
- mp["value"] =response.data.data.schedule[i].monitoring_record[a].pulse_frequency_one?response.data.data.schedule[i].monitoring_record[a].pulse_frequency_one:"/"
- SchedualPatientsTable.mp.push(mp);
- }
- }
-
- //呼吸频率
- SchedualPatientsTable.hp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length >0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const hp = {};
- hp["value"] =response.data.data.schedule[i].monitoring_record[a].breathing_rate?response.data.data.schedule[i].monitoring_record[a].breathing_rate:"/"
- SchedualPatientsTable.hp.push(hp);
- }
- }
-
- //静脉压/动脉压(kpa)
- SchedualPatientsTable.jp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 && this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const jp = {};
- jp["value"] =response.data.data.schedule[i].monitoring_record[a].venous_pressure.toString()+"/" +response.data.data.schedule[i].monitoring_record[a].arterial_pressure.toString();
- SchedualPatientsTable.jp.push(jp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 && this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const jp = {};
- jp["value"] =response.data.data.schedule[i].monitoring_record[a].venous_pressure_one.toString()+"/" +response.data.data.schedule[i].monitoring_record[a].arterial_pressure_one.toString();
- SchedualPatientsTable.jp.push(jp);
- }
- }
-
- //血流量
-
- SchedualPatientsTable.xp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xp = {};
- xp["value"] =response.data.data.schedule[i].monitoring_record[a].blood_flow_volume
- SchedualPatientsTable.xp.push(xp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 && this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xp = {};
- xp["value"] =response.data.data.schedule[i].monitoring_record[a].blood_flow_volume_one?response.data.data.schedule[i].monitoring_record[a].blood_flow_volume_one:"/"
- SchedualPatientsTable.xp.push(xp);
- }
- }
-
- //跨膜压
- SchedualPatientsTable.kp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&& this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const kp = {};
- kp["value"] =response.data.data.schedule[i].monitoring_record[a].transmembrane_pressure
- SchedualPatientsTable.kp.push(kp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const kp = {};
- kp["value"] =response.data.data.schedule[i].monitoring_record[a].transmembrane_pressure_one?response.data.data.schedule[i].monitoring_record[a].transmembrane_pressure_one:"/"
- SchedualPatientsTable.kp.push(kp);
- }
- }
-
- //超滤量
- SchedualPatientsTable.cp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 && this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const cp = {};
- cp["value"] =response.data.data.schedule[i].monitoring_record[a].ultrafiltration_volume
- SchedualPatientsTable.cp.push(cp);
- }
- }
-
- SchedualPatientsTable.cp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const cp = {};
- cp["value"] =response.data.data.schedule[i].monitoring_record[a].ultrafiltration_volume_one?response.data.data.schedule[i].monitoring_record[a].ultrafiltration_volume_one:"/"
- SchedualPatientsTable.cp.push(cp);
- }
- }
-
- //超滤率
- SchedualPatientsTable.clp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const clp = {};
- clp["value"] =response.data.data.schedule[i].monitoring_record[a].ultrafiltration_rate
- SchedualPatientsTable.clp.push(clp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const clp = {};
- clp["value"] =response.data.data.schedule[i].monitoring_record[a].ultrafiltration_rate?response.data.data.schedule[i].monitoring_record[a].ultrafiltration_rate:"/"
- SchedualPatientsTable.clp.push(clp);
- }
- }
-
- //钠浓度
- SchedualPatientsTable.np = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&& this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const np = {};
- np["value"] =response.data.data.schedule[i].monitoring_record[a].sodium_concentration
- SchedualPatientsTable.np.push(np);
- }
- }
-
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const np = {};
- np["value"] =response.data.data.schedule[i].monitoring_record[a].sodium_concentration_one?response.data.data.schedule[i].monitoring_record[a].sodium_concentration_one:"/"
- SchedualPatientsTable.np.push(np);
- }
- }
- // 透析液温度
-
- SchedualPatientsTable.tcp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tcp = {};
- tcp["value"] =response.data.data.schedule[i].monitoring_record[a].dialysate_temperature
- SchedualPatientsTable.tcp.push(tcp);
- }
- }
-
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 &&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tcp = {};
- tcp["value"] =response.data.data.schedule[i].monitoring_record[a].dialysate_temperature_one?response.data.data.schedule[i].monitoring_record[a].dialysate_temperature_one:"/"
- SchedualPatientsTable.tcp.push(tcp);
- }
- }
-
- //置换率(ml/min)
-
- SchedualPatientsTable.zp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const zp = {};
- zp["value"] =response.data.data.schedule[i].monitoring_record[a].replacement_rate
- SchedualPatientsTable.zp.push(zp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const zp = {};
- zp["value"] =response.data.data.schedule[i].monitoring_record[a].replacement_rate_one?response.data.data.schedule[i].monitoring_record[a].replacement_rate_one:"/"
- SchedualPatientsTable.zp.push(zp);
- }
- }
-
-
- // 置换量(ml/h)
- SchedualPatientsTable.zhp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const zhp = {};
- zhp["value"] =response.data.data.schedule[i].monitoring_record[a].displacement_quantity
- SchedualPatientsTable.zhp.push(zhp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id == 10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const zhp = {};
- zhp["value"] =response.data.data.schedule[i].monitoring_record[a].displacement_quantity_one?response.data.data.schedule[i].monitoring_record[a].displacement_quantity_one:"/"
- SchedualPatientsTable.zhp.push(zhp);
- }
- }
-
- // SpO₂
- SchedualPatientsTable.sp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const sp = {};
- sp["value"] =response.data.data.schedule[i].monitoring_record[a].blood_oxygen_saturation
- SchedualPatientsTable.sp.push(sp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const sp = {};
- sp["value"] =response.data.data.schedule[i].monitoring_record[a].blood_oxygen_saturation_one?response.data.data.schedule[i].monitoring_record[a].blood_oxygen_saturation_one:"/"
- SchedualPatientsTable.sp.push(sp);
- }
- }
-
- // 电导度(mS/m)
- SchedualPatientsTable.ddp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const ddp = {};
- ddp["value"] =response.data.data.schedule[i].monitoring_record[a].conductivity
- SchedualPatientsTable.ddp.push(ddp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const ddp = {};
- ddp["value"] =response.data.data.schedule[i].monitoring_record[a].conductivity_one?response.data.data.schedule[i].monitoring_record[a].conductivity_one:"/"
- SchedualPatientsTable.ddp.push(ddp);
- }
- }
-
- //置换液流量(ml/h)
- SchedualPatientsTable.zhyp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const zhyp = {};
- zhyp["value"] =response.data.data.schedule[i].monitoring_record[a].displacement_flow_quantity
- SchedualPatientsTable.zhyp.push(zhyp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const zhyp = {};
- zhyp["value"] =response.data.data.schedule[i].monitoring_record[a].displacement_flow_quantity_one?response.data.data.schedule[i].monitoring_record[a].displacement_flow_quantity_one:"/"
- SchedualPatientsTable.zhyp.push(zhyp);
- }
- }
-
- // 透析液流量(ml/h)
- SchedualPatientsTable.tcyp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tcyp = {};
- tcyp["value"] =response.data.data.schedule[i].monitoring_record[a].dialysate_flow
- SchedualPatientsTable.tcyp.push(tcyp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tcyp = {};
- tcyp["value"] =response.data.data.schedule[i].monitoring_record[a].dialysate_flow_one?response.data.data.schedule[i].monitoring_record[a].dialysate_flow_one:"/"
- SchedualPatientsTable.tcyp.push(tcyp);
- }
- }
-
- // 肝素用量余量
- SchedualPatientsTable.gsyp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const gsyp = {};
- gsyp["value"] =response.data.data.schedule[i].monitoring_record[a].heparin
- SchedualPatientsTable.gsyp.push(gsyp);
- }
- }
-
- // 肝素量(mg)
- SchedualPatientsTable.gsp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const gsp = {};
- gsp["value"] =response.data.data.schedule[i].monitoring_record[a].heparin_amount
- SchedualPatientsTable.gsp.push(gsp);
- }
- }
-
- // 血压监测部位
- SchedualPatientsTable.xyjcp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xyjcp = {};
- xyjcp["value"] = this.getBloodPressure(response.data.data.schedule[i].monitoring_record[a].blood_pressure_monitoring_site)
- SchedualPatientsTable.xyjcp.push(xyjcp);
- }
- }
-
- // 并发症
- SchedualPatientsTable.bfp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const bfp = {};
- bfp["value"] = this.getComplication(response.data.data.schedule[i].monitoring_record[a].complication)
- SchedualPatientsTable.bfp.push(bfp);
- }
- }
-
- // 累计血容量
- SchedualPatientsTable.ljxrp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const ljxrp = {};
- ljxrp["value"] = response.data.data.schedule[i].monitoring_record[a].accumulated_blood_volume
- SchedualPatientsTable.ljxrp.push(ljxrp);
- }
- }
-
- // 血容量
- SchedualPatientsTable.xrp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xrp = {};
- xrp["value"] = response.data.data.schedule[i].monitoring_record[a].accumulated_blood_volume
- SchedualPatientsTable.xrp.push(xrp);
- }
- }
-
-
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id == 10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xrp = {};
- xrp["value"] = response.data.data.schedule[i].monitoring_record[a].accumulated_blood_volume_one?response.data.data.schedule[i].monitoring_record[a].accumulated_blood_volume_one:"/"
- SchedualPatientsTable.xrp.push(xrp);
- }
- }
-
- // 血温监测
-
- SchedualPatientsTable.xwp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xwp = {};
- xwp["value"] = response.data.data.schedule[i].monitoring_record[a].blood_temperature
- SchedualPatientsTable.xwp.push(xwp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xwp = {};
- xwp["value"] = response.data.data.schedule[i].monitoring_record[a].blood_temperature_one?response.data.data.schedule[i].monitoring_record[a].blood_temperature_one:"/"
- SchedualPatientsTable.xwp.push(xwp);
- }
- }
-
- //尿素监测
- SchedualPatientsTable.nxp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const nxp = {};
- nxp["value"] = response.data.data.schedule[i].monitoring_record[a].urea_monitoring
- SchedualPatientsTable.nxp.push(nxp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0 || this.org_id ==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const nxp = {};
- nxp["value"] = response.data.data.schedule[i].monitoring_record[a].urea_monitoring_one?response.data.data.schedule[i].monitoring_record[a].urea_monitoring_one:"/"
- SchedualPatientsTable.nxp.push(nxp);
- }
- }
-
- // 血压监测
-
- SchedualPatientsTable.xyjc = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const xyjc = {};
- xyjc["value"] = response.data.data.schedule[i].monitoring_record[a].blood_monitor
- SchedualPatientsTable.xyjc.push(xyjc);
- }
- }
-
- // 脱水(L)
- SchedualPatientsTable.tshp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const tshp = {};
- tshp["value"] = response.data.data.schedule[i].monitoring_record[a].dehydration
- SchedualPatientsTable.tshp.push(tshp);
- }
- }
-
- // KT/V
- SchedualPatientsTable.ktvp = [];
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id!=10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const ktvp = {};
- ktvp["value"] = response.data.data.schedule[i].monitoring_record[a].ktv
- SchedualPatientsTable.ktvp.push(ktvp);
- }
- }
-
- if(response.data.data.schedule[i].monitoring_record && response.data.data.schedule[i].monitoring_record.length > 0&&this.org_id==10693){
- for (let a = 0;a < response.data.data.schedule[i].monitoring_record.length;a++) {
- const ktvp = {};
- ktvp["value"] = response.data.data.schedule[i].monitoring_record[a].ktv_one?response.data.data.schedule[i].monitoring_record[a].ktv_one:"/"
- SchedualPatientsTable.ktvp.push(ktvp);
- }
- }
-
- if (response.data.data.schedule[i].assessment_after_dislysis != null) {
- SchedualPatientsTable["after_pressure_name"] =response.data.data.schedule[i].assessment_after_dislysis.systolic_blood_pressure+"/"+ response.data.data.schedule[i].assessment_after_dislysis.diastolic_blood_pressure;
- }
-
-
-
- this.SchedualPatientsTableData.push(SchedualPatientsTable);
- // console.log("wode数据",(-100).toString())
- // console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
-
- }
- }
- }
- });
- },
- 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;
- },
- cellStyle({ row, column, rowIndex, columnIndex }) {
- let arr = [9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36];
- if (arr.indexOf(columnIndex) > -1) {
- return "spanClass";
- }
- },
- getTimeOne(val) {
- if(val < 0){
- return ""
- }
- if(val == ""){
- return ""
- }else {
- return uParseTime(val, '{h}:{i}')
- }
- },
- 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;
- },
- getValue: function(val) {
-
- if (val != undefined) {
- var str = val.value.split("/")
- return str[0];
- } else {
- return "";
- }
- },
- getValueOne: function(val) {
- if (val != undefined) {
- var str = val.value.split("/")
- return str[1];
- } else {
- return "";
- }
- },
- handleCurrentChange(val) {
- this.listQuery.page = val;
- this.getSchedualPatientList();
- },
- changeSearchMode: function() {
- if (this.search_mode == 1) {
- this.search_mode = 2;
-
- } else {
- this.search_mode = 1;
- var date = new Date();
- this.time = date;
- var year = date.getFullYear();
- var month = date.getMonth() + 1;
- var day = date.getDate();
- if (month < 10) {
- month = "0" + month;
- }
- if (day < 10) {
- day = "0" + day;
- }
- var nowDate = year + "-" + month + "-" + day;
- var date = new Date(nowDate + " 00:00:00");
- this.listQuery.schedul_time = date.getTime();
-
- this.getAllZone();
- this.getSchedualPatientList();
- this.getTemplateInfo();
- }
- this.$store.dispatch('SetSearchMode', this.search_mode)
- },
- searchPatientAction: function() {
- this.listQuery.keywords = this.patient_search_keyword;
- this.$store.dispatch('SetSearchValue', this.patient_search_keyword)
- console.log(this.patient_search_keyword);
- if (this.patient_search_keyword.length == 0) {
- return;
- }
- this.getSchedualPatientList();
- },
- handleSizeChange(val) {
- this.listQuery.limit = val;
- this.getSchedualPatientList();
- },
- batchPrintAction: function() {
- if (this.selecting_schs.length === 0) {
- this.$message.error("请至少选择一条需要打印的内容");
- return false;
- }
- // 模板ID为6
- var sch_ids = [];
- for (let index = 0; index < this.selecting_schs.length; index++) {
- sch_ids.push(this.selecting_schs[index].sch_id);
- }
- console.log("sch_ids",sch_ids)
- this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
- if (this.template_id == 2 || this.template_id == 0) {
- this.$router.push({ path: "/dialysis/print/batch/other" });
- } else if (this.template_id == 1) {
- this.$router.push({ path: "/dialysis/print/batch" });
- } else if (this.template_id == 3) {
- this.$router.push({ path: "/dialysis/print/batch/three" });
- } else if (this.template_id == 4) {
- this.$router.push({ path: "/dialysis/print/batch/four" });
- } else if (this.template_id == 5) {
- this.$router.push({ path: "/dialysis/print/batch/five" });
- } else if (this.template_id == 6) {
- this.$router.push({ path: "/dialysis/print/batch/six" });
- } else if (this.template_id == 7) {
- this.$router.push({ path: "/dialysis/print/batch/seven" });
- } else if (this.template_id == 8) {
- this.$router.push({ path: "/dialysis/print/batch/eight" });
- } else if (this.template_id == 9) {
- this.$router.push({ path: "/dialysis/print/batch/nine" });
- }else if (this.template_id == 11) {
- this.$router.push({ path: "/dialysis/print/batch/Eleven" });
- } else if (this.template_id == 12) {
- this.$router.push({ path: "/dialysis/print/batch/twelve" });
- } else if (this.template_id == 13) {
- this.$router.push({ path: "/dialysis/print/batch/thirteen" });
- } else if (this.template_id == 15) {
- this.$router.push({ path: "/dialysis/print/batch/fifteen" });
- } else if (this.template_id == 17) {
- this.$router.push({ path: "/dialysis/print/batch/seventeen" });
- } else if (this.template_id == 20) {
- this.$router.push({ path: "/dialysis/print/batch/twenty" });
- } else if (this.template_id == 22) {
- this.$router.push({ path: "/dialysis/print/batch/twentyTwo" });
- } else if (this.template_id == 25) {
- this.$router.push({ path: "/dialysis/print/batch/twentyFive" });
- }else if (this.template_id == 27) {
- this.$router.push({ path: "/dialysis/print/batch/twentySeven" });
- } else if(this.template_id == 28){
- this.$router.push({path:"/dialysis/print/batch/twentyEight"})
- } else if (this.template_id == 30) {
- this.$router.push({ path: "/dialysis/print/batch/thirty" });
- } else if (this.template_id == 32) {
- this.$router.push({ path: "/dialysis/print/batch/thirtyTwo" });
- } else if (this.template_id == 33) {
- this.$router.push({ path: "/dialysis/print/batch/thirtyThree" });
- } else if (this.template_id == 37) {
- this.$router.push({ path: "/dialysis/print/batch/thirtySeven" });
- } else if (this.template_id == 38) {
- this.$router.push({ path: "/dialysis/print/batch/thirtyEight" });
- } else if (this.template_id == 39) {
- this.$router.push({ path: "/dialysis/print/batch/thirtyNine" });
- } else if (this.template_id == 40) {
- this.$router.push({ path: "/dialysis/print/batch/forty" });
- } else if (this.template_id == 41) {
- this.$router.push({ path: "/dialysis/print/batch/fortyOne" });
- } else if (this.template_id == 43) {
- this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
- } else if (this.template_id == 47 && this.org_id!=10318) {
- this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
- } else if (this.template_id == 48) {
- this.$router.push({ path: "/dialysis/print/batch/six" });
- }else if (this.template_id == 51) {
- this.$router.push({ path: "/dialysis/print/batch/fiftyOne" });
- }else if (this.template_id == 53) {
- this.$router.push({ path: "/dialysis/print/batch/fiftyThree" });
- }else if (this.template_id == 59) {
- this.$router.push({ path: "/dialysis/print/batch/fiftynine" });
- }else if (this.template_id == 60) {
- this.$router.push({ path: "/dialysis/print/batch/sixty" });
- }else if (this.template_id == 61) {
- this.$router.push({ path: "/dialysis/print/batch/sixtyOne" });
- }else if (this.template_id == 62) {
- this.$router.push({ path: "/dialysis/print/batch/sixtyTwo" });
- }else if (this.template_id == 65) {
- this.$router.push({ path: "/dialysis/print/batch/sixtyFive" });
- }else if (this.template_id == 66) {
- this.$router.push({ path: "/dialysis/print/batch/sixtysix" });
- }
- else if (this.template_id == 67) {
- this.$router.push({ path: "/dialysis/print/batch/sixtyseven" });
- }
- else if (this.template_id == 68) {
- this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
- }else if (this.template_id == 70) {
- this.$router.push({ path: "/dialysis/print/batch/seventy" });
- }else if (this.template_id == 71) {
- this.$router.push({ path: "/dialysis/print/batch/seventyone" });
- }else if (this.template_id == 72) {
- this.$router.push({ path: "/dialysis/print/batch/seventytwo" });
- }else if (this.template_id == 73) {
- this.$router.push({ path: "/dialysis/print/batch/seventythree" });
- }else if (this.template_id == 74) {
- this.$router.push({ path: '/dialysis/print/batch/seventyfour' });
- }else if (this.template_id == 75) {
- this.$router.push({ path: "/dialysis/print/batch/seventyfive" });
- }else if (this.template_id == 76) {
- this.$router.push({ path: "/dialysis/print/batch/Seventysix" });
- }else if (this.template_id == 78) {
- this.$router.push({ path: "/dialysis/print/batch/seventyeight" });
- }else if (this.template_id == 79) {
- this.$router.push({ path: "/dialysis/print/batch/seventynine" });
- }
- },
- batchPrintActionOne: function() {
- if (this.selecting_schs.length === 0) {
- this.$message.error("请至少选择一条需要打印的内容");
- return false;
- }
- var sch_ids = [];
- for (let index = 0; index < this.selecting_schs.length; index++) {
- sch_ids.push(this.selecting_schs[index].sch_id);
- }
- this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
- if (this.template_id == 2 || this.template_id == 0) {
- this.$router.push({ path: "/dialysis/print/batch/otherone" });
- } else if (this.template_id == 1) {
- this.$router.push({ path: "/dialysis/print/batch" });
- } else if (this.template_id == 5) {
- this.$router.push({ path: "/dialysis/print/batch/fiveone" });
- } else if (this.template_id == 22) {
- this.$router.push({ path: "/dialysis/print/batch/twentyTwo_one" });
- } else if(this.template_id == 33){
- this.$router.push({ path: "/dialysis/print/batch/thirtyThree_one" });
- }
- },
- batchPrintActionTwo: function() {
- if (this.selecting_schs.length === 0) {
- this.$message.error("请至少选择一条需要打印的内容");
- return false;
- }
- var sch_ids = [];
- for (let index = 0; index < this.selecting_schs.length; index++) {
- sch_ids.push(this.selecting_schs[index].sch_id);
- }
- this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
- if (this.template_id == 2 || this.template_id == 0) {
- this.$router.push({ path: "/dialysis/print/batch/othertwo" });
- } else if (this.template_id == 1) {
- this.$router.push({ path: "/dialysis/print/batch" });
- } else if (this.template_id == 5) {
- this.$router.push({ path: "/dialysis/print/batch/fivetwo" });
- } else if (this.template_id == 22) {
- this.$router.push({ path: "/dialysis/print/batch/twentyTwo_two" });
- } else if (this.template_id == 33) {
- this.$router.push({ path: "/dialysis/print/batch/thirtyThree_two" });
- }
- },
- toExport(){
- import('@/vendor/Export2Excel').then(excel => {
-
- if(this.SchedualPatientsTableData!=null){
- for(let i=0;i<this.SchedualPatientsTableData.length;i++){
-
- this.SchedualPatientsTableData[i].index = i + 1
- this.SchedualPatientsTableData[i].start_time_one = ""
- this.SchedualPatientsTableData[i].start_time_two = ""
- this.SchedualPatientsTableData[i].start_time_three = ""
- this.SchedualPatientsTableData[i].start_time_four = ""
- this.SchedualPatientsTableData[i].start_time_five = ""
- this.SchedualPatientsTableData[i].start_time_six = ""
- this.SchedualPatientsTableData[i].start_time_seven = ""
-
- this.SchedualPatientsTableData[i].blood_press_one = ""
- this.SchedualPatientsTableData[i].blood_press_two = ""
- this.SchedualPatientsTableData[i].blood_press_three = ""
- this.SchedualPatientsTableData[i].blood_press_four = ""
- this.SchedualPatientsTableData[i].blood_press_five = ""
- this.SchedualPatientsTableData[i].blood_press_six = ""
- this.SchedualPatientsTableData[i].blood_press_seven = ""
-
-
- this.SchedualPatientsTableData[i].temperature_one = ""
- this.SchedualPatientsTableData[i].temperature_two = ""
- this.SchedualPatientsTableData[i].temperature_three = ""
- this.SchedualPatientsTableData[i].temperature_four = ""
- this.SchedualPatientsTableData[i].temperature_five = ""
- this.SchedualPatientsTableData[i].temperature_six = ""
- this.SchedualPatientsTableData[i].temperature_seven = ""
-
- this.SchedualPatientsTableData[i].breathing_rate_one = ""
- this.SchedualPatientsTableData[i].breathing_rate_two = ""
- this.SchedualPatientsTableData[i].breathing_rate_three = ""
- this.SchedualPatientsTableData[i].breathing_rate_four = ""
- this.SchedualPatientsTableData[i].breathing_rate_five = ""
- this.SchedualPatientsTableData[i].breathing_rate_six = ""
- this.SchedualPatientsTableData[i].breathing_rate_seven = ""
-
- this.SchedualPatientsTableData[i].pulse_frequency_one = ""
- this.SchedualPatientsTableData[i].pulse_frequency_two = ""
- this.SchedualPatientsTableData[i].pulse_frequency_three = ""
- this.SchedualPatientsTableData[i].pulse_frequency_four = ""
- this.SchedualPatientsTableData[i].pulse_frequency_five = ""
- this.SchedualPatientsTableData[i].pulse_frequency_six = ""
- this.SchedualPatientsTableData[i].pulse_frequency_seven = ""
-
-
-
-
-
- if(this.SchedualPatientsTableData[i].monitoring_record!=null&&this.SchedualPatientsTableData[i].monitoring_record.length>0){
-
- if(this.SchedualPatientsTableData[i].monitoring_record.length >=1){
- if(this.SchedualPatientsTableData[i].monitoring_record[0].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_one =this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[0].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[0].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[0].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_one = this.SchedualPatientsTableData[i].monitoring_record[0].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[0].diastolic_blood_pressure
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[0].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_one = this.SchedualPatientsTableData[i].monitoring_record[0].temperature
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[0].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_one = this.SchedualPatientsTableData[i].monitoring_record[0].breathing_rate
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[0].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_one = this.SchedualPatientsTableData[i].monitoring_record[0].pulse_frequency
- }
-
- }
- if(this.SchedualPatientsTableData[i].monitoring_record.length >=2){
- if(this.SchedualPatientsTableData[i].monitoring_record[1].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_two = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[1].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[1].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[1].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_two = this.SchedualPatientsTableData[i].monitoring_record[1].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[1].diastolic_blood_pressure
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[1].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_two = this.SchedualPatientsTableData[i].monitoring_record[1].temperature
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[1].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_two = this.SchedualPatientsTableData[i].monitoring_record[1].breathing_rate
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[1].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_two = this.SchedualPatientsTableData[i].monitoring_record[1].pulse_frequency
- }
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record.length>=3){
- if(this.SchedualPatientsTableData[i].monitoring_record[2].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_three = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[2].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[2].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[2].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_three = this.SchedualPatientsTableData[i].monitoring_record[2].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[2].diastolic_blood_pressure
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[2].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_three = this.SchedualPatientsTableData[i].monitoring_record[2].temperature
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[2].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_three = this.SchedualPatientsTableData[i].monitoring_record[2].breathing_rate
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[2].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_three= this.SchedualPatientsTableData[i].monitoring_record[2].pulse_frequency
- }
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record.length >=4){
- if(this.SchedualPatientsTableData[i].monitoring_record[3].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_four = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[3].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[3].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[3].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_four = this.SchedualPatientsTableData[i].monitoring_record[3].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[3].diastolic_blood_pressure
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[3].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_four = this.SchedualPatientsTableData[i].monitoring_record[3].temperature
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[3].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_four = this.SchedualPatientsTableData[i].monitoring_record[3].breathing_rate
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[3].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_four= this.SchedualPatientsTableData[i].monitoring_record[3].pulse_frequency
- }
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record.length >=5){
- if(this.SchedualPatientsTableData[i].monitoring_record[4].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_five = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[4].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[4].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[4].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_five = this.SchedualPatientsTableData[i].monitoring_record[4].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[4].diastolic_blood_pressure
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[4].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_five = this.SchedualPatientsTableData[i].monitoring_record[4].temperature
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[4].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_five = this.SchedualPatientsTableData[i].monitoring_record[4].breathing_rate
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[4].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_five= this.SchedualPatientsTableData[i].monitoring_record[4].pulse_frequency
- }
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record.length >=6){
- if(this.SchedualPatientsTableData[i].monitoring_record[5].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_six = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[5].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[5].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[5].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_six = this.SchedualPatientsTableData[i].monitoring_record[5].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[5].diastolic_blood_pressure
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[5].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_six = this.SchedualPatientsTableData[i].monitoring_record[5].temperature
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[5].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_six = this.SchedualPatientsTableData[i].monitoring_record[5].breathing_rate
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[5].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_six= this.SchedualPatientsTableData[i].monitoring_record[5].pulse_frequency
- }
-
-
- }
- if(this.SchedualPatientsTableData[i].monitoring_record.length >= 7){
- if(this.SchedualPatientsTableData[i].monitoring_record[6].operate_time!=undefined){
- this.SchedualPatientsTableData[i].start_time_seven = this.getTimeOne(this.SchedualPatientsTableData[i].monitoring_record[6].operate_time)
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[6].systolic_blood_pressure!=undefined &&this.SchedualPatientsTableData[i].monitoring_record[6].diastolic_blood_pressure!=undefined ){
- this.SchedualPatientsTableData[i].blood_press_seven = this.SchedualPatientsTableData[i].monitoring_record[6].systolic_blood_pressure + "/" +this.SchedualPatientsTableData[i].monitoring_record[6].diastolic_blood_pressure
- }
- if(this.SchedualPatientsTableData[i].monitoring_record[6].temperature!=undefined){
- this.SchedualPatientsTableData[i].temperature_seven = this.SchedualPatientsTableData[i].monitoring_record[6].temperature
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[6].breathing_rate!=undefined){
- this.SchedualPatientsTableData[i].breathing_rate_seven = this.SchedualPatientsTableData[i].monitoring_record[6].breathing_rate
- }
-
- if(this.SchedualPatientsTableData[i].monitoring_record[6].pulse_frequency!=undefined){
- this.SchedualPatientsTableData[i].pulse_frequency_seven= this.SchedualPatientsTableData[i].monitoring_record[6].pulse_frequency
- }
- }
-
-
-
-
- }
- }
-
- }
- console.log("监测统计",this.SchedualPatientsTableData)
-
- const multiHeader = [['序号','机号','排班日期','上机时间','透析号','姓名','透析模式','目标超滤量','透前血压','干体重','透前称重','透后称重','监测时间','','','','','','','透中血压','','','','','','','体温','','','','','','','呼吸','','','','','','','脉搏','','','','','','']]
- const header = ['','','','','','','','','','','','','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次','第1次','第2次','第3次','第4次','第5次','第6次','第7次',]
- const merges = ['A1:A2', 'B1:B2', 'C1:C2', 'D1:D2', 'E1:E2','F1:F2','G1:G2','H1:H2', 'I1:I2','J1:J2','K1:K2','L1:L2','M1:S1','T1:Z1','AA1:AG1','AH1:AN1','AO1:AU1']
- const filterVal = ['index', 'number', 'sch_time', 'start_time', 'dialysis_no', 'name', 'mode_name', 'target_ultrafiltration', 'pressure_name', 'dry_weight', 'dialysis_before_weight', 'dialysis_after_weight','start_time_one','start_time_two','start_time_three','start_time_four','start_time_five','start_time_six','start_time_seven','blood_press_one','blood_press_two','blood_press_three','blood_press_four','blood_press_five','blood_press_six','blood_press_seven','temperature_one','temperature_two','temperature_three','temperature_four','temperature_five','temperature_six','temperature_seven','breathing_rate_one','breathing_rate_two','breathing_rate_three','breathing_rate_four','breathing_rate_five','breathing_rate_six','breathing_rate_seven','pulse_frequency_one','pulse_frequency_two','pulse_frequency_three','pulse_frequency_four','pulse_frequency_five','pulse_frequency_six','pulse_frequency_seven']
-
- const data = this.formatJson(filterVal, this.SchedualPatientsTableData)
- const filename = '监测数据'
-
- console.log("datawoowowow",data)
- excel.export_json_to_excel({
- multiHeader,
- header,
- merges,
- data,
- filename
- })
- })
- },
- formatJson(filterVal, jsonData) {
- return jsonData.map(v => filterVal.map(j => v[j]));
- },
- getModeId(val){
- var name =""
- if(val == 1){
- name ="HD"
- }
- if(val == 2){
- name ="HDF"
- }
- if(val == 3){
- name ="HD+HP"
- }
- if(val == 4){
- name ="HP"
- }
- if(val == 5){
- name ="HF"
- }
- if(val == 6){
- name ="SCUF"
- }
- if(val == 7){
- name ="IUF"
- }
- if(val == 8){
- name ="HFHD"
- }
- if(val == 9){
- name ="HFHD+HP"
- }
- if(val == 10){
- name ="PHF"
- }
- if(val == 11){
- name ="HFR"
- }
- if(val == 12){
- name ="HDF+HP"
- }
- if(val == 13){
- name ="CRRT"
- }
- if(val == 14){
- name ="腹水回输"
- }
- if(val == 19){
- name ="IUF+HD"
- }
- if(val == 20){
- name ="UF"
- }
- if(val == 21){
- name ="HD+"
- }
- if(val == 22){
- name ="血浆胆红素吸附+HDF"
- }
- if(val == 23){
- name ="血浆胆红素吸附"
- }
- if(val == 24){
- name ="I-HDF"
- }
- if(val == 25){
- name ="HD高通"
- }
- if(val == 26){
- name ="CVVH"
- }
- if(val == 27){
- name ="CVVHD"
- }
- if(val == 28){
- name ="CVVHDF"
- }
- if(val == 29){
- name ="PE"
- }
- if(val == 30){
- name ="血浆胆红素吸附+HP"
- }
- if(val == 31){
- name ="HPD"
- }
- if(val == 32){
- name ="HDP"
- }
- if(val == 33){
- name ="HDP"
- }
- if(val == 33){
- name ="HFD"
- }
- if(val == 34){
- name ="HDF100"
- }
- if(val == 35){
- name ="HDF600"
- }
- if(val == 36){
- name ="HDF800"
- }
- if(val == 37){
- name ="HDF1000"
- }
- if(val == 38){
- name ="HDF80"
- }
- if(val == 39){
- name ="HF16"
- }
- if(val == 40){
- name ="HD(无肝素)"
- }
- if(val == 41){
- name ="HDF17H"
- }
- if(val == 42){
- name ="HD."
- }
- if(val == 43){
- name ="HD(2)"
- }
- return name
- },
- },
- components: {
- BreadCrumb
- }
- };
- </script>
-
- <style rel="stylesheet/scss" lang="scss" scoped>
- .app-container {
- // margin: 20px;
- font-size: 15px;
- .filter-container {
- padding-bottom: 5px;
- }
- .cqd-dataTitle {
- color: #303133;
- font-size: 14px;
- border-bottom: 2px #e4e7ed solid;
- height: 36px;
- line-height: 36px;
- margin: 0 0 25px 0;
- position: relative;
- }
- .cqd-dataTitle::before {
- position: absolute;
- left: 0;
- bottom: -2px;
- content: "";
- width: 42px;
- height: 2px;
- background: #409eff;
- }
- .search-component {
- width: 500px;
- .searchBox {
- width: 300px;
- height: 36px;
- line-height: 36px;
- padding-left: 15px;
- border: 1px #dcdfe6 solid;
- border-right: none;
- outline: none;
- float: left;
- border-radius: 6px 0 0 6px;
- font-size: 14px;
- color: #333;
- background: #fff;
- box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
- }
- .searchBtn {
- background-color: #409eff;
- color: #fff;
- font-size: 15px;
- text-align: center;
- height: 36px;
- line-height: 36px;
- float: left;
- outline: none;
- width: 70px;
- border: none;
- border-radius: 0 6px 6px 0;
- font-family: "Microsoft Yahei";
- cursor: pointer;
- }
- }
- .amount {
- font-weight: normal;
- padding: 10px 0 0 0;
- color: #606266;
- font-size: 14px;
- span {
- color: #ef2525;
- font-family: "Arial";
- padding: 0 2px;
- }
- }
- }
- .el-table td,
- .el-table th.is-leaf,
- .el-table--border,
- .el-table--group {
- border-color: #d0d3da;
- }
- .el-table--border::after,
- .el-table--group::after,
- .el-table::before {
- background-color: #d0d3da;
- }
- .el-checkbox__inner::after {
- height: 10px;
- left: 7px;
- }
- .el-checkbox__inner {
- width: 20px;
- height: 20px;
- }
- </style>
- <style scoped>
- /* 合并表格线样式 */
- .spanClass .cell {
- padding: 0 !important;
- }
-
- .spanClass .cell tr {
- display: inline-block;
- width: 100%;
- }
-
- .spanClass .cell tr td {
- padding: 10px 0;
- border-bottom: 1px solid #ebeef5;
- display: block;
- width: 100%;
- }
- .spanClass .cell tr:last-of-type td {
- border-bottom: none;
- }
- </style>
|