security-plan.vue 190 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209
  1. <template>
  2. <el-row class="contentBox">
  3. <transition name="el-fade-in-linear">
  4. <el-col class="leftBox" v-show="stroes.$state.leftBtn">
  5. <div class="leftTop">
  6. <h4>疏导区基本情况</h4>
  7. <div class="leftTopContent2">
  8. <!-- <el-row>
  9. <div v-for="(item,index) in diversionArea" :key="index">
  10. <p>{{ item.name }}</p>
  11. <p><strong><CountTo :startVal='0' :endVal='item.value' :duration='5000'> {{ item.value || 0 }}</CountTo></strong>{{ item.unit }}</p>
  12. </div>
  13. </el-row> -->
  14. <el-row class="sdqBasicInfo sdline1">
  15. <div
  16. class="basicItem"
  17. v-for="(item, index) in diversionArea.slice(0,5)"
  18. :key="index"
  19. >
  20. <div style="padding: 0.03rem 0; text-align: center">
  21. <span style="display: block">
  22. <Strong
  23. style="color: #01E0FF;font-weight: 600;font-size: 0.26rem"
  24. >
  25. <!-- <CountTo :startVal="0" :endVal="item.value || 0" :duration="3000" v-if="!isNaN(item.value)">{{ item.value || 0 }}</CountTo>-->
  26. <span v-if="isNaN(item.value)" style="fontSize: 0.2rem !important">{{ item.value || 0 }}</span>
  27. <span v-if="!isNaN(item.value)">{{ item.value }}</span>
  28. </Strong>
  29. {{ item.unit }}
  30. </span>
  31. <span class="nameBox" style="">{{ item.name }}</span>
  32. </div>
  33. </div>
  34. </el-row>
  35. <el-row class="sdqBasicInfo sdline2" >
  36. <div
  37. class="basicItem"
  38. v-for="(item, index) in diversionArea.slice(7,10)"
  39. :key="index"
  40. >
  41. <div style="padding: 0.03rem 0; text-align: center">
  42. <span style="display: block">
  43. <Strong
  44. style="color: #F48354;font-weight: 600;font-size: 0.3rem"
  45. >
  46. <CountTo :startVal="0" :endVal="item.value || 0" :duration="3000" v-if="!isNaN(item.value)">{{ item.value || 0 }}</CountTo>
  47. <span v-if="isNaN(item.value)" style="fontSize: 0.2rem !important">{{ item.value || 0 }}</span>
  48. </Strong>
  49. {{ item.unit }}
  50. </span>
  51. <span class="nameBox" style="">{{ item.name }}</span>
  52. </div>
  53. </div>
  54. </el-row>
  55. <el-row v-if="basicStatisStatus" class="sdline3" >
  56. <div
  57. class="basicItem"
  58. v-for="(item, index) in line3Array"
  59. :key="index"
  60. @click="basicStaticsData(item.value,item.name)"
  61. >
  62. <div style="padding: 0.03rem 0; text-align: center">
  63. <span style="display: block">
  64. <Strong
  65. style="color: #4FE261;font-weight: 600;font-size: .225rem"
  66. >
  67. <CountTo :startVal="0" :endVal="item.count || 0" :duration="3000" v-if="!isNaN(item.count)">{{ item.count || 0 }}</CountTo>
  68. <span v-if="isNaN(item.count)" style="fontSize: 0.2rem !important">{{ item.count || 0 }}</span>
  69. </Strong>
  70. {{ item.unit }}
  71. </span>
  72. <span class="nameBox" style="font-size:12px">{{ item.name }}</span>
  73. </div>
  74. </div>
  75. </el-row>
  76. <el-row v-else class="sdqBasicInfo sdline3" style="position:relative">
  77. <div @click="basicGoBack" class="return">
  78. <div class="returnText">返回</div>
  79. </div>
  80. 表格展示区域
  81. <!-- <el-table :data="tableDataBasic" style="width: 100%;height:1.7rem;margin-top:20px;" class="transparentTableRow" @mouseenter="autoScroll1(true)" @mouseleave="autoScroll1()">
  82. <el-table-column prop="date" label="Date" width="180" />
  83. <el-table-column prop="name" label="Name" width="180" />
  84. <el-table-column prop="address" label="Address" />
  85. </el-table> -->
  86. </el-row>
  87. </div>
  88. </div>
  89. <div class="leftCenter">
  90. <div style="display: flex;">
  91. <h4>疏导区社会单位情况</h4>
  92. <div style="display: flex; border-bottom: 0.0125rem solid rgba(115, 251, 253, 0.5);">
  93. <el-form class="titleElForm" :inline="true" size="mini" :model="barForm" style="height: 0">
  94. <el-form-item>
  95. <!-- <el-select v-model="barForm.fireType" @change="getHouse()" filterable clearable placeholder="场所">
  96. <el-option v-for="(item, ind) in fireTypeList" :key="ind" :label="item" :value="item"></el-option>
  97. </el-select> -->
  98. <!-- <el-select v-model="units" filterable clearable placeholder="场所">
  99. <el-option v-for="(item, ind) in diversionArea" :key="ind" :label="item.name" :value="item.value"></el-option>
  100. </el-select> -->
  101. <el-select v-model="value111" @change="getOneUnit" class="m-2" placeholder="请选择" style="width:200px">
  102. <el-option
  103. v-for="item in line3Array"
  104. :key="item.value"
  105. :label="item.name"
  106. :value="item.value"
  107. />
  108. </el-select>
  109. </el-form-item>
  110. </el-form>
  111. </div>
  112. </div>
  113. <unit-box :typeValue="value111" :arrayData="arrayData" :staticData="staticData" v-if="staticData.total" :type="value111" @staticsPoint="staticsPoint"></unit-box>
  114. <div v-else>暂无数据</div>
  115. <!-- <category
  116. ref="category"
  117. v-show="category"
  118. :dataMap="reportComplaintList.map((val, ind) => val.value)"
  119. :xData="reportComplaintList.map((val, ind) => val.name)"
  120. :isSlice="10"
  121. :width="40"
  122. color="#73FBFD"
  123. @echartsClick="categoryClick"
  124. ></category> -->
  125. </div>
  126. <div class="rightCenter">
  127. <h4>执勤战备力量部署</h4>
  128. <div class="rightTopContent">
  129. <div style="width:95%;margin:0 auto;border: 1px solid rgba(48, 207, 255, 0.6); box-shadow: inset 0 0 0.07rem 0.04rem rgb(115 251 253 / 40%); box-sizing: border-box;display: flex;
  130. justify-content: space-between;padding: .15rem .125rem .15rem">
  131. <span>闵行支队安保分指挥所</span> <span>淮虹路151弄9号</span> <span>电台:闵101</span> <span>值班电话:33281293</span>
  132. </div>
  133. <el-row>
  134. <el-col :span="5" style="border: 1px solid rgba(48, 207, 255, 0.6); margin: .25rem .08rem .125rem .16rem; box-shadow: inset 0 0 0.07rem 0.04rem rgb(115 251 253 / 40%); box-sizing: border-box"
  135. v-for="(item,index) in staticData.array1" :key="index" @click="goPoints(item.facilityType)">
  136. <div style="padding: 0.2rem 0; text-align: center;user-select:none !important">
  137. <span style="display: block">
  138. <Strong style="color:rgb(1, 224, 255)" :style="{ fontSize: '0.3rem'}" >
  139. <CountTo :startVal='0' :endVal='item.count || 0' :duration='3000'>{{ item.count || 0 }}</CountTo>
  140. </Strong>
  141. </span>
  142. <span style="font-size:.1375rem">{{item.streetTown}}</span>
  143. </div>
  144. </el-col>
  145. </el-row>
  146. <!-- <el-table :data="tableData2" class="transparentTableRow" height="100%" :empty-text="dataNo">
  147. <el-table-column type="expand">
  148. <template #default="props">
  149. <template v-if="props.row.children">
  150. <template v-for="(item, ind) in props.row.children" :key="ind">
  151. <el-row class="tableExpendTitle" style="margin-top: 10px">
  152. 状态:{{ item.carStatus }}({{ item.equipTypeName ? item.equipTypeName + "," : "" }}{{ item.renyuanNum }}人)
  153. </el-row>
  154. <el-row class="tableExpendcontent">
  155. <el-col>
  156. <div>
  157. 车牌号:<span style="color: #6ff3f6">{{ item.cphm }}</span>
  158. </div>
  159. </el-col>
  160. <el-col v-if="item.zhy" :span="12">
  161. <div>
  162. 指挥员:<span style="color: #6ff3f6">{{ item.zhy }}</span>
  163. </div>
  164. </el-col>
  165. <el-col v-if="item.txy" :span="12">
  166. <div>
  167. 通讯员:<span style="color: #6ff3f6">{{ item.txy }}</span>
  168. </div>
  169. </el-col>
  170. <el-col v-if="item.jsy" :span="12">
  171. <div>
  172. 驾驶员:<span style="color: #6ff3f6">{{ item.jsy }}</span>
  173. </div>
  174. </el-col>
  175. <el-col v-if="item.zsry" :span="24">
  176. <div>
  177. 战士人员:<span style="color: #6ff3f6">{{ item.zsry }}</span>
  178. </div>
  179. </el-col>
  180. </el-row>
  181. </template>
  182. </template>
  183. </template>
  184. </el-table-column>
  185. <el-table-column show-overflow-tooltip v-for="item in headerData2" :key="item.prop" :prop="item.prop" align="center" min-width="20" :label="item.name">
  186. <template v-if="item.prop === 'car'" #default="scope">
  187. <span style="color: #6ff3f6">{{ scope.row.car }}</span>
  188. </template>
  189. <template v-if="item.prop === 'personnel'" #default="scope">
  190. <span style="color: #6ff3f6">{{ scope.row.personnel }}</span>
  191. </template>
  192. </el-table-column>
  193. </el-table> -->
  194. </div>
  195. </div>
  196. <!-- <div class="leftCenter">
  197. <h4 class="h4Top">接警处置情况</h4>
  198. <category
  199. ref="category"
  200. v-show="category"
  201. :dataMap="reportComplaintList.map((val, ind) => val.value)"
  202. :xData="reportComplaintList.map((val, ind) => val.name)"
  203. :isSlice="10"
  204. :width="40"
  205. color="#73FBFD"
  206. @echartsClick="categoryClick"
  207. ></category>
  208. <div @click="goBack" class="return" v-if="!category">
  209. <div class="returnText">返回</div>
  210. </div>
  211. </div> -->
  212. <div class="leftBotContent2">
  213. <el-table v-if="!category" :data="tableData" class="transparentTableRow" height="100%" ref="reportTable" @mouseenter="autoScroll(true)" @mouseleave="autoScroll()">
  214. <el-table-column v-for="item in headerData" show-overflow-tooltip :key="item.prop" :prop="item.prop" align="center" min-width="20" :label="item.name">
  215. <template #default="scope">
  216. {{ item.prop === "type" ? "" : item.prop === "status" ? (scope.row[item.prop] == 1 ? "可用" : "不可用") : scope.row[item.prop] }}
  217. </template>
  218. </el-table-column>
  219. </el-table>
  220. </div>
  221. </el-col>
  222. </transition>
  223. <transition name="el-fade-in-linear">
  224. <el-col class="centerBox" style="width: 100%">
  225. <div :class="stroes.$state.leftBtn ? 'leftBtn btnW' : 'leftBtn0 btnW'" @click="stroes.leftBtnClick()">
  226. <img src="@/assets/img/svg/left.svg" alt="" class="img" />
  227. </div>
  228. <el-col class="centerContent" id="mapF"></el-col>
  229. <div :class="stroes.$state.rightBtn ? 'rightBtn btnW' : 'rightBtn0 btnW'" @click="stroes.rightBtnClick()">
  230. <img src="@/assets/img/svg/left.svg" alt="" class="img" />
  231. </div>
  232. <div class="mapTips_type">
  233. <img src="@/assets/img/svg/danweitop.svg" alt="" class="img" />
  234. <div class="content">
  235. <p>类型筛选</p>
  236. <div class="selectType">
  237. <!-- <div @click="checkboxChange(0)" :class="checkedArray.checkedData[0] == 0 ? 'checkTypeSelect' : ''">
  238. <img :src="stores.sadianIcon.xfc" alt="" />
  239. <span>车辆</span>
  240. </div> -->
  241. <!-- <div @click="checkboxChange(1)" :class="checkedArray.checkedData[0] == 1 ? 'checkTypeSelect' : ''">
  242. <img :src="stores.sadianIcon.lsjq" alt="" />
  243. <span>历史警情</span>
  244. </div>
  245. <div @click="checkboxChange(2)" :class="checkedArray.checkedData[0] == 2 ? 'checkTypeSelect' : ''">
  246. <img :src="stores.sadianIcon.lshz" alt="" />
  247. <span>历史火灾</span>
  248. </div> -->
  249. <!-- <div @click="checkboxChange(3)" :class="checkedArray.checkedData[0] == 3 ? 'checkTypeSelect' : ''">
  250. <img :src="stores.sadianIcon.zddw" alt="" />
  251. <span>重点单位</span>
  252. </div> -->
  253. <!-- <div
  254. :class="
  255. checkedArray.checkedData[0] == 4
  256. ? 'checkTypeSelect'
  257. : checkedArray.checkedData[0] == 40
  258. ? 'checkTypeSelect'
  259. : checkedArray.checkedData[0] == 41
  260. ? 'checkTypeSelect'
  261. : checkedArray.checkedData[0] == 42
  262. ? 'checkTypeSelect'
  263. : checkedArray.checkedData[0] == 43
  264. ? 'checkTypeSelect'
  265. : checkedArray.checkedData[0] == 44
  266. ? 'checkTypeSelect'
  267. : checkedArray.checkedData[0] == 45
  268. ? 'checkTypeSelect'
  269. : checkedSelectValue == '46'
  270. ? stores.sadianIcon.yjxfz
  271. : checkedSelectValue == '47'
  272. ? stores.sadianIcon.jzzzxfd
  273. : ' '
  274. "
  275. >
  276. <img
  277. :src="
  278. checkedSelectValue == '40'
  279. ? stores.sadianIcon.xfz
  280. : checkedSelectValue == '41'
  281. ? stores.sadianIcon.zzd
  282. : checkedSelectValue == '42'
  283. ? stores.sadianIcon.jzwxxfz
  284. : checkedSelectValue == '43'
  285. ? stores.sadianIcon.csxfz
  286. : checkedSelectValue == '44'
  287. ? stores.sadianIcon.qyxfd
  288. : checkedSelectValue == '45'
  289. ? stores.sadianIcon.sqwxxfz
  290. : checkedSelectValue == '46'
  291. ? stores.sadianIcon.sqwxxfz
  292. : checkedSelectValue == '47'
  293. ? stores.sadianIcon.sqwxxfz
  294. : stores.sadianIcon.xfz
  295. "
  296. alt=""
  297. />
  298. <span>{{ checkedSelectLabel }}</span>
  299. <el-select
  300. v-model="checkedSelectValue"
  301. placeholder="消防站"
  302. class="selectTypeIcon"
  303. style="display: inline-block; width: 100%; position: absolute; right: 0"
  304. @change="selectArray"
  305. >
  306. <el-option v-for="item in checkedSelectArray" :key="item.value" :label="item.label" :value="item.value"> </el-option>
  307. </el-select>
  308. </div> -->
  309. <div @click="checkboxChange(19)" :class="checkedArray.checkedData[0] == 19 ? 'checkTypeSelect' : ''">
  310. <img :src="stores.sadianIcon.d" alt="" />
  311. <span>大网格</span>
  312. </div>
  313. <div @click="checkboxChange(15)" :class="checkedArray.checkedData[0] == 15 ? 'checkTypeSelect' : ''">
  314. <img :src="stores.sadianIcon.z" alt="" />
  315. <span>中网格</span>
  316. </div>
  317. <div @click="checkboxChange(16)" :class="checkedArray.checkedData[0] == 16 ? 'checkTypeSelect' : ''">
  318. <img :src="stores.sadianIcon.x" alt="" />
  319. <span>小网格</span>
  320. </div>
  321. <!-- <div @click="checkboxChange(17)" :class="checkedArray.checkedData[0] == 17 ? 'checkTypeSelect' : ''">
  322. <img :src="stores.sadianIcon.ssjq" alt="" />
  323. <span>监控视频</span>
  324. </div>
  325. <div @click="checkboxChange(18)" :class="checkedArray.checkedData[0] == 18 ? 'checkTypeSelect' : ''">
  326. <img :src="stores.sadianIcon.jdjc" alt="" />
  327. <span>监督检查</span>
  328. </div> -->
  329. <div @click="checkboxChange(20)" :class="checkedArray.checkedData[0] == 20 ? 'checkTypeSelect' : ''">
  330. <img :src="stores.sadianIcon.zfjly" alt="" />
  331. <span>执法记录仪</span>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. </el-col>
  337. </transition>
  338. <transition name="el-fade-in-linear">
  339. <el-col class="rightBox" v-show="stroes.$state.rightBtn">
  340. <!-- 疏导区每日动态 start -->
  341. <div class="dailyNewSec">
  342. <h4 style="display: flex">疏导区每日动态</h4>
  343. <div class="dailyItem ">
  344. <Vue3SeamlessScroll :list="dailyArray" :step=".1" :hover="true">
  345. <el-row>
  346. <el-col v-for="(item,index) in dailyArray" :key="index">
  347. <a target="_blank" @click="openPdf(item.url)">{{ item.title }}</a>
  348. </el-col>
  349. </el-row>
  350. </Vue3SeamlessScroll>
  351. </div>
  352. </div>
  353. <!-- 疏导区网格检查情况 start -->
  354. <div class="girdCheckSec">
  355. <h4 style="display: flex">疏导区网格检查情况</h4>
  356. <div class="girdCheckItem">
  357. <div class="row_g">
  358. <div style="font-size:.175rem">累计:</div>
  359. <div @click="basicStaticsData('新消监')">检查家数<br>6279家次</div>
  360. <div @click="basicStaticsData('新消监')">发现隐患数<br>2418处</div>
  361. <div @click="basicStaticsData('新消监')">整改隐患<br>1885处</div>
  362. <div style="font-size:.175rem;margin-left:.125rem" >当日:</div>
  363. <div @click="basicStaticsData('新消监')">检查家数<br>127家次</div>
  364. <div @click="basicStaticsData('新消监')">发现隐患数<br>50处</div>
  365. <div @click="basicStaticsData('新消监')">整改隐患<br>48处</div>
  366. </div>
  367. </div>
  368. <div style="display: flex">
  369. <h4 style="font-size: 0.2rem;border:none"></h4>
  370. <div
  371. style="
  372. display: flex;
  373. border-bottom: 0.0125rem solid
  374. rgba(115, 251, 253, 0.5);
  375. "
  376. >
  377. <el-button
  378. size="mini"
  379. @click="btnC('1')"
  380. :class="{ btnClick: check === '1' }"
  381. >大网格</el-button
  382. >
  383. <el-button
  384. size="mini"
  385. @click="btnC('2')"
  386. :class="{ btnClick: check === '2' }"
  387. >中网格</el-button
  388. >
  389. </div>
  390. </div>
  391. <el-table :data="tableDataGrid"
  392. class="transparentTableRow"
  393. height="57%"
  394. :empty-text="dataNo2"
  395. >
  396. <el-table-column prop="id" label="网格编号" min-width="25" show-overflow-tooltip/>
  397. <el-table-column prop="count1" label="检查家数" min-width="20" show-overflow-tooltip/>
  398. <el-table-column prop="count2" label="发现隐患数" min-width="20" show-overflow-tooltip/>
  399. <el-table-column prop="count3" label="整改隐患" min-width="20" show-overflow-tooltip/>
  400. </el-table>
  401. </div>
  402. <!-- 疏导区单位四色分级情况 start -->
  403. <div class=" ssfjSec">
  404. <h4 style="display: flex">疏导区单位四色分级情况</h4>
  405. <div class="girdCheckItem">
  406. <el-row class="row_g2">
  407. <el-col :span="8">消防安全重点单位<br><span @click="openPdf('http://32.0.15.107:8080/mhvi/zddw.pdf')" style="border-bottom:1px solid #fff">评分标准</span></el-col>
  408. <el-col :span="4" style="color:red" @click="djActiveClick(0)">高风险<br>0(家)</el-col>
  409. <el-col :span="4" style="color:orange" @click="djActiveClick(1)">较高风险<br>9(家)</el-col>
  410. <el-col :span="4" style="color:yellow" @click="djActiveClick(2)">一般风险<br>15(家)</el-col>
  411. <el-col :span="4" style="color:rgb(1, 224, 255)" @click="djActiveClick(3)">低风险<br>152(家)</el-col>
  412. </el-row>
  413. <el-row class="row_g2">
  414. <el-col :span="8">九小场所<br><span @click="openPdf('http://32.0.15.107:8080/mhvi/jxcs.pdf')" style="border-bottom:1px solid #fff">评分标准</span></el-col>
  415. <el-col :span="4" style="color:red" @click="basicStaticsData(39,'高风险')" >高风险<br>{{jxcstj[0]}}(家)</el-col>
  416. <el-col :span="4" style="color:orange" @click="basicStaticsData(39,'较高风险')" >较高风险<br>{{jxcstj[1]}}(家)</el-col>
  417. <el-col :span="4" style="color:yellow" @click="basicStaticsData(39,'一般风险')">一般风险<br>{{jxcstj[2]}}(家)</el-col>
  418. <el-col :span="4" style="color:rgb(1, 224, 255)" @click="basicStaticsData(39,'低风险')">低风险<br>{{jxcstj[3]}}(家)</el-col>
  419. </el-row>
  420. </div>
  421. </div>
  422. <!-- <div class="girdCheckSec">
  423. <h4 style="display: flex">疏导区网格检查情况</h4>
  424. <div class="girdCheckItem">
  425. <p>大网格<span>&nbsp;&nbsp;&nbsp;街镇分营领导:10&nbsp;&nbsp;城运中心主任:10&nbsp;&nbsp;安监所所长:10&nbsp;&nbsp;支队外参谋:10</span></p>
  426. <el-row>
  427. <el-col :span="6">检查家数: 100</el-col>
  428. <el-col :span="6">发现隐患数: 20</el-col>
  429. <el-col :span="6">督改隐患数: 20</el-col>
  430. <el-col :span="6">签约承诺数: 20</el-col>
  431. </el-row>
  432. </div>
  433. <div class="girdCheckItem">
  434. <p>中网格</p>
  435. <el-row>
  436. <el-col :span="6">检查家数: 100</el-col>
  437. <el-col :span="6">发现隐患数: 20</el-col>
  438. <el-col :span="6">督改隐患数: 20</el-col>
  439. <el-col :span="6">签约承诺数: 20</el-col>
  440. </el-row>
  441. </div>
  442. <div class="girdCheckItem">
  443. <p>小网格</p>
  444. <el-row>
  445. <el-col :span="6">检查家数: 100</el-col>
  446. <el-col :span="6">发现隐患数: 20</el-col>
  447. <el-col :span="6">督改隐患数: 20</el-col>
  448. <el-col :span="6">签约承诺数: 20</el-col>
  449. </el-row>
  450. </div>
  451. <br>
  452. </div> -->
  453. <!-- 疏导区网格检查情况 end -->
  454. <!-- <div class="rightTop3">
  455. <h4 style="display: flex">处置网格</h4>
  456. <div class="rightTopContent">
  457. <el-row v-if="gridStatisticsStatus">
  458. <el-col :span="12" @click="gridStatistics(1)">
  459. <div>
  460. <div class="left">
  461. <img src="@a/img/sadian/sbs.png" alt="" />
  462. <div>上报数</div>
  463. </div>
  464. <el-row class="right">
  465. <el-col :span="24" style="color: #ff0000">{{ gridStatisticsNum.total || 0 }}</el-col>
  466. </el-row>
  467. </div>
  468. </el-col>
  469. <el-col :span="12" @click="gridStatistics(3)">
  470. <div>
  471. <div class="left">
  472. <img src="@a/img/sadian/yhs.png" alt="" />
  473. <div>隐患数</div>
  474. </div>
  475. <el-row class="right">
  476. <el-col :span="24" style="color: #ff5a00">{{ gridStatisticsNum.yinhuan || 0 }}</el-col>
  477. </el-row>
  478. </div>
  479. </el-col>
  480. <el-col :span="12" @click="gridStatistics(2)">
  481. <div>
  482. <div class="left">
  483. <img src="@a/img/sadian/czs.png" alt="" />
  484. <div>处置数</div>
  485. </div>
  486. <el-row class="right">
  487. <el-col :span="24" style="color: #ffd800">{{ gridStatisticsNum.over || 0 }}</el-col>
  488. </el-row>
  489. </div>
  490. </el-col>
  491. <el-col :span="12">
  492. <div>
  493. <div class="left">
  494. <img src="@a/img/sadian/czl.png" alt="" />
  495. <div>处置率</div>
  496. </div>
  497. <el-row class="right">
  498. <el-col :span="24" style="color: #0084ff">{{ gridStatisticsNum.rate || 0 }}%</el-col>
  499. </el-row>
  500. </div>
  501. </el-col>
  502. </el-row>
  503. <el-row v-if="!gridStatisticsStatus">
  504. <el-table
  505. :data="gridStatisticsTableType"
  506. class="transparentTableRow"
  507. height="100%"
  508. :empty-text="dataNo3"
  509. ref="reportTable"
  510. @mouseenter="autoScroll1(true)"
  511. @mouseleave="autoScroll1()"
  512. >
  513. <el-table-column v-for="item in gridStatisticsHeader" show-overflow-tooltip :key="item.prop" :prop="item.prop" align="left" min-width="20" :label="item.name">
  514. <template v-if="item.prop =='案件状态' || item.prop =='街镇' || item.prop =='自治网格' || item.prop =='案件子类' || item.prop =='发现时间'" #default="scope">
  515. <el-tooltip placement="left" >
  516. <template #content >
  517. <div class="tableTooltip" ref="ff">
  518. <div class="tableTitle">
  519. <div>案件详情</div>
  520. </div>
  521. <img src="~@a/img/icon/close.png" alt="" class="close" @click="closeIsTooltip" />
  522. <el-row class="tableContent">
  523. <el-col :span="20" v-if="scope.row['案件状态']">案件状态:{{scope.row["案件状态"]}}</el-col>
  524. <el-col :span="24" v-if="scope.row['任务号'] ">任务号:{{scope.row["任务号"] }}</el-col>
  525. <el-col :span="24" v-if="scope.row['发现时间']">发现时间:{{scope.row["发现时间"]}}</el-col>
  526. <el-col :span="24" v-if="scope.row['案件来源']">案件来源:{{scope.row["案件来源"]}}</el-col>
  527. <el-col :span="24" v-if="scope.row['案件属性']">案件属性:{{scope.row["案件属性"]}}</el-col>
  528. <el-col :span="24" v-if="scope.row['街镇']">街镇:{{scope.row["街镇"]}}</el-col>
  529. <el-col :span="12" v-if="scope.row['自治网格类型']">自治网格类型:{{scope.row["自治网格类型"]}}</el-col>
  530. <el-col :span="24" v-if="scope.row['责任块']">责任块:{{scope.row["责任块"]}}</el-col>
  531. <el-col :span="24" v-if="scope.row['案件大类']">案件大类:{{scope.row["案件大类"]}}</el-col>
  532. <el-col :span="24" v-if="scope.row['案件小类']">案件小类:{{scope.row["案件小类"]}}</el-col>
  533. <el-col :span="24" v-if="scope.row['自治网格']">自治网格:{{scope.row["自治网格"]}}</el-col>
  534. <el-col :span="24" v-if="scope.row['处置网格']">处置网格:{{scope.row["处置网格"]}}</el-col>
  535. <el-col :span="24" v-if="scope.row['发生地址']">发生地址:{{scope.row["发生地址"]}}</el-col>
  536. <el-col :span="24" v-if="scope.row['诉求联系人']">诉求联系人:{{scope.row["诉求联系人"]}}</el-col>
  537. <el-col :span="24" v-if="scope.row['流转方向']">流转方向:{{scope.row["流转方向"]}}</el-col>
  538. <el-col :span="24" v-if="scope.row['派遣时间'] ">派遣时间:{{scope.row["派遣时间"] }}</el-col>
  539. <el-col :span="24" v-if="scope.row['主责部门']">主责部门:{{scope.row["主责部门"] }}</el-col>
  540. <el-col :span="24" v-if="scope.row['三级主责部门']">三级主责部门:{{scope.row["三级主责部门"] }}</el-col>
  541. <el-col :span="24" v-if="scope.row['处理时间']">处理时间:{{scope.row["处理时间"] }}</el-col>
  542. </el-row>
  543. </div>
  544. </template>
  545. <template>
  546. <div class="name-wrapper" >{{ scope.row[item.prop] }}</div>
  547. </template>
  548. </el-tooltip>
  549. </template>
  550. <template v-else #default="scope">
  551. {{ scope.row[item.prop] }}
  552. </template>
  553. </el-table-column>
  554. </el-table>
  555. </el-row>
  556. </div>
  557. <div class="leftTopContent" v-if="tabsArea == 'jc'">
  558. <el-row>
  559. <el-col :span="12">
  560. <div>
  561. <div class="title">
  562. <div>检查单位数(家次)</div>
  563. </div>
  564. <div class="content">
  565. <span>6276</span>
  566. <span>同比</span>
  567. <span style="color: #fe0505">+29.48%</span>
  568. </div>
  569. </div>
  570. </el-col>
  571. <el-col :span="12">
  572. <div>
  573. <div class="title">
  574. <div>发现隐患数(处)</div>
  575. </div>
  576. <div class="content">
  577. <span>1340</span>
  578. <span>同比</span>
  579. <span style="color: #fe0505">+14.18%</span>
  580. </div>
  581. </div>
  582. </el-col>
  583. <el-col :span="12">
  584. <div>
  585. <div class="title">
  586. <div>督改隐患数(处)</div>
  587. </div>
  588. <div class="content">
  589. <span>1090</span>
  590. <span>同比</span>
  591. <span style="color: #fe0505">+7.34%</span>
  592. </div>
  593. </div>
  594. </el-col>
  595. <el-col :span="12">
  596. <div style="width: 80%">
  597. <div class="title">
  598. <div>签约承诺书(份)</div>
  599. </div>
  600. <div class="content">
  601. <span>5410</span>
  602. </div>
  603. </div>
  604. </el-col>
  605. </el-row>
  606. </div>
  607. </div> -->
  608. <!-- <div class="rightTop">
  609. <h4 style="display: flex">疏导区社会面风险评估情况</h4>
  610. <div style="display: flex;float:right;margin-top:-36px;">
  611. <el-button size="mini" @click="tabsArea = 'fx'" :class="{ btnClick: tabsArea == 'fx' }"> 风险情况 </el-button>
  612. <el-button size="mini" @click="tabsArea = 'jc'" :class="{ btnClick: tabsArea == 'jc' }"> 检查情况 </el-button>
  613. </div>
  614. <div class="rightTopContent" v-if="tabsArea == 'fx'">
  615. <el-row>
  616. <el-col :span="12">
  617. <div>
  618. <div class="left">
  619. <img src="@a/img/securityPlan/right1.png" alt="" />
  620. <div>高风险场所</div>
  621. </div>
  622. <el-row class="right">
  623. <el-col :span="24">单位总数(家)</el-col>
  624. <el-col :span="24" style="color: #ff0000">8</el-col>
  625. </el-row>
  626. </div>
  627. </el-col>
  628. <el-col :span="12">
  629. <div>
  630. <div class="left">
  631. <img src="@a/img/securityPlan/right2.png" alt="" />
  632. <div>较高风险场所</div>
  633. </div>
  634. <el-row class="right">
  635. <el-col :span="24">单位总数(家)</el-col>
  636. <el-col :span="24" style="color: #ff5a00">0</el-col>
  637. </el-row>
  638. </div>
  639. </el-col>
  640. <el-col :span="12">
  641. <div>
  642. <div class="left">
  643. <img src="@a/img/securityPlan/right3.png" alt="" />
  644. <div>一般风险场所</div>
  645. </div>
  646. <el-row class="right">
  647. <el-col :span="24">单位总数(家)</el-col>
  648. <el-col :span="24" style="color: #ffd800">6</el-col>
  649. </el-row>
  650. </div>
  651. </el-col>
  652. <el-col :span="12">
  653. <div>
  654. <div class="left">
  655. <img src="@a/img/securityPlan/right4.png" alt="" />
  656. <div>低风险场所</div>
  657. </div>
  658. <el-row class="right">
  659. <el-col :span="24">单位总数(家)</el-col>
  660. <el-col :span="24" style="color: #0084ff">18</el-col>
  661. </el-row>
  662. </div>
  663. </el-col>
  664. </el-row>
  665. </div>
  666. <div class="leftTopContent" v-if="tabsArea == 'jc'">
  667. <el-row>
  668. <el-col :span="12">
  669. <div>
  670. <div class="title">
  671. <div>检查单位数(家次)</div>
  672. </div>
  673. <div class="content">
  674. <span>6276</span>
  675. <span>同比</span>
  676. <span style="color: #fe0505">+29.48%</span>
  677. </div>
  678. </div>
  679. </el-col>
  680. <el-col :span="12">
  681. <div>
  682. <div class="title">
  683. <div>发现隐患数(处)</div>
  684. </div>
  685. <div class="content">
  686. <span>1340</span>
  687. <span>同比</span>
  688. <span style="color: #fe0505">+14.18%</span>
  689. </div>
  690. </div>
  691. </el-col>
  692. <el-col :span="12">
  693. <div>
  694. <div class="title">
  695. <div>督改隐患数(处)</div>
  696. </div>
  697. <div class="content">
  698. <span>1090</span>
  699. <span>同比</span>
  700. <span style="color: #fe0505">+7.34%</span>
  701. </div>
  702. </div>
  703. </el-col>
  704. <el-col :span="12">
  705. <div style="width: 80%">
  706. <div class="title">
  707. <div>签约承诺书(份)</div>
  708. </div>
  709. <div class="content">
  710. <span>5410</span>
  711. </div>
  712. </div>
  713. </el-col>
  714. </el-row>
  715. </div>
  716. </div> -->
  717. <div class="rightTop">
  718. <!-- <h4>安保推送情况</h4>
  719. <el-row class="rightTop2">
  720. <el-col :span="8" v-for="(item, index) in proptionList" :key="index">
  721. <div>
  722. <div style="text-align: center; font-size: 0.18rem">
  723. {{ item.type }}
  724. </div>
  725. <div style="height: 1.5rem">
  726. <gauge ref="gauge1" :data="item"></gauge>
  727. </div>
  728. </div>
  729. </el-col>
  730. </el-row> -->
  731. <h4>疏导区执法记录仪画面</h4>
  732. <el-row class="monitor-list" >
  733. <div class="list">
  734. <el-select
  735. v-model="zfjly1"
  736. placeholder="请选择执法记录仪"
  737. class="videoSelect"
  738. >
  739. <el-option
  740. v-for="item in selectVideoData"
  741. :key="item.url"
  742. :label="item.name"
  743. :value="item.url"
  744. >
  745. </el-option>
  746. </el-select>
  747. <img src="@/assets/img/home/video.jpg" alt="" v-if="!zfjly1">
  748. <iframe
  749. class="hlsVideo monitor-height"
  750. :src="zfjly1"
  751. allowfullscreen="true"
  752. ></iframe>
  753. <div @click="videoClose(1)" class="videoCloseBtn" v-if="zfjly1">
  754. <div class="returnText">关闭</div>
  755. </div>
  756. </div>
  757. <div class="list" :offset="2">
  758. <el-select
  759. v-model="zfjly2"
  760. placeholder="请选择执法记录仪"
  761. class="videoSelect"
  762. >
  763. <el-option
  764. v-for="item in selectVideoData"
  765. :key="item.url"
  766. :label="item.name"
  767. :value="item.url"
  768. >
  769. </el-option>
  770. </el-select>
  771. <img src="@/assets/img/home/video.jpg" alt="" v-if="!zfjly2">
  772. <iframe
  773. class="hlsVideo monitor-height"
  774. :src="zfjly2"
  775. allowfullscreen="true"
  776. ></iframe>
  777. <div @click="videoClose(2)" class="videoCloseBtn" v-if="zfjly2">
  778. <div class="returnText">关闭</div>
  779. </div>
  780. </div>
  781. </el-row>
  782. </div>
  783. <!-- <div class="rightBot">
  784. <h4>网格人员信息</h4>
  785. <div class="rightBotContent" v-if="erpData.length > 0">
  786. <el-table
  787. :data="rightArray.tableData"
  788. class="transparentTableRow"
  789. height="100%"
  790. :empty-text="dataNo2"
  791. ref="reportTable"
  792. @mouseenter="autoScroll(true)"
  793. @mouseleave="autoScroll()"
  794. >
  795. <el-table-column v-for="item in rightArray.headerData2" show-overflow-tooltip :key="item.prop" :prop="item.prop" align="left" min-width="20" :label="item.name">
  796. <template #default="scope">
  797. {{ item.prop === "type" ? "" : item.prop === "status" ? (scope.row[item.prop] == 1 ? "可用" : "不可用") : scope.row[item.prop] }}
  798. </template>
  799. </el-table-column>
  800. </el-table>
  801. </div>
  802. </div> -->
  803. </el-col>
  804. </transition>
  805. <!-- 普通弹框 -->
  806. <!-- <div class="tableTooltipwt sadianTankang" v-show="stores.$state.arrayList.length > 0 && !jkspStatus">
  807. <img src="~@a/img/icon/close.png" alt="" class="close" @click="close" />
  808. <el-row class="tableContent">
  809. <el-col class="mk" v-for="li in stores.$state.arrayList" :key="li" v-show="li.title[1]">
  810. <p v-show="li.title[1]">{{ li.title[0] }}</p>
  811. <el-row>
  812. <el-col v-for="ch in li.children" :key="ch" :span="ch[2]" v-show="li.title[1] && ch[1]">
  813. <span class="color1">{{ ch[0] }}</span>
  814. <span class="color2">{{ ch[1] }}</span>
  815. </el-col>
  816. <el-row style="margin-top: 10px" v-if="li.type">
  817. <iframe :src="li.url" allowfullscreen="true" style="width: 100%"></iframe>
  818. </el-row>
  819. </el-row>
  820. </el-col>
  821. </el-row>
  822. </div> -->
  823. <!-- 普通弹框 -->
  824. <div class="tableTooltipwt sadianTankang " v-if="jkspStatus">
  825. <img src="~@a/img/icon/close.png" alt="" class="close" @click="closeJkspStatus" />
  826. <el-row class="tableContent">
  827. <el-col class="mk">
  828. <p style="font-size:0.2rem">监控视频</p>
  829. <el-row>
  830. <el-col v-for="ch in stores.$state.jkspData.children" :key="ch" :span="24" >
  831. <span class="color1">{{ ch[0] }}</span>
  832. <span class="color2">{{ ch[1] }}</span>
  833. </el-col>
  834. </el-row>
  835. </el-col>
  836. <div class="video">
  837. <video :id="Message.videoId" preload="true" autoplay="autoplay"
  838. class="hlsVideo monitor-height" ref="hlsVideo" style="width: 100%" controls muted></video>
  839. </div>
  840. </el-row>
  841. </div>
  842. <!-- pdf弹框 -->
  843. <div class="dialogSec">
  844. <el-dialog v-model="dialogTableVisible" title="" :showClose="false">
  845. <iframe
  846. :src="pdfUrl"
  847. frameborder="0"
  848. style="width: 100%; height: 87vh"
  849. ></iframe>
  850. </el-dialog>
  851. </div>
  852. <!-- 消防安全重点单位弹框 -->
  853. <transition name="el-fade-in-linear">
  854. <div class="tableTooltipwt2" v-if="tk">
  855. <img src="~@a/img/icon/close.png" alt="" class="close" @click="closeTk" />
  856. <el-col class="mk">
  857. <el-row>
  858. <el-col>
  859. <span class="color2">单位名称:</span>
  860. <span class="color1">{{ tkData.companyName }}</span>
  861. </el-col>
  862. <el-col>
  863. <span class="color2">单位类型:</span>
  864. <span class="color1">重点单位</span>
  865. </el-col>
  866. <!-- <el-col v-if="tkData.linkPhone">
  867. <span class="color2">联系电话:</span>
  868. <span class="color1">{{ tkData.linkPhone }}</span>
  869. </el-col> -->
  870. <el-col>
  871. <span class="color2">地址:</span>
  872. <span class="color1">{{ tkData.address }}</span>
  873. </el-col>
  874. <el-col v-if="tkData.person3">
  875. <span class="color2">单位联系人:</span>
  876. <span class="color1">{{ tkData.person3 }}</span>
  877. </el-col>
  878. <el-col v-if="tkData.phone3" >
  879. <span class="color2">单位联系人电话:</span>
  880. <span class="color1">{{ tkData.phone3 }}</span>
  881. </el-col>
  882. <el-col v-if="tkData.person1">
  883. <span class="color2">消防安全责任人:</span>
  884. <span class="color1">{{ tkData.person1 }}</span>
  885. </el-col>
  886. <el-col v-if="tkData.phone1">
  887. <span class="color2">消防安全责任人电话:</span>
  888. <span class="color1">{{ tkData.phone1 }}</span>
  889. </el-col>
  890. <el-col v-if="tkData.person2">
  891. <span class="color2">消防安全管理人:</span>
  892. <span class="color1">{{ tkData.person2 }}</span>
  893. </el-col>
  894. <el-col v-if="tkData.phone2" style="border-bottom: 1px solid #fff; padding-bottom: 10px">
  895. <span class="color2">消防安全管理人电话:</span>
  896. <span class="color1">{{ tkData.phone2 }}</span>
  897. </el-col>
  898. <el-col style="margin-top: 6px">
  899. <span class="color1" style="margin-left: 0">企业消防综合评估</span>
  900. <span class="color1" style="float: right"
  901. >综合得分:{{
  902. tkData.fireRisk + tkData.buildIntegrity + tkData.lawEnforce + tkData.selfManage + tkData.facilityStatus
  903. ? (tkData.fireRisk + tkData.buildIntegrity + tkData.lawEnforce + tkData.selfManage + tkData.facilityStatus).toFixed(2)
  904. : 0
  905. }}
  906. 分</span
  907. >
  908. </el-col>
  909. <table border="0" cellspacing="0" cellpadding="0">
  910. <thead>
  911. <tr>
  912. <th>指数</th>
  913. <th>建筑整体指数</th>
  914. <th>火灾风险指数</th>
  915. <th>监督执法指数</th>
  916. <th>自主管理指数</th>
  917. <th>设施状况指数</th>
  918. </tr>
  919. </thead>
  920. <tbody>
  921. <tr>
  922. <td>得分</td>
  923. <td>{{ tkData.fireRisk }}</td>
  924. <td>{{ tkData.buildIntegrity }}</td>
  925. <td>{{ tkData.lawEnforce }}</td>
  926. <td>{{ tkData.selfManage }}</td>
  927. <td>{{ tkData.facilityStatus }}</td>
  928. </tr>
  929. </tbody>
  930. </table>
  931. <el-col style="margin-top: 6px" v-if="tkData.reformPart">
  932. <span class="color1" style="margin-left: 0">消防整改情况</span>
  933. </el-col>
  934. <el-col v-if="tkData.reformPart">
  935. <span class="color1" style="margin-left: 0">编号:{{ tkData.reformCode }}</span>
  936. <span class="color1" style="float: right">整改期限:{{ tkData.limitTime ? tkData.limitTime.split("T")[0] + " " + tkData.limitTime.split("T")[1] : "" }}</span>
  937. </el-col>
  938. <table border="0" cellspacing="0" cellpadding="0" v-if="tkData.reformPart">
  939. <thead>
  940. <tr>
  941. <th>序号</th>
  942. <th>整改项</th>
  943. <th>原因</th>
  944. </tr>
  945. </thead>
  946. <tbody>
  947. <tr v-for="(item, index) in tkData.reformPart.data" :key="index">
  948. <td>{{ index + 1 }}</td>
  949. <td>{{ item.item }}</td>
  950. <td>{{ item.reason }}</td>
  951. </tr>
  952. </tbody>
  953. </table>
  954. <div style="margin-top: 40px" v-if="tkData.reformStatus != 0">
  955. <el-steps
  956. :active="tkData.reformStatus == 1 ? 1 : tkData.reformStatus == 2 || tkData.reformStatus == 3 ? 1 : tkData.reformStatus == 4 || tkData.reformStatus == 5 ? 2 : 0"
  957. align-center
  958. >
  959. <el-step title="已接收" :description="tkData.receivedTime.replace('T', ' ')"></el-step>
  960. <el-step
  961. :title="tkData.reformStatus == 2 ? '整改中' : tkData.reformStatus == 3 || tkData.reformStatus == 4 || tkData.reformStatus == 5 ? '整改完成' : '整改中'"
  962. :description="tkData.reformTime.replace('T', ' ')"
  963. ></el-step>
  964. <el-step
  965. :title="
  966. tkData.reformStatus == 1 || tkData.reformStatus == 2 || tkData.reformStatus == 3
  967. ? '待审核'
  968. : tkData.reformStatus == 4
  969. ? '审核不通过'
  970. : tkData.reformStatus == 5
  971. ? '审核通过'
  972. : ''
  973. "
  974. :description="tkData.reviewTime.replace('T', ' ')"
  975. ></el-step>
  976. </el-steps>
  977. </div>
  978. <div style="margin: 10px auto" v-if="tkData.companyName == '上海虹桥国际特商物流港'">
  979. <el-button type="primary" size="small" style="background: none; border-radius: 4px; border: 1px solid #73fbfd; height: 30px; padding: 0 6px !important; margin: 10px 0 0"
  980. ><a href="http://file.usky.cn/statics/202303/20232D91E7B3D14C346BC9F009FA0B76FA5BF.pdf" target="_blank" style="color: #fff; text-decoration: none"
  981. >&nbsp;&nbsp;查看报告&nbsp;&nbsp;</a
  982. ></el-button
  983. >
  984. </div>
  985. </el-row>
  986. </el-col>
  987. </div>
  988. </transition>
  989. </el-row>
  990. </template>
  991. <script>
  992. import axios from "axios";
  993. import linstener from "@c/mixins/linstener";
  994. import map from "@c/mixins/map-data1";
  995. import gauge from "@c/gauge/index6";
  996. // import map from "@c/mixins/map-gaode-public";
  997. import { Vue3SeamlessScroll } from "vue3-seamless-scroll";
  998. import category from "@c/category/index22";
  999. import unitBox from "@c/unitBox/index";
  1000. import CountTo from "@/components/count-to/index.js";
  1001. import Hls from "hls.js";
  1002. export default {
  1003. mixins: [linstener, map],
  1004. components: { category, gauge, CountTo,unitBox ,Vue3SeamlessScroll },
  1005. data() {
  1006. return {
  1007. tk:false,
  1008. tkData: {},//消防安全重点单位弹框数据
  1009. jxcstj:[0,0,0,0],//九小场所统计
  1010. check: '1',
  1011. dialogTableVisible:false,
  1012. pdfUrl:'',
  1013. dailyArray:[
  1014. {
  1015. title: '第十二期: 第六届中国国际进口博览会每日工作动态',
  1016. url: 'http://32.0.15.107:8080/mhvi/20231105.pdf',
  1017. },
  1018. {
  1019. title: '第十一期: 第六届中国国际进口博览会每日工作动态',
  1020. url: 'http://32.0.15.107:8080/mhvi/20231104.pdf',
  1021. },
  1022. {
  1023. title: '第十期: 第六届中国国际进口博览会每日工作动态',
  1024. url: 'http://32.0.15.107:8080/mhvi/20231103.pdf',
  1025. },
  1026. {
  1027. title: '第九期: 第六届中国国际进口博览会每日工作动态',
  1028. url: 'http://32.0.15.107:8080/mhvi/20231102.pdf',
  1029. },
  1030. {
  1031. title: '第八期: 第六届中国国际进口博览会每日工作动态',
  1032. url: 'http://32.0.15.107:8080/mhvi/20231101.pdf',
  1033. },
  1034. {
  1035. title: '第七期: 第六届中国国际进口博览会每日工作动态',
  1036. url: 'http://32.0.15.107:8080/mhvi/20231031.pdf',
  1037. },
  1038. {
  1039. title: '第六期: 第六届中国国际进口博览会每日工作动态',
  1040. url: 'http://32.0.15.107:8080/mhvi/20231030.pdf',
  1041. },
  1042. {
  1043. title: '第五期: 第六届中国国际进口博览会每日工作动态',
  1044. url: 'http://32.0.15.107:8080/mhvi/20231027.pdf',
  1045. },
  1046. {
  1047. title: '第四期: 第六届中国国际进口博览会每日工作动态',
  1048. url: 'http://32.0.15.107:8080/mhvi/20231026.pdf',
  1049. },
  1050. {
  1051. title: '第三期: 第六届中国国际进口博览会每日工作动态',
  1052. url: 'http://32.0.15.107:8080/mhvi/20231025.pdf',
  1053. },
  1054. {
  1055. title: '第二期: 第六届中国国际进口博览会每日工作动态',
  1056. url: 'http://32.0.15.107:8080/mhvi/20231024.pdf',
  1057. },
  1058. {
  1059. title: '第一期: 第六届中国国际进口博览会每日工作动态',
  1060. url: 'http://32.0.15.107:8080/mhvi/20231023.pdf',
  1061. },
  1062. ],
  1063. // 大中网格数据渲染 start
  1064. tableDataGrid:[],
  1065. tableDataBigGrid:[{
  1066.                     id: '闵S1(华漕网格)',
  1067.                     count1: '1361',
  1068.                     count2: '499',
  1069.                     count3: '355',
  1070.                 },
  1071.                 {
  1072.                     id: '闵S2(新虹网格)',
  1073.                     count1: '1674',
  1074.                     count2: '564',
  1075.                     count3: '491',
  1076.                 },
  1077.                 {
  1078.                     id: '闵S3(七宝网格)',
  1079.                     count1: '1585',
  1080.                     count2: '487',
  1081.                     count3: '391',
  1082.                 },{
  1083.                     id: '闵S4(虹桥网格)',
  1084.                     count1: '1412',
  1085.                     count2: '577',
  1086.                     count3: '402',
  1087.                 }],
  1088. tableDataMiddleGrid:[{
  1089.                     id: '闵S1-1(华漕网格)',
  1090.                     count1: '225',
  1091.                     count2: '90',
  1092.                     count3: '66',
  1093.                 },
  1094.                 {
  1095.                     id: '闵S1-2(华漕网格)',
  1096.                     count1: '141',
  1097.                     count2: '57',
  1098.                     count3: '44',
  1099.                 },
  1100.                 {
  1101.                     id: '闵S1-3(华漕网格)',
  1102.                     count1: '164',
  1103.                     count2: '58',
  1104.                     count3: '39',
  1105.                 },{
  1106.                     id: '闵S1-4(华漕网格)',
  1107.                     count1: '537',
  1108.                     count2: '197',
  1109.                     count3: '130',
  1110.                 },{
  1111.                     id: '闵S1-5(华漕网格)',
  1112.                     count1: '253',
  1113.                     count2: '83',
  1114.                     count3: '66',
  1115.                 },{
  1116.                     id: '闵S2-1(新虹网格)',
  1117.                     count1: '627',
  1118.                     count2: '138',
  1119.                     count3: '93',
  1120.                 },{
  1121.                     id: '闵S2-2(新虹网格)',
  1122.                     count1: '225',
  1123.                     count2: '111',
  1124.                     count3: '104',
  1125.                 },{
  1126.                     id: '闵S2-3(新虹网格)',
  1127.                     count1: '395',
  1128.                     count2: '78',
  1129.                     count3: '76',
  1130.                 },{
  1131.                     id: '闵S2-4(新虹网格)',
  1132.                     count1: '425',
  1133.                     count2: '253',
  1134.                     count3: '196',
  1135.                 },{
  1136.                     id: '闵S3-1(七宝网格)',
  1137.                     count1: '394',
  1138.                     count2: '158',
  1139.                     count3: '105',
  1140.                 },{
  1141.                     id: '闵S3-2(七宝网格)',
  1142.                     count1: '171',
  1143.                     count2: '48',
  1144.                     count3: '34',
  1145.                 },{
  1146.                     id: '闵S3-3(七宝网格)',
  1147.                     count1: '344',
  1148.                     count2: '306',
  1149.                     count3: '131',
  1150.                 },{
  1151.                     id: '闵S4-1(虹桥网格)',
  1152.                     count1: '893',
  1153.                     count2: '346',
  1154.                     count3: '272',
  1155.                 },{ id: '闵S4-2(虹桥网格)',
  1156.                     count1: '499',
  1157.                     count2: '125',
  1158.                     count3: '115',
  1159.                 }],
  1160. tableDataBasic:[
  1161. {
  1162. date: '2016-05-03',
  1163. name: 'Tom',
  1164. address: 'No. 189, Grove St, Los Angeles',
  1165. },
  1166. {
  1167. date: '2016-05-02',
  1168. name: 'Tom',
  1169. address: 'No. 189, Grove St, Los Angeles',
  1170. },
  1171. {
  1172. date: '2016-05-04',
  1173. name: 'Tom',
  1174. address: 'No. 189, Grove St, Los Angeles',
  1175. },
  1176. {
  1177. date: '2016-05-01',
  1178. name: 'Tom',
  1179. address: 'No. 189, Grove St, Los Angeles',
  1180. },
  1181. ],
  1182. basicStatisStatus:true,
  1183. gridStatisticsNum:{
  1184. total:0,
  1185. over:0,
  1186. rate:0,
  1187. yinhuan:0,
  1188. },
  1189. hls: "",
  1190. Message: {
  1191. "name": undefined,
  1192. "videoId": undefined,
  1193. "videoUrl": false,
  1194. },
  1195. jkspStatus:false,//监控视频弹框状态
  1196. gridStatisticsStatus:true,//处置网格统计状态
  1197. dataNo3:"加载中...",
  1198. gridStatisticsTable:[
  1199. // {
  1200. // "案件状态": "待申请核查",
  1201. // "任务号": "2310M2253844",
  1202. // "发现时间": "2023-10-13 09:18",
  1203. // "案件来源": "12345上报",
  1204. // "案件属性": "部件",
  1205. // "案件大类": "其他设施",
  1206. // "案件小类": "充电站(桩)",
  1207. // "案件子类": "其他充电桩相关问题",
  1208. // "街镇": "华漕镇",
  1209. // "自治网格": "诸新路居委会",
  1210. // "自治网格类型": "居委",
  1211. // "处置网格": "华漕镇处置网格五(诸翟南片区)",
  1212. // "责任块": "九方家园",
  1213. // "发生地址": "闵行区华漕镇保乐路168弄九方家园",
  1214. // "诉求联系人": "臧婷婷",
  1215. // "流转方向": "平台流转",
  1216. // "派遣时间": "2023-10-13 09:20",
  1217. // "主责部门": "华漕镇",
  1218. // "三级主责部门": "诸新路居委会",
  1219. // "处理时间": null,
  1220. // "处理备注": null,
  1221. // "结案时间": null,
  1222. // "结案评判": null,
  1223. // "结案意见": null,
  1224. // "X坐标": -17369.89850242,
  1225. // "Y坐标": -2808.9159114,
  1226. // "问题描述": "市民来电反映:其是上述地址小区居民,要申请安装充电站,物业不肯给其敲章,市民为此不满,故来来电投诉上述小区物业。"
  1227. // }
  1228. ],//处置网格table数据
  1229. gridStatisticsTableType:[],
  1230. gridStatisticsHeader:[
  1231. { prop: "发现时间", name: "发现时间" },
  1232. { prop: "街镇", name: "街镇" },
  1233. { prop: "自治网格", name: "自治网格" },
  1234. { prop: "案件子类", name: "案件子类" },
  1235. { prop: "案件状态", name: "案件状态" },
  1236. ],//处置网格header
  1237. value111:40,
  1238. //24、厂房仓库?? 25、大型商业综合体?? 27、批发市场??
  1239. // 23、宾馆酒店 26、规模租赁公寓 28、三合一场所 29、养老机构 30、医疗机构
  1240. options: [
  1241. {
  1242. value: '23',
  1243. label: '宾馆酒店',
  1244. },
  1245. {
  1246. value: '25', //
  1247. label: '大型商业综合体',
  1248. },
  1249. {
  1250. value: '40', //?
  1251. label: '消防安全重点单位',
  1252. },
  1253. {
  1254. value: '30',
  1255. label: '医疗机构',
  1256. },
  1257. {
  1258. value: '29',
  1259. label: '养老机构',
  1260. },
  1261. {
  1262. value: '24',
  1263. label: '厂房仓库',
  1264. },
  1265. {
  1266. value: '27',
  1267. label: '批发市场',
  1268. },
  1269. // {
  1270. // value: '5',
  1271. // label: '居民小区', //??
  1272. // },
  1273. {
  1274. value: '26',
  1275. label: '规模租赁公寓',
  1276. },
  1277. {
  1278. value: '28',
  1279. label: '三合一场所',
  1280. },
  1281. {
  1282. value: '6',//????
  1283. label: '电动自行车领域',
  1284. },
  1285. ],
  1286. arrayData:[],
  1287. line3Array:[
  1288. {
  1289. "name": "消防安全重点单位",
  1290. "count": 176,
  1291. "value":40
  1292. },
  1293. {
  1294. "name": "大型商业综合体",
  1295. "count": 13,
  1296. "value":25
  1297. },
  1298. // {
  1299. // "name": "重点单位",
  1300. // "count": 14,
  1301. // "value":13
  1302. // },
  1303. {
  1304. "name": "酒店/宾馆",
  1305. "count": 85,
  1306. "value":23
  1307. },
  1308. {
  1309. "name": "规模租赁公寓",
  1310. "count": 90,
  1311. "value":26
  1312. },
  1313. // {
  1314. // "name": "高层建筑",
  1315. // "count": 839,
  1316. // "value":0 //?
  1317. // },
  1318. {
  1319. "name": "厂房/仓库",
  1320. "count": 83,
  1321. "value":24
  1322. },
  1323. // {
  1324. // "name": "商市场",
  1325. // "count": 11,
  1326. // "value":0 //?
  1327. // },
  1328. // {
  1329. // "name": "公共娱乐场所",
  1330. // "count": 38,
  1331. // "value":0 //?
  1332. // },
  1333. {
  1334. "name": "医疗机构",
  1335. "count": 18,
  1336. "value":30,
  1337. },{
  1338. "name": "养老机构",
  1339. "count": 10,
  1340. "value":29,
  1341. },
  1342. {
  1343. "name": '批发市场',
  1344. "count": 2,
  1345. "value": '27',
  1346. },
  1347. {
  1348. "name": '儿童福利机构',
  1349. "count": 1,
  1350. "value": '41',
  1351. },
  1352. {
  1353. "name": "沿街门面",
  1354. "count": 3080,
  1355. "value":399 //
  1356. },
  1357. // {
  1358. // "name": "办公楼宇",
  1359. // "count": 52,
  1360. // "value":0 //?
  1361. // },
  1362. // {
  1363. // "name": "在建工地",
  1364. // "count": 6,
  1365. // "value":0 //?
  1366. // },
  1367. {
  1368. "name": "居民小区",
  1369. "count": 194,
  1370. "value":38 //?
  1371. },
  1372. // {
  1373. // "name": "宗教场所",
  1374. // "count": 4,
  1375. // "value":0 //?
  1376. // },
  1377. // {
  1378. // "name": "学校",
  1379. // "count": 23,
  1380. // "value":37
  1381. // },
  1382. // {
  1383. // "name": "加油(汽)站",
  1384. // "count": 10,
  1385. // "value":0 //?
  1386. // },
  1387. {
  1388. "name": "地铁站",
  1389. "count": 4,
  1390. "value":43 //?
  1391. }
  1392. ],
  1393. staticData:{
  1394. array:[],
  1395. total:0,
  1396. array1:[
  1397. {
  1398. "streetTown": "消防站",
  1399. "count": 4,
  1400. "color": "#FF0709",
  1401. "facilityType":0
  1402. },
  1403. {
  1404. "streetTown": "流动消防站(一级)",
  1405. "count": 5,
  1406. "color": "#F48354",
  1407. "facilityType":33
  1408. },
  1409. {
  1410. "streetTown": "流动消防站(二级)",
  1411. "count": 5,
  1412. "color": "#73FBFD",
  1413. "facilityType":34
  1414. },
  1415. {
  1416. "streetTown": "重点微型消防站",
  1417. "count": 77,
  1418. "color": "#4FE261",
  1419. "facilityType":36
  1420. }
  1421. ]
  1422. },
  1423. zfjly1:undefined,
  1424. zfjly2:undefined,
  1425. selectVideoData: [],
  1426. tabsArea: "fx", //切换
  1427. diversionArea: [
  1428. { name: "疏导区总面积", value: 61.46, unit: "km²", color: "#7DD807" },
  1429. { name: "华漕镇", value: 28.2, unit: "km²", color: "#01C3B4" },
  1430. { name: "新虹街道", value: 19.26, unit: "km²", color: "#01C3B4" },
  1431. { name: "七宝镇", value: 7, unit: "k㎡", color: "#01C3B4" },
  1432. { name: "虹桥镇", value: 7, unit: "km²", color: "#01C3B4" },
  1433. { name: "分管领导", value: 20, unit: "人", color: "#058DFE" },
  1434. { name: "增援干部", value: 11, unit: "人", color: "#058DD1" },
  1435. { name: "大网格", value: 4, unit: "个", color: "#FC0609 " },
  1436. { name: "中网格", value: 14, unit: "个", color: "#FD843A" },
  1437. { name: "小网格", value: 103, unit: "个", color: "#7DD807" },
  1438. // {name:"人员力量",value:41,unit:"人",color:"#058DD1"},
  1439. ], //疏导区基本情况
  1440. gridStatus: 19,
  1441. dataNo: "加载中...",
  1442. dataNo2: "加载中...",
  1443. stores: this.$useStore(),
  1444. proptionList: [
  1445. {
  1446. type: "已推送单位",
  1447. number: 306,
  1448. month: null,
  1449. radio: "1",
  1450. sameStatus: 2,
  1451. avg: null,
  1452. color: ["#BF4216 ", "#F68E6A"],
  1453. },
  1454. {
  1455. type: "已接收单位",
  1456. number: 303,
  1457. month: null,
  1458. radio: "1",
  1459. sameStatus: 2,
  1460. avg: null,
  1461. color: ["#06B1B9 ", "#14E1EA"],
  1462. },
  1463. {
  1464. type: "推送接收率",
  1465. number: 99,
  1466. month: null,
  1467. radio: "0.99",
  1468. sameStatus: 2,
  1469. avg: null,
  1470. color: ["#E4951E ", "#F8ED41"],
  1471. },
  1472. ],
  1473. category: true,
  1474. tableData2: [],
  1475. headerData2: [
  1476. { prop: "name", name: "站点名称" },
  1477. { prop: "car", name: "站点车辆" },
  1478. { prop: "personnel", name: "人员" },
  1479. ],
  1480. reportComplaintList: [
  1481. { name: "火灾扑救", value: 100 },
  1482. { name: "社会救助", value: 90 },
  1483. { name: "抢险救援", value: 60 },
  1484. ], //接处警情况
  1485. checkedArray: {
  1486. checkedData: [19],
  1487. checkedList: [
  1488. { value: 0, label: "车辆" },
  1489. { value: 1, label: "历史警情" },
  1490. { value: 2, label: "历史火灾" },
  1491. { value: 3, label: "重点单位" },
  1492. { value: 4, label: "消防站" },
  1493. { value: 19, label: "大网格" },
  1494. { value: 15, label: "中网格" },
  1495. { value: 16, label: "小网格" },
  1496. { value: 17, label: "监控视频" },
  1497. { value: 18, label: "监督检查" },
  1498. { value: 20, label: "执法记录仪" },
  1499. ],
  1500. }, //类型筛选
  1501. checkedSelectValue: "40",
  1502. checkedSelectLabel: "消防站",
  1503. checkedSelectArray: [
  1504. { value: 40, label: "消防站" },
  1505. { value: 41, label: "专职队" },
  1506. // { value: 43, label: "城市消防站" },
  1507. { value: 44, label: "企业消防队" },
  1508. { value: 42, label: "街镇微型消防站" },
  1509. { value: 45, label: "社区微型消防站" },
  1510. { value: 46, label: "一级微型消防站" },
  1511. { value: 47, label: "街镇专职消防队" },
  1512. ],
  1513. tableData: [
  1514. {
  1515. type: "火灾",
  1516. policeTime: "23:00:00",
  1517. alertLevel: "二级",
  1518. address: "闵行区",
  1519. car: "2辆",
  1520. policeCause: "电器火灾",
  1521. department: "吴泾支队",
  1522. status: "1",
  1523. callingUp: "1号",
  1524. equipName: "一七",
  1525. carNumber: "沪X5477应急",
  1526. carStatus: "出动",
  1527. disposeTime: "1:00:00",
  1528. correspondent: "张三",
  1529. commander: "李四",
  1530. firemen: "王五",
  1531. driver: "赵六",
  1532. },
  1533. {
  1534. type: "火灾",
  1535. policeTime: "23:00:00",
  1536. alertLevel: "二级",
  1537. address: "闵行区",
  1538. car: "2辆",
  1539. policeCause: "电器火灾",
  1540. department: "吴泾支队",
  1541. status: "1",
  1542. callingUp: "1号",
  1543. equipName: "一七",
  1544. carNumber: "沪X5477应急",
  1545. carStatus: "出动",
  1546. disposeTime: "1:00:00",
  1547. correspondent: "张三",
  1548. commander: "李四",
  1549. firemen: "王五",
  1550. driver: "赵六",
  1551. },
  1552. {
  1553. type: "火灾",
  1554. policeTime: "23:00:00",
  1555. alertLevel: "二级",
  1556. address: "闵行区",
  1557. car: "2辆",
  1558. policeCause: "电器火灾",
  1559. department: "吴泾支队",
  1560. status: "1",
  1561. callingUp: "1号",
  1562. equipName: "一七",
  1563. carNumber: "沪X5477应急",
  1564. carStatus: "出动",
  1565. disposeTime: "1:00:00",
  1566. correspondent: "张三",
  1567. commander: "李四",
  1568. firemen: "王五",
  1569. driver: "赵六",
  1570. },
  1571. {
  1572. type: "社会救援",
  1573. policeTime: "23:00:00",
  1574. alertLevel: "二级",
  1575. address: "闵行区",
  1576. car: "2辆",
  1577. policeCause: "电器火灾",
  1578. department: "吴泾支队",
  1579. status: "1",
  1580. callingUp: "1号",
  1581. equipName: "一七",
  1582. carNumber: "沪X5477应急",
  1583. carStatus: "出动",
  1584. disposeTime: "1:00:00",
  1585. correspondent: "张三",
  1586. commander: "李四",
  1587. firemen: "王五",
  1588. driver: "赵六",
  1589. },
  1590. {
  1591. type: "社会救援",
  1592. policeTime: "23:00:00",
  1593. alertLevel: "二级",
  1594. address: "闵行区",
  1595. car: "2辆",
  1596. policeCause: "电器火灾",
  1597. department: "吴泾支队",
  1598. status: "1",
  1599. callingUp: "1号",
  1600. equipName: "一七",
  1601. carNumber: "沪X5477应急",
  1602. carStatus: "出动",
  1603. disposeTime: "1:00:00",
  1604. correspondent: "张三",
  1605. commander: "李四",
  1606. firemen: "王五",
  1607. driver: "赵六",
  1608. },
  1609. {
  1610. type: "社会救援",
  1611. policeTime: "23:00:00",
  1612. alertLevel: "二级",
  1613. address: "闵行区",
  1614. car: "2辆",
  1615. policeCause: "电器火灾",
  1616. department: "吴泾支队",
  1617. status: "1",
  1618. callingUp: "1号",
  1619. equipName: "一七",
  1620. carNumber: "沪X5477应急",
  1621. carStatus: "出动",
  1622. disposeTime: "1:00:00",
  1623. correspondent: "张三",
  1624. commander: "李四",
  1625. firemen: "王五",
  1626. driver: "赵六",
  1627. },
  1628. {
  1629. type: "抢险救援",
  1630. policeTime: "23:00:00",
  1631. alertLevel: "二级",
  1632. address: "闵行区",
  1633. car: "2辆",
  1634. policeCause: "电器火灾",
  1635. department: "吴泾支队",
  1636. status: "1",
  1637. callingUp: "1号",
  1638. equipName: "一七",
  1639. carNumber: "沪X5477应急",
  1640. carStatus: "出动",
  1641. disposeTime: "1:00:00",
  1642. correspondent: "张三",
  1643. commander: "李四",
  1644. firemen: "王五",
  1645. driver: "赵六",
  1646. },
  1647. {
  1648. type: "抢险救援",
  1649. policeTime: "23:00:00",
  1650. alertLevel: "二级",
  1651. address: "闵行区",
  1652. car: "2辆",
  1653. policeCause: "电器火灾",
  1654. department: "吴泾支队",
  1655. status: "1",
  1656. callingUp: "1号",
  1657. equipName: "一七",
  1658. carNumber: "沪X5477应急",
  1659. carStatus: "出动",
  1660. disposeTime: "1:00:00",
  1661. correspondent: "张三",
  1662. commander: "李四",
  1663. firemen: "王五",
  1664. driver: "赵六",
  1665. },
  1666. {
  1667. type: "抢险救援",
  1668. policeTime: "23:00:00",
  1669. alertLevel: "二级",
  1670. address: "闵行区",
  1671. car: "2辆",
  1672. policeCause: "电器火灾",
  1673. department: "吴泾支队",
  1674. status: "1",
  1675. callingUp: "1号",
  1676. equipName: "一七",
  1677. carNumber: "沪X5477应急",
  1678. carStatus: "出动",
  1679. disposeTime: "1:00:00",
  1680. correspondent: "张三",
  1681. commander: "李四",
  1682. firemen: "王五",
  1683. driver: "赵六",
  1684. },
  1685. {
  1686. type: "抢险救援",
  1687. policeTime: "23:00:00",
  1688. alertLevel: "二级",
  1689. address: "闵行区",
  1690. car: "2辆",
  1691. policeCause: "电器火灾",
  1692. department: "吴泾支队",
  1693. status: "1",
  1694. callingUp: "1号",
  1695. equipName: "一七",
  1696. carNumber: "沪X5477应急",
  1697. carStatus: "出动",
  1698. disposeTime: "1:00:00",
  1699. correspondent: "张三",
  1700. commander: "李四",
  1701. firemen: "王五",
  1702. driver: "赵六",
  1703. },
  1704. {
  1705. type: "火灾",
  1706. policeTime: "23:00:00",
  1707. alertLevel: "二级",
  1708. address: "闵行区",
  1709. car: "2辆",
  1710. policeCause: "电器火灾",
  1711. department: "吴泾支队",
  1712. status: "1",
  1713. callingUp: "1号",
  1714. equipName: "一七",
  1715. carNumber: "沪X5477应急",
  1716. carStatus: "出动",
  1717. disposeTime: "1:00:00",
  1718. correspondent: "张三",
  1719. commander: "李四",
  1720. firemen: "王五",
  1721. driver: "赵六",
  1722. },
  1723. ],
  1724. headerData: [
  1725. { prop: "policeTime", name: "立案时间" },
  1726. { prop: "alertLevel", name: "警情等级" },
  1727. { prop: "address", name: "案发地址" },
  1728. { prop: "car", name: "调动车辆" },
  1729. // { prop: "type", name: "类型" },
  1730. { prop: "policeCause", name: "原因" },
  1731. { prop: "department", name: "所属中队" },
  1732. { prop: "status", name: "状况" },
  1733. ],
  1734. erpData: [
  1735. {
  1736. linkPhone: "13917453877",
  1737. address: "上海市闵行区新虹街道申滨南路1156号龙湖天街A栋112、115室",
  1738. employeeNum: "",
  1739. registrar: "市场监督管理局",
  1740. companyType: "9",
  1741. fireDutyName: "魏良满",
  1742. delegateName: "魏静",
  1743. completedTime: null,
  1744. companyName: "龙湖虹桥天街",
  1745. fireManageName: "魏良满",
  1746. businessStatus: "开业",
  1747. buildArea: "0.0",
  1748. paidCapital: "500",
  1749. companyId: "2DB679350A0F4023B74C4261539AA031",
  1750. foundTime: null,
  1751. buildingStructure: "钢筋混凝土",
  1752. registeredCapital: "500",
  1753. organization: "91310112MA1GEKG30K",
  1754. companyNature: 9,
  1755. buildingHeight: "25",
  1756. fireRating: "一级",
  1757. construction: null,
  1758. id: 1415,
  1759. },
  1760. ],
  1761. rightArray: {
  1762. tableData: [],
  1763. headerData2: [
  1764. { prop: "gridArea", name: "网格区域" },
  1765. { prop: "streetTown", name: "街道" },
  1766. { prop: "gridPeople", name: "网格人员" },
  1767. { prop: "recruiting", name: "增援干部" },
  1768. { prop: "responsibilities", name: "分管领导" },
  1769. ],
  1770. },
  1771. };
  1772. },
  1773. mounted() {
  1774. this.gridStatisticsData()//处置网格数据
  1775. this.grid(15);
  1776. this.tableDataGrid=this.tableDataBigGrid;
  1777. setTimeout(() => {
  1778. this.autoScroll();
  1779. });
  1780. window.addEventListener("resize", () => this.resizeTimeActions([this.$refs.category, this.$refs.gauge1]), true);
  1781. this.initMap("anbao"); //地图初始化
  1782. // this.anbao(null, 3);//大网格
  1783. this.dwgjcmcAndhzzx()//大网格名称及会展中心
  1784. // this.anbaoMap()
  1785. this.getFireSiteDuty(); //各站点执勤实力
  1786. this.selectVideo(); //视频在线
  1787. // this.sadianSelect(this.checkedArray.checkedData[0]); //撒点
  1788. this.getStaticData(this.value111) //疏导区社会单位情况统计
  1789. this.getZQStaticData() //执勤战备力量部署
  1790. this.anbaoSDUWG2()//疏导区网格(大)
  1791. this.basicStaticsData(39)//九小场所统计
  1792. // this.llbutj()//力量部署统计
  1793. // this.staticsSd() // 疏导区基本情况统计
  1794. },
  1795. methods: {
  1796. async staticsSd(name,grideGrade,mapGridName){
  1797. let res = await this.$axios.get(
  1798. this.$api.security.gridMemderStatistic +
  1799. "?" +
  1800. this.$qs.stringify({
  1801. gridArea: name,
  1802. gridGrade:grideGrade,
  1803. mapGridName:mapGridName
  1804. })
  1805. );
  1806. if (res.data) {
  1807. this.line3Array[0].count=res.data.keyCompanyNum; //重点单位
  1808. this.line3Array[1].count=res.data.largeBuildNum;//大型商业综合体
  1809. this.line3Array[2].count=res.data.hotelNum;//宾馆酒店
  1810. this.line3Array[3].count=res.data.scaleRentNum;//规模租赁
  1811. this.line3Array[4].count=res.data.factoryStoreNum;//厂房仓库
  1812. this.line3Array[5].count=res.data.medicalInstitutionNum;//医疗机构
  1813. this.line3Array[6].count=res.data.elderCareNum;//养老机构
  1814. this.line3Array[7].count=res.data.dealerMarketNum;//批发市场 ???
  1815. this.line3Array[8].count=res.data.schoolNum;//儿童福利机构
  1816. this.line3Array[9].count=res.data.streetFrontNum;//沿街门面
  1817. this.line3Array[10].count=res.data.villageNum;//居民小区
  1818. this.line3Array[11].count=res.data.subwayStationNum;//地铁站
  1819. }
  1820. },
  1821. /**
  1822. * @消防安全重点单位撒点详情
  1823. * @api接口请求
  1824. */
  1825. async zddwSd(val) {
  1826. let res = await this.$axios.get(
  1827. this.$api.selfManagement.scatterData +
  1828. "?" +
  1829. this.$qs.stringify({
  1830. companyId: val.companyId,
  1831. })
  1832. );
  1833. if (res.data) {
  1834. this.tkData = res.data[0];
  1835. this.tkData.person1 = val.person1
  1836. this.tkData.person2 = val.person2
  1837. this.tkData.person3 = val.person3
  1838. this.tkData.phone1 = val.phone1
  1839. this.tkData.phone2 = val.phone2
  1840. this.tkData.phone3 = val.phone3
  1841. this.tk = true;
  1842. }
  1843. },
  1844. /**
  1845. * 消防安全重点单位关闭
  1846. */
  1847. closeTk() {
  1848. this.tk = false;
  1849. },
  1850. /**
  1851. * 每日动态弹框打开pdf
  1852. */
  1853. openPdf(val){
  1854. this.pdfUrl=val;
  1855. this.dialogTableVisible=true
  1856. },
  1857. btnC(val) {
  1858. this.check = val;
  1859. if(val==2){
  1860. this.tableDataGrid=this.tableDataMiddleGrid
  1861. }else{
  1862. this.tableDataGrid=this.tableDataBigGrid
  1863. }
  1864. },
  1865. /**
  1866. * 视频关闭
  1867. * @param {} id
  1868. */
  1869. videoClose(id){
  1870. if(id ==1){
  1871. this.zfjly1 = true
  1872. }
  1873. if(id ==2){
  1874. this.zfjly2 = true
  1875. }
  1876. this.destroyHls()
  1877. },
  1878. /**
  1879. * 大网格街镇名称
  1880. */
  1881. dwgjcmcAndhzzx(){
  1882. setTimeout(()=>{
  1883. let data = [
  1884. {
  1885. gisX: 121.271655,
  1886. gisY: 31.227993,
  1887. type: "wgmc_hc",
  1888. type2:"大网格",
  1889. type3:"华漕镇",
  1890. },
  1891. {
  1892. gisX: 121.308632,
  1893. gisY: 31.201660,
  1894. type: "wgmc_xh",
  1895. type2:"大网格",
  1896. type3:"新虹街道",
  1897. },
  1898. {
  1899. gisX: 121.333994,
  1900. gisY: 31.165263,
  1901. type: "wgmc_qb",
  1902. type2:"大网格",
  1903. type3:"七宝镇",
  1904. },
  1905. {
  1906. gisX: 121.37880329777738,
  1907. gisY: 31.185610251208278,
  1908. type: "wgmc_hq",
  1909. type2:"大网格",
  1910. type3:"虹桥镇",
  1911. },
  1912. {
  1913. gisX: 121.302183,
  1914. gisY: 31.189991,
  1915. type: "国家会展中心",
  1916. }
  1917. ];
  1918. this.addMarkerWG(data, "security-plan", "大网格街镇名称&国家会展中心")
  1919. },2000)
  1920. },
  1921. /**
  1922. * 会展中心图标()特殊处理
  1923. */
  1924. hzzxtb(){
  1925. setTimeout(()=>{
  1926. let data = {
  1927. gisX: 121.302183,
  1928. gisY: 31.189991,
  1929. type: "国家会展中心",
  1930. };
  1931. this.addMarkerSYC([data], "security-plan", "国家会展中心")
  1932. },2000)
  1933. },
  1934. /**
  1935. * 力量部署统计
  1936. */
  1937. llbutj(){
  1938. this.$axios.post(this.$api.water.baseGgpFacilityStatistic,{
  1939. "facilityType": [33,34,35,36] ,
  1940. "statisticType":"facilityType",
  1941. }).then((res) => {
  1942. for(let i =0;i<res.data.length;i++){
  1943. if(res.data[i].facilityType == "33"){
  1944. this.staticData.array1[0].count = res.data[i].count
  1945. }
  1946. if(res.data[i].facilityType == "34"){
  1947. this.staticData.array1[1].count = res.data[i].count
  1948. }
  1949. if(res.data[i].facilityType == "35"){
  1950. this.staticData.array1[2].count = res.data[i].count
  1951. }
  1952. if(res.data[i].facilityType == "36"){
  1953. this.staticData.array1[3].count = res.data[i].count
  1954. }
  1955. }
  1956. })
  1957. },
  1958. staticsPoint(arr,type,val){ //疏导区社会单位情况统计撒点
  1959. this.anbaoSDUWG()//疏导区网格
  1960. this.addMarker(arr, "security-plan", val)
  1961. },
  1962. goPoints(type){
  1963. if(type == 0){
  1964. retuen
  1965. }
  1966. this.anbaoSDUWG()
  1967. this.$axios.post(this.$api.water.baseGgpFacilityList,{
  1968. "facilityType": [type ]
  1969. }).then((res) => {
  1970. let arr = []
  1971. if(res.data.length>0){
  1972. arr = res.data;
  1973. this.arrayData= res.data;
  1974. if(type=='30'){
  1975. this.addMarker(arr, "security-plan", "消防站")
  1976. }else if(type=='33'){
  1977. this.addMarker(arr, "security-plan", "流动消防站(一级)")
  1978. }else if(type=='34'){
  1979. this.addMarker(arr, "security-plan", "流动消防站(二级)")
  1980. }else if(type=='36'){
  1981. this.addMarker(arr, "security-plan", "重点微型消防站")
  1982. }
  1983. }
  1984. });
  1985. },
  1986. /**
  1987. * 消防安全重点单位
  1988. * @param {*} id
  1989. */
  1990. djActiveClick(id) {
  1991. let type = "重点单位";
  1992. let arr = [];
  1993. this.$axios
  1994. .get(
  1995. this.$api.selfManagement.riskGradeScatter +
  1996. "?" +
  1997. this.$qs.stringify({
  1998. streetTown: this.stroes.$state.streetTown,
  1999. riskGrade: id + 1,
  2000. })
  2001. )
  2002. .then((res) => {
  2003. let data2 = {
  2004. gisX: 121.302183,
  2005. gisY: 31.189991,
  2006. type: "国家会展中心",
  2007. };
  2008. if (res.data.length > 0) {
  2009. //点分布
  2010. let data = res.data;
  2011. for (let i = 0; i < data.length; i++) {
  2012. arr[i] = data[i];
  2013. arr[i].gisX = data[i].longitude;
  2014. arr[i].gisY = data[i].latitude;
  2015. arr[i].companyId = data[i].companyId;
  2016. arr[i].type = type;
  2017. }
  2018. arr.unshift(data2)
  2019. this.addMarker(arr.splice(0, 500), "self-management", id == 0 ? "高风险" : id ==1 ? "较高风险" : id == 2 ? "一般风险" : id == 3 ? "低风险" : "");
  2020. } else {
  2021. this.addMarker(arr, "self-management", type);
  2022. }
  2023. this.anbaoSDUWG()//疏导区网格
  2024. });
  2025. },
  2026. basicStaticsData(type,name){ //疏导区基本情况 统计点击事件
  2027. this.$axios.post(this.$api.water.baseGgpFacilityList,{
  2028. "facilityType": type == "新消监" ? [39,42] : type == 399 ? [39] : [type]
  2029. }).then((res) => {
  2030. let arr = []
  2031. if(res.data.length>0){
  2032. arr = res.data;
  2033. this.arrayData= res.data;
  2034. let data = {
  2035. gisX: 121.302183,
  2036. gisY: 31.189991,
  2037. type: "国家会展中心",
  2038. };
  2039. arr.push(data)
  2040. //新消监
  2041. if(type == "新消监"){
  2042. this.addMarker(arr, "security-plan", type)
  2043. }else{
  2044. let dataOther = [data]
  2045. if(type == 39){ //九小场所
  2046. this.anbaoSDUWG()//疏导区网格
  2047. if(name){
  2048. for(let i=0;i<arr.length;i++){
  2049. if(arr[i].checkComment){
  2050. if(name == arr[i].checkComment){
  2051. dataOther.push(arr[i])
  2052. }
  2053. }
  2054. }
  2055. this.addMarker(dataOther, "security-plan", name)
  2056. }else{
  2057. this.jxcstj = [0,0,0,0]
  2058. for(let i=0;i<arr.length;i++){
  2059. if(arr[i].checkComment){
  2060. if(arr[i].checkComment == "高风险"){
  2061. this.jxcstj[0] ++
  2062. }
  2063. if(arr[i].checkComment == "较高风险"){
  2064. this.jxcstj[1] ++
  2065. }
  2066. if(arr[i].checkComment == "一般风险"){
  2067. this.jxcstj[2] ++
  2068. }
  2069. if(arr[i].checkComment == "低风险"){
  2070. this.jxcstj[3] ++
  2071. }
  2072. }
  2073. }
  2074. }
  2075. }else{
  2076. this.addMarker(arr, "security-plan", name)
  2077. }
  2078. }
  2079. if(type == 399){ //沿街门面 左侧顶部
  2080. this.addMarker(dataOther, "security-plan", name)
  2081. }
  2082. this.anbaoSDUWG()//疏导区网格
  2083. // if(type=='29'){
  2084. // this.addMarker(arr, "security-plan", "养老机构")
  2085. // }else if(type=='30'){
  2086. // this.addMarker(arr, "security-plan", "医疗机构")
  2087. // }
  2088. }
  2089. });
  2090. },
  2091. basicGoBack(){ //疏导区基本情况 返回
  2092. this.basicStatisStatus=true;
  2093. },
  2094. getZQStaticData(){
  2095. this.$axios.post(this.$api.water.baseGgpFacilityStatistic,{
  2096. "facilityType": [33,34,35,36 ],
  2097. "statisticType":"facilityType",
  2098. }).then((res) => {
  2099. // this.staticData.array=res.data;
  2100. // var colorArr=['#00C8B8','#068DFF','#FF843A','#7DD807'];
  2101. // this.staticData.array.forEach((item, index) => {
  2102. // item.color = colorArr[index]
  2103. // })
  2104. // console.log(this.staticData.array)
  2105. // var totalCount=0
  2106. // res.data.forEach(function(item){
  2107. // totalCount+=Number(item.count)
  2108. // })
  2109. // this.staticData.total=totalCount
  2110. })
  2111. },
  2112. getStaticData(type){
  2113. this.$axios.post(this.$api.water.baseGgpFacilityStatistic,{
  2114. "facilityType": [type ] ,
  2115. "statisticType":"street",
  2116. }).then((res) => {
  2117. //筛选4个街镇的数据
  2118. this.staticData.array = res.data.filter(item=> item.streetTown=='华漕镇'||item.streetTown=='新虹街道'||item.streetTown=='七宝镇'||item.streetTown=='虹桥镇')
  2119. var colorArr=['#00C8B8','#068DFF','#FF843A','#7DD807'];
  2120. this.staticData.array.forEach((item, index) => {
  2121. item.color = colorArr[index]
  2122. })
  2123. // console.log(this.staticData.array)
  2124. var totalCount=0
  2125. res.data.forEach(function(item){
  2126. totalCount+=Number(item.count)
  2127. })
  2128. this.staticData.total=totalCount
  2129. })
  2130. },
  2131. getOneUnit(val){
  2132. if(val=='29'||val=='30'){ //表格及撒点
  2133. this.anbaoSDUWG()//疏导区网格
  2134. this.$axios.post(this.$api.water.baseGgpFacilityList,{
  2135. "facilityType": [val ]
  2136. }).then((res) => {
  2137. let arr = []
  2138. if(res.data.length>0){
  2139. arr = res.data;
  2140. this.arrayData = res.data ? JSON.parse(JSON.stringify(res.data)) : []
  2141. let data = {
  2142. gisX: 121.302183,
  2143. gisY: 31.189991,
  2144. type: "国家会展中心",
  2145. };
  2146. arr.push(data)
  2147. if(val=='29'){
  2148. this.addMarker(arr, "security-plan", "养老机构")
  2149. }else{
  2150. this.addMarker(arr, "security-plan", "医疗机构")
  2151. }
  2152. }
  2153. });
  2154. }else if(val=='6'){
  2155. }else{//统计
  2156. this.getStaticData(val)
  2157. }
  2158. },
  2159. beforeDestroy() {
  2160. this.autoScroll(true);
  2161. },
  2162. closeJkspStatus(){
  2163. this.jkspStatus = false
  2164. this.destroyHls()
  2165. },
  2166. //播放按钮
  2167. play() {
  2168. this.destroyHls()
  2169. this.loadVideoFn(this.Message.videoUrl)
  2170. },
  2171. destroyHls: function () {//关闭视频拉取
  2172. if (this.hls) {
  2173. this.$refs.hlsVideo.pause();
  2174. this.hls.destroy();
  2175. this.hls = null;
  2176. }
  2177. },
  2178. loadVideoFn(url) {//视频播放
  2179. setTimeout(() => {
  2180. if (Hls.isSupported()) {
  2181. this.hls = new Hls();
  2182. this.hls.loadSource(url);
  2183. this.hls.attachMedia(this.$refs.hlsVideo);
  2184. this.hls.on(Hls.Events.MANIFEST_PARSED, () => {
  2185. // console.log("加载成功");
  2186. this.$refs.hlsVideo.play();
  2187. });
  2188. this.hls.on(Hls.Events.ERROR, (event, data) => {
  2189. // console.log(event, data);
  2190. // 监听出错事件
  2191. //console.log("加载失败");
  2192. });
  2193. }
  2194. }, 1000)
  2195. },
  2196. /**
  2197. * 监控视频
  2198. */
  2199. surveillance(){
  2200. axios({
  2201. method: "get",
  2202. url: "http://32.1.7.96:8086/fireMajorSecurityProcess/selectSecurityViewUrl",
  2203. params:{
  2204. "pageNum":"1",
  2205. "pageSize":"500",
  2206. }
  2207. }).then((res) => {
  2208. this.sadian(res.data.data, "security-plan", "监控视频");
  2209. })
  2210. },
  2211. /**
  2212. * 网格统计状态切换
  2213. */
  2214. gridStatisticsGoBack(){
  2215. this.gridStatisticsStatus = true
  2216. },
  2217. /**
  2218. * 网格数据统计
  2219. */
  2220. gridStatisticsData(){
  2221. let formData = new FormData()
  2222. formData.append('grant_type', "client_credentials")
  2223. formData.append('client_id', "12016")
  2224. formData.append('client_secret', "956DD43944464DCeB262cED7d351AAA4")
  2225. formData.append('scope', "api.read")
  2226. axios({
  2227. headers: {
  2228. 'Content-Type': 'multipart/form-data'
  2229. },
  2230. method: "post",
  2231. url: "http://32.1.8.124:5001/connect/token",
  2232. data:formData
  2233. }).then((res) => {
  2234. axios({
  2235. headers: {
  2236. 'Content-Type': 'multipart/form-data',
  2237. "AppId": "12016",
  2238. "ResourceId": "1884",
  2239. "Authorization":'Bearer ' + res.access_token
  2240. },
  2241. method: "get",
  2242. url: "http://32.1.8.124:5002/api/data-share/1884/json",
  2243. params:{
  2244. "STARTTIME":dayjs().subtract(0, "day").format("YYYY-MM-DD"),
  2245. "ENDTIME":dayjs().subtract(0, "day").format("YYYY-MM-DD"),
  2246. "STREETCODE":"",
  2247. "INFOTYPEID":"",
  2248. "INFOBCCODE":"",
  2249. "INFOSCCODE":"",
  2250. "INFOZCCODE":"",
  2251. // "ENDTIME":"2023-12-01",
  2252. }
  2253. }).then((res2) => {
  2254. this.gridStatisticsTable.total = []
  2255. this.gridStatisticsTable.over = []
  2256. this.gridStatisticsTable.yinhuan = []
  2257. this.gridStatisticsTable.total = res2.values
  2258. this.gridStatisticsTableType = this.gridStatisticsTable.total
  2259. this.gridStatisticsNum.total = res2.values.length
  2260. let num = 0;
  2261. let yinhuan = 0
  2262. for(let i =0;i<res2.values.length;i++){
  2263. if(res2.values[i]["案件状态"] == "已结案"){
  2264. num ++
  2265. this.gridStatisticsTable.over.push(res2.values[i])
  2266. }
  2267. if(res2.values[i]["案件子类"].indexOf("部件") > -1 ||
  2268. res2.values[i]["案件子类"].indexOf("三违") > -1 ||
  2269. res2.values[i]["案件子类"].indexOf("扰乱火灾") > -1 ||
  2270. res2.values[i]["案件子类"].indexOf("焚烧") > -1 ||
  2271. res2.values[i]["案件子类"].indexOf("森林火灾") > -1 ){
  2272. }else{
  2273. yinhuan ++
  2274. this.gridStatisticsTable.yinhuan.push(res2.values[i])
  2275. }
  2276. }
  2277. setTimeout(()=>{
  2278. this.gridStatisticsNum.over = num
  2279. this.gridStatisticsNum.yinhuan = yinhuan
  2280. if(num){
  2281. this.gridStatisticsNum.rate = ((num / this.gridStatisticsNum.total) * 100).toFixed(2)
  2282. }else{
  2283. this.gridStatisticsNum.rate = 0
  2284. }
  2285. },50)
  2286. })
  2287. })
  2288. },
  2289. /**
  2290. * 网格统计
  2291. * @param {} id 1上报数,2隐患数,3处置数
  2292. */
  2293. gridStatistics(id){
  2294. this.gridStatisticsStatus = false
  2295. if(id == 1){
  2296. this.gridStatisticsTableType = this.gridStatisticsTable.total
  2297. }
  2298. if(id == 2){
  2299. this.gridStatisticsTableType = this.gridStatisticsTable.over
  2300. }
  2301. if(id == 3){
  2302. this.gridStatisticsTableType = this.gridStatisticsTable.yinhuan
  2303. }
  2304. },
  2305. /**
  2306. * 在线视频
  2307. */
  2308. async selectVideo(id) {
  2309. await axios({
  2310. headers: {
  2311. "Content-Type": "application/json;charset=UTF-8",
  2312. },
  2313. method: "get",
  2314. // url: "http://32.0.15.107:8080/video-api/kiop-gateway-core/4G/device/ext?apikey=643e6591-a489-4648-ba35-c15c39c64022",
  2315. url: "http://32.0.15.107:8080/video-api/kiop-gateway-core/tysbs/device/ext?apikey=643e6591-a489-4648-ba35-c15c39c64022&f_in_civilCode=31021019,31020414&pageNo=0&pageSize=10000",
  2316. }).then((res) => {
  2317. let arr = [];
  2318. let zfjly = [];
  2319. if (res.data.length > 0) {
  2320. let data = res.data;
  2321. for (let i = 0; i < data.length; i++) {
  2322. if (data[i].otherNames?.status_name == "在线") {
  2323. var num = {
  2324. id: data[i].id,
  2325. name: data[i]?.deviceName,
  2326. groupName: data[i]?.groupName,
  2327. gisX: data[i]?.longitude
  2328. ? data[i]?.longitude
  2329. : 0,
  2330. gisY: data[i]?.latitude ? data[i]?.latitude : 0,
  2331. type: "执法记录仪",
  2332. gbid: data[i].gbid,
  2333. url:
  2334. "http://10.107.31.215:50080/dispatch-ms/#/conference/single_url?ipc_live=1&key=643e6591-a489-4648-ba35-c15c39c64022&gbids=" +
  2335. data[i].gbid,
  2336. };
  2337. arr.push(num);
  2338. }
  2339. }
  2340. for (let i = 0; i < arr.length; i++) {
  2341. if (arr[i].name.indexOf("单兵") > -1 || arr[i].name.indexOf("无人机") > -1 || arr[i].name.indexOf("布控球") > -1 || arr[i].name.indexOf("救援站") > -1) {
  2342. }else{
  2343. zfjly.push(arr[i]);
  2344. }
  2345. }
  2346. this.selectVideoData = zfjly;
  2347. let sd = []
  2348. if (arr.length > 0 && id) {
  2349. let data = {
  2350. gisX: 121.302183,
  2351. gisY: 31.189991,
  2352. type: "国家会展中心",
  2353. };
  2354. sd = JSON.parse(JSON.stringify(zfjly))
  2355. sd.push(data)
  2356. this.addMarker(sd, "enforcement-dynamic","执法记录仪");
  2357. }
  2358. }
  2359. });
  2360. // 测试
  2361. // let arr =
  2362. // [{
  2363. // id: "5708ad6382517cd68ea2d2f8cd01bb58",
  2364. // name: "上海闵行闵行消防站4G布控球",
  2365. // groupName: "009闵行支队",
  2366. // gisX: 121.386128,
  2367. // gisY:31.139253 ,
  2368. // type:"video",
  2369. // gbid:31.01411,
  2370. // type:"执法记录仪",
  2371. // url:"http://10.107.31.215:50080/dispatch-ms/#/conference/single_url?ipc_live=1&key=643e6591-a489-4648-ba35-c15c39c64022&gbids=31000000001320003271&nmediaid=121"
  2372. // }
  2373. // ]
  2374. // if(id){
  2375. // this.addMarker(arr, "enforcement-dynamic");
  2376. // }
  2377. },
  2378. selectArray(id) {
  2379. this.checkedArray.checkedData[0] = 4;
  2380. let data = this.checkedSelectArray.filter((val) => {
  2381. if (val.value == id) {
  2382. return val.label;
  2383. }
  2384. });
  2385. this.checkedSelectLabel = data[0].label;
  2386. this.sadianSelect(data[0].value);
  2387. this.anbaoSDUWG()//疏导区网格
  2388. },
  2389. /**
  2390. *
  2391. */
  2392. goBack() {
  2393. this.category = true;
  2394. },
  2395. /**
  2396. * categoryClick echarts 点击事件
  2397. */
  2398. categoryClick() {
  2399. this.category = false;
  2400. },
  2401. /* 各站点执勤实力分页 */
  2402. async getFireSiteDuty() {
  2403. await this.$axios
  2404. .get(
  2405. this.$api.fireSite.page +
  2406. "?" +
  2407. this.$qs.stringify({
  2408. current: 1,
  2409. size: 100,
  2410. })
  2411. )
  2412. .then((res) => {
  2413. if (res.data.records.length > 0) {
  2414. let arr = res.data.records;
  2415. let data = arr.filter((item) => {
  2416. let data = [];
  2417. if (item.name == "华漕站" || item.name == "新虹站" || item.name == "七宝站" || item.name == "申虹站") {
  2418. data.push(item);
  2419. return data;
  2420. }
  2421. });
  2422. for (let i = 0; i < data.length; i++) {
  2423. data[i].cheliang = {};
  2424. data[i].personnel = undefined;
  2425. data[i].car = undefined;
  2426. this.$axios
  2427. .get(
  2428. this.$api.fireSite.list +
  2429. "?" +
  2430. this.$qs.stringify({
  2431. zdCode: data[i].xfjgId,
  2432. })
  2433. )
  2434. .then((Response) => {
  2435. if (Response.data.length > 0) {
  2436. let children = Response.data;
  2437. data[i].cheliang = children;
  2438. data[i].car = children.length;
  2439. data[i].children = [];
  2440. data[i].personnel = 0;
  2441. for (let a = 0; a < children.length; a++) {
  2442. children[a].renyuan = "";
  2443. children[a].renyuanNum = 0;
  2444. if (children[a].zhy) {
  2445. children[a].renyuan = children[a].zhy + ",";
  2446. }
  2447. if (children[a].jsy) {
  2448. children[a].renyuan += children[a].jsy + ",";
  2449. }
  2450. if (children[a].txy) {
  2451. children[a].renyuan += children[a].txy + ",";
  2452. }
  2453. if (children[a].zsry) {
  2454. children[a].renyuan += children[a].zsry + ",";
  2455. }
  2456. data[i].children.push(children[a]);
  2457. if (children[a].renyuan.indexOf(",") > -1) {
  2458. children[a].renyuanNum += children[a].renyuan.match(/,/g).length;
  2459. }
  2460. data[i].personnel += children[a].renyuanNum;
  2461. }
  2462. for (let i = 0; i < data.length; i++) {
  2463. if (data[i].name == "闵行支队") {
  2464. data[i].name = "支队";
  2465. } else {
  2466. data[i].name = data[i].name.slice(0, 2);
  2467. }
  2468. }
  2469. setTimeout(() => {
  2470. this.cldt = data;
  2471. }, 1500);
  2472. }
  2473. });
  2474. }
  2475. setTimeout(() => {
  2476. this.tableData2 = data;
  2477. }, 1000);
  2478. } else {
  2479. this.dataNo = "暂未数据";
  2480. }
  2481. });
  2482. },
  2483. /**
  2484. * 撒点类型选择
  2485. */
  2486. checkboxChange(id) {
  2487. this.checkedArray.checkedData[0] = id;
  2488. if (id == 15) {
  2489. this.gridStatus = id;
  2490. this.anbao(1, 1);
  2491. // this.anbaoMap()
  2492. this.grid(id);
  2493. this.hzzxtb()
  2494. this.anbaoSDUWG()//疏导区网格
  2495. } else if (id == 16) {
  2496. this.gridStatus = id;
  2497. this.grid(16, null, null, 1);
  2498. setTimeout(()=>{
  2499. this.hzzxtb()
  2500. this.anbaoSDUWG()//疏导区网格
  2501. },2000)
  2502. } else if (id == 17) {
  2503. this.surveillance()
  2504. this.hzzxtb()
  2505. this.anbaoSDUWG()//疏导区网格
  2506. } else if (id == 18) {
  2507. this.gridStatus = id;
  2508. this.sadianSelect(id);
  2509. this.hzzxtb()
  2510. this.anbaoSDUWG()//疏导区网格
  2511. } else if (id == 19) {
  2512. this.gridStatus = id;
  2513. this.anbao(1, 3);
  2514. this.dwgjcmcAndhzzx()
  2515. this.anbaoSDUWG2()//疏导区网格
  2516. } else if (id == 20) {
  2517. this.gridStatus = id;
  2518. this.selectVideo(1)
  2519. this.anbaoSDUWG()//疏导区网格
  2520. } else {
  2521. this.sadianSelect(id);
  2522. this.hzzxtb()
  2523. this.anbaoSDUWG()//疏导区网格
  2524. }
  2525. },
  2526. /* 历史警情 */
  2527. async historicalWarning() {
  2528. let monthDay = dayjs().subtract(30, "day").format("YYYY-MM-DD HH:mm:ss");
  2529. let today = dayjs().subtract(0, "day").format("YYYY-MM-DD HH:mm:ss");
  2530. return await this.$axios.get(
  2531. this.$api.jqzhcz.page2 +
  2532. "?" +
  2533. this.$qs.stringify({
  2534. // streetTown: this.stroes.$state.streetTown, //街镇
  2535. current: 1,
  2536. size: 150,
  2537. startTime: monthDay,
  2538. endTime: today,
  2539. })
  2540. );
  2541. },
  2542. /**
  2543. * 撒点测绘院、高德
  2544. */
  2545. sadianSelect(id) {
  2546. let type = undefined
  2547. for(let i =0;i<this.checkedArray.checkedList.length;i++){
  2548. if(id ==this.checkedArray.checkedList[i].value ){
  2549. type = this.checkedArray.checkedList[i].label
  2550. // this.checkedSelectLabel = type
  2551. }
  2552. }
  2553. let that = this;
  2554. let arr = [];
  2555. if (this.stroes.$state.mapBool == 1) {
  2556. if (id == 0) {
  2557. this.initMarkers(arr.slice(0, 500), "security-plan", type);
  2558. } else if (id == 1 || id == 2) {
  2559. this.historicalWarning()
  2560. .then((res) => {
  2561. if (res) {
  2562. let data = res.data.records;
  2563. arr = data;
  2564. arr = data.filter((item) => item.zhongdui === "华漕" || item.zhongdui === "新虹" || item.zhongdui === "七宝" || item.zhongdui === "虹桥");
  2565. if (id == 2) {
  2566. arr = arr.filter((item) => {
  2567. return item.ajlxdm == 1;
  2568. });
  2569. }
  2570. }
  2571. })
  2572. .then((res) => {
  2573. this.initMarkers(arr.slice(0, 500), "security-plan", type);
  2574. });
  2575. } else {
  2576. this.initMarkers([], "security-plan", type);
  2577. }
  2578. } else {
  2579. if (id == 0) {
  2580. let data = {
  2581. gisX: 121.302183,
  2582. gisY: 31.189991,
  2583. type: "国家会展中心",
  2584. };
  2585. arr.push(data);
  2586. this.sadian(arr, "security-plan", type);
  2587. }
  2588. if (id == 1 || id == 2) {
  2589. this.historicalWarning()
  2590. .then((res) => {
  2591. if (res) {
  2592. let data = res.data.records;
  2593. arr = data;
  2594. arr = data.filter((item) => item.zhongdui === "华漕" || item.zhongdui === "新虹" || item.zhongdui === "七宝" || item.zhongdui === "虹桥");
  2595. if (id == 2) {
  2596. arr = arr.filter((item) => {
  2597. return item.ajlxdm == 1;
  2598. });
  2599. }
  2600. }
  2601. })
  2602. .then((res) => {
  2603. let data = {
  2604. gisX: 121.302183,
  2605. gisY: 31.189991,
  2606. type: "国家会展中心",
  2607. };
  2608. arr.push(data);
  2609. this.sadian(arr, "security-plan", type);
  2610. });
  2611. }
  2612. if (this.checkedArray.checkedData[0] == 40) {
  2613. this.$axios
  2614. .post(this.$api.fireSite.demFireStationList, {
  2615. stationType: [1, 2, 3, 4],
  2616. })
  2617. .then((res) => {
  2618. for (let i = 0; i < res.data.length; i++) {
  2619. if (
  2620. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2621. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2622. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2623. res.data[i].streetTown.indexOf("虹桥") > -1
  2624. ) {
  2625. res.data[i].type = "消防站";
  2626. arr.push(res.data[i]);
  2627. }
  2628. }
  2629. let data = {
  2630. gisX: 121.302183,
  2631. gisY: 31.189991,
  2632. type: "国家会展中心",
  2633. };
  2634. arr.push(data);
  2635. this.addMarker(arr, "rescue-station", "消防站");
  2636. });
  2637. }
  2638. if (id == 41) {
  2639. this.$axios
  2640. .post(this.$api.fireSite.demFireStationList, {
  2641. stationType: [4],
  2642. })
  2643. .then((res) => {
  2644. for (let i = 0; i < res.data.length; i++) {
  2645. if (
  2646. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2647. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2648. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2649. res.data[i].streetTown.indexOf("虹桥") > -1
  2650. ) {
  2651. res.data[i].type = "专职队";
  2652. arr.push(res.data[i]);
  2653. }
  2654. }
  2655. let data = {
  2656. gisX: 121.302183,
  2657. gisY: 31.189991,
  2658. type: "国家会展中心",
  2659. };
  2660. arr.push(data);
  2661. this.addMarker(arr, "rescue-station", "专职队");
  2662. });
  2663. }
  2664. if (id == 42) {
  2665. this.$axios.get(this.$api.fireSite.demStreetMicroStationList + "?" + this.$qs.stringify({})).then((res) => {
  2666. for (let i = 0; i < res.data.length; i++) {
  2667. if (
  2668. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2669. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2670. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2671. res.data[i].streetTown.indexOf("虹桥") > -1
  2672. ) {
  2673. res.data[i].stationType = 5;
  2674. arr.push(res.data[i]);
  2675. }
  2676. }
  2677. let data = {
  2678. gisX: 121.302183,
  2679. gisY: 31.189991,
  2680. type: "国家会展中心",
  2681. };
  2682. arr.push(data);
  2683. this.addMarker(arr, "rescue-station", "微型消防站");
  2684. });
  2685. }
  2686. if (id == 44) {
  2687. this.$axios
  2688. .post(this.$api.water.baseGgpFacilityList, {
  2689. facilityType: [13, 14],
  2690. })
  2691. .then((res) => {
  2692. for (let i = 0; i < res.data.length; i++) {
  2693. if (
  2694. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2695. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2696. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2697. res.data[i].streetTown.indexOf("虹桥") > -1
  2698. ) {
  2699. res.data[i].stationType = 112;
  2700. arr.push(res.data[i]);
  2701. }
  2702. }
  2703. let data = {
  2704. gisX: 121.302183,
  2705. gisY: 31.189991,
  2706. type: "国家会展中心",
  2707. };
  2708. arr.push(data);
  2709. this.addMarker(arr, "rescue-station", "企业消防");
  2710. });
  2711. }
  2712. if (id == 45) {
  2713. this.$axios
  2714. .post(this.$api.water.baseGgpFacilityList, {
  2715. facilityType: [15, 16],
  2716. })
  2717. .then((res) => {
  2718. for (let i = 0; i < res.data.length; i++) {
  2719. if (
  2720. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2721. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2722. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2723. res.data[i].streetTown.indexOf("虹桥") > -1
  2724. ) {
  2725. res.data[i].stationType = 112;
  2726. arr.push(res.data[i]);
  2727. }
  2728. }
  2729. let data = {
  2730. gisX: 121.302183,
  2731. gisY: 31.189991,
  2732. type: "国家会展中心",
  2733. };
  2734. arr.push(data);
  2735. this.addMarker(arr, "rescue-station", "社区消防");
  2736. });
  2737. }
  2738. if (id == 46) {
  2739. this.$axios
  2740. .post(this.$api.water.baseGgpFacilityList, {
  2741. facilityType: [17],
  2742. })
  2743. .then((res) => {
  2744. for (let i = 0; i < res.data.length; i++) {
  2745. if (
  2746. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2747. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2748. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2749. res.data[i].streetTown.indexOf("虹桥") > -1
  2750. ) {
  2751. res.data[i].stationType = 17;
  2752. arr.push(res.data[i]);
  2753. }
  2754. }
  2755. let data = {
  2756. gisX: 121.302183,
  2757. gisY: 31.189991,
  2758. type: "国家会展中心",
  2759. };
  2760. arr.push(data);
  2761. this.addMarker(arr, "rescue-station", "一级微型消防站");
  2762. });
  2763. }
  2764. if (id == 47) {
  2765. this.$axios
  2766. .post(this.$api.water.baseGgpFacilityList, {
  2767. facilityType: [18],
  2768. })
  2769. .then((res) => {
  2770. for (let i = 0; i < res.data.length; i++) {
  2771. if (
  2772. res.data[i].streetTown.indexOf("华漕") > -1 ||
  2773. res.data[i].streetTown.indexOf("新虹") > -1 ||
  2774. res.data[i].streetTown.indexOf("七宝") > -1 ||
  2775. res.data[i].streetTown.indexOf("虹桥") > -1
  2776. ) {
  2777. res.data[i].stationType = 18;
  2778. arr.push(res.data[i]);
  2779. }
  2780. }
  2781. let data = {
  2782. gisX: 121.302183,
  2783. gisY: 31.189991,
  2784. type: "国家会展中心",
  2785. };
  2786. arr.push(data);
  2787. this.addMarker(arr, "rescue-station", "街镇专职消防队");
  2788. });
  2789. }
  2790. if (id == 18) {
  2791. this.$axios
  2792. .get(this.$api.fire.fireSafetyInspectionScatter)
  2793. .then((res) => {
  2794. for(let i =0;i<res.data.length;i++){
  2795. res.data[i].type = "监督检查"
  2796. arr.push(res.data[i])
  2797. }
  2798. let data = {
  2799. gisX: 121.302183,
  2800. gisY: 31.189991,
  2801. type: "国家会展中心",
  2802. };
  2803. arr.push(data);
  2804. this.addMarker(arr, "security-plan", "监督检查");
  2805. });
  2806. }
  2807. }
  2808. },
  2809. /**
  2810. * 撒点
  2811. */
  2812. sadian(data, pageType, type) {
  2813. if (this.stroes.$state.mapBool == 1) {
  2814. if (data.length > 0) {
  2815. this.initMarkers(data.slice(0, 500), pageType, type);
  2816. } else {
  2817. this.initMarkers([], pageType, type);
  2818. }
  2819. } else {
  2820. // this.anbaoMapNew(); //安保区域
  2821. if (data.length > 0) {
  2822. this.addMarker(data.slice(0, 500), pageType, type);
  2823. } else {
  2824. this.addMarker([], pageType, type);
  2825. }
  2826. }
  2827. },
  2828. /**
  2829. * 网格人员
  2830. * id 15中网格
  2831. * area 区域名称
  2832. * position 坐标
  2833. * query 查询居委会名称
  2834. * x 小网格名称映射
  2835. */
  2836. grid(id, area, position, query,x) {
  2837. let querySearch = {};
  2838. let hzzx =[{
  2839. gisX: 121.302183,
  2840. gisY: 31.189991,
  2841. type: "国家会展中心",
  2842. }];
  2843. // this.sadian(hzzx, "security-plan", "国家会展中心");
  2844. if (id == 19) { //大网格
  2845. this.rightArray.headerData2 = [
  2846. { prop: "gridArea", name: "网格区域" },
  2847. { prop: "streetTown", name: "街道" },
  2848. { prop: "type1", name: "分管镇(街道)领导" },
  2849. { prop: "type2", name: "城运中心人员" },
  2850. { prop: "type3", name: "安监所所长" },
  2851. { prop: "type4", name: "支队外勤参谋" },
  2852. ];
  2853. querySearch = {
  2854. gridArea: area,
  2855. gridGrade: 1,
  2856. };
  2857. }
  2858. if (id == 15) {//中网格
  2859. this.rightArray.headerData2 = [
  2860. { prop: "gridArea", name: "网格区域" },
  2861. { prop: "streetTown", name: "街道" },
  2862. { prop: "type1", name: "安监所人员" },
  2863. { prop: "type2", name: "城运中心人员" },
  2864. { prop: "type3", name: "消防助理员" },
  2865. ];
  2866. querySearch = {
  2867. gridArea: area,
  2868. gridGrade: 2,
  2869. };
  2870. }
  2871. if (id == 16) {//小网格
  2872. this.rightArray.headerData2 = [
  2873. { prop: "gridArea", name: "网格区域" },
  2874. { prop: "streetTown", name: "街道" },
  2875. { prop: "type1", name: "小网格人员" },
  2876. { prop: "type2", name: "小网格长" },
  2877. ];
  2878. querySearch = {
  2879. mapGridName: area,
  2880. gridGrade: 3,
  2881. };
  2882. }
  2883. this.$axios.get(this.$api.fireSite.gridMemberScatter + "?" + this.$qs.stringify(querySearch)).then((res) => {
  2884. if(id == 16 && x == 3){
  2885. this.staticsSd(res.data[0].gridArea,3,'')
  2886. }
  2887. let data = res.data;
  2888. let gridData = [];
  2889. if (data.length > 0) {
  2890. for (let i = 0; i < data.length; i++) {
  2891. if (data[i].gridMemderViceList && data[i].gridMemderViceList.length > 0) {
  2892. gridData[i] = {
  2893. gridArea: data[i].gridArea,
  2894. streetTown: data[i].streetTown,
  2895. mapGridName: data[i].mapGridName,
  2896. seniorGrid: data[i].seniorGrid,
  2897. type1: undefined,
  2898. type2: undefined,
  2899. type3: undefined,
  2900. type4: undefined,
  2901. };
  2902. if (data[i].gridMemderViceList) {
  2903. for (let ii = 0; ii < data[i].gridMemderViceList.length; ii++) {
  2904. if (id == 19) {
  2905. if (data[i].gridMemderViceList[ii].personnelType == 3) {
  2906. if (gridData[i].type1) {
  2907. gridData[i].type1 = `${gridData[i].type1}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2908. } else {
  2909. gridData[i].type1 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2910. }
  2911. }
  2912. if (data[i].gridMemderViceList[ii].personnelType == 4) {
  2913. if (gridData[i].type2) {
  2914. gridData[i].type2 = `${gridData[i].type2}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2915. } else {
  2916. gridData[i].type2 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2917. }
  2918. }
  2919. if (data[i].gridMemderViceList[ii].personnelType == 5) {
  2920. if (gridData[i].type3) {
  2921. gridData[i].type3 = `${gridData[i].type3}</br>                           ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2922. } else {
  2923. gridData[i].type3 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2924. }
  2925. }
  2926. if (data[i].gridMemderViceList[ii].personnelType == 6) {
  2927. if (gridData[i].type4) {
  2928. gridData[i].type4 = `${gridData[i].type4}</br>                               ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2929. } else {
  2930. gridData[i].type4 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2931. }
  2932. }
  2933. }
  2934. if (id == 15) {
  2935. if (data[i].gridMemderViceList[ii].personnelType == 7) {
  2936. if (gridData[i].type1) {
  2937. gridData[i].type1 = `${gridData[i].type1}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2938. } else {
  2939. gridData[i].type1 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2940. }
  2941. }
  2942. if (data[i].gridMemderViceList[ii].personnelType == 8) {
  2943. if (gridData[i].type2) {
  2944. gridData[i].type2 = `${gridData[i].type2}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2945. } else {
  2946. gridData[i].type2 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2947. }
  2948. }
  2949. if (data[i].gridMemderViceList[ii].personnelType == 9) {
  2950. if (gridData[i].type3) {
  2951. gridData[i].type3 = `${gridData[i].type3}</br>                           ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2952. } else {
  2953. gridData[i].type3 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2954. }
  2955. }
  2956. }
  2957. if (id == 16) {
  2958. if (data[i].gridMemderViceList[ii].personnelType == 10) {
  2959. if (gridData[i].type1) {
  2960. gridData[i].type1 = `${gridData[i].type1}</br>                           ${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2961. } else {
  2962. gridData[i].type1 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2963. }
  2964. }
  2965. if (data[i].gridMemderViceList[ii].personnelType == 11) {
  2966. if (gridData[i].type2) {
  2967. gridData[i].type2 = `${gridData[i].type2}</br>${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2968. } else {
  2969. gridData[i].type2 = `${data[i].gridMemderViceList[ii].personnelName} ${data[i].gridMemderViceList[ii].phone}`;
  2970. }
  2971. }
  2972. }
  2973. }
  2974. }
  2975. }
  2976. }
  2977. console.log(gridData)
  2978. // if(id == 19){
  2979. // let arr = {};
  2980. // arr.type = id;
  2981. // arr.name = area;
  2982. // // arr.position = position;
  2983. // arr.content = gridData;
  2984. // this.anbaoPopup(arr);
  2985. // }
  2986. if (position) {
  2987. let arr = {};
  2988. arr.type = id;
  2989. arr.name = area;
  2990. arr.position = position;
  2991. arr.content = gridData;
  2992. this.anbaoPopup(arr);
  2993. if(id !=19){
  2994. this.superiorGrid(gridData[0].seniorGrid, id == 15 ? 1 : id == 16 ? 2 : "");
  2995. }
  2996. } else {
  2997. }
  2998. this.rightArray.tableData = gridData;
  2999. } else {
  3000. this.dataNo2 = "暂无数据";
  3001. }
  3002. //用于地图居委会区块查询
  3003. if (query && id == 16) {
  3004. var queryData = [];
  3005. let qw = []
  3006. for (let i = 0; i < gridData.length; i++) {
  3007. if (gridData[i].mapGridName) {
  3008. queryData.push(gridData[i]);
  3009. }else{
  3010. qw.push(gridData[i])
  3011. }
  3012. }
  3013. this.anbao(1, 2, queryData);
  3014. }
  3015. });
  3016. },
  3017. /**
  3018. * 上级网格
  3019. * @param {*网格上级id} id
  3020. * @param {*等级} type 1镇级 2片区
  3021. */
  3022. superiorGrid(id, type) {
  3023. this.$axios
  3024. .get(
  3025. this.$api.fireSite.gridMemberScatter +
  3026. "?" +
  3027. this.$qs.stringify({
  3028. seniorGrid: id,
  3029. })
  3030. )
  3031. .then((res) => {
  3032. this.diversionArea = [];
  3033. if (res.data.length > 0) {
  3034. let data = res.data[0];
  3035. if (type == 1) {
  3036. //镇级
  3037. this.diversionArea[0] = {
  3038. name: `${data.gridArea}面积`,
  3039. value: data.gridArea == "华漕镇" ? 28.2 : data.gridArea == "新虹街道" ? "19.26" : data.gridArea == "七宝镇" ? "7" : data.gridArea == "虹桥镇" ? "7" : "",
  3040. unit: "km²",
  3041. color: "#7DD807",
  3042. };
  3043. this.diversionArea[1] = {
  3044. name: "街镇分管领导",
  3045. value: 0,
  3046. unit: "人",
  3047. color: "#01C3B4",
  3048. };
  3049. this.diversionArea[2] = {
  3050. name: "城运中心主任",
  3051. value: 0,
  3052. unit: "人",
  3053. color: "#FD843A",
  3054. };
  3055. this.diversionArea[3] = {
  3056. name: "安监所所长",
  3057. value: 0,
  3058. unit: "人",
  3059. color: "#7DD807",
  3060. };
  3061. this.diversionArea[4] = {
  3062. name: "支队外勤参谋",
  3063. value: 0,
  3064. unit: "人",
  3065. color: "#058DFE",
  3066. };
  3067. this.diversionArea[5] = {
  3068. name: "中网格",
  3069. value: data.gridArea == "华漕镇" ? 5 : data.gridArea == "新虹街道" ? "4" : data.gridArea == "七宝镇" ? "3" : data.gridArea == "虹桥镇" ? "2" : "",
  3070. unit: "个",
  3071. color: "#058DFE",
  3072. };
  3073. this.diversionArea[6] = {
  3074. name: "小网格",
  3075. value: data.gridArea == "华漕镇" ? 36 : data.gridArea == "新虹街道" ? "22" : data.gridArea == "七宝镇" ? "34" : data.gridArea == "虹桥镇" ? "11" : "",
  3076. unit: "个",
  3077. color: "#058DFE",
  3078. };
  3079. for (let i = 0; i < data.gridMemderViceList.length; i++) {
  3080. if (data.gridMemderViceList[i].personnelType == 3) {
  3081. //街镇分管领导
  3082. this.diversionArea[1].value++;
  3083. }
  3084. if (data.gridMemderViceList[i].personnelType == 4) {
  3085. //城运中心主任
  3086. this.diversionArea[2].value++;
  3087. }
  3088. if (data.gridMemderViceList[i].personnelType == 5) {
  3089. //安监所所长
  3090. this.diversionArea[3].value++;
  3091. }
  3092. if (data.gridMemderViceList[i].personnelType == 6) {
  3093. //支队外勤参谋
  3094. this.diversionArea[4].value++;
  3095. }
  3096. }
  3097. }
  3098. if (type == 2) {
  3099. //片区
  3100. this.diversionArea[0] = {
  3101. name: "",
  3102. value: data.gridArea,
  3103. unit: "",
  3104. color: "#7DD807",
  3105. };
  3106. this.diversionArea[1] = {
  3107. name: "安监所人员",
  3108. value: 0,
  3109. unit: "人",
  3110. color: "#01C3B4",
  3111. };
  3112. this.diversionArea[2] = {
  3113. name: "城运中心人员",
  3114. value: 0,
  3115. unit: "人",
  3116. color: "#FD843A",
  3117. };
  3118. this.diversionArea[3] = {
  3119. name: "消防助理员",
  3120. value: 0,
  3121. unit: "人",
  3122. color: "#7DD807",
  3123. };
  3124. this.diversionArea[4] = {
  3125. name: "小网格",
  3126. value:
  3127. data.gridArea == "闵S1-1(纪王西网格)"
  3128. ? "4"
  3129. : data.gridArea == "闵S1-2(纪王东网格)"
  3130. ? "6"
  3131. : data.gridArea == "闵S1-3(诸翟北网格)"
  3132. ? "12"
  3133. : data.gridArea == "闵S1-4(诸翟南网格)"
  3134. ? "8"
  3135. : data.gridArea == "闵S1-5(老华漕网格)"
  3136. ? "6"
  3137. : data.gridArea == "闵S2-1(爱博网格)"
  3138. ? "4"
  3139. : data.gridArea == "闵S2-2(华美网格)"
  3140. ? "6"
  3141. : data.gridArea == "闵S2-3(枢纽网格)"
  3142. ? "6"
  3143. : data.gridArea == "闵S2-4(航华网格)"
  3144. ? "6"
  3145. : data.gridArea == "闵S3-1(七宝北片网格)"
  3146. ? "10"
  3147. : data.gridArea == "闵S3-2(七宝吴宝路网格)"
  3148. ? "9"
  3149. : data.gridArea == "闵S3-3(七宝航华网格)"
  3150. ? "15"
  3151. : data.gridArea == "闵S4-1(紫藤红松网格)"
  3152. ? "6"
  3153. : data.gridArea == "闵S4-2(虹梅网格)"
  3154. ? "5"
  3155. : "0",
  3156. unit: "个",
  3157. color: "#7DD807",
  3158. };
  3159. for (let i = 0; i < data.gridMemderViceList.length; i++) {
  3160. if (data.gridMemderViceList[i].personnelType == 7) {
  3161. //安监所人员
  3162. this.diversionArea[1].value++;
  3163. }
  3164. if (data.gridMemderViceList[i].personnelType == 8) {
  3165. //城运中心人员
  3166. this.diversionArea[2].value++;
  3167. }
  3168. if (data.gridMemderViceList[i].personnelType == 9) {
  3169. //消防助理员
  3170. this.diversionArea[3].value++;
  3171. }
  3172. }
  3173. }
  3174. }
  3175. // diversionArea:[
  3176. // {name:"疏导区总面积",value:61.46,unit:"km²",color:"#7DD807"},
  3177. // {name:"华漕镇",value:28.2,unit:"km²",color:"#01C3B4"},
  3178. // {name:"新虹街道",value:19.26,unit:"km²",color:"#01C3B4"},
  3179. // {name:"七宝镇",value:7,unit:"㎡",color:"#01C3B4"},
  3180. // {name:"虹桥镇",value:7,unit:"km²",color:"#01C3B4"},
  3181. // {name:"大网格",value:4,unit:"个",color:"#FC0609 "},
  3182. // {name:"中网格",value:14,unit:"个",color:"#FD843A"},
  3183. // {name:"小网格",value:103,unit:"个",color:"#7DD807"},
  3184. // {name:"分管领导",value:20,unit:"人",color:"#058DFE"},
  3185. // {name:"增援干部",value:11,unit:"人",color:"#058DD1"},
  3186. // ],//疏导区基本情况
  3187. });
  3188. },
  3189. },
  3190. watch: {
  3191. "stores.$state.gridData": function (newValue, oldValue) {
  3192. console.log(this.gridStatus)
  3193. if (this.gridStatus == 19) {
  3194. this.grid(19, newValue.name, newValue.position);
  3195. }
  3196. if (this.gridStatus == 15) {
  3197. this.grid(15, newValue.name, newValue.position);
  3198. this.staticsSd(newValue.name,2,'')
  3199. }
  3200. if (this.gridStatus == 16) {
  3201. this.grid(16, newValue.name, newValue.position,null,3);
  3202. }
  3203. },
  3204. "stores.$state.jkspData": function (newValue, oldValue) {
  3205. this.jkspStatus = true
  3206. this.Message.name = newValue.children[0][1]
  3207. this.Message.videoId = newValue.id
  3208. this.Message.videoUrl = newValue.url
  3209. // "http://videocdn.didano.com/school765class0channelId2761namedingdangm/playlist.m3u8"
  3210. this.play()
  3211. },
  3212. "stores.$state.zddwId": function (newValue, oldValue) {
  3213. this.zddwSd(newValue);
  3214. },
  3215. },
  3216. // watch: {
  3217. // "stores.$state.jkspData": function (newValue, oldValue) {
  3218. // console.log(123,newValue,this.stores.$state.jkspData)
  3219. // this.jkspStatus = true
  3220. // console.log(this.jkspStatus)
  3221. // this.Message.name = newValue.children[0][1]
  3222. // this.Message.videoId = newValue.id
  3223. // this.Message.videoUrl = "http://videocdn.didano.com/school765class0channelId2761namedingdangm/playlist.m3u8"
  3224. // // this.Message.videoUrl = newValue.url
  3225. // this.play()
  3226. // },
  3227. // },
  3228. };
  3229. </script>
  3230. <style lang="scss" scoped>
  3231. @import "@/assets/scss/color.scss";
  3232. .contentBox {
  3233. .return{
  3234. position: absolute;
  3235. top:0px;
  3236. right:0px;
  3237. margin-top:0!important;
  3238. .returnText {
  3239. width: 0.5rem;
  3240. text-align: center;
  3241. height: 0.3rem;
  3242. line-height: 0.3rem;
  3243. box-shadow: inset 0 0 0.05rem 0.05rem #1b4f90;
  3244. background: rgba(19, 42, 90, 0.2) !important;
  3245. color: #fff;
  3246. float: right;
  3247. margin-top: 0;
  3248. }
  3249. }
  3250. .leftBox {
  3251. .leftTop {
  3252. height: 43%;
  3253. max-height: 43%;
  3254. justify-content: center;
  3255. align-items: center;
  3256. box-sizing: border-box;
  3257. .leftTopContent {
  3258. color: #ffffff;
  3259. height: calc(100% - 0.4375rem);
  3260. display: flex;
  3261. > .el-row {
  3262. width: 100%;
  3263. > .el-col {
  3264. display: flex;
  3265. > div {
  3266. margin: auto;
  3267. > .title {
  3268. width: 1.075rem;
  3269. height: 0.225rem;
  3270. font-size: 0.175rem;
  3271. padding-left: 0.1625rem;
  3272. margin: 0.0625rem 0 0.0625rem 0;
  3273. position: relative;
  3274. background-image: url(~@a/img/securityPlan/fhxcqk.png);
  3275. background-size: 100% 100%;
  3276. > div {
  3277. position: absolute;
  3278. bottom: 0.0625rem;
  3279. width: 150%;
  3280. }
  3281. }
  3282. > .content {
  3283. > span:nth-child(1) {
  3284. font-size: 0.3rem;
  3285. padding: 0 0.5625rem 0 0.1625rem;
  3286. color: #73fbfd;
  3287. }
  3288. > span:nth-child(2) {
  3289. font-size: 0.175rem;
  3290. margin-right: 0.125rem;
  3291. }
  3292. > span:nth-child(3) {
  3293. font-size: 0.175rem;
  3294. }
  3295. }
  3296. }
  3297. }
  3298. }
  3299. }
  3300. .leftTopContent2 {
  3301. color: #fff;
  3302. font-size: 0.175rem;
  3303. .sdqBasicInfo{
  3304. .basicItem{
  3305. width:19%; margin: 4px 0; box-sizing: border-box;
  3306. .nameBox{
  3307. background-image: url(~@a/img/securityPlan/sdTextBg.png);
  3308. background-size: contain;
  3309. width: 100%;
  3310. display: inline-block
  3311. }
  3312. }
  3313. .basicItem:not(:last-child){
  3314. margin-right:.07rem
  3315. }
  3316. }
  3317. .sdqBasicInfo.sdline2{
  3318. .basicItem{
  3319. margin:0 .4rem;
  3320. }
  3321. }
  3322. .sdline3 {
  3323. margin-top:.25rem;
  3324. .basicItem{
  3325. cursor:pointer;
  3326. width:25% !important; margin: 0px 0; box-sizing: border-box;
  3327. position:relative;
  3328. }
  3329. // .basicItem::after {
  3330. // position: absolute; /*绝对定位*/
  3331. // top: 50%; /*Y轴方向偏移自身高度的50%*/
  3332. // transform: translatey(-40%); /*Y轴方向偏移微调*/
  3333. // right: 0; /*紧靠容器左边缘*/
  3334. // content: ''; /*伪元素需要有内容才能显示*/
  3335. // width: 1px; /*伪元素宽度*/
  3336. // height: 40px; /*伪元素高度*/
  3337. // background-color: rgba(168, 164, 164,.4); /*伪元素颜色*/
  3338. // }
  3339. }
  3340. .sdline3 .basicItem:last-child{
  3341. width:auto
  3342. }
  3343. .el-row {
  3344. > div {
  3345. width: 20%;
  3346. margin-top: 40px;
  3347. p:nth-child(2) {
  3348. // text-align: center;
  3349. strong {
  3350. font-size: 0.2rem;
  3351. }
  3352. }
  3353. }
  3354. }
  3355. }
  3356. }
  3357. .leftCenter {
  3358. height: 32%;
  3359. max-height: 32%;
  3360. margin-top: 0.125rem;
  3361. width: 100%;
  3362. justify-content: center;
  3363. align-items: center;
  3364. // box-sizing: border-box;
  3365. color: #ffffff;
  3366. .leftCenterContent {
  3367. width: 100%;
  3368. height: calc(100% - 0.4375rem);
  3369. display: flex;
  3370. .content1,
  3371. .content2,
  3372. .content3 {
  3373. width: 33.33%;
  3374. overflow: hidden;
  3375. margin: auto 0;
  3376. > div:nth-child(1) {
  3377. display: flex;
  3378. > img {
  3379. width: 1.17rem; //大屏
  3380. height: 1.08rem; //大屏
  3381. margin: auto;
  3382. }
  3383. }
  3384. > div:nth-child(2) {
  3385. font-size: 0.2rem;
  3386. text-align: center;
  3387. & > span {
  3388. b {
  3389. margin-right: 0.0625rem;
  3390. font-size: 0.3rem;
  3391. line-height: 0.5rem;
  3392. }
  3393. }
  3394. p {
  3395. margin-top: 0.1rem;
  3396. color: #fff;
  3397. }
  3398. }
  3399. }
  3400. }
  3401. }
  3402. .rightCenter {
  3403. color: #ffffff;
  3404. height: calc(35% - 0.125rem);
  3405. max-height: calc(35% - 0.125rem);
  3406. margin-top: 0.125rem;
  3407. .rightTopContent {
  3408. width: 100%;
  3409. padding: 0.25rem 0 10px 0;
  3410. height: calc(100% - 0.8125rem);
  3411. .content {
  3412. height: 100%;
  3413. overflow: scroll;
  3414. position: relative;
  3415. & > .el-row {
  3416. overflow: hidden;
  3417. width: 100%;
  3418. height: auto;
  3419. & > .title {
  3420. width: 100%;
  3421. height: 0.4375rem;
  3422. line-height: 0.4375rem;
  3423. font-size: 0.175rem;
  3424. padding: 0 0.125rem;
  3425. background: rgba(115, 251, 253, 0.3) !important;
  3426. margin-bottom: 0.025rem;
  3427. }
  3428. & > .data {
  3429. width: 100%;
  3430. font-size: 0.175rem;
  3431. padding: 0 0.125rem;
  3432. background: rgba(115, 251, 253, 0.1) !important;
  3433. margin-bottom: 0.025rem;
  3434. white-space: initial;
  3435. .el-col {
  3436. line-height: 0.35rem;
  3437. span {
  3438. color: #73fbfd;
  3439. }
  3440. }
  3441. }
  3442. }
  3443. &::-webkit-scrollbar {
  3444. display: none;
  3445. }
  3446. }
  3447. }
  3448. }
  3449. }
  3450. .rightBox {
  3451. color: #ffffff;
  3452. .rightTop {
  3453. height: 30%;
  3454. max-height: 30%;
  3455. .rightTopContent {
  3456. width: 100%;
  3457. height: calc(100% - 0.4375rem);
  3458. display: flex;
  3459. > .el-row {
  3460. > .el-col {
  3461. display: flex;
  3462. margin: auto 0;
  3463. > div {
  3464. display: flex;
  3465. .left {
  3466. width: 1.375rem;
  3467. margin-right: 0.25rem;
  3468. div {
  3469. text-align: center;
  3470. font-size: 0.175rem;
  3471. overflow: hidden !important;
  3472. white-space: nowrap !important;
  3473. text-overflow: ellipsis !important;
  3474. }
  3475. img {
  3476. width: 0.675rem;
  3477. height: 0.675rem;
  3478. display: flex;
  3479. margin: auto auto 0.0625rem auto;
  3480. }
  3481. }
  3482. .right {
  3483. overflow: hidden !important;
  3484. white-space: nowrap !important;
  3485. text-overflow: ellipsis !important;
  3486. .el-col:nth-child(1) {
  3487. display: flex;
  3488. margin: auto 0 0 0;
  3489. font-size: 0.175rem;
  3490. }
  3491. .el-col:nth-child(2) {
  3492. display: flex;
  3493. margin: auto 0 0 0;
  3494. font-size: 0.3rem;
  3495. font-weight: bold;
  3496. }
  3497. }
  3498. }
  3499. }
  3500. }
  3501. }
  3502. }
  3503. .rightTop3 {
  3504. height: 30%;
  3505. max-height: 30%;
  3506. position:relative;
  3507. .rightTopContent {
  3508. width: 100%;
  3509. height: calc(100% - 0.4375rem);
  3510. display: flex;
  3511. > .el-row {
  3512. > .el-col {
  3513. display: flex;
  3514. margin: auto 0;
  3515. > div {
  3516. display: flex;
  3517. .left {
  3518. width: 1.375rem;
  3519. margin-right: 0.25rem;
  3520. div {
  3521. text-align: center;
  3522. font-size: 0.175rem;
  3523. overflow: hidden !important;
  3524. white-space: nowrap !important;
  3525. text-overflow: ellipsis !important;
  3526. }
  3527. img {
  3528. width: 0.675rem;
  3529. height: 0.675rem;
  3530. display: flex;
  3531. margin: auto auto 0.0625rem auto;
  3532. }
  3533. }
  3534. .right {
  3535. overflow: hidden !important;
  3536. white-space: nowrap !important;
  3537. text-overflow: ellipsis !important;
  3538. .el-col:nth-child(1) {
  3539. font-size: 0.3rem;
  3540. margin-top:14px;
  3541. vertical-align: bottom;
  3542. }
  3543. // .el-col:nth-child(2) {
  3544. // display: flex;
  3545. // margin: auto 0 0 0;
  3546. // font-size: 0.3rem;
  3547. // font-weight: bold;
  3548. // }
  3549. }
  3550. }
  3551. }
  3552. }
  3553. }
  3554. }
  3555. .leftTopContent {
  3556. color: #ffffff;
  3557. height: calc(100% - 0.4375rem);
  3558. display: flex;
  3559. > .el-row {
  3560. width: 100%;
  3561. > .el-col {
  3562. display: flex;
  3563. > div {
  3564. margin: auto;
  3565. > .title {
  3566. width: 1.075rem;
  3567. height: 0.225rem;
  3568. font-size: 0.175rem;
  3569. padding-left: 0.1625rem;
  3570. margin: 0.0625rem 0 0.0625rem 0;
  3571. position: relative;
  3572. background-image: url(~@a/img/securityPlan/fhxcqk.png);
  3573. background-size: 100% 100%;
  3574. > div {
  3575. position: absolute;
  3576. bottom: 0.0625rem;
  3577. width: 150%;
  3578. }
  3579. }
  3580. > .content {
  3581. > span:nth-child(1) {
  3582. font-size: 0.3rem;
  3583. padding: 0 0.5625rem 0 0.1625rem;
  3584. color: #73fbfd;
  3585. }
  3586. > span:nth-child(2) {
  3587. font-size: 0.175rem;
  3588. margin-right: 0.125rem;
  3589. }
  3590. > span:nth-child(3) {
  3591. font-size: 0.175rem;
  3592. }
  3593. }
  3594. }
  3595. }
  3596. }
  3597. }
  3598. .leftBot {
  3599. height: calc(35% - 0.125rem);
  3600. max-height: calc(35% - 0.125rem);
  3601. margin-top: 0.125rem;
  3602. width: 100%;
  3603. .leftBotContent {
  3604. padding: 0.25rem 0 0 0;
  3605. height: calc(100% - 0.6875rem);
  3606. }
  3607. }
  3608. .rightBot {
  3609. height: calc(39% - 0.125rem);
  3610. max-height: calc(35% - 0.125rem);
  3611. margin-top: 0.125rem;
  3612. .rightBotContent {
  3613. padding: 0.25rem 0 0 0;
  3614. height: 100%;
  3615. }
  3616. }
  3617. .dailyNewSec{
  3618. height:18%;
  3619. .dailyItem{
  3620. vertical-align: middle;
  3621. margin-top:.2rem;
  3622. line-height:.375rem;
  3623. font-size:.175rem;
  3624. width:100%;
  3625. height:60%;
  3626. overflow-y:hidden;
  3627. display: inline-block;
  3628. a{
  3629. color:#fff;
  3630. border-bottom:1px solid #fff;
  3631. // text-decoration: none;
  3632. text-decoration: none;
  3633. cursor:pointer;
  3634. letter-spacing:4px;
  3635. }
  3636. }
  3637. }
  3638. .girdCheckSec{
  3639. height:38%;
  3640. .girdCheckItem{
  3641. p{
  3642. font-size:0.225rem;
  3643. margin:.1875rem 0 .125rem;
  3644. color:rgb(234, 183, 147);
  3645. font-weight:700;
  3646. span{
  3647. font-size: 0.175rem;
  3648. color:#fff;
  3649. }
  3650. }
  3651. .row_g{
  3652. display:flex;
  3653. align-items: center;
  3654. margin-top:10px;
  3655. width:100%;
  3656. div{
  3657. // min-width:18% !important;
  3658. display: inline-block;
  3659. font-size:.155rem;
  3660. margin:.125rem .182rem 0 0;
  3661. text-align: left;
  3662. vertical-align: top;
  3663. }
  3664. }
  3665. }
  3666. }
  3667. .ssfjSec{
  3668. height:20%;
  3669. .girdCheckItem{
  3670. .row_g2{
  3671. margin-top:10px;
  3672. width:100%;
  3673. div:first-child{
  3674. width:1.5rem;
  3675. cursor:text;
  3676. }
  3677. div{
  3678. cursor: pointer;
  3679. display: inline-block;
  3680. font-size:.155rem;
  3681. margin-top:.125rem;
  3682. text-align: left;
  3683. }
  3684. }
  3685. .row_g3{
  3686. margin-top:-10px;
  3687. width:100%;
  3688. div{
  3689. width:16% !important;
  3690. display: inline-block;
  3691. font-size:.155rem;
  3692. margin:.125rem 0;
  3693. text-align: left;
  3694. vertical-align: top;
  3695. }
  3696. }
  3697. }
  3698. }
  3699. }
  3700. }
  3701. .leftBotContent2 {
  3702. height: 23%;
  3703. margin-top: -35%;
  3704. }
  3705. .rightTop2 {
  3706. > .el-col {
  3707. > div {
  3708. > div:nth-child(1) {
  3709. margin: 0.3rem 0;
  3710. }
  3711. > div:nth-child(3) {
  3712. width: 50%;
  3713. margin: 0.2rem auto;
  3714. padding: 0.075rem;
  3715. border-radius: 0.25rem;
  3716. box-shadow: inset 0 0 0.05rem 0.05rem rgba(27, 79, 144, 1);
  3717. background: rgba(#132a5a, 0.2) !important;
  3718. span {
  3719. margin-left: 0.075rem;
  3720. }
  3721. }
  3722. }
  3723. }
  3724. }
  3725. .monitor-list {
  3726. overflow: hidden;
  3727. margin-top:0.25rem;
  3728. > .list {
  3729. border: 1px solid #3a7e8e;
  3730. position: relative;
  3731. width:48%;
  3732. height:16.5vh;
  3733. box-sizing: border-box;
  3734. .videoSelect {
  3735. position: absolute;
  3736. width: 100%;
  3737. }
  3738. img{
  3739. width:100%;
  3740. height:192px;
  3741. overflow: hidden;
  3742. }
  3743. }
  3744. .list:nth-child(2){
  3745. margin-left:4%;
  3746. }
  3747. }
  3748. iframe {
  3749. border: none;
  3750. width:100%;
  3751. }
  3752. .tableTooltipwt {
  3753. position: fixed;
  3754. top:120px;left:39%;
  3755. max-height:500px;
  3756. overflow-y: scroll;
  3757. background:none;
  3758. width:400px;
  3759. bottom:auto;
  3760. padding:10px 10px 5px 10px !important;
  3761. border-radius: 0.05rem;
  3762. border:1px solid rgba(115, 251, 253, 1);
  3763. box-shadow: inset 0 0 1px 0.0125rem rgba(115, 251, 253, 1);
  3764. background:rgba(0, 0, 0, 0.6);
  3765. z-index: 10000;
  3766. .close {
  3767. width: 20px;
  3768. height: 20px;
  3769. position: absolute;
  3770. right: 10px;
  3771. top: 10px;
  3772. z-index: 10000;
  3773. display: block;
  3774. }
  3775. .tableContent {
  3776. p {
  3777. @include color_primary($color-primary1);
  3778. font-size: 0.2rem;
  3779. }
  3780. .el-col {
  3781. margin-top: 0.05rem;
  3782. line-height: 0.3rem;
  3783. text-overflow: ellipsis !important;
  3784. white-space: normal !important;
  3785. font-size: 0.18rem;
  3786. }
  3787. .mk {
  3788. margin-top: 0px;
  3789. .color1 {
  3790. @include color_primary($color-primary3);
  3791. }
  3792. .color2 {
  3793. @include color_primary($color-primary1);
  3794. }
  3795. }
  3796. .video{
  3797. width:100%;
  3798. margin:10px 0;
  3799. }
  3800. }
  3801. }
  3802. .videoCloseBtn{
  3803. position: absolute;
  3804. z-index: 10;
  3805. bottom:0;
  3806. left:0;
  3807. cursor: pointer;
  3808. .returnText{
  3809. width: 0.5rem;
  3810. text-align: center;
  3811. height: 0.3rem;
  3812. line-height: 0.3rem;
  3813. box-shadow: inset 0 0 0.05rem 0.05rem #1b4f90;
  3814. background: rgba(19, 42, 90, 0.2) !important;
  3815. color: #fff;
  3816. float: right;
  3817. margin-top: 0;
  3818. }
  3819. }
  3820. .dialogSec {
  3821. ::v-deep .el-dialog {
  3822. width:16rem!important;
  3823. // border:1px solid rgba(115, 251, 253, 1);
  3824. // box-shadow: inset 0 0 1px 0.0125rem rgba(115, 251, 253, 1);
  3825. // background: rgba(0, 0, 0, 0.6);
  3826. margin-top:5vh!important;
  3827. height:87vh;
  3828. padding:0;
  3829. // margin: atuo;
  3830. .el-dialog__title {
  3831. color: #74fbfe;
  3832. font-size: 16px;
  3833. }
  3834. .el-dialog__body {
  3835. margin-top: 20px;
  3836. }
  3837. }
  3838. }
  3839. .tableTooltipwt2 {
  3840. width: 6rem;
  3841. background: transparent;
  3842. border-radius: 0.05rem;
  3843. box-shadow: inset 0 0 1px 0.0125rem rgba(115, 251, 253, 1);
  3844. background: rgba(0, 29, 49, 0.5);
  3845. font-size: 0.2rem;
  3846. padding: 0.1875rem;
  3847. position: fixed;
  3848. top: 140px;
  3849. right: 600px;
  3850. z-index: 10000;
  3851. .close {
  3852. width: 20px;
  3853. height: 20px;
  3854. position: absolute;
  3855. right: 10px;
  3856. top: 10px;
  3857. z-index: 10000;
  3858. display: block;
  3859. }
  3860. .tableContent {
  3861. p {
  3862. @include color_primary($color-primary1);
  3863. }
  3864. .el-col {
  3865. margin-top: 0.05rem;
  3866. line-height: 0.3rem;
  3867. text-overflow: ellipsis !important;
  3868. white-space: normal !important;
  3869. }
  3870. .mk {
  3871. margin-top: 0px;
  3872. }
  3873. }
  3874. }
  3875. .color1 {
  3876. @include color_primary($color-primary3);
  3877. margin-left: 10px;
  3878. }
  3879. .color2 {
  3880. @include color_primary($color-primary1);
  3881. }
  3882. table {
  3883. width: 100%;
  3884. text-align: center;
  3885. color: #fff;
  3886. border: 1px solid #fff;
  3887. font-size: 12px;
  3888. }
  3889. table thead tr th {
  3890. padding: 5px 0px;
  3891. font-weight: 400;
  3892. border: 1px solid #fff;
  3893. }
  3894. table tbody tr td {
  3895. padding: 5px 0px;
  3896. }
  3897. table tbody tr:nth-child(2n) td {
  3898. // background-color: lightblue;
  3899. }
  3900. td {
  3901. border: 0.5px solid #fff;
  3902. }
  3903. </style>
  3904. <style>
  3905. .el-tooltip__popper {
  3906. width: 200px;
  3907. }
  3908. .table-tooltip {
  3909. max-width: 200px;
  3910. }
  3911. .table-style .cell {
  3912. width: 200px;
  3913. overflow: hidden;
  3914. text-overflow: ellipsis;
  3915. white-space: nowrap;
  3916. }
  3917. .el-popper {
  3918. max-width: 30%;
  3919. padding-bottom: 5px !important;
  3920. display: -webkit-box;
  3921. overflow: hidden;
  3922. text-overflow: ellipsis;
  3923. -webkit-line-clamp: 15;
  3924. -webkit-box-orient: vertical;
  3925. }
  3926. </style>