security-plan.vue 183 KB

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