| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168 |
- <!--可视化公共模板 林业-->
- <template>
- <div class="visual-con lifeline-con">
- <!--主体-->
- <div class="visual-body">
- <div class="life-header2">
- <div class="time-left">
- <h5 id="time">15:30:00</h5>
- <h6 id="day">2025.02.01</h6>
- </div>
- <weatherHeader></weatherHeader>
- <span>
- <img src="../../assets/index_img/life-LOGO.png" alt="">
- 四平市城市生命线监管平台-监管平台</span>
- <div class="header-right-user-home">
- <!-- <img src="../../assets/index_img/user-img.png" alt="" />-->
- <img src="../../assets/index_img/home-img.png" alt="" @click="goToHomePage"/>
- </div>
- </div>
- <!--左右黑色渐变独立背景-->
- <div class="line-left"></div>
- <div class="line-right"></div>
- <div class="con_left_2_bg">
- </div>
- <div class="con_right_2_bg">
- </div>
- <!--资源-->
- <el-popover placement="right" trigger="click" popper-class="zy-con-body">
- <div class="content-box2" style="height: 200px; width:350px !important;">
- <el-checkbox-group class="sj-check mar-left" v-model="checkedBaseDOptions" @change="layerCheck">
- <el-checkbox v-for="e in addVectorTilesMapList" :label="e.id" :key="e.id">
- {{ e.name }}
- </el-checkbox>
- </el-checkbox-group>
- </div>
- <div slot="reference" class="zy-icon zy-icon1">
- <img src="../../assets/index_img/jgpt_icon07.png" alt="" />
- 基础图层
- </div>
- </el-popover>
- <el-popover placement="right" trigger="click" popper-class="zy-con-body">
- <div class="content-box2" style="height: 200px; width:350px !important;">
- <el-tabs v-model="legendLayer" class="sj-top-tab sj-normal-tab">
- <el-tab-pane label="燃气" name="1">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="threeDLayers_ranqi_height"
- :data="threeDLayers_ranqi_height"
- show-checkbox
- class="layers_ranqi_height"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="threeDLayers_ranqi_middle"
- :data="threeDLayers_ranqi_middle"
- show-checkbox
- class="layers_ranqi_middle"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="threeDLayers_ranqi_low"
- :data="threeDLayers_ranqi_low"
- show-checkbox
- class="layers_ranqi_low"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <el-tab-pane label="供热" name="2">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="threeDLayers_gongre_yici"
- :data="threeDLayers_gongre_yici"
- show-checkbox
- class="layers_gongre_yici"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="threeDLayers_gongre_erci"
- :data="threeDLayers_gongre_erci"
- show-checkbox
- class="layers_gongre_erci"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="threeDLayers_gongre_zhigong"
- :data="threeDLayers_gongre_zhigong"
- show-checkbox
- class="layers_gongre_zhigong"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <el-tab-pane label="供水" name="3">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="threeDLayers_gongshui"
- :data="threeDLayers_gongshui"
- show-checkbox
- class="layers_gongshui"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <el-tab-pane label="排水" name="4">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="threeDLayers_paishui_yushui"
- :data="threeDLayers_paishui_yushui"
- show-checkbox
- class="layers_paishui_yushui"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="threeDLayers_paishui_wushui"
- :data="threeDLayers_paishui_wushui"
- show-checkbox
- class="layers_paishui_wushui"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="threeDLayers_paishui_heliu"
- :data="threeDLayers_paishui_heliu"
- show-checkbox
- class="layers_paishui_heliu"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <!-- <el-tab-pane label="管廊" name="5">-->
- <!-- <el-checkbox-group class="sj-check" v-model="checkedOptions" @change="handleCheckedOptions()">-->
- <!-- <el-checkbox v-for="e in twoDLayers_guanlang" :label="e.url" :class="e.class">-->
- <!-- {{ e.type }}-->
- <!-- </el-checkbox>-->
- <!-- </el-checkbox-group>-->
- <!-- </el-tab-pane>-->
- <!-- <el-tab-pane label="桥梁" name="6">-->
- <!-- </el-tab-pane>-->
- </el-tabs>
- </div>
- <div slot="reference" class="zy-icon zy-icon2">
- <img src="../../assets/index_img/jgpt_icon08.png" alt="" />
- 三维图层
- </div>
- </el-popover>
- <el-popover placement="right" trigger="click" popper-class="zy-con-body">
- <div class="content-box2" style="height: 200px; width:350px !important;">
- <el-tabs v-model="legendLayer" class="sj-top-tab sj-normal-tab">
- <el-tab-pane label="燃气" name="1">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="twoDLayers_ranqi_height"
- :data="twoDLayers_ranqi_height"
- show-checkbox
- class="layers_ranqi_height"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="twoDLayers_ranqi_middle"
- :data="twoDLayers_ranqi_middle"
- show-checkbox
- class="layers_ranqi_middle"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="twoDLayers_ranqi_low"
- :data="twoDLayers_ranqi_low"
- show-checkbox
- class="layers_ranqi_low"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <el-tab-pane label="供热" name="2">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="twoDLayers_gongre_yici"
- :data="twoDLayers_gongre_yici"
- show-checkbox
- class="layers_gongre_yici"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="twoDLayers_gongre_erci"
- :data="twoDLayers_gongre_erci"
- show-checkbox
- class="layers_gongre_erci"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="twoDLayers_gongre_zhigong"
- :data="twoDLayers_gongre_zhigong"
- show-checkbox
- class="layers_gongre_zhigong"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <el-tab-pane label="供水" name="3">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="twoDLayers_gongshui"
- :data="twoDLayers_gongshui"
- show-checkbox
- class="layers_gongshui"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <el-tab-pane label="排水" name="4">
- <div style="height: 145px; overflow-y: scroll;">
- <el-tree
- :props="props"
- ref="twoDLayers_paishui_yushui"
- :data="twoDLayers_paishui_yushui"
- show-checkbox
- class="layers_paishui_yushui"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="twoDLayers_paishui_wushui"
- :data="twoDLayers_paishui_wushui"
- show-checkbox
- class="layers_paishui_wushui"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- <el-tree
- :props="props"
- ref="twoDLayers_paishui_heliu"
- :data="twoDLayers_paishui_heliu"
- show-checkbox
- class="layers_paishui_heliu"
- node-key="id"
- @check="handleCheckChange">
- </el-tree>
- </div>
- </el-tab-pane>
- <!-- <el-tab-pane label="管廊" name="5">-->
- <!-- <el-checkbox-group class="sj-check" v-model="checkedOptions" @change="handleCheckedOptions()">-->
- <!-- <el-checkbox v-for="e in threeDLayers_guanlang" :label="e.url" :class="e.class">-->
- <!-- {{ e.type }}-->
- <!-- </el-checkbox>-->
- <!-- </el-checkbox-group>-->
- <!-- </el-tab-pane>-->
- <!-- <el-tab-pane label="桥梁" name="6">-->
- <!-- </el-tab-pane>-->
- </el-tabs>
- </div>
- <div slot="reference" class="zy-icon zy-icon3">
- <img src="../../assets/index_img/jgpt_icon09.png" alt="" />
- 二维图层
- </div>
- </el-popover>
- <!--底部按钮区域背景-->
- <div class="button-list-bg">
- </div>
- <!--左侧资产盘点 ps:资产盘点单元格内是竖向的流式布局,数据要竖向循环-->
- <div class="left-content">
- <div class="title-bar" @click="dialogVisibleHy = true">
- <span style="cursor: pointer;">行业数据完整度</span>
- </div>
- <div class="content-box hysj">
- <div class="hysj_div box-row">
- <div class="hysj_div">
- <div id="hysj_div_chart1"></div>
- <p>桥梁数据完整度<b>{{bridge}}</b></p>
- </div>
- <div class="hysj_div">
- <div id="hysj_div_chart2"></div>
- <p>排水数据完整度<b>{{drainage}}</b></p>
- </div>
- <div class="hysj_div">
- <div id="hysj_div_chart3"></div>
- <p>燃气数据完整度<b>{{gas}}</b></p>
- </div>
- </div>
- <div class="hysj_div box-row">
- <div class="hysj_div">
- <div id="hysj_div_chart4"></div>
- <p>供热数据完整度<b>{{heating}}</b></p>
- </div>
- <div class="hysj_div">
- <div id="hysj_div_chart5"></div>
- <p>管廊数据完整度<b>{{utility}}</b></p>
- </div>
- <div class="hysj_div">
- <div id="hysj_div_chart6"></div>
- <p>供水数据完整度<b>{{water}}</b></p>
- </div>
- </div>
- </div>
- <div class="title-bar">
- <span>巡检及隐患</span>
- </div>
- <div class="content-box xjjyh" style="cursor: pointer;" @click="toSbList">
- <div class="xjjyh_div box-row">
- <div class="xjjyh_div_con box-row">
- <div class="xjjyh_img">
- <img src="../../assets/index_img/jgpt_icon01.png"/>
- <p>热力</p>
- </div>
- <div class="xjjyh_txt">
- <h4><span>巡检数</span><i>{{inspectionDataList.mileage[0].mileage || '0' }}km</i></h4>
- <img src="../../assets/index_img/jgpt_iconx.png"/>
- <h4><span>隐患数</span><i>{{inspectionDataList.inspection['热力'] || '0' }}个</i></h4>
- </div>
- </div>
- <div class="xjjyh_div_con box-row">
- <div class="xjjyh_img">
- <img src="../../assets/index_img/jgpt_icon02.png"/>
- <p>排水</p>
- </div>
- <div class="xjjyh_txt">
- <h4><span>巡检数</span><i>{{inspectionDataList.mileage[1].mileage || '0' }}km</i></h4>
- <img src="../../assets/index_img/jgpt_iconx.png"/>
- <h4><span>隐患数</span><i>{{inspectionDataList.inspection['排水'] || '0' }}个</i></h4>
- </div>
- </div>
- <div class="xjjyh_div_con box-row">
- <div class="xjjyh_img">
- <img src="../../assets/index_img/jgpt_icon03.png"/>
- <p>桥梁</p>
- </div>
- <div class="xjjyh_txt">
- <h4><span>巡检数</span><i>{{inspectionDataList.mileage[2].mileage || '0' }}km</i></h4>
- <img src="../../assets/index_img/jgpt_iconx.png"/>
- <h4><span>隐患数</span><i>{{inspectionDataList.inspection['桥梁'] || '0' }}个</i></h4>
- </div>
- </div>
- </div>
- <div class="xjjyh_div box-row">
- <div class="xjjyh_div_con box-row">
- <div class="xjjyh_img">
- <img src="../../assets/index_img/jgpt_icon04.png"/>
- <p>管廊</p>
- </div>
- <div class="xjjyh_txt">
- <h4><span>巡检数</span><i>{{inspectionDataList.mileage[3].mileage || '0' }}km</i></h4>
- <img src="../../assets/index_img/jgpt_iconx.png"/>
- <h4><span>隐患数</span><i>{{inspectionDataList.inspection['管廊'] || '0' }}个</i></h4>
- </div>
- </div>
- <div class="xjjyh_div_con box-row">
- <div class="xjjyh_img">
- <img src="../../assets/index_img/jgpt_icon05.png"/>
- <p>燃气</p>
- </div>
- <div class="xjjyh_txt">
- <h4><span>巡检数</span><i>{{inspectionDataList.mileage[4].mileage || '0' }}km</i></h4>
- <img src="../../assets/index_img/jgpt_iconx.png"/>
- <h4><span>隐患数</span><i>{{inspectionDataList.inspection['燃气'] || '0' }}个</i></h4>
- </div>
- </div>
- <div class="xjjyh_div_con box-row">
- <div class="xjjyh_img">
- <img src="../../assets/index_img/jgpt_icon06.png"/>
- <p>供水</p>
- </div>
- <div class="xjjyh_txt">
- <h4><span>巡检数</span><i>{{inspectionDataList.mileage[5].mileage || '0' }}km</i></h4>
- <img src="../../assets/index_img/jgpt_iconx.png"/>
- <h4><span>隐患数</span><i>{{inspectionDataList.inspection['供水'] || '0' }}个</i></h4>
- </div>
- </div>
- </div>
- </div>
- <div class="title-bar">
- <span>预警管理</span>
- </div>
- <div class="content-box yjgl" style="cursor: pointer;" @click="toSbList">
- <div class="yjgl_div_tit">
- <span>预警总数:</span>
- <p>
- <b>{{ warningManagementTotal[4] || 0 }}</b>
- <b>{{ warningManagementTotal[3] || 0 }}</b>
- <b>{{ warningManagementTotal[2] || 0 }}</b>
- <b>{{ warningManagementTotal[1] || 0 }}</b>
- <b>{{ warningManagementTotal[0] || 0 }}</b>
- </p>
- </div>
- <div class="yjgl_div box-row">
- <div id="yjgl_chart"></div>
- <div class="yjgl_list">
- <p><span>供水</span><b>{{ warningManagementData[5] }}</b></p>
- <p><span>管廊</span><b>{{ warningManagementData[3] }}</b></p>
- <p><span>燃气</span><b>{{ warningManagementData[4] }}</b></p>
- <p><span>热力</span><b>{{ warningManagementData[0] }}</b></p>
- <p><span>桥梁</span><b>{{ warningManagementData[2] }}</b></p>
- <p><span>排水</span><b>{{ warningManagementData[1] }}</b></p>
- </div>
- </div>
- </div>
- </div>
- <!--预警列表-->
- <div class="right-content">
- <div class="title-bar" style="cursor: pointer;" @click="toSbList">
- <!--<el-popover placement="left-start" width="400" trigger="click" popper-class="sj-pop-con">-->
- <!--<div class="title-bar-pop">-->
- <!--<span>预警列表</span>-->
- <!--</div>-->
- <!--<div slot="reference" style="cursor: pointer;">预警统计</div>-->
- <!--</el-popover>-->
- <span>预警统计</span>
- </div>
- <div class="content-box sjtj" >
- <el-tabs v-model="activeName1" class="sj-top-tab">
- <el-tab-pane label="催办" name="sj">
- <div class="chart-contaier">
- <div class="chart-con" id="sjChart"></div>
- <div class="chart-con-num">
- <div
- class="chart-con-num-rig"
- v-for="(e,idx) in eventInfoOfIndustry"
- :key="idx"
- >
- <img :src="require(`../../assets/index_img/sj-bg-${eventPicOfIndustry.find(v => v.label == e.label).index}.png`)" alt="">
- <h6>{{ e.label }}</h6>
- <h5>{{ e.expediteCount }}</h5>
- </div>
- </div>
- </div>
- </el-tab-pane>
- <el-tab-pane label="督办" name="hy">
- <div class="chart-contaier">
- <div class="chart-con2" id="hyChart" style="height: 130px !important;"></div>
- </div>
- </el-tab-pane>
- </el-tabs>
- </div>
- <div class="title-bar">
- <el-popover placement="left-start" width="400" trigger="click" popper-class="sj-pop-con">
- <div slot="reference" style="cursor: pointer;">年度计划</div>
- </el-popover>
- <div class="num">
- {{ yearlyTaskStatisticsTotal || 0 }}个
- </div>
- </div>
- <div class="content-box ndrw">
- <div class="chart-contaier">
- <div class="chart-con2" id="ndChart" style="height: 120px !important;"></div>
- </div>
- </div>
- <div class="title-bar" style="cursor: pointer;">
- <span>风险管理</span>
- </div>
- <div class="content-box fxgl">
- <div id="fxglchart"></div>
- </div>
- <div class="title-bar" @click="dialogVisibleYuAn = true">
- <span>预案管理</span>
- </div>
- <div class="content-box2 yagl">
- <div class="scroll-y hei_scroll">
- <div class="yagl_div" v-for="plan in planList">
- <img v-if="plan.industry==1" src="../../assets/index_img/jgpt_icon14.png"/><!--热力-->
- <img v-if="plan.industry==2" src="../../assets/index_img/jgpt_icon11.png"/><!--排水-->
- <img v-if="plan.industry==3" src="../../assets/index_img/jgpt_icon12.png"/><!--桥梁-->
- <img v-if="plan.industry==4" src="../../assets/index_img/jgpt_icon13.png"/><!--管廊-->
- <img v-if="plan.industry==5" src="../../assets/index_img/jgpt_icon10.png"/><!--燃气-->
- <img v-if="plan.industry==6" src="../../assets/index_img/jgpt_icon15.png"/><!--供水-->
- <div class="yagl_div_txt">
- <p>{{plan.contingency_plan_name.length>10?plan.contingency_plan_name.substring(0,12)+'...':plan.contingency_plan_name}}</p>
- <span :title="plan.contingency_plan_content">{{plan.contingency_plan_content.length>25?plan.contingency_plan_content.substring(0,28)+'...':plan.contingency_plan_content}}</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 地图 -->
- <supermap ref="supermap" style="width: 100%;height: 100vh;">
- </supermap>
- <div class="map_tab flex-c">
- <div title="开挖" @click="showExcavation()">
- <img src="../../assets/index_img/icon-kw.png"/>
- </div>
- <div title="测距" @click="choseMeasuringDistance()">
- <img src="../../assets/index_img/icon-cl.png"/>
- </div>
- <div title="测面" @click="choseMeasuringArea()">
- <img src="../../assets/index_img/icon-cl.png"/>
- </div>
- <div title="测高" @click="choseMeasuringHeight()">
- <img src="../../assets/index_img/icon-cl.png"/>
- </div>
- <div title="清除" @click="clearAll()">
- <img src="../../assets/index_img/icon-qc.png"/>
- </div>
- </div>
- <!-- 底部按钮 -->
- <div class="life-btm-btn">
- <div class="btn-span btn-span7" :class="currentBtmHighIdx == 0 ? 'on' : '' " @click="industryHasChanged('')">
- <span>全部</span>
- </div>
- <div class="btn-span btn-span7 " :class="currentBtmHighIdx == 5 ? 'on' : '' " @click="industryHasChanged(5)">
- <span>燃气</span>
- </div>
- <div class="btn-span btn-span7" :class="currentBtmHighIdx == 1 ? 'on' : '' " @click="industryHasChanged(1)">
- <span>热力</span>
- </div>
- <div class="btn-span btn-span7" :class="currentBtmHighIdx == 6 ? 'on' : '' " @click="industryHasChanged(6)">
- <span>供水</span>
- </div>
- <div class="btn-span btn-span7" :class="currentBtmHighIdx == 2 ? 'on' : '' " @click="industryHasChanged(2)">
- <span>排水</span>
- </div>
- <div class="btn-span btn-span7" :class="currentBtmHighIdx == 4 ? 'on' : '' " @click="industryHasChanged(4)">
- <span>管廊</span>
- </div>
- <div class="btn-span btn-span7" :class="currentBtmHighIdx == 3 ? 'on' : '' " @click="industryHasChanged(3)">
- <span>桥梁</span>
- </div>
- </div>
- </div>
- <el-dialog
- title="行业数据完整度"
- :visible.sync="dialogVisibleHy"
- :before-close="handleClose"
- class="sj-dialog-newstyle">
- <ul class="small-nav">
- <li class="active"><a>全部</a></li>
- <li><a>燃气</a></li>
- <li><a>供热</a></li>
- <li><a>供水</a></li>
- <li><a>排水</a></li>
- <li><a>管廊</a></li>
- <li><a>桥梁</a></li>
- </ul>
- <div class="content-box4 flex-c mar-top45">
- <el-input placeholder="请输入内容" suffix-icon="el-icon-search" v-model="input2"
- class="sj-input-style">
- </el-input>
- <div class="list-ul-100-tit">
- <span>行业</span>
- <span>设备名称</span>
- <span>状态</span>
- </div>
- <div class="scroll-container hei_scroll_400">
- <ul class="list-ul-100" >
- <li v-for="(item, index) in listContent" :key="index">
- <span :class="item.hydh">{{item.hy}}</span>
- <span>{{item.tit}}</span>
- <span :class="item.ztdh">{{item.zt}}</span>
- </li>
- </ul>
- </div>
- </div>
- </el-dialog>
- <el-dialog
- title="预案详情"
- :visible.sync="dialogVisibleYuAn"
- :before-close="handleClose"
- width="80%"
- class="sj-dialog-newstyle">
- <div class="box-row" style="width: 100%;">
- <div class="sjxq_list">
- <el-table :data="tableData" height="615" style="width: 100%">
- <el-table-column prop="tit" label="任务名称">
- </el-table-column>
- <el-table-column prop="name" label="巡查人员">
- </el-table-column>
- <el-table-column prop="num" label="巡查公里数">
- </el-table-column>
- <el-table-column prop="time" label="巡查时间">
- </el-table-column>
- </el-table>
- </div>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import Cookies from 'js-cookie'
- import supermap from '@/components/supermap-2.5d' //超图
- import weatherHeader from '@/components/weatherHeader';
- import {
- getUserProfile
- } from "@/api/system/user";
- import '../../assets/styles/hz_body.css';
- import {
- selectConfigKey
- } from "@/api/system/config";
- import * as echarts from 'echarts'
- import {selectPlanList} from "@/api/tableInfo";
- import {
- industryDataCompleteness,
- inspectionAndHiddenDanger, // 巡检及隐患
- eventContingencyPlan, // 应急预案
- eventStatistics, // 预警统计
- warningManagement, // 预警管理
- expediteOrSuperviseCount, // 事件统计:催办/督办
- } from "@/api/jgpt";
- import { annualPlanCount } from '@/api/Regulatory'
- import { queryVectorTilesMapList } from '@/api/components/supermap'
- export default {
- components: {
- supermap,
- weatherHeader
- },
- metaInfo() {
- return {
- title: '四平市城市生命线',
- meta: [{
- charset: "utf-8"
- },
- {
- name: "viewport",
- content: "width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
- }
- ]
- }
- },
- created() {
- this.inspectionAndHiddenDanger()
- this.eventContingencyPlan()
- },
- computed:{
- },
- mounted() {
- // this.selectPlanList();
- // 初始化地图数据
- this.getSuperMapUrl();
- this.queryVectorTilesMapList();
- setTimeout(() => {
- this.time();
- this.title = '四平市城市生命线'
- this.sjChart();
- this.hysj_div_chart();
- this.yjgl_chart();
- this.ndChart('');
- this.fxglchart();
- }, 1000)
- },
- data() {
- return {
- props: {
- label: 'name',
- children: 'children'
- },
- legendLayer: '1',
- checkedBaseDOptions: [],
- addVectorTilesMapList: [],
- checkedOptions: [],
- twoDLayers_ranqi_height:[
- {
- id: '1',
- name: '次高压',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '1-1',
- name: '华生',
- url: [null, '/map-HuaSheng/rest/maps/huasheng_cigao']
- },
- {
- id: '1-2',
- name: '港华',
- url: [null, '/map-GangHua-2/rest/maps/GH_cigao']
- },
- {
- id: '1-3',
- name: '奥德',
- url: [null, '/map-Aode-2/rest/maps/aode_cigao']
- },
- {
- id: '1-4',
- name: '润发',
- url: [null, '/map-RunFaRanQi-2/rest/maps/runfa_cigao']}
- ]
- },
- ],
- twoDLayers_ranqi_middle:[
- {
- id: '2',
- name: '中压',
- url: [null, null],
- class: 'zy',
- children: [
- {
- id: '2-1',
- name: '华生',
- url: [null, '/map-HuaSheng/rest/maps/huasheng_zhong']
- },
- {
- id: '2-2',
- name: '港华',
- url: [null, '/map-GangHua-2/rest/maps/GH_zhong']
- },
- // {
- // id: '2-3',
- // name: '奥德',
- // url: [null, null]
- // },
- {
- id: '2-4',
- name: '润发',
- url: [null, '/map-RunFaRanQi-2/rest/maps/runfa_zhong']
- }
- ]
- },
- ],
- twoDLayers_ranqi_low:[
- {
- id: '3',
- name: '低压',
- url: [null, null],
- class: 'dy',
- children: [
- // {
- // id: '3-1',
- // name: '华生',
- // url: [null, null]
- // },
- {
- id: '3-2',
- name: '港华',
- url: [null, '/map-GangHua-2/rest/maps/GH_di']
- },
- // {
- // id: '3-3',
- // name: '奥德',
- // url: [null, null]
- // },
- // {
- // id: '3-4',
- // name: '润发',
- // url: [null, null]
- // }
- ]
- }
- ],
- threeDLayers_ranqi_height:[
- {
- id: '4',
- name: '次高压',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '4-1',
- name: '华生',
- url: ['/3D-huasheng_cigao/rest/realspace', null]
- },
- {
- id: '4-2',
- name: '港华',
- url: ['/3D-GH_cigao/rest/realspace', null]
- },
- {
- id: '4-3',
- name: '奥德',
- url: ['/3D-aode_cigao/rest/realspace', null]
- },
- {
- id: '4-4',
- name: '润发',
- url: ['/3D-runfa_cigao/rest/realspace', null]
- }
- ]
- },
- ],
- threeDLayers_ranqi_middle:[
- {
- id: '5',
- name: '中压',
- url: [null, null],
- class: 'zy',
- children: [
- {
- id: '5-1',
- name: '华生',
- url: ['/3D-huasheng_zhong/rest/realspace', null]
- },
- {
- id: '5-2',
- name: '港华',
- url: ['/3D-GH_zhong/rest/realspace', null]
- },
- // {
- // id: '5-3',
- // name: '奥德',
- // url: [null, null]
- // },
- {
- id: '5-4',
- name: '润发',
- url: ['/3D-runfa_zhong/rest/realspace', null]
- }
- ]
- },
- ],
- threeDLayers_ranqi_low:[
- {
- id: '6',
- name: '低压',
- url: [null, null],
- class: 'dy',
- children: [
- // {
- // id: '6-1',
- // name: '华生',
- // url: [null, null]
- // },
- {
- id: '6-2',
- name: '港华',
- url: ['/3D-GH_di/rest/realspace', null]
- },
- // {
- // id: '6-3',
- // name: '奥德',
- // url: [null, null]
- // },
- // {
- // id: '6-4',
- // name: '润发',
- // url: [null, null]
- // }
- ]
- }
- ],
- twoDLayers_gongre_yici:[
- {
- id: '1',
- name: '一次网',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '1-1',
- name: '铁东一次网',
- url: [null, '/map-RLyicierci-2/rest/maps/TD_yiciwang']
- },
- {
- id: '1-2',
- name: '铁西一次网',
- url: [null, '/map-RLyicierci-2/rest/maps/TX_yiciwang']
- }
- ]
- },
- ],
- twoDLayers_gongre_erci:[
- {
- id: '2',
- name: '二次网',
- url: [null, null],
- class: 'zy',
- children: [
- {
- id: '2-1',
- name: '铁东二次网',
- url: [null, '/map-RLyicierci-2/rest/maps/TD_erciwang']
- },
- {
- id: '2-2',
- name: '铁西二次网',
- url: [null, '/map-RLyicierci-2/rest/maps/TX_erciwang']
- }
- ]
- },
- ],
- twoDLayers_gongre_zhigong:[
- {
- id: '3',
- name: '直供管',
- url: [null, null],
- class: 'dy',
- children: [
- {
- id: '3-1',
- name: '直供管',
- url: [null, '/map-DianRe/rest/maps/DianRe_zhigong_TD']
- },
- ]
- }
- ],
- threeDLayers_gongre_yici:[
- {
- id: '4',
- name: '一次网',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '4-1',
- name: '铁东一次网',
- url: ['/3D-TD_yiciwang/rest/realspace', null]
- },
- {
- id: '4-2',
- name: '铁西一次网',
- url: ['/3D-TX_yiciwang/rest/realspace', null]
- }
- ]
- },
- ],
- threeDLayers_gongre_erci:[
- {
- id: '5',
- name: '二次网',
- url: [null, null],
- class: 'zy',
- children: [
- {
- id: '5-1',
- name: '铁东二次网',
- url: ['/3D-TD_erciwang_xian/rest/realspace', null]
- },
- {
- id: '5-2',
- name: '铁西二次网',
- url: ['/3D-TX_erciwang_xian/rest/realspace', null]
- }
- ]
- },
- ],
- threeDLayers_gongre_zhigong:[
- {
- id: '6',
- name: '直供管',
- url: [null, null],
- class: 'dy',
- children: [
- {
- id: '6-1',
- name: '直供管',
- url: [null, '/map-DianRe/rest/maps/DianRe_zhigong_TD']
- },
- ]
- }
- ],
- twoDLayers_paishui_yushui:[
- {
- id: '1',
- name: '雨水管',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '1-1',
- name: '铁西雨水管',
- url: [null, '/map-PaiShui-2/rest/maps/TX_pai_yushui']
- },
- {
- id: '1-2',
- name: '铁东雨水管',
- url: [null, '/map-PaiShui-2/rest/maps/TD_pai_yushui']
- }
- ]
- },
- ],
- twoDLayers_paishui_wushui:[
- {
- id: '2',
- name: '污水管',
- url: [null, null],
- class: 'zy',
- children: [
- {
- id: '2-1',
- name: '铁西污水管',
- url: [null, '/map-PaiShui-2/rest/maps/TX_pai_wushui']
- },
- {
- id: '2-2',
- name: '铁东污水管',
- url: [null, '/map-PaiShui-2/rest/maps/TD_pai_wushui']
- }
- ]
- },
- ],
- twoDLayers_paishui_heliu:[
- {
- id: '3',
- name: '合流管',
- url: [null, null],
- class: 'dy',
- children: [
- {
- id: '3-1',
- name: '铁西合流管',
- url: [null, '/map-PaiShui-2/rest/maps/TX_pai_heliu']
- },
- {
- id: '3-2',
- name: '铁东合流管',
- url: [null, '/map-PaiShui-2/rest/maps/TD_pai_heliu']
- },
- ]
- }
- ],
- threeDLayers_paishui_yushui:[
- {
- id: '4',
- name: '雨水管',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '4-1',
- name: '铁西雨水管',
- url: ['/3D-TX_pai_yushui/rest/realspace', null]
- },
- {
- id: '4-2',
- name: '铁东雨水管',
- url: ['/3D-TD_pai_yushui/rest/realspace', null]
- }
- ]
- },
- ],
- threeDLayers_paishui_wushui:[
- {
- id: '5',
- name: '污水管',
- url: [null, null],
- class: 'zy',
- children: [
- {
- id: '5-1',
- name: '铁西污水管',
- url: ['/3D-TX_pai_wushui/rest/realspace', null]
- },
- {
- id: '5-2',
- name: '铁东污水管',
- url: ['/3D-TD_pai_wushui/rest/realspace', null]
- }
- ]
- },
- ],
- threeDLayers_paishui_heliu:[
- {
- id: '6',
- name: '河流',
- url: [null, null],
- class: 'dy',
- children: [
- {
- id: '6-1',
- name: '铁西合流管',
- url: ['/3D-TX_pai_heliu/rest/realspace', null]
- },
- {
- id: '6-2',
- name: '铁东合流管',
- url: ['/3D-TD_pai_heliu/rest/realspace', null]
- },
- ]
- }
- ],
- twoDLayers_gongshui:[
- {
- id: '1',
- name: '给水',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '1-1',
- name: '铁东给水',
- url: [null, '/map-ShuiWuGeiShui-2/rest/maps/TD_geishui']
- },
- {
- id: '1-2',
- name: '铁西给水',
- url: [null, '/map-ShuiWuGeiShui-2/rest/maps/TX_geishui']
- }
- ]
- },
- ],
- threeDLayers_gongshui:[
- {
- id: '4',
- name: '给水',
- url: [null, null],
- class: 'cgy',
- children: [
- {
- id: '4-1',
- name: '铁东给水',
- url: ['/3D-TD_geishui-2/rest/realspace', null]
- },
- {
- id: '4-2',
- name: '铁西给水',
- url: ['/3D-TX_geishui-2/rest/realspace', null]
- }
- ]
- },
- ],
- twoDLayers_guanlang: [],
- threeDLayers_guanlang: [],
- bridge:'',//桥梁
- drainage:'',//排水
- gas:'',//燃气
- heating:'',//供热
- utility:'',//管廊
- water:'',//供水
- input: '',
- activeName1: 'sj',
- radio: '1',
- dialogVisibleHy:false,
- dialogVisibleYuAn:false,
- tableData: [{
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, {
- tit: '长兴街道至人民大街巡查路线',
- name: '王小虎',
- num: '456',
- time: '2025年11月12日13:51:07',
- }, ],
- listContent:[
- {id:1,hydh:'rq',hy:'燃气',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
- {id:2,hydh:'rq',hy:'燃气',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:3,hydh:'ps',hy:'排水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:4,hydh:'rl',hy:'热力',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:5,hydh:'ql',hy:'桥梁',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:6,hydh:'gl',hy:'管廊',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:7,hydh:'gs',hy:'供水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:8,hydh:'rl',hy:'热力',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:9,hydh:'ql',hy:'桥梁',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:10,hydh:'gl',hy:'管廊',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- {id:11,hydh:'gs',hy:'供水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
- ],
- inspectionDataList:[], // 巡检及隐患数据
- planList:[],
- warningManagementData:[],
- warningManagementTotal:'',
- yearlyTaskStatisticsTotal:null,
- eventStatisticsData:[],
- currentBtmHighIdx:0,
- eventPicOfIndustry:[
- {
- label:'热力',
- index:5
- },
- {
- label:'排水',
- index:3
- },
- {
- label:'桥梁',
- index:4
- },
- {
- label:'管廊',
- index:1
- },
- {
- label:'燃气',
- index:6
- },
- {
- label:'供水',
- index:2
- },
- ],
- eventInfoOfIndustry:[], // 事件统计催办/督办 列表
- superviselabels:[],
- superviseCount:[],
- }
- },
- methods: {
- // 获取配置项
- queryVectorTilesMapList() {
- this.addVectorTilesMapList = []
- queryVectorTilesMapList(Cookies.get('deptId')).then(req => {
- for (let i = 0; i < req.length; i++) {
- if (req[i].note == '图层过滤') {
- this.addVectorTilesMapList.push(req[i])
- }
- }
- }
- )
- },
- handleCheckChange() {
- // 获取所有tree的叶子节点
- const allLeafNodes = [];
- // 燃气-次高压
- if (this.$refs.twoDLayers_ranqi_height) {
- const leafNodes1 = this.$refs.twoDLayers_ranqi_height.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes1);
- }
- // 燃气-中压
- if (this.$refs.twoDLayers_ranqi_middle) {
- const leafNodes2 = this.$refs.twoDLayers_ranqi_middle.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes2);
- }
- // 燃气-低压
- if (this.$refs.twoDLayers_ranqi_low) {
- const leafNodes3 = this.$refs.twoDLayers_ranqi_low.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 燃气-次高压
- if (this.$refs.threeDLayers_ranqi_height) {
- const leafNodes1 = this.$refs.threeDLayers_ranqi_height.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes1);
- }
- // 燃气-中压
- if (this.$refs.threeDLayers_ranqi_middle) {
- const leafNodes2 = this.$refs.threeDLayers_ranqi_middle.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes2);
- }
- // 燃气-低压
- if (this.$refs.threeDLayers_ranqi_low) {
- const leafNodes3 = this.$refs.threeDLayers_ranqi_low.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 热力-一次
- if (this.$refs.twoDLayers_gongre_yici) {
- const leafNodes3 = this.$refs.twoDLayers_gongre_yici.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 热力-二次
- if (this.$refs.twoDLayers_gongre_erci) {
- const leafNodes3 = this.$refs.twoDLayers_gongre_erci.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 热力-直供
- if (this.$refs.twoDLayers_gongre_zhigong) {
- const leafNodes3 = this.$refs.twoDLayers_gongre_zhigong.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 热力-一次
- if (this.$refs.threeDLayers_gongre_yici) {
- const leafNodes3 = this.$refs.threeDLayers_gongre_yici.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 热力-二次
- if (this.$refs.threeDLayers_gongre_erci) {
- const leafNodes3 = this.$refs.threeDLayers_gongre_erci.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 热力-直供
- if (this.$refs.threeDLayers_gongre_zhigong) {
- const leafNodes3 = this.$refs.threeDLayers_gongre_zhigong.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 供水
- if (this.$refs.twoDLayers_gongshui) {
- const leafNodes3 = this.$refs.twoDLayers_gongshui.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 供水
- if (this.$refs.threeDLayers_gongshui) {
- const leafNodes3 = this.$refs.threeDLayers_gongshui.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 排水-雨水
- if (this.$refs.twoDLayers_paishui_yushui) {
- const leafNodes3 = this.$refs.twoDLayers_paishui_yushui.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 排水-污水
- if (this.$refs.twoDLayers_paishui_wushui) {
- const leafNodes3 = this.$refs.twoDLayers_paishui_wushui.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 排水-合流
- if (this.$refs.twoDLayers_paishui_heliu) {
- const leafNodes3 = this.$refs.twoDLayers_paishui_heliu.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 排水-雨水
- if (this.$refs.threeDLayers_paishui_yushui) {
- const leafNodes3 = this.$refs.threeDLayers_paishui_yushui.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 排水-污水
- if (this.$refs.threeDLayers_paishui_wushui) {
- const leafNodes3 = this.$refs.threeDLayers_paishui_wushui.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 排水-合流
- if (this.$refs.threeDLayers_paishui_heliu) {
- const leafNodes3 = this.$refs.threeDLayers_paishui_heliu.getCheckedNodes(true);
- allLeafNodes.push(...leafNodes3);
- }
- // 提取需要的属性
- this.checkedOptions = allLeafNodes.map(node => node.url).filter(url => url);
- this.handleCheckedOptions()
- },
- handleCheckedOptions() {
- this.$refs.supermap.addLifelineOpen(this.checkedOptions)
- },
- layerCheck() {
- this.$refs.supermap.reload(this.checkedBaseDOptions)
- },
- goToHomePage() {
- window.location.href = '/homePage';
- },
- time() {
- let dt = new Date();
- let y = dt.getFullYear();
- let mt = dt.getMonth() + 1;
- mt = mt >= 10 ? mt : '0' + mt
- let day = dt.getDate() >= 10 ? dt.getDate() : '0' + dt.getDate();
- let h = dt.getHours() >= 10 ? dt.getHours() : '0' + dt.getHours();
- let m = dt.getMinutes() >= 10 ? dt.getMinutes() : '0' + dt.getMinutes();
- let s = dt.getSeconds() >= 10 ? dt.getSeconds() : '0' + dt.getSeconds();
- document.getElementById("day").innerHTML = y + "." + mt + "." + day + ""; //2022年1月17日
- document.getElementById("time").innerHTML = h + ":" + m + ":" + s; //16:28:03
- setTimeout(() => {
- this.time()
- }, 1000);
- },
- industryHasChanged(industry=0){
- if(industry == this.currentBtmHighIdx) return;
- this.currentBtmHighIdx = industry
- // this.inspectionAndHiddenDanger(industry)
- this.eventContingencyPlan(industry)
- this.ndChart(industry)
- // this.yjgl_chart(industry)
- // this.sjChart(industry,true)
- },
- eventContingencyPlan(industry = 0){
- eventContingencyPlan(1).then(res => {
- this.planList = res.data || []
- })
- },
- inspectionAndHiddenDanger(industry = ''){
- inspectionAndHiddenDanger(industry).then(res => {
- this.inspectionDataList = res.data || []
- })
- },
- selectPlanList(){
- selectPlanList().then(res => {
- this.planList = res.rows;
- })
- },
- //设备报警表单点击后跳转新页面
- toSbList(){
- this.$router.push('/jgptList')
- },
- toRwList(){
- this.$router.push('/RwList')
- },
- //行业数据完整度chart
- hysj_div_chart() {
- var myChart1 = echarts.init(document.getElementById("hysj_div_chart1"));
- var myChart2 = echarts.init(document.getElementById("hysj_div_chart2"));
- var myChart3 = echarts.init(document.getElementById("hysj_div_chart3"));
- var myChart4 = echarts.init(document.getElementById("hysj_div_chart4"));
- var myChart5 = echarts.init(document.getElementById("hysj_div_chart5"));
- var myChart6 = echarts.init(document.getElementById("hysj_div_chart6"));
- industryDataCompleteness().then(res => {
- this.bridge=res.data.bridge;//桥梁
- this.drainage=res.data.drainage;//排水
- this.gas=res.data.gas;//燃气
- this.heating=res.data.heating;//供热
- this.utility=res.data.utility;//管廊
- this.water=res.data.water;//供水
- var option1 = {
- series: [
- {
- center: ["45%", "80%"], //仪表的位置
- name: "刻度", //仪表的名字
- type: "gauge", //统计图类型为仪表
- radius: "100%", //统计图的半径大小
- min: 0, //最小刻度
- max: 10, //最大刻度
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //设置默认刻度盘上的刻度不显示,重新定义刻度盘
- show: false,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(255,255,255,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- //仪表盘上的数据
- show: true,
- color: "#2a86e4", //仪表盘上的轴线颜色
- distance: -30, //图形与刻度的间距
- formatter: function (v) {
- //刻度轴上的数据相关显示
- switch (v + "") {
- case "0":
- return "0";
- case "2":
- return "20";
- case "4":
- return "40";
- case "6":
- return "60";
- case "8":
- return "80";
- case "10":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 6, //刻度的段落数
- lineStyle: {
- color: "#48698f",
- width: 1, //刻度的宽度
- },
- length: -4, //刻度的长度
- }, //刻度样式
- splitLine: {
- //文字和刻度的偏移量
- show: true,
- length: -6, //便宜的长度
- lineStyle: {
- color: "#48698f",
- },
- }, //分隔线样式
- },
- {
- type: "gauge", //刻度轴表盘
- radius: "85%", //刻度盘的大小
- center: ["45%", "82%"], //刻度盘的位置
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //刻度的线条
- show: true,
- lineStyle: {
- width: 8, //定义一个宽15的数轴
- color: [
- //颜色为渐变色
- [
- 0.9,
- new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: "#2a86e4",
- },
- {
- offset: 1,
- color: "#3dffaf",
- },
- ]),
- ],
- [1, "#413e54"],
- ],
- },
- },
- //分隔线样式。
- splitLine: {
- //表盘上的轴线
- show: false,
- },
- axisLabel: {
- //表盘上的刻度数值文字
- show: false,
- },
- axisTick: {
- //表盘上的刻度线
- show: false,
- },
- pointer: {
- //表盘上的指针
- show: true,
- width:4
- },
- itemStyle: {
- //表盘指针的颜色
- color: "#18c8ff",
- },
- title: {
- //标题
- show: false,
- offsetCenter: [0, "-26%"], // x, y,单位px
- textStyle: {
- color: "#fff",
- fontSize: 10, //表盘上的标题文字大小
- },
- },
- //仪表盘详情,用于显示数据。
- detail: {
- show: false,
- offsetCenter: [0, "3%"],
- color: "#ffffff",
- formatter: function (params) {
- return params;
- },
- textStyle: {
- fontSize: 10,
- },
- },
- data: [
- //当前数值的数据
- {
- name: "",
- value: this.bridge.replace('%',''),
- },
- ],
- },
- ],
- };
- var option2 = {
- series: [
- {
- center: ["45%", "80%"], //仪表的位置
- name: "刻度", //仪表的名字
- type: "gauge", //统计图类型为仪表
- radius: "100%", //统计图的半径大小
- min: 0, //最小刻度
- max: 10, //最大刻度
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //设置默认刻度盘上的刻度不显示,重新定义刻度盘
- show: false,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(255,255,255,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- //仪表盘上的数据
- show: true,
- color: "#2a86e4", //仪表盘上的轴线颜色
- distance: -30, //图形与刻度的间距
- formatter: function (v) {
- //刻度轴上的数据相关显示
- switch (v + "") {
- case "0":
- return "0";
- case "2":
- return "20";
- case "4":
- return "40";
- case "6":
- return "60";
- case "8":
- return "80";
- case "10":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 6, //刻度的段落数
- lineStyle: {
- color: "#48698f",
- width: 1, //刻度的宽度
- },
- length: -4, //刻度的长度
- }, //刻度样式
- splitLine: {
- //文字和刻度的偏移量
- show: true,
- length: -6, //便宜的长度
- lineStyle: {
- color: "#48698f",
- },
- }, //分隔线样式
- },
- {
- type: "gauge", //刻度轴表盘
- radius: "85%", //刻度盘的大小
- center: ["45%", "82%"], //刻度盘的位置
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //刻度的线条
- show: true,
- lineStyle: {
- width: 8, //定义一个宽15的数轴
- color: [
- //颜色为渐变色
- [
- 0.9,
- new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: "#2a86e4",
- },
- {
- offset: 1,
- color: "#3dffaf",
- },
- ]),
- ],
- [1, "#413e54"],
- ],
- },
- },
- //分隔线样式。
- splitLine: {
- //表盘上的轴线
- show: false,
- },
- axisLabel: {
- //表盘上的刻度数值文字
- show: false,
- },
- axisTick: {
- //表盘上的刻度线
- show: false,
- },
- pointer: {
- //表盘上的指针
- show: true,
- width:4
- },
- itemStyle: {
- //表盘指针的颜色
- color: "#18c8ff",
- },
- title: {
- //标题
- show: false,
- offsetCenter: [0, "-26%"], // x, y,单位px
- textStyle: {
- color: "#fff",
- fontSize: 10, //表盘上的标题文字大小
- },
- },
- //仪表盘详情,用于显示数据。
- detail: {
- show: false,
- offsetCenter: [0, "3%"],
- color: "#ffffff",
- formatter: function (params) {
- return params;
- },
- textStyle: {
- fontSize: 10,
- },
- },
- data: [
- //当前数值的数据
- {
- name: "",
- value: this.drainage.replace('%',''),
- },
- ],
- },
- ],
- };
- var option3 = {
- series: [
- {
- center: ["45%", "80%"], //仪表的位置
- name: "刻度", //仪表的名字
- type: "gauge", //统计图类型为仪表
- radius: "100%", //统计图的半径大小
- min: 0, //最小刻度
- max: 10, //最大刻度
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //设置默认刻度盘上的刻度不显示,重新定义刻度盘
- show: false,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(255,255,255,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- //仪表盘上的数据
- show: true,
- color: "#2a86e4", //仪表盘上的轴线颜色
- distance: -30, //图形与刻度的间距
- formatter: function (v) {
- //刻度轴上的数据相关显示
- switch (v + "") {
- case "0":
- return "0";
- case "2":
- return "20";
- case "4":
- return "40";
- case "6":
- return "60";
- case "8":
- return "80";
- case "10":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 6, //刻度的段落数
- lineStyle: {
- color: "#48698f",
- width: 1, //刻度的宽度
- },
- length: -4, //刻度的长度
- }, //刻度样式
- splitLine: {
- //文字和刻度的偏移量
- show: true,
- length: -6, //便宜的长度
- lineStyle: {
- color: "#48698f",
- },
- }, //分隔线样式
- },
- {
- type: "gauge", //刻度轴表盘
- radius: "85%", //刻度盘的大小
- center: ["45%", "82%"], //刻度盘的位置
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //刻度的线条
- show: true,
- lineStyle: {
- width: 8, //定义一个宽15的数轴
- color: [
- //颜色为渐变色
- [
- 0.9,
- new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: "#2a86e4",
- },
- {
- offset: 1,
- color: "#3dffaf",
- },
- ]),
- ],
- [1, "#413e54"],
- ],
- },
- },
- //分隔线样式。
- splitLine: {
- //表盘上的轴线
- show: false,
- },
- axisLabel: {
- //表盘上的刻度数值文字
- show: false,
- },
- axisTick: {
- //表盘上的刻度线
- show: false,
- },
- pointer: {
- //表盘上的指针
- show: true,
- width:4
- },
- itemStyle: {
- //表盘指针的颜色
- color: "#18c8ff",
- },
- title: {
- //标题
- show: false,
- offsetCenter: [0, "-26%"], // x, y,单位px
- textStyle: {
- color: "#fff",
- fontSize: 10, //表盘上的标题文字大小
- },
- },
- //仪表盘详情,用于显示数据。
- detail: {
- show: false,
- offsetCenter: [0, "3%"],
- color: "#ffffff",
- formatter: function (params) {
- return params;
- },
- textStyle: {
- fontSize: 10,
- },
- },
- data: [
- //当前数值的数据
- {
- name: "",
- value: this.gas.replace('%',''),
- },
- ],
- },
- ],
- };
- var option4 = {
- series: [
- {
- center: ["45%", "80%"], //仪表的位置
- name: "刻度", //仪表的名字
- type: "gauge", //统计图类型为仪表
- radius: "100%", //统计图的半径大小
- min: 0, //最小刻度
- max: 10, //最大刻度
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //设置默认刻度盘上的刻度不显示,重新定义刻度盘
- show: false,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(255,255,255,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- //仪表盘上的数据
- show: true,
- color: "#2a86e4", //仪表盘上的轴线颜色
- distance: -30, //图形与刻度的间距
- formatter: function (v) {
- //刻度轴上的数据相关显示
- switch (v + "") {
- case "0":
- return "0";
- case "2":
- return "20";
- case "4":
- return "40";
- case "6":
- return "60";
- case "8":
- return "80";
- case "10":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 6, //刻度的段落数
- lineStyle: {
- color: "#48698f",
- width: 1, //刻度的宽度
- },
- length: -4, //刻度的长度
- }, //刻度样式
- splitLine: {
- //文字和刻度的偏移量
- show: true,
- length: -6, //便宜的长度
- lineStyle: {
- color: "#48698f",
- },
- }, //分隔线样式
- },
- {
- type: "gauge", //刻度轴表盘
- radius: "85%", //刻度盘的大小
- center: ["45%", "82%"], //刻度盘的位置
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //刻度的线条
- show: true,
- lineStyle: {
- width: 8, //定义一个宽15的数轴
- color: [
- //颜色为渐变色
- [
- 0.9,
- new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: "#2a86e4",
- },
- {
- offset: 1,
- color: "#3dffaf",
- },
- ]),
- ],
- [1, "#413e54"],
- ],
- },
- },
- //分隔线样式。
- splitLine: {
- //表盘上的轴线
- show: false,
- },
- axisLabel: {
- //表盘上的刻度数值文字
- show: false,
- },
- axisTick: {
- //表盘上的刻度线
- show: false,
- },
- pointer: {
- //表盘上的指针
- show: true,
- width:4
- },
- itemStyle: {
- //表盘指针的颜色
- color: "#18c8ff",
- },
- title: {
- //标题
- show: false,
- offsetCenter: [0, "-26%"], // x, y,单位px
- textStyle: {
- color: "#fff",
- fontSize: 10, //表盘上的标题文字大小
- },
- },
- //仪表盘详情,用于显示数据。
- detail: {
- show: false,
- offsetCenter: [0, "3%"],
- color: "#ffffff",
- formatter: function (params) {
- return params;
- },
- textStyle: {
- fontSize: 10,
- },
- },
- data: [
- //当前数值的数据
- {
- name: "",
- value: this.heating.replace('%',''),
- },
- ],
- },
- ],
- };
- var option5 = {
- series: [
- {
- center: ["45%", "80%"], //仪表的位置
- name: "刻度", //仪表的名字
- type: "gauge", //统计图类型为仪表
- radius: "100%", //统计图的半径大小
- min: 0, //最小刻度
- max: 10, //最大刻度
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //设置默认刻度盘上的刻度不显示,重新定义刻度盘
- show: false,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(255,255,255,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- //仪表盘上的数据
- show: true,
- color: "#2a86e4", //仪表盘上的轴线颜色
- distance: -30, //图形与刻度的间距
- formatter: function (v) {
- //刻度轴上的数据相关显示
- switch (v + "") {
- case "0":
- return "0";
- case "2":
- return "20";
- case "4":
- return "40";
- case "6":
- return "60";
- case "8":
- return "80";
- case "10":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 6, //刻度的段落数
- lineStyle: {
- color: "#48698f",
- width: 1, //刻度的宽度
- },
- length: -4, //刻度的长度
- }, //刻度样式
- splitLine: {
- //文字和刻度的偏移量
- show: true,
- length: -6, //便宜的长度
- lineStyle: {
- color: "#48698f",
- },
- }, //分隔线样式
- },
- {
- type: "gauge", //刻度轴表盘
- radius: "85%", //刻度盘的大小
- center: ["45%", "82%"], //刻度盘的位置
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //刻度的线条
- show: true,
- lineStyle: {
- width: 8, //定义一个宽15的数轴
- color: [
- //颜色为渐变色
- [
- 0.9,
- new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: "#2a86e4",
- },
- {
- offset: 1,
- color: "#3dffaf",
- },
- ]),
- ],
- [1, "#413e54"],
- ],
- },
- },
- //分隔线样式。
- splitLine: {
- //表盘上的轴线
- show: false,
- },
- axisLabel: {
- //表盘上的刻度数值文字
- show: false,
- },
- axisTick: {
- //表盘上的刻度线
- show: false,
- },
- pointer: {
- //表盘上的指针
- show: true,
- width:4
- },
- itemStyle: {
- //表盘指针的颜色
- color: "#18c8ff",
- },
- title: {
- //标题
- show: false,
- offsetCenter: [0, "-26%"], // x, y,单位px
- textStyle: {
- color: "#fff",
- fontSize: 10, //表盘上的标题文字大小
- },
- },
- //仪表盘详情,用于显示数据。
- detail: {
- show: false,
- offsetCenter: [0, "3%"],
- color: "#ffffff",
- formatter: function (params) {
- return params;
- },
- textStyle: {
- fontSize: 10,
- },
- },
- data: [
- //当前数值的数据
- {
- name: "",
- value: this.utility.replace('%',''),
- },
- ],
- },
- ],
- };
- var option6 = {
- series: [
- {
- center: ["45%", "80%"], //仪表的位置
- name: "刻度", //仪表的名字
- type: "gauge", //统计图类型为仪表
- radius: "100%", //统计图的半径大小
- min: 0, //最小刻度
- max: 10, //最大刻度
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //设置默认刻度盘上的刻度不显示,重新定义刻度盘
- show: false,
- lineStyle: {
- width: 1,
- color: [[1, "rgba(255,255,255,0)"]],
- },
- }, //仪表盘轴线
- axisLabel: {
- //仪表盘上的数据
- show: true,
- color: "#2a86e4", //仪表盘上的轴线颜色
- distance: -30, //图形与刻度的间距
- formatter: function (v) {
- //刻度轴上的数据相关显示
- switch (v + "") {
- case "0":
- return "0";
- case "2":
- return "20";
- case "4":
- return "40";
- case "6":
- return "60";
- case "8":
- return "80";
- case "10":
- return "100";
- }
- },
- }, //刻度标签。
- axisTick: {
- show: true,
- splitNumber: 6, //刻度的段落数
- lineStyle: {
- color: "#48698f",
- width: 1, //刻度的宽度
- },
- length: -4, //刻度的长度
- }, //刻度样式
- splitLine: {
- //文字和刻度的偏移量
- show: true,
- length: -6, //便宜的长度
- lineStyle: {
- color: "#48698f",
- },
- }, //分隔线样式
- },
- {
- type: "gauge", //刻度轴表盘
- radius: "85%", //刻度盘的大小
- center: ["45%", "82%"], //刻度盘的位置
- splitNumber: 6, //刻度数量
- startAngle: 180, //开始刻度的角度
- endAngle: 0, //结束刻度的角度
- axisLine: {
- //刻度的线条
- show: true,
- lineStyle: {
- width: 8, //定义一个宽15的数轴
- color: [
- //颜色为渐变色
- [
- 0.9,
- new echarts.graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: "#2a86e4",
- },
- {
- offset: 1,
- color: "#3dffaf",
- },
- ]),
- ],
- [1, "#413e54"],
- ],
- },
- },
- //分隔线样式。
- splitLine: {
- //表盘上的轴线
- show: false,
- },
- axisLabel: {
- //表盘上的刻度数值文字
- show: false,
- },
- axisTick: {
- //表盘上的刻度线
- show: false,
- },
- pointer: {
- //表盘上的指针
- show: true,
- width:4
- },
- itemStyle: {
- //表盘指针的颜色
- color: "#18c8ff",
- },
- title: {
- //标题
- show: false,
- offsetCenter: [0, "-26%"], // x, y,单位px
- textStyle: {
- color: "#fff",
- fontSize: 10, //表盘上的标题文字大小
- },
- },
- //仪表盘详情,用于显示数据。
- detail: {
- show: false,
- offsetCenter: [0, "3%"],
- color: "#ffffff",
- formatter: function (params) {
- return params;
- },
- textStyle: {
- fontSize: 10,
- },
- },
- data: [
- //当前数值的数据
- {
- name: "",
- value: this.water.replace('%',''),
- },
- ],
- },
- ],
- };
- myChart1.setOption(option1);
- myChart2.setOption(option2);
- myChart3.setOption(option3);
- myChart4.setOption(option4);
- myChart5.setOption(option5);
- myChart6.setOption(option6);
- })
- },
- //预警管理chart
- yjgl_chart(industry=0) {
- var myChart = echarts.init(document.getElementById("yjgl_chart"));
- warningManagement(industry).then(res => {
- this.warningManagementData = res.data.numList
- this.warningManagementTotal = ((res.data.numList.reduce((total, item) => total + item, 0)).toString()).split('').reverse();
- if(res.data){
- let areaData = [
- {
- name: "供水",
- max: 1000,
- value: res.data.numList[5] || 0,
- },
- {
- name: "管廊",
- max: 1000,
- value: res.data.numList[3] || 0,
- },
- {
- name: "燃气",
- max: 1000,
- value: res.data.numList[4] || 0,
- },
- {
- name: "热力",
- max: 1000,
- value: res.data.numList[0] || 0,
- },
- {
- name: "桥梁",
- max: 1000,
- value: res.data.numList[2] || 0,
- },
- {
- name: "排水",
- max: 1000,
- value: res.data.numList[1] || 0,
- },
- ];
- let data = [];
- areaData.forEach((item) => {
- data.push(item.value);
- });
- let maxNum = Math.max(...data); //获取数组中最大的值
- // 向上取整十,整百,整千,整万的方法
- function ceilNumber(number) {
- let bite = 0;
- if (number < 10) {
- return 10;
- }
- while (number >= 10) {
- number /= 10;
- bite += 1;
- }
- return Math.ceil(number) * Math.pow(10, bite);
- }
- let allMax = ceilNumber(maxNum); //将最大的值进行向上取整
- areaData.forEach((item) => {
- item.max = allMax;
- });
- let data1 = [0, 0, 0, 0, 0, 0];
- let data2 = [0, 0, 0, 0, 0, 0];
- let data3 = [0, 0, 0, 0, 0, 0];
- let data4 = [0, 0, 0, 0, 0, 0];
- let data5 = [0, 0, 0, 0, 0, 0];
- let data6 = [0, 0, 0, 0, 0, 0];
- data1[0] = data[0];
- data2[1] = data[1];
- data3[2] = data[2];
- data4[3] = data[3];
- data5[4] = data[4];
- data6[5] = data[5];
- let option = {
- color: ["#2E64FF", "#F0D418", "#FF9B42", "#FF6B6B", "#8E42FF", "#00e4ff"],
- legend: {
- show: false,
- trigger: "item",
- orient: "vertical",
- top: "80px",
- left: "20px",
- textStyle: {
- color: "#fff",
- },
- },
- tooltip: {
- trigger: "item",
- formatter: function (params) {
- return params.name + ": " + params.value + "件";
- },
- },
- radar: {
- zlevel: 5,
- shape: "circle",
- scale: true,
- indicator: areaData,
- center: ["50%", "50%"],
- radius: "40%",
- nameGap: "0",
- startAngle: 90,
- name: {
- show: false,
- color: "red",
- },
- axisLine: {
- show: true,
- lineStyle: {
- color: "rgba(32,126,255, .5)",
- },
- },
- splitLine: {
- lineStyle: {
- color: "rgba(32,126,255, .5)",
- },
- },
- splitArea: {
- areaStyle: {
- color: "rgba(32,126,255, 0.1)",
- },
- },
- },
- polar: {
- radius: "40%",
- },
- angleAxis: {
- zlevel: 0,
- min: 0,
- max: 360,
- axisLabel: {
- show: false,
- },
- splitLine: {
- show: false,
- },
- },
- radiusAxis: {
- zlevel: 0,
- min: 0,
- max: allMax,
- axisLabel: {
- textStyle: {
- color: "rgba(29,208,240,.5)",
- },
- },
- splitLine: {
- show: false,
- },
- },
- series: [
- {
- type: "radar",
- symbolSize: 5,
- symbol: "circle",
- tooltip: {
- trigger: "none",
- },
- itemStyle: {
- normal: {
- label: {
- show: false,
- formatter: function (params) {
- if (params.value !== 0) {
- return params.value + "件";
- } else {
- return "";
- }
- },
- color: "#ffffff",
- fontSize: 10,
- distance: 0,
- },
- },
- },
- areaStyle: {
- normal: {
- color: {
- type: "radial",
- x: 0.5,
- y: 0.5,
- r: 0.5,
- colorStops: [
- {
- offset: 0,
- color: "rgba(32,126,255, 0.5)", // 0% 处的颜色
- },
- {
- offset: 1,
- color: "rgba(32,126,255, 0.1)", // 100% 处的颜色
- },
- ],
- global: false, // 缺省为 false
- },
- },
- },
- data: [
- {
- value: data,
- },
- {
- value: data1,
- itemStyle: {
- color: "#2e64ff",
- },
- lineStyle: {
- color: "transparent", //设置折线的颜色
- },
- },
- {
- value: data2,
- itemStyle: {
- color: "#f0d418",
- },
- lineStyle: {
- color: "transparent", //设置折线的颜色
- },
- },
- {
- value: data3,
- itemStyle: {
- color: "#ff9b42",
- },
- lineStyle: {
- color: "transparent", //设置折线的颜色
- },
- },
- {
- value: data4,
- itemStyle: {
- color: "#ff6b6b",
- },
- lineStyle: {
- color: "transparent", //设置折线的颜色
- },
- },
- {
- value: data5,
- itemStyle: {
- color: "#8e42ff",
- },
- lineStyle: {
- color: "transparent", //设置折线的颜色
- },
- },
- {
- value: data6,
- itemStyle: {
- color: "#00e4ff",
- },
- lineStyle: {
- color: "transparent", //设置折线的颜色
- },
- },
- {
- value: [0, 0, 0, 0, 0, 0],
- // name: '违章占比',
- symbolSize: 5,
- itemStyle: {
- color: "rgba(40, 97, 132)",
- },
- },
- ],
- zlevel: 10,
- z: 4,
- },
- {
- type: "pie",
- startAngle: 90,
- clockwise: false, //逆时针
- data: areaData.map((item) => {
- return {
- name: item.name,
- value: item.value,
- };
- }),
- radius: ["45%", "60%"],
- zlevel: -1,
- label: {
- normal: {
- formatter: "{d}%",
- position: "top",
- fontSize: "12",
- color: "#fff",
- },
- },
- },
- ],
- };
- myChart.setOption(option);
- }
- })
- },
- //事件统计chart
- sjChart(industry=0,status=true) {
- var myChart = echarts.init(document.getElementById("sjChart"));
- expediteOrSuperviseCount().then(res => {
- if(res.data){
- this.eventStatisticsData = res.data.numList || []
- // 整理事件督办数据,填充事件督办图表
- this.superviselabels = res.data.itemLabel
- this.superviseCount = res.data.superviseCount
- this.hyChart()
- let eventInfoOfIndustry = []
- res.data.itemLabel.forEach((e,idx) => {
- eventInfoOfIndustry.push({
- label:e,
- superviseCount:res.data.superviseCount[idx],
- expediteCount:res.data.expediteCount[idx]
- })
- })
- this.eventInfoOfIndustry = eventInfoOfIndustry
- var rich = {
- white: {
- color: "#ddd",
- align: "center",
- padding: [2, 0],
- },
- };
- var placeHolderStyle = {
- normal: {
- label: {
- show: false,
- },
- labelLine: {
- show: false,
- },
- color: "rgba(0, 0, 0, 0)",
- borderColor: "rgba(0, 0, 0, 0)",
- borderWidth: 0,
- },
- };
- var data = [];
- var color = [
- "#f0af7a",
- "#00cfff",
- "#c5f07a",
- "#7af0aa",
- "#f35b5b",
- "#006ced",
- ];
- for (var i = 0; i < eventInfoOfIndustry.length; i++) {
- data.push({
- value: eventInfoOfIndustry[i].expediteCount,
- name: eventInfoOfIndustry[i].label,
- itemStyle: {
- normal: {
- borderWidth: 8,
- shadowBlur: 16,
- borderColor: color[i],
- shadowColor: color[i],
- },
- },
- }, {
- value: 2,
- name: "",
- itemStyle: placeHolderStyle,
- });
- }
- var seriesObj = [{
- name: "",
- type: "pie",
- clockWise: false,
- radius: [45, 50],
- hoverAnimation: false,
- itemStyle: {
- normal: {
- label: {
- show: true,
- position: "outside",
- color: "#ddd",
- formatter: function(params) {
- var percent = 0;
- var total = 0;
- for (var i = 0; i < eventInfoOfIndustry.length; i++) {
- total += eventInfoOfIndustry[i].expediteCount;
- }
- if (params.name !== "") {
- return params.name + "\n" + params.value;
- } else {
- return "";
- }
- },
- rich: rich,
- },
- labelLine: {
- length: 6,
- length2: 14,
- show: true,
- color: "#00ffff",
- },
- },
- },
- data: data,
- }, ];
- var option = {
- title: [{
- text: "事件总数",
- x: "center",
- top: "52%",
- textStyle: {
- color: "#FFFFFF",
- fontSize: 14,
- fontWeight: "100",
- },
- },
- {
- text: (res.data.expediteCount.reduce((total, item) => total + item, 0)) + '' || '0',
- x: "center",
- top: "30%",
- textStyle: {
- fontSize: "20",
- color: "#FFFFFF",
- fontFamily: "DINAlternate-Bold, DINAlternate",
- foontWeight: "600",
- },
- },
- ],
- tooltip: {
- show: false,
- },
- legend: {
- show: false,
- },
- toolbox: {
- show: false,
- },
- series: seriesObj,
- };
- myChart.setOption(option);
- }
- })
- },
- hyChart() {
- var myChart = echarts.init(document.getElementById("hyChart"));
- var xData = this.superviselabels;
- var yData = this.superviseCount;
- var option = {
- color: ["#3398DB"],
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "line",
- lineStyle: {
- opacity: 0,
- },
- },
- formatter: function(prams) {
- return "行业数量" + ':' + prams[0].data;
- },
- },
- grid: {
- left: "0%",
- right: "0%",
- bottom: "0",
- top: "20%",
- height: "75%",
- containLabel: true,
- z: 22,
- },
- xAxis: [{
- type: "category",
- gridIndex: 0,
- data: xData,
- axisTick: {
- alignWithLabel: true,
- },
- axisLine: {
- lineStyle: {
- color: "#0c3b71",
- },
- },
- axisLabel: {
- show: true,
- color: "rgb(170,170,170)",
- fontSize: 14,
- },
- }, ],
- yAxis: [{
- type: "value",
- gridIndex: 0,
- splitLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLine: {
- lineStyle: {
- color: "#0c3b71",
- },
- },
- axisLabel: {
- color: "rgb(170,170,170)",
- formatter: "{value}",
- },
- },
- {
- type: "value",
- gridIndex: 0,
- splitNumber: 15,
- splitLine: {
- show: false,
- },
- axisLine: {
- show: false,
- },
- axisTick: {
- show: false,
- },
- axisLabel: {
- show: false,
- },
- splitArea: {
- show: true,
- areaStyle: {
- color: ["rgba(250,250,250,0.0)", "rgba(250,250,250,0.05)"],
- },
- },
- },
- ],
- series: [{
- name: "计划数",
- type: "bar",
- barWidth: "20%",
- xAxisIndex: 0,
- yAxisIndex: 0,
- label: {
- normal: {
- show: true,
- position: "top",
- textStyle: {
- color: "#ffc72b",
- fontSize: 14,
- },
- },
- },
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
- offset: 0,
- color: "#00feff",
- },
- {
- offset: 0.5,
- color: "#027eff",
- },
- {
- offset: 1,
- color: "#0286ff",
- },
- ]),
- },
- },
- data: yData,
- zlevel: 11,
- },
- {
- name: "背景",
- type: "bar",
- barWidth: "50%",
- xAxisIndex: 0,
- yAxisIndex: 1,
- barGap: "-135%",
- data: [100, 100, 100, 100, 100, 100, 100],
- itemStyle: {
- normal: {
- color: "rgba(255,255,255,0.2)",
- },
- },
- zlevel: 9,
- },
- ],
- };
- myChart.setOption(option);
- },
- // 年度任务
- ndChart(industry) {
- var myChart = echarts.init(document.getElementById("ndChart"));
- annualPlanCount(industry).then(res => {
- if(res.data){
- this.yearlyTaskStatisticsTotal = ((res.data.counts.reduce((total, item) => total + item, 0)));
- var option = {
- animation: true,
- grid: {
- top: "15%",
- bottom: "20%",
- right: "5%",
- },
- tooltip: {
- show: true,
- },
- xAxis: {
- data: res.data.names,
- axisLine: {
- show: false, //隐藏X轴轴线
- },
- axisTick: {
- show: false, //隐藏X轴轴线
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: "rgba(77, 128, 254, 0.2)",
- width: 2,
- },
- },
- axisLabel: {
- show: true,
- interval: 0,
- // margin: 14,
- fontSize: 12,
- textStyle: {
- color: "#a8d5ff", //X轴文字颜色
- },
- },
- },
- yAxis: [
- {
- type: "value",
- gridIndex: 0,
- min: 0,
- //max: 100,
- interval: 100,
- // splitNumber: 4,
- splitLine: {
- show: true,
- lineStyle: {
- color: "rgba(77, 128, 254, 0.2)",
- width: 2,
- },
- },
- axisTick: {
- show: false,
- },
- axisLine: {
- show: true,
- lineStyle: {
- color: "rgba(77, 128, 254, 0.2)",
- },
- },
- axisLabel: {
- show: true,
- margin: 14,
- fontSize: 13,
- textStyle: {
- color: "#a8d5ff",
- },
- },
- },
- ],
- series: [
- {
- name: "年度任务",
- type: "bar",
- barWidth: 16,
- itemStyle: {
- normal: {
- label: {
- show: true, //开启显示
- position: "top", //在上方显示
- textStyle: {
- //数值样式
- color: "#fff",
- fontSize: 12,
- },
- },
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "rgba(146, 225, 255, 1)",
- },
- {
- offset: 1,
- color: "rgba(0, 151, 251, 1)",
- },
- ]),
- },
- },
- data: res.data.counts || [],
- z: 10,
- zlevel: 0,
- },
- {
- // 分隔
- type: "pictorialBar",
- itemStyle: {
- normal: {
- color: "#0F375F",
- },
- },
- symbolRepeat: "fixed",
- symbolMargin: 6,
- symbol: "rect",
- symbolClip: true,
- symbolSize: [18, 2],
- symbolPosition: "start",
- symbolOffset: [1, 1],
- data: res.data.counts || [],
- width: 2,
- z: 0,
- zlevel: 1,
- },
- {
- // name: "外框",
- type: "bar",
- barGap: "-110%", // 设置外框粗细
- data: res.data.counts || [],
- barWidth: 16,
- itemStyle: {
- normal: {
- color: "transparent", // 填充色
- // barBorderRadius: 0, //圆角半径
- label: {
- // 标签显示位置
- show: false,
- position: "top", // insideTop 或者横向的 insideLeft
- },
- },
- },
- z: 0,
- },
- {
- name: "背影",
- type: "line",
- smooth: true, //平滑曲线显示
- showAllSymbol: false, //显示所有图形。
- symbolSize: 0,
- lineStyle: {
- width: 0,
- },
- areaStyle: {
- color: "rgba(0, 151, 251, 0.1)",
- },
- data: res.data.counts || [],
- z: 5,
- },
- ],
- // dataZoom: [
- // {
- // type: "slider",
- // show: false,
- // xAxisIndex: [0],
- // endValue: 14,
- // startValue: 0
- // }
- // ]
- };
- myChart.setOption(option);
- }
- })
- myChart.on('click', function (params) {
- window.open('/rwList');
- });
- },
- // 风险管理
- fxglchart() {
- var myChart = echarts.init(document.getElementById("fxglchart"));
- var option = {
- tooltip: {
- //提示框组件
- trigger: "axis",
- formatter: "{b}<br />{a2}: {c2}<br />{a1}: {c1}<br />{a5}: {c5}",
- axisPointer: {
- type: "shadow",
- label: {
- backgroundColor: "rgba(17, 27, 54, 1)",
- },
- },
- textStyle: {
- color: "#fff",
- fontStyle: "normal",
- fontFamily: "微软雅黑",
- fontSize: 12,
- },
- },
- grid: {
- left: "4%",
- right: "8%",
- bottom: "2%",
- top: "23%",
- // padding:'0 0 10 0',
- containLabel: true,
- },
- legend: {
- //图例组件,颜色和名字
- right: "10%",
- top: "0%",
- itemGap: 16,
- itemWidth: 18,
- itemHeight: 10,
- selectedMode: false,
- data: [
- "一级风险",
- "二级风险",
- "三级风险",
- "四级风险",
- ],
- textStyle: {
- color: "#08f1f8",
- fontStyle: "normal",
- fontFamily: "微软雅黑",
- fontSize: 12,
- },
- },
- xAxis: [
- {
- type: "category",
- // boundaryGap: true,//坐标轴两边留白
- data: [
- "管廊",
- "供水",
- "排水",
- "桥梁",
- "热力",
- "燃气",
- ],
- axisLabel: {
- //坐标轴刻度标签的相关设置。
- // interval: 0,//设置为 1,表示『隔一个标签显示一个标签』
- // margin:15,
- textStyle: {
- color: "#078ceb",
- fontStyle: "normal",
- fontFamily: "微软雅黑",
- fontSize: 12,
- },
- rotate: 0,
- },
- axisTick: {
- //坐标轴刻度相关设置。
- show: false,
- },
- axisLine: {
- //坐标轴轴线相关设置
- lineStyle: {
- color: "rgba(255,255,255,0.4)",
- },
- },
- //splitLine: {
- // show: true,
- // lineStyle: {
- // color: 'rgba(255,255,255,0.2)',
- // }
- // },
- },
- ],
- yAxis: [
- {
- type: "value",
- splitNumber: 5,
- axisLabel: {
- textStyle: {
- color: "#078ceb",
- fontStyle: "normal",
- fontFamily: "微软雅黑",
- fontSize: 12,
- },
- },
- axisLine: {
- lineStyle: {
- color: "rgba(255,255,255,0.4)",
- },
- },
- axisTick: {
- show: false,
- },
- splitLine: {
- show: true,
- lineStyle: {
- color: ["#fff"],
- opacity: 0.06,
- },
- },
- },
- ],
- series: [
- {
- name: "",
- type: "pictorialBar",
- symbolSize: [24, 10],
- symbolOffset: [-36, -5],
- symbolPosition: "end",
- z: 12,
- // "barWidth": "0",barGap
- label: {
- normal: {
- show: true,
- offset: [-36, 0],
- position: "top",
- textAlign: "left",
- formatter: function (data) {
- if (data.value === 0) {
- return "";
- }
- return data.value + "%";
- },
- fontSize: 12,
- color: "rgba(51,135,255, 1)",
- },
- },
- color: "rgba(51,135,255, 1)",
- data: [15, 51, 8, 46, 15, 51, 8, 46, 15, 51],
- },
- {
- name: "一级风险",
- type: "bar",
- data: [15, 51, 8, 46, 15, 51, 8, 46, 15, 51],
- barWidth: 24,
- barGap: 20, //柱间距离
- itemStyle: {
- normal: {
- show: true,
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "rgba(51,135,255, 1)",
- },
- {
- offset: 1,
- color: "rgba(51,135,255, .2)",
- },
- ]),
- opacity: 0.8,
- },
- },
- },
- {
- name: "", //头部
- type: "pictorialBar",
- symbolSize: [24, 10],
- symbolOffset: [-12, -5],
- z: 12,
- symbolPosition: "end",
- // itemStyle:{
- // color:'rgba(51,135,255, 1)',
- // opacity:1,
- // },
- label: {
- normal: {
- offset: [-12, 0],
- show: true,
- position: "top",
- // "formatter": "{c}%",
- fontSize: 12,
- color: "#4acf6f",
- formatter: function (data) {
- if (data.value === 0) {
- return "";
- }
- return data.value + "%";
- },
- },
- },
- color: "#4acf6f",
- data: [65, 45, 24, 48, 65, 45, 24, 48, 65, 45],
- },
- {
- name: "二级风险",
- type: "bar",
- barWidth: 24,
- barGap: "20",
- z: 0,
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "rgba(52, 209, 135, 1)",
- },
- {
- offset: 1,
- color: "rgba(52, 209, 135, 0)",
- },
- ]),
- opacity: 0.8,
- },
- },
- data: [65, 45, 24, 48, 65, 45, 24, 48, 65, 45],
- },
- {
- name: "",
- type: "pictorialBar",
- symbolSize: [24, 10],
- symbolOffset: [12, -5],
- symbolPosition: "end",
- z: 12,
- // "barWidth": "0",barGap
- label: {
- normal: {
- offset: [12, 0],
- show: true,
- position: "top",
- // "formatter": "{c}%",
- fontSize: 12,
- color: "#f09f38",
- formatter: function (data) {
- if (data.value === 0) {
- return "";
- }
- return data.value + "%";
- },
- },
- },
- color: "#f09f38",
- data: [18, 4, 60, 6, 18, 4, 60, 6, 18, 4],
- },
- {
- name: "三级风险",
- type: "bar",
- data: [18, 4, 60, 6, 18, 4, 60, 6, 18, 4],
- barWidth: 24,
- barGap: "0", //柱间距离
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "rgba(228, 131, 38, 1)",
- },
- {
- offset: 1,
- color: "rgba(228, 131, 38, 0)",
- },
- ]),
- opacity: 0.8,
- },
- },
- },
- {
- name: "",
- type: "pictorialBar",
- symbolSize: [24, 10],
- symbolOffset: [36, -5],
- symbolPosition: "end",
- z: 12,
- // "barWidth": "0",barGap
- label: {
- normal: {
- offset: [36, 0],
- show: true,
- position: "top",
- formatter: function (data) {
- if (data.value === 0) {
- return "";
- }
- return data.value + "%";
- },
- fontSize: 12,
- color: "#d9302e",
- },
- },
- color: "#d9302e",
- data: [2, 0, 8, 0, 2, 0, 8, 0, 2, 0],
- },
- {
- name: "三级风险",
- type: "bar",
- data: [2, 0, 8, 0, 2, 0, 8, 0, 2, 0],
- barWidth: 24,
- barGap: "0", //柱间距离
- itemStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: "rgba(196, 46, 45, 1)",
- },
- {
- offset: 1,
- color: "rgba(196, 46, 45, 0)",
- },
- ]),
- opacity: 0.8,
- },
- },
- },
- ],
- };
- myChart.setOption(option);
- },
- getSuperMapUrl() {
- getUserProfile().then(response => {
- let mapDeptId = response.mapDeptId
- let num = 0;
- if (mapDeptId == "365") {
- num = 0;
- } else if (mapDeptId == "369") {
- num = 1;
- } else if (mapDeptId == "371") {
- num = 2;
- } else if (mapDeptId == "373") {
- num = 3;
- } else if (mapDeptId == "372") {
- num = 4;
- } else if (mapDeptId == "370") {
- num = 5;
- }
- this.$refs.supermap.removeAllviewer(mapDeptId, -1);
- });
- },
- toggleTab(current) {
- this.currentTab = current;
- this.currentClass = current;
- },
- handleCheckedCities(checkedOptions) {
- // checkedOptions 是当前选中的所有选项的数组
- this.$refs.supermap.addLifelineOpen(this.checkedOptions)
- },
- //开挖
- showExcavation() {
- this.$refs.supermap.excavation()
- },
- //开挖
- showExcavationAnalyze() {
- this.$refs.supermap.excavationAnalyze()
- },
- //测距
- choseMeasuringDistance() {
- this.$refs.supermap.choseMeasuringDistance()
- },
- //测面
- choseMeasuringArea() {
- this.$refs.supermap.choseMeasuringArea()
- },
- //测高
- choseMeasuringHeight() {
- this.$refs.supermap.choseMeasuringHeight()
- },
- //选择、框选
- boxSelection() {
- this.$refs.supermap.boxSelection()
- },
- //清除
- clearAll() {
- // 燃气-次高压
- if (this.$refs.twoDLayers_ranqi_height) {
- this.$refs.twoDLayers_ranqi_height.setCheckedKeys([]);
- }
- // 燃气-中压
- if (this.$refs.twoDLayers_ranqi_middle) {
- this.$refs.twoDLayers_ranqi_middle.setCheckedKeys([]);
- }
- // 燃气-低压
- if (this.$refs.twoDLayers_ranqi_low) {
- this.$refs.twoDLayers_ranqi_low.setCheckedKeys([]);
- }
- // 燃气-次高压
- if (this.$refs.threeDLayers_ranqi_height) {
- this.$refs.threeDLayers_ranqi_height.setCheckedKeys([]);
- }
- // 燃气-中压
- if (this.$refs.threeDLayers_ranqi_middle) {
- this.$refs.threeDLayers_ranqi_middle.setCheckedKeys([]);
- }
- // 燃气-低压
- if (this.$refs.threeDLayers_ranqi_low) {
- this.$refs.threeDLayers_ranqi_low.setCheckedKeys([]);
- }
- // 热力-一次
- if (this.$refs.twoDLayers_gongre_yici) {
- this.$refs.twoDLayers_gongre_yici.setCheckedKeys([]);
- }
- // 热力-二次
- if (this.$refs.twoDLayers_gongre_erci) {
- this.$refs.twoDLayers_gongre_erci.setCheckedKeys([]);
- }
- // 热力-直供
- if (this.$refs.twoDLayers_gongre_zhigong) {
- this.$refs.twoDLayers_gongre_zhigong.setCheckedKeys([]);
- }
- // 热力-一次
- if (this.$refs.threeDLayers_gongre_yici) {
- this.$refs.threeDLayers_gongre_yici.setCheckedKeys([]);
- }
- // 热力-二次
- if (this.$refs.threeDLayers_gongre_erci) {
- this.$refs.threeDLayers_gongre_erci.setCheckedKeys([]);
- }
- // 热力-直供
- if (this.$refs.threeDLayers_gongre_zhigong) {
- this.$refs.threeDLayers_gongre_zhigong.setCheckedKeys([]);
- }
- // 供水
- if (this.$refs.twoDLayers_gongshui) {
- this.$refs.twoDLayers_gongshui.setCheckedKeys([]);
- }
- // 供水
- if (this.$refs.threeDLayers_gongshui) {
- this.$refs.threeDLayers_gongshui.setCheckedKeys([]);
- }
- // 排水-雨水
- if (this.$refs.twoDLayers_paishui_yushui) {
- this.$refs.twoDLayers_paishui_yushui.setCheckedKeys([]);
- }
- // 排水-污水
- if (this.$refs.twoDLayers_paishui_wushui) {
- this.$refs.twoDLayers_paishui_wushui.setCheckedKeys([]);
- }
- // 排水-合流
- if (this.$refs.twoDLayers_paishui_heliu) {
- this.$refs.twoDLayers_paishui_heliu.setCheckedKeys([]);
- }
- // 排水-雨水
- if (this.$refs.threeDLayers_paishui_yushui) {
- this.$refs.threeDLayers_paishui_yushui.setCheckedKeys([]);
- }
- // 排水-污水
- if (this.$refs.threeDLayers_paishui_wushui) {
- this.$refs.threeDLayers_paishui_wushui.setCheckedKeys([]);
- }
- // 排水-合流
- if (this.$refs.threeDLayers_paishui_heliu) {
- this.$refs.threeDLayers_paishui_heliu.setCheckedKeys([]);
- }
- this.$refs.supermap.closeMeasuringAll()
- this.$refs.supermap.closeExcavationAll()
- this.$refs.supermap.closeClipboxByEditor()
- this.$refs.supermap.removeBoxSelection()
- this.checkedBaseDOptions = []
- this.$refs.supermap.reload(this.checkedBaseDOptions)
- this.checkedOptions = []
- this.$refs.supermap.addLifelineOpen(this.checkedOptions)
- }
- }
- }
- </script>
- <style lang="scss">
- @font-face {
- font-family: 'ds';
- src: url('../../assets/styles/DS-Digital_Bold.ttf') format('truetype'); /* 根据实际路径调整 */
- }
- .el-radio__input.is-checked .el-radio__inner {
- border-color: #406c9a;
- background: #406c9a;
- }
- .el-radio__inner {
- border: 1px solid #406c9a;
- background-color: #25405f;
- }
- .el-radio {
- color: #fff;
- }
- .el-radio__input.is-checked+.el-radio__label {
- color: #40daff;
- }
- /*弹层新样式*/
- .sj-dialog-newstyle {
- .el-dialog {
- background: #152d4f;
- border-radius: 10px;
- border: 2px solid #3c72c8;
- background: linear-gradient(90deg, #0c274a 0%, rgba(6, 24, 37, 0.9) 100%);
- .el-dialog__header {
- background: url(../../assets/index_img/d-icon-tit-img.png)no-repeat left;
- margin-left: 15px;
- box-shadow: none;
- .el-dialog__title {
- font-size: 18px;
- color: #fff;
- font-weight: bold;
- }
- }
- .el-dialog__body {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- }
- .sj-jcxx {
- width: 100%;
- display: flex;
- flex-direction: column;
- padding: 15px;
- border-radius: 10px;
- border: 1px solid #3c72c8;
- margin-bottom: 20px;
- .tit {
- width: fit-content;
- font-size: 16px;
- color: #fff;
- font-weight: bold;
- display: flex;
- align-items: center;
- border-bottom: 2px solid #93a9d5;
- }
- .sj-jcxx-con {}
- .sj-jcxx-con {
- color: #fff;
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- position: relative;
- .con-20 {
- width: 20%;
- font-size: 14px;
- display: flex;
- align-items: center;
- margin-top: 15px;
- img {
- width: 10px;
- height: 10px;
- margin-right: 5px;
- }
- }
- .con-50 {
- width: 50% !important;
- }
- .con-100 {
- width: 100% !important;
- }
- .or {
- color: #ff9a6d;
- }
- .bl {
- color: #42f8ff
- }
- .z-line {
- width: 100%;
- height: 2px;
- background: #4e6b9a;
- z-index: 9;
- position: absolute;
- top: 32px;
- }
- .triangle {
- width: 0;
- height: 0;
- border-top: 11px solid transparent;
- /* 左侧透明 */
- border-bottom: 11px solid transparent;
- /* 右侧透明 */
- border-left: 16px solid #4e6b9a;
- /* 底部为黑色,形成三角形 */
- position: absolute;
- top: 22px;
- right: -2px;
- }
- .m60 {
- margin-left: 60px;
- }
- .z-lc {
- width: 22%;
- display: flex;
- flex-direction: column;
- z-index: 10;
- justify-content: start;
- align-items: start;
- top: 17px;
- img {
- width: 51px;
- height: 51px;
- }
- h5 {
- font-size: 14px;
- position: relative;
- bottom: 0;
- }
- .z-lc-time {
- background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%);
- border-radius: 50px;
- font-size: 12px;
- padding: 0 5px;
- line-height: 23px;
- color: #fff;
- position: absolute;
- left: 115px;
- top: 22px
- }
- .z-clyj {
- position: absolute;
- left: 240px;
- top: 16px;
- img {
- width: 35px;
- height: 35px;
- }
- }
- }
- }
- }
- }
- .sj-tooltip {
- background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%) !important;
- border: 1px solid #264fa2 !important;
- .popper__arrow {
- border-top-color: #345ead !important;
- }
- .popper__arrow::after {
- border-top-color: #345ead !important;
- }
- .info-list {
- display: flex;
- flex-direction: column;
- }
- }
- /*公共*/
- .list-ul-style-tit {
- width: 414px;
- height: 38px;
- background: url(../../assets/index_img/list-bg-img-t.png) no-repeat;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 10px !important;
- background-size: contain;
- padding: 0 10px !important;
- color: #a2d4ef;
- text-align: center;
- span:nth-child(1) {
- width: 40px;
- }
- span:nth-child(2) {
- width: 70%;
- text-align: left;
- }
- span:nth-child(3) {
- width: 65px;
- }
- span:nth-child(2n) {
- color: #fff;
- }
- }
- .list-ul-style {
- li {
- width: 410px;
- height: 50px;
- background: url(../../assets/index_img/list-bg-img-1.png) no-repeat;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 10px;
- padding: 0 10px !important;
- text-align: center;
- transition: all 0.5s ease-in-out;
- cursor: pointer;
- span:nth-child(1) {
- width: 40px;
- }
- span:nth-child(2) {
- width: 70%;
- text-align: left;
- }
- span:nth-child(3) {
- width: 65px;
- }
- span:nth-child(2n) {
- color: #fff;
- }
- }
- li:nth-child(2n) {
- background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
- }
- li:hover {
- filter: brightness(200%);
- transform: translateX(8px);
- }
- }
- .title-bar-pop {
- width: 100%;
- height: 38px;
- background: url(../../assets/index_img/tit-img.png) no-repeat left top;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .num {
- width: 88px;
- height: 27px;
- background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
- border-radius: 5px;
- line-height: 27px;
- text-align: center;
- font-weight: bold;
- margin-top: 7px;
- }
- span {
- font-size: 20px;
- color: #EFF2FF;
- font-family: ysbth;
- line-height: 40px;
- background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- margin-left: 55px;
- }
- }
- /*行业数据完整度*/
- .hysj{
- margin-bottom: 15px!important;
- height: 220px!important;
- .hysj_div{
- justify-content: space-around;
- #hysj_div_chart1,#hysj_div_chart2,#hysj_div_chart3,
- #hysj_div_chart4,#hysj_div_chart5,#hysj_div_chart6{
- width: 180px;
- height: 75px;
- }
- p{
- font-size: 12px;
- color: #fff;
- text-align: center;
- b{
- font-family: 'almmsht';
- font-size: 16px;
- background: -webkit-linear-gradient(bottom,#fff,#53c4ff); /* Chrome, Safari */
- background: linear-gradient(bottom,#fff,#53c4ff); /* 标准语法 */
- -webkit-background-clip: text; /* Chrome, Safari */
- background-clip: text;
- -webkit-text-fill-color: transparent; /* Chrome, Safari */
- color: transparent; /* 兼容不支持background-clip的浏览器 */
- /*box-shadow: 0px 0px 5px #3063ca;*/
- margin-left: 8px;
- font-weight: bold;
- }
- }
- }
- }
- /*巡检及隐患*/
- .xjjyh{
- margin-bottom: 15px!important;
- height: 170px!important;
- .xjjyh_div{
- justify-content: space-around;
- .xjjyh_div_con{
- background: url("../../assets/index_img/jgpt_iconbg.png") no-repeat center;
- background-size: 100% 100%;
- width: 164px;
- height: 71px;
- padding: 5px 8px;
- .xjjyh_img{
- margin-right: 5px;
- img{
- display: block;
- }
- p{
- font-size: 12px;
- height: 18px;
- line-height: 18px;
- text-align: center;
- }
- }
- .xjjyh_txt{
- display: flex;
- flex-direction: column;
- h4{
- height: 20px;
- line-height: 20px;
- span{
- font-size: 12px;
- margin-right: 5px;
- }
- i{
- font-size: 12px;
- color: #00bffe;
- }
- }
- img{
- margin: 5px 0px;
- }
- }
- }
- }
- }
- /*预警管理*/
- .yjgl{
- .yjgl_div_tit{
- display: flex;
- flex-direction: row;
- justify-items: center;
- width: 100%;
- span{
- font-size: 14px;
- color: #fff;
- line-height: 25px;
- }
- b{
- font-family: 'ds';
- color: #00bffe;
- display: inline-block;
- border:1px solid #507a84;
- margin-right: 5px;
- font-size: 22px;
- padding: 0px 5px;
- }
- }
- #yjgl_chart{
- width: 340px;
- height: 184px;
- }
- .yjgl_list{
- p{
- border-bottom: 1px dashed #e9f8ff;
- width: 150px;
- height: 28px;
- line-height: 25px;
- padding-left: 20px;
- position: relative;
- b{
- float: right;
- font-size: 12px;
- text-shadow: 0px 0px 5px #207bbe;
- }
- }
- p::after{
- content: "";
- display: block;
- width: 10px;
- height: 6px;
- position: absolute;
- left: 0px;
- top: 9px;
- border-radius: 2px;
- }
- p:nth-child(1)::after{
- background: #2e64ff;
- }
- p:nth-child(2)::after{
- background: #f0d418;
- }
- p:nth-child(3)::after{
- background: #ff9b42;
- }
- p:nth-child(4)::after{
- background: #ff6b6b;
- }
- p:nth-child(5)::after{
- background: #8e42ff;
- }
- p:nth-child(6)::after{
- background: #00e4ff;
- }
- }
- }
- /*预警统计*/
- .sjtj{
- margin-bottom: 15px!important;
- height: 150px!important;
- }
- #sjChart{
- height: 130px!important;
- }
- /*年度任务*/
- .ndrw{
- margin-bottom: 15px!important;
- height: 135px!important;
- }
- #ndChart{
- height: 130px!important;
- }
- /*风险管理*/
- .fxgl{
- margin-bottom: 15px!important;
- height: 165px!important;
- }
- #fxglchart{
- width: 100%;
- height: 220px;
- }
- /*预案管理*/
- .yagl{
- height: 155px!important;
- display: block;
- flex-direction: inherit!important;
- .hei_scroll{
- height: 130px;
- overflow-y: scroll;
- .yagl_div{
- width: 49%;
- float: left;
- margin-bottom: 10px;
- cursor: pointer;
- img{
- float: left;
- margin-right: 5px;
- }
- .yagl_div_txt{
- float: right;
- width: 190px;
- p{
- font-size: 14px;
- font-weight: bold;
- color: #fff;
- }
- span{
- font-size: 12px;
- color: #ceeffc;
- }
- }
- }
- }
- }
- /*图层切换*/
- /*资源*/
- .zy-icon {
- width: 68px;
- height: 68px;
- border-radius: 50%;
- border: 1px solid transparent;
- background-image: linear-gradient(0deg, rgba(21, 65, 118, 0.1) 0%, rgba(7, 23, 43, 0.2) 0%),
- linear-gradient(0deg, rgba(181, 233, 255, 0.5) 0%, #164271 100%);
- background-origin: border-box;
- background-clip: content-box, border-box;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- position: absolute;
- left: 570px;
- bottom: 65px;
- z-index: 100;
- transition: all 0.3s ease-in-out;
- cursor: pointer;
- font-size: 12px;
- img {
- width: 28px;
- height: 22px;
- }
- }
- .zy-icon:hover {
- filter: brightness(120%) hue-rotate(-10deg);
- }
- /*资源*/
- .zy-con-body {
- background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
- border-radius:20px;
- display: flex;
- color: #fff;
- z-index: 99;
- border: 1px solid #2A6DCD;
- padding: 10px 20px;
- max-width:500px !important;
- }
- // .el-tab-pane{
- // height: 80px;
- // overflow: auto;
- // }
- /*地图工具*/
- .map_tab{
- position: absolute;
- right:570px;
- bottom:40px;
- div{
- background: url("../../assets/index_img/jgpt_iconbg2.png") no-repeat;
- background-size: 100% 100%;
- width: 27px;
- height: 27px;
- border-radius: 8px;
- margin-bottom: 5px;
- border: none;
- cursor: pointer;
- img{
- display: block;
- margin: 6px auto;
- }
- }
- }
- .sj-select-50 {
- width: 49% ;
- margin-top: 5px !important;
- .el-input {}
- .el-input__inner {
- height: 30px;
- line-height: 30px;
- background-color: rgba(12, 44, 80, 0.52);
- border: 1px solid #326e96;
- color: #0fc0ee;
- }
- .el-input__icon {
- line-height: 30px;
- }
- .el-select .el-input .el-select__caret {
- color: #6996c6;
- }
- }
- .sj-input-style {
- margin-top: 5px !important;
- .el-input__inner {
- height: 30px;
- line-height: 30px;
- background-color: rgba(12, 44, 80, 0.52);
- border: 1px solid #326e96;
- color: #0fc0ee;
- }
- .el-input__icon {
- line-height: 30px;
- }
- }
- .sj-select {
- margin: 0 10px !important;
- .el-input {
- width: 120px !important;
- }
- .el-input__inner {
- height: 30px;
- line-height: 30px;
- background-color: rgba(12, 44, 80, 0.52);
- border: 1px solid #326e96;
- color: #0fc0ee;
- }
- .el-input__icon {
- line-height: 30px;
- }
- .el-select .el-input .el-select__caret {
- color: #6996c6;
- }
- }
- .sj-pop-con {
- width: 437px !important;
- background: linear-gradient(0deg, rgba(12, 36, 66, 0.8) 0%, #1D5592 100%);
- border: 1px solid #326e96;
- color: #fff;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- .popper__arrow::after {
- border-left-color: #42eb88 !important
- }
- .popper__arrow {
- border-left-color: #42eb88 !important
- }
- }
- .sj-s-pop {
- background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
- border: 1px solid #326e96;
- .el-select-dropdown__item {
- color: #fff;
- }
- .el-select-dropdown__item.hover,
- .el-select-dropdown__item:hover {
- background: linear-gradient(0deg, rgba(25, 78, 143, 0.5) 0%, #2d8dec 100%);
- }
- .popper__arrow::after {
- border-top-color: #178cd6 !important
- }
- .popper__arrow {
- border-top-color: #178cd6 !important
- }
- }
- .el-popper[x-placement^=right] .popper__arrow::after,
- .el-popper[x-placement^=right] .popper__arrow {
- border-right-color: #2A6DCD;
- }
- /*tab*/
- .content-box .el-tabs__item {
- border-radius: 5px;
- height: 26px;
- line-height: 26px;
- background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
- padding: 0 10px;
- }
- .content-box .el-tabs--top .el-tabs__item.is-top:last-child {
- padding-left: 10px;
- padding-right: 10px;
- }
- .content-box .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
- padding: 0 10px;
- }
- .content-box .el-tabs__nav-next,
- .content-box .el-tabs__nav-prev {
- line-height: 26px;
- }
- .content-box .sj-top-tab .el-tabs__header {
- position: absolute;
- top: -32px;
- right: 0px;
- }
- .content-box .sj-top-tab2 .el-tabs__header {
- position: absolute;
- top: -32px;
- right: 200px;
- }
- .content-box .el-tabs__item.is-active {
- background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
- border-radius: 5px;
- border: 1px solid transparent;
- }
- /*btn*/
- .sj-btn-icon-h {
- width: 100px !important;
- height: 30px !important;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0 !important;
- background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
- border-radius: 5px;
- color: #fff;
- border: 1px solid #3261b5 !important;
- }
- .sj-btn-icon-h:hover {
- color: #fff;
- background: linear-gradient(0deg, #75F8D2 0%, #4e7cb1 50%, #50dfdf 100%) !important;
- }
- .sj-btn-icon-h:focus {
- color: #fff;
- }
- .sj-btn-icon {
- width: 100px !important;
- height: 30px !important;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0 !important;
- background: linear-gradient(90deg, #214D8C 1%, rgba(14, 52, 93, 1) 100%);
- border-radius: 5px;
- color: #fff;
- border: 1px solid #3261b5 !important;
- span {
- img {
- margin-right: 5px;
- }
- display: flex;
- justify-content: center;
- align-items: center;
- }
- }
- .sj-btn-icon:hover {
- background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
- color: #fff !important;
- }
- .sj-btn-icon:focus {
- background-color: #75F8D2 !important;
- color: #fff !important;
- border: 1px solid #75F8D2 !important;
- }
- /*normal tab*/
- /*tab*/
- .content-box2 .el-tabs__item {
- border-radius: 100px;
- height: 26px;
- line-height: 26px;
- background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
- padding: 0 10px;
- }
- .content-box2 .el-tabs--top .el-tabs__item.is-top:last-child {
- padding-left: 10px;
- padding-right: 10px;
- }
- .content-box2 .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
- padding: 0 10px;
- }
- .content-box2 .el-tabs__nav-next,
- .content-box2 .el-tabs__nav-prev {
- line-height: 26px;
- }
- .content-box2 .sj-top-tab .el-tabs__header {}
- .content-box2 .sj-top-tab2 .el-tabs__header {}
- .content-box2 .el-tabs__item.is-active {
- background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
- border-radius: 100px;
- border: 1px solid transparent;
- }
- .el-tabs__item {
- padding: 0 15px;
- height: 30px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- line-height: 30px;
- display: inline-block;
- list-style: none;
- font-size: 14px;
- font-weight: 500;
- color: #fff;
- position: relative;
- border-radius: 20px;
- }
- .content-box .el-checkbox {
- margin-right: 15px !important;
- }
- .content-box .el-checkbox__inner {
- border: 1px solid #0fc5f2;
- width: 13px;
- height: 13px;
- background: none;
- }
- .content-box .el-checkbox__label {
- color: #b9e4ef;
- }
- .content-box .el-checkbox__inner::after {
- border-color: #0fc5f2;
- }
- .content-box .el-checkbox__input.is-checked .el-checkbox__inner,
- .content-box .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- border-color: #0fc0ee;
- background: none;
- }
- .content-box .el-checkbox__input.is-checked+.el-checkbox__label {
- color: #0fc5f2;
- }
- .content-box .el-checkbox__input.is-disabled .el-checkbox__inner {
- background-color: #628c91;
- border-color: #407983;
- cursor: not-allowed;
- }
- /*正常tab*/
- /*form*/
- .sj-form {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- /*radio*/
- .sj-radio {
- margin-top: 5px !important;
- }
- .sj-radio .el-radio-button__inner {
- padding: 0 15px;
- height: 26px;
- line-height: 26px;
- background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
- color: #fff;
- border: none;
- border-left: none !important;
- }
- .sj-radio .el-radio-button__orig-radio:checked+.el-radio-button__inner {
- height: 26px;
- line-height: 26px;
- background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
- border: 1px solid transparent;
- }
- .mar-left {
- margin-left: 20px !important;
- }
- /*checkbox*/
- .sj-check {
- margin-top: 5px !important;
- }
- .sj-check .el-checkbox {
- margin-right: 10px;
- }
- .sj-check .el-checkbox__label {
- color: #fff;
- padding-left: 5px;
- }
- .sj-check .el-checkbox__inner {
- background: #192c40;
- border: 1px solid #3a86ce;
- }
- .sj-check .el-checkbox__input.is-checked .el-checkbox__inner,
- .sj-check .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- border: 1px solid #2acdb4;
- background: #192c40;
- }
- .sj-check .el-checkbox__input.is-checked+.el-checkbox__label {
- color: #00ffee;
- }
- /* 为不同类型的选择框定义不同的颜色 */
- //燃气高压
- .layers_ranqi_height{
- .el-tree-node__expand-icon{
- color: #e23922;
- }
- .el-tree-node__content:hover {
- background-color: rgba(226, 57, 34, 0.4);
- }
- .el-tree-node:focus {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #e23922;
- background: rgba(226, 57, 34, 0.28);
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgba(226, 57, 34, 0.4);
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgba(226, 57, 34, 0.7);
- border-color: #e23922;
- }
- .el-checkbox__inner::after {
- border-color: #fff;
- }
- }
- /* 为不同类型的选择框定义不同的颜色 */
- //燃气高压
- .layers_ranqi_height{
- .el-tree-node__expand-icon{
- color: #e23922 !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #e23922 !important; /* 自定义背景色 */
- background: rgba(226, 57, 34, 0.28) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgba(226, 57, 34, 0.7) !important; /* 自定义背景色 */
- border-color: #e23922 !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //燃气中压
- .layers_ranqi_middle{
- .el-tree-node__expand-icon{
- color: #589fe3 !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #589fe3 !important; /* 自定义背景色 */
- background: rgba(88, 159, 227, 0.37) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color:rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- border: 1px solid #589fe3 !important; /* 自定义背景色 */
- background: rgba(88, 159, 227, 0.7) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //燃气低压
- .layers_ranqi_low{
- .el-tree-node__expand-icon{
- color: #57ad5c !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color:rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color:rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #57ad5c !important; /* 自定义背景色 */
- background: rgba(87, 173, 92, 0.27) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- border: 1px solid #57ad5c !important; /* 自定义背景色 */
- background: rgba(87, 173, 92, 0.7) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供热一次网
- .layers_gongre_yici{
- .el-tree-node__expand-icon{
- color: #e26c2e !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #e26c2e !important; /* 自定义背景色 */
- background: rgba(224, 107, 47, 0.28) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgb(224, 107, 47, 0.7) !important; /* 自定义背景色 */
- border-color: #e26c2e !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供热二次网
- .layers_gongre_erci{
- .el-tree-node__expand-icon{
- color: #f6e75a !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #f6e75a !important; /* 自定义背景色 */
- background: rgba(244, 229, 90, 0.37) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- border: 1px solid #f6e75a !important; /* 自定义背景色 */
- background: rgba(244, 229, 90, 0.7) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供热直供管
- .layers_gongre_zhigong{
- .el-tree-node__expand-icon{
- color: #eaa470 !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color:rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color:rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #eaa470 !important; /* 自定义背景色 */
- background: rgba(232, 163, 112, 0.27) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- border: 1px solid #eaa470 !important; /* 自定义背景色 */
- background: rgba(232, 163, 112, 0.7) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供水
- .layers_gongshui{
- .el-tree-node__expand-icon{
- color: #89f8e4 !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #89f8e4 !important; /* 自定义背景色 */
- background: rgba(136, 246, 227, 0.28) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgb(136, 246, 227, 0.7) !important; /* 自定义背景色 */
- border-color: #89f8e4 !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供水-雨水
- .layers_paishui_yushui{
- .el-tree-node__expand-icon{
- color: #a0dffa !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #a0dffa !important; /* 自定义背景色 */
- background: rgba(159, 221, 249, 0.28) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgb(159, 221, 249, 0.7) !important; /* 自定义背景色 */
- border-color: #a0dffa !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供水-污水
- .layers_paishui_wushui{
- .el-tree-node__expand-icon{
- color: #b7c843 !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #b7c843 !important; /* 自定义背景色 */
- background: rgba(182, 198, 67, 0.28) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgb(182, 198, 67, 0.7) !important; /* 自定义背景色 */
- border-color: #b7c843 !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- //供水-合流
- .layers_paishui_heliu{
- .el-tree-node__expand-icon{
- color: #2c3ec4 !important; /* 自定义背景色 */
- }
- .el-tree-node__content:hover {
- background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus {
- background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
- }
- .is-current:focus {
- background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
- }
- .is-focusable:focus {
- background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
- }
- .el-tree-node:active {
- background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__inner {
- border: 1px solid #2c3ec4 !important; /* 自定义背景色 */
- background: rgba(44, 62, 195, 0.28) !important; /* 自定义背景色 */
- }
- .el-tree-node:focus > .el-tree-node__content {
- background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
- }
- .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
- background-color: rgb(44, 62, 195, 0.7) !important; /* 自定义背景色 */
- border-color: #2c3ec4 !important; /* 自定义背景色 */
- }
- .el-checkbox__inner::after {
- border-color: #fff !important; /* 自定义背景色 */
- }
- }
- </style>
- <style rel="stylesheet/scss" lang="scss" scoped>
- @import '@/assets/styles/base.scss';
- /*公共*/
- .list-ul-100-tit {
- width: 100% !important;
- background: url(../../assets/index_img/list-bg-img-t.png) no-repeat 100% !important;
- background-size: cover !important;
- height: 38px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 10px !important;
- background-size: contain;
- padding: 0 10px !important;
- color: #a2d4ef;
- text-align: center;
- span{
- display: inline-block;
- height: 38px;
- line-height: 38px;
- }
- span:nth-child(1) {
- width: 80px;
- padding-left: 20px;
- background: url("../../assets/index_img/jgpt_icon7.png") no-repeat 8px 12px;
- }
- span:nth-child(2) {
- width: 70%;
- text-align: left;
- }
- span:nth-child(3) {
- width: 65px;
- }
- span:nth-child(2n) {
- color: #fff;
- }
- }
- .hei_scroll_400{
- height: 400px;
- overflow-y: scroll;
- }
- .list-ul-100{
- li {
- width: 100% !important;
- background: url(../../assets/index_img/list-bg-img-1.png) no-repeat 100% !important;
- background-size: cover !important;
- height: 50px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 10px;
- padding: 0 10px !important;
- text-align: center;
- transition: all 0.5s ease-in-out;
- cursor: pointer;
- span:nth-child(1) {
- width: 80px;
- display: inline-block;
- padding-left: 20px;
- color: #fff;
- }
- span:nth-child(1).ps {
- background: url("../../assets/index_img/jcxt_ps.png") no-repeat 5px 2px;
- background-size: 21px;
- }
- span:nth-child(1).rq {
- background: url("../../assets/index_img/jcxt_rq.png") no-repeat 5px 2px;
- background-size: 21px;
- }
- span:nth-child(1).rl {
- background: url("../../assets/index_img/jcxt_rl.png") no-repeat 5px 2px;
- background-size: 21px;
- }
- span:nth-child(1).gl {
- background: url("../../assets/index_img/jcxt_gl.png") no-repeat 5px 2px;
- background-size: 21px;
- }
- span:nth-child(1).gs {
- background: url("../../assets/index_img/jcxt_gs.png") no-repeat 5px 2px;
- background-size: 21px;
- }
- span:nth-child(1).ql {
- background: url("../../assets/index_img/jcxt_ql.png") no-repeat 5px 2px;
- background-size: 21px;
- }
- span:nth-child(2) {
- width: 70%;
- text-align: left;
- display: inline-block;
- }
- span:nth-child(3) {
- width: 65px;
- display: inline-block;
- position: relative;
- }
- span:nth-child(3).zx{
- color: #45bf02;
- }
- span:nth-child(3).zx::after{
- width: 5px;
- height: 5px;
- border-radius: 20px;
- content: '';
- position: absolute;
- display: block;
- left: 4px;
- top:8px;
- background: #45bf02;
- box-shadow: 0px 0px 8px #45bf02;
- }
- span:nth-child(3).lx{
- color: #f80606;
- }
- span:nth-child(3).lx::after{
- width: 5px;
- height: 5px;
- border-radius: 20px;
- content: '';
- position: absolute;
- display: block;
- left: 4px;
- top:8px;
- background: #f80606;
- box-shadow: 0px 0px 8px #f80606;
- }
- span:nth-child(2n) {
- color: #fff;
- display: inline-block;
- }
- }
- li:nth-child(2n) {
- background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
- }
- li:hover {
- filter: brightness(200%);
- transform: translateX(8px);
- }
- }
- .lifeline-con {
- color: #fff;
- font-size: 14px;
- .h-185 {
- height: 185px !important;
- padding: 0 !important;
- }
- .h-170 {
- height: 170px !important;
- padding: 0 !important;
- }
- /*头部*/
- .life-header2 {
- width: 100%;
- height: 81px;
- background: url('../../assets/index_img/header-img2.png') no-repeat center;
- position: fixed;
- top: 0;
- font-family: 'ysbth';
- font-size: 38px;
- text-align: center;
- line-height: 70px;
- animation: headermove 1s ease-out;
- z-index: 999;
- span {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- display: flex;
- align-items: center;
- font-weight: 400;
- color: #EFF8FC;
- background: linear-gradient(0deg, rgba(119, 186, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
- opacity: 1;
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- img {
- width: 46px;
- height: 46px;
- margin-right: 15px;
- }
- }
- .time-left {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- font-family: pmzd;
- position: absolute;
- left: 28px;
- top: 18px;
- h5 {
- font-size: 16px;
- font-weight: 400;
- background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- h6 {
- font-size: 12px;
- font-weight: 400;
- background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- }
- .header-right-user-home {
- width: fit-content;
- display: flex;
- justify-content: center;
- position: absolute;
- right: 18px;
- top: 18px;
- img {
- cursor: pointer;
- transition: all 0.5s ease-in-out;
- margin: 0 5px;
- }
- img:hover {
- cursor: pointer;
- filter: brightness(170%) hue-rotate(-20deg);
- transform: translateY(-2px);
- }
- }
- }
- /*顶部重点关注天气区域*/
- .top-bar {
- width: 738px;
- height: 68px;
- background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
- border-radius: 33px;
- position: absolute;
- top: 83px;
- left: 50%;
- transform: translateX(-50%);
- display: flex;
- justify-content: space-between;
- align-items: center;
- z-index: 20;
- color: #fff;
- .line-y {
- width: 1px;
- height: 37px;
- border: 1px solid #4476A3;
- }
- h5 {
- font-size: 20px;
- color: #EFF2FF;
- font-family: ysbth;
- line-height: 40px;
- background: linear-gradient(0deg, #31beff, #effcfe, #effcfe);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 0 10px;
- }
- span {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 0 5px;
- .icon-block {
- width: 6px;
- height: 11px;
- background: linear-gradient(0deg, #67AAE7 0%, #2B5E8E 100%);
- margin: 0 5px;
- }
- }
- .icon-sj {
- width: 12px;
- height: 20px;
- margin: 0 5px;
- }
- .left {
- display: flex;
- .icon {
- width: 67px;
- height: 65px;
- }
- }
- .right {
- display: flex;
- .text-r {
- width: 200px;
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- align-content: center
- }
- }
- }
- /*左右装饰*/
- .line-left,
- .line-right {
- width: 18px;
- height: 100vh;
- position: absolute;
- top: 0;
- z-index: 1000;
- }
- .line-left {
- background: url(../../assets/index_img/left-line.png) no-repeat 100%;
- left: 0;
- }
- .line-right {
- background: url(../../assets/index_img/right-line.png) no-repeat 100%;
- right: 0;
- }
- /*左侧右侧独立黑色背景*/
- .con_left_2_bg {
- width: 570px;
- background: url('../../assets/index_img/black-bg-left.png') no-repeat left;
- height: 100vh;
- position: absolute;
- z-index: 2;
- left: 0;
- }
- .con_right_2_bg {
- width: 570px;
- background: url('../../assets/index_img/black-bg-right.png') no-repeat right;
- height: 100vh;
- position: absolute;
- z-index: 2;
- right: 0;
- }
- /*公共*/
- .title-bar {
- width: 100%;
- height: 38px;
- background: url(../../assets/index_img/tit-img.png) no-repeat left top;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .num {
- width: 88px;
- height: 27px;
- background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
- border-radius: 5px;
- line-height: 27px;
- text-align: center;
- font-weight: bold;
- margin-top: 7px;
- }
- span {
- font-size: 20px;
- color: #EFF2FF;
- font-family: ysbth;
- line-height: 40px;
- background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- margin-left: 55px;
- }
- }
- .content-box-half {
- width: 267px !important;
- }
- .box-h-l {
- height: 175px !important;
- }
- .content-box3 {
- width: 538px;
- height: 243px;
- background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
- border-radius: 8px;
- border: 1px solid #23466C;
- margin-top: 2px;
- padding: 10px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- justify-content: space-between;
- position: relative;
- }
- .content-box2 {
- padding: 15px !important;
- .map-btn-con {
- height: 50px;
- margin-top: 20px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 1px dashed #1e57a3;
- span {
- height: 50px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- }
- }
- .content-box4{
- width: 100%;
- height: auto;
- background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .2));
- margin-top: 2px;
- padding: 10px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- justify-content: space-between;
- position: relative;
- }
- .content-box,
- .content-box2 {
- width: 538px;
- height: 243px;
- background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
- border-radius: 8px;
- border: 1px solid #23466C;
- margin-top: 2px;
- padding: 10px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- justify-content: space-between;
- position: relative;
- .chart-contaier {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-around;
- .chart-con {
- width: 300px;
- height: 180px;
- }
- .chart-con2 {
- width: 500px;
- height: 160px;
- }
- .chart-con-num {
- display: flex;
- width: 185px;
- height: 135px;
- flex-flow: wrap;
- justify-content: space-around;
- .chart-con-num-rig {
- width: 68px;
- height: 36px;
- display: flex;
- flex-direction: column;
- flex-wrap: wrap;
- justify-content: space-around;
- margin: 2px 0;
- img {
- margin-right: 10px;
- }
- h5 {
- font-size: 18px;
- }
- h6 {
- font-size: 14px;
- }
- }
- }
- }
- :first-child {
- .con-l-t {
- height: 60px !important;
- background: url(../../assets/index_img/con-l-t.png) !important;
- border: none !important;
- padding: 8px 0 0 10px !important;
- }
- }
- .box-row2 {
- display: flex;
- align-items: flex-end;
- position: absolute;
- left: 0;
- margin-left: 10px;
- .li-4 {
- width: 4em !important;
- }
- .li-7 {
- width: 7em !important;
- }
- }
- .box-row {
- display: flex;
- .con-l-t {
- width: 92px;
- height: 53px;
- font-size: 14px;
- background: linear-gradient(0deg, #0E244B 0%, #537AB4 100%);
- border-radius: 5px;
- border: 1px solid #23466C;
- color: #F1F2F7;
- display: flex;
- flex-direction: column;
- align-items: start;
- margin-right: 10px;
- padding: 6px 0 0 10px;
- :last-child {
- font-weight: bold;
- }
- }
- .con-r {
- display: flex;
- flex-direction: column;
- font-size: 14px;
- color: #F1F2F7;
- line-height: 21px;
- position: relative;
- top: -5px;
- .line-x {
- width: 10px;
- height: 1px;
- background: #339DC6;
- position: absolute;
- left: -10px;
- top: 32px;
- }
- .line-x6 {
- width: 1px;
- height: 10px;
- background: #339DC6;
- position: absolute;
- left: -55px;
- bottom: -10px;
- }
- .line-x7 {
- width: 265px;
- height: 1px;
- background: #339DC6;
- position: absolute;
- left: -55px;
- bottom: -10px;
- }
- .line-x8 {
- width: 1px;
- height: 21px;
- background: #339DC6;
- position: absolute;
- left: 50px;
- bottom: -10px;
- }
- .line-x9 {
- width: 1px;
- height: 43px;
- background: #339DC6;
- position: absolute;
- left: 209px;
- bottom: -10px;
- }
- li {
- padding-left: 18px;
- line-height: 22px;
- background: url(../../assets/index_img/line-bg-mid.png) no-repeat left top;
- :first-child {
- width: 3em;
- display: inline-block;
- text-align: justify;
- text-align-last: justify;
- }
- :last-child {
- margin-left: 5px;
- }
- }
- li:first-child {
- background: url(../../assets/index_img/line-bg-top.png) no-repeat left top;
- }
- li:last-child {
- background: url(../../assets/index_img/line-bg-btm.png) no-repeat left top;
- }
- }
- .con-r-2 {
- top: 0 !important;
- justify-content: center;
- .line-x {
- top: 26px !important;
- }
- }
- .con-r-3 {
- top: 0 !important;
- justify-content: center;
- .line-x {
- top: 128px !important;
- }
- }
- .con-r-8 {
- flex-direction: row !important;
- ul {
- margin-left: 50px;
- }
- }
- }
- }
- /*左侧*/
- .left-content {
- width: 540px;
- height: 90vh;
- overflow-y: auto;
- top: 70px;
- position: absolute;
- left: 20px;
- z-index: 80;
- display: flex;
- flex-wrap: wrap;
- align-content: flex-start;
- justify-content: space-evenly;
- color: #fff;
- font-size: 14px;
- }
- .right-content {
- width: 540px;
- height: 90vh;
- overflow-y: auto;
- top: 70px;
- position: absolute;
- right: 20px;
- z-index: 80;
- display: flex;
- flex-wrap: wrap;
- align-content: flex-start;
- justify-content: space-evenly;
- color: #fff;
- font-size: 14px;
- }
- //左右侧按钮
- .btn {
- display: flex;
- justify-content: center;
- width: 300px;
- height: 195px;
- transition: all 0.5s ease-in-out;
- .btn-left {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- img {
- width: 160px;
- height: 155px;
- margin-top: 1.25rem;
- }
- span {
- font-weight: 400;
- font-size: 24px;
- color: #EFF8FC;
- line-height: 28px;
- font-family: pmzd;
- }
- }
- .btn-right {
- display: flex;
- flex-direction: column;
- justify-content: center;
- .btn-right-con {
- cursor: pointer;
- width: 131px;
- height: 37px;
- text-align: center;
- background: url('../../assets/index_img/name-bg.png') no-repeat center;
- font-weight: 400;
- font-size: 14px;
- line-height: 32px;
- color: #EFF8FC;
- transition: all .2s ease-in-out;
- }
- .btn-right-con:hover {
- filter: hue-rotate(-70deg);
- }
- }
- }
- .con_right {
- position: absolute;
- right: 20px;
- top: 100px;
- z-index: 999;
- background: rgba(0, 10, 24, 0.67);
- width: 360px;
- .con_tckz {
- .con_tckz_div {
- margin: 0px 10px;
- .tekz_div {
- font-size: 14px;
- text-align: left;
- color: #fff;
- padding-bottom: 15px;
- border-bottom: 1px dashed #4a5958;
- margin-bottom: 15px;
- .tc_div {
- line-height: 40px;
- padding-left: 15px;
- display: flex;
- flex-direction: row;
- width: 100%;
- .scrollx {
- width: 100%;
- white-space: nowrap;
- display: flex;
- flex-direction: row;
- /*height: 40px;*/
- span {
- display: block;
- width: 80px;
- }
- .scroll-container {
- display: block;
- /*height: 40px;*/
- /*overflow-y: scroll;*/
- width: 220px;
- .el-checkbox-group {
- label {
- display: block;
- float: left;
- }
- }
- }
- }
- }
- }
- .scroll-container::-webkit-scrollbar {
- /*滚动条整体样式*/
- width: 6px !important;
- /*高宽分别对应横竖滚动条的尺寸*/
- height: 1px !important;
- display: block !important;
- cursor: pointer;
- }
- .scroll-container::-webkit-scrollbar-thumb {
- /*滚动条里面小方块*/
- border-radius: 10px;
- height: 15px;
- -webkit-box-shadow: inset 0 0 5px rgba(0, 22, 55, 0.87);
- // background: #E5E5E5;
- background: rgba(38, 235, 255, 0.5);
- }
- .scroll-container::-webkit-scrollbar-track {
- /*滚动条里面轨道*/
- -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
- border-radius: 10px;
- background: rgba(10, 37, 64, 0.75);
- }
- .map_btn button {
- display: inline-block;
- background: url("../../assets/images/sixZ/sixzbtn1.png") no-repeat center;
- background-size: 100% 100%;
- padding: 8px 20px;
- margin: 8px 8px 8px 0px;
- font-size: 14px;
- color: #fff;
- cursor: pointer;
- }
- .map_btn button.on {
- background: url("../../assets/images/sixZ/sixzbtn1_on.png") no-repeat center;
- background-size: 100% 100%;
- box-shadow: none;
- }
- .map_clear {
- background: #09335f;
- color: #a4bfe2;
- font-size: 14px;
- float: right;
- margin: 20px 0px;
- display: inline-block;
- padding: 6px 18px;
- }
- .map_clear:hover {
- background: #0a5184;
- }
- }
- }
- }
- .btn:hover {
- filter: brightness(180%);
- }
- .btn-r {
- position: absolute;
- left: 16%;
- top: 15%;
- animation: btnRun 1s, movetop 3.5s 1s infinite;
- }
- .btn-rq {
- position: absolute;
- right: 12%;
- top: 12%;
- animation: btnRun 1s, movetop 4s 1s infinite;
- }
- .btn-ps {
- position: absolute;
- left: 5%;
- top: 38%;
- animation: btnRun 1s, movetop2 5s 1s infinite;
- }
- .btn-ql {
- position: absolute;
- left: 12%;
- top: 60%;
- animation: btnRun 1s, movetop2 3s 1s infinite;
- }
- .btn-gl {
- position: absolute;
- right: 6%;
- top: 38%;
- animation: btnRun 1s, movetop2 4s 1s infinite;
- }
- .btn-gs {
- position: absolute;
- right: 16%;
- top: 59%;
- animation: btnRun 1s, movetop2 2s 1s infinite;
- }
- //雷达
- .radar {
- display: flex;
- position: absolute;
- left: 50%;
- top: 40%;
- transform: translate(-50%, -40%);
- justify-content: center;
- align-items: center;
- width: 726px;
- height: 726px;
- animation: radarOP 1s ease-in;
- }
- .rotating-bg {
- position: relative;
- z-index: 100;
- animation: rotatebg 2s infinite linear;
- }
- .rotating-image {
- position: relative;
- animation: rotate 5s infinite linear;
- z-index: 150;
- }
- /*底部背景*/
- .button-list-bg {
- width: 100%;
- height: 71px;
- background: url(../../assets/index_img/button-list.png) no-repeat center;
- position: absolute;
- bottom: 0;
- z-index: 2;
- }
- //底部按钮5个
- .life-btm-btn {
- position: absolute;
- bottom: 0;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 100;
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
- .btn-span:nth-child(1) {
- animation: btnmove 1s;
- }
- .btn-span:nth-child(2) {
- animation: btnmove 1.2s;
- }
- .btn-span:nth-child(3) {
- animation: btnmove 1.4s;
- }
- .btn-span:nth-child(4) {
- animation: btnmove 1.6s;
- }
- .btn-span:nth-child(5) {
- animation: btnmove 1.8s;
- }
- .btn-span:nth-child(6) {
- animation: btnmove 2s;
- }
- .btn-span:nth-child(7) {
- animation: btnmove 2.2s;
- }
- .btn-span7{
- width: 120px !important;
- background-size: contain !important;
- height: 40px !important;
- }
- .btn-span {
- width: 166px;
- height: 50px;
- background: url('../../assets/index_img/btm-btn.png') no-repeat center;
- text-align: center;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 10px 5px;
- transition: all 0.3s ease-in-out;
- cursor: pointer;
- span {
- font-size: 20px;
- color: #EFF2FF;
- font-family: ysbth;
- line-height: 40px;
- background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- }
- .btn-span:hover {
- filter: brightness(170%) hue-rotate(-20deg);
- transform: translateY(-10px);
- }
- .btn-span.on {
- filter: brightness(170%) hue-rotate(-20deg);
- box-shadow: none;
- }
- }
- .btm-btn2 {
- position: absolute;
- bottom: 80px;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- animation: btmmove2 1s ease-out;
- .btn-span2 {
- margin: 0 10px;
- display: flex;
- flex-direction: column;
- align-items: center;
- transition: all 0.3s;
- img {
- width: 150px;
- height: 100px;
- }
- span {
- font-size: 20px;
- color: #EFF2FF;
- font-family: ysbth;
- line-height: 40px;
- background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- margin-top: -10px;
- display: block;
- text-align: center;
- }
- }
- .btn-span2:hover {
- filter: brightness(170%) hue-rotate(-20deg);
- transform: translateY(-10px);
- }
- }
- }
- .con_tit {
- font-size: 18px;
- font-family: 'ysbth';
- color: #fff;
- padding-left: 30px;
- background: url("../../assets/images/sixZ/sixztit.png") no-repeat left;
- background-size: 100% 100%;
- height: 35px;
- line-height: 35px;
- margin-bottom: 15px;
- }
- .map_tab {
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- margin-bottom: 25px !important;
- border-bottom: 2px solid rgba(13, 107, 179, 0.53);
- span {
- display: block;
- /*background: rgba(13, 107, 179, 0.53);*/
- padding: 8px 20px;
- color: #fff;
- font-size: 16px;
- text-shadow: 0px 0px 4px #0bf3f7;
- cursor: pointer;
- }
- .on {
- color: #0bf3f7;
- background: none !important;
- box-shadow: none;
- font-weight: bold;
- position: relative;
- }
- .on::after {
- content: '';
- display: block;
- position: absolute;
- bottom: -10px;
- /* 下三角位于链接的底部 */
- left: 50%;
- /* 水平居中 */
- width: 0;
- height: 0;
- border-left: 9px solid transparent;
- /* 左边透明 */
- border-right: 9px solid transparent;
- /* 右边透明 */
- border-top: 10px solid rgba(13, 107, 179, 0.53);
- /* 上边是三角形颜色 */
- transform: translateX(-50%);
- /* 确保三角形中心对齐链接的中心 */
- }
- }
- /*小导航*/
- .small-nav {
- display: flex;
- position: fixed;
- left: 50%;
- top: 76px;
- transform: translateX(-50%);
- z-index: 999;
- li {
- background: url(../../assets/images/gangwei/navbj.png)no-repeat;
- width: 105px;
- height: 42px;
- text-align: center;
- line-height: 42px;
- transition: all 0.3s ease-in-out;
- cursor: pointer;
- a {
- font-size: 16px;
- color: #EFF2FF;
- line-height: 32px;
- text-shadow: 0px 2px 8px rgba(5, 28, 55, 0.42);
- }
- }
- li:hover,
- .active {
- filter: brightness(170%) hue-rotate(-40deg);
- }
- li:nth-child(1) {
- animation: btnmove 1s;
- }
- li:nth-child(2) {
- animation: btnmove 1.2s;
- }
- li:nth-child(3) {
- animation: btnmove 1.4s;
- }
- li:nth-child(4) {
- animation: btnmove 1.6s;
- }
- li:nth-child(5) {
- animation: btnmove 1.8s;
- }
- li:nth-child(6) {
- animation: btnmove 2s;
- }
- li:nth-child(7) {
- animation: btnmove 2.2s;
- }
- }
- .mar-top45{
- margin-top: 45px!important;
- }
- .zy-icon1 {
- bottom: 215px !important;
- }
- .zy-icon2 {
- bottom: 65px !important;
- }
- .zy-icon3 {
- bottom: 140px !important;
- }
- </style>
|