FengxianQd.vue 106 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646
  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">
  29. <el-select v-model="value" placeholder="请选择" class="sj-select" popper-class="sj-s-pop">
  30. <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
  31. </el-option>
  32. </el-select>
  33. <el-select v-model="value2" placeholder="请选择" class="sj-select" popper-class="sj-s-pop">
  34. <el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value">
  35. </el-option>
  36. </el-select>
  37. <el-select v-model="value3" placeholder="请选择" class="sj-select" popper-class="sj-s-pop">
  38. <el-option v-for="item in options3" :key="item.value" :label="item.label" :value="item.value">
  39. </el-option>
  40. </el-select>
  41. <el-button class="sj-btn-icon-h">查询</el-button>
  42. <div slot="reference" class="zy-icon">
  43. <img src="../../assets/index_img/zy-icon.png" alt="" />
  44. 资源
  45. </div>
  46. </el-popover> -->
  47. <!--底部按钮区域背景-->
  48. <div class="footerbj">
  49. </div>
  50. <!--左侧资产盘点 ps:资产盘点单元格内是竖向的流式布局,数据要竖向循环-->
  51. <div class="left-content contfl">
  52. <div class="title-bar" @click="riskListlayer = true">
  53. <span style="cursor: pointer;" @click="dialogVisibleXq = true">风险清单</span>
  54. </div>
  55. <div class="content-box h-736" style="overflow: hidden scroll;">
  56. <el-collapse v-model="activeName" accordion class="accordion">
  57. <el-collapse-item :title="risk.hiddenDangerType" :name="index" v-for="(risk,index) in riskList">
  58. <ul class="fengxian-list">
  59. <li class="active" v-for="build in risk.buildingList">
  60. <h2>{{build.address}}</h2>
  61. <span>{{risk.remark}}</span>
  62. </li>
  63. </ul>
  64. </el-collapse-item>
  65. </el-collapse>
  66. </div>
  67. </div>
  68. <div class="middle-content">
  69. <div class="contfl">
  70. <div class="title-bar">
  71. <span>管道破损分析</span>
  72. <!-- <div>-->
  73. <!-- <em>环比</em>-->
  74. <!-- <img src="../../assets/images/gangwei/up.png">-->
  75. <!-- <em class="up">2.5%</em>-->
  76. <!-- </div>-->
  77. </div>
  78. <div class="content-box h-220">
  79. <div class="tubiao" id="x-chart12"></div>
  80. </div>
  81. </div>
  82. <div class="contfl">
  83. <div class="title-bar">
  84. <span>市政管网智能化监测分析</span>
  85. <!-- <div>-->
  86. <!-- <em>环比</em>-->
  87. <!-- <img src="../../assets/images/gangwei/don.png">-->
  88. <!-- <em class="don">2.5%</em>-->
  89. <!-- </div>-->
  90. </div>
  91. <div class="content-box h-220">
  92. <div class="tubiao" id="x-chart13"></div>
  93. </div>
  94. </div>
  95. <div class="contfl">
  96. <div class="title-bar">
  97. <span>居民用水分析</span>
  98. <div class="time_tab">
  99. <h4 :class="isUserWater == 1?'active':''" @click="jmysChart(1)">周</h4>
  100. <h4 :class="isUserWater == 2?'active':''" @click="jmysChart(2)">月</h4>
  101. <h4 :class="isUserWater == 3?'active':''" @click="jmysChart(3)">季度</h4>
  102. <h4 :class="isUserWater == 4?'active':''" @click="jmysChart(4)">年</h4>
  103. </div>
  104. </div>
  105. <div class="content-box h-220">
  106. <div class="tubiao" id="x-chart1"></div>
  107. </div>
  108. </div>
  109. <div class="contfl">
  110. <div class="title-bar">
  111. <span>燃气查改分析</span>
  112. <!-- <div>-->
  113. <!-- <em>环比</em>-->
  114. <!-- <img src="../../assets/images/gangwei/up.png">-->
  115. <!-- <em class="up">2.5%</em>-->
  116. <!-- </div>-->
  117. </div>
  118. <div class="content-box h-220">
  119. <div class="tubiao" id="x-chart7"></div>
  120. </div>
  121. </div>
  122. <div class="contfl" style="width: 100% !important;">
  123. <div class="title-bar">
  124. <span>普查覆盖率</span>
  125. </div>
  126. <div class="content-box h-220 pcfg">
  127. <div class="pcChart">
  128. <div id="x-chart3"></div>
  129. <span>排水管网普查</span>
  130. </div>
  131. <div class="pcChart">
  132. <div id="x-chart4"></div>
  133. <span>供热管网普查</span>
  134. </div>
  135. <div class="pcChart">
  136. <div id="x-chart5"></div>
  137. <span>城市生活污水集中收集率</span>
  138. </div>
  139. <div class="pcChart">
  140. <div id="x-chart6"></div>
  141. <span>应急供水保障率</span>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <!--预警列表-->
  147. <div class="right-content contfl">
  148. <div class="title-bar">
  149. <span>燃气安全隐患住宅分析</span>
  150. </div>
  151. <div class="content-box h-470">
  152. <div class="yhlist-title">
  153. <span>街道社区名称</span>
  154. <span>住宅数量</span>
  155. </div>
  156. <div class="yhlist-cont">
  157. <div class="yhlist-cont-in" v-for="item in streetCommList">
  158. <span>{{item.streetName}}-{{item.communityName}}</span>
  159. <span>{{item.houseCount}}</span>
  160. </div>
  161. </div>
  162. </div>
  163. <div class="title-bar">
  164. <span>危旧桥梁满意度调查</span>
  165. <!-- <div>-->
  166. <!-- <em>环比</em>-->
  167. <!-- <img src="../../assets/images/gangwei/up.png">-->
  168. <!-- <em class="up">2.5%</em>-->
  169. <!-- </div>-->
  170. </div>
  171. <div class="content-box h-220 myddc">
  172. <div class="mydtubiao" id="x-chart2"></div>
  173. <dl>
  174. <dd v-for="item in qlmydList">
  175. <span>{{item.name}}</span>
  176. <span>{{item.value}}</span>
  177. </dd>
  178. </dl>
  179. </div>
  180. </div>
  181. <!-- 地图 -->
  182. <!-- <supermap ref="supermap" style="width: 100%;height: 100vh;">-->
  183. <!-- </supermap>-->
  184. <!-- 底部按钮 -->
  185. <div class="life-btm-btn-a">
  186. <div class="btn-span btn-span7 on">
  187. <span>全部</span>
  188. </div>
  189. <div class="btn-span btn-span7 ">
  190. <span>燃气</span>
  191. </div>
  192. <div class="btn-span btn-span7">
  193. <span>热力</span>
  194. </div>
  195. <div class="btn-span btn-span7">
  196. <span>供水</span>
  197. </div>
  198. <div class="btn-span btn-span7">
  199. <span>排水</span>
  200. </div>
  201. <div class="btn-span btn-span7">
  202. <span>管廊</span>
  203. </div>
  204. <div class="btn-span btn-span7">
  205. <span>桥梁</span>
  206. </div>
  207. </div>
  208. </div>
  209. <!-- 列表弹层 -->
  210. <el-dialog title="风险列表" :visible.sync="riskListlayer" width="52%" class="sj-dialog-newstyle riskList ">
  211. <!--<div class="title-bar">-->
  212. <!--<span>风险列表</span>-->
  213. <!--</div>-->
  214. <div class="box-row" style="width: 100%;">
  215. <div class="sjxq_list">
  216. <el-table :data="tableData" height="615" style="width: 100%">
  217. <el-table-column prop="tit" label="任务名称">
  218. </el-table-column>
  219. <el-table-column prop="name" label="巡查人员">
  220. </el-table-column>
  221. <el-table-column prop="num" label="巡查公里数">
  222. </el-table-column>
  223. <el-table-column prop="time" label="巡查时间">
  224. </el-table-column>
  225. </el-table>
  226. </div>
  227. </div>
  228. </el-dialog>
  229. <el-dialog title="事件详情" :visible.sync="dialogVisibleXq" width="90%" class="sj-dialog-newstyle">
  230. <div class="sj-jcxx">
  231. <div class="tit">
  232. 事件基本信息
  233. </div>
  234. <div class="sj-jcxx-con">
  235. <div class="con-20">
  236. <img src="../../assets/index_img/d-icon-tit-img.png">
  237. 事件名称:超级大街燃气泄漏
  238. </div>
  239. <div class="con-20">
  240. <img src="../../assets/index_img/d-icon-tit-img.png">
  241. 所属行业:燃气
  242. </div>
  243. <div class="con-20">
  244. <img src="../../assets/index_img/d-icon-tit-img.png">
  245. 事件等级:一级
  246. </div>
  247. <div class="con-20">
  248. <img src="../../assets/index_img/d-icon-tit-img.png">
  249. 事件状态:已处理
  250. </div>
  251. <div class="con-20">
  252. <img src="../../assets/index_img/d-icon-tit-img.png">
  253. 事件类型:???
  254. </div>
  255. <div class="con-20">
  256. <img src="../../assets/index_img/d-icon-tit-img.png">
  257. 事件时间:2025/02/06 13:45:11
  258. </div>
  259. <div class="con-20">
  260. <img src="../../assets/index_img/d-icon-tit-img.png">
  261. 报警来源:压力传感器0025332
  262. </div>
  263. <div class="con-20 con-50">
  264. <img src="../../assets/index_img/d-icon-tit-img.png">
  265. 报警原因:燃气泄漏
  266. </div>
  267. </div>
  268. </div>
  269. <div class="sj-jcxx">
  270. <div class="tit">
  271. 事件处理流程
  272. </div>
  273. <div class="sj-jcxx-con" style="height: 85px; margin-top: 20px;">
  274. <div class="z-line"></div>
  275. <div class="triangle"></div>
  276. <div class="z-lc m60">
  277. <img src="../../assets/index_img/jslc-icon.png" />
  278. 事件发起
  279. <div class="z-lc-time">
  280. 2025/02/06 11:45:11
  281. </div>
  282. <el-tooltip class="item" v-if="true" placement="top" popper-class="sj-tooltip">
  283. <div slot="content" class="info-list">
  284. <span>处理意见:案例手动封口机案例谁都快放假</span>
  285. <span>处理意见:案例手动封口机案例谁都快案例手动封口放假</span>
  286. <span>处理意见:案例手动封口机案例手动封口机案例谁都快放假快放假</span>
  287. <span>处理意见:案例手动封口机案例谁都快放假案例手动封口机案例谁都快放假</span>
  288. </div>
  289. <div class="z-clyj">
  290. <img src="../../assets/index_img/clyj-icon.png" />
  291. </div>
  292. </el-tooltip>
  293. </div>
  294. <div class="z-lc">
  295. <img src="../../assets/index_img/jslc-icon.png" />
  296. 事件签收
  297. </div>
  298. <div class="z-lc">
  299. <img src="../../assets/index_img/jslc-icon.png" />
  300. 事件处理
  301. </div>
  302. <div class="z-lc">
  303. <img src="../../assets/index_img/jslc-icon.png" />
  304. 事件办结
  305. </div>
  306. </div>
  307. </div>
  308. <div class="sj-jcxx" style="width:40%">
  309. <div class="tit">
  310. 现场画面
  311. </div>
  312. <div class="sj-jcxx-con" style="width: 100%; height: 435px; margin-top: 20px;">
  313. <img src="../../assets/index_img/temp-sp.png" width="100%" height="435px" />
  314. </div>
  315. </div>
  316. <div class="sj-jcxx" style="width:59%">
  317. <div class="tit">
  318. 监测数值
  319. </div>
  320. <div class="sj-jcxx-con"
  321. style="margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start;">
  322. <div class="con-20 con-100">
  323. <img src="../../assets/index_img/d-icon-tit-img.png">
  324. 报警设备:压力传感器0025332
  325. </div>
  326. <div class="con-20 con-100">
  327. <img src="../../assets/index_img/d-icon-tit-img.png">
  328. 报警原因:<span class="or">压力值异常</span>
  329. </div>
  330. <div class="con-20 con-100">
  331. <img src="../../assets/index_img/d-icon-tit-img.png">
  332. 异常数值:<span class="or">压力12</span>
  333. </div>
  334. <div class="con-20 con-100">
  335. <img src="../../assets/index_img/d-icon-tit-img.png">
  336. 事件预警影响:208户
  337. </div>
  338. <div class="con-20 con-100">
  339. <img src="../../assets/index_img/d-icon-tit-img.png">
  340. 应急预案匹配:<span class="bl">附件1应急预案</span>
  341. </div>
  342. <div class="con-20 con-100">
  343. <img src="../../assets/index_img/d-icon-tit-img.png">
  344. 当前处理人员:张三
  345. </div>
  346. <div class="con-20 con-100">
  347. <img src="../../assets/index_img/d-icon-tit-img.png">
  348. 处理人员电话:188277639002
  349. </div>
  350. </div>
  351. </div>
  352. </el-dialog>
  353. </div>
  354. </template>
  355. <script>
  356. import Cookies from 'js-cookie'
  357. import supermap from '@/components/supermap-2.5d' //超图
  358. import weatherHeader from '@/components/weatherHeader';
  359. import {
  360. getUserProfile
  361. } from "@/api/system/user";
  362. import {
  363. getBridgeSatisfactionLatest,
  364. getCoverageRateLatest,
  365. getGasReformLatest,
  366. getPipeDamageAnalysisCharts, getPipeMonitorCharts, getResidentWaterAnalysisCharts,
  367. getStreetCommHouseCount
  368. } from "@/api/FengxianQd";
  369. import '../../assets/styles/hz_body.css';
  370. import {
  371. selectConfigKey
  372. } from "@/api/system/config";
  373. import * as echarts from 'echarts';
  374. import {selectRiskRegisterlist} from "@/api/tableInfo";
  375. export default {
  376. components: {
  377. supermap,
  378. weatherHeader
  379. },
  380. metaInfo() {
  381. return {
  382. title: '四平市城市生命线',
  383. meta: [{
  384. charset: "utf-8"
  385. },
  386. {
  387. name: "viewport",
  388. content: "width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
  389. }
  390. ],
  391. }
  392. },
  393. created() {
  394. },
  395. mounted() {
  396. this.time();
  397. this.selectRiskRegisterlist();
  398. this.getStreetCommHouseCount();
  399. setTimeout(() => {
  400. this.title = '四平市城市生命线'
  401. this.jmysChart(this.isUserWater);
  402. this.gdpsChart()
  403. this.szgwChart()
  404. this.wjqlmydChart();
  405. this.getCoverageRateLatest();
  406. this.rqcgChart();
  407. }, 1000)
  408. this.sblx_chart();
  409. this.fxChart();
  410. },
  411. data() {
  412. return {
  413. riskList:[],
  414. streetCommList:[],
  415. isUserWater:1,
  416. qlmydList:[],
  417. riskListlayer:false,
  418. dialogVisibleXq:false,
  419. activeName: '1',
  420. currentTab: 0,
  421. currentClass: 0,
  422. }
  423. },
  424. methods: {
  425. goToHomePage() {
  426. window.location.href = '/homePage';
  427. },
  428. time() {
  429. let dt = new Date();
  430. let y = dt.getFullYear();
  431. let mt = dt.getMonth() + 1;
  432. mt = mt >= 10 ? mt : '0' + mt
  433. let day = dt.getDate() >= 10 ? dt.getDate() : '0' + dt.getDate();
  434. let h = dt.getHours() >= 10 ? dt.getHours() : '0' + dt.getHours();
  435. let m = dt.getMinutes() >= 10 ? dt.getMinutes() : '0' + dt.getMinutes();
  436. let s = dt.getSeconds() >= 10 ? dt.getSeconds() : '0' + dt.getSeconds();
  437. // document.getElementById("day").innerHTML = y + "年" + mt + "月" + day + "日";//2022年1月17日
  438. document.getElementById("day").innerHTML = y + "." + mt + "." + day + ""; //2022年1月17日
  439. document.getElementById("time").innerHTML = h + ":" + m + ":" + s; //16:28:03
  440. setTimeout(() => {
  441. this.time()
  442. }, 1000);
  443. },
  444. selectRiskRegisterlist(){
  445. selectRiskRegisterlist().then(res => {
  446. this.riskList = res.rows;
  447. })
  448. },
  449. getStreetCommHouseCount(){
  450. getStreetCommHouseCount().then(res => {
  451. this.streetCommList = res.rows;
  452. })
  453. },
  454. //事件统计chart
  455. sjChart() {
  456. var myChart = echarts.init(document.getElementById("sjChart"));
  457. var scaleData = [{
  458. name: "处理中",
  459. value: 500,
  460. },
  461. {
  462. name: "待处理",
  463. value: 600,
  464. },
  465. {
  466. name: "已完成",
  467. value: 650,
  468. },
  469. ];
  470. var rich = {
  471. white: {
  472. color: "#ddd",
  473. align: "center",
  474. padding: [5, 0],
  475. },
  476. };
  477. var placeHolderStyle = {
  478. normal: {
  479. label: {
  480. show: false,
  481. },
  482. labelLine: {
  483. show: false,
  484. },
  485. color: "rgba(0, 0, 0, 0)",
  486. borderColor: "rgba(0, 0, 0, 0)",
  487. borderWidth: 0,
  488. },
  489. };
  490. var data = [];
  491. var color = [
  492. "#00cfff",
  493. "#006ced",
  494. "#7af0aa",
  495. ];
  496. for (var i = 0; i < scaleData.length; i++) {
  497. data.push({
  498. value: scaleData[i].value,
  499. name: scaleData[i].name,
  500. itemStyle: {
  501. normal: {
  502. borderWidth: 10,
  503. shadowBlur: 20,
  504. borderColor: color[i],
  505. shadowColor: color[i],
  506. },
  507. },
  508. }, {
  509. value: 2,
  510. name: "",
  511. itemStyle: placeHolderStyle,
  512. });
  513. }
  514. var seriesObj = [{
  515. name: "",
  516. type: "pie",
  517. clockWise: false,
  518. radius: [65, 70],
  519. hoverAnimation: false,
  520. itemStyle: {
  521. normal: {
  522. label: {
  523. show: true,
  524. position: "outside",
  525. color: "#ddd",
  526. formatter: function(params) {
  527. var percent = 0;
  528. var total = 0;
  529. for (var i = 0; i < scaleData.length; i++) {
  530. total += scaleData[i].value;
  531. }
  532. if (params.name !== "") {
  533. return params.name + "\n" + params.value;
  534. } else {
  535. return "";
  536. }
  537. },
  538. rich: rich,
  539. },
  540. labelLine: {
  541. length: 10,
  542. length2: 20,
  543. show: true,
  544. color: "#00ffff",
  545. },
  546. },
  547. },
  548. data: data,
  549. }, ];
  550. var option = {
  551. title: [{
  552. text: "事件总数",
  553. x: "center",
  554. top: "52%",
  555. textStyle: {
  556. color: "#FFFFFF",
  557. fontSize: 16,
  558. fontWeight: "100",
  559. },
  560. },
  561. {
  562. text: "1750",
  563. x: "center",
  564. top: "30%",
  565. textStyle: {
  566. fontSize: "40",
  567. color: "#FFFFFF",
  568. fontFamily: "DINAlternate-Bold, DINAlternate",
  569. foontWeight: "600",
  570. },
  571. },
  572. ],
  573. tooltip: {
  574. show: false,
  575. },
  576. legend: {
  577. show: false,
  578. },
  579. toolbox: {
  580. show: false,
  581. },
  582. series: seriesObj,
  583. };
  584. myChart.setOption(option);
  585. },
  586. // 居民用水统计分析
  587. jmysChart(type){
  588. this.isUserWater = type;
  589. getResidentWaterAnalysisCharts(this.isUserWater).then(res => {
  590. var myChart = echarts.init(document.getElementById("x-chart1"));
  591. let xAxisData = res.data.xdata;
  592. if(this.isUserWater == 2){
  593. for (const i in xAxisData) {
  594. xAxisData[i] = xAxisData[i].substring(xAxisData[i].length-2,xAxisData[i].length);
  595. }
  596. }
  597. var option = {
  598. tooltip: {
  599. trigger: "axis",
  600. axisPointer: {
  601. type: "shadow",
  602. },
  603. },
  604. grid: {
  605. top: "19%",
  606. right: "3%",
  607. left: "8%",
  608. bottom: "16%",
  609. },
  610. xAxis: [
  611. {
  612. type: "category",
  613. data: xAxisData,
  614. axisLine: {
  615. lineStyle: {
  616. color: "rgba(255,255,255,0.12)",
  617. },
  618. },
  619. axisLabel: {
  620. margin:20,
  621. color: "#e2e9ff",
  622. textStyle: {
  623. fontSize: 10,
  624. },
  625. },
  626. },
  627. ],
  628. yAxis: [
  629. {
  630. axisLabel: {
  631. formatter: "{value}",
  632. color: "#e2e9ff",
  633. },
  634. axisLine: {
  635. show: false,
  636. },
  637. splitLine: {
  638. lineStyle: {
  639. color: "rgba(255,255,255,0.12)",
  640. },
  641. },
  642. },
  643. ],
  644. series: [
  645. {
  646. type: "bar",
  647. data: res.data.ydata[0].value,
  648. barWidth: "10px",
  649. itemStyle: {
  650. normal: {
  651. color: new echarts.graphic.LinearGradient(
  652. 0,
  653. 0,
  654. 0,
  655. 1,
  656. [
  657. {
  658. offset: 0,
  659. color: "rgba(0,244,255,1)", // 0% 处的颜色
  660. },
  661. {
  662. offset: 1,
  663. color: "rgba(0,77,167,1)", // 100% 处的颜色
  664. },
  665. ],
  666. false
  667. ),
  668. barBorderRadius: [30, 30, 30, 30],
  669. shadowColor: "rgba(0,160,221,1)",
  670. shadowBlur: 4,
  671. },
  672. },
  673. label: {
  674. normal: {
  675. show: true,
  676. lineHeight:20,
  677. width: 60,
  678. height:20,
  679. backgroundColor: "rgba(0,160,221,0.1)",
  680. borderRadius: 200,
  681. position: ["-13", "-40"],
  682. distance: 1,
  683. formatter: [" {d|●}", " {a|{c}} \n", " {b|}"].join(","),
  684. rich: {
  685. d: {
  686. color: "#3CDDCF",
  687. },
  688. a: {
  689. color: "#fff",
  690. align: "center",
  691. },
  692. b: {
  693. width: 1,
  694. height:20,
  695. borderWidth: 1,
  696. borderColor: "#234e6c",
  697. align: "left",
  698. },
  699. },
  700. },
  701. },
  702. },
  703. ],
  704. };
  705. myChart.setOption(option)
  706. })
  707. },
  708. gdpsChart(){
  709. getPipeDamageAnalysisCharts().then(res => {
  710. let legendData = [];
  711. let xAxisData = res.data.xdata;
  712. let seriesData = [];
  713. for (const d of res.data.ydata) {
  714. legendData.push(d.name);
  715. seriesData.push({
  716. name:d.name,
  717. type:'bar',
  718. stack: '1',
  719. barWidth:16,
  720. data:d.value
  721. });
  722. }
  723. var myChart = echarts.init(document.getElementById("x-chart12"));
  724. var option = {
  725. tooltip : {
  726. trigger: 'axis',
  727. axisPointer : { // 坐标轴指示器,坐标轴触发有效
  728. type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  729. }
  730. },
  731. color:["#388BFF",'#05C3FA','#F6931C','#FFD52E'],
  732. legend: {
  733. data:legendData,
  734. right:'0%',
  735. textStyle: {
  736. color: '#ffffff' // 👈 设置图例文字颜色(例如白色)
  737. }
  738. },
  739. grid: {
  740. top: "15%",
  741. right: "1%",
  742. left: "1%",
  743. bottom: "20%",
  744. },
  745. xAxis : [
  746. {
  747. type : 'category',
  748. data : xAxisData,
  749. axisLine: {
  750. lineStyle: {
  751. color: "rgba(255,255,255,0.12)",
  752. },
  753. },
  754. axisLabel: {
  755. margin:20,
  756. color: "#e2e9ff",
  757. textStyle: {
  758. fontSize: 10,
  759. },
  760. },
  761. }
  762. ],
  763. yAxis : [
  764. {
  765. type : 'value',
  766. "show": false,
  767. "axisLabel": {
  768. "show": false,
  769. "textStyle": {
  770. "color": "#7d838b"
  771. }
  772. }
  773. },
  774. {
  775. "type": "value",
  776. "name": "环比",
  777. "show": false,
  778. "axisLabel": {
  779. "show": false,
  780. "textStyle": {
  781. "color": "#7d838b"
  782. }
  783. }
  784. }
  785. ],
  786. series : seriesData
  787. };
  788. myChart.setOption(option)
  789. })
  790. },
  791. szgwChart(){
  792. getPipeMonitorCharts().then(res => {
  793. let legendData = [];
  794. let xAxisData = res.data.xdata;
  795. let seriesData = [];
  796. for (const d of res.data.ydata) {
  797. legendData.push(d.name);
  798. seriesData.push({
  799. name:d.name,
  800. type:'bar',
  801. stack: '1',
  802. barWidth:16,
  803. data:d.value
  804. });
  805. }
  806. var myChart = echarts.init(document.getElementById("x-chart13"));
  807. var option = {
  808. tooltip : {
  809. trigger: 'axis',
  810. axisPointer : { // 坐标轴指示器,坐标轴触发有效
  811. type : 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  812. }
  813. },
  814. color:["#388BFF",'#05C3FA','#F6931C','#FFD52E'],
  815. legend: {
  816. data:legendData,
  817. right:'0%',
  818. textStyle: {
  819. color: '#ffffff' // 👈 设置图例文字颜色(例如白色)
  820. }
  821. },
  822. grid: {
  823. top: "15%",
  824. right: "1%",
  825. left: "1%",
  826. bottom: "20%",
  827. },
  828. xAxis : [
  829. {
  830. type : 'category',
  831. data : xAxisData,
  832. axisLine: {
  833. lineStyle: {
  834. color: "rgba(255,255,255,0.12)",
  835. },
  836. },
  837. axisLabel: {
  838. margin:20,
  839. color: "#e2e9ff",
  840. textStyle: {
  841. fontSize: 10,
  842. },
  843. },
  844. }
  845. ],
  846. yAxis : [
  847. {
  848. type : 'value',
  849. "show": false,
  850. "axisLabel": {
  851. "show": false,
  852. "textStyle": {
  853. "color": "#7d838b"
  854. }
  855. }
  856. },
  857. {
  858. "type": "value",
  859. "name": "环比",
  860. "show": false,
  861. "axisLabel": {
  862. "show": false,
  863. "textStyle": {
  864. "color": "#7d838b"
  865. }
  866. }
  867. }
  868. ],
  869. series : seriesData
  870. };
  871. myChart.setOption(option)
  872. })
  873. },
  874. // 危旧桥梁满意度调查
  875. wjqlmydChart(){
  876. getBridgeSatisfactionLatest().then(res => {
  877. for (const r of res.rows) {
  878. this.qlmydList.push({name:"满意数",value:r.satisfactionCount})
  879. this.qlmydList.push({name:"基本满意数",value:r.basicSatisfactionCount})
  880. this.qlmydList.push({name:"不满意数",value:r.dissatisfactionCount})
  881. }
  882. var myChart = echarts.init(document.getElementById("x-chart2"));
  883. var color = ["#FC4567", "#2F8DF4", "#C25EC4"];
  884. var option = {
  885. color: color,
  886. // backgroundColor: "#0A173B",
  887. title: {
  888. text: "",
  889. left: "center",
  890. top: "50%",
  891. textStyle: {
  892. fontSize: 10,
  893. color: "#fff",
  894. fontWeight: "normal",
  895. },
  896. },
  897. tooltip: {
  898. trigger: "item",
  899. },
  900. series: [
  901. {
  902. type: "pie",
  903. roseType: "radius",
  904. radius: ["18%", "48%"],
  905. data: this.qlmydList,
  906. label: {
  907. normal: {
  908. formatter: "{font|{b}}\n{hr|}\n{font|{d}%}",
  909. rich: {
  910. font: {
  911. fontSize: 10,
  912. padding: [5, 0],
  913. color: "#fff",
  914. },
  915. hr: {
  916. height: 0,
  917. borderWidth: 1,
  918. width: "100%",
  919. borderColor: "#fff",
  920. },
  921. },
  922. },
  923. },
  924. labelLine: {
  925. lineStyle: {
  926. color: "#fff",
  927. },
  928. },
  929. emphasis: {
  930. itemStyle: {
  931. shadowBlur: 10,
  932. shadowOffsetX: 0,
  933. shadowColor: "rgba(0,0,0,0.5)",
  934. },
  935. },
  936. },
  937. ],
  938. };
  939. myChart.setOption(option)
  940. })
  941. },
  942. getCoverageRateLatest(){
  943. getCoverageRateLatest().then(res => {
  944. this.pspcChart(res.rows[0].drainagePipelineSurveyRate);
  945. this.grpcChart(res.rows[0].heatingPipelineSurveyRate);
  946. this.csshwsChart(res.rows[0].urbanSewageCollectionRate);
  947. this.yjgsChart(res.rows[0].emergencyWaterSupplyRate);
  948. })
  949. },
  950. // 排水普查
  951. pspcChart(dataArr){
  952. var myChart = echarts.init(document.getElementById("x-chart3"));
  953. // 初始化数据
  954. const dataX = 100;
  955. const option = {
  956. // backgroundColor: "#061530",
  957. backgroundStyle: {
  958. borderWidth: 1,
  959. color: "transparent",
  960. },
  961. title: [
  962. {
  963. text: `${dataArr} %`,
  964. bottom: "0%",
  965. left: "center",
  966. textStyle: {
  967. fontSize: "16",
  968. color: "#ffff",
  969. fontWeight:400,
  970. },
  971. triggerEvent: true,
  972. },
  973. ],
  974. legend: {
  975. show: false,
  976. },
  977. series: [
  978. {
  979. name: "最外部进度条",
  980. type: "gauge",
  981. radius: "99%",
  982. splitNumber: 1,
  983. axisLine: {
  984. lineStyle: {
  985. color: [
  986. [
  987. dataArr / dataX,
  988. {
  989. type: "linear",
  990. x: 0,
  991. y: 1,
  992. x2: 0.5,
  993. y2: 0.5,
  994. colorStops: [
  995. {
  996. offset: 0,
  997. color: "rgba(0,0,0,0)", // 0% 处的颜色
  998. },
  999. {
  1000. offset: 0.8,
  1001. color: "#195b9d", // 100% 处的颜色
  1002. },
  1003. {
  1004. offset: 1,
  1005. color: "#0a2256", // 100% 处的颜色
  1006. },
  1007. ],
  1008. global: false, // 缺省为 false
  1009. },
  1010. ],
  1011. [1, "#083158"],
  1012. ],
  1013. width: 1,
  1014. },
  1015. },
  1016. axisLabel: {
  1017. show: false,
  1018. },
  1019. axisTick: {
  1020. show: false,
  1021. },
  1022. splitLine: {
  1023. show: false,
  1024. },
  1025. itemStyle: {
  1026. show: false,
  1027. },
  1028. detail: {
  1029. show: false,
  1030. },
  1031. title: {
  1032. // 标题
  1033. show: false,
  1034. },
  1035. data: [
  1036. {
  1037. name: "title",
  1038. value: dataArr,
  1039. },
  1040. ],
  1041. pointer: {
  1042. show: false,
  1043. },
  1044. animationDuration: 4000,
  1045. },
  1046. {
  1047. name: "刻度尺",
  1048. type: "gauge",
  1049. radius: "88%",
  1050. splitNumber: 10, // 刻度数量
  1051. min: 0, // 最小刻度
  1052. max: dataX, // 最大刻度
  1053. // 仪表盘轴线相关配置
  1054. axisLine: {
  1055. lineStyle: {
  1056. color: [
  1057. [
  1058. 1,
  1059. {
  1060. type: "radial",
  1061. x: 0.5,
  1062. y: 0.6,
  1063. r: 0.6,
  1064. colorStops: [
  1065. {
  1066. offset: 0.85,
  1067. color: "#031F46", // 0% 处的颜色
  1068. },
  1069. {
  1070. offset: 0.93,
  1071. color: "#060d25", // 100% 处的颜色
  1072. },
  1073. {
  1074. offset: 1,
  1075. color: "#12D7EF", // 100% 处的颜色
  1076. },
  1077. ],
  1078. },
  1079. ],
  1080. ],
  1081. width: 300,
  1082. },
  1083. },
  1084. // 分隔线
  1085. splitLine: {
  1086. show: true,
  1087. length:10,
  1088. lineStyle: {
  1089. width: 1,
  1090. color: "#12E5FE",
  1091. },
  1092. },
  1093. // 刻度线
  1094. axisTick: {
  1095. show: true,
  1096. splitNumber: 20,
  1097. length: 3,
  1098. lineStyle: {
  1099. color: "#12E5FE",
  1100. width: 1,
  1101. },
  1102. },
  1103. // 刻度标签
  1104. axisLabel: {
  1105. distance: 1,
  1106. color: "#CEF3FE",
  1107. fontSize: "10",
  1108. // fontWeight: 600,
  1109. },
  1110. detail: {
  1111. show: false,
  1112. },
  1113. },
  1114. {
  1115. name: "外部指针",
  1116. type: "gauge",
  1117. radius: "90%",
  1118. axisLine: {
  1119. lineStyle: {
  1120. color: [
  1121. [dataArr / dataX - 0.001, "rgba(0,0,0,0)"],
  1122. [dataArr / dataX + 0.003, "#e43c59"],
  1123. [1, "rgba(0,0,0,0)"],
  1124. ],
  1125. width: 20,
  1126. },
  1127. },
  1128. axisLabel: {
  1129. show: false,
  1130. },
  1131. axisTick: {
  1132. show: false,
  1133. },
  1134. splitLine: {
  1135. show: false,
  1136. },
  1137. itemStyle: {
  1138. show: false,
  1139. },
  1140. detail: {
  1141. show: false,
  1142. },
  1143. title: {
  1144. // 标题
  1145. show: false,
  1146. },
  1147. data: [
  1148. {
  1149. name: "title",
  1150. value: dataArr,
  1151. },
  1152. ],
  1153. pointer: {
  1154. show: false,
  1155. },
  1156. },
  1157. {
  1158. name: "内层带指针",
  1159. type: "gauge",
  1160. radius: "60%",
  1161. splitNumber: 10, // 刻度数量
  1162. min: 0, // 最小刻度
  1163. max: dataX, // 最大刻度
  1164. // 仪表盘轴线相关配置
  1165. axisLine: {
  1166. lineStyle: {
  1167. color: [
  1168. [
  1169. 1,
  1170. {
  1171. type: "radial",
  1172. x: 0.5,
  1173. y: 0.59,
  1174. r: 0.6,
  1175. colorStops: [
  1176. {
  1177. offset: 0.72,
  1178. color: "#032046",
  1179. },
  1180. {
  1181. offset: 0.94,
  1182. color: "#086989",
  1183. },
  1184. {
  1185. offset: 0.98,
  1186. color: "#0FAFCB",
  1187. },
  1188. {
  1189. offset: 1,
  1190. color: "#0EA4C1",
  1191. },
  1192. ],
  1193. },
  1194. ],
  1195. ],
  1196. width: 1000,
  1197. },
  1198. },
  1199. // 分隔线
  1200. splitLine: {
  1201. show: false,
  1202. },
  1203. // 刻度线
  1204. axisTick: {
  1205. show: false,
  1206. },
  1207. // 刻度标签
  1208. axisLabel: {
  1209. show: false,
  1210. },
  1211. // 仪表盘指针
  1212. pointer: {
  1213. show: true,
  1214. length: "95%",
  1215. width: 2, // 指针粗细
  1216. },
  1217. // 仪表盘指针样式
  1218. itemStyle: {
  1219. color: "#01eaf8",
  1220. },
  1221. data: [
  1222. {
  1223. value: dataArr,
  1224. },
  1225. ],
  1226. detail: {
  1227. show: false,
  1228. },
  1229. },
  1230. // 中间半圆装饰
  1231. {
  1232. type: "gauge",
  1233. radius: "110%", // 大小
  1234. center: ["50%", "127%"],
  1235. axisLine: {
  1236. show: true,
  1237. lineStyle: {
  1238. // 轴线样式
  1239. width: 1, // 宽度
  1240. color: [
  1241. [
  1242. 1,
  1243. {
  1244. type: "radial",
  1245. x: 0.5,
  1246. y: 0,
  1247. r: 0.6,
  1248. colorStops: [
  1249. {
  1250. offset: 0,
  1251. color: "#00f3f9", // 0% 处的颜色
  1252. },
  1253. {
  1254. offset: 1,
  1255. color: "#000", // 100% 处的颜色
  1256. },
  1257. ],
  1258. },
  1259. ],
  1260. ],
  1261. },
  1262. },
  1263. axisTick: {
  1264. // 刻度
  1265. show: false,
  1266. },
  1267. splitLine: {
  1268. // 分割线
  1269. show: false,
  1270. },
  1271. axisLabel: {
  1272. // 刻度标签
  1273. show: false,
  1274. },
  1275. pointer: {
  1276. // 仪表盘指针
  1277. show: false,
  1278. },
  1279. detail: {
  1280. // 仪表盘详情
  1281. show: false,
  1282. },
  1283. },
  1284. ],
  1285. };
  1286. myChart.setOption(option)
  1287. },
  1288. // 供热管网普查
  1289. grpcChart(dataArr){
  1290. var myChart = echarts.init(document.getElementById("x-chart4"));
  1291. // 初始化数据
  1292. const dataX = 100;
  1293. const option = {
  1294. // backgroundColor: "#061530",
  1295. backgroundStyle: {
  1296. borderWidth: 1,
  1297. color: "transparent",
  1298. },
  1299. title: [
  1300. {
  1301. text: `${dataArr} %`,
  1302. bottom: "0%",
  1303. left: "center",
  1304. textStyle: {
  1305. fontSize: "16",
  1306. color: "#ffff",
  1307. fontWeight:400,
  1308. },
  1309. triggerEvent: true,
  1310. },
  1311. ],
  1312. legend: {
  1313. show: false,
  1314. },
  1315. series: [
  1316. {
  1317. name: "最外部进度条",
  1318. type: "gauge",
  1319. radius: "99%",
  1320. splitNumber: 1,
  1321. axisLine: {
  1322. lineStyle: {
  1323. color: [
  1324. [
  1325. dataArr / dataX,
  1326. {
  1327. type: "linear",
  1328. x: 0,
  1329. y: 1,
  1330. x2: 0.5,
  1331. y2: 0.5,
  1332. colorStops: [
  1333. {
  1334. offset: 0,
  1335. color: "rgba(0,0,0,0)", // 0% 处的颜色
  1336. },
  1337. {
  1338. offset: 0.8,
  1339. color: "#0098bb", // 100% 处的颜色
  1340. },
  1341. {
  1342. offset: 1,
  1343. color: "#032a43", // 100% 处的颜色
  1344. },
  1345. ],
  1346. global: false, // 缺省为 false
  1347. },
  1348. ],
  1349. [1, "#083158"],
  1350. ],
  1351. width: 1,
  1352. },
  1353. },
  1354. axisLabel: {
  1355. show: false,
  1356. },
  1357. axisTick: {
  1358. show: false,
  1359. },
  1360. splitLine: {
  1361. show: false,
  1362. },
  1363. itemStyle: {
  1364. show: false,
  1365. },
  1366. detail: {
  1367. show: false,
  1368. },
  1369. title: {
  1370. // 标题
  1371. show: false,
  1372. },
  1373. data: [
  1374. {
  1375. name: "title",
  1376. value: dataArr,
  1377. },
  1378. ],
  1379. pointer: {
  1380. show: false,
  1381. },
  1382. animationDuration: 4000,
  1383. },
  1384. {
  1385. name: "刻度尺",
  1386. type: "gauge",
  1387. radius: "88%",
  1388. splitNumber: 10, // 刻度数量
  1389. min: 0, // 最小刻度
  1390. max: dataX, // 最大刻度
  1391. // 仪表盘轴线相关配置
  1392. axisLine: {
  1393. lineStyle: {
  1394. color: [
  1395. [
  1396. 1,
  1397. {
  1398. type: "radial",
  1399. x: 0.5,
  1400. y: 0.6,
  1401. r: 0.6,
  1402. colorStops: [
  1403. {
  1404. offset: 0.85,
  1405. color: "#003649", // 0% 处的颜色
  1406. },
  1407. {
  1408. offset: 0.93,
  1409. color: "#006662", // 100% 处的颜色
  1410. },
  1411. {
  1412. offset: 1,
  1413. color: "#00ffca", // 100% 处的颜色
  1414. },
  1415. ],
  1416. },
  1417. ],
  1418. ],
  1419. width: 300,
  1420. },
  1421. },
  1422. // 分隔线
  1423. splitLine: {
  1424. show: true,
  1425. length:10,
  1426. lineStyle: {
  1427. width: 1,
  1428. color: "#12E5FE",
  1429. },
  1430. },
  1431. // 刻度线
  1432. axisTick: {
  1433. show: true,
  1434. splitNumber: 20,
  1435. length: 3,
  1436. lineStyle: {
  1437. color: "#12E5FE",
  1438. width: 1,
  1439. },
  1440. },
  1441. // 刻度标签
  1442. axisLabel: {
  1443. distance: 1,
  1444. color: "#CEF3FE",
  1445. fontSize: "10",
  1446. // fontWeight: 600,
  1447. },
  1448. detail: {
  1449. show: false,
  1450. },
  1451. },
  1452. {
  1453. name: "外部指针",
  1454. type: "gauge",
  1455. radius: "90%",
  1456. axisLine: {
  1457. lineStyle: {
  1458. color: [
  1459. [dataArr / dataX - 0.001, "rgba(0,0,0,0)"],
  1460. [dataArr / dataX + 0.003, "#e43c59"],
  1461. [1, "rgba(0,0,0,0)"],
  1462. ],
  1463. width: 20,
  1464. },
  1465. },
  1466. axisLabel: {
  1467. show: false,
  1468. },
  1469. axisTick: {
  1470. show: false,
  1471. },
  1472. splitLine: {
  1473. show: false,
  1474. },
  1475. itemStyle: {
  1476. show: false,
  1477. },
  1478. detail: {
  1479. show: false,
  1480. },
  1481. title: {
  1482. // 标题
  1483. show: false,
  1484. },
  1485. data: [
  1486. {
  1487. name: "title",
  1488. value: dataArr,
  1489. },
  1490. ],
  1491. pointer: {
  1492. show: false,
  1493. },
  1494. },
  1495. {
  1496. name: "内层带指针",
  1497. type: "gauge",
  1498. radius: "60%",
  1499. splitNumber: 10, // 刻度数量
  1500. min: 0, // 最小刻度
  1501. max: dataX, // 最大刻度
  1502. // 仪表盘轴线相关配置
  1503. axisLine: {
  1504. lineStyle: {
  1505. color: [
  1506. [
  1507. 1,
  1508. {
  1509. type: "radial",
  1510. x: 0.5,
  1511. y: 0.59,
  1512. r: 0.6,
  1513. colorStops: [
  1514. {
  1515. offset: 0.72,
  1516. color: "#003649",
  1517. },
  1518. {
  1519. offset: 0.94,
  1520. color: "#00505c",
  1521. },
  1522. {
  1523. offset: 0.98,
  1524. color: "#008880",
  1525. },
  1526. {
  1527. offset: 1,
  1528. color: "#00cfae",
  1529. },
  1530. ],
  1531. },
  1532. ],
  1533. ],
  1534. width: 1000,
  1535. },
  1536. },
  1537. // 分隔线
  1538. splitLine: {
  1539. show: false,
  1540. },
  1541. // 刻度线
  1542. axisTick: {
  1543. show: false,
  1544. },
  1545. // 刻度标签
  1546. axisLabel: {
  1547. show: false,
  1548. },
  1549. // 仪表盘指针
  1550. pointer: {
  1551. show: true,
  1552. length: "95%",
  1553. width: 2, // 指针粗细
  1554. },
  1555. // 仪表盘指针样式
  1556. itemStyle: {
  1557. color: "#00e6b8",
  1558. },
  1559. data: [
  1560. {
  1561. value: dataArr,
  1562. },
  1563. ],
  1564. detail: {
  1565. show: false,
  1566. },
  1567. },
  1568. // 中间半圆装饰
  1569. {
  1570. type: "gauge",
  1571. radius: "110%", // 大小
  1572. center: ["50%", "127%"],
  1573. axisLine: {
  1574. show: true,
  1575. lineStyle: {
  1576. // 轴线样式
  1577. width: 1, // 宽度
  1578. color: [
  1579. [
  1580. 1,
  1581. {
  1582. type: "radial",
  1583. x: 0.5,
  1584. y: 0,
  1585. r: 0.6,
  1586. colorStops: [
  1587. {
  1588. offset: 0,
  1589. color: "#00c6a8", // 0% 处的颜色
  1590. },
  1591. {
  1592. offset: 1,
  1593. color: "#000", // 100% 处的颜色
  1594. },
  1595. ],
  1596. },
  1597. ],
  1598. ],
  1599. },
  1600. },
  1601. axisTick: {
  1602. // 刻度
  1603. show: false,
  1604. },
  1605. splitLine: {
  1606. // 分割线
  1607. show: false,
  1608. },
  1609. axisLabel: {
  1610. // 刻度标签
  1611. show: false,
  1612. },
  1613. pointer: {
  1614. // 仪表盘指针
  1615. show: false,
  1616. },
  1617. detail: {
  1618. // 仪表盘详情
  1619. show: false,
  1620. },
  1621. },
  1622. ],
  1623. };
  1624. myChart.setOption(option)
  1625. },
  1626. // 城市生活污水集中收集率
  1627. csshwsChart(dataArr){
  1628. var myChart = echarts.init(document.getElementById("x-chart5"));
  1629. // 初始化数据
  1630. const dataX = 100;
  1631. const option = {
  1632. // backgroundColor: "#061530",
  1633. backgroundStyle: {
  1634. borderWidth: 1,
  1635. color: "transparent",
  1636. },
  1637. title: [
  1638. {
  1639. text: `${dataArr} %`,
  1640. bottom: "0%",
  1641. left: "center",
  1642. textStyle: {
  1643. fontSize: "16",
  1644. color: "#ffff",
  1645. fontWeight:400,
  1646. },
  1647. triggerEvent: true,
  1648. },
  1649. ],
  1650. legend: {
  1651. show: false,
  1652. },
  1653. series: [
  1654. {
  1655. name: "最外部进度条",
  1656. type: "gauge",
  1657. radius: "99%",
  1658. splitNumber: 1,
  1659. axisLine: {
  1660. lineStyle: {
  1661. color: [
  1662. [
  1663. dataArr / dataX,
  1664. {
  1665. type: "linear",
  1666. x: 0,
  1667. y: 1,
  1668. x2: 0.5,
  1669. y2: 0.5,
  1670. colorStops: [
  1671. {
  1672. offset: 0,
  1673. color: "rgba(0,0,0,0)", // 0% 处的颜色
  1674. },
  1675. {
  1676. offset: 0.8,
  1677. color: "#0a67c8", // 100% 处的颜色
  1678. },
  1679. {
  1680. offset: 1,
  1681. color: "#0c307e", // 100% 处的颜色
  1682. },
  1683. ],
  1684. global: false, // 缺省为 false
  1685. },
  1686. ],
  1687. [1, "#083158"],
  1688. ],
  1689. width: 1,
  1690. },
  1691. },
  1692. axisLabel: {
  1693. show: false,
  1694. },
  1695. axisTick: {
  1696. show: false,
  1697. },
  1698. splitLine: {
  1699. show: false,
  1700. },
  1701. itemStyle: {
  1702. show: false,
  1703. },
  1704. detail: {
  1705. show: false,
  1706. },
  1707. title: {
  1708. // 标题
  1709. show: false,
  1710. },
  1711. data: [
  1712. {
  1713. name: "title",
  1714. value: dataArr,
  1715. },
  1716. ],
  1717. pointer: {
  1718. show: false,
  1719. },
  1720. animationDuration: 4000,
  1721. },
  1722. {
  1723. name: "刻度尺",
  1724. type: "gauge",
  1725. radius: "88%",
  1726. splitNumber: 10, // 刻度数量
  1727. min: 0, // 最小刻度
  1728. max: dataX, // 最大刻度
  1729. // 仪表盘轴线相关配置
  1730. axisLine: {
  1731. lineStyle: {
  1732. color: [
  1733. [
  1734. 1,
  1735. {
  1736. type: "radial",
  1737. x: 0.5,
  1738. y: 0.6,
  1739. r: 0.6,
  1740. colorStops: [
  1741. {
  1742. offset: 0.85,
  1743. color: "#09326b", // 0% 处的颜色
  1744. },
  1745. {
  1746. offset: 0.93,
  1747. color: "#086589", // 100% 处的颜色
  1748. },
  1749. {
  1750. offset: 1,
  1751. color: "#12e3ff", // 100% 处的颜色
  1752. },
  1753. ],
  1754. },
  1755. ],
  1756. ],
  1757. width: 300,
  1758. },
  1759. },
  1760. // 分隔线
  1761. splitLine: {
  1762. show: true,
  1763. length:10,
  1764. lineStyle: {
  1765. width: 1,
  1766. color: "#00cced",
  1767. },
  1768. },
  1769. // 刻度线
  1770. axisTick: {
  1771. show: true,
  1772. splitNumber: 20,
  1773. length: 3,
  1774. lineStyle: {
  1775. color: "#00cced",
  1776. width: 1,
  1777. },
  1778. },
  1779. // 刻度标签
  1780. axisLabel: {
  1781. distance: 1,
  1782. color: "#CEF3FE",
  1783. fontSize: "10",
  1784. // fontWeight: 600,
  1785. },
  1786. detail: {
  1787. show: false,
  1788. },
  1789. },
  1790. {
  1791. name: "外部指针",
  1792. type: "gauge",
  1793. radius: "90%",
  1794. axisLine: {
  1795. lineStyle: {
  1796. color: [
  1797. [dataArr / dataX - 0.001, "rgba(0,0,0,0)"],
  1798. [dataArr / dataX + 0.003, "#e43c59"],
  1799. [1, "rgba(0,0,0,0)"],
  1800. ],
  1801. width: 20,
  1802. },
  1803. },
  1804. axisLabel: {
  1805. show: false,
  1806. },
  1807. axisTick: {
  1808. show: false,
  1809. },
  1810. splitLine: {
  1811. show: false,
  1812. },
  1813. itemStyle: {
  1814. show: false,
  1815. },
  1816. detail: {
  1817. show: false,
  1818. },
  1819. title: {
  1820. // 标题
  1821. show: false,
  1822. },
  1823. data: [
  1824. {
  1825. name: "title",
  1826. value: dataArr,
  1827. },
  1828. ],
  1829. pointer: {
  1830. show: false,
  1831. },
  1832. },
  1833. {
  1834. name: "内层带指针",
  1835. type: "gauge",
  1836. radius: "60%",
  1837. splitNumber: 10, // 刻度数量
  1838. min: 0, // 最小刻度
  1839. max: dataX, // 最大刻度
  1840. // 仪表盘轴线相关配置
  1841. axisLine: {
  1842. lineStyle: {
  1843. color: [
  1844. [
  1845. 1,
  1846. {
  1847. type: "radial",
  1848. x: 0.5,
  1849. y: 0.59,
  1850. r: 0.6,
  1851. colorStops: [
  1852. {
  1853. offset: 0.72,
  1854. color: "#09336b",
  1855. },
  1856. {
  1857. offset: 0.94,
  1858. color: "#074078",
  1859. },
  1860. {
  1861. offset: 0.98,
  1862. color: "#0077a7",
  1863. },
  1864. {
  1865. offset: 1,
  1866. color: "#00bae2",
  1867. },
  1868. ],
  1869. },
  1870. ],
  1871. ],
  1872. width: 1000,
  1873. },
  1874. },
  1875. // 分隔线
  1876. splitLine: {
  1877. show: false,
  1878. },
  1879. // 刻度线
  1880. axisTick: {
  1881. show: false,
  1882. },
  1883. // 刻度标签
  1884. axisLabel: {
  1885. show: false,
  1886. },
  1887. // 仪表盘指针
  1888. pointer: {
  1889. show: true,
  1890. length: "95%",
  1891. width: 2, // 指针粗细
  1892. },
  1893. // 仪表盘指针样式
  1894. itemStyle: {
  1895. color: "#1af6ff",
  1896. },
  1897. data: [
  1898. {
  1899. value: dataArr,
  1900. },
  1901. ],
  1902. detail: {
  1903. show: false,
  1904. },
  1905. },
  1906. // 中间半圆装饰
  1907. {
  1908. type: "gauge",
  1909. radius: "110%", // 大小
  1910. center: ["50%", "127%"],
  1911. axisLine: {
  1912. show: true,
  1913. lineStyle: {
  1914. // 轴线样式
  1915. width: 1, // 宽度
  1916. color: [
  1917. [
  1918. 1,
  1919. {
  1920. type: "radial",
  1921. x: 0.5,
  1922. y: 0,
  1923. r: 0.6,
  1924. colorStops: [
  1925. {
  1926. offset: 0,
  1927. color: "#0296a0", // 0% 处的颜色
  1928. },
  1929. {
  1930. offset: 1,
  1931. color: "#000", // 100% 处的颜色
  1932. },
  1933. ],
  1934. },
  1935. ],
  1936. ],
  1937. },
  1938. },
  1939. axisTick: {
  1940. // 刻度
  1941. show: false,
  1942. },
  1943. splitLine: {
  1944. // 分割线
  1945. show: false,
  1946. },
  1947. axisLabel: {
  1948. // 刻度标签
  1949. show: false,
  1950. },
  1951. pointer: {
  1952. // 仪表盘指针
  1953. show: false,
  1954. },
  1955. detail: {
  1956. // 仪表盘详情
  1957. show: false,
  1958. },
  1959. },
  1960. ],
  1961. };
  1962. myChart.setOption(option)
  1963. },
  1964. // 应急供水保障率
  1965. yjgsChart(dataArr){
  1966. var myChart = echarts.init(document.getElementById("x-chart6"));
  1967. // 初始化数据
  1968. const dataX = 100;
  1969. const option = {
  1970. // backgroundColor: "#061530",
  1971. backgroundStyle: {
  1972. borderWidth: 1,
  1973. color: "transparent",
  1974. },
  1975. title: [
  1976. {
  1977. text: `${dataArr} %`,
  1978. bottom: "0%",
  1979. left: "center",
  1980. textStyle: {
  1981. fontSize: "16",
  1982. color: "#ffff",
  1983. fontWeight:400,
  1984. },
  1985. triggerEvent: true,
  1986. },
  1987. ],
  1988. legend: {
  1989. show: false,
  1990. },
  1991. series: [
  1992. {
  1993. name: "最外部进度条",
  1994. type: "gauge",
  1995. radius: "99%",
  1996. splitNumber: 1,
  1997. axisLine: {
  1998. lineStyle: {
  1999. color: [
  2000. [
  2001. dataArr / dataX,
  2002. {
  2003. type: "linear",
  2004. x: 0,
  2005. y: 1,
  2006. x2: 0.5,
  2007. y2: 0.5,
  2008. colorStops: [
  2009. {
  2010. offset: 0,
  2011. color: "rgba(0,0,0,0)", // 0% 处的颜色
  2012. },
  2013. {
  2014. offset: 0.8,
  2015. color: "#195b9d", // 100% 处的颜色
  2016. },
  2017. {
  2018. offset: 1,
  2019. color: "#0a2256", // 100% 处的颜色
  2020. },
  2021. ],
  2022. global: false, // 缺省为 false
  2023. },
  2024. ],
  2025. [1, "#083158"],
  2026. ],
  2027. width: 1,
  2028. },
  2029. },
  2030. axisLabel: {
  2031. show: false,
  2032. },
  2033. axisTick: {
  2034. show: false,
  2035. },
  2036. splitLine: {
  2037. show: false,
  2038. },
  2039. itemStyle: {
  2040. show: false,
  2041. },
  2042. detail: {
  2043. show: false,
  2044. },
  2045. title: {
  2046. // 标题
  2047. show: false,
  2048. },
  2049. data: [
  2050. {
  2051. name: "title",
  2052. value: dataArr,
  2053. },
  2054. ],
  2055. pointer: {
  2056. show: false,
  2057. },
  2058. animationDuration: 4000,
  2059. },
  2060. {
  2061. name: "刻度尺",
  2062. type: "gauge",
  2063. radius: "88%",
  2064. splitNumber: 10, // 刻度数量
  2065. min: 0, // 最小刻度
  2066. max: dataX, // 最大刻度
  2067. // 仪表盘轴线相关配置
  2068. axisLine: {
  2069. lineStyle: {
  2070. color: [
  2071. [
  2072. 1,
  2073. {
  2074. type: "radial",
  2075. x: 0.5,
  2076. y: 0.6,
  2077. r: 0.6,
  2078. colorStops: [
  2079. {
  2080. offset: 0.85,
  2081. color: "#031F46", // 0% 处的颜色
  2082. },
  2083. {
  2084. offset: 0.93,
  2085. color: "#060d25", // 100% 处的颜色
  2086. },
  2087. {
  2088. offset: 1,
  2089. color: "#12D7EF", // 100% 处的颜色
  2090. },
  2091. ],
  2092. },
  2093. ],
  2094. ],
  2095. width: 300,
  2096. },
  2097. },
  2098. // 分隔线
  2099. splitLine: {
  2100. show: true,
  2101. length:10,
  2102. lineStyle: {
  2103. width: 1,
  2104. color: "#12E5FE",
  2105. },
  2106. },
  2107. // 刻度线
  2108. axisTick: {
  2109. show: true,
  2110. splitNumber: 20,
  2111. length: 3,
  2112. lineStyle: {
  2113. color: "#12E5FE",
  2114. width: 1,
  2115. },
  2116. },
  2117. // 刻度标签
  2118. axisLabel: {
  2119. distance: 1,
  2120. color: "#CEF3FE",
  2121. fontSize: "10",
  2122. // fontWeight: 600,
  2123. },
  2124. detail: {
  2125. show: false,
  2126. },
  2127. },
  2128. {
  2129. name: "外部指针",
  2130. type: "gauge",
  2131. radius: "90%",
  2132. axisLine: {
  2133. lineStyle: {
  2134. color: [
  2135. [dataArr / dataX - 0.001, "rgba(0,0,0,0)"],
  2136. [dataArr / dataX + 0.003, "#e43c59"],
  2137. [1, "rgba(0,0,0,0)"],
  2138. ],
  2139. width: 20,
  2140. },
  2141. },
  2142. axisLabel: {
  2143. show: false,
  2144. },
  2145. axisTick: {
  2146. show: false,
  2147. },
  2148. splitLine: {
  2149. show: false,
  2150. },
  2151. itemStyle: {
  2152. show: false,
  2153. },
  2154. detail: {
  2155. show: false,
  2156. },
  2157. title: {
  2158. // 标题
  2159. show: false,
  2160. },
  2161. data: [
  2162. {
  2163. name: "title",
  2164. value: dataArr,
  2165. },
  2166. ],
  2167. pointer: {
  2168. show: false,
  2169. },
  2170. },
  2171. {
  2172. name: "内层带指针",
  2173. type: "gauge",
  2174. radius: "60%",
  2175. splitNumber: 10, // 刻度数量
  2176. min: 0, // 最小刻度
  2177. max: dataX, // 最大刻度
  2178. // 仪表盘轴线相关配置
  2179. axisLine: {
  2180. lineStyle: {
  2181. color: [
  2182. [
  2183. 1,
  2184. {
  2185. type: "radial",
  2186. x: 0.5,
  2187. y: 0.59,
  2188. r: 0.6,
  2189. colorStops: [
  2190. {
  2191. offset: 0.72,
  2192. color: "#032046",
  2193. },
  2194. {
  2195. offset: 0.94,
  2196. color: "#086989",
  2197. },
  2198. {
  2199. offset: 0.98,
  2200. color: "#0FAFCB",
  2201. },
  2202. {
  2203. offset: 1,
  2204. color: "#0EA4C1",
  2205. },
  2206. ],
  2207. },
  2208. ],
  2209. ],
  2210. width: 1000,
  2211. },
  2212. },
  2213. // 分隔线
  2214. splitLine: {
  2215. show: false,
  2216. },
  2217. // 刻度线
  2218. axisTick: {
  2219. show: false,
  2220. },
  2221. // 刻度标签
  2222. axisLabel: {
  2223. show: false,
  2224. },
  2225. // 仪表盘指针
  2226. pointer: {
  2227. show: true,
  2228. length: "95%",
  2229. width: 2, // 指针粗细
  2230. },
  2231. // 仪表盘指针样式
  2232. itemStyle: {
  2233. color: "#01eaf8",
  2234. },
  2235. data: [
  2236. {
  2237. value: dataArr,
  2238. },
  2239. ],
  2240. detail: {
  2241. show: false,
  2242. },
  2243. },
  2244. // 中间半圆装饰
  2245. {
  2246. type: "gauge",
  2247. radius: "110%", // 大小
  2248. center: ["50%", "127%"],
  2249. axisLine: {
  2250. show: true,
  2251. lineStyle: {
  2252. // 轴线样式
  2253. width: 1, // 宽度
  2254. color: [
  2255. [
  2256. 1,
  2257. {
  2258. type: "radial",
  2259. x: 0.5,
  2260. y: 0,
  2261. r: 0.6,
  2262. colorStops: [
  2263. {
  2264. offset: 0,
  2265. color: "#00f3f9", // 0% 处的颜色
  2266. },
  2267. {
  2268. offset: 1,
  2269. color: "#000", // 100% 处的颜色
  2270. },
  2271. ],
  2272. },
  2273. ],
  2274. ],
  2275. },
  2276. },
  2277. axisTick: {
  2278. // 刻度
  2279. show: false,
  2280. },
  2281. splitLine: {
  2282. // 分割线
  2283. show: false,
  2284. },
  2285. axisLabel: {
  2286. // 刻度标签
  2287. show: false,
  2288. },
  2289. pointer: {
  2290. // 仪表盘指针
  2291. show: false,
  2292. },
  2293. detail: {
  2294. // 仪表盘详情
  2295. show: false,
  2296. },
  2297. },
  2298. ],
  2299. };
  2300. myChart.setOption(option)
  2301. },
  2302. rqcgChart(){
  2303. getGasReformLatest().then(res => {
  2304. var myChart = echarts.init(document.getElementById("x-chart7"));
  2305. var placeHolderStyle = {
  2306. normal: {
  2307. label: {
  2308. show: false,
  2309. },
  2310. labelLine: {
  2311. show: false,
  2312. },
  2313. color: "rgba(0,0,0,0)",
  2314. borderWidth: 0,
  2315. },
  2316. emphasis: {
  2317. color: "rgba(0,0,0,0)",
  2318. borderWidth: 0,
  2319. },
  2320. };
  2321. var dataStyle = {
  2322. normal: {
  2323. formatter: "{c}%",
  2324. position: "center",
  2325. show: true,
  2326. textStyle: {
  2327. fontSize: "20",
  2328. fontWeight: "normal",
  2329. color: "#fff",
  2330. },
  2331. },
  2332. };
  2333. var option = {
  2334. title: [
  2335. {
  2336. text: "燃气普查率",
  2337. left: "24%",
  2338. top: "60%",
  2339. textAlign: "center",
  2340. textStyle: {
  2341. fontWeight: "normal",
  2342. fontSize: "10",
  2343. color: "#fff",
  2344. textAlign: "center",
  2345. },
  2346. },
  2347. {
  2348. text: "燃气改造率",
  2349. left: "74%",
  2350. top: "60%",
  2351. textAlign: "center",
  2352. textStyle: {
  2353. color: "#fff",
  2354. fontWeight: "normal",
  2355. fontSize: "10",
  2356. textAlign: "center",
  2357. },
  2358. },
  2359. ],
  2360. series: [
  2361. {
  2362. type: "pie",
  2363. hoverAnimation: false, //鼠标经过的特效
  2364. radius: ["75%", "81%"],
  2365. center: ["25%", "50%"],
  2366. startAngle: 225,
  2367. labelLine: {
  2368. normal: {
  2369. show: false,
  2370. },
  2371. },
  2372. label: {
  2373. normal: {
  2374. position: "center",
  2375. },
  2376. },
  2377. data: [
  2378. {
  2379. value: res.rows[0].gasPenetrationRate,
  2380. itemStyle: {
  2381. normal: {
  2382. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2383. {
  2384. offset: 0,
  2385. color: "#99da69",
  2386. },
  2387. {
  2388. offset: 1,
  2389. color: "#01babc",
  2390. },
  2391. ]),
  2392. },
  2393. },
  2394. label: dataStyle,
  2395. },
  2396. {
  2397. value: 35,
  2398. itemStyle: placeHolderStyle,
  2399. },
  2400. ],
  2401. },
  2402. {
  2403. type: "pie",
  2404. hoverAnimation: false,
  2405. radius: ["75%", "81%"],
  2406. center: ["75%", "50%"],
  2407. startAngle: 225,
  2408. labelLine: {
  2409. normal: {
  2410. show: false,
  2411. },
  2412. },
  2413. label: {
  2414. normal: {
  2415. position: "center",
  2416. },
  2417. },
  2418. data: [
  2419. {
  2420. value: res.rows[0].gasConversionRate,
  2421. itemStyle: {
  2422. normal: {
  2423. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2424. {
  2425. offset: 0,
  2426. color: "#9f3edd",
  2427. },
  2428. {
  2429. offset: 1,
  2430. color: "#4897f6",
  2431. },
  2432. ]),
  2433. },
  2434. },
  2435. label: dataStyle,
  2436. },
  2437. {
  2438. value: 35,
  2439. itemStyle: placeHolderStyle,
  2440. },
  2441. ],
  2442. },
  2443. //外圈的边框
  2444. {
  2445. // name: '总人数',
  2446. type: "pie",
  2447. hoverAnimation: false, //鼠标经过的特效
  2448. radius: ["81%", "82%"],
  2449. center: ["25%", "50%"],
  2450. startAngle: 225,
  2451. labelLine: {
  2452. normal: {
  2453. show: false,
  2454. },
  2455. },
  2456. label: {
  2457. normal: {
  2458. position: "center",
  2459. },
  2460. },
  2461. data: [
  2462. {
  2463. value: 75,
  2464. itemStyle: {
  2465. normal: {
  2466. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2467. {
  2468. offset: 0,
  2469. color: "#01babc",
  2470. },
  2471. {
  2472. offset: 1,
  2473. color: "#99da69",
  2474. },
  2475. ]),
  2476. },
  2477. },
  2478. },
  2479. {
  2480. value: 25,
  2481. itemStyle: placeHolderStyle,
  2482. },
  2483. ],
  2484. },
  2485. {
  2486. type: "pie",
  2487. hoverAnimation: false,
  2488. radius: ["81%", "82%"],
  2489. center: ["75%", "50%"],
  2490. startAngle: 225,
  2491. labelLine: {
  2492. normal: {
  2493. show: false,
  2494. },
  2495. },
  2496. label: {
  2497. normal: {
  2498. position: "center",
  2499. },
  2500. },
  2501. data: [
  2502. {
  2503. value: 75,
  2504. itemStyle: {
  2505. normal: {
  2506. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  2507. {
  2508. offset: 0,
  2509. color: "#4897f6",
  2510. },
  2511. {
  2512. offset: 1,
  2513. color: "#9f3edd",
  2514. },
  2515. ]),
  2516. },
  2517. },
  2518. },
  2519. {
  2520. value: 25,
  2521. itemStyle: placeHolderStyle,
  2522. },
  2523. ],
  2524. },
  2525. ],
  2526. };
  2527. myChart.setOption(option)
  2528. })
  2529. },
  2530. toggleTab(current) {
  2531. this.currentTab = current;
  2532. this.currentClass = current;
  2533. },
  2534. handleCheckedCities(checkedCities) {
  2535. // checkedCities 是当前选中的所有选项的数组
  2536. this.$refs.supermap.addLifelineOpen(this.checkedCities)
  2537. },
  2538. //开挖
  2539. showExcavation() {
  2540. this.$refs.supermap.excavation()
  2541. },
  2542. //开挖
  2543. showExcavationAnalyze() {
  2544. this.$refs.supermap.excavationAnalyze()
  2545. },
  2546. //测距
  2547. choseMeasuringDistance() {
  2548. this.$refs.supermap.choseMeasuringDistance()
  2549. },
  2550. //测面
  2551. choseMeasuringArea() {
  2552. this.$refs.supermap.choseMeasuringArea()
  2553. },
  2554. //测高
  2555. choseMeasuringHeight() {
  2556. this.$refs.supermap.choseMeasuringHeight()
  2557. },
  2558. //选择、框选
  2559. boxSelection() {
  2560. this.$refs.supermap.boxSelection()
  2561. },
  2562. //清除
  2563. clearAll() {
  2564. this.$refs.supermap.closeMeasuringAll()
  2565. this.$refs.supermap.closeExcavationAll()
  2566. this.checkedCities = []
  2567. this.$refs.supermap.addLifelineOpen(this.checkedCities)
  2568. this.$refs.supermap.removeBoxSelection()
  2569. }
  2570. }
  2571. }
  2572. </script>
  2573. <style lang="scss">
  2574. @font-face {
  2575. font-family: 'ds';
  2576. src: url('../../assets/styles/DS-Digital_Bold.ttf') format('truetype'); /* 根据实际路径调整 */
  2577. }
  2578. /*弹层新样式*/
  2579. .sj-dialog-newstyle {
  2580. .el-dialog {
  2581. background: #152d4f;
  2582. border-radius: 10px;
  2583. border: 2px solid #3c72c8;
  2584. background: linear-gradient(90deg, #0c274a 0%, rgba(6, 24, 37, 0.9) 100%);
  2585. .el-dialog__header {
  2586. background: url(../../assets/index_img/d-icon-tit-img.png)no-repeat left;
  2587. margin-left: 15px;
  2588. box-shadow: none;
  2589. .el-dialog__title {
  2590. font-size: 18px;
  2591. color: #fff;
  2592. font-weight: bold;
  2593. }
  2594. }
  2595. .el-dialog__body {
  2596. display: flex;
  2597. flex-wrap: wrap;
  2598. justify-content: space-between;
  2599. }
  2600. }
  2601. .sj-jcxx {
  2602. width: 100%;
  2603. display: flex;
  2604. flex-direction: column;
  2605. padding: 15px;
  2606. border-radius: 10px;
  2607. border: 1px solid #3c72c8;
  2608. margin-bottom: 20px;
  2609. .tit {
  2610. width: fit-content;
  2611. font-size: 16px;
  2612. color: #fff;
  2613. font-weight: bold;
  2614. display: flex;
  2615. align-items: center;
  2616. border-bottom: 2px solid #93a9d5;
  2617. }
  2618. .sj-jcxx-con {}
  2619. .sj-jcxx-con {
  2620. color: #fff;
  2621. display: flex;
  2622. flex-wrap: wrap;
  2623. align-items: center;
  2624. position: relative;
  2625. .con-20 {
  2626. width: 20%;
  2627. font-size: 14px;
  2628. display: flex;
  2629. align-items: center;
  2630. margin-top: 15px;
  2631. img {
  2632. width: 10px;
  2633. height: 10px;
  2634. margin-right: 5px;
  2635. }
  2636. }
  2637. .con-50 {
  2638. width: 50% !important;
  2639. }
  2640. .con-100 {
  2641. width: 100% !important;
  2642. }
  2643. .or {
  2644. color: #ff9a6d;
  2645. }
  2646. .bl {
  2647. color: #42f8ff
  2648. }
  2649. .z-line {
  2650. width: 100%;
  2651. height: 2px;
  2652. background: #4e6b9a;
  2653. z-index: 9;
  2654. position: absolute;
  2655. top: 32px;
  2656. }
  2657. .triangle {
  2658. width: 0;
  2659. height: 0;
  2660. border-top: 11px solid transparent;
  2661. /* 左侧透明 */
  2662. border-bottom: 11px solid transparent;
  2663. /* 右侧透明 */
  2664. border-left: 16px solid #4e6b9a;
  2665. /* 底部为黑色,形成三角形 */
  2666. position: absolute;
  2667. top: 22px;
  2668. right: -2px;
  2669. }
  2670. .m60 {
  2671. margin-left: 60px;
  2672. }
  2673. .z-lc {
  2674. width: 22%;
  2675. display: flex;
  2676. flex-direction: column;
  2677. z-index: 10;
  2678. justify-content: start;
  2679. align-items: start;
  2680. top: 17px;
  2681. img {
  2682. width: 51px;
  2683. height: 51px;
  2684. }
  2685. h5 {
  2686. font-size: 14px;
  2687. position: relative;
  2688. bottom: 0;
  2689. }
  2690. .z-lc-time {
  2691. background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%);
  2692. border-radius: 50px;
  2693. font-size: 12px;
  2694. padding: 0 5px;
  2695. line-height: 23px;
  2696. color: #fff;
  2697. position: absolute;
  2698. left: 115px;
  2699. top: 22px
  2700. }
  2701. .z-clyj {
  2702. position: absolute;
  2703. left: 240px;
  2704. top: 16px;
  2705. img {
  2706. width: 35px;
  2707. height: 35px;
  2708. }
  2709. }
  2710. }
  2711. }
  2712. }
  2713. }
  2714. .sj-tooltip {
  2715. background: linear-gradient(0deg, #2A6DCD 0%, rgba(43, 96, 152, 0.5) 100%) !important;
  2716. border: 1px solid #264fa2 !important;
  2717. .popper__arrow {
  2718. border-top-color: #345ead !important;
  2719. }
  2720. .popper__arrow::after {
  2721. border-top-color: #345ead !important;
  2722. }
  2723. .info-list {
  2724. display: flex;
  2725. flex-direction: column;
  2726. }
  2727. }
  2728. /*公共*/
  2729. .list-ul-style-tit {
  2730. width: 414px;
  2731. height: 38px;
  2732. background: url(../../assets/index_img/list-bg-img-t.png) no-repeat;
  2733. display: flex;
  2734. justify-content: space-between;
  2735. align-items: center;
  2736. margin-top: 10px !important;
  2737. background-size: contain;
  2738. padding: 0 10px !important;
  2739. color: #a2d4ef;
  2740. text-align: center;
  2741. span:nth-child(1) {
  2742. width: 40px;
  2743. }
  2744. span:nth-child(2) {
  2745. width: 70%;
  2746. text-align: left;
  2747. }
  2748. span:nth-child(3) {
  2749. width: 65px;
  2750. }
  2751. span:nth-child(2n) {
  2752. color: #fff;
  2753. }
  2754. }
  2755. .list-ul-style {
  2756. li {
  2757. width: 410px;
  2758. height: 50px;
  2759. background: url(../../assets/index_img/list-bg-img-1.png) no-repeat;
  2760. display: flex;
  2761. justify-content: space-between;
  2762. align-items: center;
  2763. margin-top: 10px;
  2764. padding: 0 10px !important;
  2765. text-align: center;
  2766. transition: all 0.5s ease-in-out;
  2767. cursor: pointer;
  2768. span:nth-child(1) {
  2769. width: 40px;
  2770. }
  2771. span:nth-child(2) {
  2772. width: 70%;
  2773. text-align: left;
  2774. }
  2775. span:nth-child(3) {
  2776. width: 65px;
  2777. }
  2778. span:nth-child(2n) {
  2779. color: #fff;
  2780. }
  2781. }
  2782. li:nth-child(2n) {
  2783. background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
  2784. }
  2785. li:hover {
  2786. filter: brightness(200%);
  2787. transform: translateX(8px);
  2788. }
  2789. }
  2790. .title-bar-pop {
  2791. width: 100%;
  2792. height: 38px;
  2793. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  2794. display: flex;
  2795. align-items: center;
  2796. justify-content: space-between;
  2797. .num {
  2798. width: 88px;
  2799. height: 27px;
  2800. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  2801. border-radius: 5px;
  2802. line-height: 27px;
  2803. text-align: center;
  2804. font-weight: bold;
  2805. margin-top: 7px;
  2806. }
  2807. span {
  2808. font-size: 20px;
  2809. color: #EFF2FF;
  2810. font-family: ysbth;
  2811. line-height: 40px;
  2812. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  2813. -webkit-background-clip: text;
  2814. -webkit-text-fill-color: transparent;
  2815. margin-left: 55px;
  2816. }
  2817. }
  2818. .sj-select-50 {
  2819. width: 49%;
  2820. margin-top: 5px !important;
  2821. .el-input {}
  2822. .el-input__inner {
  2823. height: 30px;
  2824. line-height: 30px;
  2825. background-color: rgba(12, 44, 80, 0.52);
  2826. border: 1px solid #326e96;
  2827. color: #0fc0ee;
  2828. }
  2829. .el-input__icon {
  2830. line-height: 30px;
  2831. }
  2832. .el-select .el-input .el-select__caret {
  2833. color: #6996c6;
  2834. }
  2835. }
  2836. .sj-input-style {
  2837. margin-top: 5px !important;
  2838. .el-input__inner {
  2839. height: 30px;
  2840. line-height: 30px;
  2841. background-color: rgba(12, 44, 80, 0.52);
  2842. border: 1px solid #326e96;
  2843. color: #0fc0ee;
  2844. }
  2845. .el-input__icon {
  2846. line-height: 30px;
  2847. }
  2848. }
  2849. .sj-select {
  2850. margin: 0 10px !important;
  2851. .el-input {
  2852. width: 120px !important;
  2853. }
  2854. .el-input__inner {
  2855. height: 30px;
  2856. line-height: 30px;
  2857. background-color: rgba(12, 44, 80, 0.52);
  2858. border: 1px solid #326e96;
  2859. color: #0fc0ee;
  2860. }
  2861. .el-input__icon {
  2862. line-height: 30px;
  2863. }
  2864. .el-select .el-input .el-select__caret {
  2865. color: #6996c6;
  2866. }
  2867. }
  2868. .sj-pop-con {
  2869. width: 437px !important;
  2870. background: linear-gradient(0deg, rgba(12, 36, 66, 0.8) 0%, #1D5592 100%);
  2871. border: 1px solid #326e96;
  2872. color: #fff;
  2873. display: flex;
  2874. flex-wrap: wrap;
  2875. justify-content: space-between;
  2876. .popper__arrow::after {
  2877. border-left-color: #42eb88 !important
  2878. }
  2879. .popper__arrow {
  2880. border-left-color: #42eb88 !important
  2881. }
  2882. }
  2883. .sj-s-pop {
  2884. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  2885. border: 1px solid #326e96;
  2886. .el-select-dropdown__item {
  2887. color: #fff;
  2888. }
  2889. .el-select-dropdown__item.hover,
  2890. .el-select-dropdown__item:hover {
  2891. background: linear-gradient(0deg, rgba(25, 78, 143, 0.5) 0%, #2d8dec 100%);
  2892. }
  2893. .popper__arrow::after {
  2894. border-top-color: #178cd6 !important
  2895. }
  2896. .popper__arrow {
  2897. border-top-color: #178cd6 !important
  2898. }
  2899. }
  2900. .el-popper[x-placement^=right] .popper__arrow::after,
  2901. .el-popper[x-placement^=right] .popper__arrow {
  2902. border-right-color: #2A6DCD;
  2903. }
  2904. /*tab*/
  2905. .content-box .el-tabs__item {
  2906. border-radius: 5px;
  2907. height: 26px;
  2908. line-height: 26px;
  2909. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  2910. padding: 0 10px;
  2911. }
  2912. .content-box .el-tabs--top .el-tabs__item.is-top:last-child {
  2913. padding-left: 10px;
  2914. padding-right: 10px;
  2915. }
  2916. .content-box .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
  2917. padding: 0 10px;
  2918. }
  2919. .content-box .el-tabs__nav-next,
  2920. .content-box .el-tabs__nav-prev {
  2921. line-height: 26px;
  2922. }
  2923. .content-box .sj-top-tab{
  2924. height:200px;
  2925. }
  2926. .content-box .sj-top-tab .el-tabs__header {
  2927. position: absolute;
  2928. top: -32px;
  2929. right: 0px;
  2930. }
  2931. .content-box .sj-top-tab2 .el-tabs__header {
  2932. position: absolute;
  2933. top: -32px;
  2934. right: 200px;
  2935. }
  2936. .content-box .el-tabs__item.is-active {
  2937. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  2938. border-radius: 5px;
  2939. border: 1px solid transparent;
  2940. }
  2941. /*btn*/
  2942. .sj-btn-icon-h {
  2943. width: 100px !important;
  2944. height: 30px !important;
  2945. display: flex;
  2946. justify-content: center;
  2947. align-items: center;
  2948. padding: 0 !important;
  2949. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
  2950. border-radius: 5px;
  2951. color: #fff;
  2952. border: 1px solid #3261b5 !important;
  2953. }
  2954. .sj-btn-icon-h:hover {
  2955. color: #fff;
  2956. background: linear-gradient(0deg, #75F8D2 0%, #4e7cb1 50%, #50dfdf 100%) !important;
  2957. }
  2958. .sj-btn-icon-h:focus {
  2959. color: #fff;
  2960. }
  2961. .sj-btn-icon {
  2962. width: 100px !important;
  2963. height: 30px !important;
  2964. display: flex;
  2965. justify-content: center;
  2966. align-items: center;
  2967. padding: 0 !important;
  2968. background: linear-gradient(90deg, #214D8C 1%, rgba(14, 52, 93, 1) 100%);
  2969. border-radius: 5px;
  2970. color: #fff;
  2971. border: 1px solid #3261b5 !important;
  2972. span {
  2973. img {
  2974. margin-right: 5px;
  2975. }
  2976. display: flex;
  2977. justify-content: center;
  2978. align-items: center;
  2979. }
  2980. }
  2981. .sj-btn-icon:hover {
  2982. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%) !important;
  2983. color: #fff !important;
  2984. }
  2985. .sj-btn-icon:focus {
  2986. background-color: #75F8D2 !important;
  2987. color: #fff !important;
  2988. border: 1px solid #75F8D2 !important;
  2989. }
  2990. /*normal tab*/
  2991. /*tab*/
  2992. .content-box2 .el-tabs__item {
  2993. border-radius: 100px;
  2994. height: 26px;
  2995. line-height: 26px;
  2996. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  2997. padding: 0 10px;
  2998. }
  2999. .content-box2 .el-tabs--top .el-tabs__item.is-top:last-child {
  3000. padding-left: 10px;
  3001. padding-right: 10px;
  3002. }
  3003. .content-box2 .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
  3004. padding: 0 10px;
  3005. }
  3006. .content-box2 .el-tabs__nav-next,
  3007. .content-box2 .el-tabs__nav-prev {
  3008. line-height: 26px;
  3009. }
  3010. .content-box2 .sj-top-tab .el-tabs__header {}
  3011. .content-box2 .sj-top-tab2 .el-tabs__header {}
  3012. .content-box2 .el-tabs__item.is-active {
  3013. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  3014. border-radius: 100px;
  3015. border: 1px solid transparent;
  3016. }
  3017. .content-box .el-checkbox {
  3018. margin-right: 15px !important;
  3019. }
  3020. .content-box .el-checkbox__inner {
  3021. border: 1px solid #0fc5f2;
  3022. width: 13px;
  3023. height: 13px;
  3024. background: none;
  3025. }
  3026. .content-box .el-checkbox__label {
  3027. color: #b9e4ef;
  3028. }
  3029. .content-box .el-checkbox__inner::after {
  3030. border-color: #0fc5f2;
  3031. }
  3032. .content-box .el-checkbox__input.is-checked .el-checkbox__inner,
  3033. .content-box .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  3034. border-color: #0fc0ee;
  3035. background: none;
  3036. }
  3037. .content-box .el-checkbox__input.is-checked+.el-checkbox__label {
  3038. color: #0fc5f2;
  3039. }
  3040. .content-box .el-checkbox__input.is-disabled .el-checkbox__inner {
  3041. background-color: #628c91;
  3042. border-color: #407983;
  3043. cursor: not-allowed;
  3044. }
  3045. /*正常tab*/
  3046. /*form*/
  3047. .sj-form {
  3048. display: flex;
  3049. justify-content: center;
  3050. align-items: center;
  3051. }
  3052. /*radio*/
  3053. .sj-radio {
  3054. margin-top: 5px !important;
  3055. }
  3056. .sj-radio .el-radio-button__inner {
  3057. padding: 0 15px;
  3058. height: 26px;
  3059. line-height: 26px;
  3060. background: linear-gradient(0deg, #2A6DCD 0%, rgba(56, 123, 196, 0.14) 100%);
  3061. color: #fff;
  3062. border: none;
  3063. border-left: none !important;
  3064. }
  3065. .sj-radio .el-radio-button__orig-radio:checked+.el-radio-button__inner {
  3066. height: 26px;
  3067. line-height: 26px;
  3068. background: linear-gradient(0deg, #75F8D2 0%, #426896 50%, #43b9b9 100%);
  3069. border: 1px solid transparent;
  3070. }
  3071. .mar-left {
  3072. margin-left: 20px !important;
  3073. }
  3074. /*checkbox*/
  3075. .sj-check {
  3076. margin-top: 5px !important;
  3077. }
  3078. .sj-check .el-checkbox {
  3079. margin-right: 10px;
  3080. }
  3081. .sj-check .el-checkbox__label {
  3082. color: #fff;
  3083. padding-left: 5px;
  3084. }
  3085. .sj-check .el-checkbox__inner {
  3086. background: #192c40;
  3087. border: 1px solid #3a86ce;
  3088. }
  3089. .sj-check .el-checkbox__input.is-checked .el-checkbox__inner,
  3090. .sj-check .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  3091. border: 1px solid #2acdb4;
  3092. background: #192c40;
  3093. }
  3094. .sj-check .el-checkbox__input.is-checked+.el-checkbox__label {
  3095. color: #00ffee;
  3096. }
  3097. /*全局滚动条样式*/
  3098. ::-webkit-scrollbar {
  3099. width: 5px;
  3100. height: 14px;
  3101. }
  3102. ::-webkit-scrollbar-thumb {
  3103. /* background-color: #01c8dc;
  3104. border-radius: 3px; */
  3105. background-color: #b6b6b6;
  3106. }
  3107. /*全局滚动条样式结束*/
  3108. /*弹层表格*/
  3109. .sjxq_list {
  3110. width: 100%;
  3111. float: right;
  3112. .el-table {
  3113. color: #e8f9ff;
  3114. background-color: #082c4c;
  3115. font-size: 13px;
  3116. }
  3117. .el-table tr {
  3118. background-color: #082c4c;
  3119. }
  3120. .el-table--border::after,
  3121. .el-table--group::after,
  3122. .el-table::before {
  3123. background-color: #082c4c
  3124. }
  3125. .el-table .el-table__header-wrapper th,
  3126. .el-table .el-table__fixed-header-wrapper th {
  3127. background-color: #012849;
  3128. color: #e8f9ff;
  3129. }
  3130. .el-table td.el-table__cell,
  3131. .el-table th.el-table__cell.is-leaf {
  3132. border-bottom: 1px solid #203767;
  3133. }
  3134. .el-table--enable-row-hover {
  3135. box-shadow: 0px 0px 4px #032f4f;
  3136. }
  3137. .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
  3138. background-color: #165fa3;
  3139. color: #0bf3f7;
  3140. box-shadow: 0px 0px 4px #032f4f;
  3141. }
  3142. }
  3143. </style>
  3144. <style rel="stylesheet/scss" lang="scss" scoped>
  3145. @import '@/assets/styles/base.scss';
  3146. .lifeline-con {
  3147. color: #fff;
  3148. font-size: 14px;
  3149. .h-185 {
  3150. height: 185px !important;
  3151. padding: 0 !important;
  3152. }
  3153. .h-170 {
  3154. height: 170px !important;
  3155. padding: 0 !important;
  3156. }
  3157. /*头部*/
  3158. .life-header2 {
  3159. width: 100%;
  3160. height: 81px;
  3161. background: url('../../assets/index_img/header-img2.png') no-repeat center;
  3162. position: fixed;
  3163. top: 0;
  3164. font-family: 'ysbth';
  3165. font-size: 38px;
  3166. text-align: center;
  3167. line-height: 70px;
  3168. animation: headermove 1s ease-out;
  3169. z-index: 999;
  3170. span {
  3171. position: absolute;
  3172. left: 50%;
  3173. transform: translateX(-50%);
  3174. display: flex;
  3175. align-items: center;
  3176. font-weight: 400;
  3177. color: #EFF8FC;
  3178. background: linear-gradient(0deg, rgba(119, 186, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
  3179. opacity: 1;
  3180. -webkit-background-clip: text;
  3181. -webkit-text-fill-color: transparent;
  3182. img {
  3183. width: 46px;
  3184. height: 46px;
  3185. margin-right: 15px;
  3186. }
  3187. }
  3188. .time-left {
  3189. display: flex;
  3190. flex-direction: column;
  3191. justify-content: center;
  3192. align-items: center;
  3193. font-family: pmzd;
  3194. position: absolute;
  3195. left: 28px;
  3196. top: 18px;
  3197. h5 {
  3198. font-size: 16px;
  3199. font-weight: 400;
  3200. background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  3201. -webkit-background-clip: text;
  3202. -webkit-text-fill-color: transparent;
  3203. }
  3204. h6 {
  3205. font-size: 12px;
  3206. font-weight: 400;
  3207. background: linear-gradient(0deg, rgba(172, 221, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  3208. -webkit-background-clip: text;
  3209. -webkit-text-fill-color: transparent;
  3210. }
  3211. }
  3212. .header-right-user-home {
  3213. width: fit-content;
  3214. display: flex;
  3215. justify-content: center;
  3216. position: absolute;
  3217. right: 18px;
  3218. top: 18px;
  3219. img {
  3220. cursor: pointer;
  3221. transition: all 0.5s ease-in-out;
  3222. margin: 0 5px;
  3223. }
  3224. img:hover {
  3225. cursor: pointer;
  3226. filter: brightness(170%) hue-rotate(-20deg);
  3227. transform: translateY(-2px);
  3228. }
  3229. }
  3230. }
  3231. /*顶部重点关注天气区域*/
  3232. .top-bar {
  3233. width: 738px;
  3234. height: 68px;
  3235. background: linear-gradient(0deg, rgba(12, 36, 66, 0.52) 0%, #1D5592 100%);
  3236. border-radius: 33px;
  3237. position: absolute;
  3238. top: 83px;
  3239. left: 50%;
  3240. transform: translateX(-50%);
  3241. display: flex;
  3242. justify-content: space-between;
  3243. align-items: center;
  3244. z-index: 20;
  3245. color: #fff;
  3246. .line-y {
  3247. width: 1px;
  3248. height: 37px;
  3249. border: 1px solid #4476A3;
  3250. }
  3251. h5 {
  3252. font-size: 20px;
  3253. color: #EFF2FF;
  3254. font-family: ysbth;
  3255. line-height: 40px;
  3256. background: linear-gradient(0deg, #31beff, #effcfe, #effcfe);
  3257. -webkit-background-clip: text;
  3258. -webkit-text-fill-color: transparent;
  3259. display: flex;
  3260. justify-content: center;
  3261. align-items: center;
  3262. margin: 0 10px;
  3263. }
  3264. span {
  3265. display: flex;
  3266. justify-content: center;
  3267. align-items: center;
  3268. margin: 0 5px;
  3269. .icon-block {
  3270. width: 6px;
  3271. height: 11px;
  3272. background: linear-gradient(0deg, #67AAE7 0%, #2B5E8E 100%);
  3273. margin: 0 5px;
  3274. }
  3275. }
  3276. .icon-sj {
  3277. width: 12px;
  3278. height: 20px;
  3279. margin: 0 5px;
  3280. }
  3281. .left {
  3282. display: flex;
  3283. .icon {
  3284. width: 67px;
  3285. height: 65px;
  3286. }
  3287. }
  3288. .right {
  3289. display: flex;
  3290. .text-r {
  3291. width: 200px;
  3292. display: flex;
  3293. flex-wrap: wrap;
  3294. align-items: center;
  3295. align-content: center
  3296. }
  3297. }
  3298. }
  3299. /*左右装饰*/
  3300. .line-left,
  3301. .line-right {
  3302. width: 18px;
  3303. height: 100vh;
  3304. position: absolute;
  3305. top: 0;
  3306. z-index: 1000;
  3307. }
  3308. .line-left {
  3309. background: url(../../assets/index_img/left-line.png) no-repeat 100%;
  3310. left: 0;
  3311. }
  3312. .line-right {
  3313. background: url(../../assets/index_img/right-line.png) no-repeat 100%;
  3314. right: 0;
  3315. }
  3316. /*左侧右侧独立黑色背景*/
  3317. .con_left_2_bg {
  3318. width: 570px;
  3319. background: url('../../assets/index_img/black-bg-left.png') no-repeat left;
  3320. height: 100vh;
  3321. position: absolute;
  3322. z-index: 2;
  3323. left: 0;
  3324. }
  3325. .con_right_2_bg {
  3326. width: 570px;
  3327. background: url('../../assets/index_img/black-bg-right.png') no-repeat right;
  3328. height: 100vh;
  3329. position: absolute;
  3330. z-index: 2;
  3331. right: 0;
  3332. }
  3333. /*公共*/
  3334. .title-bar {
  3335. width: 100%;
  3336. height: 38px;
  3337. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  3338. display: flex;
  3339. align-items: center;
  3340. justify-content: space-between;
  3341. .num {
  3342. width: 88px;
  3343. height: 27px;
  3344. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  3345. border-radius: 5px;
  3346. line-height: 27px;
  3347. text-align: center;
  3348. font-weight: bold;
  3349. margin-top: 7px;
  3350. }
  3351. span {
  3352. font-size: 20px;
  3353. color: #EFF2FF;
  3354. font-family: ysbth;
  3355. line-height: 40px;
  3356. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  3357. -webkit-background-clip: text;
  3358. -webkit-text-fill-color: transparent;
  3359. margin-left: 50px;
  3360. }
  3361. div{
  3362. width: 116px;
  3363. height: 28px;
  3364. background: rgba(66,139,229,0);
  3365. border-radius: 6px;
  3366. border: 1px solid rgba(6,175,253,0.41);
  3367. margin: 5px 0 0 0;
  3368. display: flex;
  3369. align-items: center;
  3370. justify-content: center;
  3371. em{
  3372. font-family: Arial, Helvetica, sans-serif;
  3373. font-size: 14px;
  3374. color: #b8cde3;
  3375. font-style: normal;
  3376. }
  3377. img{
  3378. margin: 0 5px;
  3379. }
  3380. em.up{
  3381. color: #ff6000;
  3382. }
  3383. em.don{
  3384. color: #a2ff00;
  3385. }
  3386. }
  3387. div.time_tab{
  3388. width: 190px;
  3389. border: none;
  3390. h4{
  3391. background: linear-gradient(90deg, #081a2f , #214d8c, #081a2f);
  3392. border-radius: 5px;
  3393. padding: 5px;
  3394. margin: 5px;
  3395. border: #366ac4 1px solid;
  3396. }
  3397. h4.active{
  3398. background: linear-gradient(0deg, #75F8D2 0%, #6096DB 50%, #62FFBB 100%);
  3399. border-radius: 5px;
  3400. border: 1px solid #89f7fe;
  3401. }
  3402. }
  3403. }
  3404. .content-box-half {
  3405. width: 267px !important;
  3406. }
  3407. .box-h-l {
  3408. height: 175px !important;
  3409. }
  3410. .content-box3 {
  3411. width: 538px;
  3412. height: 243px;
  3413. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
  3414. border-radius: 8px;
  3415. border: 1px solid #23466C;
  3416. margin-top: 2px;
  3417. padding: 10px;
  3418. display: flex;
  3419. flex-direction: column;
  3420. flex-wrap: wrap;
  3421. justify-content: space-between;
  3422. position: relative;
  3423. }
  3424. .content-box2 {
  3425. padding: 15px !important;
  3426. .map-btn-con {
  3427. height: 50px;
  3428. margin-top: 20px;
  3429. display: flex;
  3430. justify-content: space-between;
  3431. align-items: center;
  3432. border-top: 1px dashed #1e57a3;
  3433. span {
  3434. height: 50px;
  3435. display: flex;
  3436. justify-content: center;
  3437. align-items: center;
  3438. }
  3439. }
  3440. }
  3441. .content-box,
  3442. .content-box2 {
  3443. width:100%;
  3444. height: 243px;
  3445. background: linear-gradient(90deg, rgba(6, 20, 36, .3), rgba(50, 81, 128, .3));
  3446. border-radius: 8px;
  3447. border: 1px solid #23466C;
  3448. margin-top: 2px;
  3449. padding: 10px;
  3450. position: relative;
  3451. .chart-contaier {
  3452. width: 100%;
  3453. display: flex;
  3454. align-items: center;
  3455. justify-content: space-around;
  3456. .chart-con {
  3457. width: 300px;
  3458. height: 180px;
  3459. }
  3460. .chart-con2 {
  3461. width: 500px;
  3462. height: 160px;
  3463. }
  3464. .chart-con-num {
  3465. display: flex;
  3466. flex-direction: column;
  3467. .chart-con-num-rig {
  3468. height: 36px;
  3469. display: flex;
  3470. flex-direction: column;
  3471. flex-wrap: wrap;
  3472. justify-content: space-around;
  3473. margin: 10px 0;
  3474. img {
  3475. margin-right: 10px;
  3476. }
  3477. h5 {
  3478. font-size: 18px;
  3479. }
  3480. h6 {
  3481. font-size: 14px;
  3482. }
  3483. }
  3484. }
  3485. }
  3486. :first-child {
  3487. .con-l-t {
  3488. height: 60px !important;
  3489. background: url(../../assets/index_img/con-l-t.png) !important;
  3490. border: none !important;
  3491. padding: 8px 0 0 10px !important;
  3492. }
  3493. }
  3494. .box-row2 {
  3495. display: flex;
  3496. align-items: flex-end;
  3497. position: absolute;
  3498. left: 0;
  3499. margin-left: 10px;
  3500. .li-4 {
  3501. width: 4em !important;
  3502. }
  3503. .li-7 {
  3504. width: 7em !important;
  3505. }
  3506. }
  3507. .box-row {
  3508. display: flex;
  3509. .con-l-t {
  3510. width: 92px;
  3511. height: 53px;
  3512. font-size: 14px;
  3513. background: linear-gradient(0deg, #0E244B 0%, #537AB4 100%);
  3514. border-radius: 5px;
  3515. border: 1px solid #23466C;
  3516. color: #F1F2F7;
  3517. display: flex;
  3518. flex-direction: column;
  3519. align-items: start;
  3520. margin-right: 10px;
  3521. padding: 6px 0 0 10px;
  3522. :last-child {
  3523. font-weight: bold;
  3524. }
  3525. }
  3526. .con-r {
  3527. display: flex;
  3528. flex-direction: column;
  3529. font-size: 14px;
  3530. color: #F1F2F7;
  3531. line-height: 21px;
  3532. position: relative;
  3533. top: -5px;
  3534. .line-x {
  3535. width: 10px;
  3536. height: 1px;
  3537. background: #339DC6;
  3538. position: absolute;
  3539. left: -10px;
  3540. top: 32px;
  3541. }
  3542. .line-x6 {
  3543. width: 1px;
  3544. height: 10px;
  3545. background: #339DC6;
  3546. position: absolute;
  3547. left: -55px;
  3548. bottom: -10px;
  3549. }
  3550. .line-x7 {
  3551. width: 265px;
  3552. height: 1px;
  3553. background: #339DC6;
  3554. position: absolute;
  3555. left: -55px;
  3556. bottom: -10px;
  3557. }
  3558. .line-x8 {
  3559. width: 1px;
  3560. height: 21px;
  3561. background: #339DC6;
  3562. position: absolute;
  3563. left: 50px;
  3564. bottom: -10px;
  3565. }
  3566. .line-x9 {
  3567. width: 1px;
  3568. height: 43px;
  3569. background: #339DC6;
  3570. position: absolute;
  3571. left: 209px;
  3572. bottom: -10px;
  3573. }
  3574. li {
  3575. padding-left: 18px;
  3576. line-height: 22px;
  3577. background: url(../../assets/index_img/line-bg-mid.png) no-repeat left top;
  3578. :first-child {
  3579. width: 3em;
  3580. display: inline-block;
  3581. text-align: justify;
  3582. text-align-last: justify;
  3583. }
  3584. :last-child {
  3585. margin-left: 5px;
  3586. }
  3587. }
  3588. li:first-child {
  3589. background: url(../../assets/index_img/line-bg-top.png) no-repeat left top;
  3590. }
  3591. li:last-child {
  3592. background: url(../../assets/index_img/line-bg-btm.png) no-repeat left top;
  3593. }
  3594. }
  3595. .con-r-2 {
  3596. top: 0 !important;
  3597. justify-content: center;
  3598. .line-x {
  3599. top: 26px !important;
  3600. }
  3601. }
  3602. .con-r-3 {
  3603. top: 0 !important;
  3604. justify-content: center;
  3605. .line-x {
  3606. top: 128px !important;
  3607. }
  3608. }
  3609. .con-r-8 {
  3610. flex-direction: row !important;
  3611. ul {
  3612. margin-left: 50px;
  3613. }
  3614. }
  3615. }
  3616. }
  3617. /*左侧*/
  3618. .left-content {
  3619. width: 430px;
  3620. height:86vh;
  3621. overflow-y: auto;
  3622. top: 90px;
  3623. position: absolute;
  3624. left: 20px;
  3625. z-index: 80;
  3626. display: flex;
  3627. flex-wrap: wrap;
  3628. align-content: flex-start;
  3629. justify-content: space-evenly;
  3630. color: #fff;
  3631. font-size: 14px;
  3632. }
  3633. .right-content {
  3634. width: 430px;
  3635. height:86vh;
  3636. overflow-y: auto;
  3637. top: 90px;
  3638. position: absolute;
  3639. right: 20px;
  3640. z-index: 80;
  3641. display: flex;
  3642. flex-wrap: wrap;
  3643. align-content: flex-start;
  3644. justify-content: space-evenly;
  3645. color: #fff;
  3646. font-size: 14px;
  3647. }
  3648. .middle-content{
  3649. width: 900px;
  3650. height:86vh;
  3651. overflow-y: auto;
  3652. top:90px;
  3653. position: absolute;
  3654. left: 50%;
  3655. z-index: 80;
  3656. display: flex;
  3657. justify-content: space-between;
  3658. flex-wrap:wrap;
  3659. color: #fff;
  3660. font-size: 14px;
  3661. transform: translateX(-50%);
  3662. }
  3663. .contfl{
  3664. width: 430px !important;
  3665. }
  3666. // 手风琴
  3667. .accordion{
  3668. border: none;
  3669. ::v-deep .el-collapse-item__header{
  3670. background: url('../../assets/images/gangwei/a-tle.png') no-repeat 15px center;
  3671. font-size: 16px;
  3672. color: #FFFFFF;
  3673. padding: 0 10px 0 45px;
  3674. height: 50px;
  3675. line-height: 50px;
  3676. border: none;
  3677. }
  3678. ::v-deep .el-collapse-item__header.is-active{
  3679. box-shadow:inset 0 0 10px 5px rgb(43 87 156 / 80%);
  3680. }
  3681. ::v-deep .el-collapse-item__wrap{
  3682. background: transparent;
  3683. border-bottom: 1px solid #295292;
  3684. }
  3685. ::v-deep .el-collapse-item__content{
  3686. padding-bottom:10px;
  3687. }
  3688. }
  3689. // 隐患住宅分析
  3690. .yhlist-title{
  3691. width:100%;
  3692. height: 50px;
  3693. box-shadow:inset 0 0 10px 5px rgb(43 87 156 / 80%);
  3694. display: flex;
  3695. justify-content:space-between;
  3696. span{
  3697. font-size: 16px;
  3698. color: #00DEFF;
  3699. line-height: 50px;
  3700. }
  3701. span:nth-child(1){
  3702. width: 300px;
  3703. text-align: left;
  3704. padding: 0 0 0 20px;
  3705. }
  3706. span:nth-child(2){
  3707. width: 120px;
  3708. text-align: center;
  3709. }
  3710. }
  3711. .yhlist-cont{
  3712. width:100%;
  3713. .yhlist-cont-in{
  3714. height: 40px;
  3715. display: flex;
  3716. justify-content:space-between;
  3717. span{
  3718. font-size: 14px;
  3719. color: #FFFFFF;
  3720. line-height: 40px;
  3721. }
  3722. span:nth-child(1){
  3723. width: 300px;
  3724. text-align: left;
  3725. padding: 0 0 0 20px;
  3726. }
  3727. span:nth-child(2){
  3728. width: 120px;
  3729. text-align: center;
  3730. color: #00DEFF;
  3731. }
  3732. }
  3733. .yhlist-cont-in:nth-child(2n){
  3734. background:linear-gradient(to right, rgb(85 139 212 / 30%), rgba(85, 139, 212, 0));
  3735. }
  3736. }
  3737. //左右侧按钮
  3738. .btn {
  3739. display: flex;
  3740. justify-content: center;
  3741. width: 300px;
  3742. height: 195px;
  3743. transition: all 0.5s ease-in-out;
  3744. .btn-left {
  3745. display: flex;
  3746. flex-direction: column;
  3747. justify-content: center;
  3748. align-items: center;
  3749. cursor: pointer;
  3750. img {
  3751. width: 160px;
  3752. height: 155px;
  3753. margin-top: 1.25rem;
  3754. }
  3755. span {
  3756. font-weight: 400;
  3757. font-size: 24px;
  3758. color: #EFF8FC;
  3759. line-height: 28px;
  3760. font-family: pmzd;
  3761. }
  3762. }
  3763. .btn-right {
  3764. display: flex;
  3765. flex-direction: column;
  3766. justify-content: center;
  3767. .btn-right-con {
  3768. cursor: pointer;
  3769. width: 131px;
  3770. height: 37px;
  3771. text-align: center;
  3772. background: url('../../assets/index_img/name-bg.png') no-repeat center;
  3773. font-weight: 400;
  3774. font-size: 14px;
  3775. line-height: 32px;
  3776. color: #EFF8FC;
  3777. transition: all .2s ease-in-out;
  3778. }
  3779. .btn-right-con:hover {
  3780. filter: hue-rotate(-70deg);
  3781. }
  3782. }
  3783. }
  3784. .con_right {
  3785. position: absolute;
  3786. right: 20px;
  3787. top: 100px;
  3788. z-index: 999;
  3789. background: rgba(0, 10, 24, 0.67);
  3790. width: 360px;
  3791. .con_tckz {
  3792. .con_tckz_div {
  3793. margin: 0px 10px;
  3794. .tekz_div {
  3795. font-size: 14px;
  3796. text-align: left;
  3797. color: #fff;
  3798. padding-bottom: 15px;
  3799. border-bottom: 1px dashed #4a5958;
  3800. margin-bottom: 15px;
  3801. .tc_div {
  3802. line-height: 40px;
  3803. padding-left: 15px;
  3804. display: flex;
  3805. flex-direction: row;
  3806. width: 100%;
  3807. .scrollx {
  3808. width: 100%;
  3809. white-space: nowrap;
  3810. display: flex;
  3811. flex-direction: row;
  3812. /*height: 40px;*/
  3813. span {
  3814. display: block;
  3815. width: 80px;
  3816. }
  3817. .scroll-container {
  3818. display: block;
  3819. /*height: 40px;*/
  3820. /*overflow-y: scroll;*/
  3821. width: 220px;
  3822. .el-checkbox-group {
  3823. label {
  3824. display: block;
  3825. float: left;
  3826. }
  3827. }
  3828. }
  3829. }
  3830. }
  3831. }
  3832. .scroll-container::-webkit-scrollbar {
  3833. /*滚动条整体样式*/
  3834. width: 6px !important;
  3835. /*高宽分别对应横竖滚动条的尺寸*/
  3836. height: 1px !important;
  3837. display: block !important;
  3838. cursor: pointer;
  3839. }
  3840. .scroll-container::-webkit-scrollbar-thumb {
  3841. /*滚动条里面小方块*/
  3842. border-radius: 10px;
  3843. height: 15px;
  3844. -webkit-box-shadow: inset 0 0 5px rgba(0, 22, 55, 0.87);
  3845. // background: #E5E5E5;
  3846. background: rgba(38, 235, 255, 0.5);
  3847. }
  3848. .scroll-container::-webkit-scrollbar-track {
  3849. /*滚动条里面轨道*/
  3850. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  3851. border-radius: 10px;
  3852. background: rgba(10, 37, 64, 0.75);
  3853. }
  3854. .map_btn button {
  3855. display: inline-block;
  3856. background: url("../../assets/images/sixZ/sixzbtn1.png") no-repeat center;
  3857. background-size: 100% 100%;
  3858. padding: 8px 20px;
  3859. margin: 8px 8px 8px 0px;
  3860. font-size: 14px;
  3861. color: #fff;
  3862. cursor: pointer;
  3863. }
  3864. .map_btn button.on {
  3865. background: url("../../assets/images/sixZ/sixzbtn1_on.png") no-repeat center;
  3866. background-size: 100% 100%;
  3867. box-shadow: none;
  3868. }
  3869. .map_clear {
  3870. background: #09335f;
  3871. color: #a4bfe2;
  3872. font-size: 14px;
  3873. float: right;
  3874. margin: 20px 0px;
  3875. display: inline-block;
  3876. padding: 6px 18px;
  3877. }
  3878. .map_clear:hover {
  3879. background: #0a5184;
  3880. }
  3881. }
  3882. }
  3883. }
  3884. .btn:hover {
  3885. filter: brightness(180%);
  3886. }
  3887. .btn-r {
  3888. position: absolute;
  3889. left: 16%;
  3890. top: 15%;
  3891. animation: btnRun 1s, movetop 3.5s 1s infinite;
  3892. }
  3893. .btn-rq {
  3894. position: absolute;
  3895. right: 12%;
  3896. top: 12%;
  3897. animation: btnRun 1s, movetop 4s 1s infinite;
  3898. }
  3899. .btn-ps {
  3900. position: absolute;
  3901. left: 5%;
  3902. top: 38%;
  3903. animation: btnRun 1s, movetop2 5s 1s infinite;
  3904. }
  3905. .btn-ql {
  3906. position: absolute;
  3907. left: 12%;
  3908. top: 60%;
  3909. animation: btnRun 1s, movetop2 3s 1s infinite;
  3910. }
  3911. .btn-gl {
  3912. position: absolute;
  3913. right: 6%;
  3914. top: 38%;
  3915. animation: btnRun 1s, movetop2 4s 1s infinite;
  3916. }
  3917. .btn-gs {
  3918. position: absolute;
  3919. right: 16%;
  3920. top: 59%;
  3921. animation: btnRun 1s, movetop2 2s 1s infinite;
  3922. }
  3923. //雷达
  3924. .radar {
  3925. display: flex;
  3926. position: absolute;
  3927. left: 50%;
  3928. top: 40%;
  3929. transform: translate(-50%, -40%);
  3930. justify-content: center;
  3931. align-items: center;
  3932. width: 726px;
  3933. height: 726px;
  3934. animation: radarOP 1s ease-in;
  3935. }
  3936. .rotating-bg {
  3937. position: relative;
  3938. z-index: 100;
  3939. animation: rotatebg 2s infinite linear;
  3940. }
  3941. .rotating-image {
  3942. position: relative;
  3943. animation: rotate 5s infinite linear;
  3944. z-index: 150;
  3945. }
  3946. .btm-btn2 {
  3947. position: absolute;
  3948. bottom: 80px;
  3949. width: 100%;
  3950. display: flex;
  3951. justify-content: center;
  3952. align-items: center;
  3953. cursor: pointer;
  3954. animation: btmmove2 1s ease-out;
  3955. .btn-span2 {
  3956. margin: 0 10px;
  3957. display: flex;
  3958. flex-direction: column;
  3959. align-items: center;
  3960. transition: all 0.3s;
  3961. img {
  3962. width: 150px;
  3963. height: 100px;
  3964. }
  3965. span {
  3966. font-size: 20px;
  3967. color: #EFF2FF;
  3968. font-family: ysbth;
  3969. line-height: 40px;
  3970. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  3971. -webkit-background-clip: text;
  3972. -webkit-text-fill-color: transparent;
  3973. margin-top: -10px;
  3974. display: block;
  3975. text-align: center;
  3976. }
  3977. }
  3978. .btn-span2:hover {
  3979. filter: brightness(170%) hue-rotate(-20deg);
  3980. transform: translateY(-10px);
  3981. }
  3982. }
  3983. }
  3984. .con_tit {
  3985. font-size: 18px;
  3986. font-family: 'ysbth';
  3987. color: #fff;
  3988. padding-left: 30px;
  3989. background: url("../../assets/images/sixZ/sixztit.png") no-repeat left;
  3990. background-size: 100% 100%;
  3991. height: 35px;
  3992. line-height: 35px;
  3993. margin-bottom: 15px;
  3994. }
  3995. .map_tab {
  3996. display: flex;
  3997. flex-direction: row;
  3998. justify-content: space-around;
  3999. margin-bottom: 25px !important;
  4000. border-bottom: 2px solid rgba(13, 107, 179, 0.53);
  4001. span {
  4002. display: block;
  4003. /*background: rgba(13, 107, 179, 0.53);*/
  4004. padding: 8px 20px;
  4005. color: #fff;
  4006. font-size: 16px;
  4007. text-shadow: 0px 0px 4px #0bf3f7;
  4008. cursor: pointer;
  4009. }
  4010. .on {
  4011. color: #0bf3f7;
  4012. background: none !important;
  4013. box-shadow: none;
  4014. font-weight: bold;
  4015. position: relative;
  4016. }
  4017. .on::after {
  4018. content: '';
  4019. display: block;
  4020. position: absolute;
  4021. bottom: -10px;
  4022. /* 下三角位于链接的底部 */
  4023. left: 50%;
  4024. /* 水平居中 */
  4025. width: 0;
  4026. height: 0;
  4027. border-left: 9px solid transparent;
  4028. /* 左边透明 */
  4029. border-right: 9px solid transparent;
  4030. /* 右边透明 */
  4031. border-top: 10px solid rgba(13, 107, 179, 0.53);
  4032. /* 上边是三角形颜色 */
  4033. transform: translateX(-50%);
  4034. /* 确保三角形中心对齐链接的中心 */
  4035. }
  4036. }
  4037. .h-220{
  4038. height: 200px !important;
  4039. font-size: 14px;
  4040. color: #fff;
  4041. }
  4042. .h-736{
  4043. height: 736px !important;
  4044. }
  4045. .h-470{
  4046. margin: 0 0 30px 0 !important;
  4047. height: 470px !important;
  4048. }
  4049. .tubiao{
  4050. width: 100%;
  4051. height: 180px;
  4052. }
  4053. .mydtubiao{
  4054. width:68%;
  4055. height: 180px;
  4056. }
  4057. .myddc{
  4058. display: flex;
  4059. justify-content: space-between;
  4060. dl{
  4061. dd{
  4062. width: 140px;
  4063. height: 42px;
  4064. background: rgb(64 127 255 / 20%);
  4065. display: flex;
  4066. justify-content: space-between;
  4067. padding: 0 10px;
  4068. margin: 12px 0;
  4069. span{
  4070. font-size: 14px;
  4071. color: #52FFFF;
  4072. line-height: 42px;
  4073. background: linear-gradient(0deg, #82B5EA 0%, #52FFFF 0%, #2AACFA 100%);
  4074. -webkit-background-clip: text;
  4075. -webkit-text-fill-color: transparent;
  4076. }
  4077. }
  4078. }
  4079. }
  4080. .pcfg{
  4081. display: flex;
  4082. justify-content: space-around;
  4083. .pcChart{
  4084. width: 50%;
  4085. text-align: center;
  4086. div{
  4087. width: 100%;
  4088. height: 150px;
  4089. }
  4090. span{
  4091. font-size: 14px;
  4092. color: #fff;
  4093. }
  4094. }
  4095. }
  4096. /*公共*/
  4097. .title-bar {
  4098. width: 100%;
  4099. height: 38px;
  4100. background: url(../../assets/index_img/tit-img.png) no-repeat left top;
  4101. display: flex;
  4102. align-items: center;
  4103. justify-content: space-between;
  4104. .sj-right-select {
  4105. width: 140px;
  4106. }
  4107. .num {
  4108. width: 88px;
  4109. height: 27px;
  4110. background: linear-gradient(90deg, #2A6DCD 0%, rgba(56, 123, 196, 0.24) 100%);
  4111. border-radius: 5px;
  4112. line-height: 27px;
  4113. text-align: center;
  4114. font-weight: bold;
  4115. margin-top: 7px;
  4116. }
  4117. span {
  4118. font-size: 20px;
  4119. color: #EFF2FF;
  4120. font-family: ysbth;
  4121. line-height: 40px;
  4122. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  4123. -webkit-background-clip: text;
  4124. -webkit-text-fill-color: transparent;
  4125. margin-left: 55px;
  4126. }
  4127. }
  4128. .fengxian-list{
  4129. width: 100%;
  4130. li{
  4131. margin: 10px 0;
  4132. padding: 10px 20px;
  4133. h2{
  4134. font-size: 16px;
  4135. color: #9CEDFD;
  4136. line-height: 36px;
  4137. }
  4138. span{
  4139. font-size: 14px;
  4140. color: #b8b9b9;
  4141. line-height: 20px;
  4142. }
  4143. }
  4144. li:hover,li.active{
  4145. background:linear-gradient(to right, rgb(85 139 212 / 30%), rgb(85 139 212 / 0%));
  4146. }
  4147. }
  4148. </style>
  4149. <style lang="scss">
  4150. .zhiban-list {
  4151. top:99px !important;
  4152. max-height: 84vh !important;
  4153. background: linear-gradient(0deg, rgba(12, 36, 66, 0.8) 0%, #1D5592 100%);
  4154. border: 1px solid #326e96;
  4155. height: 82vh;
  4156. }
  4157. .zb-cont{
  4158. // background: linear-gradient(90deg, rgba(6, 20, 36, 0.3), rgba(50, 81, 128, 0.3));
  4159. border-radius: 8px;
  4160. // border: 1px solid #23466C;
  4161. // margin-top: 2px;
  4162. max-height: 77vh;
  4163. overflow: auto;
  4164. .el-collapse-item__header{
  4165. color: #fff;
  4166. border-bottom: none;
  4167. background: url(../../assets/index_img/list-bg-img-1.png) no-repeat;
  4168. padding: 0 0 0 20px;
  4169. margin: 10px 0;
  4170. }
  4171. .el-collapse-item__header.is-active{
  4172. background: url(../../assets/index_img/list-bg-img-2.png) no-repeat;
  4173. }
  4174. .el-collapse{
  4175. border: none !important;
  4176. }
  4177. .el-collapse-item__wrap {
  4178. background-color: rgba(12, 44, 80, 0.52);
  4179. border: 1px solid #326e96;
  4180. }
  4181. .person-list{
  4182. display: flex;
  4183. width: 91%;
  4184. margin-left: 9%;
  4185. justify-content: space-around;
  4186. align-items: center;
  4187. background-color: rgba(12, 44, 80, 0.52);
  4188. height:50px;
  4189. border: 1px solid #326e96;
  4190. border-radius: 10px;
  4191. margin: 10px auto;
  4192. color: #fff;
  4193. img{
  4194. width: 35px;
  4195. height: 40px;
  4196. }
  4197. }
  4198. }
  4199. .riskList{
  4200. .el-dialog {
  4201. left: 450px;
  4202. }
  4203. .el-dialog:not(.is-fullscreen){
  4204. margin: 12vh 0 0 0 !important;
  4205. }
  4206. }
  4207. .visual-body{
  4208. height: 100vh;
  4209. }
  4210. /*底部背景*/
  4211. .footerbj {
  4212. width: 100%;
  4213. height: 71px;
  4214. background: url(../../assets/index_img/button-list.png) no-repeat center;
  4215. position: absolute;
  4216. bottom: 0;
  4217. z-index: 2;
  4218. }
  4219. //底部按钮5个
  4220. .life-btm-btn-a {
  4221. position: absolute;
  4222. bottom: 0;
  4223. width: 100%;
  4224. display: flex;
  4225. justify-content: center;
  4226. align-items: center;
  4227. z-index: 100;
  4228. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  4229. .btn-span:nth-child(1) {
  4230. animation: btnmove 1s;
  4231. }
  4232. .btn-span:nth-child(2) {
  4233. animation: btnmove 1.2s;
  4234. }
  4235. .btn-span:nth-child(3) {
  4236. animation: btnmove 1.4s;
  4237. }
  4238. .btn-span:nth-child(4) {
  4239. animation: btnmove 1.6s;
  4240. }
  4241. .btn-span:nth-child(5) {
  4242. animation: btnmove 1.8s;
  4243. }
  4244. .btn-span:nth-child(6) {
  4245. animation: btnmove 2s;
  4246. }
  4247. .btn-span:nth-child(7) {
  4248. animation: btnmove 2.2s;
  4249. }
  4250. .btn-span7{
  4251. width: 120px !important;
  4252. background-size: contain !important;
  4253. height: 40px !important;
  4254. }
  4255. .btn-span {
  4256. width: 166px;
  4257. height: 50px;
  4258. background: url('../../assets/index_img/btm-btn.png') no-repeat center;
  4259. text-align: center;
  4260. display: flex;
  4261. justify-content: center;
  4262. align-items: center;
  4263. margin: 10px 5px;
  4264. transition: all 0.3s ease-in-out;
  4265. cursor: pointer;
  4266. span {
  4267. font-size: 20px;
  4268. color: #EFF2FF;
  4269. font-family: ysbth;
  4270. line-height: 40px;
  4271. background: linear-gradient(0deg, rgba(49, 190, 255, 1), rgba(239, 252, 254, 1), rgba(239, 252, 254, 1));
  4272. -webkit-background-clip: text;
  4273. -webkit-text-fill-color: transparent;
  4274. }
  4275. }
  4276. .btn-span:hover {
  4277. filter: brightness(170%) hue-rotate(-20deg);
  4278. transform: translateY(-10px);
  4279. }
  4280. .btn-span.on {
  4281. filter: brightness(170%) hue-rotate(-20deg);
  4282. box-shadow: none;
  4283. }
  4284. }
  4285. </style>