jgpt.vue 162 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168
  1. <!--可视化公共模板 林业-->
  2. <template>
  3. <div class="visual-con lifeline-con">
  4. <!--主体-->
  5. <div class="visual-body">
  6. <div class="life-header2">
  7. <div class="time-left">
  8. <h5 id="time">15:30:00</h5>
  9. <h6 id="day">2025.02.01</h6>
  10. </div>
  11. <weatherHeader></weatherHeader>
  12. <span>
  13. <img src="../../assets/index_img/life-LOGO.png" alt="">
  14. 四平市城市生命线监管平台-监管平台</span>
  15. <div class="header-right-user-home">
  16. <!-- <img src="../../assets/index_img/user-img.png" alt="" />-->
  17. <img src="../../assets/index_img/home-img.png" alt="" @click="goToHomePage"/>
  18. </div>
  19. </div>
  20. <!--左右黑色渐变独立背景-->
  21. <div class="line-left"></div>
  22. <div class="line-right"></div>
  23. <div class="con_left_2_bg">
  24. </div>
  25. <div class="con_right_2_bg">
  26. </div>
  27. <!--资源-->
  28. <el-popover placement="right" trigger="click" popper-class="zy-con-body">
  29. <div class="content-box2" style="height: 200px; width:350px !important;">
  30. <el-checkbox-group class="sj-check mar-left" v-model="checkedBaseDOptions" @change="layerCheck">
  31. <el-checkbox v-for="e in addVectorTilesMapList" :label="e.id" :key="e.id">
  32. {{ e.name }}
  33. </el-checkbox>
  34. </el-checkbox-group>
  35. </div>
  36. <div slot="reference" class="zy-icon zy-icon1">
  37. <img src="../../assets/index_img/jgpt_icon07.png" alt="" />
  38. 基础图层
  39. </div>
  40. </el-popover>
  41. <el-popover placement="right" trigger="click" popper-class="zy-con-body">
  42. <div class="content-box2" style="height: 200px; width:350px !important;">
  43. <el-tabs v-model="legendLayer" class="sj-top-tab sj-normal-tab">
  44. <el-tab-pane label="燃气" name="1">
  45. <div style="height: 145px; overflow-y: scroll;">
  46. <el-tree
  47. :props="props"
  48. ref="threeDLayers_ranqi_height"
  49. :data="threeDLayers_ranqi_height"
  50. show-checkbox
  51. class="layers_ranqi_height"
  52. node-key="id"
  53. @check="handleCheckChange">
  54. </el-tree>
  55. <el-tree
  56. :props="props"
  57. ref="threeDLayers_ranqi_middle"
  58. :data="threeDLayers_ranqi_middle"
  59. show-checkbox
  60. class="layers_ranqi_middle"
  61. node-key="id"
  62. @check="handleCheckChange">
  63. </el-tree>
  64. <el-tree
  65. :props="props"
  66. ref="threeDLayers_ranqi_low"
  67. :data="threeDLayers_ranqi_low"
  68. show-checkbox
  69. class="layers_ranqi_low"
  70. node-key="id"
  71. @check="handleCheckChange">
  72. </el-tree>
  73. </div>
  74. </el-tab-pane>
  75. <el-tab-pane label="供热" name="2">
  76. <div style="height: 145px; overflow-y: scroll;">
  77. <el-tree
  78. :props="props"
  79. ref="threeDLayers_gongre_yici"
  80. :data="threeDLayers_gongre_yici"
  81. show-checkbox
  82. class="layers_gongre_yici"
  83. node-key="id"
  84. @check="handleCheckChange">
  85. </el-tree>
  86. <el-tree
  87. :props="props"
  88. ref="threeDLayers_gongre_erci"
  89. :data="threeDLayers_gongre_erci"
  90. show-checkbox
  91. class="layers_gongre_erci"
  92. node-key="id"
  93. @check="handleCheckChange">
  94. </el-tree>
  95. <el-tree
  96. :props="props"
  97. ref="threeDLayers_gongre_zhigong"
  98. :data="threeDLayers_gongre_zhigong"
  99. show-checkbox
  100. class="layers_gongre_zhigong"
  101. node-key="id"
  102. @check="handleCheckChange">
  103. </el-tree>
  104. </div>
  105. </el-tab-pane>
  106. <el-tab-pane label="供水" name="3">
  107. <div style="height: 145px; overflow-y: scroll;">
  108. <el-tree
  109. :props="props"
  110. ref="threeDLayers_gongshui"
  111. :data="threeDLayers_gongshui"
  112. show-checkbox
  113. class="layers_gongshui"
  114. node-key="id"
  115. @check="handleCheckChange">
  116. </el-tree>
  117. </div>
  118. </el-tab-pane>
  119. <el-tab-pane label="排水" name="4">
  120. <div style="height: 145px; overflow-y: scroll;">
  121. <el-tree
  122. :props="props"
  123. ref="threeDLayers_paishui_yushui"
  124. :data="threeDLayers_paishui_yushui"
  125. show-checkbox
  126. class="layers_paishui_yushui"
  127. node-key="id"
  128. @check="handleCheckChange">
  129. </el-tree>
  130. <el-tree
  131. :props="props"
  132. ref="threeDLayers_paishui_wushui"
  133. :data="threeDLayers_paishui_wushui"
  134. show-checkbox
  135. class="layers_paishui_wushui"
  136. node-key="id"
  137. @check="handleCheckChange">
  138. </el-tree>
  139. <el-tree
  140. :props="props"
  141. ref="threeDLayers_paishui_heliu"
  142. :data="threeDLayers_paishui_heliu"
  143. show-checkbox
  144. class="layers_paishui_heliu"
  145. node-key="id"
  146. @check="handleCheckChange">
  147. </el-tree>
  148. </div>
  149. </el-tab-pane>
  150. <!-- <el-tab-pane label="管廊" name="5">-->
  151. <!-- <el-checkbox-group class="sj-check" v-model="checkedOptions" @change="handleCheckedOptions()">-->
  152. <!-- <el-checkbox v-for="e in twoDLayers_guanlang" :label="e.url" :class="e.class">-->
  153. <!-- {{ e.type }}-->
  154. <!-- </el-checkbox>-->
  155. <!-- </el-checkbox-group>-->
  156. <!-- </el-tab-pane>-->
  157. <!-- <el-tab-pane label="桥梁" name="6">-->
  158. <!-- </el-tab-pane>-->
  159. </el-tabs>
  160. </div>
  161. <div slot="reference" class="zy-icon zy-icon2">
  162. <img src="../../assets/index_img/jgpt_icon08.png" alt="" />
  163. 三维图层
  164. </div>
  165. </el-popover>
  166. <el-popover placement="right" trigger="click" popper-class="zy-con-body">
  167. <div class="content-box2" style="height: 200px; width:350px !important;">
  168. <el-tabs v-model="legendLayer" class="sj-top-tab sj-normal-tab">
  169. <el-tab-pane label="燃气" name="1">
  170. <div style="height: 145px; overflow-y: scroll;">
  171. <el-tree
  172. :props="props"
  173. ref="twoDLayers_ranqi_height"
  174. :data="twoDLayers_ranqi_height"
  175. show-checkbox
  176. class="layers_ranqi_height"
  177. node-key="id"
  178. @check="handleCheckChange">
  179. </el-tree>
  180. <el-tree
  181. :props="props"
  182. ref="twoDLayers_ranqi_middle"
  183. :data="twoDLayers_ranqi_middle"
  184. show-checkbox
  185. class="layers_ranqi_middle"
  186. node-key="id"
  187. @check="handleCheckChange">
  188. </el-tree>
  189. <el-tree
  190. :props="props"
  191. ref="twoDLayers_ranqi_low"
  192. :data="twoDLayers_ranqi_low"
  193. show-checkbox
  194. class="layers_ranqi_low"
  195. node-key="id"
  196. @check="handleCheckChange">
  197. </el-tree>
  198. </div>
  199. </el-tab-pane>
  200. <el-tab-pane label="供热" name="2">
  201. <div style="height: 145px; overflow-y: scroll;">
  202. <el-tree
  203. :props="props"
  204. ref="twoDLayers_gongre_yici"
  205. :data="twoDLayers_gongre_yici"
  206. show-checkbox
  207. class="layers_gongre_yici"
  208. node-key="id"
  209. @check="handleCheckChange">
  210. </el-tree>
  211. <el-tree
  212. :props="props"
  213. ref="twoDLayers_gongre_erci"
  214. :data="twoDLayers_gongre_erci"
  215. show-checkbox
  216. class="layers_gongre_erci"
  217. node-key="id"
  218. @check="handleCheckChange">
  219. </el-tree>
  220. <el-tree
  221. :props="props"
  222. ref="twoDLayers_gongre_zhigong"
  223. :data="twoDLayers_gongre_zhigong"
  224. show-checkbox
  225. class="layers_gongre_zhigong"
  226. node-key="id"
  227. @check="handleCheckChange">
  228. </el-tree>
  229. </div>
  230. </el-tab-pane>
  231. <el-tab-pane label="供水" name="3">
  232. <div style="height: 145px; overflow-y: scroll;">
  233. <el-tree
  234. :props="props"
  235. ref="twoDLayers_gongshui"
  236. :data="twoDLayers_gongshui"
  237. show-checkbox
  238. class="layers_gongshui"
  239. node-key="id"
  240. @check="handleCheckChange">
  241. </el-tree>
  242. </div>
  243. </el-tab-pane>
  244. <el-tab-pane label="排水" name="4">
  245. <div style="height: 145px; overflow-y: scroll;">
  246. <el-tree
  247. :props="props"
  248. ref="twoDLayers_paishui_yushui"
  249. :data="twoDLayers_paishui_yushui"
  250. show-checkbox
  251. class="layers_paishui_yushui"
  252. node-key="id"
  253. @check="handleCheckChange">
  254. </el-tree>
  255. <el-tree
  256. :props="props"
  257. ref="twoDLayers_paishui_wushui"
  258. :data="twoDLayers_paishui_wushui"
  259. show-checkbox
  260. class="layers_paishui_wushui"
  261. node-key="id"
  262. @check="handleCheckChange">
  263. </el-tree>
  264. <el-tree
  265. :props="props"
  266. ref="twoDLayers_paishui_heliu"
  267. :data="twoDLayers_paishui_heliu"
  268. show-checkbox
  269. class="layers_paishui_heliu"
  270. node-key="id"
  271. @check="handleCheckChange">
  272. </el-tree>
  273. </div>
  274. </el-tab-pane>
  275. <!-- <el-tab-pane label="管廊" name="5">-->
  276. <!-- <el-checkbox-group class="sj-check" v-model="checkedOptions" @change="handleCheckedOptions()">-->
  277. <!-- <el-checkbox v-for="e in threeDLayers_guanlang" :label="e.url" :class="e.class">-->
  278. <!-- {{ e.type }}-->
  279. <!-- </el-checkbox>-->
  280. <!-- </el-checkbox-group>-->
  281. <!-- </el-tab-pane>-->
  282. <!-- <el-tab-pane label="桥梁" name="6">-->
  283. <!-- </el-tab-pane>-->
  284. </el-tabs>
  285. </div>
  286. <div slot="reference" class="zy-icon zy-icon3">
  287. <img src="../../assets/index_img/jgpt_icon09.png" alt="" />
  288. 二维图层
  289. </div>
  290. </el-popover>
  291. <!--底部按钮区域背景-->
  292. <div class="button-list-bg">
  293. </div>
  294. <!--左侧资产盘点 ps:资产盘点单元格内是竖向的流式布局,数据要竖向循环-->
  295. <div class="left-content">
  296. <div class="title-bar" @click="dialogVisibleHy = true">
  297. <span style="cursor: pointer;">行业数据完整度</span>
  298. </div>
  299. <div class="content-box hysj">
  300. <div class="hysj_div box-row">
  301. <div class="hysj_div">
  302. <div id="hysj_div_chart1"></div>
  303. <p>桥梁数据完整度<b>{{bridge}}</b></p>
  304. </div>
  305. <div class="hysj_div">
  306. <div id="hysj_div_chart2"></div>
  307. <p>排水数据完整度<b>{{drainage}}</b></p>
  308. </div>
  309. <div class="hysj_div">
  310. <div id="hysj_div_chart3"></div>
  311. <p>燃气数据完整度<b>{{gas}}</b></p>
  312. </div>
  313. </div>
  314. <div class="hysj_div box-row">
  315. <div class="hysj_div">
  316. <div id="hysj_div_chart4"></div>
  317. <p>供热数据完整度<b>{{heating}}</b></p>
  318. </div>
  319. <div class="hysj_div">
  320. <div id="hysj_div_chart5"></div>
  321. <p>管廊数据完整度<b>{{utility}}</b></p>
  322. </div>
  323. <div class="hysj_div">
  324. <div id="hysj_div_chart6"></div>
  325. <p>供水数据完整度<b>{{water}}</b></p>
  326. </div>
  327. </div>
  328. </div>
  329. <div class="title-bar">
  330. <span>巡检及隐患</span>
  331. </div>
  332. <div class="content-box xjjyh" style="cursor: pointer;" @click="toSbList">
  333. <div class="xjjyh_div box-row">
  334. <div class="xjjyh_div_con box-row">
  335. <div class="xjjyh_img">
  336. <img src="../../assets/index_img/jgpt_icon01.png"/>
  337. <p>热力</p>
  338. </div>
  339. <div class="xjjyh_txt">
  340. <h4><span>巡检数</span><i>{{inspectionDataList.mileage[0].mileage || '0' }}km</i></h4>
  341. <img src="../../assets/index_img/jgpt_iconx.png"/>
  342. <h4><span>隐患数</span><i>{{inspectionDataList.inspection['热力'] || '0' }}个</i></h4>
  343. </div>
  344. </div>
  345. <div class="xjjyh_div_con box-row">
  346. <div class="xjjyh_img">
  347. <img src="../../assets/index_img/jgpt_icon02.png"/>
  348. <p>排水</p>
  349. </div>
  350. <div class="xjjyh_txt">
  351. <h4><span>巡检数</span><i>{{inspectionDataList.mileage[1].mileage || '0' }}km</i></h4>
  352. <img src="../../assets/index_img/jgpt_iconx.png"/>
  353. <h4><span>隐患数</span><i>{{inspectionDataList.inspection['排水'] || '0' }}个</i></h4>
  354. </div>
  355. </div>
  356. <div class="xjjyh_div_con box-row">
  357. <div class="xjjyh_img">
  358. <img src="../../assets/index_img/jgpt_icon03.png"/>
  359. <p>桥梁</p>
  360. </div>
  361. <div class="xjjyh_txt">
  362. <h4><span>巡检数</span><i>{{inspectionDataList.mileage[2].mileage || '0' }}km</i></h4>
  363. <img src="../../assets/index_img/jgpt_iconx.png"/>
  364. <h4><span>隐患数</span><i>{{inspectionDataList.inspection['桥梁'] || '0' }}个</i></h4>
  365. </div>
  366. </div>
  367. </div>
  368. <div class="xjjyh_div box-row">
  369. <div class="xjjyh_div_con box-row">
  370. <div class="xjjyh_img">
  371. <img src="../../assets/index_img/jgpt_icon04.png"/>
  372. <p>管廊</p>
  373. </div>
  374. <div class="xjjyh_txt">
  375. <h4><span>巡检数</span><i>{{inspectionDataList.mileage[3].mileage || '0' }}km</i></h4>
  376. <img src="../../assets/index_img/jgpt_iconx.png"/>
  377. <h4><span>隐患数</span><i>{{inspectionDataList.inspection['管廊'] || '0' }}个</i></h4>
  378. </div>
  379. </div>
  380. <div class="xjjyh_div_con box-row">
  381. <div class="xjjyh_img">
  382. <img src="../../assets/index_img/jgpt_icon05.png"/>
  383. <p>燃气</p>
  384. </div>
  385. <div class="xjjyh_txt">
  386. <h4><span>巡检数</span><i>{{inspectionDataList.mileage[4].mileage || '0' }}km</i></h4>
  387. <img src="../../assets/index_img/jgpt_iconx.png"/>
  388. <h4><span>隐患数</span><i>{{inspectionDataList.inspection['燃气'] || '0' }}个</i></h4>
  389. </div>
  390. </div>
  391. <div class="xjjyh_div_con box-row">
  392. <div class="xjjyh_img">
  393. <img src="../../assets/index_img/jgpt_icon06.png"/>
  394. <p>供水</p>
  395. </div>
  396. <div class="xjjyh_txt">
  397. <h4><span>巡检数</span><i>{{inspectionDataList.mileage[5].mileage || '0' }}km</i></h4>
  398. <img src="../../assets/index_img/jgpt_iconx.png"/>
  399. <h4><span>隐患数</span><i>{{inspectionDataList.inspection['供水'] || '0' }}个</i></h4>
  400. </div>
  401. </div>
  402. </div>
  403. </div>
  404. <div class="title-bar">
  405. <span>预警管理</span>
  406. </div>
  407. <div class="content-box yjgl" style="cursor: pointer;" @click="toSbList">
  408. <div class="yjgl_div_tit">
  409. <span>预警总数:</span>
  410. <p>
  411. <b>{{ warningManagementTotal[4] || 0 }}</b>
  412. <b>{{ warningManagementTotal[3] || 0 }}</b>
  413. <b>{{ warningManagementTotal[2] || 0 }}</b>
  414. <b>{{ warningManagementTotal[1] || 0 }}</b>
  415. <b>{{ warningManagementTotal[0] || 0 }}</b>
  416. </p>
  417. </div>
  418. <div class="yjgl_div box-row">
  419. <div id="yjgl_chart"></div>
  420. <div class="yjgl_list">
  421. <p><span>供水</span><b>{{ warningManagementData[5] }}</b></p>
  422. <p><span>管廊</span><b>{{ warningManagementData[3] }}</b></p>
  423. <p><span>燃气</span><b>{{ warningManagementData[4] }}</b></p>
  424. <p><span>热力</span><b>{{ warningManagementData[0] }}</b></p>
  425. <p><span>桥梁</span><b>{{ warningManagementData[2] }}</b></p>
  426. <p><span>排水</span><b>{{ warningManagementData[1] }}</b></p>
  427. </div>
  428. </div>
  429. </div>
  430. </div>
  431. <!--预警列表-->
  432. <div class="right-content">
  433. <div class="title-bar" style="cursor: pointer;" @click="toSbList">
  434. <!--<el-popover placement="left-start" width="400" trigger="click" popper-class="sj-pop-con">-->
  435. <!--<div class="title-bar-pop">-->
  436. <!--<span>预警列表</span>-->
  437. <!--</div>-->
  438. <!--<div slot="reference" style="cursor: pointer;">预警统计</div>-->
  439. <!--</el-popover>-->
  440. <span>预警统计</span>
  441. </div>
  442. <div class="content-box sjtj" >
  443. <el-tabs v-model="activeName1" class="sj-top-tab">
  444. <el-tab-pane label="催办" name="sj">
  445. <div class="chart-contaier">
  446. <div class="chart-con" id="sjChart"></div>
  447. <div class="chart-con-num">
  448. <div
  449. class="chart-con-num-rig"
  450. v-for="(e,idx) in eventInfoOfIndustry"
  451. :key="idx"
  452. >
  453. <img :src="require(`../../assets/index_img/sj-bg-${eventPicOfIndustry.find(v => v.label == e.label).index}.png`)" alt="">
  454. <h6>{{ e.label }}</h6>
  455. <h5>{{ e.expediteCount }}</h5>
  456. </div>
  457. </div>
  458. </div>
  459. </el-tab-pane>
  460. <el-tab-pane label="督办" name="hy">
  461. <div class="chart-contaier">
  462. <div class="chart-con2" id="hyChart" style="height: 130px !important;"></div>
  463. </div>
  464. </el-tab-pane>
  465. </el-tabs>
  466. </div>
  467. <div class="title-bar">
  468. <el-popover placement="left-start" width="400" trigger="click" popper-class="sj-pop-con">
  469. <div slot="reference" style="cursor: pointer;">年度计划</div>
  470. </el-popover>
  471. <div class="num">
  472. {{ yearlyTaskStatisticsTotal || 0 }}个
  473. </div>
  474. </div>
  475. <div class="content-box ndrw">
  476. <div class="chart-contaier">
  477. <div class="chart-con2" id="ndChart" style="height: 120px !important;"></div>
  478. </div>
  479. </div>
  480. <div class="title-bar" style="cursor: pointer;">
  481. <span>风险管理</span>
  482. </div>
  483. <div class="content-box fxgl">
  484. <div id="fxglchart"></div>
  485. </div>
  486. <div class="title-bar" @click="dialogVisibleYuAn = true">
  487. <span>预案管理</span>
  488. </div>
  489. <div class="content-box2 yagl">
  490. <div class="scroll-y hei_scroll">
  491. <div class="yagl_div" v-for="plan in planList">
  492. <img v-if="plan.industry==1" src="../../assets/index_img/jgpt_icon14.png"/><!--热力-->
  493. <img v-if="plan.industry==2" src="../../assets/index_img/jgpt_icon11.png"/><!--排水-->
  494. <img v-if="plan.industry==3" src="../../assets/index_img/jgpt_icon12.png"/><!--桥梁-->
  495. <img v-if="plan.industry==4" src="../../assets/index_img/jgpt_icon13.png"/><!--管廊-->
  496. <img v-if="plan.industry==5" src="../../assets/index_img/jgpt_icon10.png"/><!--燃气-->
  497. <img v-if="plan.industry==6" src="../../assets/index_img/jgpt_icon15.png"/><!--供水-->
  498. <div class="yagl_div_txt">
  499. <p>{{plan.contingency_plan_name.length>10?plan.contingency_plan_name.substring(0,12)+'...':plan.contingency_plan_name}}</p>
  500. <span :title="plan.contingency_plan_content">{{plan.contingency_plan_content.length>25?plan.contingency_plan_content.substring(0,28)+'...':plan.contingency_plan_content}}</span>
  501. </div>
  502. </div>
  503. </div>
  504. </div>
  505. </div>
  506. <!-- 地图 -->
  507. <supermap ref="supermap" style="width: 100%;height: 100vh;">
  508. </supermap>
  509. <div class="map_tab flex-c">
  510. <div title="开挖" @click="showExcavation()">
  511. <img src="../../assets/index_img/icon-kw.png"/>
  512. </div>
  513. <div title="测距" @click="choseMeasuringDistance()">
  514. <img src="../../assets/index_img/icon-cl.png"/>
  515. </div>
  516. <div title="测面" @click="choseMeasuringArea()">
  517. <img src="../../assets/index_img/icon-cl.png"/>
  518. </div>
  519. <div title="测高" @click="choseMeasuringHeight()">
  520. <img src="../../assets/index_img/icon-cl.png"/>
  521. </div>
  522. <div title="清除" @click="clearAll()">
  523. <img src="../../assets/index_img/icon-qc.png"/>
  524. </div>
  525. </div>
  526. <!-- 底部按钮 -->
  527. <div class="life-btm-btn">
  528. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 0 ? 'on' : '' " @click="industryHasChanged('')">
  529. <span>全部</span>
  530. </div>
  531. <div class="btn-span btn-span7 " :class="currentBtmHighIdx == 5 ? 'on' : '' " @click="industryHasChanged(5)">
  532. <span>燃气</span>
  533. </div>
  534. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 1 ? 'on' : '' " @click="industryHasChanged(1)">
  535. <span>热力</span>
  536. </div>
  537. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 6 ? 'on' : '' " @click="industryHasChanged(6)">
  538. <span>供水</span>
  539. </div>
  540. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 2 ? 'on' : '' " @click="industryHasChanged(2)">
  541. <span>排水</span>
  542. </div>
  543. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 4 ? 'on' : '' " @click="industryHasChanged(4)">
  544. <span>管廊</span>
  545. </div>
  546. <div class="btn-span btn-span7" :class="currentBtmHighIdx == 3 ? 'on' : '' " @click="industryHasChanged(3)">
  547. <span>桥梁</span>
  548. </div>
  549. </div>
  550. </div>
  551. <el-dialog
  552. title="行业数据完整度"
  553. :visible.sync="dialogVisibleHy"
  554. :before-close="handleClose"
  555. class="sj-dialog-newstyle">
  556. <ul class="small-nav">
  557. <li class="active"><a>全部</a></li>
  558. <li><a>燃气</a></li>
  559. <li><a>供热</a></li>
  560. <li><a>供水</a></li>
  561. <li><a>排水</a></li>
  562. <li><a>管廊</a></li>
  563. <li><a>桥梁</a></li>
  564. </ul>
  565. <div class="content-box4 flex-c mar-top45">
  566. <el-input placeholder="请输入内容" suffix-icon="el-icon-search" v-model="input2"
  567. class="sj-input-style">
  568. </el-input>
  569. <div class="list-ul-100-tit">
  570. <span>行业</span>
  571. <span>设备名称</span>
  572. <span>状态</span>
  573. </div>
  574. <div class="scroll-container hei_scroll_400">
  575. <ul class="list-ul-100" >
  576. <li v-for="(item, index) in listContent" :key="index">
  577. <span :class="item.hydh">{{item.hy}}</span>
  578. <span>{{item.tit}}</span>
  579. <span :class="item.ztdh">{{item.zt}}</span>
  580. </li>
  581. </ul>
  582. </div>
  583. </div>
  584. </el-dialog>
  585. <el-dialog
  586. title="预案详情"
  587. :visible.sync="dialogVisibleYuAn"
  588. :before-close="handleClose"
  589. width="80%"
  590. class="sj-dialog-newstyle">
  591. <div class="box-row" style="width: 100%;">
  592. <div class="sjxq_list">
  593. <el-table :data="tableData" height="615" style="width: 100%">
  594. <el-table-column prop="tit" label="任务名称">
  595. </el-table-column>
  596. <el-table-column prop="name" label="巡查人员">
  597. </el-table-column>
  598. <el-table-column prop="num" label="巡查公里数">
  599. </el-table-column>
  600. <el-table-column prop="time" label="巡查时间">
  601. </el-table-column>
  602. </el-table>
  603. </div>
  604. </div>
  605. </el-dialog>
  606. </div>
  607. </template>
  608. <script>
  609. import Cookies from 'js-cookie'
  610. import supermap from '@/components/supermap-2.5d' //超图
  611. import weatherHeader from '@/components/weatherHeader';
  612. import {
  613. getUserProfile
  614. } from "@/api/system/user";
  615. import '../../assets/styles/hz_body.css';
  616. import {
  617. selectConfigKey
  618. } from "@/api/system/config";
  619. import * as echarts from 'echarts'
  620. import {selectPlanList} from "@/api/tableInfo";
  621. import {
  622. industryDataCompleteness,
  623. inspectionAndHiddenDanger, // 巡检及隐患
  624. eventContingencyPlan, // 应急预案
  625. eventStatistics, // 预警统计
  626. warningManagement, // 预警管理
  627. expediteOrSuperviseCount, // 事件统计:催办/督办
  628. } from "@/api/jgpt";
  629. import { annualPlanCount } from '@/api/Regulatory'
  630. import { queryVectorTilesMapList } from '@/api/components/supermap'
  631. export default {
  632. components: {
  633. supermap,
  634. weatherHeader
  635. },
  636. metaInfo() {
  637. return {
  638. title: '四平市城市生命线',
  639. meta: [{
  640. charset: "utf-8"
  641. },
  642. {
  643. name: "viewport",
  644. content: "width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
  645. }
  646. ]
  647. }
  648. },
  649. created() {
  650. this.inspectionAndHiddenDanger()
  651. this.eventContingencyPlan()
  652. },
  653. computed:{
  654. },
  655. mounted() {
  656. // this.selectPlanList();
  657. // 初始化地图数据
  658. this.getSuperMapUrl();
  659. this.queryVectorTilesMapList();
  660. setTimeout(() => {
  661. this.time();
  662. this.title = '四平市城市生命线'
  663. this.sjChart();
  664. this.hysj_div_chart();
  665. this.yjgl_chart();
  666. this.ndChart('');
  667. this.fxglchart();
  668. }, 1000)
  669. },
  670. data() {
  671. return {
  672. props: {
  673. label: 'name',
  674. children: 'children'
  675. },
  676. legendLayer: '1',
  677. checkedBaseDOptions: [],
  678. addVectorTilesMapList: [],
  679. checkedOptions: [],
  680. twoDLayers_ranqi_height:[
  681. {
  682. id: '1',
  683. name: '次高压',
  684. url: [null, null],
  685. class: 'cgy',
  686. children: [
  687. {
  688. id: '1-1',
  689. name: '华生',
  690. url: [null, '/map-HuaSheng/rest/maps/huasheng_cigao']
  691. },
  692. {
  693. id: '1-2',
  694. name: '港华',
  695. url: [null, '/map-GangHua-2/rest/maps/GH_cigao']
  696. },
  697. {
  698. id: '1-3',
  699. name: '奥德',
  700. url: [null, '/map-Aode-2/rest/maps/aode_cigao']
  701. },
  702. {
  703. id: '1-4',
  704. name: '润发',
  705. url: [null, '/map-RunFaRanQi-2/rest/maps/runfa_cigao']}
  706. ]
  707. },
  708. ],
  709. twoDLayers_ranqi_middle:[
  710. {
  711. id: '2',
  712. name: '中压',
  713. url: [null, null],
  714. class: 'zy',
  715. children: [
  716. {
  717. id: '2-1',
  718. name: '华生',
  719. url: [null, '/map-HuaSheng/rest/maps/huasheng_zhong']
  720. },
  721. {
  722. id: '2-2',
  723. name: '港华',
  724. url: [null, '/map-GangHua-2/rest/maps/GH_zhong']
  725. },
  726. // {
  727. // id: '2-3',
  728. // name: '奥德',
  729. // url: [null, null]
  730. // },
  731. {
  732. id: '2-4',
  733. name: '润发',
  734. url: [null, '/map-RunFaRanQi-2/rest/maps/runfa_zhong']
  735. }
  736. ]
  737. },
  738. ],
  739. twoDLayers_ranqi_low:[
  740. {
  741. id: '3',
  742. name: '低压',
  743. url: [null, null],
  744. class: 'dy',
  745. children: [
  746. // {
  747. // id: '3-1',
  748. // name: '华生',
  749. // url: [null, null]
  750. // },
  751. {
  752. id: '3-2',
  753. name: '港华',
  754. url: [null, '/map-GangHua-2/rest/maps/GH_di']
  755. },
  756. // {
  757. // id: '3-3',
  758. // name: '奥德',
  759. // url: [null, null]
  760. // },
  761. // {
  762. // id: '3-4',
  763. // name: '润发',
  764. // url: [null, null]
  765. // }
  766. ]
  767. }
  768. ],
  769. threeDLayers_ranqi_height:[
  770. {
  771. id: '4',
  772. name: '次高压',
  773. url: [null, null],
  774. class: 'cgy',
  775. children: [
  776. {
  777. id: '4-1',
  778. name: '华生',
  779. url: ['/3D-huasheng_cigao/rest/realspace', null]
  780. },
  781. {
  782. id: '4-2',
  783. name: '港华',
  784. url: ['/3D-GH_cigao/rest/realspace', null]
  785. },
  786. {
  787. id: '4-3',
  788. name: '奥德',
  789. url: ['/3D-aode_cigao/rest/realspace', null]
  790. },
  791. {
  792. id: '4-4',
  793. name: '润发',
  794. url: ['/3D-runfa_cigao/rest/realspace', null]
  795. }
  796. ]
  797. },
  798. ],
  799. threeDLayers_ranqi_middle:[
  800. {
  801. id: '5',
  802. name: '中压',
  803. url: [null, null],
  804. class: 'zy',
  805. children: [
  806. {
  807. id: '5-1',
  808. name: '华生',
  809. url: ['/3D-huasheng_zhong/rest/realspace', null]
  810. },
  811. {
  812. id: '5-2',
  813. name: '港华',
  814. url: ['/3D-GH_zhong/rest/realspace', null]
  815. },
  816. // {
  817. // id: '5-3',
  818. // name: '奥德',
  819. // url: [null, null]
  820. // },
  821. {
  822. id: '5-4',
  823. name: '润发',
  824. url: ['/3D-runfa_zhong/rest/realspace', null]
  825. }
  826. ]
  827. },
  828. ],
  829. threeDLayers_ranqi_low:[
  830. {
  831. id: '6',
  832. name: '低压',
  833. url: [null, null],
  834. class: 'dy',
  835. children: [
  836. // {
  837. // id: '6-1',
  838. // name: '华生',
  839. // url: [null, null]
  840. // },
  841. {
  842. id: '6-2',
  843. name: '港华',
  844. url: ['/3D-GH_di/rest/realspace', null]
  845. },
  846. // {
  847. // id: '6-3',
  848. // name: '奥德',
  849. // url: [null, null]
  850. // },
  851. // {
  852. // id: '6-4',
  853. // name: '润发',
  854. // url: [null, null]
  855. // }
  856. ]
  857. }
  858. ],
  859. twoDLayers_gongre_yici:[
  860. {
  861. id: '1',
  862. name: '一次网',
  863. url: [null, null],
  864. class: 'cgy',
  865. children: [
  866. {
  867. id: '1-1',
  868. name: '铁东一次网',
  869. url: [null, '/map-RLyicierci-2/rest/maps/TD_yiciwang']
  870. },
  871. {
  872. id: '1-2',
  873. name: '铁西一次网',
  874. url: [null, '/map-RLyicierci-2/rest/maps/TX_yiciwang']
  875. }
  876. ]
  877. },
  878. ],
  879. twoDLayers_gongre_erci:[
  880. {
  881. id: '2',
  882. name: '二次网',
  883. url: [null, null],
  884. class: 'zy',
  885. children: [
  886. {
  887. id: '2-1',
  888. name: '铁东二次网',
  889. url: [null, '/map-RLyicierci-2/rest/maps/TD_erciwang']
  890. },
  891. {
  892. id: '2-2',
  893. name: '铁西二次网',
  894. url: [null, '/map-RLyicierci-2/rest/maps/TX_erciwang']
  895. }
  896. ]
  897. },
  898. ],
  899. twoDLayers_gongre_zhigong:[
  900. {
  901. id: '3',
  902. name: '直供管',
  903. url: [null, null],
  904. class: 'dy',
  905. children: [
  906. {
  907. id: '3-1',
  908. name: '直供管',
  909. url: [null, '/map-DianRe/rest/maps/DianRe_zhigong_TD']
  910. },
  911. ]
  912. }
  913. ],
  914. threeDLayers_gongre_yici:[
  915. {
  916. id: '4',
  917. name: '一次网',
  918. url: [null, null],
  919. class: 'cgy',
  920. children: [
  921. {
  922. id: '4-1',
  923. name: '铁东一次网',
  924. url: ['/3D-TD_yiciwang/rest/realspace', null]
  925. },
  926. {
  927. id: '4-2',
  928. name: '铁西一次网',
  929. url: ['/3D-TX_yiciwang/rest/realspace', null]
  930. }
  931. ]
  932. },
  933. ],
  934. threeDLayers_gongre_erci:[
  935. {
  936. id: '5',
  937. name: '二次网',
  938. url: [null, null],
  939. class: 'zy',
  940. children: [
  941. {
  942. id: '5-1',
  943. name: '铁东二次网',
  944. url: ['/3D-TD_erciwang_xian/rest/realspace', null]
  945. },
  946. {
  947. id: '5-2',
  948. name: '铁西二次网',
  949. url: ['/3D-TX_erciwang_xian/rest/realspace', null]
  950. }
  951. ]
  952. },
  953. ],
  954. threeDLayers_gongre_zhigong:[
  955. {
  956. id: '6',
  957. name: '直供管',
  958. url: [null, null],
  959. class: 'dy',
  960. children: [
  961. {
  962. id: '6-1',
  963. name: '直供管',
  964. url: [null, '/map-DianRe/rest/maps/DianRe_zhigong_TD']
  965. },
  966. ]
  967. }
  968. ],
  969. twoDLayers_paishui_yushui:[
  970. {
  971. id: '1',
  972. name: '雨水管',
  973. url: [null, null],
  974. class: 'cgy',
  975. children: [
  976. {
  977. id: '1-1',
  978. name: '铁西雨水管',
  979. url: [null, '/map-PaiShui-2/rest/maps/TX_pai_yushui']
  980. },
  981. {
  982. id: '1-2',
  983. name: '铁东雨水管',
  984. url: [null, '/map-PaiShui-2/rest/maps/TD_pai_yushui']
  985. }
  986. ]
  987. },
  988. ],
  989. twoDLayers_paishui_wushui:[
  990. {
  991. id: '2',
  992. name: '污水管',
  993. url: [null, null],
  994. class: 'zy',
  995. children: [
  996. {
  997. id: '2-1',
  998. name: '铁西污水管',
  999. url: [null, '/map-PaiShui-2/rest/maps/TX_pai_wushui']
  1000. },
  1001. {
  1002. id: '2-2',
  1003. name: '铁东污水管',
  1004. url: [null, '/map-PaiShui-2/rest/maps/TD_pai_wushui']
  1005. }
  1006. ]
  1007. },
  1008. ],
  1009. twoDLayers_paishui_heliu:[
  1010. {
  1011. id: '3',
  1012. name: '合流管',
  1013. url: [null, null],
  1014. class: 'dy',
  1015. children: [
  1016. {
  1017. id: '3-1',
  1018. name: '铁西合流管',
  1019. url: [null, '/map-PaiShui-2/rest/maps/TX_pai_heliu']
  1020. },
  1021. {
  1022. id: '3-2',
  1023. name: '铁东合流管',
  1024. url: [null, '/map-PaiShui-2/rest/maps/TD_pai_heliu']
  1025. },
  1026. ]
  1027. }
  1028. ],
  1029. threeDLayers_paishui_yushui:[
  1030. {
  1031. id: '4',
  1032. name: '雨水管',
  1033. url: [null, null],
  1034. class: 'cgy',
  1035. children: [
  1036. {
  1037. id: '4-1',
  1038. name: '铁西雨水管',
  1039. url: ['/3D-TX_pai_yushui/rest/realspace', null]
  1040. },
  1041. {
  1042. id: '4-2',
  1043. name: '铁东雨水管',
  1044. url: ['/3D-TD_pai_yushui/rest/realspace', null]
  1045. }
  1046. ]
  1047. },
  1048. ],
  1049. threeDLayers_paishui_wushui:[
  1050. {
  1051. id: '5',
  1052. name: '污水管',
  1053. url: [null, null],
  1054. class: 'zy',
  1055. children: [
  1056. {
  1057. id: '5-1',
  1058. name: '铁西污水管',
  1059. url: ['/3D-TX_pai_wushui/rest/realspace', null]
  1060. },
  1061. {
  1062. id: '5-2',
  1063. name: '铁东污水管',
  1064. url: ['/3D-TD_pai_wushui/rest/realspace', null]
  1065. }
  1066. ]
  1067. },
  1068. ],
  1069. threeDLayers_paishui_heliu:[
  1070. {
  1071. id: '6',
  1072. name: '河流',
  1073. url: [null, null],
  1074. class: 'dy',
  1075. children: [
  1076. {
  1077. id: '6-1',
  1078. name: '铁西合流管',
  1079. url: ['/3D-TX_pai_heliu/rest/realspace', null]
  1080. },
  1081. {
  1082. id: '6-2',
  1083. name: '铁东合流管',
  1084. url: ['/3D-TD_pai_heliu/rest/realspace', null]
  1085. },
  1086. ]
  1087. }
  1088. ],
  1089. twoDLayers_gongshui:[
  1090. {
  1091. id: '1',
  1092. name: '给水',
  1093. url: [null, null],
  1094. class: 'cgy',
  1095. children: [
  1096. {
  1097. id: '1-1',
  1098. name: '铁东给水',
  1099. url: [null, '/map-ShuiWuGeiShui-2/rest/maps/TD_geishui']
  1100. },
  1101. {
  1102. id: '1-2',
  1103. name: '铁西给水',
  1104. url: [null, '/map-ShuiWuGeiShui-2/rest/maps/TX_geishui']
  1105. }
  1106. ]
  1107. },
  1108. ],
  1109. threeDLayers_gongshui:[
  1110. {
  1111. id: '4',
  1112. name: '给水',
  1113. url: [null, null],
  1114. class: 'cgy',
  1115. children: [
  1116. {
  1117. id: '4-1',
  1118. name: '铁东给水',
  1119. url: ['/3D-TD_geishui-2/rest/realspace', null]
  1120. },
  1121. {
  1122. id: '4-2',
  1123. name: '铁西给水',
  1124. url: ['/3D-TX_geishui-2/rest/realspace', null]
  1125. }
  1126. ]
  1127. },
  1128. ],
  1129. twoDLayers_guanlang: [],
  1130. threeDLayers_guanlang: [],
  1131. bridge:'',//桥梁
  1132. drainage:'',//排水
  1133. gas:'',//燃气
  1134. heating:'',//供热
  1135. utility:'',//管廊
  1136. water:'',//供水
  1137. input: '',
  1138. activeName1: 'sj',
  1139. radio: '1',
  1140. dialogVisibleHy:false,
  1141. dialogVisibleYuAn:false,
  1142. tableData: [{
  1143. tit: '长兴街道至人民大街巡查路线',
  1144. name: '王小虎',
  1145. num: '456',
  1146. time: '2025年11月12日13:51:07',
  1147. }, {
  1148. tit: '长兴街道至人民大街巡查路线',
  1149. name: '王小虎',
  1150. num: '456',
  1151. time: '2025年11月12日13:51:07',
  1152. }, {
  1153. tit: '长兴街道至人民大街巡查路线',
  1154. name: '王小虎',
  1155. num: '456',
  1156. time: '2025年11月12日13:51:07',
  1157. }, {
  1158. tit: '长兴街道至人民大街巡查路线',
  1159. name: '王小虎',
  1160. num: '456',
  1161. time: '2025年11月12日13:51:07',
  1162. }, {
  1163. tit: '长兴街道至人民大街巡查路线',
  1164. name: '王小虎',
  1165. num: '456',
  1166. time: '2025年11月12日13:51:07',
  1167. }, {
  1168. tit: '长兴街道至人民大街巡查路线',
  1169. name: '王小虎',
  1170. num: '456',
  1171. time: '2025年11月12日13:51:07',
  1172. }, {
  1173. tit: '长兴街道至人民大街巡查路线',
  1174. name: '王小虎',
  1175. num: '456',
  1176. time: '2025年11月12日13:51:07',
  1177. }, {
  1178. tit: '长兴街道至人民大街巡查路线',
  1179. name: '王小虎',
  1180. num: '456',
  1181. time: '2025年11月12日13:51:07',
  1182. }, ],
  1183. listContent:[
  1184. {id:1,hydh:'rq',hy:'燃气',tit:'设备型号AHHDDDD',ztdh:'zx',zt:'在线'},
  1185. {id:2,hydh:'rq',hy:'燃气',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1186. {id:3,hydh:'ps',hy:'排水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1187. {id:4,hydh:'rl',hy:'热力',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1188. {id:5,hydh:'ql',hy:'桥梁',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1189. {id:6,hydh:'gl',hy:'管廊',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1190. {id:7,hydh:'gs',hy:'供水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1191. {id:8,hydh:'rl',hy:'热力',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1192. {id:9,hydh:'ql',hy:'桥梁',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1193. {id:10,hydh:'gl',hy:'管廊',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1194. {id:11,hydh:'gs',hy:'供水',tit:'设备型号AHH555D',ztdh:'zx',zt:'在线'},
  1195. ],
  1196. inspectionDataList:[], // 巡检及隐患数据
  1197. planList:[],
  1198. warningManagementData:[],
  1199. warningManagementTotal:'',
  1200. yearlyTaskStatisticsTotal:null,
  1201. eventStatisticsData:[],
  1202. currentBtmHighIdx:0,
  1203. eventPicOfIndustry:[
  1204. {
  1205. label:'热力',
  1206. index:5
  1207. },
  1208. {
  1209. label:'排水',
  1210. index:3
  1211. },
  1212. {
  1213. label:'桥梁',
  1214. index:4
  1215. },
  1216. {
  1217. label:'管廊',
  1218. index:1
  1219. },
  1220. {
  1221. label:'燃气',
  1222. index:6
  1223. },
  1224. {
  1225. label:'供水',
  1226. index:2
  1227. },
  1228. ],
  1229. eventInfoOfIndustry:[], // 事件统计催办/督办 列表
  1230. superviselabels:[],
  1231. superviseCount:[],
  1232. }
  1233. },
  1234. methods: {
  1235. // 获取配置项
  1236. queryVectorTilesMapList() {
  1237. this.addVectorTilesMapList = []
  1238. queryVectorTilesMapList(Cookies.get('deptId')).then(req => {
  1239. for (let i = 0; i < req.length; i++) {
  1240. if (req[i].note == '图层过滤') {
  1241. this.addVectorTilesMapList.push(req[i])
  1242. }
  1243. }
  1244. }
  1245. )
  1246. },
  1247. handleCheckChange() {
  1248. // 获取所有tree的叶子节点
  1249. const allLeafNodes = [];
  1250. // 燃气-次高压
  1251. if (this.$refs.twoDLayers_ranqi_height) {
  1252. const leafNodes1 = this.$refs.twoDLayers_ranqi_height.getCheckedNodes(true);
  1253. allLeafNodes.push(...leafNodes1);
  1254. }
  1255. // 燃气-中压
  1256. if (this.$refs.twoDLayers_ranqi_middle) {
  1257. const leafNodes2 = this.$refs.twoDLayers_ranqi_middle.getCheckedNodes(true);
  1258. allLeafNodes.push(...leafNodes2);
  1259. }
  1260. // 燃气-低压
  1261. if (this.$refs.twoDLayers_ranqi_low) {
  1262. const leafNodes3 = this.$refs.twoDLayers_ranqi_low.getCheckedNodes(true);
  1263. allLeafNodes.push(...leafNodes3);
  1264. }
  1265. // 燃气-次高压
  1266. if (this.$refs.threeDLayers_ranqi_height) {
  1267. const leafNodes1 = this.$refs.threeDLayers_ranqi_height.getCheckedNodes(true);
  1268. allLeafNodes.push(...leafNodes1);
  1269. }
  1270. // 燃气-中压
  1271. if (this.$refs.threeDLayers_ranqi_middle) {
  1272. const leafNodes2 = this.$refs.threeDLayers_ranqi_middle.getCheckedNodes(true);
  1273. allLeafNodes.push(...leafNodes2);
  1274. }
  1275. // 燃气-低压
  1276. if (this.$refs.threeDLayers_ranqi_low) {
  1277. const leafNodes3 = this.$refs.threeDLayers_ranqi_low.getCheckedNodes(true);
  1278. allLeafNodes.push(...leafNodes3);
  1279. }
  1280. // 热力-一次
  1281. if (this.$refs.twoDLayers_gongre_yici) {
  1282. const leafNodes3 = this.$refs.twoDLayers_gongre_yici.getCheckedNodes(true);
  1283. allLeafNodes.push(...leafNodes3);
  1284. }
  1285. // 热力-二次
  1286. if (this.$refs.twoDLayers_gongre_erci) {
  1287. const leafNodes3 = this.$refs.twoDLayers_gongre_erci.getCheckedNodes(true);
  1288. allLeafNodes.push(...leafNodes3);
  1289. }
  1290. // 热力-直供
  1291. if (this.$refs.twoDLayers_gongre_zhigong) {
  1292. const leafNodes3 = this.$refs.twoDLayers_gongre_zhigong.getCheckedNodes(true);
  1293. allLeafNodes.push(...leafNodes3);
  1294. }
  1295. // 热力-一次
  1296. if (this.$refs.threeDLayers_gongre_yici) {
  1297. const leafNodes3 = this.$refs.threeDLayers_gongre_yici.getCheckedNodes(true);
  1298. allLeafNodes.push(...leafNodes3);
  1299. }
  1300. // 热力-二次
  1301. if (this.$refs.threeDLayers_gongre_erci) {
  1302. const leafNodes3 = this.$refs.threeDLayers_gongre_erci.getCheckedNodes(true);
  1303. allLeafNodes.push(...leafNodes3);
  1304. }
  1305. // 热力-直供
  1306. if (this.$refs.threeDLayers_gongre_zhigong) {
  1307. const leafNodes3 = this.$refs.threeDLayers_gongre_zhigong.getCheckedNodes(true);
  1308. allLeafNodes.push(...leafNodes3);
  1309. }
  1310. // 供水
  1311. if (this.$refs.twoDLayers_gongshui) {
  1312. const leafNodes3 = this.$refs.twoDLayers_gongshui.getCheckedNodes(true);
  1313. allLeafNodes.push(...leafNodes3);
  1314. }
  1315. // 供水
  1316. if (this.$refs.threeDLayers_gongshui) {
  1317. const leafNodes3 = this.$refs.threeDLayers_gongshui.getCheckedNodes(true);
  1318. allLeafNodes.push(...leafNodes3);
  1319. }
  1320. // 排水-雨水
  1321. if (this.$refs.twoDLayers_paishui_yushui) {
  1322. const leafNodes3 = this.$refs.twoDLayers_paishui_yushui.getCheckedNodes(true);
  1323. allLeafNodes.push(...leafNodes3);
  1324. }
  1325. // 排水-污水
  1326. if (this.$refs.twoDLayers_paishui_wushui) {
  1327. const leafNodes3 = this.$refs.twoDLayers_paishui_wushui.getCheckedNodes(true);
  1328. allLeafNodes.push(...leafNodes3);
  1329. }
  1330. // 排水-合流
  1331. if (this.$refs.twoDLayers_paishui_heliu) {
  1332. const leafNodes3 = this.$refs.twoDLayers_paishui_heliu.getCheckedNodes(true);
  1333. allLeafNodes.push(...leafNodes3);
  1334. }
  1335. // 排水-雨水
  1336. if (this.$refs.threeDLayers_paishui_yushui) {
  1337. const leafNodes3 = this.$refs.threeDLayers_paishui_yushui.getCheckedNodes(true);
  1338. allLeafNodes.push(...leafNodes3);
  1339. }
  1340. // 排水-污水
  1341. if (this.$refs.threeDLayers_paishui_wushui) {
  1342. const leafNodes3 = this.$refs.threeDLayers_paishui_wushui.getCheckedNodes(true);
  1343. allLeafNodes.push(...leafNodes3);
  1344. }
  1345. // 排水-合流
  1346. if (this.$refs.threeDLayers_paishui_heliu) {
  1347. const leafNodes3 = this.$refs.threeDLayers_paishui_heliu.getCheckedNodes(true);
  1348. allLeafNodes.push(...leafNodes3);
  1349. }
  1350. // 提取需要的属性
  1351. this.checkedOptions = allLeafNodes.map(node => node.url).filter(url => url);
  1352. this.handleCheckedOptions()
  1353. },
  1354. handleCheckedOptions() {
  1355. this.$refs.supermap.addLifelineOpen(this.checkedOptions)
  1356. },
  1357. layerCheck() {
  1358. this.$refs.supermap.reload(this.checkedBaseDOptions)
  1359. },
  1360. goToHomePage() {
  1361. window.location.href = '/homePage';
  1362. },
  1363. time() {
  1364. let dt = new Date();
  1365. let y = dt.getFullYear();
  1366. let mt = dt.getMonth() + 1;
  1367. mt = mt >= 10 ? mt : '0' + mt
  1368. let day = dt.getDate() >= 10 ? dt.getDate() : '0' + dt.getDate();
  1369. let h = dt.getHours() >= 10 ? dt.getHours() : '0' + dt.getHours();
  1370. let m = dt.getMinutes() >= 10 ? dt.getMinutes() : '0' + dt.getMinutes();
  1371. let s = dt.getSeconds() >= 10 ? dt.getSeconds() : '0' + dt.getSeconds();
  1372. document.getElementById("day").innerHTML = y + "." + mt + "." + day + ""; //2022年1月17日
  1373. document.getElementById("time").innerHTML = h + ":" + m + ":" + s; //16:28:03
  1374. setTimeout(() => {
  1375. this.time()
  1376. }, 1000);
  1377. },
  1378. industryHasChanged(industry=0){
  1379. if(industry == this.currentBtmHighIdx) return;
  1380. this.currentBtmHighIdx = industry
  1381. // this.inspectionAndHiddenDanger(industry)
  1382. this.eventContingencyPlan(industry)
  1383. this.ndChart(industry)
  1384. // this.yjgl_chart(industry)
  1385. // this.sjChart(industry,true)
  1386. },
  1387. eventContingencyPlan(industry = 0){
  1388. eventContingencyPlan(1).then(res => {
  1389. this.planList = res.data || []
  1390. })
  1391. },
  1392. inspectionAndHiddenDanger(industry = ''){
  1393. inspectionAndHiddenDanger(industry).then(res => {
  1394. this.inspectionDataList = res.data || []
  1395. })
  1396. },
  1397. selectPlanList(){
  1398. selectPlanList().then(res => {
  1399. this.planList = res.rows;
  1400. })
  1401. },
  1402. //设备报警表单点击后跳转新页面
  1403. toSbList(){
  1404. this.$router.push('/jgptList')
  1405. },
  1406. toRwList(){
  1407. this.$router.push('/RwList')
  1408. },
  1409. //行业数据完整度chart
  1410. hysj_div_chart() {
  1411. var myChart1 = echarts.init(document.getElementById("hysj_div_chart1"));
  1412. var myChart2 = echarts.init(document.getElementById("hysj_div_chart2"));
  1413. var myChart3 = echarts.init(document.getElementById("hysj_div_chart3"));
  1414. var myChart4 = echarts.init(document.getElementById("hysj_div_chart4"));
  1415. var myChart5 = echarts.init(document.getElementById("hysj_div_chart5"));
  1416. var myChart6 = echarts.init(document.getElementById("hysj_div_chart6"));
  1417. industryDataCompleteness().then(res => {
  1418. this.bridge=res.data.bridge;//桥梁
  1419. this.drainage=res.data.drainage;//排水
  1420. this.gas=res.data.gas;//燃气
  1421. this.heating=res.data.heating;//供热
  1422. this.utility=res.data.utility;//管廊
  1423. this.water=res.data.water;//供水
  1424. var option1 = {
  1425. series: [
  1426. {
  1427. center: ["45%", "80%"], //仪表的位置
  1428. name: "刻度", //仪表的名字
  1429. type: "gauge", //统计图类型为仪表
  1430. radius: "100%", //统计图的半径大小
  1431. min: 0, //最小刻度
  1432. max: 10, //最大刻度
  1433. splitNumber: 6, //刻度数量
  1434. startAngle: 180, //开始刻度的角度
  1435. endAngle: 0, //结束刻度的角度
  1436. axisLine: {
  1437. //设置默认刻度盘上的刻度不显示,重新定义刻度盘
  1438. show: false,
  1439. lineStyle: {
  1440. width: 1,
  1441. color: [[1, "rgba(255,255,255,0)"]],
  1442. },
  1443. }, //仪表盘轴线
  1444. axisLabel: {
  1445. //仪表盘上的数据
  1446. show: true,
  1447. color: "#2a86e4", //仪表盘上的轴线颜色
  1448. distance: -30, //图形与刻度的间距
  1449. formatter: function (v) {
  1450. //刻度轴上的数据相关显示
  1451. switch (v + "") {
  1452. case "0":
  1453. return "0";
  1454. case "2":
  1455. return "20";
  1456. case "4":
  1457. return "40";
  1458. case "6":
  1459. return "60";
  1460. case "8":
  1461. return "80";
  1462. case "10":
  1463. return "100";
  1464. }
  1465. },
  1466. }, //刻度标签。
  1467. axisTick: {
  1468. show: true,
  1469. splitNumber: 6, //刻度的段落数
  1470. lineStyle: {
  1471. color: "#48698f",
  1472. width: 1, //刻度的宽度
  1473. },
  1474. length: -4, //刻度的长度
  1475. }, //刻度样式
  1476. splitLine: {
  1477. //文字和刻度的偏移量
  1478. show: true,
  1479. length: -6, //便宜的长度
  1480. lineStyle: {
  1481. color: "#48698f",
  1482. },
  1483. }, //分隔线样式
  1484. },
  1485. {
  1486. type: "gauge", //刻度轴表盘
  1487. radius: "85%", //刻度盘的大小
  1488. center: ["45%", "82%"], //刻度盘的位置
  1489. splitNumber: 6, //刻度数量
  1490. startAngle: 180, //开始刻度的角度
  1491. endAngle: 0, //结束刻度的角度
  1492. axisLine: {
  1493. //刻度的线条
  1494. show: true,
  1495. lineStyle: {
  1496. width: 8, //定义一个宽15的数轴
  1497. color: [
  1498. //颜色为渐变色
  1499. [
  1500. 0.9,
  1501. new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  1502. {
  1503. offset: 0,
  1504. color: "#2a86e4",
  1505. },
  1506. {
  1507. offset: 1,
  1508. color: "#3dffaf",
  1509. },
  1510. ]),
  1511. ],
  1512. [1, "#413e54"],
  1513. ],
  1514. },
  1515. },
  1516. //分隔线样式。
  1517. splitLine: {
  1518. //表盘上的轴线
  1519. show: false,
  1520. },
  1521. axisLabel: {
  1522. //表盘上的刻度数值文字
  1523. show: false,
  1524. },
  1525. axisTick: {
  1526. //表盘上的刻度线
  1527. show: false,
  1528. },
  1529. pointer: {
  1530. //表盘上的指针
  1531. show: true,
  1532. width:4
  1533. },
  1534. itemStyle: {
  1535. //表盘指针的颜色
  1536. color: "#18c8ff",
  1537. },
  1538. title: {
  1539. //标题
  1540. show: false,
  1541. offsetCenter: [0, "-26%"], // x, y,单位px
  1542. textStyle: {
  1543. color: "#fff",
  1544. fontSize: 10, //表盘上的标题文字大小
  1545. },
  1546. },
  1547. //仪表盘详情,用于显示数据。
  1548. detail: {
  1549. show: false,
  1550. offsetCenter: [0, "3%"],
  1551. color: "#ffffff",
  1552. formatter: function (params) {
  1553. return params;
  1554. },
  1555. textStyle: {
  1556. fontSize: 10,
  1557. },
  1558. },
  1559. data: [
  1560. //当前数值的数据
  1561. {
  1562. name: "",
  1563. value: this.bridge.replace('%',''),
  1564. },
  1565. ],
  1566. },
  1567. ],
  1568. };
  1569. var option2 = {
  1570. series: [
  1571. {
  1572. center: ["45%", "80%"], //仪表的位置
  1573. name: "刻度", //仪表的名字
  1574. type: "gauge", //统计图类型为仪表
  1575. radius: "100%", //统计图的半径大小
  1576. min: 0, //最小刻度
  1577. max: 10, //最大刻度
  1578. splitNumber: 6, //刻度数量
  1579. startAngle: 180, //开始刻度的角度
  1580. endAngle: 0, //结束刻度的角度
  1581. axisLine: {
  1582. //设置默认刻度盘上的刻度不显示,重新定义刻度盘
  1583. show: false,
  1584. lineStyle: {
  1585. width: 1,
  1586. color: [[1, "rgba(255,255,255,0)"]],
  1587. },
  1588. }, //仪表盘轴线
  1589. axisLabel: {
  1590. //仪表盘上的数据
  1591. show: true,
  1592. color: "#2a86e4", //仪表盘上的轴线颜色
  1593. distance: -30, //图形与刻度的间距
  1594. formatter: function (v) {
  1595. //刻度轴上的数据相关显示
  1596. switch (v + "") {
  1597. case "0":
  1598. return "0";
  1599. case "2":
  1600. return "20";
  1601. case "4":
  1602. return "40";
  1603. case "6":
  1604. return "60";
  1605. case "8":
  1606. return "80";
  1607. case "10":
  1608. return "100";
  1609. }
  1610. },
  1611. }, //刻度标签。
  1612. axisTick: {
  1613. show: true,
  1614. splitNumber: 6, //刻度的段落数
  1615. lineStyle: {
  1616. color: "#48698f",
  1617. width: 1, //刻度的宽度
  1618. },
  1619. length: -4, //刻度的长度
  1620. }, //刻度样式
  1621. splitLine: {
  1622. //文字和刻度的偏移量
  1623. show: true,
  1624. length: -6, //便宜的长度
  1625. lineStyle: {
  1626. color: "#48698f",
  1627. },
  1628. }, //分隔线样式
  1629. },
  1630. {
  1631. type: "gauge", //刻度轴表盘
  1632. radius: "85%", //刻度盘的大小
  1633. center: ["45%", "82%"], //刻度盘的位置
  1634. splitNumber: 6, //刻度数量
  1635. startAngle: 180, //开始刻度的角度
  1636. endAngle: 0, //结束刻度的角度
  1637. axisLine: {
  1638. //刻度的线条
  1639. show: true,
  1640. lineStyle: {
  1641. width: 8, //定义一个宽15的数轴
  1642. color: [
  1643. //颜色为渐变色
  1644. [
  1645. 0.9,
  1646. new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  1647. {
  1648. offset: 0,
  1649. color: "#2a86e4",
  1650. },
  1651. {
  1652. offset: 1,
  1653. color: "#3dffaf",
  1654. },
  1655. ]),
  1656. ],
  1657. [1, "#413e54"],
  1658. ],
  1659. },
  1660. },
  1661. //分隔线样式。
  1662. splitLine: {
  1663. //表盘上的轴线
  1664. show: false,
  1665. },
  1666. axisLabel: {
  1667. //表盘上的刻度数值文字
  1668. show: false,
  1669. },
  1670. axisTick: {
  1671. //表盘上的刻度线
  1672. show: false,
  1673. },
  1674. pointer: {
  1675. //表盘上的指针
  1676. show: true,
  1677. width:4
  1678. },
  1679. itemStyle: {
  1680. //表盘指针的颜色
  1681. color: "#18c8ff",
  1682. },
  1683. title: {
  1684. //标题
  1685. show: false,
  1686. offsetCenter: [0, "-26%"], // x, y,单位px
  1687. textStyle: {
  1688. color: "#fff",
  1689. fontSize: 10, //表盘上的标题文字大小
  1690. },
  1691. },
  1692. //仪表盘详情,用于显示数据。
  1693. detail: {
  1694. show: false,
  1695. offsetCenter: [0, "3%"],
  1696. color: "#ffffff",
  1697. formatter: function (params) {
  1698. return params;
  1699. },
  1700. textStyle: {
  1701. fontSize: 10,
  1702. },
  1703. },
  1704. data: [
  1705. //当前数值的数据
  1706. {
  1707. name: "",
  1708. value: this.drainage.replace('%',''),
  1709. },
  1710. ],
  1711. },
  1712. ],
  1713. };
  1714. var option3 = {
  1715. series: [
  1716. {
  1717. center: ["45%", "80%"], //仪表的位置
  1718. name: "刻度", //仪表的名字
  1719. type: "gauge", //统计图类型为仪表
  1720. radius: "100%", //统计图的半径大小
  1721. min: 0, //最小刻度
  1722. max: 10, //最大刻度
  1723. splitNumber: 6, //刻度数量
  1724. startAngle: 180, //开始刻度的角度
  1725. endAngle: 0, //结束刻度的角度
  1726. axisLine: {
  1727. //设置默认刻度盘上的刻度不显示,重新定义刻度盘
  1728. show: false,
  1729. lineStyle: {
  1730. width: 1,
  1731. color: [[1, "rgba(255,255,255,0)"]],
  1732. },
  1733. }, //仪表盘轴线
  1734. axisLabel: {
  1735. //仪表盘上的数据
  1736. show: true,
  1737. color: "#2a86e4", //仪表盘上的轴线颜色
  1738. distance: -30, //图形与刻度的间距
  1739. formatter: function (v) {
  1740. //刻度轴上的数据相关显示
  1741. switch (v + "") {
  1742. case "0":
  1743. return "0";
  1744. case "2":
  1745. return "20";
  1746. case "4":
  1747. return "40";
  1748. case "6":
  1749. return "60";
  1750. case "8":
  1751. return "80";
  1752. case "10":
  1753. return "100";
  1754. }
  1755. },
  1756. }, //刻度标签。
  1757. axisTick: {
  1758. show: true,
  1759. splitNumber: 6, //刻度的段落数
  1760. lineStyle: {
  1761. color: "#48698f",
  1762. width: 1, //刻度的宽度
  1763. },
  1764. length: -4, //刻度的长度
  1765. }, //刻度样式
  1766. splitLine: {
  1767. //文字和刻度的偏移量
  1768. show: true,
  1769. length: -6, //便宜的长度
  1770. lineStyle: {
  1771. color: "#48698f",
  1772. },
  1773. }, //分隔线样式
  1774. },
  1775. {
  1776. type: "gauge", //刻度轴表盘
  1777. radius: "85%", //刻度盘的大小
  1778. center: ["45%", "82%"], //刻度盘的位置
  1779. splitNumber: 6, //刻度数量
  1780. startAngle: 180, //开始刻度的角度
  1781. endAngle: 0, //结束刻度的角度
  1782. axisLine: {
  1783. //刻度的线条
  1784. show: true,
  1785. lineStyle: {
  1786. width: 8, //定义一个宽15的数轴
  1787. color: [
  1788. //颜色为渐变色
  1789. [
  1790. 0.9,
  1791. new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  1792. {
  1793. offset: 0,
  1794. color: "#2a86e4",
  1795. },
  1796. {
  1797. offset: 1,
  1798. color: "#3dffaf",
  1799. },
  1800. ]),
  1801. ],
  1802. [1, "#413e54"],
  1803. ],
  1804. },
  1805. },
  1806. //分隔线样式。
  1807. splitLine: {
  1808. //表盘上的轴线
  1809. show: false,
  1810. },
  1811. axisLabel: {
  1812. //表盘上的刻度数值文字
  1813. show: false,
  1814. },
  1815. axisTick: {
  1816. //表盘上的刻度线
  1817. show: false,
  1818. },
  1819. pointer: {
  1820. //表盘上的指针
  1821. show: true,
  1822. width:4
  1823. },
  1824. itemStyle: {
  1825. //表盘指针的颜色
  1826. color: "#18c8ff",
  1827. },
  1828. title: {
  1829. //标题
  1830. show: false,
  1831. offsetCenter: [0, "-26%"], // x, y,单位px
  1832. textStyle: {
  1833. color: "#fff",
  1834. fontSize: 10, //表盘上的标题文字大小
  1835. },
  1836. },
  1837. //仪表盘详情,用于显示数据。
  1838. detail: {
  1839. show: false,
  1840. offsetCenter: [0, "3%"],
  1841. color: "#ffffff",
  1842. formatter: function (params) {
  1843. return params;
  1844. },
  1845. textStyle: {
  1846. fontSize: 10,
  1847. },
  1848. },
  1849. data: [
  1850. //当前数值的数据
  1851. {
  1852. name: "",
  1853. value: this.gas.replace('%',''),
  1854. },
  1855. ],
  1856. },
  1857. ],
  1858. };
  1859. var option4 = {
  1860. series: [
  1861. {
  1862. center: ["45%", "80%"], //仪表的位置
  1863. name: "刻度", //仪表的名字
  1864. type: "gauge", //统计图类型为仪表
  1865. radius: "100%", //统计图的半径大小
  1866. min: 0, //最小刻度
  1867. max: 10, //最大刻度
  1868. splitNumber: 6, //刻度数量
  1869. startAngle: 180, //开始刻度的角度
  1870. endAngle: 0, //结束刻度的角度
  1871. axisLine: {
  1872. //设置默认刻度盘上的刻度不显示,重新定义刻度盘
  1873. show: false,
  1874. lineStyle: {
  1875. width: 1,
  1876. color: [[1, "rgba(255,255,255,0)"]],
  1877. },
  1878. }, //仪表盘轴线
  1879. axisLabel: {
  1880. //仪表盘上的数据
  1881. show: true,
  1882. color: "#2a86e4", //仪表盘上的轴线颜色
  1883. distance: -30, //图形与刻度的间距
  1884. formatter: function (v) {
  1885. //刻度轴上的数据相关显示
  1886. switch (v + "") {
  1887. case "0":
  1888. return "0";
  1889. case "2":
  1890. return "20";
  1891. case "4":
  1892. return "40";
  1893. case "6":
  1894. return "60";
  1895. case "8":
  1896. return "80";
  1897. case "10":
  1898. return "100";
  1899. }
  1900. },
  1901. }, //刻度标签。
  1902. axisTick: {
  1903. show: true,
  1904. splitNumber: 6, //刻度的段落数
  1905. lineStyle: {
  1906. color: "#48698f",
  1907. width: 1, //刻度的宽度
  1908. },
  1909. length: -4, //刻度的长度
  1910. }, //刻度样式
  1911. splitLine: {
  1912. //文字和刻度的偏移量
  1913. show: true,
  1914. length: -6, //便宜的长度
  1915. lineStyle: {
  1916. color: "#48698f",
  1917. },
  1918. }, //分隔线样式
  1919. },
  1920. {
  1921. type: "gauge", //刻度轴表盘
  1922. radius: "85%", //刻度盘的大小
  1923. center: ["45%", "82%"], //刻度盘的位置
  1924. splitNumber: 6, //刻度数量
  1925. startAngle: 180, //开始刻度的角度
  1926. endAngle: 0, //结束刻度的角度
  1927. axisLine: {
  1928. //刻度的线条
  1929. show: true,
  1930. lineStyle: {
  1931. width: 8, //定义一个宽15的数轴
  1932. color: [
  1933. //颜色为渐变色
  1934. [
  1935. 0.9,
  1936. new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  1937. {
  1938. offset: 0,
  1939. color: "#2a86e4",
  1940. },
  1941. {
  1942. offset: 1,
  1943. color: "#3dffaf",
  1944. },
  1945. ]),
  1946. ],
  1947. [1, "#413e54"],
  1948. ],
  1949. },
  1950. },
  1951. //分隔线样式。
  1952. splitLine: {
  1953. //表盘上的轴线
  1954. show: false,
  1955. },
  1956. axisLabel: {
  1957. //表盘上的刻度数值文字
  1958. show: false,
  1959. },
  1960. axisTick: {
  1961. //表盘上的刻度线
  1962. show: false,
  1963. },
  1964. pointer: {
  1965. //表盘上的指针
  1966. show: true,
  1967. width:4
  1968. },
  1969. itemStyle: {
  1970. //表盘指针的颜色
  1971. color: "#18c8ff",
  1972. },
  1973. title: {
  1974. //标题
  1975. show: false,
  1976. offsetCenter: [0, "-26%"], // x, y,单位px
  1977. textStyle: {
  1978. color: "#fff",
  1979. fontSize: 10, //表盘上的标题文字大小
  1980. },
  1981. },
  1982. //仪表盘详情,用于显示数据。
  1983. detail: {
  1984. show: false,
  1985. offsetCenter: [0, "3%"],
  1986. color: "#ffffff",
  1987. formatter: function (params) {
  1988. return params;
  1989. },
  1990. textStyle: {
  1991. fontSize: 10,
  1992. },
  1993. },
  1994. data: [
  1995. //当前数值的数据
  1996. {
  1997. name: "",
  1998. value: this.heating.replace('%',''),
  1999. },
  2000. ],
  2001. },
  2002. ],
  2003. };
  2004. var option5 = {
  2005. series: [
  2006. {
  2007. center: ["45%", "80%"], //仪表的位置
  2008. name: "刻度", //仪表的名字
  2009. type: "gauge", //统计图类型为仪表
  2010. radius: "100%", //统计图的半径大小
  2011. min: 0, //最小刻度
  2012. max: 10, //最大刻度
  2013. splitNumber: 6, //刻度数量
  2014. startAngle: 180, //开始刻度的角度
  2015. endAngle: 0, //结束刻度的角度
  2016. axisLine: {
  2017. //设置默认刻度盘上的刻度不显示,重新定义刻度盘
  2018. show: false,
  2019. lineStyle: {
  2020. width: 1,
  2021. color: [[1, "rgba(255,255,255,0)"]],
  2022. },
  2023. }, //仪表盘轴线
  2024. axisLabel: {
  2025. //仪表盘上的数据
  2026. show: true,
  2027. color: "#2a86e4", //仪表盘上的轴线颜色
  2028. distance: -30, //图形与刻度的间距
  2029. formatter: function (v) {
  2030. //刻度轴上的数据相关显示
  2031. switch (v + "") {
  2032. case "0":
  2033. return "0";
  2034. case "2":
  2035. return "20";
  2036. case "4":
  2037. return "40";
  2038. case "6":
  2039. return "60";
  2040. case "8":
  2041. return "80";
  2042. case "10":
  2043. return "100";
  2044. }
  2045. },
  2046. }, //刻度标签。
  2047. axisTick: {
  2048. show: true,
  2049. splitNumber: 6, //刻度的段落数
  2050. lineStyle: {
  2051. color: "#48698f",
  2052. width: 1, //刻度的宽度
  2053. },
  2054. length: -4, //刻度的长度
  2055. }, //刻度样式
  2056. splitLine: {
  2057. //文字和刻度的偏移量
  2058. show: true,
  2059. length: -6, //便宜的长度
  2060. lineStyle: {
  2061. color: "#48698f",
  2062. },
  2063. }, //分隔线样式
  2064. },
  2065. {
  2066. type: "gauge", //刻度轴表盘
  2067. radius: "85%", //刻度盘的大小
  2068. center: ["45%", "82%"], //刻度盘的位置
  2069. splitNumber: 6, //刻度数量
  2070. startAngle: 180, //开始刻度的角度
  2071. endAngle: 0, //结束刻度的角度
  2072. axisLine: {
  2073. //刻度的线条
  2074. show: true,
  2075. lineStyle: {
  2076. width: 8, //定义一个宽15的数轴
  2077. color: [
  2078. //颜色为渐变色
  2079. [
  2080. 0.9,
  2081. new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  2082. {
  2083. offset: 0,
  2084. color: "#2a86e4",
  2085. },
  2086. {
  2087. offset: 1,
  2088. color: "#3dffaf",
  2089. },
  2090. ]),
  2091. ],
  2092. [1, "#413e54"],
  2093. ],
  2094. },
  2095. },
  2096. //分隔线样式。
  2097. splitLine: {
  2098. //表盘上的轴线
  2099. show: false,
  2100. },
  2101. axisLabel: {
  2102. //表盘上的刻度数值文字
  2103. show: false,
  2104. },
  2105. axisTick: {
  2106. //表盘上的刻度线
  2107. show: false,
  2108. },
  2109. pointer: {
  2110. //表盘上的指针
  2111. show: true,
  2112. width:4
  2113. },
  2114. itemStyle: {
  2115. //表盘指针的颜色
  2116. color: "#18c8ff",
  2117. },
  2118. title: {
  2119. //标题
  2120. show: false,
  2121. offsetCenter: [0, "-26%"], // x, y,单位px
  2122. textStyle: {
  2123. color: "#fff",
  2124. fontSize: 10, //表盘上的标题文字大小
  2125. },
  2126. },
  2127. //仪表盘详情,用于显示数据。
  2128. detail: {
  2129. show: false,
  2130. offsetCenter: [0, "3%"],
  2131. color: "#ffffff",
  2132. formatter: function (params) {
  2133. return params;
  2134. },
  2135. textStyle: {
  2136. fontSize: 10,
  2137. },
  2138. },
  2139. data: [
  2140. //当前数值的数据
  2141. {
  2142. name: "",
  2143. value: this.utility.replace('%',''),
  2144. },
  2145. ],
  2146. },
  2147. ],
  2148. };
  2149. var option6 = {
  2150. series: [
  2151. {
  2152. center: ["45%", "80%"], //仪表的位置
  2153. name: "刻度", //仪表的名字
  2154. type: "gauge", //统计图类型为仪表
  2155. radius: "100%", //统计图的半径大小
  2156. min: 0, //最小刻度
  2157. max: 10, //最大刻度
  2158. splitNumber: 6, //刻度数量
  2159. startAngle: 180, //开始刻度的角度
  2160. endAngle: 0, //结束刻度的角度
  2161. axisLine: {
  2162. //设置默认刻度盘上的刻度不显示,重新定义刻度盘
  2163. show: false,
  2164. lineStyle: {
  2165. width: 1,
  2166. color: [[1, "rgba(255,255,255,0)"]],
  2167. },
  2168. }, //仪表盘轴线
  2169. axisLabel: {
  2170. //仪表盘上的数据
  2171. show: true,
  2172. color: "#2a86e4", //仪表盘上的轴线颜色
  2173. distance: -30, //图形与刻度的间距
  2174. formatter: function (v) {
  2175. //刻度轴上的数据相关显示
  2176. switch (v + "") {
  2177. case "0":
  2178. return "0";
  2179. case "2":
  2180. return "20";
  2181. case "4":
  2182. return "40";
  2183. case "6":
  2184. return "60";
  2185. case "8":
  2186. return "80";
  2187. case "10":
  2188. return "100";
  2189. }
  2190. },
  2191. }, //刻度标签。
  2192. axisTick: {
  2193. show: true,
  2194. splitNumber: 6, //刻度的段落数
  2195. lineStyle: {
  2196. color: "#48698f",
  2197. width: 1, //刻度的宽度
  2198. },
  2199. length: -4, //刻度的长度
  2200. }, //刻度样式
  2201. splitLine: {
  2202. //文字和刻度的偏移量
  2203. show: true,
  2204. length: -6, //便宜的长度
  2205. lineStyle: {
  2206. color: "#48698f",
  2207. },
  2208. }, //分隔线样式
  2209. },
  2210. {
  2211. type: "gauge", //刻度轴表盘
  2212. radius: "85%", //刻度盘的大小
  2213. center: ["45%", "82%"], //刻度盘的位置
  2214. splitNumber: 6, //刻度数量
  2215. startAngle: 180, //开始刻度的角度
  2216. endAngle: 0, //结束刻度的角度
  2217. axisLine: {
  2218. //刻度的线条
  2219. show: true,
  2220. lineStyle: {
  2221. width: 8, //定义一个宽15的数轴
  2222. color: [
  2223. //颜色为渐变色
  2224. [
  2225. 0.9,
  2226. new echarts.graphic.LinearGradient(0, 0, 1, 0, [
  2227. {
  2228. offset: 0,
  2229. color: "#2a86e4",
  2230. },
  2231. {
  2232. offset: 1,
  2233. color: "#3dffaf",
  2234. },
  2235. ]),
  2236. ],
  2237. [1, "#413e54"],
  2238. ],
  2239. },
  2240. },
  2241. //分隔线样式。
  2242. splitLine: {
  2243. //表盘上的轴线
  2244. show: false,
  2245. },
  2246. axisLabel: {
  2247. //表盘上的刻度数值文字
  2248. show: false,
  2249. },
  2250. axisTick: {
  2251. //表盘上的刻度线
  2252. show: false,
  2253. },
  2254. pointer: {
  2255. //表盘上的指针
  2256. show: true,
  2257. width:4
  2258. },
  2259. itemStyle: {
  2260. //表盘指针的颜色
  2261. color: "#18c8ff",
  2262. },
  2263. title: {
  2264. //标题
  2265. show: false,
  2266. offsetCenter: [0, "-26%"], // x, y,单位px
  2267. textStyle: {
  2268. color: "#fff",
  2269. fontSize: 10, //表盘上的标题文字大小
  2270. },
  2271. },
  2272. //仪表盘详情,用于显示数据。
  2273. detail: {
  2274. show: false,
  2275. offsetCenter: [0, "3%"],
  2276. color: "#ffffff",
  2277. formatter: function (params) {
  2278. return params;
  2279. },
  2280. textStyle: {
  2281. fontSize: 10,
  2282. },
  2283. },
  2284. data: [
  2285. //当前数值的数据
  2286. {
  2287. name: "",
  2288. value: this.water.replace('%',''),
  2289. },
  2290. ],
  2291. },
  2292. ],
  2293. };
  2294. myChart1.setOption(option1);
  2295. myChart2.setOption(option2);
  2296. myChart3.setOption(option3);
  2297. myChart4.setOption(option4);
  2298. myChart5.setOption(option5);
  2299. myChart6.setOption(option6);
  2300. })
  2301. },
  2302. //预警管理chart
  2303. yjgl_chart(industry=0) {
  2304. var myChart = echarts.init(document.getElementById("yjgl_chart"));
  2305. warningManagement(industry).then(res => {
  2306. this.warningManagementData = res.data.numList
  2307. this.warningManagementTotal = ((res.data.numList.reduce((total, item) => total + item, 0)).toString()).split('').reverse();
  2308. if(res.data){
  2309. let areaData = [
  2310. {
  2311. name: "供水",
  2312. max: 1000,
  2313. value: res.data.numList[5] || 0,
  2314. },
  2315. {
  2316. name: "管廊",
  2317. max: 1000,
  2318. value: res.data.numList[3] || 0,
  2319. },
  2320. {
  2321. name: "燃气",
  2322. max: 1000,
  2323. value: res.data.numList[4] || 0,
  2324. },
  2325. {
  2326. name: "热力",
  2327. max: 1000,
  2328. value: res.data.numList[0] || 0,
  2329. },
  2330. {
  2331. name: "桥梁",
  2332. max: 1000,
  2333. value: res.data.numList[2] || 0,
  2334. },
  2335. {
  2336. name: "排水",
  2337. max: 1000,
  2338. value: res.data.numList[1] || 0,
  2339. },
  2340. ];
  2341. let data = [];
  2342. areaData.forEach((item) => {
  2343. data.push(item.value);
  2344. });
  2345. let maxNum = Math.max(...data); //获取数组中最大的值
  2346. // 向上取整十,整百,整千,整万的方法
  2347. function ceilNumber(number) {
  2348. let bite = 0;
  2349. if (number < 10) {
  2350. return 10;
  2351. }
  2352. while (number >= 10) {
  2353. number /= 10;
  2354. bite += 1;
  2355. }
  2356. return Math.ceil(number) * Math.pow(10, bite);
  2357. }
  2358. let allMax = ceilNumber(maxNum); //将最大的值进行向上取整
  2359. areaData.forEach((item) => {
  2360. item.max = allMax;
  2361. });
  2362. let data1 = [0, 0, 0, 0, 0, 0];
  2363. let data2 = [0, 0, 0, 0, 0, 0];
  2364. let data3 = [0, 0, 0, 0, 0, 0];
  2365. let data4 = [0, 0, 0, 0, 0, 0];
  2366. let data5 = [0, 0, 0, 0, 0, 0];
  2367. let data6 = [0, 0, 0, 0, 0, 0];
  2368. data1[0] = data[0];
  2369. data2[1] = data[1];
  2370. data3[2] = data[2];
  2371. data4[3] = data[3];
  2372. data5[4] = data[4];
  2373. data6[5] = data[5];
  2374. let option = {
  2375. color: ["#2E64FF", "#F0D418", "#FF9B42", "#FF6B6B", "#8E42FF", "#00e4ff"],
  2376. legend: {
  2377. show: false,
  2378. trigger: "item",
  2379. orient: "vertical",
  2380. top: "80px",
  2381. left: "20px",
  2382. textStyle: {
  2383. color: "#fff",
  2384. },
  2385. },
  2386. tooltip: {
  2387. trigger: "item",
  2388. formatter: function (params) {
  2389. return params.name + ": " + params.value + "件";
  2390. },
  2391. },
  2392. radar: {
  2393. zlevel: 5,
  2394. shape: "circle",
  2395. scale: true,
  2396. indicator: areaData,
  2397. center: ["50%", "50%"],
  2398. radius: "40%",
  2399. nameGap: "0",
  2400. startAngle: 90,
  2401. name: {
  2402. show: false,
  2403. color: "red",
  2404. },
  2405. axisLine: {
  2406. show: true,
  2407. lineStyle: {
  2408. color: "rgba(32,126,255, .5)",
  2409. },
  2410. },
  2411. splitLine: {
  2412. lineStyle: {
  2413. color: "rgba(32,126,255, .5)",
  2414. },
  2415. },
  2416. splitArea: {
  2417. areaStyle: {
  2418. color: "rgba(32,126,255, 0.1)",
  2419. },
  2420. },
  2421. },
  2422. polar: {
  2423. radius: "40%",
  2424. },
  2425. angleAxis: {
  2426. zlevel: 0,
  2427. min: 0,
  2428. max: 360,
  2429. axisLabel: {
  2430. show: false,
  2431. },
  2432. splitLine: {
  2433. show: false,
  2434. },
  2435. },
  2436. radiusAxis: {
  2437. zlevel: 0,
  2438. min: 0,
  2439. max: allMax,
  2440. axisLabel: {
  2441. textStyle: {
  2442. color: "rgba(29,208,240,.5)",
  2443. },
  2444. },
  2445. splitLine: {
  2446. show: false,
  2447. },
  2448. },
  2449. series: [
  2450. {
  2451. type: "radar",
  2452. symbolSize: 5,
  2453. symbol: "circle",
  2454. tooltip: {
  2455. trigger: "none",
  2456. },
  2457. itemStyle: {
  2458. normal: {
  2459. label: {
  2460. show: false,
  2461. formatter: function (params) {
  2462. if (params.value !== 0) {
  2463. return params.value + "件";
  2464. } else {
  2465. return "";
  2466. }
  2467. },
  2468. color: "#ffffff",
  2469. fontSize: 10,
  2470. distance: 0,
  2471. },
  2472. },
  2473. },
  2474. areaStyle: {
  2475. normal: {
  2476. color: {
  2477. type: "radial",
  2478. x: 0.5,
  2479. y: 0.5,
  2480. r: 0.5,
  2481. colorStops: [
  2482. {
  2483. offset: 0,
  2484. color: "rgba(32,126,255, 0.5)", // 0% 处的颜色
  2485. },
  2486. {
  2487. offset: 1,
  2488. color: "rgba(32,126,255, 0.1)", // 100% 处的颜色
  2489. },
  2490. ],
  2491. global: false, // 缺省为 false
  2492. },
  2493. },
  2494. },
  2495. data: [
  2496. {
  2497. value: data,
  2498. },
  2499. {
  2500. value: data1,
  2501. itemStyle: {
  2502. color: "#2e64ff",
  2503. },
  2504. lineStyle: {
  2505. color: "transparent", //设置折线的颜色
  2506. },
  2507. },
  2508. {
  2509. value: data2,
  2510. itemStyle: {
  2511. color: "#f0d418",
  2512. },
  2513. lineStyle: {
  2514. color: "transparent", //设置折线的颜色
  2515. },
  2516. },
  2517. {
  2518. value: data3,
  2519. itemStyle: {
  2520. color: "#ff9b42",
  2521. },
  2522. lineStyle: {
  2523. color: "transparent", //设置折线的颜色
  2524. },
  2525. },
  2526. {
  2527. value: data4,
  2528. itemStyle: {
  2529. color: "#ff6b6b",
  2530. },
  2531. lineStyle: {
  2532. color: "transparent", //设置折线的颜色
  2533. },
  2534. },
  2535. {
  2536. value: data5,
  2537. itemStyle: {
  2538. color: "#8e42ff",
  2539. },
  2540. lineStyle: {
  2541. color: "transparent", //设置折线的颜色
  2542. },
  2543. },
  2544. {
  2545. value: data6,
  2546. itemStyle: {
  2547. color: "#00e4ff",
  2548. },
  2549. lineStyle: {
  2550. color: "transparent", //设置折线的颜色
  2551. },
  2552. },
  2553. {
  2554. value: [0, 0, 0, 0, 0, 0],
  2555. // name: '违章占比',
  2556. symbolSize: 5,
  2557. itemStyle: {
  2558. color: "rgba(40, 97, 132)",
  2559. },
  2560. },
  2561. ],
  2562. zlevel: 10,
  2563. z: 4,
  2564. },
  2565. {
  2566. type: "pie",
  2567. startAngle: 90,
  2568. clockwise: false, //逆时针
  2569. data: areaData.map((item) => {
  2570. return {
  2571. name: item.name,
  2572. value: item.value,
  2573. };
  2574. }),
  2575. radius: ["45%", "60%"],
  2576. zlevel: -1,
  2577. label: {
  2578. normal: {
  2579. formatter: "{d}%",
  2580. position: "top",
  2581. fontSize: "12",
  2582. color: "#fff",
  2583. },
  2584. },
  2585. },
  2586. ],
  2587. };
  2588. myChart.setOption(option);
  2589. }
  2590. })
  2591. },
  2592. //事件统计chart
  2593. sjChart(industry=0,status=true) {
  2594. var myChart = echarts.init(document.getElementById("sjChart"));
  2595. expediteOrSuperviseCount().then(res => {
  2596. if(res.data){
  2597. this.eventStatisticsData = res.data.numList || []
  2598. // 整理事件督办数据,填充事件督办图表
  2599. this.superviselabels = res.data.itemLabel
  2600. this.superviseCount = res.data.superviseCount
  2601. this.hyChart()
  2602. let eventInfoOfIndustry = []
  2603. res.data.itemLabel.forEach((e,idx) => {
  2604. eventInfoOfIndustry.push({
  2605. label:e,
  2606. superviseCount:res.data.superviseCount[idx],
  2607. expediteCount:res.data.expediteCount[idx]
  2608. })
  2609. })
  2610. this.eventInfoOfIndustry = eventInfoOfIndustry
  2611. var rich = {
  2612. white: {
  2613. color: "#ddd",
  2614. align: "center",
  2615. padding: [2, 0],
  2616. },
  2617. };
  2618. var placeHolderStyle = {
  2619. normal: {
  2620. label: {
  2621. show: false,
  2622. },
  2623. labelLine: {
  2624. show: false,
  2625. },
  2626. color: "rgba(0, 0, 0, 0)",
  2627. borderColor: "rgba(0, 0, 0, 0)",
  2628. borderWidth: 0,
  2629. },
  2630. };
  2631. var data = [];
  2632. var color = [
  2633. "#f0af7a",
  2634. "#00cfff",
  2635. "#c5f07a",
  2636. "#7af0aa",
  2637. "#f35b5b",
  2638. "#006ced",
  2639. ];
  2640. for (var i = 0; i < eventInfoOfIndustry.length; i++) {
  2641. data.push({
  2642. value: eventInfoOfIndustry[i].expediteCount,
  2643. name: eventInfoOfIndustry[i].label,
  2644. itemStyle: {
  2645. normal: {
  2646. borderWidth: 8,
  2647. shadowBlur: 16,
  2648. borderColor: color[i],
  2649. shadowColor: color[i],
  2650. },
  2651. },
  2652. }, {
  2653. value: 2,
  2654. name: "",
  2655. itemStyle: placeHolderStyle,
  2656. });
  2657. }
  2658. var seriesObj = [{
  2659. name: "",
  2660. type: "pie",
  2661. clockWise: false,
  2662. radius: [45, 50],
  2663. hoverAnimation: false,
  2664. itemStyle: {
  2665. normal: {
  2666. label: {
  2667. show: true,
  2668. position: "outside",
  2669. color: "#ddd",
  2670. formatter: function(params) {
  2671. var percent = 0;
  2672. var total = 0;
  2673. for (var i = 0; i < eventInfoOfIndustry.length; i++) {
  2674. total += eventInfoOfIndustry[i].expediteCount;
  2675. }
  2676. if (params.name !== "") {
  2677. return params.name + "\n" + params.value;
  2678. } else {
  2679. return "";
  2680. }
  2681. },
  2682. rich: rich,
  2683. },
  2684. labelLine: {
  2685. length: 6,
  2686. length2: 14,
  2687. show: true,
  2688. color: "#00ffff",
  2689. },
  2690. },
  2691. },
  2692. data: data,
  2693. }, ];
  2694. var option = {
  2695. title: [{
  2696. text: "事件总数",
  2697. x: "center",
  2698. top: "52%",
  2699. textStyle: {
  2700. color: "#FFFFFF",
  2701. fontSize: 14,
  2702. fontWeight: "100",
  2703. },
  2704. },
  2705. {
  2706. text: (res.data.expediteCount.reduce((total, item) => total + item, 0)) + '' || '0',
  2707. x: "center",
  2708. top: "30%",
  2709. textStyle: {
  2710. fontSize: "20",
  2711. color: "#FFFFFF",
  2712. fontFamily: "DINAlternate-Bold, DINAlternate",
  2713. foontWeight: "600",
  2714. },
  2715. },
  2716. ],
  2717. tooltip: {
  2718. show: false,
  2719. },
  2720. legend: {
  2721. show: false,
  2722. },
  2723. toolbox: {
  2724. show: false,
  2725. },
  2726. series: seriesObj,
  2727. };
  2728. myChart.setOption(option);
  2729. }
  2730. })
  2731. },
  2732. hyChart() {
  2733. var myChart = echarts.init(document.getElementById("hyChart"));
  2734. var xData = this.superviselabels;
  2735. var yData = this.superviseCount;
  2736. var option = {
  2737. color: ["#3398DB"],
  2738. tooltip: {
  2739. trigger: "axis",
  2740. axisPointer: {
  2741. type: "line",
  2742. lineStyle: {
  2743. opacity: 0,
  2744. },
  2745. },
  2746. formatter: function(prams) {
  2747. return "行业数量" + ':' + prams[0].data;
  2748. },
  2749. },
  2750. grid: {
  2751. left: "0%",
  2752. right: "0%",
  2753. bottom: "0",
  2754. top: "20%",
  2755. height: "75%",
  2756. containLabel: true,
  2757. z: 22,
  2758. },
  2759. xAxis: [{
  2760. type: "category",
  2761. gridIndex: 0,
  2762. data: xData,
  2763. axisTick: {
  2764. alignWithLabel: true,
  2765. },
  2766. axisLine: {
  2767. lineStyle: {
  2768. color: "#0c3b71",
  2769. },
  2770. },
  2771. axisLabel: {
  2772. show: true,
  2773. color: "rgb(170,170,170)",
  2774. fontSize: 14,
  2775. },
  2776. }, ],
  2777. yAxis: [{
  2778. type: "value",
  2779. gridIndex: 0,
  2780. splitLine: {
  2781. show: false,
  2782. },
  2783. axisTick: {
  2784. show: false,
  2785. },
  2786. axisLine: {
  2787. lineStyle: {
  2788. color: "#0c3b71",
  2789. },
  2790. },
  2791. axisLabel: {
  2792. color: "rgb(170,170,170)",
  2793. formatter: "{value}",
  2794. },
  2795. },
  2796. {
  2797. type: "value",
  2798. gridIndex: 0,
  2799. splitNumber: 15,
  2800. splitLine: {
  2801. show: false,
  2802. },
  2803. axisLine: {
  2804. show: false,
  2805. },
  2806. axisTick: {
  2807. show: false,
  2808. },
  2809. axisLabel: {
  2810. show: false,
  2811. },
  2812. splitArea: {
  2813. show: true,
  2814. areaStyle: {
  2815. color: ["rgba(250,250,250,0.0)", "rgba(250,250,250,0.05)"],
  2816. },
  2817. },
  2818. },
  2819. ],
  2820. series: [{
  2821. name: "计划数",
  2822. type: "bar",
  2823. barWidth: "20%",
  2824. xAxisIndex: 0,
  2825. yAxisIndex: 0,
  2826. label: {
  2827. normal: {
  2828. show: true,
  2829. position: "top",
  2830. textStyle: {
  2831. color: "#ffc72b",
  2832. fontSize: 14,
  2833. },
  2834. },
  2835. },
  2836. itemStyle: {
  2837. normal: {
  2838. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  2839. offset: 0,
  2840. color: "#00feff",
  2841. },
  2842. {
  2843. offset: 0.5,
  2844. color: "#027eff",
  2845. },
  2846. {
  2847. offset: 1,
  2848. color: "#0286ff",
  2849. },
  2850. ]),
  2851. },
  2852. },
  2853. data: yData,
  2854. zlevel: 11,
  2855. },
  2856. {
  2857. name: "背景",
  2858. type: "bar",
  2859. barWidth: "50%",
  2860. xAxisIndex: 0,
  2861. yAxisIndex: 1,
  2862. barGap: "-135%",
  2863. data: [100, 100, 100, 100, 100, 100, 100],
  2864. itemStyle: {
  2865. normal: {
  2866. color: "rgba(255,255,255,0.2)",
  2867. },
  2868. },
  2869. zlevel: 9,
  2870. },
  2871. ],
  2872. };
  2873. myChart.setOption(option);
  2874. },
  2875. // 年度任务
  2876. ndChart(industry) {
  2877. var myChart = echarts.init(document.getElementById("ndChart"));
  2878. annualPlanCount(industry).then(res => {
  2879. if(res.data){
  2880. this.yearlyTaskStatisticsTotal = ((res.data.counts.reduce((total, item) => total + item, 0)));
  2881. var option = {
  2882. animation: true,
  2883. grid: {
  2884. top: "15%",
  2885. bottom: "20%",
  2886. right: "5%",
  2887. },
  2888. tooltip: {
  2889. show: true,
  2890. },
  2891. xAxis: {
  2892. data: res.data.names,
  2893. axisLine: {
  2894. show: false, //隐藏X轴轴线
  2895. },
  2896. axisTick: {
  2897. show: false, //隐藏X轴轴线
  2898. },
  2899. splitLine: {
  2900. show: true,
  2901. lineStyle: {
  2902. color: "rgba(77, 128, 254, 0.2)",
  2903. width: 2,
  2904. },
  2905. },
  2906. axisLabel: {
  2907. show: true,
  2908. interval: 0,
  2909. // margin: 14,
  2910. fontSize: 12,
  2911. textStyle: {
  2912. color: "#a8d5ff", //X轴文字颜色
  2913. },
  2914. },
  2915. },
  2916. yAxis: [
  2917. {
  2918. type: "value",
  2919. gridIndex: 0,
  2920. min: 0,
  2921. //max: 100,
  2922. interval: 100,
  2923. // splitNumber: 4,
  2924. splitLine: {
  2925. show: true,
  2926. lineStyle: {
  2927. color: "rgba(77, 128, 254, 0.2)",
  2928. width: 2,
  2929. },
  2930. },
  2931. axisTick: {
  2932. show: false,
  2933. },
  2934. axisLine: {
  2935. show: true,
  2936. lineStyle: {
  2937. color: "rgba(77, 128, 254, 0.2)",
  2938. },
  2939. },
  2940. axisLabel: {
  2941. show: true,
  2942. margin: 14,
  2943. fontSize: 13,
  2944. textStyle: {
  2945. color: "#a8d5ff",
  2946. },
  2947. },
  2948. },
  2949. ],
  2950. series: [
  2951. {
  2952. name: "年度任务",
  2953. type: "bar",
  2954. barWidth: 16,
  2955. itemStyle: {
  2956. normal: {
  2957. label: {
  2958. show: true, //开启显示
  2959. position: "top", //在上方显示
  2960. textStyle: {
  2961. //数值样式
  2962. color: "#fff",
  2963. fontSize: 12,
  2964. },
  2965. },
  2966. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2967. {
  2968. offset: 0,
  2969. color: "rgba(146, 225, 255, 1)",
  2970. },
  2971. {
  2972. offset: 1,
  2973. color: "rgba(0, 151, 251, 1)",
  2974. },
  2975. ]),
  2976. },
  2977. },
  2978. data: res.data.counts || [],
  2979. z: 10,
  2980. zlevel: 0,
  2981. },
  2982. {
  2983. // 分隔
  2984. type: "pictorialBar",
  2985. itemStyle: {
  2986. normal: {
  2987. color: "#0F375F",
  2988. },
  2989. },
  2990. symbolRepeat: "fixed",
  2991. symbolMargin: 6,
  2992. symbol: "rect",
  2993. symbolClip: true,
  2994. symbolSize: [18, 2],
  2995. symbolPosition: "start",
  2996. symbolOffset: [1, 1],
  2997. data: res.data.counts || [],
  2998. width: 2,
  2999. z: 0,
  3000. zlevel: 1,
  3001. },
  3002. {
  3003. // name: "外框",
  3004. type: "bar",
  3005. barGap: "-110%", // 设置外框粗细
  3006. data: res.data.counts || [],
  3007. barWidth: 16,
  3008. itemStyle: {
  3009. normal: {
  3010. color: "transparent", // 填充色
  3011. // barBorderRadius: 0, //圆角半径
  3012. label: {
  3013. // 标签显示位置
  3014. show: false,
  3015. position: "top", // insideTop 或者横向的 insideLeft
  3016. },
  3017. },
  3018. },
  3019. z: 0,
  3020. },
  3021. {
  3022. name: "背影",
  3023. type: "line",
  3024. smooth: true, //平滑曲线显示
  3025. showAllSymbol: false, //显示所有图形。
  3026. symbolSize: 0,
  3027. lineStyle: {
  3028. width: 0,
  3029. },
  3030. areaStyle: {
  3031. color: "rgba(0, 151, 251, 0.1)",
  3032. },
  3033. data: res.data.counts || [],
  3034. z: 5,
  3035. },
  3036. ],
  3037. // dataZoom: [
  3038. // {
  3039. // type: "slider",
  3040. // show: false,
  3041. // xAxisIndex: [0],
  3042. // endValue: 14,
  3043. // startValue: 0
  3044. // }
  3045. // ]
  3046. };
  3047. myChart.setOption(option);
  3048. }
  3049. })
  3050. myChart.on('click', function (params) {
  3051. window.open('/rwList');
  3052. });
  3053. },
  3054. // 风险管理
  3055. fxglchart() {
  3056. var myChart = echarts.init(document.getElementById("fxglchart"));
  3057. var option = {
  3058. tooltip: {
  3059. //提示框组件
  3060. trigger: "axis",
  3061. formatter: "{b}<br />{a2}: {c2}<br />{a1}: {c1}<br />{a5}: {c5}",
  3062. axisPointer: {
  3063. type: "shadow",
  3064. label: {
  3065. backgroundColor: "rgba(17, 27, 54, 1)",
  3066. },
  3067. },
  3068. textStyle: {
  3069. color: "#fff",
  3070. fontStyle: "normal",
  3071. fontFamily: "微软雅黑",
  3072. fontSize: 12,
  3073. },
  3074. },
  3075. grid: {
  3076. left: "4%",
  3077. right: "8%",
  3078. bottom: "2%",
  3079. top: "23%",
  3080. // padding:'0 0 10 0',
  3081. containLabel: true,
  3082. },
  3083. legend: {
  3084. //图例组件,颜色和名字
  3085. right: "10%",
  3086. top: "0%",
  3087. itemGap: 16,
  3088. itemWidth: 18,
  3089. itemHeight: 10,
  3090. selectedMode: false,
  3091. data: [
  3092. "一级风险",
  3093. "二级风险",
  3094. "三级风险",
  3095. "四级风险",
  3096. ],
  3097. textStyle: {
  3098. color: "#08f1f8",
  3099. fontStyle: "normal",
  3100. fontFamily: "微软雅黑",
  3101. fontSize: 12,
  3102. },
  3103. },
  3104. xAxis: [
  3105. {
  3106. type: "category",
  3107. // boundaryGap: true,//坐标轴两边留白
  3108. data: [
  3109. "管廊",
  3110. "供水",
  3111. "排水",
  3112. "桥梁",
  3113. "热力",
  3114. "燃气",
  3115. ],
  3116. axisLabel: {
  3117. //坐标轴刻度标签的相关设置。
  3118. // interval: 0,//设置为 1,表示『隔一个标签显示一个标签』
  3119. // margin:15,
  3120. textStyle: {
  3121. color: "#078ceb",
  3122. fontStyle: "normal",
  3123. fontFamily: "微软雅黑",
  3124. fontSize: 12,
  3125. },
  3126. rotate: 0,
  3127. },
  3128. axisTick: {
  3129. //坐标轴刻度相关设置。
  3130. show: false,
  3131. },
  3132. axisLine: {
  3133. //坐标轴轴线相关设置
  3134. lineStyle: {
  3135. color: "rgba(255,255,255,0.4)",
  3136. },
  3137. },
  3138. //splitLine: {
  3139. // show: true,
  3140. // lineStyle: {
  3141. // color: 'rgba(255,255,255,0.2)',
  3142. // }
  3143. // },
  3144. },
  3145. ],
  3146. yAxis: [
  3147. {
  3148. type: "value",
  3149. splitNumber: 5,
  3150. axisLabel: {
  3151. textStyle: {
  3152. color: "#078ceb",
  3153. fontStyle: "normal",
  3154. fontFamily: "微软雅黑",
  3155. fontSize: 12,
  3156. },
  3157. },
  3158. axisLine: {
  3159. lineStyle: {
  3160. color: "rgba(255,255,255,0.4)",
  3161. },
  3162. },
  3163. axisTick: {
  3164. show: false,
  3165. },
  3166. splitLine: {
  3167. show: true,
  3168. lineStyle: {
  3169. color: ["#fff"],
  3170. opacity: 0.06,
  3171. },
  3172. },
  3173. },
  3174. ],
  3175. series: [
  3176. {
  3177. name: "",
  3178. type: "pictorialBar",
  3179. symbolSize: [24, 10],
  3180. symbolOffset: [-36, -5],
  3181. symbolPosition: "end",
  3182. z: 12,
  3183. // "barWidth": "0",barGap
  3184. label: {
  3185. normal: {
  3186. show: true,
  3187. offset: [-36, 0],
  3188. position: "top",
  3189. textAlign: "left",
  3190. formatter: function (data) {
  3191. if (data.value === 0) {
  3192. return "";
  3193. }
  3194. return data.value + "%";
  3195. },
  3196. fontSize: 12,
  3197. color: "rgba(51,135,255, 1)",
  3198. },
  3199. },
  3200. color: "rgba(51,135,255, 1)",
  3201. data: [15, 51, 8, 46, 15, 51, 8, 46, 15, 51],
  3202. },
  3203. {
  3204. name: "一级风险",
  3205. type: "bar",
  3206. data: [15, 51, 8, 46, 15, 51, 8, 46, 15, 51],
  3207. barWidth: 24,
  3208. barGap: 20, //柱间距离
  3209. itemStyle: {
  3210. normal: {
  3211. show: true,
  3212. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  3213. {
  3214. offset: 0,
  3215. color: "rgba(51,135,255, 1)",
  3216. },
  3217. {
  3218. offset: 1,
  3219. color: "rgba(51,135,255, .2)",
  3220. },
  3221. ]),
  3222. opacity: 0.8,
  3223. },
  3224. },
  3225. },
  3226. {
  3227. name: "", //头部
  3228. type: "pictorialBar",
  3229. symbolSize: [24, 10],
  3230. symbolOffset: [-12, -5],
  3231. z: 12,
  3232. symbolPosition: "end",
  3233. // itemStyle:{
  3234. // color:'rgba(51,135,255, 1)',
  3235. // opacity:1,
  3236. // },
  3237. label: {
  3238. normal: {
  3239. offset: [-12, 0],
  3240. show: true,
  3241. position: "top",
  3242. // "formatter": "{c}%",
  3243. fontSize: 12,
  3244. color: "#4acf6f",
  3245. formatter: function (data) {
  3246. if (data.value === 0) {
  3247. return "";
  3248. }
  3249. return data.value + "%";
  3250. },
  3251. },
  3252. },
  3253. color: "#4acf6f",
  3254. data: [65, 45, 24, 48, 65, 45, 24, 48, 65, 45],
  3255. },
  3256. {
  3257. name: "二级风险",
  3258. type: "bar",
  3259. barWidth: 24,
  3260. barGap: "20",
  3261. z: 0,
  3262. itemStyle: {
  3263. normal: {
  3264. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  3265. {
  3266. offset: 0,
  3267. color: "rgba(52, 209, 135, 1)",
  3268. },
  3269. {
  3270. offset: 1,
  3271. color: "rgba(52, 209, 135, 0)",
  3272. },
  3273. ]),
  3274. opacity: 0.8,
  3275. },
  3276. },
  3277. data: [65, 45, 24, 48, 65, 45, 24, 48, 65, 45],
  3278. },
  3279. {
  3280. name: "",
  3281. type: "pictorialBar",
  3282. symbolSize: [24, 10],
  3283. symbolOffset: [12, -5],
  3284. symbolPosition: "end",
  3285. z: 12,
  3286. // "barWidth": "0",barGap
  3287. label: {
  3288. normal: {
  3289. offset: [12, 0],
  3290. show: true,
  3291. position: "top",
  3292. // "formatter": "{c}%",
  3293. fontSize: 12,
  3294. color: "#f09f38",
  3295. formatter: function (data) {
  3296. if (data.value === 0) {
  3297. return "";
  3298. }
  3299. return data.value + "%";
  3300. },
  3301. },
  3302. },
  3303. color: "#f09f38",
  3304. data: [18, 4, 60, 6, 18, 4, 60, 6, 18, 4],
  3305. },
  3306. {
  3307. name: "三级风险",
  3308. type: "bar",
  3309. data: [18, 4, 60, 6, 18, 4, 60, 6, 18, 4],
  3310. barWidth: 24,
  3311. barGap: "0", //柱间距离
  3312. itemStyle: {
  3313. normal: {
  3314. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  3315. {
  3316. offset: 0,
  3317. color: "rgba(228, 131, 38, 1)",
  3318. },
  3319. {
  3320. offset: 1,
  3321. color: "rgba(228, 131, 38, 0)",
  3322. },
  3323. ]),
  3324. opacity: 0.8,
  3325. },
  3326. },
  3327. },
  3328. {
  3329. name: "",
  3330. type: "pictorialBar",
  3331. symbolSize: [24, 10],
  3332. symbolOffset: [36, -5],
  3333. symbolPosition: "end",
  3334. z: 12,
  3335. // "barWidth": "0",barGap
  3336. label: {
  3337. normal: {
  3338. offset: [36, 0],
  3339. show: true,
  3340. position: "top",
  3341. formatter: function (data) {
  3342. if (data.value === 0) {
  3343. return "";
  3344. }
  3345. return data.value + "%";
  3346. },
  3347. fontSize: 12,
  3348. color: "#d9302e",
  3349. },
  3350. },
  3351. color: "#d9302e",
  3352. data: [2, 0, 8, 0, 2, 0, 8, 0, 2, 0],
  3353. },
  3354. {
  3355. name: "三级风险",
  3356. type: "bar",
  3357. data: [2, 0, 8, 0, 2, 0, 8, 0, 2, 0],
  3358. barWidth: 24,
  3359. barGap: "0", //柱间距离
  3360. itemStyle: {
  3361. normal: {
  3362. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  3363. {
  3364. offset: 0,
  3365. color: "rgba(196, 46, 45, 1)",
  3366. },
  3367. {
  3368. offset: 1,
  3369. color: "rgba(196, 46, 45, 0)",
  3370. },
  3371. ]),
  3372. opacity: 0.8,
  3373. },
  3374. },
  3375. },
  3376. ],
  3377. };
  3378. myChart.setOption(option);
  3379. },
  3380. getSuperMapUrl() {
  3381. getUserProfile().then(response => {
  3382. let mapDeptId = response.mapDeptId
  3383. let num = 0;
  3384. if (mapDeptId == "365") {
  3385. num = 0;
  3386. } else if (mapDeptId == "369") {
  3387. num = 1;
  3388. } else if (mapDeptId == "371") {
  3389. num = 2;
  3390. } else if (mapDeptId == "373") {
  3391. num = 3;
  3392. } else if (mapDeptId == "372") {
  3393. num = 4;
  3394. } else if (mapDeptId == "370") {
  3395. num = 5;
  3396. }
  3397. this.$refs.supermap.removeAllviewer(mapDeptId, -1);
  3398. });
  3399. },
  3400. toggleTab(current) {
  3401. this.currentTab = current;
  3402. this.currentClass = current;
  3403. },
  3404. handleCheckedCities(checkedOptions) {
  3405. // checkedOptions 是当前选中的所有选项的数组
  3406. this.$refs.supermap.addLifelineOpen(this.checkedOptions)
  3407. },
  3408. //开挖
  3409. showExcavation() {
  3410. this.$refs.supermap.excavation()
  3411. },
  3412. //开挖
  3413. showExcavationAnalyze() {
  3414. this.$refs.supermap.excavationAnalyze()
  3415. },
  3416. //测距
  3417. choseMeasuringDistance() {
  3418. this.$refs.supermap.choseMeasuringDistance()
  3419. },
  3420. //测面
  3421. choseMeasuringArea() {
  3422. this.$refs.supermap.choseMeasuringArea()
  3423. },
  3424. //测高
  3425. choseMeasuringHeight() {
  3426. this.$refs.supermap.choseMeasuringHeight()
  3427. },
  3428. //选择、框选
  3429. boxSelection() {
  3430. this.$refs.supermap.boxSelection()
  3431. },
  3432. //清除
  3433. clearAll() {
  3434. // 燃气-次高压
  3435. if (this.$refs.twoDLayers_ranqi_height) {
  3436. this.$refs.twoDLayers_ranqi_height.setCheckedKeys([]);
  3437. }
  3438. // 燃气-中压
  3439. if (this.$refs.twoDLayers_ranqi_middle) {
  3440. this.$refs.twoDLayers_ranqi_middle.setCheckedKeys([]);
  3441. }
  3442. // 燃气-低压
  3443. if (this.$refs.twoDLayers_ranqi_low) {
  3444. this.$refs.twoDLayers_ranqi_low.setCheckedKeys([]);
  3445. }
  3446. // 燃气-次高压
  3447. if (this.$refs.threeDLayers_ranqi_height) {
  3448. this.$refs.threeDLayers_ranqi_height.setCheckedKeys([]);
  3449. }
  3450. // 燃气-中压
  3451. if (this.$refs.threeDLayers_ranqi_middle) {
  3452. this.$refs.threeDLayers_ranqi_middle.setCheckedKeys([]);
  3453. }
  3454. // 燃气-低压
  3455. if (this.$refs.threeDLayers_ranqi_low) {
  3456. this.$refs.threeDLayers_ranqi_low.setCheckedKeys([]);
  3457. }
  3458. // 热力-一次
  3459. if (this.$refs.twoDLayers_gongre_yici) {
  3460. this.$refs.twoDLayers_gongre_yici.setCheckedKeys([]);
  3461. }
  3462. // 热力-二次
  3463. if (this.$refs.twoDLayers_gongre_erci) {
  3464. this.$refs.twoDLayers_gongre_erci.setCheckedKeys([]);
  3465. }
  3466. // 热力-直供
  3467. if (this.$refs.twoDLayers_gongre_zhigong) {
  3468. this.$refs.twoDLayers_gongre_zhigong.setCheckedKeys([]);
  3469. }
  3470. // 热力-一次
  3471. if (this.$refs.threeDLayers_gongre_yici) {
  3472. this.$refs.threeDLayers_gongre_yici.setCheckedKeys([]);
  3473. }
  3474. // 热力-二次
  3475. if (this.$refs.threeDLayers_gongre_erci) {
  3476. this.$refs.threeDLayers_gongre_erci.setCheckedKeys([]);
  3477. }
  3478. // 热力-直供
  3479. if (this.$refs.threeDLayers_gongre_zhigong) {
  3480. this.$refs.threeDLayers_gongre_zhigong.setCheckedKeys([]);
  3481. }
  3482. // 供水
  3483. if (this.$refs.twoDLayers_gongshui) {
  3484. this.$refs.twoDLayers_gongshui.setCheckedKeys([]);
  3485. }
  3486. // 供水
  3487. if (this.$refs.threeDLayers_gongshui) {
  3488. this.$refs.threeDLayers_gongshui.setCheckedKeys([]);
  3489. }
  3490. // 排水-雨水
  3491. if (this.$refs.twoDLayers_paishui_yushui) {
  3492. this.$refs.twoDLayers_paishui_yushui.setCheckedKeys([]);
  3493. }
  3494. // 排水-污水
  3495. if (this.$refs.twoDLayers_paishui_wushui) {
  3496. this.$refs.twoDLayers_paishui_wushui.setCheckedKeys([]);
  3497. }
  3498. // 排水-合流
  3499. if (this.$refs.twoDLayers_paishui_heliu) {
  3500. this.$refs.twoDLayers_paishui_heliu.setCheckedKeys([]);
  3501. }
  3502. // 排水-雨水
  3503. if (this.$refs.threeDLayers_paishui_yushui) {
  3504. this.$refs.threeDLayers_paishui_yushui.setCheckedKeys([]);
  3505. }
  3506. // 排水-污水
  3507. if (this.$refs.threeDLayers_paishui_wushui) {
  3508. this.$refs.threeDLayers_paishui_wushui.setCheckedKeys([]);
  3509. }
  3510. // 排水-合流
  3511. if (this.$refs.threeDLayers_paishui_heliu) {
  3512. this.$refs.threeDLayers_paishui_heliu.setCheckedKeys([]);
  3513. }
  3514. this.$refs.supermap.closeMeasuringAll()
  3515. this.$refs.supermap.closeExcavationAll()
  3516. this.$refs.supermap.closeClipboxByEditor()
  3517. this.$refs.supermap.removeBoxSelection()
  3518. this.checkedBaseDOptions = []
  3519. this.$refs.supermap.reload(this.checkedBaseDOptions)
  3520. this.checkedOptions = []
  3521. this.$refs.supermap.addLifelineOpen(this.checkedOptions)
  3522. }
  3523. }
  3524. }
  3525. </script>
  3526. <style lang="scss">
  3527. @font-face {
  3528. font-family: 'ds';
  3529. src: url('../../assets/styles/DS-Digital_Bold.ttf') format('truetype'); /* 根据实际路径调整 */
  3530. }
  3531. .el-radio__input.is-checked .el-radio__inner {
  3532. border-color: #406c9a;
  3533. background: #406c9a;
  3534. }
  3535. .el-radio__inner {
  3536. border: 1px solid #406c9a;
  3537. background-color: #25405f;
  3538. }
  3539. .el-radio {
  3540. color: #fff;
  3541. }
  3542. .el-radio__input.is-checked+.el-radio__label {
  3543. color: #40daff;
  3544. }
  3545. /*弹层新样式*/
  3546. .sj-dialog-newstyle {
  3547. .el-dialog {
  3548. background: #152d4f;
  3549. border-radius: 10px;
  3550. border: 2px solid #3c72c8;
  3551. background: linear-gradient(90deg, #0c274a 0%, rgba(6, 24, 37, 0.9) 100%);
  3552. .el-dialog__header {
  3553. background: url(../../assets/index_img/d-icon-tit-img.png)no-repeat left;
  3554. margin-left: 15px;
  3555. box-shadow: none;
  3556. .el-dialog__title {
  3557. font-size: 18px;
  3558. color: #fff;
  3559. font-weight: bold;
  3560. }
  3561. }
  3562. .el-dialog__body {
  3563. display: flex;
  3564. flex-wrap: wrap;
  3565. justify-content: space-between;
  3566. }
  3567. }
  3568. .sj-jcxx {
  3569. width: 100%;
  3570. display: flex;
  3571. flex-direction: column;
  3572. padding: 15px;
  3573. border-radius: 10px;
  3574. border: 1px solid #3c72c8;
  3575. margin-bottom: 20px;
  3576. .tit {
  3577. width: fit-content;
  3578. font-size: 16px;
  3579. color: #fff;
  3580. font-weight: bold;
  3581. display: flex;
  3582. align-items: center;
  3583. border-bottom: 2px solid #93a9d5;
  3584. }
  3585. .sj-jcxx-con {}
  3586. .sj-jcxx-con {
  3587. color: #fff;
  3588. display: flex;
  3589. flex-wrap: wrap;
  3590. align-items: center;
  3591. position: relative;
  3592. .con-20 {
  3593. width: 20%;
  3594. font-size: 14px;
  3595. display: flex;
  3596. align-items: center;
  3597. margin-top: 15px;
  3598. img {
  3599. width: 10px;
  3600. height: 10px;
  3601. margin-right: 5px;
  3602. }
  3603. }
  3604. .con-50 {
  3605. width: 50% !important;
  3606. }
  3607. .con-100 {
  3608. width: 100% !important;
  3609. }
  3610. .or {
  3611. color: #ff9a6d;
  3612. }
  3613. .bl {
  3614. color: #42f8ff
  3615. }
  3616. .z-line {
  3617. width: 100%;
  3618. height: 2px;
  3619. background: #4e6b9a;
  3620. z-index: 9;
  3621. position: absolute;
  3622. top: 32px;
  3623. }
  3624. .triangle {
  3625. width: 0;
  3626. height: 0;
  3627. border-top: 11px solid transparent;
  3628. /* 左侧透明 */
  3629. border-bottom: 11px solid transparent;
  3630. /* 右侧透明 */
  3631. border-left: 16px solid #4e6b9a;
  3632. /* 底部为黑色,形成三角形 */
  3633. position: absolute;
  3634. top: 22px;
  3635. right: -2px;
  3636. }
  3637. .m60 {
  3638. margin-left: 60px;
  3639. }
  3640. .z-lc {
  3641. width: 22%;
  3642. display: flex;
  3643. flex-direction: column;
  3644. z-index: 10;
  3645. justify-content: start;
  3646. align-items: start;
  3647. top: 17px;
  3648. img {
  3649. width: 51px;
  3650. height: 51px;
  3651. }
  3652. h5 {
  3653. font-size: 14px;
  3654. position: relative;
  3655. bottom: 0;
  3656. }
  3657. .z-lc-time {
  3658. background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%);
  3659. border-radius: 50px;
  3660. font-size: 12px;
  3661. padding: 0 5px;
  3662. line-height: 23px;
  3663. color: #fff;
  3664. position: absolute;
  3665. left: 115px;
  3666. top: 22px
  3667. }
  3668. .z-clyj {
  3669. position: absolute;
  3670. left: 240px;
  3671. top: 16px;
  3672. img {
  3673. width: 35px;
  3674. height: 35px;
  3675. }
  3676. }
  3677. }
  3678. }
  3679. }
  3680. }
  3681. .sj-tooltip {
  3682. background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%) !important;
  3683. border: 1px solid #264fa2 !important;
  3684. .popper__arrow {
  3685. border-top-color: #345ead !important;
  3686. }
  3687. .popper__arrow::after {
  3688. border-top-color: #345ead !important;
  3689. }
  3690. .info-list {
  3691. display: flex;
  3692. flex-direction: column;
  3693. }
  3694. }
  3695. /*公共*/
  3696. .list-ul-style-tit {
  3697. width: 414px;
  3698. height: 38px;
  3699. background: url(../../assets/index_img/list-bg-img-t.png) no-repeat;
  3700. display: flex;
  3701. justify-content: space-between;
  3702. align-items: center;
  3703. margin-top: 10px !important;
  3704. background-size: contain;
  3705. padding: 0 10px !important;
  3706. color: #a2d4ef;
  3707. text-align: center;
  3708. span:nth-child(1) {
  3709. width: 40px;
  3710. }
  3711. span:nth-child(2) {
  3712. width: 70%;
  3713. text-align: left;
  3714. }
  3715. span:nth-child(3) {
  3716. width: 65px;
  3717. }
  3718. span:nth-child(2n) {
  3719. color: #fff;
  3720. }
  3721. }
  3722. .list-ul-style {
  3723. li {
  3724. width: 410px;
  3725. height: 50px;
  3726. background: url(../../assets/index_img/list-bg-img-1.png) no-repeat;
  3727. display: flex;
  3728. justify-content: space-between;
  3729. align-items: center;
  3730. margin-top: 10px;
  3731. padding: 0 10px !important;
  3732. text-align: center;
  3733. transition: all 0.5s ease-in-out;
  3734. cursor: pointer;
  3735. span:nth-child(1) {
  3736. width: 40px;
  3737. }
  3738. span:nth-child(2) {
  3739. width: 70%;
  3740. text-align: left;
  3741. }
  3742. span:nth-child(3) {
  3743. width: 65px;
  3744. }
  3745. span:nth-child(2n) {
  3746. color: #fff;
  3747. }
  3748. }
  3749. li:nth-child(2n) {
  3750. background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
  3751. }
  3752. li:hover {
  3753. filter: brightness(200%);
  3754. transform: translateX(8px);
  3755. }
  3756. }
  3757. .title-bar-pop {
  3758. width: 100%;
  3759. height: 38px;
  3760. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  3761. display: flex;
  3762. align-items: center;
  3763. justify-content: space-between;
  3764. .num {
  3765. width: 88px;
  3766. height: 27px;
  3767. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  3768. border-radius: 5px;
  3769. line-height: 27px;
  3770. text-align: center;
  3771. font-weight: bold;
  3772. margin-top: 7px;
  3773. }
  3774. span {
  3775. font-size: 20px;
  3776. color: #EFF2FF;
  3777. font-family: ysbth;
  3778. line-height: 40px;
  3779. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  3780. -webkit-background-clip: text;
  3781. -webkit-text-fill-color: transparent;
  3782. margin-left: 55px;
  3783. }
  3784. }
  3785. /*行业数据完整度*/
  3786. .hysj{
  3787. margin-bottom: 15px!important;
  3788. height: 220px!important;
  3789. .hysj_div{
  3790. justify-content: space-around;
  3791. #hysj_div_chart1,#hysj_div_chart2,#hysj_div_chart3,
  3792. #hysj_div_chart4,#hysj_div_chart5,#hysj_div_chart6{
  3793. width: 180px;
  3794. height: 75px;
  3795. }
  3796. p{
  3797. font-size: 12px;
  3798. color: #fff;
  3799. text-align: center;
  3800. b{
  3801. font-family: 'almmsht';
  3802. font-size: 16px;
  3803. background: -webkit-linear-gradient(bottom,#fff,#53c4ff); /* Chrome, Safari */
  3804. background: linear-gradient(bottom,#fff,#53c4ff); /* 标准语法 */
  3805. -webkit-background-clip: text; /* Chrome, Safari */
  3806. background-clip: text;
  3807. -webkit-text-fill-color: transparent; /* Chrome, Safari */
  3808. color: transparent; /* 兼容不支持background-clip的浏览器 */
  3809. /*box-shadow: 0px 0px 5px #3063ca;*/
  3810. margin-left: 8px;
  3811. font-weight: bold;
  3812. }
  3813. }
  3814. }
  3815. }
  3816. /*巡检及隐患*/
  3817. .xjjyh{
  3818. margin-bottom: 15px!important;
  3819. height: 170px!important;
  3820. .xjjyh_div{
  3821. justify-content: space-around;
  3822. .xjjyh_div_con{
  3823. background: url("../../assets/index_img/jgpt_iconbg.png") no-repeat center;
  3824. background-size: 100% 100%;
  3825. width: 164px;
  3826. height: 71px;
  3827. padding: 5px 8px;
  3828. .xjjyh_img{
  3829. margin-right: 5px;
  3830. img{
  3831. display: block;
  3832. }
  3833. p{
  3834. font-size: 12px;
  3835. height: 18px;
  3836. line-height: 18px;
  3837. text-align: center;
  3838. }
  3839. }
  3840. .xjjyh_txt{
  3841. display: flex;
  3842. flex-direction: column;
  3843. h4{
  3844. height: 20px;
  3845. line-height: 20px;
  3846. span{
  3847. font-size: 12px;
  3848. margin-right: 5px;
  3849. }
  3850. i{
  3851. font-size: 12px;
  3852. color: #00bffe;
  3853. }
  3854. }
  3855. img{
  3856. margin: 5px 0px;
  3857. }
  3858. }
  3859. }
  3860. }
  3861. }
  3862. /*预警管理*/
  3863. .yjgl{
  3864. .yjgl_div_tit{
  3865. display: flex;
  3866. flex-direction: row;
  3867. justify-items: center;
  3868. width: 100%;
  3869. span{
  3870. font-size: 14px;
  3871. color: #fff;
  3872. line-height: 25px;
  3873. }
  3874. b{
  3875. font-family: 'ds';
  3876. color: #00bffe;
  3877. display: inline-block;
  3878. border:1px solid #507a84;
  3879. margin-right: 5px;
  3880. font-size: 22px;
  3881. padding: 0px 5px;
  3882. }
  3883. }
  3884. #yjgl_chart{
  3885. width: 340px;
  3886. height: 184px;
  3887. }
  3888. .yjgl_list{
  3889. p{
  3890. border-bottom: 1px dashed #e9f8ff;
  3891. width: 150px;
  3892. height: 28px;
  3893. line-height: 25px;
  3894. padding-left: 20px;
  3895. position: relative;
  3896. b{
  3897. float: right;
  3898. font-size: 12px;
  3899. text-shadow: 0px 0px 5px #207bbe;
  3900. }
  3901. }
  3902. p::after{
  3903. content: "";
  3904. display: block;
  3905. width: 10px;
  3906. height: 6px;
  3907. position: absolute;
  3908. left: 0px;
  3909. top: 9px;
  3910. border-radius: 2px;
  3911. }
  3912. p:nth-child(1)::after{
  3913. background: #2e64ff;
  3914. }
  3915. p:nth-child(2)::after{
  3916. background: #f0d418;
  3917. }
  3918. p:nth-child(3)::after{
  3919. background: #ff9b42;
  3920. }
  3921. p:nth-child(4)::after{
  3922. background: #ff6b6b;
  3923. }
  3924. p:nth-child(5)::after{
  3925. background: #8e42ff;
  3926. }
  3927. p:nth-child(6)::after{
  3928. background: #00e4ff;
  3929. }
  3930. }
  3931. }
  3932. /*预警统计*/
  3933. .sjtj{
  3934. margin-bottom: 15px!important;
  3935. height: 150px!important;
  3936. }
  3937. #sjChart{
  3938. height: 130px!important;
  3939. }
  3940. /*年度任务*/
  3941. .ndrw{
  3942. margin-bottom: 15px!important;
  3943. height: 135px!important;
  3944. }
  3945. #ndChart{
  3946. height: 130px!important;
  3947. }
  3948. /*风险管理*/
  3949. .fxgl{
  3950. margin-bottom: 15px!important;
  3951. height: 165px!important;
  3952. }
  3953. #fxglchart{
  3954. width: 100%;
  3955. height: 220px;
  3956. }
  3957. /*预案管理*/
  3958. .yagl{
  3959. height: 155px!important;
  3960. display: block;
  3961. flex-direction: inherit!important;
  3962. .hei_scroll{
  3963. height: 130px;
  3964. overflow-y: scroll;
  3965. .yagl_div{
  3966. width: 49%;
  3967. float: left;
  3968. margin-bottom: 10px;
  3969. cursor: pointer;
  3970. img{
  3971. float: left;
  3972. margin-right: 5px;
  3973. }
  3974. .yagl_div_txt{
  3975. float: right;
  3976. width: 190px;
  3977. p{
  3978. font-size: 14px;
  3979. font-weight: bold;
  3980. color: #fff;
  3981. }
  3982. span{
  3983. font-size: 12px;
  3984. color: #ceeffc;
  3985. }
  3986. }
  3987. }
  3988. }
  3989. }
  3990. /*图层切换*/
  3991. /*资源*/
  3992. .zy-icon {
  3993. width: 68px;
  3994. height: 68px;
  3995. border-radius: 50%;
  3996. border: 1px solid transparent;
  3997. background-image: linear-gradient(0deg, rgba(21, 65, 118, 0.1) 0%, rgba(7, 23, 43, 0.2) 0%),
  3998. linear-gradient(0deg, rgba(181, 233, 255, 0.5) 0%, #164271 100%);
  3999. background-origin: border-box;
  4000. background-clip: content-box, border-box;
  4001. display: flex;
  4002. flex-direction: column;
  4003. justify-content: center;
  4004. align-items: center;
  4005. position: absolute;
  4006. left: 570px;
  4007. bottom: 65px;
  4008. z-index: 100;
  4009. transition: all 0.3s ease-in-out;
  4010. cursor: pointer;
  4011. font-size: 12px;
  4012. img {
  4013. width: 28px;
  4014. height: 22px;
  4015. }
  4016. }
  4017. .zy-icon:hover {
  4018. filter: brightness(120%) hue-rotate(-10deg);
  4019. }
  4020. /*资源*/
  4021. .zy-con-body {
  4022. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  4023. border-radius:20px;
  4024. display: flex;
  4025. color: #fff;
  4026. z-index: 99;
  4027. border: 1px solid #2A6DCD;
  4028. padding: 10px 20px;
  4029. max-width:500px !important;
  4030. }
  4031. // .el-tab-pane{
  4032. // height: 80px;
  4033. // overflow: auto;
  4034. // }
  4035. /*地图工具*/
  4036. .map_tab{
  4037. position: absolute;
  4038. right:570px;
  4039. bottom:40px;
  4040. div{
  4041. background: url("../../assets/index_img/jgpt_iconbg2.png") no-repeat;
  4042. background-size: 100% 100%;
  4043. width: 27px;
  4044. height: 27px;
  4045. border-radius: 8px;
  4046. margin-bottom: 5px;
  4047. border: none;
  4048. cursor: pointer;
  4049. img{
  4050. display: block;
  4051. margin: 6px auto;
  4052. }
  4053. }
  4054. }
  4055. .sj-select-50 {
  4056. width: 49% ;
  4057. margin-top: 5px !important;
  4058. .el-input {}
  4059. .el-input__inner {
  4060. height: 30px;
  4061. line-height: 30px;
  4062. background-color: rgba(12, 44, 80, 0.52);
  4063. border: 1px solid #326e96;
  4064. color: #0fc0ee;
  4065. }
  4066. .el-input__icon {
  4067. line-height: 30px;
  4068. }
  4069. .el-select .el-input .el-select__caret {
  4070. color: #6996c6;
  4071. }
  4072. }
  4073. .sj-input-style {
  4074. margin-top: 5px !important;
  4075. .el-input__inner {
  4076. height: 30px;
  4077. line-height: 30px;
  4078. background-color: rgba(12, 44, 80, 0.52);
  4079. border: 1px solid #326e96;
  4080. color: #0fc0ee;
  4081. }
  4082. .el-input__icon {
  4083. line-height: 30px;
  4084. }
  4085. }
  4086. .sj-select {
  4087. margin: 0 10px !important;
  4088. .el-input {
  4089. width: 120px !important;
  4090. }
  4091. .el-input__inner {
  4092. height: 30px;
  4093. line-height: 30px;
  4094. background-color: rgba(12, 44, 80, 0.52);
  4095. border: 1px solid #326e96;
  4096. color: #0fc0ee;
  4097. }
  4098. .el-input__icon {
  4099. line-height: 30px;
  4100. }
  4101. .el-select .el-input .el-select__caret {
  4102. color: #6996c6;
  4103. }
  4104. }
  4105. .sj-pop-con {
  4106. width: 437px !important;
  4107. background: linear-gradient(0deg, rgba(12, 36, 66, 0.8) 0%, #1D5592 100%);
  4108. border: 1px solid #326e96;
  4109. color: #fff;
  4110. display: flex;
  4111. flex-wrap: wrap;
  4112. justify-content: space-between;
  4113. .popper__arrow::after {
  4114. border-left-color: #42eb88 !important
  4115. }
  4116. .popper__arrow {
  4117. border-left-color: #42eb88 !important
  4118. }
  4119. }
  4120. .sj-s-pop {
  4121. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  4122. border: 1px solid #326e96;
  4123. .el-select-dropdown__item {
  4124. color: #fff;
  4125. }
  4126. .el-select-dropdown__item.hover,
  4127. .el-select-dropdown__item:hover {
  4128. background: linear-gradient(0deg, rgba(25, 78, 143, 0.5) 0%, #2d8dec 100%);
  4129. }
  4130. .popper__arrow::after {
  4131. border-top-color: #178cd6 !important
  4132. }
  4133. .popper__arrow {
  4134. border-top-color: #178cd6 !important
  4135. }
  4136. }
  4137. .el-popper[x-placement^=right] .popper__arrow::after,
  4138. .el-popper[x-placement^=right] .popper__arrow {
  4139. border-right-color: #2A6DCD;
  4140. }
  4141. /*tab*/
  4142. .content-box .el-tabs__item {
  4143. border-radius: 5px;
  4144. height: 26px;
  4145. line-height: 26px;
  4146. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  4147. padding: 0 10px;
  4148. }
  4149. .content-box .el-tabs--top .el-tabs__item.is-top:last-child {
  4150. padding-left: 10px;
  4151. padding-right: 10px;
  4152. }
  4153. .content-box .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
  4154. padding: 0 10px;
  4155. }
  4156. .content-box .el-tabs__nav-next,
  4157. .content-box .el-tabs__nav-prev {
  4158. line-height: 26px;
  4159. }
  4160. .content-box .sj-top-tab .el-tabs__header {
  4161. position: absolute;
  4162. top: -32px;
  4163. right: 0px;
  4164. }
  4165. .content-box .sj-top-tab2 .el-tabs__header {
  4166. position: absolute;
  4167. top: -32px;
  4168. right: 200px;
  4169. }
  4170. .content-box .el-tabs__item.is-active {
  4171. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  4172. border-radius: 5px;
  4173. border: 1px solid transparent;
  4174. }
  4175. /*btn*/
  4176. .sj-btn-icon-h {
  4177. width: 100px !important;
  4178. height: 30px !important;
  4179. display: flex;
  4180. justify-content: center;
  4181. align-items: center;
  4182. padding: 0 !important;
  4183. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
  4184. border-radius: 5px;
  4185. color: #fff;
  4186. border: 1px solid #3261b5 !important;
  4187. }
  4188. .sj-btn-icon-h:hover {
  4189. color: #fff;
  4190. background: linear-gradient(0deg, #75F8D2 0%, #4e7cb1 50%, #50dfdf 100%) !important;
  4191. }
  4192. .sj-btn-icon-h:focus {
  4193. color: #fff;
  4194. }
  4195. .sj-btn-icon {
  4196. width: 100px !important;
  4197. height: 30px !important;
  4198. display: flex;
  4199. justify-content: center;
  4200. align-items: center;
  4201. padding: 0 !important;
  4202. background: linear-gradient(90deg, #214D8C 1%, rgba(14, 52, 93, 1) 100%);
  4203. border-radius: 5px;
  4204. color: #fff;
  4205. border: 1px solid #3261b5 !important;
  4206. span {
  4207. img {
  4208. margin-right: 5px;
  4209. }
  4210. display: flex;
  4211. justify-content: center;
  4212. align-items: center;
  4213. }
  4214. }
  4215. .sj-btn-icon:hover {
  4216. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
  4217. color: #fff !important;
  4218. }
  4219. .sj-btn-icon:focus {
  4220. background-color: #75F8D2 !important;
  4221. color: #fff !important;
  4222. border: 1px solid #75F8D2 !important;
  4223. }
  4224. /*normal tab*/
  4225. /*tab*/
  4226. .content-box2 .el-tabs__item {
  4227. border-radius: 100px;
  4228. height: 26px;
  4229. line-height: 26px;
  4230. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  4231. padding: 0 10px;
  4232. }
  4233. .content-box2 .el-tabs--top .el-tabs__item.is-top:last-child {
  4234. padding-left: 10px;
  4235. padding-right: 10px;
  4236. }
  4237. .content-box2 .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
  4238. padding: 0 10px;
  4239. }
  4240. .content-box2 .el-tabs__nav-next,
  4241. .content-box2 .el-tabs__nav-prev {
  4242. line-height: 26px;
  4243. }
  4244. .content-box2 .sj-top-tab .el-tabs__header {}
  4245. .content-box2 .sj-top-tab2 .el-tabs__header {}
  4246. .content-box2 .el-tabs__item.is-active {
  4247. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  4248. border-radius: 100px;
  4249. border: 1px solid transparent;
  4250. }
  4251. .el-tabs__item {
  4252. padding: 0 15px;
  4253. height: 30px;
  4254. -webkit-box-sizing: border-box;
  4255. box-sizing: border-box;
  4256. line-height: 30px;
  4257. display: inline-block;
  4258. list-style: none;
  4259. font-size: 14px;
  4260. font-weight: 500;
  4261. color: #fff;
  4262. position: relative;
  4263. border-radius: 20px;
  4264. }
  4265. .content-box .el-checkbox {
  4266. margin-right: 15px !important;
  4267. }
  4268. .content-box .el-checkbox__inner {
  4269. border: 1px solid #0fc5f2;
  4270. width: 13px;
  4271. height: 13px;
  4272. background: none;
  4273. }
  4274. .content-box .el-checkbox__label {
  4275. color: #b9e4ef;
  4276. }
  4277. .content-box .el-checkbox__inner::after {
  4278. border-color: #0fc5f2;
  4279. }
  4280. .content-box .el-checkbox__input.is-checked .el-checkbox__inner,
  4281. .content-box .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4282. border-color: #0fc0ee;
  4283. background: none;
  4284. }
  4285. .content-box .el-checkbox__input.is-checked+.el-checkbox__label {
  4286. color: #0fc5f2;
  4287. }
  4288. .content-box .el-checkbox__input.is-disabled .el-checkbox__inner {
  4289. background-color: #628c91;
  4290. border-color: #407983;
  4291. cursor: not-allowed;
  4292. }
  4293. /*正常tab*/
  4294. /*form*/
  4295. .sj-form {
  4296. display: flex;
  4297. justify-content: center;
  4298. align-items: center;
  4299. }
  4300. /*radio*/
  4301. .sj-radio {
  4302. margin-top: 5px !important;
  4303. }
  4304. .sj-radio .el-radio-button__inner {
  4305. padding: 0 15px;
  4306. height: 26px;
  4307. line-height: 26px;
  4308. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  4309. color: #fff;
  4310. border: none;
  4311. border-left: none !important;
  4312. }
  4313. .sj-radio .el-radio-button__orig-radio:checked+.el-radio-button__inner {
  4314. height: 26px;
  4315. line-height: 26px;
  4316. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  4317. border: 1px solid transparent;
  4318. }
  4319. .mar-left {
  4320. margin-left: 20px !important;
  4321. }
  4322. /*checkbox*/
  4323. .sj-check {
  4324. margin-top: 5px !important;
  4325. }
  4326. .sj-check .el-checkbox {
  4327. margin-right: 10px;
  4328. }
  4329. .sj-check .el-checkbox__label {
  4330. color: #fff;
  4331. padding-left: 5px;
  4332. }
  4333. .sj-check .el-checkbox__inner {
  4334. background: #192c40;
  4335. border: 1px solid #3a86ce;
  4336. }
  4337. .sj-check .el-checkbox__input.is-checked .el-checkbox__inner,
  4338. .sj-check .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4339. border: 1px solid #2acdb4;
  4340. background: #192c40;
  4341. }
  4342. .sj-check .el-checkbox__input.is-checked+.el-checkbox__label {
  4343. color: #00ffee;
  4344. }
  4345. /* 为不同类型的选择框定义不同的颜色 */
  4346. //燃气高压
  4347. .layers_ranqi_height{
  4348. .el-tree-node__expand-icon{
  4349. color: #e23922;
  4350. }
  4351. .el-tree-node__content:hover {
  4352. background-color: rgba(226, 57, 34, 0.4);
  4353. }
  4354. .el-tree-node:focus {
  4355. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4356. }
  4357. .is-current:focus {
  4358. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4359. }
  4360. .is-focusable:focus {
  4361. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4362. }
  4363. .el-tree-node:active {
  4364. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4365. }
  4366. .el-checkbox__inner {
  4367. border: 1px solid #e23922;
  4368. background: rgba(226, 57, 34, 0.28);
  4369. }
  4370. .el-tree-node:focus > .el-tree-node__content {
  4371. background-color: rgba(226, 57, 34, 0.4);
  4372. }
  4373. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4374. background-color: rgba(226, 57, 34, 0.7);
  4375. border-color: #e23922;
  4376. }
  4377. .el-checkbox__inner::after {
  4378. border-color: #fff;
  4379. }
  4380. }
  4381. /* 为不同类型的选择框定义不同的颜色 */
  4382. //燃气高压
  4383. .layers_ranqi_height{
  4384. .el-tree-node__expand-icon{
  4385. color: #e23922 !important; /* 自定义背景色 */
  4386. }
  4387. .el-tree-node__content:hover {
  4388. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4389. }
  4390. .el-tree-node:focus {
  4391. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4392. }
  4393. .is-current:focus {
  4394. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4395. }
  4396. .is-focusable:focus {
  4397. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4398. }
  4399. .el-tree-node:active {
  4400. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4401. }
  4402. .el-checkbox__inner {
  4403. border: 1px solid #e23922 !important; /* 自定义背景色 */
  4404. background: rgba(226, 57, 34, 0.28) !important; /* 自定义背景色 */
  4405. }
  4406. .el-tree-node:focus > .el-tree-node__content {
  4407. background-color: rgba(226, 57, 34, 0.4) !important; /* 自定义背景色 */
  4408. }
  4409. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4410. background-color: rgba(226, 57, 34, 0.7) !important; /* 自定义背景色 */
  4411. border-color: #e23922 !important; /* 自定义背景色 */
  4412. }
  4413. .el-checkbox__inner::after {
  4414. border-color: #fff !important; /* 自定义背景色 */
  4415. }
  4416. }
  4417. //燃气中压
  4418. .layers_ranqi_middle{
  4419. .el-tree-node__expand-icon{
  4420. color: #589fe3 !important; /* 自定义背景色 */
  4421. }
  4422. .el-tree-node__content:hover {
  4423. background-color: rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
  4424. }
  4425. .el-tree-node:focus {
  4426. background-color: rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
  4427. }
  4428. .el-tree-node:active {
  4429. background-color: rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
  4430. }
  4431. .el-checkbox__inner {
  4432. border: 1px solid #589fe3 !important; /* 自定义背景色 */
  4433. background: rgba(88, 159, 227, 0.37) !important; /* 自定义背景色 */
  4434. }
  4435. .el-tree-node:focus > .el-tree-node__content {
  4436. background-color:rgba(88, 159, 227, 0.3) !important; /* 自定义背景色 */
  4437. }
  4438. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4439. border: 1px solid #589fe3 !important; /* 自定义背景色 */
  4440. background: rgba(88, 159, 227, 0.7) !important; /* 自定义背景色 */
  4441. }
  4442. .el-checkbox__inner::after {
  4443. border-color: #fff !important; /* 自定义背景色 */
  4444. }
  4445. }
  4446. //燃气低压
  4447. .layers_ranqi_low{
  4448. .el-tree-node__expand-icon{
  4449. color: #57ad5c !important; /* 自定义背景色 */
  4450. }
  4451. .el-tree-node__content:hover {
  4452. background-color: rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
  4453. }
  4454. .el-tree-node:focus {
  4455. background-color:rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
  4456. }
  4457. .el-tree-node:active {
  4458. background-color:rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
  4459. }
  4460. .el-checkbox__inner {
  4461. border: 1px solid #57ad5c !important; /* 自定义背景色 */
  4462. background: rgba(87, 173, 92, 0.27) !important; /* 自定义背景色 */
  4463. }
  4464. .el-tree-node:focus > .el-tree-node__content {
  4465. background-color: rgba(87, 173, 92, 0.49) !important; /* 自定义背景色 */
  4466. }
  4467. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4468. border: 1px solid #57ad5c !important; /* 自定义背景色 */
  4469. background: rgba(87, 173, 92, 0.7) !important; /* 自定义背景色 */
  4470. }
  4471. .el-checkbox__inner::after {
  4472. border-color: #fff !important; /* 自定义背景色 */
  4473. }
  4474. }
  4475. //供热一次网
  4476. .layers_gongre_yici{
  4477. .el-tree-node__expand-icon{
  4478. color: #e26c2e !important; /* 自定义背景色 */
  4479. }
  4480. .el-tree-node__content:hover {
  4481. background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
  4482. }
  4483. .el-tree-node:focus {
  4484. background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
  4485. }
  4486. .is-current:focus {
  4487. background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
  4488. }
  4489. .is-focusable:focus {
  4490. background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
  4491. }
  4492. .el-tree-node:active {
  4493. background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
  4494. }
  4495. .el-checkbox__inner {
  4496. border: 1px solid #e26c2e !important; /* 自定义背景色 */
  4497. background: rgba(224, 107, 47, 0.28) !important; /* 自定义背景色 */
  4498. }
  4499. .el-tree-node:focus > .el-tree-node__content {
  4500. background-color: rgb(224, 107, 47, 0.4) !important; /* 自定义背景色 */
  4501. }
  4502. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4503. background-color: rgb(224, 107, 47, 0.7) !important; /* 自定义背景色 */
  4504. border-color: #e26c2e !important; /* 自定义背景色 */
  4505. }
  4506. .el-checkbox__inner::after {
  4507. border-color: #fff !important; /* 自定义背景色 */
  4508. }
  4509. }
  4510. //供热二次网
  4511. .layers_gongre_erci{
  4512. .el-tree-node__expand-icon{
  4513. color: #f6e75a !important; /* 自定义背景色 */
  4514. }
  4515. .el-tree-node__content:hover {
  4516. background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
  4517. }
  4518. .el-tree-node:focus {
  4519. background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
  4520. }
  4521. .el-tree-node:active {
  4522. background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
  4523. }
  4524. .el-checkbox__inner {
  4525. border: 1px solid #f6e75a !important; /* 自定义背景色 */
  4526. background: rgba(244, 229, 90, 0.37) !important; /* 自定义背景色 */
  4527. }
  4528. .el-tree-node:focus > .el-tree-node__content {
  4529. background-color: rgba(244, 229, 90, 0.3) !important; /* 自定义背景色 */
  4530. }
  4531. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4532. border: 1px solid #f6e75a !important; /* 自定义背景色 */
  4533. background: rgba(244, 229, 90, 0.7) !important; /* 自定义背景色 */
  4534. }
  4535. .el-checkbox__inner::after {
  4536. border-color: #fff !important; /* 自定义背景色 */
  4537. }
  4538. }
  4539. //供热直供管
  4540. .layers_gongre_zhigong{
  4541. .el-tree-node__expand-icon{
  4542. color: #eaa470 !important; /* 自定义背景色 */
  4543. }
  4544. .el-tree-node__content:hover {
  4545. background-color: rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
  4546. }
  4547. .el-tree-node:focus {
  4548. background-color:rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
  4549. }
  4550. .el-tree-node:active {
  4551. background-color:rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
  4552. }
  4553. .el-checkbox__inner {
  4554. border: 1px solid #eaa470 !important; /* 自定义背景色 */
  4555. background: rgba(232, 163, 112, 0.27) !important; /* 自定义背景色 */
  4556. }
  4557. .el-tree-node:focus > .el-tree-node__content {
  4558. background-color: rgba(232, 163, 112, 0.49) !important; /* 自定义背景色 */
  4559. }
  4560. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4561. border: 1px solid #eaa470 !important; /* 自定义背景色 */
  4562. background: rgba(232, 163, 112, 0.7) !important; /* 自定义背景色 */
  4563. }
  4564. .el-checkbox__inner::after {
  4565. border-color: #fff !important; /* 自定义背景色 */
  4566. }
  4567. }
  4568. //供水
  4569. .layers_gongshui{
  4570. .el-tree-node__expand-icon{
  4571. color: #89f8e4 !important; /* 自定义背景色 */
  4572. }
  4573. .el-tree-node__content:hover {
  4574. background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
  4575. }
  4576. .el-tree-node:focus {
  4577. background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
  4578. }
  4579. .is-current:focus {
  4580. background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
  4581. }
  4582. .is-focusable:focus {
  4583. background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
  4584. }
  4585. .el-tree-node:active {
  4586. background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
  4587. }
  4588. .el-checkbox__inner {
  4589. border: 1px solid #89f8e4 !important; /* 自定义背景色 */
  4590. background: rgba(136, 246, 227, 0.28) !important; /* 自定义背景色 */
  4591. }
  4592. .el-tree-node:focus > .el-tree-node__content {
  4593. background-color: rgb(136, 246, 227, 0.4) !important; /* 自定义背景色 */
  4594. }
  4595. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4596. background-color: rgb(136, 246, 227, 0.7) !important; /* 自定义背景色 */
  4597. border-color: #89f8e4 !important; /* 自定义背景色 */
  4598. }
  4599. .el-checkbox__inner::after {
  4600. border-color: #fff !important; /* 自定义背景色 */
  4601. }
  4602. }
  4603. //供水-雨水
  4604. .layers_paishui_yushui{
  4605. .el-tree-node__expand-icon{
  4606. color: #a0dffa !important; /* 自定义背景色 */
  4607. }
  4608. .el-tree-node__content:hover {
  4609. background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
  4610. }
  4611. .el-tree-node:focus {
  4612. background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
  4613. }
  4614. .is-current:focus {
  4615. background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
  4616. }
  4617. .is-focusable:focus {
  4618. background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
  4619. }
  4620. .el-tree-node:active {
  4621. background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
  4622. }
  4623. .el-checkbox__inner {
  4624. border: 1px solid #a0dffa !important; /* 自定义背景色 */
  4625. background: rgba(159, 221, 249, 0.28) !important; /* 自定义背景色 */
  4626. }
  4627. .el-tree-node:focus > .el-tree-node__content {
  4628. background-color: rgb(159, 221, 249, 0.4) !important; /* 自定义背景色 */
  4629. }
  4630. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4631. background-color: rgb(159, 221, 249, 0.7) !important; /* 自定义背景色 */
  4632. border-color: #a0dffa !important; /* 自定义背景色 */
  4633. }
  4634. .el-checkbox__inner::after {
  4635. border-color: #fff !important; /* 自定义背景色 */
  4636. }
  4637. }
  4638. //供水-污水
  4639. .layers_paishui_wushui{
  4640. .el-tree-node__expand-icon{
  4641. color: #b7c843 !important; /* 自定义背景色 */
  4642. }
  4643. .el-tree-node__content:hover {
  4644. background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
  4645. }
  4646. .el-tree-node:focus {
  4647. background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
  4648. }
  4649. .is-current:focus {
  4650. background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
  4651. }
  4652. .is-focusable:focus {
  4653. background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
  4654. }
  4655. .el-tree-node:active {
  4656. background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
  4657. }
  4658. .el-checkbox__inner {
  4659. border: 1px solid #b7c843 !important; /* 自定义背景色 */
  4660. background: rgba(182, 198, 67, 0.28) !important; /* 自定义背景色 */
  4661. }
  4662. .el-tree-node:focus > .el-tree-node__content {
  4663. background-color: rgb(182, 198, 67, 0.4) !important; /* 自定义背景色 */
  4664. }
  4665. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4666. background-color: rgb(182, 198, 67, 0.7) !important; /* 自定义背景色 */
  4667. border-color: #b7c843 !important; /* 自定义背景色 */
  4668. }
  4669. .el-checkbox__inner::after {
  4670. border-color: #fff !important; /* 自定义背景色 */
  4671. }
  4672. }
  4673. //供水-合流
  4674. .layers_paishui_heliu{
  4675. .el-tree-node__expand-icon{
  4676. color: #2c3ec4 !important; /* 自定义背景色 */
  4677. }
  4678. .el-tree-node__content:hover {
  4679. background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
  4680. }
  4681. .el-tree-node:focus {
  4682. background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
  4683. }
  4684. .is-current:focus {
  4685. background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
  4686. }
  4687. .is-focusable:focus {
  4688. background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
  4689. }
  4690. .el-tree-node:active {
  4691. background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
  4692. }
  4693. .el-checkbox__inner {
  4694. border: 1px solid #2c3ec4 !important; /* 自定义背景色 */
  4695. background: rgba(44, 62, 195, 0.28) !important; /* 自定义背景色 */
  4696. }
  4697. .el-tree-node:focus > .el-tree-node__content {
  4698. background-color: rgb(44, 62, 195, 0.4) !important; /* 自定义背景色 */
  4699. }
  4700. .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  4701. background-color: rgb(44, 62, 195, 0.7) !important; /* 自定义背景色 */
  4702. border-color: #2c3ec4 !important; /* 自定义背景色 */
  4703. }
  4704. .el-checkbox__inner::after {
  4705. border-color: #fff !important; /* 自定义背景色 */
  4706. }
  4707. }
  4708. </style>
  4709. <style rel="stylesheet/scss" lang="scss" scoped>
  4710. @import '@/assets/styles/base.scss';
  4711. /*公共*/
  4712. .list-ul-100-tit {
  4713. width: 100% !important;
  4714. background: url(../../assets/index_img/list-bg-img-t.png) no-repeat 100% !important;
  4715. background-size: cover !important;
  4716. height: 38px;
  4717. display: flex;
  4718. justify-content: space-between;
  4719. align-items: center;
  4720. margin-top: 10px !important;
  4721. background-size: contain;
  4722. padding: 0 10px !important;
  4723. color: #a2d4ef;
  4724. text-align: center;
  4725. span{
  4726. display: inline-block;
  4727. height: 38px;
  4728. line-height: 38px;
  4729. }
  4730. span:nth-child(1) {
  4731. width: 80px;
  4732. padding-left: 20px;
  4733. background: url("../../assets/index_img/jgpt_icon7.png") no-repeat 8px 12px;
  4734. }
  4735. span:nth-child(2) {
  4736. width: 70%;
  4737. text-align: left;
  4738. }
  4739. span:nth-child(3) {
  4740. width: 65px;
  4741. }
  4742. span:nth-child(2n) {
  4743. color: #fff;
  4744. }
  4745. }
  4746. .hei_scroll_400{
  4747. height: 400px;
  4748. overflow-y: scroll;
  4749. }
  4750. .list-ul-100{
  4751. li {
  4752. width: 100% !important;
  4753. background: url(../../assets/index_img/list-bg-img-1.png) no-repeat 100% !important;
  4754. background-size: cover !important;
  4755. height: 50px;
  4756. display: flex;
  4757. justify-content: space-between;
  4758. align-items: center;
  4759. margin-top: 10px;
  4760. padding: 0 10px !important;
  4761. text-align: center;
  4762. transition: all 0.5s ease-in-out;
  4763. cursor: pointer;
  4764. span:nth-child(1) {
  4765. width: 80px;
  4766. display: inline-block;
  4767. padding-left: 20px;
  4768. color: #fff;
  4769. }
  4770. span:nth-child(1).ps {
  4771. background: url("../../assets/index_img/jcxt_ps.png") no-repeat 5px 2px;
  4772. background-size: 21px;
  4773. }
  4774. span:nth-child(1).rq {
  4775. background: url("../../assets/index_img/jcxt_rq.png") no-repeat 5px 2px;
  4776. background-size: 21px;
  4777. }
  4778. span:nth-child(1).rl {
  4779. background: url("../../assets/index_img/jcxt_rl.png") no-repeat 5px 2px;
  4780. background-size: 21px;
  4781. }
  4782. span:nth-child(1).gl {
  4783. background: url("../../assets/index_img/jcxt_gl.png") no-repeat 5px 2px;
  4784. background-size: 21px;
  4785. }
  4786. span:nth-child(1).gs {
  4787. background: url("../../assets/index_img/jcxt_gs.png") no-repeat 5px 2px;
  4788. background-size: 21px;
  4789. }
  4790. span:nth-child(1).ql {
  4791. background: url("../../assets/index_img/jcxt_ql.png") no-repeat 5px 2px;
  4792. background-size: 21px;
  4793. }
  4794. span:nth-child(2) {
  4795. width: 70%;
  4796. text-align: left;
  4797. display: inline-block;
  4798. }
  4799. span:nth-child(3) {
  4800. width: 65px;
  4801. display: inline-block;
  4802. position: relative;
  4803. }
  4804. span:nth-child(3).zx{
  4805. color: #45bf02;
  4806. }
  4807. span:nth-child(3).zx::after{
  4808. width: 5px;
  4809. height: 5px;
  4810. border-radius: 20px;
  4811. content: '';
  4812. position: absolute;
  4813. display: block;
  4814. left: 4px;
  4815. top:8px;
  4816. background: #45bf02;
  4817. box-shadow: 0px 0px 8px #45bf02;
  4818. }
  4819. span:nth-child(3).lx{
  4820. color: #f80606;
  4821. }
  4822. span:nth-child(3).lx::after{
  4823. width: 5px;
  4824. height: 5px;
  4825. border-radius: 20px;
  4826. content: '';
  4827. position: absolute;
  4828. display: block;
  4829. left: 4px;
  4830. top:8px;
  4831. background: #f80606;
  4832. box-shadow: 0px 0px 8px #f80606;
  4833. }
  4834. span:nth-child(2n) {
  4835. color: #fff;
  4836. display: inline-block;
  4837. }
  4838. }
  4839. li:nth-child(2n) {
  4840. background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
  4841. }
  4842. li:hover {
  4843. filter: brightness(200%);
  4844. transform: translateX(8px);
  4845. }
  4846. }
  4847. .lifeline-con {
  4848. color: #fff;
  4849. font-size: 14px;
  4850. .h-185 {
  4851. height: 185px !important;
  4852. padding: 0 !important;
  4853. }
  4854. .h-170 {
  4855. height: 170px !important;
  4856. padding: 0 !important;
  4857. }
  4858. /*头部*/
  4859. .life-header2 {
  4860. width: 100%;
  4861. height: 81px;
  4862. background: url('../../assets/index_img/header-img2.png') no-repeat center;
  4863. position: fixed;
  4864. top: 0;
  4865. font-family: 'ysbth';
  4866. font-size: 38px;
  4867. text-align: center;
  4868. line-height: 70px;
  4869. animation: headermove 1s ease-out;
  4870. z-index: 999;
  4871. span {
  4872. position: absolute;
  4873. left: 50%;
  4874. transform: translateX(-50%);
  4875. display: flex;
  4876. align-items: center;
  4877. font-weight: 400;
  4878. color: #EFF8FC;
  4879. background: linear-gradient(0deg, rgba(119, 186, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
  4880. opacity: 1;
  4881. -webkit-background-clip: text;
  4882. -webkit-text-fill-color: transparent;
  4883. img {
  4884. width: 46px;
  4885. height: 46px;
  4886. margin-right: 15px;
  4887. }
  4888. }
  4889. .time-left {
  4890. display: flex;
  4891. flex-direction: column;
  4892. justify-content: center;
  4893. align-items: center;
  4894. font-family: pmzd;
  4895. position: absolute;
  4896. left: 28px;
  4897. top: 18px;
  4898. h5 {
  4899. font-size: 16px;
  4900. font-weight: 400;
  4901. background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  4902. -webkit-background-clip: text;
  4903. -webkit-text-fill-color: transparent;
  4904. }
  4905. h6 {
  4906. font-size: 12px;
  4907. font-weight: 400;
  4908. background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  4909. -webkit-background-clip: text;
  4910. -webkit-text-fill-color: transparent;
  4911. }
  4912. }
  4913. .header-right-user-home {
  4914. width: fit-content;
  4915. display: flex;
  4916. justify-content: center;
  4917. position: absolute;
  4918. right: 18px;
  4919. top: 18px;
  4920. img {
  4921. cursor: pointer;
  4922. transition: all 0.5s ease-in-out;
  4923. margin: 0 5px;
  4924. }
  4925. img:hover {
  4926. cursor: pointer;
  4927. filter: brightness(170%) hue-rotate(-20deg);
  4928. transform: translateY(-2px);
  4929. }
  4930. }
  4931. }
  4932. /*顶部重点关注天气区域*/
  4933. .top-bar {
  4934. width: 738px;
  4935. height: 68px;
  4936. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  4937. border-radius: 33px;
  4938. position: absolute;
  4939. top: 83px;
  4940. left: 50%;
  4941. transform: translateX(-50%);
  4942. display: flex;
  4943. justify-content: space-between;
  4944. align-items: center;
  4945. z-index: 20;
  4946. color: #fff;
  4947. .line-y {
  4948. width: 1px;
  4949. height: 37px;
  4950. border: 1px solid #4476A3;
  4951. }
  4952. h5 {
  4953. font-size: 20px;
  4954. color: #EFF2FF;
  4955. font-family: ysbth;
  4956. line-height: 40px;
  4957. background: linear-gradient(0deg, #31beff, #effcfe, #effcfe);
  4958. -webkit-background-clip: text;
  4959. -webkit-text-fill-color: transparent;
  4960. display: flex;
  4961. justify-content: center;
  4962. align-items: center;
  4963. margin: 0 10px;
  4964. }
  4965. span {
  4966. display: flex;
  4967. justify-content: center;
  4968. align-items: center;
  4969. margin: 0 5px;
  4970. .icon-block {
  4971. width: 6px;
  4972. height: 11px;
  4973. background: linear-gradient(0deg, #67AAE7 0%, #2B5E8E 100%);
  4974. margin: 0 5px;
  4975. }
  4976. }
  4977. .icon-sj {
  4978. width: 12px;
  4979. height: 20px;
  4980. margin: 0 5px;
  4981. }
  4982. .left {
  4983. display: flex;
  4984. .icon {
  4985. width: 67px;
  4986. height: 65px;
  4987. }
  4988. }
  4989. .right {
  4990. display: flex;
  4991. .text-r {
  4992. width: 200px;
  4993. display: flex;
  4994. flex-wrap: wrap;
  4995. align-items: center;
  4996. align-content: center
  4997. }
  4998. }
  4999. }
  5000. /*左右装饰*/
  5001. .line-left,
  5002. .line-right {
  5003. width: 18px;
  5004. height: 100vh;
  5005. position: absolute;
  5006. top: 0;
  5007. z-index: 1000;
  5008. }
  5009. .line-left {
  5010. background: url(../../assets/index_img/left-line.png) no-repeat 100%;
  5011. left: 0;
  5012. }
  5013. .line-right {
  5014. background: url(../../assets/index_img/right-line.png) no-repeat 100%;
  5015. right: 0;
  5016. }
  5017. /*左侧右侧独立黑色背景*/
  5018. .con_left_2_bg {
  5019. width: 570px;
  5020. background: url('../../assets/index_img/black-bg-left.png') no-repeat left;
  5021. height: 100vh;
  5022. position: absolute;
  5023. z-index: 2;
  5024. left: 0;
  5025. }
  5026. .con_right_2_bg {
  5027. width: 570px;
  5028. background: url('../../assets/index_img/black-bg-right.png') no-repeat right;
  5029. height: 100vh;
  5030. position: absolute;
  5031. z-index: 2;
  5032. right: 0;
  5033. }
  5034. /*公共*/
  5035. .title-bar {
  5036. width: 100%;
  5037. height: 38px;
  5038. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  5039. display: flex;
  5040. align-items: center;
  5041. justify-content: space-between;
  5042. .num {
  5043. width: 88px;
  5044. height: 27px;
  5045. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  5046. border-radius: 5px;
  5047. line-height: 27px;
  5048. text-align: center;
  5049. font-weight: bold;
  5050. margin-top: 7px;
  5051. }
  5052. span {
  5053. font-size: 20px;
  5054. color: #EFF2FF;
  5055. font-family: ysbth;
  5056. line-height: 40px;
  5057. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  5058. -webkit-background-clip: text;
  5059. -webkit-text-fill-color: transparent;
  5060. margin-left: 55px;
  5061. }
  5062. }
  5063. .content-box-half {
  5064. width: 267px !important;
  5065. }
  5066. .box-h-l {
  5067. height: 175px !important;
  5068. }
  5069. .content-box3 {
  5070. width: 538px;
  5071. height: 243px;
  5072. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
  5073. border-radius: 8px;
  5074. border: 1px solid #23466C;
  5075. margin-top: 2px;
  5076. padding: 10px;
  5077. display: flex;
  5078. flex-direction: column;
  5079. flex-wrap: wrap;
  5080. justify-content: space-between;
  5081. position: relative;
  5082. }
  5083. .content-box2 {
  5084. padding: 15px !important;
  5085. .map-btn-con {
  5086. height: 50px;
  5087. margin-top: 20px;
  5088. display: flex;
  5089. justify-content: space-between;
  5090. align-items: center;
  5091. border-top: 1px dashed #1e57a3;
  5092. span {
  5093. height: 50px;
  5094. display: flex;
  5095. justify-content: center;
  5096. align-items: center;
  5097. }
  5098. }
  5099. }
  5100. .content-box4{
  5101. width: 100%;
  5102. height: auto;
  5103. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .2));
  5104. margin-top: 2px;
  5105. padding: 10px;
  5106. display: flex;
  5107. flex-direction: column;
  5108. flex-wrap: wrap;
  5109. justify-content: space-between;
  5110. position: relative;
  5111. }
  5112. .content-box,
  5113. .content-box2 {
  5114. width: 538px;
  5115. height: 243px;
  5116. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
  5117. border-radius: 8px;
  5118. border: 1px solid #23466C;
  5119. margin-top: 2px;
  5120. padding: 10px;
  5121. display: flex;
  5122. flex-direction: column;
  5123. flex-wrap: wrap;
  5124. justify-content: space-between;
  5125. position: relative;
  5126. .chart-contaier {
  5127. width: 100%;
  5128. display: flex;
  5129. align-items: center;
  5130. justify-content: space-around;
  5131. .chart-con {
  5132. width: 300px;
  5133. height: 180px;
  5134. }
  5135. .chart-con2 {
  5136. width: 500px;
  5137. height: 160px;
  5138. }
  5139. .chart-con-num {
  5140. display: flex;
  5141. width: 185px;
  5142. height: 135px;
  5143. flex-flow: wrap;
  5144. justify-content: space-around;
  5145. .chart-con-num-rig {
  5146. width: 68px;
  5147. height: 36px;
  5148. display: flex;
  5149. flex-direction: column;
  5150. flex-wrap: wrap;
  5151. justify-content: space-around;
  5152. margin: 2px 0;
  5153. img {
  5154. margin-right: 10px;
  5155. }
  5156. h5 {
  5157. font-size: 18px;
  5158. }
  5159. h6 {
  5160. font-size: 14px;
  5161. }
  5162. }
  5163. }
  5164. }
  5165. :first-child {
  5166. .con-l-t {
  5167. height: 60px !important;
  5168. background: url(../../assets/index_img/con-l-t.png) !important;
  5169. border: none !important;
  5170. padding: 8px 0 0 10px !important;
  5171. }
  5172. }
  5173. .box-row2 {
  5174. display: flex;
  5175. align-items: flex-end;
  5176. position: absolute;
  5177. left: 0;
  5178. margin-left: 10px;
  5179. .li-4 {
  5180. width: 4em !important;
  5181. }
  5182. .li-7 {
  5183. width: 7em !important;
  5184. }
  5185. }
  5186. .box-row {
  5187. display: flex;
  5188. .con-l-t {
  5189. width: 92px;
  5190. height: 53px;
  5191. font-size: 14px;
  5192. background: linear-gradient(0deg, #0E244B 0%, #537AB4 100%);
  5193. border-radius: 5px;
  5194. border: 1px solid #23466C;
  5195. color: #F1F2F7;
  5196. display: flex;
  5197. flex-direction: column;
  5198. align-items: start;
  5199. margin-right: 10px;
  5200. padding: 6px 0 0 10px;
  5201. :last-child {
  5202. font-weight: bold;
  5203. }
  5204. }
  5205. .con-r {
  5206. display: flex;
  5207. flex-direction: column;
  5208. font-size: 14px;
  5209. color: #F1F2F7;
  5210. line-height: 21px;
  5211. position: relative;
  5212. top: -5px;
  5213. .line-x {
  5214. width: 10px;
  5215. height: 1px;
  5216. background: #339DC6;
  5217. position: absolute;
  5218. left: -10px;
  5219. top: 32px;
  5220. }
  5221. .line-x6 {
  5222. width: 1px;
  5223. height: 10px;
  5224. background: #339DC6;
  5225. position: absolute;
  5226. left: -55px;
  5227. bottom: -10px;
  5228. }
  5229. .line-x7 {
  5230. width: 265px;
  5231. height: 1px;
  5232. background: #339DC6;
  5233. position: absolute;
  5234. left: -55px;
  5235. bottom: -10px;
  5236. }
  5237. .line-x8 {
  5238. width: 1px;
  5239. height: 21px;
  5240. background: #339DC6;
  5241. position: absolute;
  5242. left: 50px;
  5243. bottom: -10px;
  5244. }
  5245. .line-x9 {
  5246. width: 1px;
  5247. height: 43px;
  5248. background: #339DC6;
  5249. position: absolute;
  5250. left: 209px;
  5251. bottom: -10px;
  5252. }
  5253. li {
  5254. padding-left: 18px;
  5255. line-height: 22px;
  5256. background: url(../../assets/index_img/line-bg-mid.png) no-repeat left top;
  5257. :first-child {
  5258. width: 3em;
  5259. display: inline-block;
  5260. text-align: justify;
  5261. text-align-last: justify;
  5262. }
  5263. :last-child {
  5264. margin-left: 5px;
  5265. }
  5266. }
  5267. li:first-child {
  5268. background: url(../../assets/index_img/line-bg-top.png) no-repeat left top;
  5269. }
  5270. li:last-child {
  5271. background: url(../../assets/index_img/line-bg-btm.png) no-repeat left top;
  5272. }
  5273. }
  5274. .con-r-2 {
  5275. top: 0 !important;
  5276. justify-content: center;
  5277. .line-x {
  5278. top: 26px !important;
  5279. }
  5280. }
  5281. .con-r-3 {
  5282. top: 0 !important;
  5283. justify-content: center;
  5284. .line-x {
  5285. top: 128px !important;
  5286. }
  5287. }
  5288. .con-r-8 {
  5289. flex-direction: row !important;
  5290. ul {
  5291. margin-left: 50px;
  5292. }
  5293. }
  5294. }
  5295. }
  5296. /*左侧*/
  5297. .left-content {
  5298. width: 540px;
  5299. height: 90vh;
  5300. overflow-y: auto;
  5301. top: 70px;
  5302. position: absolute;
  5303. left: 20px;
  5304. z-index: 80;
  5305. display: flex;
  5306. flex-wrap: wrap;
  5307. align-content: flex-start;
  5308. justify-content: space-evenly;
  5309. color: #fff;
  5310. font-size: 14px;
  5311. }
  5312. .right-content {
  5313. width: 540px;
  5314. height: 90vh;
  5315. overflow-y: auto;
  5316. top: 70px;
  5317. position: absolute;
  5318. right: 20px;
  5319. z-index: 80;
  5320. display: flex;
  5321. flex-wrap: wrap;
  5322. align-content: flex-start;
  5323. justify-content: space-evenly;
  5324. color: #fff;
  5325. font-size: 14px;
  5326. }
  5327. //左右侧按钮
  5328. .btn {
  5329. display: flex;
  5330. justify-content: center;
  5331. width: 300px;
  5332. height: 195px;
  5333. transition: all 0.5s ease-in-out;
  5334. .btn-left {
  5335. display: flex;
  5336. flex-direction: column;
  5337. justify-content: center;
  5338. align-items: center;
  5339. cursor: pointer;
  5340. img {
  5341. width: 160px;
  5342. height: 155px;
  5343. margin-top: 1.25rem;
  5344. }
  5345. span {
  5346. font-weight: 400;
  5347. font-size: 24px;
  5348. color: #EFF8FC;
  5349. line-height: 28px;
  5350. font-family: pmzd;
  5351. }
  5352. }
  5353. .btn-right {
  5354. display: flex;
  5355. flex-direction: column;
  5356. justify-content: center;
  5357. .btn-right-con {
  5358. cursor: pointer;
  5359. width: 131px;
  5360. height: 37px;
  5361. text-align: center;
  5362. background: url('../../assets/index_img/name-bg.png') no-repeat center;
  5363. font-weight: 400;
  5364. font-size: 14px;
  5365. line-height: 32px;
  5366. color: #EFF8FC;
  5367. transition: all .2s ease-in-out;
  5368. }
  5369. .btn-right-con:hover {
  5370. filter: hue-rotate(-70deg);
  5371. }
  5372. }
  5373. }
  5374. .con_right {
  5375. position: absolute;
  5376. right: 20px;
  5377. top: 100px;
  5378. z-index: 999;
  5379. background: rgba(0, 10, 24, 0.67);
  5380. width: 360px;
  5381. .con_tckz {
  5382. .con_tckz_div {
  5383. margin: 0px 10px;
  5384. .tekz_div {
  5385. font-size: 14px;
  5386. text-align: left;
  5387. color: #fff;
  5388. padding-bottom: 15px;
  5389. border-bottom: 1px dashed #4a5958;
  5390. margin-bottom: 15px;
  5391. .tc_div {
  5392. line-height: 40px;
  5393. padding-left: 15px;
  5394. display: flex;
  5395. flex-direction: row;
  5396. width: 100%;
  5397. .scrollx {
  5398. width: 100%;
  5399. white-space: nowrap;
  5400. display: flex;
  5401. flex-direction: row;
  5402. /*height: 40px;*/
  5403. span {
  5404. display: block;
  5405. width: 80px;
  5406. }
  5407. .scroll-container {
  5408. display: block;
  5409. /*height: 40px;*/
  5410. /*overflow-y: scroll;*/
  5411. width: 220px;
  5412. .el-checkbox-group {
  5413. label {
  5414. display: block;
  5415. float: left;
  5416. }
  5417. }
  5418. }
  5419. }
  5420. }
  5421. }
  5422. .scroll-container::-webkit-scrollbar {
  5423. /*滚动条整体样式*/
  5424. width: 6px !important;
  5425. /*高宽分别对应横竖滚动条的尺寸*/
  5426. height: 1px !important;
  5427. display: block !important;
  5428. cursor: pointer;
  5429. }
  5430. .scroll-container::-webkit-scrollbar-thumb {
  5431. /*滚动条里面小方块*/
  5432. border-radius: 10px;
  5433. height: 15px;
  5434. -webkit-box-shadow: inset 0 0 5px rgba(0, 22, 55, 0.87);
  5435. // background: #E5E5E5;
  5436. background: rgba(38, 235, 255, 0.5);
  5437. }
  5438. .scroll-container::-webkit-scrollbar-track {
  5439. /*滚动条里面轨道*/
  5440. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  5441. border-radius: 10px;
  5442. background: rgba(10, 37, 64, 0.75);
  5443. }
  5444. .map_btn button {
  5445. display: inline-block;
  5446. background: url("../../assets/images/sixZ/sixzbtn1.png") no-repeat center;
  5447. background-size: 100% 100%;
  5448. padding: 8px 20px;
  5449. margin: 8px 8px 8px 0px;
  5450. font-size: 14px;
  5451. color: #fff;
  5452. cursor: pointer;
  5453. }
  5454. .map_btn button.on {
  5455. background: url("../../assets/images/sixZ/sixzbtn1_on.png") no-repeat center;
  5456. background-size: 100% 100%;
  5457. box-shadow: none;
  5458. }
  5459. .map_clear {
  5460. background: #09335f;
  5461. color: #a4bfe2;
  5462. font-size: 14px;
  5463. float: right;
  5464. margin: 20px 0px;
  5465. display: inline-block;
  5466. padding: 6px 18px;
  5467. }
  5468. .map_clear:hover {
  5469. background: #0a5184;
  5470. }
  5471. }
  5472. }
  5473. }
  5474. .btn:hover {
  5475. filter: brightness(180%);
  5476. }
  5477. .btn-r {
  5478. position: absolute;
  5479. left: 16%;
  5480. top: 15%;
  5481. animation: btnRun 1s, movetop 3.5s 1s infinite;
  5482. }
  5483. .btn-rq {
  5484. position: absolute;
  5485. right: 12%;
  5486. top: 12%;
  5487. animation: btnRun 1s, movetop 4s 1s infinite;
  5488. }
  5489. .btn-ps {
  5490. position: absolute;
  5491. left: 5%;
  5492. top: 38%;
  5493. animation: btnRun 1s, movetop2 5s 1s infinite;
  5494. }
  5495. .btn-ql {
  5496. position: absolute;
  5497. left: 12%;
  5498. top: 60%;
  5499. animation: btnRun 1s, movetop2 3s 1s infinite;
  5500. }
  5501. .btn-gl {
  5502. position: absolute;
  5503. right: 6%;
  5504. top: 38%;
  5505. animation: btnRun 1s, movetop2 4s 1s infinite;
  5506. }
  5507. .btn-gs {
  5508. position: absolute;
  5509. right: 16%;
  5510. top: 59%;
  5511. animation: btnRun 1s, movetop2 2s 1s infinite;
  5512. }
  5513. //雷达
  5514. .radar {
  5515. display: flex;
  5516. position: absolute;
  5517. left: 50%;
  5518. top: 40%;
  5519. transform: translate(-50%, -40%);
  5520. justify-content: center;
  5521. align-items: center;
  5522. width: 726px;
  5523. height: 726px;
  5524. animation: radarOP 1s ease-in;
  5525. }
  5526. .rotating-bg {
  5527. position: relative;
  5528. z-index: 100;
  5529. animation: rotatebg 2s infinite linear;
  5530. }
  5531. .rotating-image {
  5532. position: relative;
  5533. animation: rotate 5s infinite linear;
  5534. z-index: 150;
  5535. }
  5536. /*底部背景*/
  5537. .button-list-bg {
  5538. width: 100%;
  5539. height: 71px;
  5540. background: url(../../assets/index_img/button-list.png) no-repeat center;
  5541. position: absolute;
  5542. bottom: 0;
  5543. z-index: 2;
  5544. }
  5545. //底部按钮5个
  5546. .life-btm-btn {
  5547. position: absolute;
  5548. bottom: 0;
  5549. width: 100%;
  5550. display: flex;
  5551. justify-content: center;
  5552. align-items: center;
  5553. z-index: 100;
  5554. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  5555. .btn-span:nth-child(1) {
  5556. animation: btnmove 1s;
  5557. }
  5558. .btn-span:nth-child(2) {
  5559. animation: btnmove 1.2s;
  5560. }
  5561. .btn-span:nth-child(3) {
  5562. animation: btnmove 1.4s;
  5563. }
  5564. .btn-span:nth-child(4) {
  5565. animation: btnmove 1.6s;
  5566. }
  5567. .btn-span:nth-child(5) {
  5568. animation: btnmove 1.8s;
  5569. }
  5570. .btn-span:nth-child(6) {
  5571. animation: btnmove 2s;
  5572. }
  5573. .btn-span:nth-child(7) {
  5574. animation: btnmove 2.2s;
  5575. }
  5576. .btn-span7{
  5577. width: 120px !important;
  5578. background-size: contain !important;
  5579. height: 40px !important;
  5580. }
  5581. .btn-span {
  5582. width: 166px;
  5583. height: 50px;
  5584. background: url('../../assets/index_img/btm-btn.png') no-repeat center;
  5585. text-align: center;
  5586. display: flex;
  5587. justify-content: center;
  5588. align-items: center;
  5589. margin: 10px 5px;
  5590. transition: all 0.3s ease-in-out;
  5591. cursor: pointer;
  5592. span {
  5593. font-size: 20px;
  5594. color: #EFF2FF;
  5595. font-family: ysbth;
  5596. line-height: 40px;
  5597. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  5598. -webkit-background-clip: text;
  5599. -webkit-text-fill-color: transparent;
  5600. }
  5601. }
  5602. .btn-span:hover {
  5603. filter: brightness(170%) hue-rotate(-20deg);
  5604. transform: translateY(-10px);
  5605. }
  5606. .btn-span.on {
  5607. filter: brightness(170%) hue-rotate(-20deg);
  5608. box-shadow: none;
  5609. }
  5610. }
  5611. .btm-btn2 {
  5612. position: absolute;
  5613. bottom: 80px;
  5614. width: 100%;
  5615. display: flex;
  5616. justify-content: center;
  5617. align-items: center;
  5618. cursor: pointer;
  5619. animation: btmmove2 1s ease-out;
  5620. .btn-span2 {
  5621. margin: 0 10px;
  5622. display: flex;
  5623. flex-direction: column;
  5624. align-items: center;
  5625. transition: all 0.3s;
  5626. img {
  5627. width: 150px;
  5628. height: 100px;
  5629. }
  5630. span {
  5631. font-size: 20px;
  5632. color: #EFF2FF;
  5633. font-family: ysbth;
  5634. line-height: 40px;
  5635. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  5636. -webkit-background-clip: text;
  5637. -webkit-text-fill-color: transparent;
  5638. margin-top: -10px;
  5639. display: block;
  5640. text-align: center;
  5641. }
  5642. }
  5643. .btn-span2:hover {
  5644. filter: brightness(170%) hue-rotate(-20deg);
  5645. transform: translateY(-10px);
  5646. }
  5647. }
  5648. }
  5649. .con_tit {
  5650. font-size: 18px;
  5651. font-family: 'ysbth';
  5652. color: #fff;
  5653. padding-left: 30px;
  5654. background: url("../../assets/images/sixZ/sixztit.png") no-repeat left;
  5655. background-size: 100% 100%;
  5656. height: 35px;
  5657. line-height: 35px;
  5658. margin-bottom: 15px;
  5659. }
  5660. .map_tab {
  5661. display: flex;
  5662. flex-direction: row;
  5663. justify-content: space-around;
  5664. margin-bottom: 25px !important;
  5665. border-bottom: 2px solid rgba(13, 107, 179, 0.53);
  5666. span {
  5667. display: block;
  5668. /*background: rgba(13, 107, 179, 0.53);*/
  5669. padding: 8px 20px;
  5670. color: #fff;
  5671. font-size: 16px;
  5672. text-shadow: 0px 0px 4px #0bf3f7;
  5673. cursor: pointer;
  5674. }
  5675. .on {
  5676. color: #0bf3f7;
  5677. background: none !important;
  5678. box-shadow: none;
  5679. font-weight: bold;
  5680. position: relative;
  5681. }
  5682. .on::after {
  5683. content: '';
  5684. display: block;
  5685. position: absolute;
  5686. bottom: -10px;
  5687. /* 下三角位于链接的底部 */
  5688. left: 50%;
  5689. /* 水平居中 */
  5690. width: 0;
  5691. height: 0;
  5692. border-left: 9px solid transparent;
  5693. /* 左边透明 */
  5694. border-right: 9px solid transparent;
  5695. /* 右边透明 */
  5696. border-top: 10px solid rgba(13, 107, 179, 0.53);
  5697. /* 上边是三角形颜色 */
  5698. transform: translateX(-50%);
  5699. /* 确保三角形中心对齐链接的中心 */
  5700. }
  5701. }
  5702. /*小导航*/
  5703. .small-nav {
  5704. display: flex;
  5705. position: fixed;
  5706. left: 50%;
  5707. top: 76px;
  5708. transform: translateX(-50%);
  5709. z-index: 999;
  5710. li {
  5711. background: url(../../assets/images/gangwei/navbj.png)no-repeat;
  5712. width: 105px;
  5713. height: 42px;
  5714. text-align: center;
  5715. line-height: 42px;
  5716. transition: all 0.3s ease-in-out;
  5717. cursor: pointer;
  5718. a {
  5719. font-size: 16px;
  5720. color: #EFF2FF;
  5721. line-height: 32px;
  5722. text-shadow: 0px 2px 8px rgba(5, 28, 55, 0.42);
  5723. }
  5724. }
  5725. li:hover,
  5726. .active {
  5727. filter: brightness(170%) hue-rotate(-40deg);
  5728. }
  5729. li:nth-child(1) {
  5730. animation: btnmove 1s;
  5731. }
  5732. li:nth-child(2) {
  5733. animation: btnmove 1.2s;
  5734. }
  5735. li:nth-child(3) {
  5736. animation: btnmove 1.4s;
  5737. }
  5738. li:nth-child(4) {
  5739. animation: btnmove 1.6s;
  5740. }
  5741. li:nth-child(5) {
  5742. animation: btnmove 1.8s;
  5743. }
  5744. li:nth-child(6) {
  5745. animation: btnmove 2s;
  5746. }
  5747. li:nth-child(7) {
  5748. animation: btnmove 2.2s;
  5749. }
  5750. }
  5751. .mar-top45{
  5752. margin-top: 45px!important;
  5753. }
  5754. .zy-icon1 {
  5755. bottom: 215px !important;
  5756. }
  5757. .zy-icon2 {
  5758. bottom: 65px !important;
  5759. }
  5760. .zy-icon3 {
  5761. bottom: 140px !important;
  5762. }
  5763. </style>