1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235 |
- <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>
- </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>
-
- <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.vue"
- import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix.vue'
- import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven.vue'
- import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight.vue'
- import DialysisPrintOrderZero from './template/DialysisPrintOrderZero.vue'
- 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,
- 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;}.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 == 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>
|