123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291 |
- <template>
- <div class="main-contain">
- <div class="position">
- <bread-crumb :crumbs="crumbs"></bread-crumb>
- <template v-if="org_template_info.template_id == 1">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 2
- "
- >
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 3">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 4">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 46">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 5">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template
- v-if="
- (org_template_info.template_id == 6 ||
- org_template_info.template_id == 10 ||
- org_template_info.template_id == 11 ||
- org_template_info.template_id == 50 ||
- org_template_info.template_id == 52 ||
- org_template_info.template_id == 53 ||
- org_template_info.template_id == 64 ||
- org_template_info.template_id == 199 )
- "
- >
- <div>
- <el-button
-
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
-
- <template v-if="org_template_info.template_id == 47">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
-
- <template v-if="org_template_info.template_id == 7">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 8">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 9">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 12">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 13">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 14
-
- "
- >
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 15">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 16">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 17">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 18">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 19">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 20">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <!-- <template v-if="org_template_info.template_id == 21">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template> -->
- <template
- v-if="
- org_template_info.template_id == 21
-
- "
- >
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 22">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 23">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 24">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 25">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 26">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 27
- "
- >
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 28">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 29">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 30">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 31">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 32">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 33">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 34">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 35">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 36">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印全部</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisOnePage"
- type="primary"
- >打印记录单</el-button
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisTwoPage"
- type="primary"
- >打印医嘱单</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 37">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 38">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 39">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 40">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 41">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 42">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 43">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 44">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 45">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 48">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 49">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 50">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 51">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="org_template_info.template_id == 54">
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 55
- "
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 56 ||org_template_info.template_id == 59
- "
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 57
- "
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 58
- "
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 60
- "
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template
- v-if="
- org_template_info.template_id == 61||org_template_info.template_id == 63
- "
- >
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </template>
- <template v-if="org_template_info.template_id == 62">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </div>
- </template>
-
- <template v-if="org_template_info.template_id == 65 ">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- <!-- || $store.getters.xt_user.org.id == 0 -->
- </div>
- </template>
- <template v-if="org_template_info.template_id == 66 ">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 67 ">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 68 ">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 69 ">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </div>
- </template>
- <template v-if="org_template_info.template_id == 70">
- <div>
- <el-button
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印</el-button
- >
- </div>
- </template>
- </div>
- <div class="app-container" style="min-height: 0">
- <!--<div class="order-print-btn"-->
- <!--v-loading="loading"-->
- <!--element-loading-text="加载中"-->
- <!--element-loading-spinner="el-icon-loading"-->
- <!--element-loading-background="rgba(0, 0, 0, 0.8)"-->
- <!--style="width: 100%;">-->
- <!--</div>-->
-
- <!--<dialysis-print-order-two :patientInfo="patientInfo" :receiverTreatmentAccess="receiverTreatmentAccess" :predialysis="predialysis"></dialysis-print-order-two>-->
- <el-container class="newContainer">
- <div style="width: 270px; margin-right: 20px">
- <div class="cell clearfix" style="margin-bottom: 10px">
- <el-date-picker
- v-model="selected_date"
- prefix-icon="el-icon-date"
- @change="handleScheduleDateChange"
- :editable="false"
- :clearable="false"
- style="width: 130px; margin-right: 10px"
- type="date"
- placeholder="选择日期时间"
- align="right"
- ></el-date-picker>
- <el-input
- size="small"
- style="width: 80px"
- @keyup.enter.native="searchAction"
- v-model.trim="search_input"
- class="filter-item"
- />
- <el-button
- size="small"
- class="filter-item"
- type="primary"
- @click="searchAction"
- >搜索</el-button
- >
- </div>
- <div class="cell clearfix" style="margin-bottom: 10px">
- <el-select
- v-model="patientStateVal"
- placeholder="全部患者状态"
- style="width: 130px; margin-right: 10px"
- @change="handleStateChange"
- >
- <el-option
- v-for="item in patient_state"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- <el-select
- v-model="treatStateVal"
- placeholder="全部治疗状态"
- style="width: 130px; margin-right: 10px"
- @change="handleTreatChange"
- >
- <el-option
- v-for="item in treat_state"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- </div>
- <div class="cell clearfix" style="margin-bottom: 10px">
- <el-select
- v-model="scheduleStateVal"
- placeholder="班次"
- style="width: 130px; margin-right: 10px"
- @change="handletimeType"
- >
- <el-option
- v-for="item in schedule_options"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- <el-select
- v-model="zoneVal"
- placeholder="分区"
- style="width: 130px; margin-right: 10px"
- @change="handleZoneChange"
- >
- <el-option
- v-for="item in zone_options"
- :key="item.id"
- :label="item.text"
- :value="item.id"
- >
- </el-option>
- </el-select>
- </div>
- <div style="padding-right: 20px">
- <el-table
- ref="tab"
- @row-click="changePatient"
- highlight-current-row
- :data="tableData"
- height="480"
- border
- style="width: 100%"
- >
- <el-table-column prop="date" label="患者">
- <template slot-scope="scope">
- {{ scope.row.patient.name }}
- </template>
- </el-table-column>
- <el-table-column prop="name" label="透析号">
- <template slot-scope="scope">
- {{ scope.row.patient.dialysis_no }}
- </template>
- </el-table-column>
- </el-table>
- </div>
- </div>
- <div
- class="dialysisPage"
- style="height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px"
- >
- <DialysisPrintOrderOne
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 1"
- >
- </DialysisPrintOrderOne>
-
- <DialysisPrintOrderTwo
- v-bind:childResponse="childResponse"
- v-if="
- org_template_info.template_id == 2
- "
- ></DialysisPrintOrderTwo>
-
- <DialysisPrintOrderThree
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 3"
- >
- </DialysisPrintOrderThree>
-
- <DialysisPrintOrderFour
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 4"
- >
- </DialysisPrintOrderFour>
-
- <DialysisPrintOrderFive
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 5"
- >
- </DialysisPrintOrderFive>
-
- <DialysisPrintOrderSix
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 6"
- >
- </DialysisPrintOrderSix>
-
- <DialysisPrintOrderSeven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 7"
- >
- </DialysisPrintOrderSeven>
-
- <DialysisPrintOrderEight
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 8"
- >
- </DialysisPrintOrderEight>
-
- <!--<DialysisPrintOrderTen></DialysisPrintOrderTen>-->
- <DialysisPrintOrderTen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 10"
- ></DialysisPrintOrderTen>
-
- <DialysisPrintOrderNine
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 9"
- ></DialysisPrintOrderNine>
-
- <DialysisPrintOrderEleven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 11"
- ></DialysisPrintOrderEleven>
- <DialysisPrintOrderTwelve
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 12"
- ></DialysisPrintOrderTwelve>
- <DialysisPrintOrderThirteen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 13"
- ></DialysisPrintOrderThirteen>
- <DialysisPrintOrderFourteen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 14"
- ></DialysisPrintOrderFourteen>
- <DialysisPrintOrderFifteen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 15"
- ></DialysisPrintOrderFifteen>
- <DialysisPrintOrderSixteen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 16"
- ></DialysisPrintOrderSixteen>
- <DialysisPrintOrderSeventeen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 17"
- ></DialysisPrintOrderSeventeen>
- <DialysisPrintOrderEighteen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 18"
- ></DialysisPrintOrderEighteen>
- <DialysisPrintOrderNineteen
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 19"
- ></DialysisPrintOrderNineteen>
- <DialysisPrintOrderTwenty
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 20"
- ></DialysisPrintOrderTwenty>
- <DialysisPrintOrderTwentyOne
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 21"
- ></DialysisPrintOrderTwentyOne>
- <DialysisPrintOrderTwentyTwo
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 22"
- ></DialysisPrintOrderTwentyTwo>
- <DialysisPrintOrderTwentyThree
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 23"
- ></DialysisPrintOrderTwentyThree>
- <DialysisPrintOrderTwentyFour
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 24"
- ></DialysisPrintOrderTwentyFour>
- <DialysisPrintOrderTwentyFive
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 25"
- >
- </DialysisPrintOrderTwentyFive>
- <DialysisPrintOrderTwentySix
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 26"
- >
- </DialysisPrintOrderTwentySix>
- <DialysisPrintOrderTwentySeven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 27"
- >
- </DialysisPrintOrderTwentySeven>
- <DialysisPrintOrderTwentyEight
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 28"
- >
- </DialysisPrintOrderTwentyEight>
- <DialysisPrintOrderTwentyNine
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 29"
- >
- </DialysisPrintOrderTwentyNine>
- <DialysisPrintOrderThirty
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 30"
- >
- </DialysisPrintOrderThirty>
- <DialysisPrintOrderThirtyOne
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 31"
- >
- </DialysisPrintOrderThirtyOne>
- <DialysisPrintOrderThirtyTwo
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 32"
- >
- </DialysisPrintOrderThirtyTwo>
- <DialysisPrintOrderThirtyThree
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 33"
- >
- </DialysisPrintOrderThirtyThree>
- <DialysisPrintOrderThirtyFour
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 34"
- >
- </DialysisPrintOrderThirtyFour>
- <DialysisPrintOrderThirtyFive
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 35"
- >
- </DialysisPrintOrderThirtyFive>
- <DialysisPrintOrderThirtySix
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 36"
- >
- </DialysisPrintOrderThirtySix>
- <DialysisPrintOrderThirtySeven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 37"
- >
- </DialysisPrintOrderThirtySeven>
- <DialysisPrintOrderThirtyEight
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 38"
- >
- </DialysisPrintOrderThirtyEight>
- <DialysisPrintOrderThirtyNine
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 39"
- >
- </DialysisPrintOrderThirtyNine>
- <DialysisPrintOrderForty
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 40"
- >
- </DialysisPrintOrderForty>
- <DialysisPrintOrderFortyOne
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 41"
- >
- </DialysisPrintOrderFortyOne>
- <DialysisPrintOrderFortyTwo
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 42"
- >
- </DialysisPrintOrderFortyTwo>
-
- <DialysisPrintOrderFortyThree
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 43"
- >
- </DialysisPrintOrderFortyThree>
-
- <DialysisPrintOrderFortyFour
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 44"
- >
- </DialysisPrintOrderFortyFour>
-
- <DialysisPrintOrderFortyFive
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 45"
- >
- </DialysisPrintOrderFortyFive>
-
- <DialysisPrintOrderFortySix
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 46"
- >
- </DialysisPrintOrderFortySix>
-
- <DialysisPrintOrderFortySeven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 47"
- >
- </DialysisPrintOrderFortySeven>
-
- <DialysisPrintOrderFortyEight
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 48"
- >
- </DialysisPrintOrderFortyEight>
-
- <DialysisPrintOrderFortyNine
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 49"
- >
- </DialysisPrintOrderFortyNine>
- <DialysisPrintOrderFifty
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 50"
- >
- </DialysisPrintOrderFifty>
- <DialysisPrintOrderFiftyOne
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 51"
- >
- </DialysisPrintOrderFiftyOne>
- <DialysisPrintOrderFiftyTwo
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 52"
- >
- </DialysisPrintOrderFiftyTwo>
- <DialysisPrintOrderFiftyThree
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 53"
- >
- </DialysisPrintOrderFiftyThree>
-
- <DialysisPrintOrderFiftyFour
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 54"
- >
- </DialysisPrintOrderFiftyFour>
- <DialysisPrintOrderFiftyfive
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 55"
- >
- </DialysisPrintOrderFiftyfive>
- <DialysisPrintOrderFiftySix
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 56"
- >
- </DialysisPrintOrderFiftySix>
- <DialysisPrintOrderFiftySeven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 57">
- </DialysisPrintOrderFiftySeven>
- <DialysisPrintOrderFiftyEight
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 58">
- </DialysisPrintOrderFiftyEight>
- <DialysisPrintOrderFiftyNine
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 59">
- </DialysisPrintOrderFiftyNine>
- <DialysisPrintOrderSixty
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 60">
- </DialysisPrintOrderSixty>
- <DialysisPrintOrderSixtyOne
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 61">
- </DialysisPrintOrderSixtyOne>
- <DialysisPrintOrderSixtyTwo
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 62">
- </DialysisPrintOrderSixtyTwo>
- <!-- <DialysisPrintOrderSixtyThree
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 63">
- </DialysisPrintOrderSixtyThree> -->
- <DialysisPrintOrderSixtyfour
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 64">
-
- </DialysisPrintOrderSixtyfour>
-
- <DialysisPrintOrderSixtyFive
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 65">
-
- </DialysisPrintOrderSixtyFive>
- <DialysisPrintOrderSixtysix
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 66">
-
- </DialysisPrintOrderSixtysix>
- <DialysisPrintOrdersixtySeven
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 67">
-
- </DialysisPrintOrdersixtySeven>
- <DialysisPrintOrderSixtyeight
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 68"
- >
- </DialysisPrintOrderSixtyeight>
-
- <DialysisPrintOrderSixtynine
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 69"
- >
- </DialysisPrintOrderSixtynine>
- <DialysisPrintOrderSeventy
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 70"
- >
-
- </DialysisPrintOrderSeventy>
-
- <DialysisPrintOrderZero
- v-bind:childResponse="childResponse"
- v-if="org_template_info.template_id == 199"
- >
- </DialysisPrintOrderZero>
- </div>
- </el-container>
- </div>
- </div>
- </template>
-
- <script>
- import {
- getDialysisRecordInitData,
- getDialysisSchedules,
- } from "@/api/dialysis_record";
- import { parseTime } from "@/utils";
- import { getDialysisRecord } from "@/api/dialysis";
- import { getDataConfig } from "@/utils/data";
- import { jsGetAge, uParseTime } from "@/utils/tools";
- import LabelBox from "./printItem/LabelBox";
- import BreadCrumb from "@/xt_pages/components/bread-crumb";
- import DialysisPrintOrderOne from "./template/dialysisPrintOrderOne";
- import DialysisPrintOrderTwo from "./template/dialysisPrintOrderTwo";
- import DialysisPrintOrderThree from "./template/dialysisPrintOrderThree";
- import DialysisPrintOrderFour from "./template/DialysisPrintOrderFour";
- import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
- import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
- import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
- import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
- import DialysisPrintOrderNine from "./template/DialysisPrintOrderNine";
- import print from "print-js";
- import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
- import DialysisPrintOrderEleven from "./template/DialysisPrintOrderEleven";
- import DialysisPrintOrderTwelve from "./template/DialysisPrintOrderTwelve";
- import DialysisPrintOrderThirteen from "./template/DialysisPrintOrderThirteen";
- import DialysisPrintOrderFourteen from "./template/DialysisPrintOrderFourteen";
- import DialysisPrintOrderFifteen from "./template/DialysisPrintOrderFifteen";
- import DialysisPrintOrderSixteen from "./template/DialysisPrintOrderSixteen";
- import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
- import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
- import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
- import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
- import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
- import DialysisPrintOrderTwentyTwo from "./template/DialysisPrintOrderTwentyTwo";
- import DialysisPrintOrderTwentyThree from "./template/DialysisPrintOrderTwentyThree";
- import DialysisPrintOrderTwentyFour from "./template/DialysisPrintOrderTwentyFour";
- import DialysisPrintOrderTwentyFive from "./template/DialysisPrintOrderTwentyFive";
- import DialysisPrintOrderTwentySix from "./template/DialysisPrintOrderTwentySix";
- import DialysisPrintOrderTwentySeven from "./template/DialysisPrintOrderTwentySeven";
- import DialysisPrintOrderTwentyEight from "./template/DialysisPrintOrderTwentyEight";
- import DialysisPrintOrderTwentyNine from "./template/DialysisPrintOrderTwentyNine";
- import DialysisPrintOrderThirty from "./template/DialysisPrintOrderThirty";
- import DialysisPrintOrderThirtyOne from "./template/DialysisPrintOrderThirtyOne";
- import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo";
- import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
- import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
- import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
- import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix";
- import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySeven";
- import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
- import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
- import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
- import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
- import DialysisPrintOrderFortyTwo from "./template/DialysisPrintOrderFortyTwo";
- import DialysisPrintOrderFortyThree from "./template/DialysisPrintOrderFortyThree";
- import DialysisPrintOrderFortyFour from "./template/DialysisPrintOrderFortyFour";
- import DialysisPrintOrderFortyFive from "./template/DialysisPrintOrderFortyFive";
- import DialysisPrintOrderFortySix from "./template/DialysisPrintOrderFortySix";
- import DialysisPrintOrderFortySeven from "./template/DialysisPrintOrderFortySeven";
- import DialysisPrintOrderFortyEight from "./template/DialysisPrintOrderFortyEight";
- import DialysisPrintOrderFortyNine from "./template/DialysisPrintOrderFortyNine";
- import DialysisPrintOrderFifty from "./template/DialysisPrintOrderFifty";
- import DialysisPrintOrderFiftyOne from "./template/DialysisPrintOrderFiftyOne";
- import DialysisPrintOrderFiftyTwo from "./template/DialysisPrintOrderFiftyTwo";
- import DialysisPrintOrderFiftyThree from "./template/DialysisPrintOrderFiftyThree";
- import DialysisPrintOrderFiftyFour from "./template/DialysisPrintOrderFiftyFour";
- import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive";
- import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix";
- import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven";
- import DialysisPrintOrderFiftyEight from "./template/DialysisPrintOrderFiftyEight";
- import DialysisPrintOrderFiftyNine from "./template/DialysisPrintOrderFiftyNine";
- import DialysisPrintOrderSixty from "./template/DialysisPrintOrderSixty";
- import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
- import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
- // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
- import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
- import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive"
- import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix'
- import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven'
- import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight'
- import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
- import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
- import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
- export default {
- name: "dialysisPrintOrder",
- components: {
- // DialysisPrintOrderSixtyThree,
- DialysisPrintOrderSixtyTwo,
- DialysisPrintOrderSixtyOne,
- DialysisPrintOrderSixty,
- DialysisPrintOrdersixtySeven,
- DialysisPrintOrderFiftyNine,
- DialysisPrintOrderFiftyEight,
- DialysisPrintOrderFiftySeven,
- DialysisPrintOrderFiftySix,
- DialysisPrintOrderFiftyfive,
- DialysisPrintOrderFiftyFour,
- DialysisPrintOrderFiftyThree,
- DialysisPrintOrderFiftyTwo,
- DialysisPrintOrderFiftyOne,
- DialysisPrintOrderFifty,
- DialysisPrintOrderFortyNine,
- DialysisPrintOrderFortyEight,
- DialysisPrintOrderFortySeven,
- DialysisPrintOrderFortySix,
- DialysisPrintOrderFortyFive,
- DialysisPrintOrderFortyFour,
- DialysisPrintOrderFortyThree,
- DialysisPrintOrderFortyTwo,
- DialysisPrintOrderFortyOne,
- DialysisPrintOrderForty,
- DialysisPrintOrderThirtyNine,
- DialysisPrintOrderThirtyEight,
- DialysisPrintOrderThirtySeven,
- DialysisPrintOrderThirtySix,
- DialysisPrintOrderThirtyFive,
- DialysisPrintOrderThirtyFour,
- DialysisPrintOrderThirtyThree,
- DialysisPrintOrderThirtyTwo,
- DialysisPrintOrderThirtyOne,
- DialysisPrintOrderThirty,
- DialysisPrintOrderTwentyNine,
- DialysisPrintOrderTwentyEight,
- DialysisPrintOrderTwentySeven,
- DialysisPrintOrderTwentySix,
- DialysisPrintOrderTwentyFive,
- DialysisPrintOrderTwentyFour,
- DialysisPrintOrderTwentyThree,
- DialysisPrintOrderTwentyTwo,
- DialysisPrintOrderTwentyOne,
- DialysisPrintOrderTwenty,
- DialysisPrintOrderNineteen,
- DialysisPrintOrderEighteen,
- DialysisPrintOrderSeventeen,
- DialysisPrintOrderSixteen,
- DialysisPrintOrderFifteen,
- DialysisPrintOrderFourteen,
- DialysisPrintOrderThirteen,
- DialysisPrintOrderTwelve,
- DialysisPrintOrderEleven,
- DialysisPrintOrderTen,
- DialysisPrintOrderOne,
- DialysisPrintOrderTwo,
- DialysisPrintOrderThree,
- DialysisPrintOrderFour,
- DialysisPrintOrderFive,
- DialysisPrintOrderSix,
- DialysisPrintOrderSeven,
- DialysisPrintOrderEight,
- DialysisPrintOrderNine,
- DialysisPrintOrderSixtyfour,
- DialysisPrintOrderSixtyFive,
- DialysisPrintOrderSixtysix,
- DialysisPrintOrderSixtyeight,
- DialysisPrintOrderSixtynine,
- DialysisPrintOrderSeventy,
- DialysisPrintOrderZero,
- LabelBox,
- BreadCrumb,
- // DialysisPrintOrderSixtyFive
- },
- data() {
- return {
- crumbs: [
- { path: false, name: "透析管理" },
- { path: false, name: "打印单" },
- ],
- childResponse: {},
- operators: [],
- adminUser: [],
- check: {},
- dialysisOrder: {
- DeviceNumber: [],
- },
- operatorMaps: {},
- complications: [
- "低血压",
- "高血压",
- "心律失常",
- "头晕",
- "头痛",
- "呕吐",
- "抽搐",
- "出血",
- "心衰",
- "腹痛",
- ],
- jilurow: 0,
- advice_jilurow: 0,
- loading: false,
- orgname: "",
- patientInfo_gender_1: false,
- patientInfo_gender_2: false,
- patientInfo_source_2: false,
- patientInfo_source_1: false,
- modeOptions: {},
- replacementWays: [],
- perfusionApparatus: [],
- anticoagulantsConfit: {},
- bloodAccessParOpera: {},
- dialysateFormulationOptions: {},
-
- queryParams: {
- xtdate: "",
- xtno: "",
- },
- patientInfo: {
- birth: "",
- age: "",
- DialysisSchedule: {
- device_number: { number: "" },
- device_zone: { name: "" },
- },
- gender: 0,
- },
- predialysis: {
- score: "",
- internal_fistula: "",
- internal_fistula_skin: "",
- catheter: "",
- blood_access_part_opera_name: "",
- },
- afterdialysis: {
- complications_index: "",
- },
- prescription: {
- dialysate_formulation_name: "",
- device: {},
- },
- advices: [],
- users: [],
- monitors: [],
- summary: {},
- receiverTreatmentAccess: {},
- org_template_info: {},
-
- doctor_advices: [],
- advice_groups: [],
-
- AlPanel: {
- id: 0,
- name: "",
- type: 1,
- shouji: 2,
- weichi: 2,
- zongliang: 2,
- gaimingcheng: -1,
- gaijiliang: -1,
- shouji_unit: "mg",
- weichi_unit: "mg/h",
- zongliang_unit: "mg",
- gaimingcheng_unit: "",
- gaijiliang_unit: "",
- },
-
- //
- tableData: [],
- selected_date: new Date(),
- // search_input 和 search_keyword,使输入关键字时不会经常刷新 filtedSchedules
- search_keyword: "", // 确定用于搜索的关键字
- search_input: "", // 输入中的关键字
- patient_state: [
- { value: 0, label: "全部" },
- { value: 1, label: "已签到" },
- { value: 2, label: "未签到" },
- { value: 3, label: "已上机" },
- { value: 4, label: "已下机" },
- ],
- patientStateVal: 0,
- treat_state: [
- { value: 0, label: "全部" },
- { value: 1, label: "待开处方" },
- { value: 2, label: "待开小结" },
- ],
- treatStateVal: 0,
- schedule_options: [
- { value: 0, label: "全部" },
- { value: 1, label: "上午" },
- { value: 2, label: "下午" },
- { value: 3, label: "晚上" },
- ],
- scheduleStateVal: 0,
- zone_options: [{ id: 0, text: "全部" }],
- zoneVal: 0,
- };
- },
- methods: {
- getAdminUser(id) {
- if (id == 0) {
- return "";
- }
- if (id == undefined) {
- return "";
- }
- for (let i = 0; i < this.adminUser.length; i++) {
- if (this.adminUser[i].id == id) {
- return this.adminUser[i].name;
- }
- }
- },
- getTime(value, temp) {
- if (value == 0) {
- return "";
- }
- if (value != undefined) {
- return uParseTime(value, temp);
- }
- return "";
- },
- printThisPage() {
- // console.log("this.org_template_info.template_id",this.org_template_info.template_id)
- // if(this.$store.getters.xt_user.org.id == 0){
- // this.org_template_info.template_id = 65
- // }
-
- var ptime = Math.round(new Date().getTime() / 1000);
- this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
-
- const style =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
- const style2 =
- // 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
- '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
- const style3 =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
- // const style3 =
- // '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
- //
- const style4 =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:18px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:18px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:18px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
- const style5 =
- '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title { margin: auto; font-weight: 600; text-align: center; font-size: 22px; padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box { width: 100%; line-height: 18px; font-size: 14px;}.dialysis-print-order .print-table { width: 100%; text-align: center; border-collapse: collapse; line-height: 28px; font-size: 14px;}.dialysis-print-order .print-table-no { width: 100%; text-align: center; border-collapse: collapse; font-size: 14px;}.dialysis-print-order .under-line { border-bottom: 1px solid #999; width: 95%; text-align: center; margin-left: 2px;}.dialysis-print-order .title-box { text-align: center; font-size: 16px;}.dialysis-print-order .radio-lebel-box { font-weight: 400; cursor: pointer;}.dialysis-print-order .radio-no { opacity: 0; outline: none; position: absolute; margin: 0; width: 0; height: 0; z-index: -1;}.dialysis-print-order .radio-inner { white-space: nowrap; cursor: pointer; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle;}.dialysis-print-order .radio-fang { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 14px; background-color: #fff; z-index: 1; transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after { content: "√"; font-size: 15px;}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px;}.dialysis-print-order .print-table tr td { padding: 1px 1px; /*line-height: 25px;*/}.es-img { height: 25px;}.advice-name { text-align: left;}.advice-children { display: flex;}.title-box-pro { border: 0 #fff; line-height: 25px; height: 25px; text-align: left; padding-left: 10px !important;}.title-box-pro-tr { border: 0 #fff;}.text-align-left { text-align: left !important; padding-left: 10px !important; font-size: 14px !important; line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
- const style6 =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:16px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:16px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
- const style7 =
- '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title { margin: auto; font-weight: 600; text-align: center; font-size: 22px; padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box { width: 100%; line-height: 18px; font-size: 18px;}.dialysis-print-order .print-table { width: 100%; text-align: center; border-collapse: collapse; line-height: 28px; font-size: 18px;}.dialysis-print-order .print-table-no { width: 100%; text-align: center; border-collapse: collapse; font-size: 14px;}.dialysis-print-order .under-line { border-bottom: 1px solid #999; width: 95%; text-align: center; margin-left: 2px;}.dialysis-print-order .title-box { text-align: center; font-size: 16px;}.dialysis-print-order .radio-lebel-box { font-weight: 400; cursor: pointer;}.dialysis-print-order .radio-no { opacity: 0; outline: none; position: absolute; margin: 0; width: 0; height: 0; z-index: -1;}.dialysis-print-order .radio-inner { white-space: nowrap; cursor: pointer; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle;}.dialysis-print-order .radio-fang { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 18px; height: 18px; background-color: #fff; z-index: 1; transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after { content: "√"; font-size: 19px;}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px;}.dialysis-print-order .print-table tr td { padding: 1px 1px; /*line-height: 25px;*/}.es-img { height: 25px;}.advice-name { text-align: left;}.advice-children { display: flex;}.title-box-pro { border: 0 #fff; line-height: 25px; height: 25px; text-align: left; padding-left: 10px !important;}.title-box-pro-tr { border: 0 #fff;}.text-align-left { text-align: left !important; padding-left: 10px !important; font-size: 14px !important; line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
- const style8 =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto;font-size:10px;}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:10px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.widthLength25{width: 25%;}.lineHeight{line-height: 20px;display: flex;justify-content: space-between;}';
- const style9 =
- '@media print {#dialysis-print-box-1{margin:0 auto;}.dialysis-print-order{width:920px;margin:0 10px;font-size:10px;}.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 940px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}@page {margin-top:5px;}.table-box1 tr {border-bottom: 1px solid #000;}';
- const style10 =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
-
- // 三明曙光样式
- const style11 =
- '@media print {.dialysis-print-order{width:960px;margin:100px auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:30px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:15px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
- // 雷州惠爱样式
- const style12 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;} .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;white-space:normal;height: fit-content;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;} .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';
- // 金乡宏大样式
- const style13 ='@page {margin-top:5px;}@media print {.dialysis-print-order{width:960px;margin:0 auto} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr{page-break-inside:avoid} .print-table tbody tr td{border-collapse:collapse;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;} .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;} .dialysis-print-order .print-table-2{ width: 100%;text-align: left;border-collapse: collapse;line-height: 38px;font-size: 14px;} .dialysis-print-order .print-table-2 tbody tr{height:43px; padding-bottom:-12px;} .print-table-2 tbody tr td{padding-bottom:-12px;} .td_div1{display:flex;white-space: normal;} .print-table-3{text-align: center;width: 390px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-3 .tr_3{border-bottom: 1px solid;} .print-table-3 .td_3 {border-right: 1px solid;} .print-table-3 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-3 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-4{text-align: center;width: 300px;border-collapse: inherit;height: 129px !important;border: none;} .print-table-4 .tr_3{border-bottom: 1px solid;} .print-table-4 .td_3 {border-right: 1px solid;} .print-table-4 .td_3_1 {width:66px;border-right: 1px solid;} .print-table-4 .td_3_2 {width:72px;border-right: 1px solid;} .print-table-5{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .dialysis-print-order .print-table-5 tr td_5{width:75px;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}';
- // 长沙南鸭样式
- const style14 =// 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
- '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: 0} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 0} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:left;border-collapse:collapse;line-height:25px;font-size:14px} ';
- // 营口北方医院
- const style15 =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:35px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
-
- if (this.org_template_info.template_id == 1) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (
- this.org_template_info.template_id == 2
- ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 3) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 4) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 5) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (
- this.org_template_info.template_id == 6 ||
- this.org_template_info.template_id == 10 ||
- this.org_template_info.template_id == 11 ||
- this.org_template_info.template_id == 49 ||
- this.org_template_info.template_id == 50 ||
- // this.org_template_info.template_id == 51 ||
- this.org_template_info.template_id == 58 ||
- this.org_template_info.template_id == 60 ||
- this.org_template_info.template_id == 61 ||
- this.org_template_info.template_id == 66
- ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 7) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style4,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 8||this.org_template_info.template_id == 62) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style15,
- scanStyles: false,
- });
- } else if (
- this.org_template_info.template_id == 9 ||
- this.org_template_info.template_id == 25
- ) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style5,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 12) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 13) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style3,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 14) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 15) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 16) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 17) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style6,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 18) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 19) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 20) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 21) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 22) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 23) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 24) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 26) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 27) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 28) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style7,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 29) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 30) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 31) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style3,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 32) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style5,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 33) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 34) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 35) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 36) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 37) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 38) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style8,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 39) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style3,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 40) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style5,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 41) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style9,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 42) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 43) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 44) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style9,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 45) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 46) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 47) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 48) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style11,
- scanStyles: false,
- });
- } else if (
- this.org_template_info.template_id == 51
- ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style14,
- scanStyles: false,
- });
-
- }else if (
- this.org_template_info.template_id == 52
- ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- }else if (this.org_template_info.template_id == 64 ) {
- printJS({
- printable: "dialysis-print-box-64",
- type: "html",
- style: style12,
- scanStyles: false,
- });
-
-
- }else if (this.org_template_info.template_id == 65 || this.org_template_info.template_id == 6) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- }
- else if (this.org_template_info.template_id == 67 ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- }
- else if (this.org_template_info.template_id == 68 ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- console.log('77777',this.org_template_info.template_id);
- }else if (this.org_template_info.template_id == 69 ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- console.log('77777',this.org_template_info.template_id);
- }else if (this.org_template_info.template_id == 70 ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- console.log('77777',this.org_template_info.template_id);
- }
- else if (
- this.org_template_info.template_id == 53
- ) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style12,
- scanStyles: false,
- });
-
- }
- else if (
- this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
- ) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style13,
- scanStyles: false,
- });
- }else if (
- this.org_template_info.template_id == 55
- ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- }else if (
- this.org_template_info.template_id == 56 ||this.org_template_info.template_id == 59
- ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- }else if (this.org_template_info.template_id == 199 ) {
- printJS({
- printable: "dialysis-print-box-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
-
-
- }
- },
- printThisOnePage() {
- var ptime = Math.round(new Date().getTime() / 1000);
- this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
-
- const style =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
- const style2 =
- '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:200px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
-
- if (this.org_template_info.template_id == 1) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (
- this.org_template_info.template_id == 2 ||
- this.org_template_info.template_id == 5 ||
- this.org_template_info.template_id == 22 ||
- this.org_template_info.template_id == 33
- ) {
- printJS({
- printable: "dialysis-print-box-1-1",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 14) {
- printJS({
- printable: "new-dialysis-1",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 21) {
- printJS({
- printable: "new-dialysis-1",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 27) {
- printJS({
- printable: "new-dialysis-1",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 36) {
- printJS({
- printable: "dialysis-print-box-1-1",
- type: "html",
- style: style,
- scanStyles: false,
- });
- }
- },
- printThisTwoPage() {
- var ptime = Math.round(new Date().getTime() / 1000);
- this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
-
- const style =
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
- const style2 =
- '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
-
- // 雷州惠爱样式
- const style93 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;} .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;white-space:normal;height: fit-content;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;} .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';
- if (this.org_template_info.template_id == 1) {
- printJS({
- printable: "dialysis-print-box",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (
- this.org_template_info.template_id == 2 ||
- this.org_template_info.template_id == 5 ||
- this.org_template_info.template_id == 6 ||
- this.org_template_info.template_id == 22 ||
- this.org_template_info.template_id == 33
- ) {
- printJS({
- printable: "dialysis-print-box-1-2",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 14) {
- printJS({
- printable: "new-dialysis-2",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 21) {
- printJS({
- printable: "new-dialysis-2",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 27) {
- printJS({
- printable: "new-dialysis-2",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 36) {
- printJS({
- printable: "dialysis-print-box-1-2",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.org_template_info.template_id == 53 ) {
-
- printJS({
- printable: "dialysis-print-box-1-2",
- type: "html",
- style: style93,
- scanStyles: false,
- });
- }else if (this.org_template_info.template_id == 199 ) {
- printJS({
- printable: "dialysis-print-box-64",
- type: "html",
- style: style12,
- scanStyles: false,
- });
-
-
- }
- },
-
- getNumber() {
- if (this.dialysisOrder != null) {
- return (
- this.patientInfo.DialysisSchedule.device_zone.name +
- this.dialysisOrder.DeviceNumber.number
- );
- } else {
- return (
- this.patientInfo.DialysisSchedule.device_zone.name +
- this.patientInfo.DialysisSchedule.device_number.number
- );
- }
- },
-
- getXuserName(id) {
- if (id <= 0) {
- return "";
- }
- var name = "";
- if (this.users == null || typeof this.users.length === "undefined") {
- return name;
- }
- var leng = this.users.length;
- if (leng == 0) {
- return name;
- }
- for (let index = 0; index < leng; index++) {
- if (this.users[index].id == id) {
- name = this.users[index].name;
- break;
- }
- }
- return name;
- },
- setAdminUserES(id) {
- // console.log(id);
- if (id == 0) {
- return "";
- }
- if (id in this.operatorMaps) {
- return this.operatorMaps[id].url;
- } else {
- return "";
- }
- },
- modeName(mode_id) {
- return typeof this.modeOptions[mode_id] !== "undefined" &&
- typeof this.modeOptions[mode_id].name !== "undefined"
- ? this.modeOptions[mode_id].name
- : "";
- },
- getDialysisRecord() {
- this.loading = true;
-
- getDialysisRecord(this.queryParams).then((response) => {
- if (response.data.state == 1) {
- this.childResponse = response;
- // console.log('this.org_template_info是数据',response.data.data.org_template_info.template_id);
- this.org_template_info = response.data.data.org_template_info;
- this.loading = false;
- // this.adminUser = response.data.data.users
- // this.users = response.data.data.users
- // this.patientInfo = response.data.data.patientInfo
- // this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}')
- // // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
- // if (response.data.data.patientInfo.first_dialysis_date != 0) {
- // this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}')
- // } else {
- // this.patientInfo.first_dialysis_date = ''
- // }
- // this.check = response.data.data.check
- // this.predialysis = response.data.data.PredialysisEvaluation
- // this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.predialysis.blood_access_part_opera_id)
- // this.afterdialysis = response.data.data.AssessmentAfterDislysis
- // this.operators = response.data.data.operators
- // this.dialysisOrder = response.data.data.dialysisOrder === null ? null : response.data.data.dialysisOrder
-
- // if (this.operators.length > 0) {
- // var operatorsLen = this.operators.length
- // for (var index = 0; index < operatorsLen; index++) {
- // this.$set(this.operatorMaps, this.operators[index].creator, this.operators[index])
- // }
- // }
-
- // this.afterdialysis.txqnx = -1
- // if (this.afterdialysis.cruor.indexOf('0度') > -1) {
- // this.afterdialysis.txqnx = 0
- // }
- // if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
- // this.afterdialysis.txqnx = 1
- // }
- // if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
- // this.afterdialysis.txqnx = 2
- // }
- // if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
- // this.afterdialysis.txqnx = 3
- // }
-
- // this.afterdialysis.complications = this.afterdialysis.complication.split(',')
- // this.afterdialysis.complications_other = []
- // this.afterdialysis.complications_index = []
- // var acllen = this.afterdialysis.complications.length
- // for (let index = 0; index < acllen; index++) {
- // if (this.complications.indexOf(this.afterdialysis.complications[index]) >= 0) {
- // this.afterdialysis.complications_index.push(this.afterdialysis.complications[index])
- // } else if (this.complications.indexOf(this.afterdialysis.complications[index]) < 0 && this.afterdialysis.complications_other.indexOf(this.afterdialysis.complications[index]) < 0) {
- // this.afterdialysis.complications_other.push(this.afterdialysis.complications[index])
- // }
- // }
- // this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(',')
-
- // this.prescription = response.data.data.dialysisPrescription
- // this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess
-
- // this.prescription.mode = this.modeName(this.prescription.mode_id)
- // var rwLen = this.replacementWays.length
- // this.prescription.replacement = ''
- // for (let index = 0; index < rwLen; index++) {
- // if (this.replacementWays[index].id == this.prescription.replacement_way) {
- // this.prescription.replacement = this.replacementWays[index].name
- // break
- // }
- // }
-
- // this.prescription.dialysate_formulation_name = this.dialysateFormulationName(this.prescription.dialysate_formulation)
-
- // var paLen = this.perfusionApparatus.length
- // this.prescription.perfusion_apparatus_name = ''
- // for (let index = 0; index < paLen; index++) {
- // if (this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
- // this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name
- // break
- // }
- // }
-
- // var acLen = this.anticoagulantsConfit.length
- // var thisALID = this.prescription.anticoagulant
- // this.prescription.anticoagulant_name = ''
-
- // if (typeof (this.anticoagulantsConfit[thisALID]) !== 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
- // this.prescription.anticoagulant_name = this.anticoagulantsConfit[thisALID].name
- // this.AlPanel = this.anticoagulantsConfit[thisALID]
- // }
-
- // this.advices = response.data.data.advices
- // this.monitors = response.data.data.monitors
- // this.summary = response.data.data.summary
- // this.org_template_info = response.data.data.org_template_info
- // if (this.monitors.length < 8) {
- // var nl = 8 - this.monitors.length
- // for (let index = 0; index < nl; index++) {
- // this.monitors.push([])
- // }
- // }
- // this.jilurow = this.monitors.length + 1
-
- // this.advice_jilurow = this.advices.length + 1
-
- // var childMap = {}
- // for (const index in this.advices) {
- // if (this.advices[index].parent_id == 0) {
- // continue
- // }
- // if (!(this.advices[index].parent_id in childMap)) {
- // childMap[this.advices[index].parent_id] = []
- // }
- // childMap[this.advices[index].parent_id].push(this.advices[index])
- // }
-
- // var advices = []
- // for (const index in this.advices) {
- // if (this.advices[index].parent_id > 0) {
- // continue
- // }
- // var item = this.advices[index]
- // if (item.id in childMap) {
- // item.children = childMap[item.id]
- // } else {
- // item.children = []
- // }
- // advices.push(item)
- // }
-
- // var leftAdvice = []
- // var rightAdvice = []
- // var adlen = advices.length
-
- // var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
- // for (var i = 0; i < halfLen; i++) {
- // leftAdvice.push(advices[i])
- // rightAdvice.push(advices[i + halfLen])
- // }
- // if (halfLen < 5) {
- // var nl = 5 - leftAdvice.length
- // for (let index = 0; index < nl; index++) {
- // leftAdvice.push([])
- // }
- // var nl = 5 - rightAdvice.length
- // for (let index = 0; index < nl; index++) {
- // rightAdvice.push([])
- // }
- // }
-
- // this.advices = []
- // for (var i = 0; i < halfLen; i++) {
- // var item = []
- // item.push(leftAdvice[i])
- // item.push(rightAdvice[i])
- // this.advices.push(item)
- // }
- // this.loading = false
-
- // this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices
-
- // for (let index = 0; index < this.doctor_advices.length; index++) {
- // this.doctor_advices[index]['isShow'] = 2
- // }
-
- // if (this.doctor_advices.length > 0) {
- // var group = this.newAdviceGroupObject()
- // var initGroupBlock = function(group, advice) {
- // group.group_no = advice.groupno
- // }
- // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
- // var new_advice_index = 0
-
- // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
- // new_advice_index = index + this.doctor_advices[index].children.length + 1
-
- // var doctor_advice = {
- // delivery_way: this.doctor_advices[index].delivery_way,
- // execution_frequency: this.doctor_advices[index].execution_frequency,
- // groupno: this.doctor_advices[index].groupno,
- // id: this.doctor_advices[index].id,
- // parent_id: this.doctor_advices[index].parent_id,
- // children: this.doctor_advices[index].children,
- // remark: this.doctor_advices[index].remark,
- // execution_staff: this.doctor_advices[index].execution_staff,
- // checker: this.doctor_advices[index].checker,
- // advice_doctor: this.doctor_advices[index].advice_doctor,
-
- // }
- // doctor_advice['isShow'] = 1
- // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
- // // this.doctor_advices.push(doctor_advice)
- // }
- // }
-
- // for (let index = 0; index < this.doctor_advices.length; index++) {
- // const advice = this.doctor_advices[index]
- // if (advice.groupno == 0) {
- // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
- // if (advice.parent_id > 0) {
- // if (this.advice_groups.length > 0) {
- // var parent_group = this.advice_groups[
- // this.advice_groups.length - 1
- // ]
- // if (parent_group.advices.length > 0) {
- // if (parent_group.advices[0].id == advice.parent_id) {
- // parent_group.advices.push(advice)
- // }
- // }
- // }
- // continue
- // } else {
- // if (group.group_no > 0) {
- // this.advice_groups.push(group)
- // group = this.newAdviceGroupObject()
- // }
-
- // initGroupBlock(group, advice)
- // group.advices.push(advice)
- // this.advice_groups.push(group)
- // group = this.newAdviceGroupObject()
- // continue
- // }
- // }
-
- // if (group.group_no > 0 && group.group_no != advice.groupno) {
- // this.advice_groups.push(group)
- // group = this.newAdviceGroupObject()
- // }
- // if (group.group_no == 0) {
- // initGroupBlock(group, advice)
- // }
- // if (group.group_no == advice.groupno) {
- // group.advices.push(advice)
- // }
- // }
- // if (group.group_no > 0) {
- // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
- // this.advice_groups.push(group)
- // }
- // }
- // console.log(this.advice_groups)
- } else {
- this.loading = false;
- this.$message.error("请求数据失败");
- return false;
- }
- });
- },
- bloodAccessParOperaName(id) {
- if (id in this.bloodAccessParOpera) {
- return this.bloodAccessParOpera[id].name;
- }
- return "";
- },
- dialysateFormulationName(id) {
- if (id in this.dialysateFormulationOptions) {
- return this.dialysateFormulationOptions[id].name;
- }
- return "";
- },
- getAge: function (val) {
- if (
- this.org_template_info.template_id == 2 ||
- this.org_template_info.template_id == 0
- ) {
- if (val.age == 0) {
- return jsGetAge(val.birth, "-");
- } else {
- return val.age;
- }
- } else {
- return jsGetAge(val.birth, "-");
- }
- },
- newAdviceGroupObject: function () {
- return Object.assign(
- {},
- {
- group_no: 0,
- // advice_doctor: 0,
- // start_time: 0,
- advices: [],
- // exec_staff: 0,
- // exec_time: 0,
- // checker: 0,
- }
- );
- },
- //日期
- handleScheduleDateChange: function (index) {
- this.treatStateVal = 0;
- this.patientStateVal = 0;
- this.zoneVal = 0;
- this.scheduleStateVal = 0;
- this.search_keyword = this.search_input = "";
- // this.$store.dispatch("SaveDialysisAreaSelectIndexs", {
- // zone: this.zone_selected,
- // schedule_type: this.schedule_type_selected,
- // schedule_date: this.selected_date,
- // })
- this.selected_date = index;
- this.$store.dispatch("SetSelectedDate", { selected_date: index });
- this.requestDialysisSchedules();
- },
- //初始化数据
- getInitData: function () {
- getDialysisRecordInitData().then((rs) => {
- var resp = rs.data;
- if (resp.state == 1) {
- var zones = resp.data.zones;
- var schedules = resp.data.schedules;
- var zone_options = [{ id: 0, text: "全部" }];
- for (let z_i = 0; z_i < zones.length; z_i++) {
- const zone = zones[z_i];
- zone_options.push({ id: zone.id, text: zone.name });
- }
- this.zone_options = zone_options;
- // this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
- this.arr = this.processedDialysisSchedules(
- schedules,
- this.zone_options
- );
- this.requestDialysisSchedules();
- // this.getData()
- } else {
- this.$message.error(resp.msg);
- }
- });
- },
- // 班次
- handletimeType: function (index) {
- this.scheduleStateVal = index;
- this.$store.dispatch("SetScheduleTypeSelected", {
- schedule_type_selected: index,
- });
- this.search_keyword = this.search_input = "";
- this.getData();
- },
- //分区
- handleZoneChange: function (index) {
- this.zoneVal = index;
- this.$store.dispatch("SetZoneSelected", { zone_selected: index });
- this.search_keyword = this.search_input = "";
- this.getData();
- },
- //患者状态
- handleStateChange: function (index) {
- this.patientStateVal = index;
- this.$store.dispatch("SetPatientStateSelected", {
- patient_state_selected: index,
- });
- this.search_keyword = this.search_input = "";
- this.getData();
- },
- handleTreatChange: function (index) {
- this.treatStateVal = index;
- this.$store.dispatch("SetTreatStateSelected", {
- treat_state_selected: index,
- });
- this.search_keyword = this.search_input = "";
- this.getData();
- },
- processedDialysisSchedules: function (schedules, zone_options) {
- var zoneMap = {};
- var scheduleMap = {};
- for (let z_i = 0; z_i < zone_options.length; z_i++) {
- const zone = zone_options[z_i];
- if (zone.id == 0) {
- continue;
- }
- scheduleMap[zone.id] = [];
- }
- for (let index = 0; index < schedules.length; index++) {
- const schedule = schedules[index];
- scheduleMap[schedule.device_number.zone.id].push(schedule);
- }
- var zone_schedules = [];
- for (let index = 0; index < zone_options.length; index++) {
- const zone = zone_options[index];
- if (zone.id == 0) {
- continue;
- }
- var schedules = scheduleMap[zone.id];
- zone_schedules.push({
- zone_id: zone.id,
- zone_name: zone.text,
- schedules: schedules,
- });
- }
- return zone_schedules;
- },
- searchAction: function () {
- this.search_keyword = this.search_input;
- this.scheduleStateVal = 0;
- this.zoneVal = 0;
- this.treatStateVal = 0;
- this.patientStateVal = 0;
- if (this.search_input != "") {
- let arr = [];
- this.filtedSchedules.map((item) => {
- arr.push(...item.schedules);
- });
- this.tableData = arr;
- } else {
- this.getData();
- }
- },
- requestDialysisSchedules: function () {
- var ymd = parseTime(this.selected_date, "{y}-{m}-{d}");
- getDialysisSchedules(ymd).then((rs) => {
- var resp = rs.data;
- if (resp.state == 1) {
- var schedules = resp.data.schedules;
- this.zone_schedules = this.processedDialysisSchedules(
- schedules,
- this.zone_options
- );
-
- let newArr = [];
- this.zone_schedules.map((item) => {
- newArr.push(...item.schedules);
- });
- this.tableData = newArr;
- this.getData();
- } else {
- this.$message.error(resp.msg);
- }
- });
- },
- changePatient(schedual) {
- // console.log(schedual);
- var xtdate = parseTime(schedual.schedule_date, "{y}-{m}-{d}");
- this.$router.push(
- "/dialysis/print?xtdate=" +
- xtdate +
- "&xtno=" +
- schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
- );
- // this.patient_id = schedual.patient_id;
- // this.date = schedual.schedule_date;
- // // this.getScheduleDetail();
- // // this.getLongAdvice();
-
- // var patient_id = schedual.patient_id;
- // var date = schedual.schedule_date;
- // this.$router.push({
- // path: "/dialysis/details",
- // query: {
- // patient_id: patient_id,
- // date: date,
- // patient_name: schedual.patient.name
- // }
- // });
- },
- getData() {
- let patientArr = [];
- patientArr = JSON.parse(JSON.stringify(this.zone_schedules));
- // console.log("patientArr", patientArr);
- let arr1 = [];
- if (this.patientStateVal == 0) {
- arr1 = patientArr;
- // console.log(arr1);
- } else if (this.patientStateVal == 1) {
- let arr = [];
- arr = patientArr;
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (
- arr[i].schedules.length > 0 &&
- (arr[i].schedules[j].assessment_before_dislysis == null ||
- (arr[i].schedules[j].assessment_before_dislysis.weight_before ==
- "" &&
- arr[i].schedules[j].assessment_before_dislysis
- .diastolic_blood_pressure == "" &&
- arr[i].schedules[j].assessment_before_dislysis
- .systolic_blood_pressure == ""))
- ) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- // console.log("执行1", arr);
- arr1 = arr;
- } else if (this.patientStateVal == 2) {
- let arr = [];
- arr = patientArr;
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (
- arr[i].schedules.length > 0 &&
- arr[i].schedules[j].assessment_before_dislysis != null &&
- (arr[i].schedules[j].assessment_before_dislysis.weight_before !=
- 0 ||
- arr[i].schedules[j].assessment_before_dislysis
- .diastolic_blood_pressure != 0 ||
- arr[i].schedules[j].assessment_before_dislysis
- .systolic_blood_pressure != 0)
- ) {
- // 删除元素后改变i的值
- // console.log("几次");
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- // console.log("执行2", arr);
- arr1 = arr;
- } else if (this.patientStateVal == 3) {
- let arr = [];
- arr = patientArr;
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (
- arr[i].schedules.length > 0 &&
- (arr[i].schedules[j].dialysis_order == null ||
- (arr[i].schedules[j].dialysis_order != null &&
- arr[i].schedules[j].dialysis_order.stage != 1))
- ) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- console.log("执行1", arr);
- arr1 = arr;
- } else if (this.patientStateVal == 4) {
- let arr = [];
- arr = patientArr;
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (
- arr[i].schedules.length > 0 &&
- (arr[i].schedules[j].dialysis_order == null ||
- (arr[i].schedules[j].dialysis_order != null &&
- arr[i].schedules[j].dialysis_order.stage != 2))
- ) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- console.log("执行2", arr);
- arr1 = arr;
- }
-
- let arr2 = [];
- if (this.treatStateVal == 0) {
- arr2 = JSON.parse(JSON.stringify(arr1));
- } else if (this.treatStateVal == 1) {
- let arr = [];
- arr = JSON.parse(JSON.stringify(arr1));
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (
- arr[i].schedules.length > 0 &&
- (arr[i].schedules[j].prescription != null ||
- arr[i].schedules[j].prescription != null
- ? arr[i].schedules[j].prescription.creater != 0
- : false)
- ) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- arr2 = arr;
- } else if (this.treatStateVal == 2) {
- let arr = [];
- arr = JSON.parse(JSON.stringify(arr1));
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (
- arr[i].schedules.length > 0 &&
- arr[i].schedules[j].treatment_summary != null &&
- arr[i].schedules[j].treatment_summary.dialysis_summary != ""
- ) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- arr2 = arr;
- }
-
- let arr3 = [];
- if (this.scheduleStateVal == 0) {
- arr3 = JSON.parse(JSON.stringify(arr2));
- } else {
- let arr = [];
- arr = JSON.parse(JSON.stringify(arr2));
- for (let i = 0; i < arr.length; i++) {
- for (let j = 0; j < arr[i].schedules.length; j++) {
- if (this.scheduleStateVal != arr[i].schedules[j].schedule_type) {
- // 删除元素后改变i的值
- arr[i].schedules.splice(j--, 1);
- }
- }
- }
- arr3 = arr;
- console.log("上午", arr);
- }
-
- let arr4 = [];
- if (this.zoneVal == 0) {
- arr4 = JSON.parse(JSON.stringify(arr3));
- } else {
- let arr = [];
- arr = JSON.parse(JSON.stringify(arr3));
- for (let i = 0; i < arr.length; i++) {
- if (this.zoneVal != arr[i].zone_id) {
- // 删除元素后改变i的值
- arr.splice(i--, 1);
- }
- }
- arr4 = arr;
- }
- let newArr = [];
- arr4.map((item) => {
- newArr.push(...item.schedules);
- });
- this.tableData = newArr;
- // console.log("table", this.tableData);
- },
- },
- watch: {
- "patientInfo.gender": function () {
- if (this.patientInfo.gender == 1) {
- this.patientInfo_gender_1 = true;
- this.patientInfo_gender_2 = false;
- } else if (this.patientInfo.gender == 2) {
- this.patientInfo_gender_2 = true;
- this.patientInfo_gender_1 = false;
- } else {
- this.patientInfo_gender_2 = false;
- this.patientInfo_gender_1 = false;
- }
- },
- "patientInfo.source": function () {
- if (this.patientInfo.source == 1) {
- this.patientInfo_source_1 = true;
- this.patientInfo_source_2 = false;
- } else if (this.patientInfo.source == 2) {
- this.patientInfo_source_2 = true;
- this.patientInfo_source_1 = false;
- } else {
- this.patientInfo_source_2 = false;
- this.patientInfo_source_1 = false;
- }
- },
- },
- created() {
- // console.log("hhahahhahahahah=======",this.org_template_info.template_id)
- // console.log("this.$store.getters.xt_user.org.id",this.$store.getters.xt_user.org.id)
- var schedule_type_selected = this.$store.getters.schedule_type_selected;
- var zone_selected = this.$store.getters.zone_selected;
- var patient_state_selected = this.$store.getters.patient_state_selected;
- var treat_state_selected = this.$store.getters.treat_state_selected;
- var selected_date = this.$store.getters.selected_date;
- if (schedule_type_selected) {
- this.scheduleStateVal = schedule_type_selected.schedule_type_selected;
- }
- if (zone_selected) {
- this.zoneVal = zone_selected.zone_selected;
- }
- if (patient_state_selected) {
- this.patientStateVal = patient_state_selected.patient_state_selected;
- }
- if (treat_state_selected) {
- this.treatStateVal = treat_state_selected.treat_state_selected;
- }
- if (selected_date.selected_date) {
- this.selected_date = selected_date.selected_date;
- }
- this.getInitData();
-
- var xtuser = this.$store.getters.xt_user;
- this.orgname = xtuser.org.org_name;
- // this.orgname = "遂溪方济医院";
- this.modeOptions = this.$store.getters.treatment_mode;
- this.replacementWays = this.$store.getters.replacement_ways;
- this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
- this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
-
- // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
-
- var bloodAccessParOpera = getDataConfig(
- "hemodialysis",
- "vascular_access_desc"
- );
- for (var key in bloodAccessParOpera) {
- this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
- bloodAccessParOpera[key];
- }
-
- var dialysateFormulationOptions = getDataConfig(
- "hemodialysis",
- "dialysate_formulation"
- );
- for (var key in dialysateFormulationOptions) {
- this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
- dialysateFormulationOptions[key];
- }
-
- const xtdate = this.$route.query && this.$route.query.xtdate;
- const xtno = this.$route.query && this.$route.query.xtno;
- const patient_id = this.$route.query && this.$route.query.patient_id;
- if (
- typeof xtdate === "string" &&
- xtdate.length > 0 &&
- typeof xtno === "string" &&
- xtno.length > 0
- ) {
- this.queryParams.xtdate = xtdate;
- this.queryParams.xtno = xtno;
- this.queryParams.patient_id = patient_id
- this.getDialysisRecord();
- } else {
- this.$message.error("参数不齐");
- return false;
- }
- },
- computed: {
- filtedSchedules: function () {
- var search_keyword = this.search_keyword;
- if (search_keyword.length > 0) {
- var schedules = [];
- for (let o_i = 0; o_i < this.zone_schedules.length; o_i++) {
- const scheduleInfo = this.zone_schedules[o_i];
- var originSchedules = scheduleInfo.schedules;
- if (originSchedules.length == 0) {
- continue;
- }
- var filtedSchedules = [];
- for (let s_i = 0; s_i < originSchedules.length; s_i++) {
- const schedule = originSchedules[s_i];
- if (schedule.patient.name.indexOf(search_keyword) != -1) {
- filtedSchedules.push(schedule);
- // break
- }
- }
- if (filtedSchedules.length > 0) {
- schedules.push({
- zone_id: scheduleInfo.zone_id,
- zone_name: scheduleInfo.zone_name,
- schedules: filtedSchedules,
- });
- }
- }
- return schedules;
- }
- },
- },
- };
- </script>
-
- <style>
- .dialysis-print-order {
- width: 960px;
- margin: 0 auto;
- }
-
- .dialysis-print-order .order-yy-name {
- margin: auto;
- text-align: center;
- font-size: 20px;
- letter-spacing: 5px;
- }
-
- .dialysis-print-order .order-title {
- margin: auto;
- font-weight: 600;
- text-align: center;
- font-size: 22px;
- padding: 10px;
- }
-
- .dialysis-print-order .table-box {
- width: 100%;
- line-height: 23px;
- font-size: 14px;
- }
-
- .dialysis-print-order .print-table {
- width: 100%;
- text-align: center;
- border-collapse: collapse;
- line-height: 40px;
- font-size: 14px;
- border-color: #000;
- }
-
- .dialysis-print-order .print-table-no {
- width: 100%;
- text-align: center;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .dialysis-print-order .under-line {
- border-bottom: 1px solid #999;
- width: 95%;
- text-align: center;
- margin-left: 2px;
- }
-
- .dialysis-print-order .title-box {
- text-align: center;
- font-size: 16px;
- }
-
- .dialysis-print-order .radio-lebel-box {
- font-weight: 400;
- cursor: pointer;
- }
-
- .dialysis-print-order .radio-no {
- opacity: 0;
- outline: none;
- position: absolute;
- margin: 0;
- width: 0;
- height: 0;
- z-index: -1;
- }
-
- .dialysis-print-order .radio-inner {
- white-space: nowrap;
- cursor: pointer;
- outline: none;
- display: inline-block;
- line-height: 1;
- position: relative;
- vertical-align: middle;
- }
-
- .dialysis-print-order .radio-fang {
- display: inline-block;
- position: relative;
- border: 1px solid #000;
- box-sizing: border-box;
- width: 14px;
- height: 14px;
- background-color: #fff;
- z-index: 1;
- transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
- background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
- }
-
- .dialysis-print-order .is-checked-radio::after {
- content: "√";
- font-size: 15px;
- }
-
- .dialysis-print-order .print-table-no tr td {
- padding: 8px 5px;
- line-height: 25px;
- }
-
- .dialysis-print-order .print-table tr td {
- padding: 1px 1px;
- /*line-height: 25px;*/
- }
-
- .es-img {
- height: 30px;
- }
-
- .advice-name {
- text-align: left;
- }
-
- .advice-children {
- display: flex;
- }
-
- .title-box-pro {
- border: 0 #fff;
- line-height: 25px;
- height: 25px;
- text-align: left;
- padding-left: 10px !important;
- }
- .title-box-pro-tr {
- border: 0 #fff;
- }
- .text-align-left {
- text-align: left !important;
- padding-left: 10px !important;
- font-size: 14px !important;
- line-height: 25px;
- }
- .print-table-tr-new td {
- line-height: 20px !important;
- }
- .border-top-solid {
- border: solid 1px #000;
- }
- .print-template-two tr {
- line-height: 30px;
- }
-
- .table-box1 {
- border: 1px solid #000;
- width: 100%;
- line-height: 30px;
- font-size: 14px;
- border-collapse: collapse;
- }
- .table-box1 tr {
- border-bottom: 1px solid #000;
- }
- </style>
-
- <style lang="scss">
- .newContainer {
- .dialysisPage::-webkit-scrollbar {
- height: 15px;
- }
-
- .el-date-editor {
- .el-input__inner {
- padding-right: 0px;
- }
- }
- .el-table td,
- .el-table th {
- text-align: center;
- }
- }
- .newContainer::-webkit-scrollbar {
- height: 15px !important;
- }
- </style>
|