firespread.vue 139 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524
  1. <template>
  2. <div class="visual-con">
  3. <!--主体-->
  4. <div class="visual-body">
  5. <button @click="showEventDialog" style="position: absolute; left:50%;top: 50vh; transform: translateX(-50%);">
  6. </button>
  7. <!-- 弹层 -->
  8. <el-dialog title="事件详情" :visible.sync="eventDialog" customClass="customWidth" v-if="eventDialog"
  9. @close="cancelEventShow()">
  10. <div class="dia-event-info">
  11. <el-row>
  12. <!-- 左侧 -->
  13. <el-col :span="18" class="dia-left">
  14. <div class="sj-map-tool-select">
  15. <transition-group
  16. appear
  17. name="animate__animated animate__bounce"
  18. enter-active-class="animate__lightSpeedInRight"
  19. leave-active-class="animate__backOutRight"
  20. >
  21. <div
  22. class="sj-map-tool-select-list"
  23. v-show="mapToolShow"
  24. id="eventMapToolOnly"
  25. key="1"
  26. >
  27. <el-checkbox
  28. v-model="mapToolCheckAll"
  29. @change="mapToolCheckAllChange"
  30. class="sj-map-tool-checkbox-all"
  31. >全选</el-checkbox
  32. >
  33. <el-checkbox-group
  34. v-model="mapToolCheckItem"
  35. @change="mapToolCheckChange"
  36. class="sj-map-tool-checkbox"
  37. >
  38. <el-checkbox
  39. v-for="tools in mapToolCheck"
  40. :label="tools"
  41. :key="tools"
  42. >{{ tools }}</el-checkbox
  43. >
  44. </el-checkbox-group>
  45. </div>
  46. </transition-group>
  47. <el-button
  48. size="small"
  49. icon="el-icon-s-grid"
  50. id="eventMapToolOnlyButton"
  51. @click="mapToolShow = !mapToolShow"
  52. >地图功能</el-button
  53. >
  54. </div>
  55. <div ref="imageTofile" style="height: 75vh;">
  56. <transition-group
  57. appear
  58. name="animate__animated animate__bounce"
  59. enter-active-class="animate__backInDown"
  60. leave-active-class="animate__backOutUp"
  61. >
  62. <!-- 应急预案 -->
  63. <div class="dia-left-top" v-show="mapToolCheckItem.includes('应急预案')"
  64. key="yingji" >
  65. <div class="dia-left-top-tit">应急预案</div>
  66. <div class="dia-left-top-carousel">
  67. <el-carousel height="30px" direction="vertical" :interval="2000">
  68. <el-carousel-item v-if="visuForestCloudYuAnBo!=null">
  69. <el-tooltip class="item" effect="dark" :content="visuForestCloudYuAnBo.reserveName"
  70. placement="top-start">
  71. <a :href="visuForestCloudYuAnBo.fileUrl"><span>
  72. <div
  73. style=" width: 50px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;word-break: keep-all;">
  74. {{ visuForestCloudYuAnBo.reserveName }}
  75. </div>
  76. </span></a>
  77. </el-tooltip>
  78. </el-carousel-item>
  79. <el-carousel-item v-else>
  80. <a href="#">暂未关联预案</a>
  81. </el-carousel-item>
  82. </el-carousel>
  83. </div>
  84. <el-button size="mini" type="primary" class="yatz_button" @click="showUpdateYjYuAn">预案调整
  85. </el-button>
  86. </div>
  87. </transition-group>
  88. <!-- 左侧资源 -->
  89. <transition-group
  90. appear
  91. name="animate__animated animate__bounce"
  92. enter-active-class="animate__backInUp"
  93. leave-active-class="animate__backOutDown"
  94. >
  95. <div class="leftbar" style="width:fit-content !important;bottom:0rem;left: 1rem; top: unset;" v-show="mapToolCheckItem.includes('资源与操作')"
  96. key="mapToolziyuan">
  97. <div class="forthis" style="width:1320px; display: flex;">
  98. <dv-border-box-7 backgroundColor="#040b1f" :color="['#25335d', '#5baffd']">
  99. <div class="i-list-con"
  100. style="width: 100%;display: flex; align-items: center;justify-content: space-between">
  101. <div class="d-l-con-icon" style="width: fit-content; flex-direction:row;flex-wrap: nowrap;"
  102. ref="thisWidthWH">
  103. <leftRightSwiperScroll v-if="mapToolCheckItem.includes('资源与操作')">
  104. <div class="icon-con" style="width: fit-content !important;"
  105. v-for="(item,index) in resourcesList1" @click="fireControlViewPoint(item.type)"
  106. :key="index">
  107. <div class="iconfont icon icon-normal" :class="item.icon"
  108. :style="'background:' + item.bg"></div>
  109. <div class="icon-text">
  110. <h5 style="white-space: nowrap;">{{ item.resourceName }}</h5>
  111. </div>
  112. </div>
  113. </leftRightSwiperScroll>
  114. </div>
  115. <el-input type="number" v-model="radius" class="d-input-bottom" placeholder="请输入搜索半径" />
  116. </div>
  117. </dv-border-box-7>
  118. </div>
  119. </div>
  120. <!-- 左侧资源end -->
  121. <!-- 应急预案end -->
  122. <div class="fire-m" style="bottom:5rem" v-show="mapToolCheckItem.includes('资源与操作')"
  123. key="ziyuan">
  124. <el-button
  125. size="small"
  126. icon="el-icon-s-grid"
  127. @click="showTVWallDiaLog()"
  128. >视频联动</el-button>
  129. <el-button size="small" icon="el-icon-upload" @click="showEventdetailsdialog()">动态标绘</el-button>
  130. </div>
  131. </transition-group>
  132. <!-- 地图 -->
  133. <supermapDialog1 ref="supermapDialog1" style="position: absolute; top:0;left: 0;"
  134. :mapDiv="'forestWarmSuperMap'"
  135. :mapSite="{doubleClickZoom:true,dragging:true,scrollWheelZoom:true}" :codes="['9fa5']"
  136. :isSideBySide="false" @preview="preview" :mapToolShowBH="mapToolShowBH"/>
  137. <!-- 地图end -->
  138. </div>
  139. </el-col>
  140. <!-- 左侧end -->
  141. <!-- 右侧 -->
  142. <el-col :span="6" class="dia-right">
  143. <div class="e-right">
  144. <div class="forthis1">
  145. <dv-border-box-7 backgroundColor="#040b1f" style="padding-bottom:1rem ;">
  146. <div class="i-list-con">
  147. <div class="this-con">
  148. <div class="z-info-list" style="margin-top: 0;">
  149. <el-timeline>
  150. <el-timeline-item color="#2bacf7" :timestamp="item.createTime" placement="top"
  151. v-for="(item,index) in eventLogList">
  152. <el-card style="width: 40vh">
  153. <div class="z-info-list-con">
  154. <div class="user-and-time flex-d">
  155. <span>{{ item.createName }}</span>
  156. <span v-if="eventLogList.length - 1 == index&&address!=null&&address!=''"><i
  157. class="el-icon-location"></i> {{ address }}</span>
  158. <span v-else></span>
  159. </div>
  160. <div class="z-info">
  161. <div class="this-con-list-info">
  162. {{ item.logContent }}
  163. </div>
  164. <div>
  165. <router-link to="#"
  166. @click.native="clickFile(itemfile.fileUrl,itemfile.fileName,itemfile.fileType)"
  167. v-for="(itemfile,indexfile) in item.fileVOs">
  168. <el-image :src="itemfile.fileUrl" v-if="itemfile.fileType=='image'"
  169. :preview-src-list="assetTypeAnImage(item.fileVOs)"
  170. style="width:3rem; height:3rem;margin: 2px;" :title="itemfile.fileName">
  171. </el-image>
  172. <img v-else-if="itemfile.fileType=='video'"
  173. style="width:3rem; height:3rem;margin: 2px;"
  174. :src="require('@/assets/fileTypeImage/mp4.png')" :title="itemfile.fileName">
  175. </img>
  176. <img v-else-if="itemfile.fileType=='word'"
  177. style="width:3rem; height:3rem;margin: 2px;"
  178. :src="require('@/assets/fileTypeImage/word.png')" :title="itemfile.fileName">
  179. </img>
  180. <img v-else-if="itemfile.fileType=='excel'"
  181. style="width:3rem; height:3rem;margin: 2px;"
  182. :src="require('@/assets/fileTypeImage/excel.png')" :title="itemfile.fileName">
  183. </img>
  184. <img v-else style="width:3rem; height:3rem;margin: 2px;"
  185. :src="require('@/assets/fileTypeImage/file.png')" :title="itemfile.fileName">
  186. </img>
  187. </router-link>
  188. </div>
  189. </div>
  190. </div>
  191. </el-card>
  192. </el-timeline-item>
  193. </el-timeline>
  194. </div>
  195. </div>
  196. </div>
  197. </dv-border-box-7>
  198. </div>
  199. <div class="forthis2">
  200. <dv-border-box-7 backgroundColor="#040b1f" :color="['#0c4b53', '#18caca']">
  201. <div class="i-list-con">
  202. <div class="this-con h-25 no-padding">
  203. <div class="z-info-list" style="margin-top: 0;">
  204. <div class="z-info-btm-grp">
  205. <div class="z-info-btm-grp-top">
  206. <div class="z-info-btm-grp-left">
  207. <el-button size="small" icon="el-icon-upload" @click="showEventLogUpload()">上传
  208. </el-button>
  209. <el-button size="small" icon="el-icon-download" @click="showResponsibility()"
  210. v-if="eventStatusValue!='forest_event_status_1'&&eventStatusValue!='forest_event_status_7'">责任制
  211. </el-button>
  212. <el-button
  213. v-if="eventStatusValue=='forest_event_status_2' && statusFlag=='1' && dataStatus=='0'"
  214. size="small" icon="el-icon-download"
  215. @click="updateCentereventTEventcatalogueStatus('cz',true)">处置
  216. </el-button>
  217. </div>
  218. <div class="z-info-btm-grp-right">
  219. <el-button size="small" icon="el-icon-mic" @click="Meeting()">会议
  220. </el-button>
  221. </div>
  222. </div>
  223. <div class="z-info-btm-input">
  224. <el-input type="textarea" v-model="eventLog" :autosize="{ minRows: 7, maxRows: 7}"
  225. placeholder="请输入反馈信息">
  226. </el-input>
  227. <div class="z-info-btm-input-btn" v-if="eventStatusValue=='forest_event_status_1'">
  228. <div style="text-align:left">
  229. <el-button size="small" icon="el-icon-s-flag"
  230. @click="updateCentereventTEventcatalogueStatus('qr',true)">
  231. 确认
  232. </el-button>
  233. <el-button size="small" icon="el-icon-question"
  234. @click="updateCentereventTEventcatalogueStatus('wb',true)">
  235. 误报
  236. </el-button>
  237. <el-button size="small" icon="el-icon-warning"
  238. @click="updateCentereventTEventcatalogueStatus('cf',true)">
  239. 重复
  240. </el-button>
  241. </div>
  242. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  243. </el-button>
  244. </div>
  245. <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_7'">
  246. <div style="text-align:left">
  247. <el-button size="small" icon="el-icon-s-flag"
  248. @click="updateCentereventTEventcatalogueStatus('qs',false)">
  249. 签收
  250. </el-button>
  251. <el-button size="small" icon="el-icon-question"
  252. @click="updateCentereventTEventcatalogueStatus('wb',false)">
  253. 误报
  254. </el-button>
  255. <el-button size="small" icon="el-icon-warning"
  256. @click="updateCentereventTEventcatalogueStatus('cf',false)">
  257. 重复
  258. </el-button>
  259. </div>
  260. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  261. </el-button>
  262. </div>
  263. <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_2'">
  264. <div>
  265. <el-button size="small" icon="el-icon-phone" style="text-align:left"
  266. @click="updateCentereventTEventcatalogueStatus('ld',false)">
  267. 联动
  268. </el-button>
  269. <el-button size="small" v-if="statusFlag=='1'" icon="el-icon-success"
  270. style="text-align:left" @click="updateCentereventTEventcatalogueStatus('bj',true)">
  271. 办结
  272. </el-button>
  273. </div>
  274. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  275. </el-button>
  276. </div>
  277. <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_5'">
  278. <el-button size="small" icon="el-icon-success" style="text-align:left"
  279. v-if="eventTypeXl == 101&&statusFlag=='1'"
  280. @click="updateCentereventTEventcatalogueStatus('gd',false)">
  281. 填报
  282. </el-button>
  283. <el-button size="small" icon="el-icon-success" style="text-align:left"
  284. v-else-if="eventTypeXl != 101&&statusFlag=='1'"
  285. @click="updateCentereventTEventcatalogueStatus('gd',true)">
  286. 归档
  287. </el-button>
  288. <el-button size="small" v-else-if="statusFlag=='2'" icon="el-icon-success"
  289. style="text-align:left" @click="updateCentereventTEventcatalogueStatus('sh',false)">
  290. 审核
  291. </el-button>
  292. <el-button size="small" v-else-if="isExamine =='0'" icon="el-icon-loading" style="text-align:left">
  293. 请等待复核,复核通过后方可归档。
  294. </el-button>
  295. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  296. </el-button>
  297. </div>
  298. <div class="z-info-btm-input-btn" v-else>
  299. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  300. </el-button>
  301. </div>
  302. </div>
  303. </div>
  304. </div>
  305. </div>
  306. </div>
  307. </dv-border-box-7>
  308. </div>
  309. </div>
  310. </el-col>
  311. <!-- 左侧end -->
  312. </el-row>
  313. </div>
  314. </el-dialog>
  315. </div>
  316. <vBottomMenu ref="bottomMenu"></vBottomMenu>
  317. <eventLogUpload ref="eventLogUpload"></eventLogUpload>
  318. <el-dialog title="调整预案" :visible.sync="showGuanLianYuAnConfirm" v-if="showGuanLianYuAnConfirm" width="50%"
  319. class="top-dialog tz_tk">
  320. <el-form label-width="80px">
  321. <el-form-item label="关联预案">
  322. <el-select v-model="sendGuanLianYuAn" placeholder="请选择关联预案!" clearable>
  323. <el-option v-for="item in guanLianYuAnList" :key="item.id" :label="item.resTitle" :value="item.id" />
  324. </el-select>
  325. </el-form-item>
  326. <el-button size="mini" type="primary" class="fr_button" @click="updateYjYuAn">确定
  327. </el-button>
  328. <div style="clear: both;"></div>
  329. </el-form>
  330. </el-dialog>
  331. <!-- 添加区域标记 -->
  332. <el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
  333. <areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" style="width: 100%;height:74vh"
  334. :mapDiv="'fireAreaSuperMap1'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false"
  335. :showAreaLatLng="showAreaLatLng"></areaSupermap>
  336. </el-dialog>
  337. <!-- 图片,视频预览 -->
  338. <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" customClass="customWidthMp4">
  339. <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
  340. </el-dialog>
  341. <el-dialog :title="cameraTitle" :visible.sync="cameraVisible" v-if="cameraVisible" customClass="videoCustomWidth"
  342. @close="cancelEventLocationShow()">
  343. <div style="width:1020px;height:625px;position:relative;">
  344. <!--视频窗口展示---海康-->
  345. <div id="playWnd" class="playWnd" style="left: 0px; top: 0px;"></div>
  346. </div>
  347. </el-dialog>
  348. <el-dialog title="责任制" :visible.sync="showResponsibilityDialog" v-if="showResponsibilityDialog" width="65%"
  349. @close="closeResponsibilityDialog()">
  350. <el-form label-width="1500px">
  351. <div class="bottom">
  352. <!-- 左侧菜单栏 -->
  353. <div class="bottomLeft">
  354. <div class="leftItem d-l-con padding-box nowrap" v-for="(item,index) in depteventList">
  355. <div class="bgt-info">
  356. <div class="bgt-info-name" :class="{on:iconCurrentIndex==item.deptId}"
  357. @click="dutysystemSelect(item.deptId,item.deptName,item.id)">{{ item.deptName }}
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <!-- 左侧菜单栏对应的右侧的内容 -->
  363. <div class="bottomRight" ref="wrapper">
  364. <el-button size="mini" type="danger" v-if="depteventId!=null&&depteventId!=''" @click="addLine">添加
  365. </el-button>
  366. <el-button size="mini" type="danger" v-if="depteventId!=null&&depteventId!=''" @click="finUserByDept">选择
  367. </el-button>
  368. <el-table :data="dutysystemTableData" style="width: 100%" :rules="rules">
  369. <el-table-column prop="id" label="主键" v-if="false">
  370. <template slot-scope="scope" hidden>
  371. <el-input v-model="scope.row.id" readonly placeholder="主键"></el-input>
  372. </template>
  373. </el-table-column>
  374. <el-table-column prop="name" label="姓名">
  375. <template slot-scope="scope">
  376. <el-input v-model="scope.row.name" placeholder="姓名"
  377. οninput="value=value.replace(/^[\u4e00-\u9fa5]{2,4}$/,'')"></el-input>
  378. </template>
  379. </el-table-column>
  380. <el-table-column prop="post" label="岗位">
  381. <template slot-scope="scope">
  382. <el-input v-model="scope.row.post" placeholder="岗位"></el-input>
  383. </template>
  384. </el-table-column>
  385. <el-table-column prop="telphone" label="手机号码">
  386. <template slot-scope="scope">
  387. <el-input v-model="scope.row.telphone" placeholder="手机号码"
  388. οninput="value=value.replace(/^((13[0-9])|(14[5-9])|(15([0-3]|[5-9]))|(16[6-7])|(17[1-8])|(18[0-9])|(19[1|3])|(19[5|6])|(19[8|9]))\d{8}$/,'')"></el-input>
  389. </template>
  390. </el-table-column>
  391. <el-table-column prop="bookbuytime" label="操作">
  392. <template slot-scope="scope">
  393. <el-button size="mini" type="danger" icon="el-icon-delete"
  394. @click="handleDelete(scope.$index, scope.row)">删除
  395. </el-button>
  396. <!--<el-button-->
  397. <!--size="mini"-->
  398. <!--type="danger"-->
  399. <!--icon="el-icon-save"-->
  400. <!--@click="handleSave(scope.$index, scope.row)">保存-->
  401. <!--</el-button>-->
  402. </template>
  403. </el-table-column>
  404. </el-table>
  405. </div>
  406. </div>
  407. <el-button size="mini" type="primary" class="fr_button" @click="addResponsibilityDialog">确定
  408. </el-button>
  409. <div style="clear: both;"></div>
  410. </el-form>
  411. </el-dialog>
  412. <!-- 会议弹窗 start -->
  413. <el-dialog title="视频会议" :visible.sync="showMeetingMsgDialog" v-if="showMeetingMsgDialog" width="65%"
  414. @close="closeMeetingMsgDialog()">
  415. <el-form label-width="1500px">
  416. <div class="bottom">
  417. <!-- 左侧菜单栏 -->
  418. <div class="bottomLeft">
  419. <div class="leftItem d-l-con padding-box nowrap" v-for="(item,index) in depteventList">
  420. <div class="bgt-info">
  421. <div class="bgt-info-name" :class="{on:iconCurrentIndex==item.deptId}"
  422. @click="dutysystemSelect(item.deptId,item.deptName,item.id)">{{ item.deptName }}
  423. </div>
  424. </div>
  425. </div>
  426. </div>
  427. <!-- 左侧菜单栏对应的右侧的内容 -->
  428. <div class="bottomRight" ref="wrapper">
  429. <el-button size="mini" type="danger" v-if="depteventId!=null&&depteventId!=''" @click="addLine">添加
  430. </el-button>
  431. <el-button size="mini" type="danger" v-if="depteventId!=null&&depteventId!=''" @click="finUserByDept">选择
  432. </el-button>
  433. <el-table :data="dutysystemTableData" style="width: 100%" :rules="rules">
  434. <el-table-column prop="id" label="主键" v-if="false">
  435. <template slot-scope="scope" hidden>
  436. <el-input v-model="scope.row.id" readonly placeholder="主键"></el-input>
  437. </template>
  438. </el-table-column>
  439. <el-table-column prop="name" label="姓名">
  440. <template slot-scope="scope">
  441. <el-input v-model="scope.row.name" placeholder="姓名"
  442. οninput="value=value.replace(/^[\u4e00-\u9fa5]{2,4}$/,'')"></el-input>
  443. </template>
  444. </el-table-column>
  445. <el-table-column prop="post" label="岗位">
  446. <template slot-scope="scope">
  447. <el-input v-model="scope.row.post" placeholder="岗位"></el-input>
  448. </template>
  449. </el-table-column>
  450. <el-table-column prop="telphone" label="手机号码">
  451. <template slot-scope="scope">
  452. <el-input v-model="scope.row.telphone" placeholder="手机号码"
  453. οninput="value=value.replace(/^((13[0-9])|(14[5-9])|(15([0-3]|[5-9]))|(16[6-7])|(17[1-8])|(18[0-9])|(19[1|3])|(19[5|6])|(19[8|9]))\d{8}$/,'')"></el-input>
  454. </template>
  455. </el-table-column>
  456. <el-table-column prop="bookbuytime" label="操作">
  457. <template slot-scope="scope">
  458. <el-button size="mini" type="danger" icon="el-icon-delete"
  459. @click="handleDelete(scope.$index, scope.row)">删除
  460. </el-button>
  461. <!--<el-button-->
  462. <!--size="mini"-->
  463. <!--type="danger"-->
  464. <!--icon="el-icon-save"-->
  465. <!--@click="handleSave(scope.$index, scope.row)">保存-->
  466. <!--</el-button>-->
  467. </template>
  468. </el-table-column>
  469. </el-table>
  470. </div>
  471. </div>
  472. <el-button size="mini" type="primary" class="fr_button" @click="sendMsg">发送短信
  473. </el-button>
  474. <div style="clear: both;"></div>
  475. </el-form>
  476. </el-dialog>
  477. <!-- 会议弹窗 end -->
  478. <el-dialog title="火险报告" :visible.sync="showEventConfirm_gd" v-if="showEventConfirm_gd" width="100%"
  479. class="top-dialog" @close="cancelEventConfirm_gd()">
  480. <div class="table-container">
  481. <form>
  482. <table id="table1" cellpadding="0" cellspacing="0">
  483. <thead style="width: 100%;padding:.5rem 0;">
  484. <th rowspan="1" colspan="1" class="txt_left" width="100px">填报单位:</th>
  485. <th rowspan="1" colspan="6" align="left"><input type="text" style=" width:100%;margin-left: .5rem;"
  486. v-model="table1.reportUnit" /></th>
  487. <th rowspan="1" colspan="2" class="txt_right">填报时间:</th>
  488. <th rowspan="1" colspan="6" align="left"><input type="text" style="width:3rem;text-align: center;"
  489. v-model="table1.reportTimeY" />年<input type="text" style="width:4rem;text-align: center;"
  490. v-model="table1.reportTimeM" />月<input type="text" style="width:3rem;text-align: center;"
  491. v-model="table1.reportTimeD" />日
  492. </th>
  493. <th rowspan="1" colspan="8" style="text-align: right;">吉林省人民政府森林防火指挥部办公室制</th>
  494. </thead>
  495. <tbody>
  496. <tr>
  497. <td colspan="22" rowspan="1" class="font1" style="letter-spacing:3rem;padding: .5rem 0">森林火灾损失</td>
  498. <td colspan="1" rowspan="6">
  499. <table class="border0">
  500. <tr>
  501. <td>备注</td>
  502. </tr>
  503. </table>
  504. </td>
  505. </tr>
  506. <tr>
  507. <td rowspan="4" colspan="1">
  508. <table class="border0">
  509. <tr>
  510. <td>森林火灾<br>损失总计</td>
  511. </tr>
  512. </table>
  513. </td>
  514. <td rowspan="1" colspan="12">火灾损失价值</td>
  515. <td rowspan="1" colspan="9">扑火费用支出</td>
  516. </tr>
  517. <tr>
  518. <td rowspan="3" colspan="1">
  519. <table class="border0">
  520. <tr>
  521. <td>合计</td>
  522. </tr>
  523. </table>
  524. </td>
  525. <td rowspan="1" colspan="4">林木资源</td>
  526. <td rowspan="1" colspan="6">人员伤亡</td>
  527. <td rowspan="3" colspan="1">
  528. <table class="border0">
  529. <tr>
  530. <td>其他<br>火灾<br>损失</td>
  531. </tr>
  532. </table>
  533. </td>
  534. <td rowspan="3" colspan="1">
  535. <table class="border0">
  536. <tr>
  537. <td>合计</td>
  538. </tr>
  539. </table>
  540. </td>
  541. <td rowspan="1" colspan="2">
  542. <table class="border0">
  543. <tr>
  544. <td>人工费</td>
  545. </tr>
  546. </table>
  547. </td>
  548. <td rowspan="1" colspan="3">
  549. <table class="border0">
  550. <tr>
  551. <td>车辆费</td>
  552. </tr>
  553. </table>
  554. </td>
  555. <td rowspan="1" colspan="2">
  556. <table class="border0">
  557. <tr>
  558. <td>飞行费</td>
  559. </tr>
  560. </table>
  561. </td>
  562. <td rowspan="3" colspan="1">
  563. <table class="border0">
  564. <tr>
  565. <td>其他<br>扑火<br>费用</td>
  566. </tr>
  567. </table>
  568. </td>
  569. </tr>
  570. <tr>
  571. <td rowspan="1" colspan="2">成林</td>
  572. <td rowspan="1" colspan="2">幼林</td>
  573. <td rowspan="1" colspan="2">轻伤</td>
  574. <td rowspan="1" colspan="2">重伤</td>
  575. <td rowspan="1" colspan="2">死亡</td>
  576. <td rowspan="2" colspan="1">
  577. <table class="border0">
  578. <tr>
  579. <td>出动<br>人工</td>
  580. </tr>
  581. </table>
  582. </td>
  583. <td rowspan="2" colspan="1">
  584. <table class="border0">
  585. <tr>
  586. <td>支出<br>费用</td>
  587. </tr>
  588. </table>
  589. </td>
  590. <td rowspan="2" colspan="1">
  591. <table class="border0">
  592. <tr>
  593. <td>计</td>
  594. </tr>
  595. </table>
  596. </td>
  597. <td rowspan="2" colspan="1">
  598. <table class="border0">
  599. <tr>
  600. <td>其中<br>汽车</td>
  601. </tr>
  602. </table>
  603. </td>
  604. <td rowspan="2" colspan="1">
  605. <table class="border0">
  606. <tr>
  607. <td>支出<br>费用</td>
  608. </tr>
  609. </table>
  610. </td>
  611. <td rowspan="2" colspan="1">
  612. <table class="border0">
  613. <tr>
  614. <td>出动<br>飞机</td>
  615. </tr>
  616. </table>
  617. </td>
  618. <td rowspan="2" colspan="1">
  619. <table class="border0">
  620. <tr>
  621. <td>支出<br>费用</td>
  622. </tr>
  623. </table>
  624. </td>
  625. </tr>
  626. <tr>
  627. <td rowspan="1" colspan="1">蓄积</td>
  628. <td rowspan="1" colspan="1">价值</td>
  629. <td rowspan="1" colspan="1">株数</td>
  630. <td rowspan="1" colspan="1">价值</td>
  631. <td rowspan="1" colspan="1">人数</td>
  632. <td rowspan="1" colspan="1">支出费用</td>
  633. <td rowspan="1" colspan="1">人数</td>
  634. <td rowspan="1" colspan="1">支出费用</td>
  635. <td rowspan="1" colspan="1">人数</td>
  636. <td rowspan="1" colspan="1">支出费用</td>
  637. </tr>
  638. <tr>
  639. <td rowspan="1" colspan="1">万元</td>
  640. <td rowspan="1" colspan="1">万元</td>
  641. <td rowspan="1" colspan="1">米³</td>
  642. <td rowspan="1" colspan="1">万元</td>
  643. <td rowspan="1" colspan="1">万株</td>
  644. <td rowspan="1" colspan="1">万元</td>
  645. <td rowspan="1" colspan="1">人</td>
  646. <td rowspan="1" colspan="1">万元</td>
  647. <td rowspan="1" colspan="1">人</td>
  648. <td rowspan="1" colspan="1">万元</td>
  649. <td rowspan="1" colspan="1">人</td>
  650. <td rowspan="1" colspan="1">万元</td>
  651. <td rowspan="1" colspan="1">万元</td>
  652. <td rowspan="1" colspan="1">万元</td>
  653. <td rowspan="1" colspan="1">工日</td>
  654. <td rowspan="1" colspan="1">万元</td>
  655. <td rowspan="1" colspan="1">台</td>
  656. <td rowspan="1" colspan="1">台</td>
  657. <td rowspan="1" colspan="1">万元</td>
  658. <td rowspan="1" colspan="1">架次</td>
  659. <td rowspan="1" colspan="1">万元</td>
  660. <td rowspan="1" colspan="1">万元</td>
  661. </tr>
  662. <tr>
  663. <td rowspan="1" colspan="1">1</td>
  664. <td rowspan="1" colspan="1">2</td>
  665. <td rowspan="1" colspan="1">3</td>
  666. <td rowspan="1" colspan="1">4</td>
  667. <td rowspan="1" colspan="1">5</td>
  668. <td rowspan="1" colspan="1">6</td>
  669. <td rowspan="1" colspan="1">7</td>
  670. <td rowspan="1" colspan="1">8</td>
  671. <td rowspan="1" colspan="1">9</td>
  672. <td rowspan="1" colspan="1">10</td>
  673. <td rowspan="1" colspan="1">11</td>
  674. <td rowspan="1" colspan="1">12</td>
  675. <td rowspan="1" colspan="1">13</td>
  676. <td rowspan="1" colspan="1">14</td>
  677. <td rowspan="1" colspan="1">15</td>
  678. <td rowspan="1" colspan="1">16</td>
  679. <td rowspan="1" colspan="1">17</td>
  680. <td rowspan="1" colspan="1">18</td>
  681. <td rowspan="1" colspan="1">19</td>
  682. <td rowspan="1" colspan="1">20</td>
  683. <td rowspan="1" colspan="1">21</td>
  684. <td rowspan="1" colspan="1">22</td>
  685. <td rowspan="1" colspan="1">23</td>
  686. </tr>
  687. <tr class="int_tr">
  688. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.forestFireLossTotal" />
  689. </td>
  690. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.fireLossTotal" /></td>
  691. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.forestArea" /></td>
  692. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.forestPrice" /></td>
  693. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.treesNumber" /></td>
  694. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.treesPrice" /></td>
  695. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.minorInjuriesNumber" />
  696. </td>
  697. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.minorInjuriesPrice" />
  698. </td>
  699. <td rowspan="1" colspan="1"><input type="text" class="border0"
  700. v-model="table1.seriouslyInjuredNumber" />
  701. </td>
  702. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.seriouslyInjuredPrice" />
  703. </td>
  704. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.deathNumber" /></td>
  705. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.deathPrice" /></td>
  706. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.elseFireLossPrice" />
  707. </td>
  708. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.blazesPriceTotal" /></td>
  709. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.artificialDays" /></td>
  710. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.artificialPrice" /></td>
  711. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.vehicleNumber" /></td>
  712. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.carNumber" /></td>
  713. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.vehiclePrice" /></td>
  714. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.planeNumber" /></td>
  715. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.planePrice" /></td>
  716. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.elseBlazesPrice" /></td>
  717. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.note" /></td>
  718. </tr>
  719. </tbody>
  720. </table>
  721. <table class="table2" cellpadding="0" cellspacing="0" style="white-space: nowrap;">
  722. <tbody>
  723. <tr>
  724. <th rowspan="1" colspan="26" style="letter-spacing:6rem">火场资料</th>
  725. </tr>
  726. <tr>
  727. <td colspan="2" rowspan="1" class="txt_left">&nbsp;1.起火时间</td>
  728. <td colspan="5" rowspan="1"><input type="text" v-model="table2.fireTime" /></td>
  729. <td colspan="2" rowspan="1">发现时间</td>
  730. <td colspan="8" rowspan="1"><input type="text" v-model="table2.foundTime" /></td>
  731. <td colspan="2" rowspan="1">扑灭时间</td>
  732. <td colspan="7" rowspan="1"><input type="text" v-model="table2.blazesTime" /></td>
  733. </tr>
  734. <tr>
  735. <td colspan="2" rowspan="1" class="txt_left">&nbsp;2.地点及发现方式</td>
  736. <td colspan="2" rowspan="1" class="txt_left"><select v-model="table2.address">
  737. <option>吉林市</option>
  738. <option>延边州</option>
  739. <option>白山市</option>
  740. <option>通化市</option>
  741. <option>辽源市</option>
  742. <option>四平市</option>
  743. <option>长春市</option>
  744. <option>白城市</option>
  745. <option>松原市</option>
  746. <option>敦化航站</option>
  747. <option>长白山管委会</option>
  748. </select></td>
  749. <td colspan="13" rowspan="1"><input type="text" v-model="table2.firePlace" /></td>
  750. <td colspan="2" rowspan="1">发现方式</td>
  751. <td colspan="7" rowspan="1"><input type="text" v-model="table2.foundType" /></td>
  752. </tr>
  753. <tr>
  754. <td colspan="2" rowspan="1" class="txt_left">&nbsp;3.火场位置</td>
  755. <td colspan="2" rowspan="1" class="border_l0">东经:</td>
  756. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  757. v-model="table2.longitudeD" /></td>
  758. <td colspan="1" rowspan="1" class="border_l0">度</td>
  759. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  760. v-model="table2.longitudeM" /></td>
  761. <td colspan="1" rowspan="1" class="border_l0">分</td>
  762. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  763. v-model="table2.longitudeS" /></td>
  764. <td colspan="2" rowspan="1" class="border_l0">秒</td>
  765. <td colspan="1" rowspan="1" class="border_l0">;</td>
  766. <td colspan="2" rowspan="1" class="border_l0">北纬:</td>
  767. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  768. v-model="table2.latitudeD" /></td>
  769. <td colspan="1" rowspan="1" class="border_l0">度</td>
  770. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  771. v-model="table2.latitudeM" /></td>
  772. <td colspan="1" rowspan="1" class="border_l0">分</td>
  773. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  774. v-model="table2.latitudeS" /></td>
  775. <td colspan="1" rowspan="1" class="border_l0">秒</td>
  776. <td class="border_l0"></td>
  777. <td class="border_l0"></td>
  778. <td class="border_l0"></td>
  779. <td class="border_l0"></td>
  780. <td class="border_l0"></td>
  781. <td></td>
  782. </tr>
  783. <tr>
  784. <td colspan="2" rowspan="1" class="txt_left">&nbsp;4.起火原因</td>
  785. <td colspan="3" rowspan="1" class="txt_left"><select v-model="table2.fireSource">
  786. <option>未查明火源</option>
  787. <option>烧荒烧炭</option>
  788. <option>炼山造林</option>
  789. <option>烧牧场</option>
  790. <option disabled>烧窑</option>
  791. <option>烧隔离带</option>
  792. <option>火车喷漏</option>
  793. <option>火车甩瓦</option>
  794. <option>机车喷火</option>
  795. <option>其他(生产性火源)</option>
  796. <option>野外吸烟</option>
  797. <option>取暖做饭</option>
  798. <option>上坟烧纸</option>
  799. <option>烧山驱兽</option>
  800. <option>小孩玩火</option>
  801. <option>痴呆弄火</option>
  802. <option>家火上山</option>
  803. <option>电线引起</option>
  804. <option>其他(非生产性用火)</option>
  805. <option>故意放火</option>
  806. <option>外省(区)烧入</option>
  807. <option>外国烧入</option>
  808. <option>雷击火</option>
  809. <option>其他自然火</option>
  810. </select></td>
  811. <td colspan="3" rowspan="1">火灾种类</td>
  812. <td colspan="4" rowspan="1" class="txt_left"><select v-model="table2.fireType">
  813. <option>地表火</option>
  814. <option>树冠火</option>
  815. <option>地下火</option>
  816. </select></td>
  817. <td colspan="3" rowspan="1">火灾等级</td>
  818. <td colspan="11" rowspan="1" class="txt_left"><select v-model="table2.fireLevel">
  819. <option>一般</option>
  820. <option>较大</option>
  821. <option>重大</option>
  822. <option>特大</option>
  823. </select></td>
  824. </tr>
  825. <tr>
  826. <td colspan="2" rowspan="1" class="txt_left">&nbsp;5.火场面积(公顷)</td>
  827. <td colspan="2" rowspan="1">总面积合计</td>
  828. <td colspan="3" rowspan="1"><input type="text" v-model="table2.areaTotal" /></td>
  829. <td colspan="4" rowspan="1">受害森林面积合计</td>
  830. <td colspan="3" rowspan="1"><input type="text" v-model="table2.forestLossAreaTotal" /></td>
  831. <td colspan="1" rowspan="1">其中:</td>
  832. <td colspan="2" rowspan="1">原森林</td>
  833. <td colspan="4" rowspan="1"><input type="text" v-model="table2.originalForestArea" /></td>
  834. <td colspan="2" rowspan="1">人工林</td>
  835. <td colspan="3" rowspan="1"><input type="text" v-model="table2.artificialForestArea" /></td>
  836. </tr>
  837. <tr>
  838. <td colspan="2" rowspan="1" class="txt_left">&nbsp;6.扑火人力物力投入</td>
  839. <td colspan="2" rowspan="1">出动总人数</td>
  840. <td colspan="1" rowspan="1"><input type="text" v-model="table2.peopleTotal" /></td>
  841. <td colspan="2" rowspan="1">其中扑火队</td>
  842. <td colspan="1" rowspan="1"><input type="text" v-model="table2.blazesTeamNumber" /></td>
  843. <td colspan="1" rowspan="1">森警</td>
  844. <td colspan="2" rowspan="1"><input type="text" v-model="table2.policeNumber" /></td>
  845. <td colspan="1" rowspan="1">军队</td>
  846. <td colspan="1" rowspan="1"><input type="text" v-model="table2.armyNumber" /></td>
  847. <td colspan="1" rowspan="1">群众</td>
  848. <td colspan="1" rowspan="1"><input type="text" v-model="table2.crowdNumber" /></td>
  849. <td colspan="2" rowspan="1">风力灭火机</td>
  850. <td colspan="1" rowspan="1"><input type="text" v-model="table2.windExtinguisher" /></td>
  851. <td colspan="2" rowspan="1">二号工具</td>
  852. <td colspan="1" rowspan="1"><input type="text" v-model="table2.secondTool" /></td>
  853. <td colspan="2" rowspan="1">水枪</td>
  854. <td colspan="1" rowspan="1"><input type="text" v-model="table2.waterGun" /></td>
  855. <td colspan="1" rowspan="1">其他</td>
  856. <td colspan="1" rowspan="1"><input type="text" v-model="table2.elseThings" /></td>
  857. </tr>
  858. <tr>
  859. <td colspan="2" rowspan="1" class="txt_left">&nbsp;7.受害森林概况</td>
  860. <td colspan="2" rowspan="1">林木组成</td>
  861. <td colspan="11" rowspan="1"><input type="text" v-model="table2.forestComposition" /></td>
  862. <td colspan="2" rowspan="1">林令</td>
  863. <td colspan="4" rowspan="1"><input type="text" v-model="table2.forestToken" /></td>
  864. <td colspan="2" rowspan="1">疏密度</td>
  865. <td colspan="3" rowspan="1"><input type="text" v-model="table2.porosities" /></td>
  866. </tr>
  867. <tr>
  868. <td colspan="2" rowspan="1" class="txt_left">&nbsp;8.当日天气实况</td>
  869. <td colspan="2" rowspan="1">天气</td>
  870. <td colspan="3" rowspan="1"><input type="text" v-model="table2.weather" /></td>
  871. <td colspan="1" rowspan="1">气温</td>
  872. <td colspan="2" rowspan="1"><input type="text" v-model="table2.temperature" /></td>
  873. <td colspan="1" rowspan="1">C°</td>
  874. <td colspan="3" rowspan="1">火险等级</td>
  875. <td colspan="1" rowspan="1"><input type="text" v-model="table2.fireInsuranceLevel" /></td>
  876. <td colspan="2" rowspan="1">风力</td>
  877. <td colspan="2" rowspan="1" class="border_l0"><input type="text" v-model="table2.windLevel" /></td>
  878. <td colspan="2" rowspan="1" class="txt_left">级</td>
  879. <td colspan="2" rowspan="1">风向</td>
  880. <td colspan="3" rowspan="1"><input type="text" v-model="table2.windDirection" /></td>
  881. </tr>
  882. <tr>
  883. <td colspan="2" rowspan="1" class="txt_left">&nbsp;9.指挥扑火负责人</td>
  884. <td colspan="2" rowspan="1">单位</td>
  885. <td colspan="11" rowspan="1"><input type="text" v-model="table2.commandUnit" /></td>
  886. <td colspan="2" rowspan="1">姓名</td>
  887. <td colspan="4" rowspan="1"><input type="text" v-model="table2.commandName" /></td>
  888. <td colspan="2" rowspan="1">职务</td>
  889. <td colspan="3" rowspan="1"><input type="text" v-model="table2.commandPosition" /></td>
  890. </tr>
  891. <tr>
  892. <td colspan="2" rowspan="1" class="txt_left">&nbsp;10.火场调查负责人</td>
  893. <td colspan="2" rowspan="1">单位</td>
  894. <td colspan="11" rowspan="1"><input type="text" v-model="table2.surveyUnit" /></td>
  895. <td colspan="2" rowspan="1">姓名</td>
  896. <td colspan="4" rowspan="1"><input type="text" v-model="table2.surveyName" /></td>
  897. <td colspan="2" rowspan="1">职务</td>
  898. <td colspan="3" rowspan="1"><input type="text" v-model="table2.surveyPosition" /></td>
  899. </tr>
  900. <tr>
  901. <td colspan="2" rowspan="1" class="txt_left">&nbsp;11.火灾肇事人情况</td>
  902. <td colspan="2" rowspan="1">姓名</td>
  903. <td colspan="2" rowspan="1"><input type="text" v-model="table2.accidentName" /></td>
  904. <td colspan="2" rowspan="1">性别</td>
  905. <td colspan="1" rowspan="1"><input type="text" v-model="table2.accidentSex" /></td>
  906. <td colspan="3" rowspan="1">年龄</td>
  907. <td colspan="1" rowspan="1"><input type="text" v-model="table2.accidentAge" /></td>
  908. <td colspan="1" rowspan="1">职业</td>
  909. <td colspan="1" rowspan="1"><input type="text" v-model="table2.accidentPosition" /></td>
  910. <td colspan="2" rowspan="1">单位或住址</td>
  911. <td colspan="9" rowspan="1"><input type="text" v-model="table2.accidentUnit" /></td>
  912. </tr>
  913. <tr>
  914. <td colspan="2" rowspan="1" class="txt_left">&nbsp;12.火灾处理情况</td>
  915. <td colspan="2" rowspan="1">处理方式</td>
  916. <td colspan="4" rowspan="1"><select v-model="table2.dealType">
  917. <option>立案(刑事处理)</option>
  918. <option>破案(刑事处理)</option>
  919. <option>行政处理</option>
  920. <option>待查</option>
  921. <option>拘留</option>
  922. <option>处理</option>
  923. <option>未处理</option>
  924. </select></td>
  925. <td colspan="3" rowspan="1">已处理人数</td>
  926. <td colspan="4" rowspan="1"><input type="text" v-model="table2.dealNumber" /></td>
  927. <td colspan="4" rowspan="1">刑事处罚人数</td>
  928. <td colspan="7" rowspan="1"><input type="text" v-model="table2.criminalDealNumber" /></td>
  929. </tr>
  930. <tr>
  931. <td colspan="2" rowspan="1" class="txt_left" style="height: 60px;">
  932. &nbsp;13.对火灾肇事人<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;的处理情况
  933. </td>
  934. <td colspan="24" rowspan="1" class="txt_left">
  935. <textarea v-model="table2.accidentDealSituation"></textarea>
  936. </td>
  937. </tr>
  938. <tr>
  939. <td colspan="2" rowspan="1" class="txt_left" style="height: 60px;">
  940. &nbsp;14.对责任人员的<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任人追查情况
  941. </td>
  942. <td colspan="24" rowspan="1" class="txt_left">
  943. <textarea v-model="table2.responsibilityDealSituation"></textarea>
  944. </td>
  945. </tr>
  946. <tr>
  947. <td colspan="2" rowspan="1" class="txt_left" style="height: 60px;">
  948. &nbsp;15.对有关领导的<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任追查情况
  949. </td>
  950. <td colspan="24" rowspan="1" class="txt_left">
  951. <textarea v-model="table2.leadershipDealSituation"></textarea>
  952. </td>
  953. </tr>
  954. <tr class="tr_border">
  955. <td colspan="4" rowspan="1">县(市、区、局、站)填表人:</td>
  956. <td colspan="2" rowspan="1"><input type="text" v-model="table2.townForm" /></td>
  957. <td colspan="4" rowspan="1">县(市、区、局、站)审核人:</td>
  958. <td colspan="3" rowspan="1"><input type="text" v-model="table2.townAudit" /></td>
  959. <td colspan="4" rowspan="1">市(州、管委会)填表人:</td>
  960. <td colspan="2" rowspan="1"><input type="text" v-model="table2.cityForm" /></td>
  961. <td colspan="4" rowspan="1">市(州、管委会)审核人:</td>
  962. <td colspan="3" rowspan="1"><input type="text" v-model="table2.cityAudit" /></td>
  963. </tr>
  964. </tbody>
  965. </table>
  966. <div class="btm-btn-group">
  967. <el-button size="mini" type="primary" @click="updateCentereventTEventcatalogueStatus('gd',true)">归档
  968. </el-button>
  969. <el-button size="mini" type="primary" @click="regionalFlagAdd()">火灾区域
  970. </el-button>
  971. </div>
  972. </form>
  973. </div>
  974. </el-dialog>
  975. <!-- 图片,视频预览 -->
  976. <el-dialog title="人员选择" :visible.sync="showFindUserByDept" width="40%">
  977. <findUserByDept v-if="showFindUserByDept" ref="findUserByDept" :deptId="iconCurrentIndex"
  978. @addSelection="addSelection"></findUserByDept>
  979. </el-dialog>
  980. <el-dialog :title="eventConfirmTitle" :visible.sync="showEventConfirm" v-if="showEventConfirm" width="50%"
  981. class="top-dialog" @close="cancelEventConfirm()">
  982. <el-form label-width="80px">
  983. <el-form-item label="火灾半径" v-if="eventStatusButton=='qs'&&eventTypeXl==null">
  984. <el-input type="number" v-model="sendHuoZaiBanJing" placeholder="请输入火灾半径" />
  985. </el-form-item>
  986. <el-form-item
  987. v-if="eventStatusButton=='wb'||eventStatusButton=='qs'||eventStatusButton=='cf'"
  988. :label="deptNameitem">
  989. <!-- <treeselect v-model="deptId" :options="deptOptions" multiple :show-count="true"-->
  990. <!-- placeholder="请选择签收部门"/>-->
  991. <el-select v-model="sendDeptName" clearable placeholder="请选择部门" class="m-r-1rem" @change="setValue"
  992. v-if="eventStatusButton=='wb'||eventStatusButton=='qs'||eventStatusButton=='cf'">
  993. <el-option v-for="item in deptOptions" :key="item.deptId" :label="item.deptName"
  994. :value="{value:item.deptId,label:item.deptName}">
  995. </el-option>
  996. </el-select>
  997. </el-form-item>
  998. <el-form-item label="事件类型" v-if="eventStatusButton=='qs'&& eventTypeXl == null">
  999. <el-select v-model="sendEventType" placeholder="请选择事件类型!" clearable>
  1000. <el-option v-for="item in eventTypeList" :key="item.id" :label="item.eventTypeName" :value="item.id" />
  1001. </el-select>
  1002. </el-form-item>
  1003. <el-form-item label="任务来源" v-if="eventStatusButton=='ld'">
  1004. <el-select v-model="sendTaskSource" placeholder="请选择任务来源!" clearable>
  1005. <el-option v-for="dict in dict.type.task_source" :key="dict.value" :label="dict.label"
  1006. :value="dict.value" />
  1007. </el-select>
  1008. </el-form-item>
  1009. <el-form-item label="联动标题" v-if="eventStatusButton=='ld'">
  1010. <el-input v-model="sendTaskTitle" placeholder="请输入联动标题" />
  1011. </el-form-item>
  1012. <el-form-item label="联动内容" v-if="eventStatusButton=='ld'">
  1013. <el-input type="textarea" v-model="sendTaskContent" :autosize="{ minRows: 7, maxRows: 7}"
  1014. placeholder="请输入联动内容">
  1015. </el-input>
  1016. </el-form-item>
  1017. <el-form-item label="联动部门" v-if="eventStatusButton=='ld'">
  1018. <el-input placeholder="输入关键字进行过滤" v-model="filterText">
  1019. </el-input>
  1020. <el-tree class="tree-border tree_scroll" style="height: 20vh; overflow-y:scroll" :data="deptOptionsLiandong"
  1021. show-checkbox ref="LiandongDept" node-key="id" :check-strictly="true" :filter-node-method="filterNode"
  1022. :accordion="true" empty-text="加载中,请稍候" :props="defaultProps"></el-tree>
  1023. <!-- default-expand-all-->
  1024. </el-form-item>
  1025. <el-form-item label="关联预案" v-if="eventStatusButton=='qs'">
  1026. <el-select v-model="sendGuanLianYuAn" placeholder="请选择关联预案!" filterable clearable>
  1027. <el-option v-for="item in guanLianYuAnList" :key="item.id" :label="item.resTitle" :value="item.id" />
  1028. </el-select>
  1029. </el-form-item>
  1030. <el-form-item label="审核意见" v-if="eventStatusButton=='sh'">
  1031. <el-input type="textarea" v-model="eventDescription" :autosize="{ minRows: 7, maxRows: 7}"
  1032. placeholder="请输入审核意见">
  1033. </el-input>
  1034. </el-form-item>
  1035. <el-form-item label="附件" prop="schedulePictures" v-if="eventStatusButton=='sh'">
  1036. <ImageUpload ref="ImageUpload" :limit="10" :fileType="['jpg', 'png','jpeg']" :value="uploadAttachList"
  1037. @input="getUrl"></ImageUpload>
  1038. </el-form-item>
  1039. <!--<el-form-item label="联系人" v-if="eventStatusButton=='qs'">-->
  1040. <!--<el-select multiple collapse-tags v-model='sendUserFegin' placeholder='请选择联系人!' clearable filterable>-->
  1041. <!--<el-option-->
  1042. <!--v-for="item in userFeginList"-->
  1043. <!--:label="item.nickName"-->
  1044. <!--:value="item.phonenumber"-->
  1045. <!--/>-->
  1046. <!--</el-select>-->
  1047. <!--</el-form-item>-->
  1048. <el-button size="mini" type="primary" v-if="eventStatusButton=='qr'"
  1049. @click="updateCentereventTEventcatalogueStatus('qr',false)">确认
  1050. </el-button>
  1051. <el-button size="mini" type="primary" v-if="eventStatusButton=='qs'"
  1052. @click="updateCentereventTEventcatalogueStatus('qs',true)">签收
  1053. </el-button>
  1054. <el-button size="mini" type="primary" v-if="eventStatusButton=='wb'"
  1055. @click="updateCentereventTEventcatalogueStatus('wb',true)">误报
  1056. </el-button>
  1057. <el-button size="mini" type="primary" v-if="eventStatusButton=='cf'"
  1058. @click="updateCentereventTEventcatalogueStatus('cf',true)">重复
  1059. </el-button>
  1060. <el-button size="mini" type="primary" v-if="eventStatusButton=='ld'"
  1061. @click="updateCentereventTEventcatalogueStatus('ld',true)">发起联动
  1062. </el-button>
  1063. <el-button size="mini" type="primary" v-if="eventStatusButton=='sh'"
  1064. @click="updateCentereventTEventcatalogueStatus('shtg',true)">通过
  1065. </el-button>
  1066. <el-button size="mini" type="primary" v-if="eventStatusButton=='sh'"
  1067. @click="updateCentereventTEventcatalogueStatus('shbtg',true)">不通过
  1068. </el-button>
  1069. </el-form>
  1070. </el-dialog>
  1071. <TVWall ref="TVWall"></TVWall>
  1072. </div>
  1073. </template>
  1074. <script>
  1075. import html2canvas from 'html2canvas' //截图组件
  1076. import supermapDialog1 from '@/components/supermap' //超图
  1077. import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
  1078. import eventLogUpload from '@/views/eventLogUpload.vue' //日志上传文件
  1079. import areaSupermap from '@/components/supermap' //区域标记地图
  1080. import TcPlayer from '@/components/TcPlayer' //视频预览
  1081. import leftRightSwiperScroll from '@/components/leftRightSwiperScroll.vue'; //事件中心底部资源内容溢出组件
  1082. import {
  1083. getIconBg
  1084. } from '@/api/components/sookaMapIcon'; //资源底色控制文件
  1085. import TVWall from '@/components/TVWall.vue' //电视墙弹窗
  1086. import {
  1087. getEventDetail,
  1088. sendEventLog,
  1089. listSJfl,
  1090. listYuAn,
  1091. selectByeventCode,
  1092. updateCentereventTEventcatalogueStatus,
  1093. sendTask,
  1094. listResourceByWz,
  1095. updateYjYuAn,
  1096. uploadBase64,
  1097. centereventtdepteventList,
  1098. dutysystemList,
  1099. dutysystemAdd,
  1100. dutysystemRemove,
  1101. getNewDataByDate,
  1102. userFeginlist,
  1103. eventHandling,
  1104. eventExamine,
  1105. fireControlViewList,
  1106. fireControlViewPoint,
  1107. sendMessage,
  1108. } from '@/api/forest'
  1109. import {
  1110. treeselectAll as deptTreeselect
  1111. } from '@/api/system/dept'
  1112. import {
  1113. getHaiKangVideoServer
  1114. } from '@/api/haikang/haikang'
  1115. import {
  1116. hasConferences,
  1117. createConferences,
  1118. getUserInfo
  1119. } from "@/api/meeting"
  1120. import {
  1121. getDahuaVideoServer
  1122. } from '@/api/dahua/dahua'
  1123. import DHWs from '@/dahua/lib/DHWs'
  1124. import {
  1125. joinConferences
  1126. } from "@/api/meeting";
  1127. import findUserByDept from '@/views/findUserByDept'
  1128. import Cookies from "js-cookie"; //责任人选择弹框
  1129. export default {
  1130. dicts: ['task_source'],
  1131. watch: {
  1132. filterText(val) {
  1133. this.$refs.LiandongDept.filter(val)
  1134. }
  1135. },
  1136. components: {
  1137. leftRightSwiperScroll,
  1138. vBottomMenu,
  1139. supermapDialog1,
  1140. eventLogUpload,
  1141. areaSupermap,
  1142. TcPlayer,
  1143. TVWall,
  1144. findUserByDept
  1145. },
  1146. data() {
  1147. return {
  1148. //地图tool开关
  1149. centermonitorTCamera:[],
  1150. mapToolShow: false,
  1151. mapToolCheckAll: false,
  1152. mapToolCheck: ["应急预案", "资源与操作"],
  1153. mapToolCheckItem: [],
  1154. mapToolShowBH:false,
  1155. // isIndeterminate: true,
  1156. isLoading: false,
  1157. showFindUserByDept: false, //责任人选择框
  1158. //海康
  1159. cameraTitle: "",
  1160. cameraCode: "",
  1161. cameraVisible: false,
  1162. initCount: 0,
  1163. pubKey: "",
  1164. oWebControl: null,
  1165. version: 0,
  1166. playVideo: "", //视频预览地址
  1167. showTcPlayer: false, //视频预览弹窗
  1168. regionalFlagOpen: false, //区域标记
  1169. //区域标记
  1170. regionalFlagObj: {
  1171. array: [],
  1172. },
  1173. filterText: "", //树搜索
  1174. /** *****************事件流程***************************/
  1175. deptNameitem: "签收部门",
  1176. sendDeptId: null, //签收部门/发起部门
  1177. sendDeptName: null, //签收部门/发起部门
  1178. sendEventType: null, //事件类型
  1179. sendHuoZaiBanJing: 0, //火灾报告
  1180. sendGuanLianYuAn: null, //关联预案
  1181. sendUserFegin: [], //联系人
  1182. sendTaskSource: null, //任务来源
  1183. sendTaskTitle: null, //联动标题
  1184. sendTaskContent: null, //联动内容
  1185. sendLianDongDept: [], //联动部门
  1186. eventTypeList: [], //事件类型列表
  1187. guanLianYuAnList: [], //关联预案列表
  1188. userFeginList: [], //联系人列表
  1189. deptOptions: [], //签收部门
  1190. deptOptionsLiandong: [], //联动部门
  1191. eventStatusButton: null, //流程按钮标识
  1192. eventConfirmTitle: null, //弹窗标题 ---签收 误报 重复 审核意见
  1193. eventDescription: null, //审核意见
  1194. uploadAttachList: [], //审核上传图片回显集合
  1195. attachExamine: [], //审核图片集合
  1196. defaultProps: {
  1197. children: "children",
  1198. label: "label",
  1199. },
  1200. table1: {
  1201. reportUnit: null,
  1202. reportTimeY: new Date().getFullYear(),
  1203. reportTimeM: new Date().getMonth() + 1,
  1204. reportTimeD: new Date().getDate(),
  1205. forestFireLossTotal: null,
  1206. fireLossTotal: null,
  1207. forestArea: null,
  1208. forestPrice: null,
  1209. treesNumber: null,
  1210. treesPrice: null,
  1211. minorInjuriesNumber: null,
  1212. minorInjuriesPrice: null,
  1213. seriouslyInjuredNumber: null,
  1214. seriouslyInjuredPrice: null,
  1215. deathNumber: null,
  1216. deathPrice: null,
  1217. elseFireLossPrice: null,
  1218. blazesPriceTotal: null,
  1219. artificialDays: null,
  1220. artificialPrice: null,
  1221. vehicleNumber: null,
  1222. carNumber: null,
  1223. vehiclePrice: null,
  1224. planeNumber: null,
  1225. planePrice: null,
  1226. elseBlazesPrice: null,
  1227. note: null,
  1228. },
  1229. table2: {
  1230. fireTime: null,
  1231. foundTime: null,
  1232. blazesTime: null,
  1233. address: null,
  1234. firePlace: null,
  1235. foundType: null,
  1236. longitudeD: null,
  1237. longitudeM: null,
  1238. longitudeS: null,
  1239. latitudeD: null,
  1240. latitudeM: null,
  1241. latitudeS: null,
  1242. fireSource: null,
  1243. fireType: null,
  1244. fireLevel: null,
  1245. areaTotal: 0,
  1246. forestLossAreaTotal: null,
  1247. originalForestArea: null,
  1248. artificialForestArea: null,
  1249. peopleTotal: 0,
  1250. blazesTeamNumber: null,
  1251. policeNumber: null,
  1252. armyNumber: null,
  1253. crowdNumber: null,
  1254. windExtinguisher: null,
  1255. secondTool: null,
  1256. waterGun: null,
  1257. elseThings: null,
  1258. forestComposition: "无",
  1259. forestToken: "无",
  1260. porosities: "无",
  1261. weather: null,
  1262. temperature: null,
  1263. fireInsuranceLevel: null,
  1264. windLevel: null,
  1265. windDirection: null,
  1266. commandUnit: null,
  1267. commandName: null,
  1268. commandPosition: null,
  1269. surveyUnit: null,
  1270. surveyName: null,
  1271. surveyPosition: null,
  1272. accidentName: null,
  1273. accidentSex: null,
  1274. accidentAge: null,
  1275. accidentPosition: null,
  1276. accidentUnit: null,
  1277. dealType: null,
  1278. dealNumber: null,
  1279. criminalDealNumber: null,
  1280. accidentDealSituation: null,
  1281. responsibilityDealSituation: null,
  1282. leadershipDealSituation: null,
  1283. townForm: null,
  1284. townAudit: null,
  1285. cityForm: null,
  1286. cityAudit: null,
  1287. },
  1288. /** *****************事件流程***************************/
  1289. showEventConfirm: false, //事件签收弹窗
  1290. showGuanLianYuAnConfirm: false, //调整关联预案弹窗
  1291. showEventConfirm_gd: false, //事件火险报告弹窗
  1292. address: null, //事件上报地址
  1293. eventStatusValue: null, //事件状态
  1294. isExamine: "0", //事件审核 1通过 0不通过
  1295. eventId: null, //事件ID
  1296. eventType: null, //事件类型-大类
  1297. eventTypeXl: null, //事件类型-小类
  1298. statusFlag: null, //事件流程按钮
  1299. dataStatus: null, //事件处置按钮
  1300. deptId: null, //事件流程部门
  1301. eventCode: null,
  1302. eventName: null,
  1303. longitude: null,
  1304. latitude: null,
  1305. eventLog: null,
  1306. eventLogList: [],
  1307. visuForestCloudYuAnBo: null,
  1308. eventDialog: false,
  1309. showResponsibilityDialog: false, //责任制弹窗
  1310. showMeetingMsgDialog: false, //发送会议短信弹窗
  1311. depteventList: [], //责任制部门列表
  1312. iconCurrentIndex: "",
  1313. dutysystemDeptName: "",
  1314. depteventId: "",
  1315. dutysystemTableData: [],
  1316. radius: 5000, //资源搜索半径
  1317. resourcesList: [
  1318. {
  1319. resourceName: "取水口",
  1320. type: "qsk",
  1321. count: "1",
  1322. icon: "sj-icon-waterintake",
  1323. },
  1324. {
  1325. resourceName: "水鹤",
  1326. type: "sh",
  1327. icon: "sj-icon-watercrane",
  1328. },
  1329. {
  1330. resourceName: "消防栓",
  1331. type: "xfs",
  1332. count: "1",
  1333. icon: "sj-icon-firehydrant",
  1334. },
  1335. {
  1336. resourceName: "起降点",
  1337. type: "qjd",
  1338. count: "1",
  1339. icon: "sj-icon-landing",
  1340. },
  1341. {
  1342. resourceName: "检查站",
  1343. type: "jcz",
  1344. count: "1",
  1345. icon: "sj-icon-checkpoint",
  1346. },
  1347. {
  1348. resourceName: "防火队",
  1349. type: "fhd",
  1350. count: "1",
  1351. icon: "sj-icon-fireteam",
  1352. },
  1353. {
  1354. resourceName: "重点区域",
  1355. type: "zdqy",
  1356. count: "1",
  1357. icon: "sj-icon-keyAreas",
  1358. },
  1359. {
  1360. resourceName: "摄像头",
  1361. type: "sxt",
  1362. count: "1",
  1363. icon: "sj-icon-jkzx",
  1364. },
  1365. ],
  1366. resourcesList1: [{
  1367. resourceName: '取水口',
  1368. type: 'qsk',
  1369. count: '1',
  1370. icon: 'sj-icon-waterintake'
  1371. },
  1372. {
  1373. resourceName: '水鹤',
  1374. type: 'sh',
  1375. icon: 'sj-icon-watercrane'
  1376. },
  1377. {
  1378. resourceName: '消防栓',
  1379. type: 'xfs',
  1380. count: '1',
  1381. icon: 'sj-icon-firehydrant'
  1382. },
  1383. {
  1384. resourceName: '起降点',
  1385. type: 'qjd',
  1386. count: '1',
  1387. icon: 'sj-icon-landing'
  1388. },
  1389. {
  1390. resourceName: '检查站',
  1391. type: 'jcz',
  1392. count: '1',
  1393. icon: 'sj-icon-checkpoint'
  1394. },
  1395. {
  1396. resourceName: '防火队',
  1397. type: 'fhd',
  1398. count: '1',
  1399. icon: 'sj-icon-fireteam'
  1400. },
  1401. {
  1402. resourceName: '重点区域',
  1403. type: 'zdqy',
  1404. count: '1',
  1405. icon: 'sj-icon-keyAreas'
  1406. },
  1407. {
  1408. resourceName: '摄像头',
  1409. type: 'sxt',
  1410. count: '1',
  1411. icon: 'sj-icon-jkzx'
  1412. }
  1413. ],
  1414. resourcesListCheck: [],
  1415. //文本域
  1416. feedback: '',
  1417. }
  1418. },
  1419. props: {
  1420. calendarDay: null //首页日历选择
  1421. },
  1422. created() {
  1423. this.isLoading = true;
  1424. /** ----------------------------------摄像头预览开始------------------------------------- */
  1425. const DHWsInstance = DHWs.getInstance()
  1426. this.ws = DHWsInstance
  1427. /** ----------------------------------摄像头预览结束------------------------------------- */
  1428. },
  1429. // mounted() {
  1430. // this.fireControlViewList();
  1431. // },
  1432. methods: {
  1433. showTVWallDiaLog() {
  1434. this.initByCameras();
  1435. // this.$refs.TVWall.showTVWall();
  1436. },
  1437. initByCameras() {
  1438. // const params = Object.assign({})
  1439. // params.longitude = this.longitude;
  1440. // params.latitude = this.latitude;
  1441. // params.type = '8'
  1442. // initByCameras(params).then(res => {
  1443. // this.$refs.TVWall.showTVWall1(this.longitude, this.latitude, res.data);
  1444. // this.$refs.bottomMenu.showMeasure = false
  1445. // this.$refs.bottomMenu.showChild = false
  1446. // this.$refs.bottomMenu.showBanChild = false
  1447. // this.$refs.bottomMenu.showChangChild = false
  1448. // })
  1449. let that = this
  1450. if(that.centermonitorTCamera == null){
  1451. this.$message.warning("当前事件无绑定摄像头")
  1452. return
  1453. }
  1454. let tvListJson = [{
  1455. "switchTab": "2",
  1456. "treeLabels": [{
  1457. "id": null,
  1458. "labelCode": "999",
  1459. "labelName": "电视墙",
  1460. "cameraType": null,
  1461. "parentLabelCode": ""
  1462. },
  1463. {
  1464. "id": "spcamera00010",
  1465. "labelCode": that.centermonitorTCamera.cameraCode,
  1466. "labelName": that.centermonitorTCamera.cameraName,
  1467. "cameraType": that.centermonitorTCamera.cameraType,
  1468. "parentLabelCode": "999"
  1469. }
  1470. ],
  1471. "labelChannels": [{
  1472. "labelCode": that.centermonitorTCamera.cameraCode,
  1473. "channelDates": [{
  1474. "channelCode": that.centermonitorTCamera.cameraCode,
  1475. "channelName": that.centermonitorTCamera.cameraName,
  1476. "channelSn": null,
  1477. "cameraType": that.centermonitorTCamera.cameraType,
  1478. "online": "1",
  1479. "cameraCode": null
  1480. }]
  1481. }]
  1482. }]
  1483. this.$refs.TVWall.showTVWall1(this.longitude, this.latitude, tvListJson);
  1484. this.$refs.bottomMenu.showMeasure = false
  1485. this.$refs.bottomMenu.showChild = false
  1486. this.$refs.bottomMenu.showBanChild = false
  1487. this.$refs.bottomMenu.showChangChild = false
  1488. },
  1489. closedEventDiaTool() {
  1490. document.addEventListener("click", (e) => {
  1491. let b = document.getElementById("eventMapToolOnly");
  1492. let c = document.getElementById("eventMapToolOnlyButton");
  1493. if (this.mapToolShow && !b.contains(e.target) && !c.contains(e.target)) {
  1494. this.mapToolShow = false;
  1495. }
  1496. });
  1497. },
  1498. // 地图tool显隐
  1499. mapToolCheckAllChange(val) {
  1500. this.mapToolCheckItem = [];
  1501. this.mapToolCheckItem = val ? this.mapToolCheck : [];
  1502. // this.isIndeterminate = false;
  1503. this.mapToolCheckChangeBH()
  1504. },
  1505. mapToolCheckChangeBH(){
  1506. if (this.mapToolCheckItem.includes("地图标绘")) {
  1507. this.mapToolShowBH= true
  1508. } else {
  1509. this.mapToolShowBH= false
  1510. }
  1511. },
  1512. mapToolCheckChange(value) {
  1513. let checkedCount = value.length;
  1514. this.mapToolCheckAll = checkedCount === this.mapToolCheck.length;
  1515. this.mapToolCheckChangeBH()
  1516. },
  1517. /************************************责任制-开始****************************************/
  1518. addLine: function() { //添加负责人行数
  1519. var newValue = {
  1520. id: '', //主键
  1521. userId: '', //用户主键
  1522. dept: '', //部门名称
  1523. depteventId: '', //事件部门关联责任人
  1524. name: '', //姓名
  1525. post: '', //岗位
  1526. telphone: '' //手机号
  1527. }
  1528. //添加新的行数
  1529. this.dutysystemTableData.push(newValue)
  1530. },
  1531. getNewDataByDate(eventCode) {
  1532. const that = this
  1533. console.log(eventCode)
  1534. getNewDataByDate(eventCode).then(function(res) {
  1535. that.windDirection = res.data.windDirection
  1536. that.windSpeed = res.data.windSpeed
  1537. setTimeout(() => {
  1538. that.showheatPlotting()
  1539. }, 2000)
  1540. })
  1541. },
  1542. // 获取消防左侧菜单列表
  1543. fireControlViewList() {
  1544. this.resourcesList1 = [];
  1545. let _this = this;
  1546. fireControlViewList("xiaofang").then(function (res) {
  1547. // _this.resourcesList = res.data
  1548. //截取data.resourceTable字段中“_”分隔符最后一个作为关键字,重新拼接成前端需要的图标:class,格式sj-icon-xxxx,将其set回原数组
  1549. res.data.forEach(function (data, index) {
  1550. let obj = {};
  1551. let icon =
  1552. "sj" +
  1553. "-" +
  1554. "icon" +
  1555. "-" +
  1556. data.type.replaceAll("_", "-").replaceAll("@", "-");
  1557. let resourceName = data.name.replaceAll("(个)", "");
  1558. obj.resourceName = resourceName;
  1559. obj.type = data.type;
  1560. obj.count = data.num;
  1561. obj.icon = icon;
  1562. _this.resourcesList1.push(obj);
  1563. console.log("icon_" + (index + 1) + "=", icon);
  1564. //每个图标对应固定颜色
  1565. _this.$set(_this.resourcesList1[index], "bg", getIconBg(icon));
  1566. });
  1567. _this.resourcesList1.push({
  1568. resourceName: "摄像头",
  1569. type: "sxt",
  1570. count: "1",
  1571. icon: "sj-icon-jkzx",
  1572. bg: "#f5ad1b",
  1573. });
  1574. });
  1575. },
  1576. fireControlViewPoint(type) {
  1577. let that = this;
  1578. if (that.resourcesListCheck.indexOf(type) > -1) {
  1579. that.resourcesListCheck.splice(that.resourcesListCheck.indexOf(type), 1)
  1580. setTimeout(() => {
  1581. that.$refs.supermapDialog1.clearMByType(type)
  1582. }, 1000)
  1583. } else {
  1584. // 消防资源落点
  1585. let param = {
  1586. longitude: that.longitude,
  1587. latitude: that.latitude,
  1588. type: type,
  1589. radius: that.radius
  1590. }
  1591. if (type != 'sxt') {
  1592. fireControlViewPoint(param).then(res => {
  1593. if (res.data != null && res.data.pointList.length > 0) {
  1594. that.resourcesListCheck.push(type)
  1595. var markersList = []
  1596. for (let i = 0; i < res.data.pointList.length; i++) {
  1597. let markersMap = {
  1598. lng: 124.59,
  1599. lat: 43.02,
  1600. icon: "marker",
  1601. bindPopupHtml: "",
  1602. click: "",
  1603. parameter: "",
  1604. keepBindPopup: false,
  1605. isAggregation: true,
  1606. };
  1607. markersMap.icon = "sj-icon-map-" + type.replaceAll("_", "-");
  1608. markersMap.lng = res.data.pointList[i].longitude;
  1609. markersMap.lat = res.data.pointList[i].latitude;
  1610. markersMap.bindPopupHtml =
  1611. '<div class="map-tip">' +
  1612. "<span>" +
  1613. ' <div class="d-l-con">' +
  1614. ' <div class="d-l-l-text">' +
  1615. " <h4>资源名称:" +
  1616. res.data.pointList[i].name +
  1617. "</h4>" +
  1618. " </div>" +
  1619. " </div>" +
  1620. " </span>" +
  1621. "<span>" +
  1622. ' <div class="d-l-con">' +
  1623. ' <div class="d-l-l-text">' +
  1624. " <h4>经纬度:" +
  1625. res.data.pointList[i].longitude +
  1626. "," +
  1627. res.data.pointList[i].latitude +
  1628. "</h4>" +
  1629. " </div>" +
  1630. " </div>" +
  1631. " </span>" +
  1632. "<span>" +
  1633. ' <div class="d-l-con">' +
  1634. ' <div class="d-l-l-text">' +
  1635. " <h4>名称:" +
  1636. (res.data.pointList[i].name?res.data.pointList[i].name:'无') +
  1637. "</h4>" +
  1638. " </div>" +
  1639. " </div>" +
  1640. " </span>" +
  1641. "<span>" +
  1642. ' <div class="d-l-con">' +
  1643. ' <div class="d-l-l-text">' +
  1644. " <h4>地址:" +
  1645. (res.data.pointList[i].address?res.data.pointList[i].address:'无') +
  1646. "</h4>" +
  1647. " </div>" +
  1648. " </div>" +
  1649. " </span>" +
  1650. "<span>" +
  1651. ' <div class="d-l-con">' +
  1652. ' <div class="d-l-l-text">' +
  1653. " <h4>联系人:" +
  1654. (res.data.pointList[i].contacts?res.data.pointList[i].contacts:'无') +
  1655. "</h4>" +
  1656. " </div>" +
  1657. " </div>" +
  1658. " </span>" +
  1659. "<span>" +
  1660. ' <div class="d-l-con">' +
  1661. ' <div class="d-l-l-text">' +
  1662. " <h4>电话:" +
  1663. (res.data.pointList[i].phone?res.data.pointList[i].phone:'无') +
  1664. "</h4>" +
  1665. " </div>" +
  1666. " </div>" +
  1667. " </span>" +
  1668. "<span>" +
  1669. ' <div class="d-l-con">' +
  1670. ' <div class="d-l-l-text">' +
  1671. " <h4>距离事件距离:" +
  1672. (res.data.pointList[i].distance?res.data.pointList[i].distance+'米':'无') +
  1673. "</h4>" +
  1674. " </div>" +
  1675. " </div>" +
  1676. " </span>" +
  1677. "</div>";
  1678. markersList.push(markersMap);
  1679. }
  1680. setTimeout(() => {
  1681. that.$refs.supermapDialog1.setMarkersByType(markersList, type)
  1682. }, 1000)
  1683. }
  1684. })
  1685. } else {
  1686. that.listResourceByWz(type);
  1687. }
  1688. }
  1689. },
  1690. showTVWall(channelCode, channelName) {
  1691. let tvListJson = [{
  1692. "switchTab": "2",
  1693. "treeLabels": [{
  1694. "id": null,
  1695. "labelCode": "999",
  1696. "labelName": "电视墙",
  1697. "cameraType": null,
  1698. "parentLabelCode": ""
  1699. },
  1700. {
  1701. "id": "spcamera00010",
  1702. "labelCode": channelCode,
  1703. "labelName": channelName,
  1704. "cameraType": "1",
  1705. "parentLabelCode": "999"
  1706. }
  1707. ],
  1708. "labelChannels": [{
  1709. "labelCode": channelCode,
  1710. "channelDates": [{
  1711. "channelCode": channelCode,
  1712. "channelName": channelName,
  1713. "channelSn": null,
  1714. "cameraType": "1",
  1715. "online": "1",
  1716. "cameraCode": "1"
  1717. }]
  1718. }]
  1719. }]
  1720. this.$refs.TVWall.showTVWall(tvListJson, [{
  1721. "channelId": channelCode
  1722. }]);
  1723. this.$refs.bottomMenu.showMeasure = false;
  1724. this.$refs.bottomMenu.showChild = false;
  1725. this.$refs.bottomMenu.showBanChild = false;
  1726. this.$refs.bottomMenu.showChangChild = false;
  1727. },
  1728. addSelection: function(userList) {
  1729. for (let i in this.dutysystemTableData) {
  1730. for (let j in userList) {
  1731. if (this.dutysystemTableData[i].name == userList[j].name && this.dutysystemTableData[i].telphone ==
  1732. userList[j].telphone) {
  1733. userList.splice(j, 1);
  1734. }
  1735. }
  1736. }
  1737. this.dutysystemTableData = this.dutysystemTableData.concat(userList);
  1738. this.showFindUserByDept = false;
  1739. },
  1740. handleDelete: function(index, row) { //删除负责人行数
  1741. if (row.id != null && row.id != '') {
  1742. let param = {
  1743. ids: row.id
  1744. }
  1745. dutysystemRemove(param).then(res => {
  1746. this.$message.success(`删除成功!`)
  1747. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
  1748. })
  1749. } else {
  1750. this.dutysystemTableData.splice(index, 1)
  1751. }
  1752. },
  1753. handleSave: function(index, rowData) { //保存负责人行数
  1754. rowData.dept = this.dutysystemDeptName
  1755. rowData.depteventId = this.depteventId
  1756. dutysystemAdd(rowData).then(res => {
  1757. this.$message.success(`保存成功!`)
  1758. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
  1759. })
  1760. },
  1761. finUserByDept: function() { //根据部门选择责任人
  1762. this.showFindUserByDept = true;
  1763. },
  1764. dutysystemSelect: function(deptId, dutysystemDeptName, depteventId) { //通过部门查询负责人信息
  1765. this.dutysystemDeptName = dutysystemDeptName
  1766. this.depteventId = depteventId
  1767. this.iconCurrentIndex = deptId
  1768. let param = {
  1769. depteventId: depteventId
  1770. }
  1771. dutysystemList(param).then(res => {
  1772. if (res.data != null && res.data.length > 0) {
  1773. this.dutysystemTableData = res.data
  1774. } else {
  1775. this.dutysystemTableData = []
  1776. }
  1777. })
  1778. },
  1779. showResponsibility() { //弹出责任制弹窗
  1780. let param = {
  1781. eventCode: this.eventCode
  1782. }
  1783. centereventtdepteventList(param).then(res => {
  1784. this.depteventList = res.data
  1785. this.showResponsibilityDialog = true
  1786. })
  1787. },
  1788. closeResponsibilityDialog() { //责任制关闭
  1789. this.dutysystemTableData = []
  1790. this.dutysystemDeptName = ''
  1791. this.depteventId = ''
  1792. this.iconCurrentIndex = ''
  1793. this.showResponsibilityDialog = false
  1794. },
  1795. addResponsibilityDialog() { //责任制保存
  1796. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  1797. let reg_tel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
  1798. for (let i in this.dutysystemTableData) {
  1799. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  1800. this.$message.error(`请输入正确姓名!`)
  1801. return;
  1802. }
  1803. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  1804. this.$message.error(`请输入正确手机号码!`)
  1805. return;
  1806. }
  1807. if (this.dutysystemTableData[i].id == null || this.dutysystemTableData[i].id == '') {
  1808. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  1809. this.dutysystemTableData[i].depteventId = this.depteventId;
  1810. }
  1811. }
  1812. const param = {
  1813. centereventTDutySystemList: this.dutysystemTableData,
  1814. eventCode: this.eventCode,
  1815. eventName: this.eventName
  1816. }
  1817. dutysystemAdd(param).then(res => {
  1818. this.$message.success(`保存成功!`)
  1819. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
  1820. this.closeResponsibilityDialog();
  1821. })
  1822. },
  1823. /************************************责任制-结束****************************************/
  1824. showEventdetailsdialog() {
  1825. this.eventDialog = false;
  1826. this.cancelEventShow()
  1827. this.$emit('getFirespread', this.eventCode);
  1828. },
  1829. showheatPlotting() {
  1830. this.$refs.supermapDialog1.showheatPlotting(this.latitude, this.longitude, this.windSpeed, this.windDirection)
  1831. },
  1832. showUpdateYjYuAn() {
  1833. listYuAn().then(res => {
  1834. //关联预案列表
  1835. if (res.code == 200) {
  1836. this.guanLianYuAnList = res.data
  1837. this.showGuanLianYuAnConfirm = true
  1838. }
  1839. })
  1840. },
  1841. updateYjYuAn() {
  1842. if (this.eventStatusValue == 'forest_event_status_1') {
  1843. this.$message.error(`修改预案信息在签收后方可修改!`)
  1844. return
  1845. } else {
  1846. let param = {
  1847. eventCode: this.eventCode,
  1848. reserve: this.sendGuanLianYuAn
  1849. }
  1850. updateYjYuAn(param).then(res => {
  1851. //事件调整关联预案
  1852. if (res.code == 200) {
  1853. this.$message.success(`预案调整成功!`)
  1854. this.refreshEventDialog(this.eventCode)
  1855. this.sendGuanLianYuAn = null
  1856. this.showGuanLianYuAnConfirm = false
  1857. }
  1858. })
  1859. }
  1860. },
  1861. listResourceByWz(type) {
  1862. let that=this;
  1863. if (that.resourcesListCheck.indexOf(type) > -1) {
  1864. that.resourcesListCheck.splice(that.resourcesListCheck.indexOf(type), 1)
  1865. setTimeout(() => {
  1866. that.$refs.supermapDialog1.clearMByType(type)
  1867. }, 1000)
  1868. } else {
  1869. //搜索物资
  1870. let param = {
  1871. longitude: that.longitude,
  1872. latitude: that.latitude,
  1873. type: type,
  1874. radius: that.radius
  1875. }
  1876. listResourceByWz(param).then(res => {
  1877. if (res.data != null && res.data.length > 0) {
  1878. that.resourcesListCheck.push(type)
  1879. var markersList = []
  1880. for (let i = 0; i < res.data.length; i++) {
  1881. let markersMap = {
  1882. lng: 124.59,
  1883. lat: 43.02,
  1884. icon: 'marker',
  1885. bindPopupHtml: '',
  1886. click: '',
  1887. parameter: '',
  1888. keepBindPopup: false,
  1889. isAggregation: true
  1890. }
  1891. if (type == 'qsk') {
  1892. markersMap.icon = 'sj-icon-waterintake'
  1893. } else if (type == 'sh') {
  1894. markersMap.icon = 'sj-icon-watercrane'
  1895. } else if (type == 'xfs') {
  1896. markersMap.icon = 'sj-icon-firehydrant'
  1897. } else if (type == 'qjd') {
  1898. markersMap.icon = 'sj-icon-landing'
  1899. } else if (type == 'jcz') {
  1900. markersMap.icon = 'sj-icon-checkpoint'
  1901. } else if (type == 'fhd') {
  1902. markersMap.icon = 'sj-icon-fireteam'
  1903. } else if (type == 'zdqy') {
  1904. markersMap.icon = 'sj-icon-keyAreas'
  1905. } else if (type == 'sxt') {
  1906. if(res.data[i].cameraUse==1)
  1907. {
  1908. if(res.data[i].workingStatus==0)
  1909. {
  1910. markersMap.icon='sj-icon-map-centerdata-slmonitor'
  1911. markersMap.click='preview'
  1912. }else if (res.data[i].workingStatus==1)
  1913. {
  1914. markersMap.icon='sj-icon-map-not-centerdata-slmonitor'
  1915. markersMap.click=''
  1916. }
  1917. } else if (res.data[i].cameraUse == 2){
  1918. if(res.data[i].workingStatus==0)
  1919. {
  1920. markersMap.icon = "camera";
  1921. markersMap.click='preview'
  1922. }else if (res.data[i].workingStatus==1)
  1923. {
  1924. markersMap.icon = "camera-not";
  1925. markersMap.click=''
  1926. }
  1927. } else if (res.data[i].cameraUse == 3) {
  1928. if(res.data[i].workingStatus==0)
  1929. {
  1930. markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
  1931. markersMap.click='preview'
  1932. }else if (res.data[i].workingStatus==1)
  1933. {
  1934. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor-traffic'
  1935. markersMap.click=''
  1936. }
  1937. }
  1938. else if (res.data[i].cameraUse == 4) {
  1939. if(res.data[i].workingStatus==0)
  1940. {
  1941. markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
  1942. markersMap.click='preview'
  1943. }else if (res.data[i].workingStatus==1)
  1944. {
  1945. markersMap.icon = 'sj-icon-map-not-centerdata-sand-quarry-camera'
  1946. markersMap.click=''
  1947. }
  1948. }
  1949. else if (res.data[i].cameraUse == 5) {
  1950. if (res.data[i].workingStatus == 0) {
  1951. markersMap.icon = 'sj-icon-map-centerdata-t-hydraulic-reservoir-camera'
  1952. markersMap.click = 'preview'
  1953. } else if (res.data[i].workingStatus == 1) {
  1954. markersMap.icon = 'sj-icon-map-not-centerdata-t-hydraulic-reservoir-camera'
  1955. markersMap.click = ''
  1956. }
  1957. }
  1958. if (res.data[i].cameraCode != null) {
  1959. // markersMap.click = 'preview'
  1960. // markersMap.parameter = res.data[i].cameraCode
  1961. markersMap.parameter = {code:res.data[i].cameraCode,
  1962. type:res.data[i].cameraFactory?res.data[i].cameraFactory:1,name:res.data[i].cameraName}
  1963. }
  1964. }
  1965. markersMap.lng = res.data[i].longitude
  1966. markersMap.lat = res.data[i].latitude
  1967. markersMap.bindPopupHtml = '<div class="map-tip">' +
  1968. '<span>' +
  1969. ' <div class="d-l-con">' +
  1970. ' <div class="d-l-l-text">' +
  1971. ' <h4>资源名称:' + res.data[i].cameraName + '</h4>' +
  1972. ' </div>' +
  1973. ' </div>' +
  1974. ' </span>' +
  1975. '</div>'
  1976. markersList.push(markersMap)
  1977. }
  1978. setTimeout(() => {
  1979. that.$refs.supermapDialog1.setMarkersByType(markersList, type)
  1980. }, 1000)
  1981. }
  1982. })
  1983. }
  1984. },
  1985. // 返回图片列表
  1986. assetTypeAnImage(filePath) {
  1987. let imageList = []
  1988. if (filePath != null && filePath.length > 0) {
  1989. for (let i = 0; i < filePath.length; i++) {
  1990. if (filePath[i].fileType == 'image') {
  1991. imageList.push(filePath[i].fileUrl)
  1992. }
  1993. }
  1994. }
  1995. return imageList
  1996. },
  1997. clickFile(fileUrl, fileName, fileType) {
  1998. if (fileType == 'image') {
  1999. return
  2000. } else if (fileType == 'video') {
  2001. this.showTcPlayer = true
  2002. setTimeout(() => {
  2003. this.playVideo = fileUrl
  2004. }, 500)
  2005. } else {
  2006. let a = document.createElement('a')
  2007. a.download = fileName
  2008. a.href = fileUrl
  2009. a.target = '_blank'
  2010. a.click()
  2011. }
  2012. },
  2013. setValue(event) {
  2014. //签收选择部门
  2015. this.sendDeptName = event.label
  2016. this.sendDeptId = event.value
  2017. },
  2018. cancelEventConfirm() {
  2019. //关闭事件签收弹窗
  2020. this.sendDeptId = null
  2021. this.sendDeptName = null
  2022. this.sendUserFegin = []
  2023. this.sendEventType = null
  2024. this.sendHuoZaiBanJing = 0
  2025. this.sendGuanLianYuAn = null
  2026. // this.longitude = null
  2027. // this.latitude = null
  2028. this.sendTaskTitle = null
  2029. this.sendTaskSource = null
  2030. this.sendTaskContent = null
  2031. this.sendLianDongDept = []
  2032. this.eventTypeList = [] //事件类型列表
  2033. this.guanLianYuAnList = [] //关联预案列表
  2034. this.deptOptions = [] //签收部门
  2035. this.deptOptionsLiandong = [] //联动部门
  2036. this.eventStatusButton = null //流程按钮标识
  2037. this.eventConfirmTitle = null //流程按钮标识
  2038. this.resourcesListCheck = []
  2039. this.userFeginList = [] //联系人列表
  2040. },
  2041. cancelEventConfirm_send() {
  2042. //清空表单数据
  2043. this.sendDeptId = null
  2044. this.sendDeptName = null
  2045. this.sendUserFegin = []
  2046. this.sendEventType = null
  2047. this.sendHuoZaiBanJing = 0
  2048. this.sendGuanLianYuAn = null
  2049. this.sendTaskTitle = null
  2050. this.sendTaskSource = null
  2051. this.sendTaskContent = null
  2052. this.sendLianDongDept = []
  2053. this.eventTypeList = [] //事件类型列表
  2054. this.guanLianYuAnList = [] //关联预案列表
  2055. this.deptOptions = [] //签收部门
  2056. this.deptOptionsLiandong = [] //联动部门
  2057. this.userFeginList = [] //联系人列表
  2058. },
  2059. cancelEventConfirm_gd() {
  2060. //关闭事件火险报告窗口
  2061. this.resetTable1()
  2062. this.resetTable2()
  2063. },
  2064. cancelEventConfirm_mp4() {
  2065. //关闭视频窗口
  2066. this.playVideo = ''
  2067. this.$refs.TcPlayer.destroyed()
  2068. },
  2069. resetTable1() {
  2070. this.table1 = {
  2071. reportUnit: null,
  2072. reportTimeY: null,
  2073. reportTimeM: null,
  2074. reportTimeD: null,
  2075. forestFireLossTotal: null,
  2076. fireLossTotal: null,
  2077. forestArea: null,
  2078. forestPrice: null,
  2079. treesNumber: null,
  2080. treesPrice: null,
  2081. minorInjuriesNumber: null,
  2082. minorInjuriesPrice: null,
  2083. seriouslyInjuredNumber: null,
  2084. seriouslyInjuredPrice: null,
  2085. deathNumber: null,
  2086. deathPrice: null,
  2087. elseFireLossPrice: null,
  2088. blazesPriceTotal: null,
  2089. artificialDays: null,
  2090. artificialPrice: null,
  2091. vehicleNumber: null,
  2092. carNumber: null,
  2093. vehiclePrice: null,
  2094. planeNumber: null,
  2095. planePrice: null,
  2096. elseBlazesPrice: null,
  2097. note: null
  2098. }
  2099. },
  2100. resetTable2() {
  2101. this.table2 = {
  2102. fireTime: null,
  2103. foundTime: null,
  2104. blazesTime: null,
  2105. address: null,
  2106. firePlace: null,
  2107. foundType: null,
  2108. longitudeD: null,
  2109. longitudeM: null,
  2110. longitudeS: null,
  2111. latitudeD: null,
  2112. latitudeM: null,
  2113. latitudeS: null,
  2114. fireSource: null,
  2115. fireType: null,
  2116. fireLevel: null,
  2117. areaTotal: null,
  2118. forestLossAreaTotal: null,
  2119. originalForestArea: null,
  2120. artificialForestArea: null,
  2121. peopleTotal: null,
  2122. blazesTeamNumber: null,
  2123. policeNumber: null,
  2124. armyNumber: null,
  2125. crowdNumber: null,
  2126. windExtinguisher: null,
  2127. secondTool: null,
  2128. waterGun: null,
  2129. elseThings: null,
  2130. forestComposition: null,
  2131. forestToken: null,
  2132. porosities: null,
  2133. weather: null,
  2134. temperature: null,
  2135. fireInsuranceLevel: null,
  2136. windLevel: null,
  2137. windDirection: null,
  2138. commandUnit: null,
  2139. commandName: null,
  2140. commandPosition: null,
  2141. surveyUnit: null,
  2142. surveyName: null,
  2143. surveyPosition: null,
  2144. accidentName: null,
  2145. accidentSex: null,
  2146. accidentAge: null,
  2147. accidentPosition: null,
  2148. accidentUnit: null,
  2149. dealType: null,
  2150. dealNumber: null,
  2151. criminalDealNumber: null,
  2152. accidentDealSituation: null,
  2153. responsibilityDealSituation: null,
  2154. leadershipDealSituation: null,
  2155. townForm: null,
  2156. townAudit: null,
  2157. cityForm: null,
  2158. cityAudit: null
  2159. }
  2160. },
  2161. getUrl(urlList) {
  2162. this.uploadAttachList = urlList
  2163. this.attachExamine = []
  2164. urlList.forEach(item => {
  2165. var attachPath = {
  2166. attachPath: item.name
  2167. }
  2168. this.attachExamine.push(attachPath)
  2169. });
  2170. },
  2171. //设置联动部门不可选择本部门
  2172. recursiveChildren(arrayList,deptId) {
  2173. arrayList.forEach((item, index) => {
  2174. if(item.id==deptId){
  2175. item.disabled="true";
  2176. return
  2177. }
  2178. if(item.children){
  2179. this.recursiveChildren(item.children,deptId)
  2180. }
  2181. });
  2182. },
  2183. /**
  2184. * eventStatusValue 事件状态
  2185. * isSend 是否办理
  2186. * */
  2187. async updateCentereventTEventcatalogueStatus(eventStatus, isSend) {
  2188. this.eventStatusButton = eventStatus;
  2189. let that = this;
  2190. if (!isSend) {
  2191. //事件弹窗
  2192. if (eventStatus == "qs") {
  2193. //签收
  2194. that.eventConfirmTitle = "事件签收";
  2195. let param = {
  2196. parentId: that.eventType,
  2197. };
  2198. if (that.eventTypeXl != null) {
  2199. that.sendEventType = that.eventTypeXl;
  2200. } else {
  2201. await listSJfl(param).then((res) => {
  2202. //事件类型
  2203. if (res.code == 200) {
  2204. that.eventTypeList = res.data;
  2205. }
  2206. });
  2207. }
  2208. await listYuAn().then((res) => {
  2209. //关联预案
  2210. if (res.code == 200) {
  2211. that.guanLianYuAnList = res.data;
  2212. }
  2213. });
  2214. await selectByeventCode(that.eventCode).then((res) => {
  2215. //签收部门
  2216. if (res.code == 200) {
  2217. that.deptOptions = res.data;
  2218. that.deptNameitem = "签收部门";
  2219. }
  2220. });
  2221. that.showEventConfirm = true;
  2222. } else if (eventStatus == "qr") {
  2223. //确认
  2224. that.eventConfirmTitle = "事件确认";
  2225. } else if (eventStatus == "wb") {
  2226. //误报
  2227. that.eventConfirmTitle = "事件误报";
  2228. await selectByeventCode(that.eventCode).then((res) => {
  2229. //签收部门
  2230. if (res.code == 200) {
  2231. that.deptOptions = res.data;
  2232. that.deptNameitem = "签收部门";
  2233. }
  2234. });
  2235. that.showEventConfirm = true;
  2236. } else if (eventStatus == "cf") {
  2237. //重复
  2238. that.eventConfirmTitle = "事件重复";
  2239. await selectByeventCode(that.eventCode).then((res) => {
  2240. //签收部门
  2241. if (res.code == 200) {
  2242. that.deptOptions = res.data;
  2243. that.deptNameitem = "签收部门";
  2244. }
  2245. });
  2246. that.showEventConfirm = true;
  2247. } else if (eventStatus == "ld") {
  2248. //联动
  2249. await selectByeventCode(that.eventCode).then((res) => {
  2250. //签收部门
  2251. if (res.code == 200) {
  2252. that.deptOptions = res.data;
  2253. that.deptNameitem = "发起部门";
  2254. }
  2255. });
  2256. that.eventConfirmTitle = "事件联动";
  2257. /** 查询部门树结构 */
  2258. await deptTreeselect().then((response) => {
  2259. let deptId=Cookies.get("deptId")
  2260. that.recursiveChildren(response.data,deptId)
  2261. that.deptOptionsLiandong = response.data;
  2262. });
  2263. that.showEventConfirm = true;
  2264. } else if (eventStatus == "sh") {
  2265. //审核
  2266. that.eventConfirmTitle = "事件审核";
  2267. that.showEventConfirm = true;
  2268. } else if (eventStatus == "gd") {
  2269. //归档填报
  2270. that.showEventConfirm_gd = true;
  2271. }
  2272. } else {
  2273. //事件提交后台
  2274. if (eventStatus == "ld") {
  2275. //事件处理流程--联动1
  2276. let array = that.$refs.LiandongDept.getCheckedNodes();
  2277. if (array != null && array.length > 0) {
  2278. for (let i = 0; i < array.length; i++) {
  2279. that.sendLianDongDept.push({
  2280. taskDeptId: array[i].id,
  2281. taskDeptName: array[i].label,
  2282. });
  2283. }
  2284. }
  2285. if (that.sendTaskSource == "" || that.sendTaskSource == null) {
  2286. that.$message.error(`请选择任务来源!`);
  2287. return;
  2288. }
  2289. if (that.sendTaskContent == "" || that.sendTaskContent == null) {
  2290. that.$message.error(`请输入任务内容!`);
  2291. return;
  2292. }
  2293. if (that.sendTaskTitle == "" || that.sendTaskTitle == null) {
  2294. that.$message.error(`请输入任务标题!`);
  2295. return;
  2296. }
  2297. if (that.sendLianDongDept == "" || that.sendLianDongDept == null) {
  2298. that.$message.error(`请选择任务联动部门!`);
  2299. return;
  2300. }
  2301. // if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName ==
  2302. // null) {
  2303. // that.$message.error(`请选择任务发起部门!`)
  2304. // return
  2305. // }
  2306. let eventState = "";
  2307. listSJfl({
  2308. parentId: that.eventType,
  2309. }).then((res) => {
  2310. if (res.code == 200) {
  2311. for (let i in res.data) {
  2312. if (res.data[i].id == that.eventTypeXl) {
  2313. eventState = res.data[i].eventTypeName;
  2314. }
  2315. }
  2316. let param = {
  2317. sendDeptId: Cookies.get("deptId"),
  2318. sendDept: Cookies.get("deptName"),
  2319. eventCode: that.eventCode,
  2320. longitude: that.longitude,
  2321. latitude: that.latitude,
  2322. taskTitle: that.sendTaskTitle,
  2323. taskSource: that.sendTaskSource,
  2324. taskContent: that.sendTaskContent,
  2325. taskDept: that.sendLianDongDept,
  2326. eventAddress: that.address,
  2327. eventState: eventState,
  2328. eventName: that.eventName,
  2329. };
  2330. sendTask(param).then((res) => {
  2331. if (res.code == 200) {
  2332. that.$message.success(`联动发起成功!`);
  2333. that.refreshEventDialog(that.eventCode);
  2334. that.cancelEventConfirm_send();
  2335. that.showEventConfirm = false;
  2336. }
  2337. });
  2338. }
  2339. });
  2340. } else if (eventStatus == "gd") {
  2341. if (that.eventTypeXl == 101) {
  2342. let double =
  2343. /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; //数字和两位小数
  2344. let number = /^[+]{0,1}(\d+)$/g; //正整数
  2345. if (!double.test(that.table2.areaTotal)) {
  2346. that.$message.error(`面积只能填写到小数后两位!`);
  2347. return;
  2348. }
  2349. if (!number.test(that.table2.peopleTotal)) {
  2350. that.$message.error(`人员请填写正整数!`);
  2351. return;
  2352. }
  2353. if (
  2354. that.table2.forestComposition == "" ||
  2355. that.table2.forestComposition == null
  2356. ) {
  2357. that.$message.error(`林木组成不能为空!`);
  2358. return;
  2359. }
  2360. if (
  2361. that.table2.forestToken == "" ||
  2362. that.table2.forestToken == null
  2363. ) {
  2364. that.$message.error(`林令不能为空!`);
  2365. return;
  2366. }
  2367. if (
  2368. that.table2.porosities == "" ||
  2369. that.table2.porosities == null
  2370. ) {
  2371. that.$message.error(`疏密度不能为空!`);
  2372. return;
  2373. }
  2374. }
  2375. //事件处理流程--归档
  2376. let param = {
  2377. deptId: that.deptId,
  2378. eventCode: that.eventCode,
  2379. eventStatus: eventStatus,
  2380. id: that.eventId,
  2381. version: that.version,
  2382. czlx: "",
  2383. forestFireLoss: {
  2384. eventId: that.eventCode,
  2385. table1: that.table1,
  2386. },
  2387. fireInformation: {
  2388. eventId: that.eventCode,
  2389. table2: that.table2,
  2390. },
  2391. array: that.regionalFlagObj.array,
  2392. };
  2393. updateCentereventTEventcatalogueStatus(param).then((res) => {
  2394. if (res.code == 200) {
  2395. that.$message.success(`处理成功!`);
  2396. that.refreshEvent(that.eventCode);
  2397. that.cancelEventConfirm_send();
  2398. that.showEventConfirm_gd = false;
  2399. that.$emit("getEventList", that.calendarDay, 10, 1);
  2400. that.$emit("getSupermap", that.calendarDay);
  2401. } else if (res.code == 304) {
  2402. console.log(that.eventCode);
  2403. this.$message.warning(res.msg);
  2404. this.showEventDialog(that.eventCode);
  2405. //获取事件详情
  2406. }
  2407. });
  2408. } else if (eventStatus == "shtg") {
  2409. that.eventStatusButton = "sh";
  2410. if (that.eventDescription == "" || that.eventDescription == null) {
  2411. that.$message.error(`请填写审核意见!`);
  2412. return;
  2413. }
  2414. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  2415. that.$message.error(`请上传审核图片!`);
  2416. return;
  2417. }
  2418. //事件处理流程--审核通过
  2419. let param = {
  2420. id: that.eventId, //事件id
  2421. eventCode: that.eventCode, //事件编号
  2422. eventName: that.eventName, //事件名称
  2423. isExamine: 1, //通过传1,不通过传0
  2424. version: that.version,
  2425. eventDescription: that.eventDescription, //审核意见
  2426. attach: that.attachExamine,
  2427. };
  2428. eventExamine(param).then((res) => {
  2429. if (res.code == 200) {
  2430. that.$message.success(`处理成功!`);
  2431. that.refreshEvent(that.eventCode);
  2432. that.cancelEventConfirm_send();
  2433. that.showEventConfirm = false;
  2434. } else if (res.code == 304) {
  2435. console.log(that.eventCode);
  2436. this.$message.warning(res.msg);
  2437. this.showEventDialog(that.eventCode);
  2438. //获取事件详情
  2439. }
  2440. that.attachExamine = [];
  2441. that.uploadAttachList = [];
  2442. that.eventDescription = "";
  2443. });
  2444. } else if (eventStatus == "shbtg") {
  2445. that.eventStatusButton = "sh";
  2446. if (that.eventDescription == "" || that.eventDescription == null) {
  2447. that.$message.error(`请填写审核意见!`);
  2448. return;
  2449. }
  2450. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  2451. that.$message.error(`请上传审核图片!`);
  2452. return;
  2453. }
  2454. //事件处理流程--审核不通过
  2455. let param = {
  2456. id: that.eventId, //事件id
  2457. eventCode: that.eventCode, //事件编号
  2458. eventName: that.eventName, //事件名称
  2459. isExamine: 0, //通过传1,不通过传0
  2460. version: that.version,
  2461. eventDescription: that.eventDescription, //审核意见
  2462. attach: that.attachExamine,
  2463. };
  2464. eventExamine(param).then((res) => {
  2465. if (res.code == 200) {
  2466. that.$message.success(`处理成功!`);
  2467. that.refreshEvent(that.eventCode);
  2468. that.cancelEventConfirm_send();
  2469. that.showEventConfirm = false;
  2470. } else if (res.code == 304) {
  2471. console.log(that.eventCode);
  2472. this.$message.warning(res.msg);
  2473. this.showEventDialog(that.eventCode);
  2474. //获取事件详情
  2475. }
  2476. that.attachExamine = [];
  2477. that.uploadAttachList = [];
  2478. that.eventDescription = "";
  2479. });
  2480. } else if (eventStatus == "cz") {
  2481. eventHandling(that.eventId, that.eventCode).then((res) => {
  2482. if (res.code == 200) {
  2483. that.$message.success(`处理成功!`);
  2484. that.refreshEvent(that.eventCode);
  2485. that.cancelEventConfirm_send();
  2486. that.showEventConfirm = false;
  2487. }
  2488. });
  2489. } else {
  2490. if (eventStatus == "qs") {
  2491. if (
  2492. that.sendDeptId == "" ||
  2493. that.sendDeptId == null ||
  2494. that.sendDeptName == "" ||
  2495. that.sendDeptName == null
  2496. ) {
  2497. that.$message.error(`请选择部门!`);
  2498. return;
  2499. }
  2500. if (eventStatus == "qs") {
  2501. if (that.sendEventType == "" || that.sendEventType == null) {
  2502. that.$message.error(`请选择事件类型!`);
  2503. return;
  2504. }
  2505. }
  2506. } else {
  2507. that.sendDeptId = that.deptId;
  2508. }
  2509. //事件处理流程
  2510. let param = {
  2511. phones: that.sendUserFegin,
  2512. eventCode: that.eventCode,
  2513. deptId: that.sendDeptId,
  2514. deptName: that.sendDeptName,
  2515. eventStatus: eventStatus,
  2516. eventType: that.sendEventType,
  2517. id: that.eventId,
  2518. czlx: "",
  2519. version: that.version,
  2520. cameraCode: that.cameraCode,
  2521. fireRadius: that.sendHuoZaiBanJing,
  2522. reserve: that.sendGuanLianYuAn,
  2523. address: that.address,
  2524. };
  2525. updateCentereventTEventcatalogueStatus(param).then((res) => {
  2526. if (res.code == 200) {
  2527. that.$message.success(`处理成功!`);
  2528. that.cancelEventConfirm_send();
  2529. that.showEventConfirm = false;
  2530. that.$emit("getEventList", that.calendarDay, 10, 1);
  2531. that.$emit("getSupermap", that.calendarDay);
  2532. if (eventStatus == "cf" || eventStatus == "wb") {
  2533. this.eventDialog = false;
  2534. return;
  2535. }
  2536. that.refreshEvent(that.eventCode);
  2537. } else if (res.code == 304) {
  2538. console.log(that.eventCode);
  2539. this.$message.warning(res.msg);
  2540. this.showEventDialog(that.eventCode);
  2541. //获取事件详情
  2542. }
  2543. });
  2544. }
  2545. }
  2546. },
  2547. filterNode(value, data) {
  2548. //树搜索
  2549. if (!value) return true
  2550. return data.label.indexOf(value) !== -1
  2551. },
  2552. sendEventLog() {
  2553. if (this.eventLog == '' || this.eventLog == null) {
  2554. return;
  2555. }
  2556. //日志发送
  2557. let param = {
  2558. eventCode: this.eventCode,
  2559. logContent: this.eventLog,
  2560. operation: "bus_oper_type_2",
  2561. operationType: "log_oper_type_1"
  2562. }
  2563. sendEventLog(param).then(res => {
  2564. if (res.code == 200) {
  2565. this.$message.success(`发送成功!`)
  2566. this.eventLog = null
  2567. this.refreshEventDialog(this.eventCode)
  2568. }
  2569. })
  2570. },
  2571. showEventLogUpload() {
  2572. this.$refs.eventLogUpload.eventLogUpload(this.eventCode)
  2573. },
  2574. cancelEventShow() {
  2575. this.mapToolShow=false
  2576. this.mapToolCheckItem = [];
  2577. this.mapToolCheckAll=false
  2578. this.mapToolShowBH=false,
  2579. this.dataStatus = null
  2580. this.deptId = null
  2581. console.log('关闭事件弹窗')
  2582. this.eventLogList = []
  2583. },
  2584. showEventDialog(eventCode) {
  2585. this.mapToolShow=false
  2586. this.mapToolCheckItem = [];
  2587. this.mapToolCheckAll=false
  2588. this.mapToolShowBH=false,
  2589. this.fireControlViewList();
  2590. this.eventCode = eventCode;
  2591. let that = this;
  2592. //获取事件详情
  2593. getEventDetail({
  2594. eventCode: eventCode,
  2595. }).then((res) => {
  2596. let markersMapList = [];
  2597. that.eventDialog = true;
  2598. that.eventLogList = res.data.eventlog; //日志列表
  2599. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  2600. that.address = res.data.catalogue.address;
  2601. that.eventStatusValue = res.data.catalogue.eventStatusValue;
  2602. that.eventType = res.data.catalogue.eventType;
  2603. that.statusFlag = res.data.catalogue.statusFlag;
  2604. that.dataStatus = res.data.catalogue.dataStatus;
  2605. that.deptId = res.data.catalogue.deptId;
  2606. that.eventId = res.data.catalogue.id;
  2607. that.longitude = res.data.catalogue.longitude;
  2608. that.latitude = res.data.catalogue.latitude;
  2609. that.eventName = res.data.catalogue.eventName;
  2610. that.version = res.data.catalogue.version;
  2611. that.eventTypeXl = res.data.catalogue.eventTypeXl;
  2612. that.isExamine = res.data.catalogue.isExamine;
  2613. let markersMap = {
  2614. lng: 124.59,
  2615. lat: 43.02,
  2616. icon: "marker",
  2617. bindPopupHtml: "",
  2618. click: "",
  2619. parameter: "",
  2620. keepBindPopup: false,
  2621. isAggregation: true,
  2622. radius: 0,
  2623. };
  2624. if (
  2625. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  2626. res.data.catalogue.urgeCount == 0
  2627. ) {
  2628. markersMap.icon = "sj-icon-map-xinshangbao";
  2629. }
  2630. if (
  2631. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  2632. res.data.catalogue.urgeCount > 0
  2633. ) {
  2634. markersMap.icon = "sj-icon-map-cuiban";
  2635. } else if (
  2636. res.data.catalogue.eventStatusValue == "forest_event_status_2"
  2637. ) {
  2638. markersMap.icon = "sj-icon-map-qianshou";
  2639. } else if (
  2640. res.data.catalogue.eventStatusValue == "forest_event_status_5"
  2641. ) {
  2642. markersMap.icon = "sj-icon-map-banjie";
  2643. } else if (
  2644. res.data.catalogue.eventStatusValue == "forest_event_status_6"
  2645. ) {
  2646. markersMap.icon = "sj-icon-map-guidang";
  2647. } else if (
  2648. res.data.catalogue.eventStatusValue == "forest_event_status_7"
  2649. ) {
  2650. markersMap.icon = "sj-icon-map-queren";
  2651. }
  2652. markersMap.lng = res.data.catalogue.longitude;
  2653. markersMap.lat = res.data.catalogue.latitude;
  2654. if (
  2655. res.data.eventdetail != null &&
  2656. res.data.eventdetail.length > 0 &&
  2657. res.data.eventdetail[0].fireRadius != null &&
  2658. res.data.eventdetail[0].fireRadius != "" &&
  2659. res.data.eventdetail[0].fireRadius > 0
  2660. ) {
  2661. markersMap.radius = res.data.eventdetail[0].fireRadius;
  2662. }
  2663. markersMapList.push(markersMap);
  2664. if (res.data.centermonitorTCamera != null) {
  2665. that.cameraCode = res.data.centermonitorTCamera.id;
  2666. if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null){
  2667. that.centermonitorTCamera = res.data.centermonitorTCamera;
  2668. let markersMap = {
  2669. lng: 124.59,
  2670. lat: 43.02,
  2671. icon: "camera",
  2672. bindPopupHtml: "",
  2673. click: "preview",
  2674. parameter: {
  2675. code: res.data.centermonitorTCamera.cameraCode,
  2676. type: res.data.centermonitorTCamera.cameraFactory,
  2677. name: res.data.centermonitorTCamera.cameraName,
  2678. },
  2679. keepBindPopup: false,
  2680. isAggregation: true,
  2681. radius: 0,
  2682. };
  2683. markersMap.bindPopupHtml =
  2684. '<div class="map-tip">' +
  2685. "<span>" +
  2686. ' <div class="d-l-con">' +
  2687. ' <div class="d-l-l-text">' +
  2688. " <h4>摄像头名称:" +
  2689. res.data.centermonitorTCamera.cameraName +
  2690. "</h4>" +
  2691. " </div>" +
  2692. " </div>" +
  2693. " </span>" +
  2694. "<span>" +
  2695. "</div>";
  2696. markersMap.lng = res.data.centermonitorTCamera.longitude;
  2697. markersMap.lat = res.data.centermonitorTCamera.latitude;
  2698. markersMapList.push(markersMap);
  2699. }
  2700. }
  2701. setTimeout(() => {
  2702. that.$refs.supermapDialog1.dynamicPlotting(); //弹出动态绘制窗口,防止截图位置改变
  2703. that.$refs.supermapDialog1.dropLocation10(
  2704. res.data.catalogue.latitude,
  2705. res.data.catalogue.longitude
  2706. );
  2707. that.$refs.supermapDialog1.clearM(false);
  2708. that.$refs.supermapDialog1.clearM(true);
  2709. that.$refs.supermapDialog1.setMarkersRadius(markersMapList);
  2710. }, 2000);
  2711. });
  2712. },
  2713. refreshEvent(eventCode) {
  2714. this.eventCode = eventCode;
  2715. let that = this;
  2716. //刷新--事件详情
  2717. getEventDetail({
  2718. eventCode: eventCode,
  2719. }).then((res) => {
  2720. let markersMapList = [];
  2721. that.eventDialog = true;
  2722. that.eventLogList = res.data.eventlog;
  2723. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  2724. that.address = res.data.catalogue.address;
  2725. that.eventStatusValue = res.data.catalogue.eventStatusValue;
  2726. that.eventType = res.data.catalogue.eventType;
  2727. that.statusFlag = res.data.catalogue.statusFlag;
  2728. that.dataStatus = res.data.catalogue.dataStatus;
  2729. that.deptId = res.data.catalogue.deptId;
  2730. that.eventId = res.data.catalogue.id;
  2731. that.latitude = res.data.catalogue.latitude;
  2732. that.longitude = res.data.catalogue.longitude;
  2733. that.eventName = res.data.catalogue.eventName;
  2734. that.version = res.data.catalogue.version;
  2735. that.eventTypeXl = res.data.catalogue.eventTypeXl;
  2736. that.isExamine = res.data.catalogue.isExamine;
  2737. let markersMap = {
  2738. lng: 124.59,
  2739. lat: 43.02,
  2740. icon: "marker",
  2741. bindPopupHtml: "",
  2742. click: "",
  2743. parameter: "",
  2744. keepBindPopup: false,
  2745. isAggregation: true,
  2746. radius: 0,
  2747. };
  2748. if (
  2749. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  2750. res.data.catalogue.urgeCount == 0
  2751. ) {
  2752. markersMap.icon = "sj-icon-map-xinshangbao";
  2753. }
  2754. if (
  2755. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  2756. res.data.catalogue.urgeCount > 0
  2757. ) {
  2758. markersMap.icon = "sj-icon-map-cuiban";
  2759. } else if (
  2760. res.data.catalogue.eventStatusValue == "forest_event_status_2"
  2761. ) {
  2762. markersMap.icon = "sj-icon-map-qianshou";
  2763. } else if (
  2764. res.data.catalogue.eventStatusValue == "forest_event_status_5"
  2765. ) {
  2766. markersMap.icon = "sj-icon-map-banjie";
  2767. } else if (
  2768. res.data.catalogue.eventStatusValue == "forest_event_status_6"
  2769. ) {
  2770. markersMap.icon = "sj-icon-map-guidang";
  2771. } else if (
  2772. res.data.catalogue.eventStatusValue == "forest_event_status_7"
  2773. ) {
  2774. markersMap.icon = "sj-icon-map-queren";
  2775. }
  2776. markersMap.lng = res.data.catalogue.longitude;
  2777. markersMap.lat = res.data.catalogue.latitude;
  2778. if (
  2779. res.data.eventdetail != null &&
  2780. res.data.eventdetail.length > 0 &&
  2781. res.data.eventdetail[0].fireRadius != null &&
  2782. res.data.eventdetail[0].fireRadius != "" &&
  2783. res.data.eventdetail[0].fireRadius > 0
  2784. ) {
  2785. markersMap.radius = res.data.eventdetail[0].fireRadius;
  2786. }
  2787. markersMapList.push(markersMap);
  2788. if (res.data.centermonitorTCamera != null) {
  2789. that.cameraCode = res.data.centermonitorTCamera.id;
  2790. if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null){
  2791. that.centermonitorTCamera = res.data.centermonitorTCamera;
  2792. let markersMap = {
  2793. lng: 124.59,
  2794. lat: 43.02,
  2795. icon: "camera",
  2796. bindPopupHtml: "",
  2797. click: "preview",
  2798. parameter: {
  2799. code: res.data.centermonitorTCamera.cameraCode,
  2800. type: res.data.centermonitorTCamera.cameraFactory,
  2801. name: res.data.centermonitorTCamera.cameraName,
  2802. },
  2803. keepBindPopup: false,
  2804. isAggregation: true,
  2805. radius: 0,
  2806. };
  2807. markersMap.bindPopupHtml =
  2808. '<div class="map-tip">' +
  2809. "<span>" +
  2810. ' <div class="d-l-con">' +
  2811. ' <div class="d-l-l-text">' +
  2812. " <h4>摄像头名称:" +
  2813. res.data.centermonitorTCamera.cameraName +
  2814. "</h4>" +
  2815. " </div>" +
  2816. " </div>" +
  2817. " </span>" +
  2818. "<span>" +
  2819. "</div>";
  2820. markersMap.lng = res.data.centermonitorTCamera.longitude;
  2821. markersMap.lat = res.data.centermonitorTCamera.latitude;
  2822. markersMapList.push(markersMap);
  2823. }
  2824. }
  2825. setTimeout(() => {
  2826. that.$refs.supermapDialog1.clearM(false);
  2827. that.$refs.supermapDialog1.clearM(true);
  2828. that.$refs.supermapDialog1.setMarkersRadius(markersMapList);
  2829. that.$refs.supermapDialog1.dropLocation10(
  2830. res.data.catalogue.latitude,
  2831. res.data.catalogue.longitude
  2832. );
  2833. }, 2000);
  2834. });
  2835. },
  2836. refreshEventDialog(eventCode) {
  2837. //刷新--事件日志12
  2838. getEventDetail({
  2839. eventCode: eventCode
  2840. }).then(res => {
  2841. this.eventLogList = res.data.eventlog
  2842. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo //应急预案
  2843. })
  2844. },
  2845. regionalFlagAdd: function() { //火灾区域
  2846. this.regionalFlagObj.array = []
  2847. this.regionalFlagOpen = true
  2848. },
  2849. showAreaLatLng: function(latlng) { //获取火灾区域经纬度
  2850. this.regionalFlagObj.array = latlng
  2851. this.$modal.msgSuccess('获取坐标成功!')
  2852. },
  2853. /** ----------------------------------摄像头预览开始------------------------------------- */
  2854. alertLogin: function() {
  2855. this.$modal.msg('登录中....')
  2856. },
  2857. alertLoginSuccess: function() {
  2858. this.$modal.msgSuccess('登录成功!')
  2859. },
  2860. alertLoginFailed: function() {
  2861. this.$modal.msgError('登陆失败!')
  2862. },
  2863. alertReinstall: function() {
  2864. this.$modal.msgWarning('请重新安装客户端')
  2865. },
  2866. cancelEventLocationShow() {
  2867. if (this.oWebControl != null) {
  2868. this.oWebControl.JS_HideWnd() // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  2869. this.oWebControl.JS_Disconnect().then(function() { // 断开与插件服务连接成功
  2870. },
  2871. function() { // 断开与插件服务连接失败
  2872. })
  2873. }
  2874. },
  2875. /** 预览按钮操作 */
  2876. preview(cameraParam) {
  2877. if (cameraParam.type == '1') {
  2878. this.showTVWall(cameraParam.code, cameraParam.name)
  2879. // getDahuaVideoServer().then(newResponse => {
  2880. // console.log(newResponse)
  2881. // this.ws.detectConnectQt().then(res => {
  2882. // if (res) { // 连接客户端成功
  2883. // this.alertLogin()
  2884. // this.ws.login({
  2885. // loginIp: newResponse.loginIp,
  2886. // loginPort: newResponse.loginPort,
  2887. // userName: newResponse.userName,
  2888. // userPwd: newResponse.userPwd,
  2889. // token: '',
  2890. // https: 0
  2891. // })
  2892. // this.ws.on('loginState', (res) => {
  2893. // this.isLogin = res
  2894. // console.log('---res-----', res)
  2895. // if (res) {
  2896. // this.alertLoginSuccess()
  2897. // this.activePanel = 'key2'
  2898. // this.realTimeVideoDialog(cameraParam.code)
  2899. // } else {
  2900. // this.alertLoginFailed()
  2901. // }
  2902. // })
  2903. // } else { // 连接客户端失败
  2904. // this.alertReinstall()
  2905. // }
  2906. // })
  2907. // })
  2908. } else if (cameraParam.type == '0') {
  2909. let that = this
  2910. that.cameraVisible = true
  2911. getHaiKangVideoServer({
  2912. cameraCode: cameraParam.code
  2913. }).then(newResponse => {
  2914. that.cameraTitle = '摄像头-' + newResponse.data.cameraName
  2915. that.initPlugin(newResponse.data.appkey, newResponse.data.loginIp, newResponse.data.secret, newResponse
  2916. .data.loginPort)
  2917. setTimeout(function() {
  2918. that.playhk(newResponse.data.channelCode)
  2919. }, 5000)
  2920. })
  2921. }
  2922. },
  2923. realTimeVideoDialog(cameraParams) { // 调用弹窗实时播放接口
  2924. if (!this.isLogin) {
  2925. this.$Message.info('正在登陆客户端,请稍等......')
  2926. return false
  2927. }
  2928. this.ws.openVideo(cameraParams)
  2929. },
  2930. /** ----------------------------------摄像头预览结束------------------------------------- */
  2931. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  2932. // 创建播放实例
  2933. initPlugin(newappkey, newloginIp, newsecret, newloginPort) {
  2934. let that = this
  2935. that.oWebControl = new WebControl({
  2936. szPluginContainer: 'playWnd', // 指定容器id
  2937. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  2938. iServicePortEnd: 15909,
  2939. szClassId: '23BF3B0A-2C56-4D97-9C03-0CB103AA8F11', // 用于IE10使用ActiveX的clsid
  2940. cbConnectSuccess: function() { // 创建WebControl实例成功
  2941. that.oWebControl.JS_StartService('window', { // WebControl实例创建成功后需要启动服务
  2942. dllPath: './VideoPluginConnect.dll' // 值"./VideoPluginConnect.dll"写死
  2943. }).then(function() { // 启动插件服务成功
  2944. that.oWebControl.JS_SetWindowControlCallback({ // 设置消息回调
  2945. cbIntegrationCallBack: cbIntegrationCallBack
  2946. })
  2947. that.oWebControl.JS_CreateWnd('playWnd', 1020, 600).then(
  2948. function() { //JS_CreateWnd创建视频播放窗口,宽高可设定
  2949. that.init(newappkey, newloginIp, newsecret, newloginPort) // 创建播放实例成功后初始化
  2950. })
  2951. }, function() { // 启动插件服务失败
  2952. })
  2953. },
  2954. cbConnectError: function() { // 创建WebControl实例失败
  2955. that.oWebControl = null
  2956. $('#playWnd').html('插件未启动,正在尝试启动,请稍候...<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  2957. WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
  2958. that.initCount++
  2959. if (that.initCount < 3) {
  2960. setTimeout(function() {
  2961. that.initPlugin(newappkey, newloginIp, newsecret, newloginPort)
  2962. }, 3000)
  2963. } else {
  2964. $('#playWnd').html('插件启动失败,请检查插件是否安装!<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  2965. }
  2966. },
  2967. cbConnectClose: function(bNormalClose) {
  2968. // 异常断开:bNormalClose = false
  2969. // JS_Disconnect正常断开:bNormalClose = true
  2970. that.oWebControl = null
  2971. }
  2972. })
  2973. },
  2974. //播放海康摄像头
  2975. playhk(channelCode) {
  2976. var cameraIndexCode = channelCode //获取输入的监控点编号值,必填
  2977. var streamMode = 0 //主子码流标识:0-主码流,1-子码流
  2978. var transMode = 1 //传输协议:0-UDP,1-TCP
  2979. var gpuMode = 0 //是否启用GPU硬解,0-不启用,1-启用
  2980. var wndId = -1 //播放窗口序号(在2x2以上布局下可指定播放窗口)
  2981. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, '')
  2982. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, '')
  2983. this.oWebControl.JS_RequestInterface({
  2984. funcName: 'startPreview',
  2985. argument: JSON.stringify({
  2986. cameraIndexCode: cameraIndexCode, //监控点编号
  2987. streamMode: streamMode, //主子码流标识
  2988. transMode: transMode, //传输协议
  2989. gpuMode: gpuMode, //是否开启GPU硬解
  2990. wndId: wndId //可指定播放窗口
  2991. })
  2992. })
  2993. },
  2994. //初始化
  2995. init(newappkey, newloginIp, newsecret, newloginPort) {
  2996. let that = this
  2997. that.getPubKey(function() {
  2998. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  2999. var appkey = newappkey //综合安防管理平台提供的appkey,必填
  3000. var secret = that.setEncrypt(newsecret) //综合安防管理平台提供的secret,必填
  3001. var ip = newloginIp //综合安防管理平台IP地址,必填
  3002. var playMode = 0 //初始播放模式:0-预览,1-回放
  3003. var port = Number(newloginPort) //综合安防管理平台端口,若启用HTTPS协议,默认443
  3004. var snapDir = 'D:\\SnapDir' //抓图存储路径
  3005. var videoDir = 'D:\\VideoDir' //紧急录像或录像剪辑存储路径
  3006. var layout = '1x1' //playMode指定模式的布局
  3007. var enableHTTPS = 1 //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  3008. var encryptedFields = 'secret' //加密字段,默认加密领域为secret
  3009. var showToolbar = 1 //是否显示工具栏,0-不显示,非0-显示
  3010. var showSmart = 1 //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  3011. var buttonIDs = '0,16,256,257,258,259,260,512,513,514,515,516,517,768,769' //自定义工具条按钮
  3012. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  3013. that.oWebControl.JS_RequestInterface({
  3014. funcName: 'init',
  3015. argument: JSON.stringify({
  3016. appkey: appkey, //API网关提供的appkey
  3017. secret: secret, //API网关提供的secret
  3018. ip: ip, //API网关IP地址
  3019. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  3020. port: port, //端口
  3021. snapDir: snapDir, //抓图存储路径
  3022. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  3023. layout: layout, //布局
  3024. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  3025. encryptedFields: encryptedFields, //加密字段
  3026. showToolbar: showToolbar, //是否显示工具栏
  3027. showSmart: showSmart, //是否显示智能信息
  3028. buttonIDs: buttonIDs //自定义工具条按钮
  3029. })
  3030. }).then(function(oData) {
  3031. that.oWebControl.JS_Resize(1020, 600) // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  3032. })
  3033. })
  3034. },
  3035. //获取公钥
  3036. getPubKey(callback) {
  3037. let that = this
  3038. that.oWebControl.JS_RequestInterface({
  3039. funcName: 'getRSAPubKey',
  3040. argument: JSON.stringify({
  3041. keyLength: 1024
  3042. })
  3043. }).then(function(oData) {
  3044. console.log(oData)
  3045. if (oData.responseMsg.data) {
  3046. that.pubKey = oData.responseMsg.data
  3047. callback()
  3048. }
  3049. })
  3050. },
  3051. //RSA加密
  3052. setEncrypt(value) {
  3053. var encrypt = new JSEncrypt()
  3054. encrypt.setPublicKey(this.pubKey)
  3055. return encrypt.encrypt(value)
  3056. },
  3057. /** ----------------------------------视频会议开始------------------------------------- */
  3058. sendMsg() { // 视频会议发送短信
  3059. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  3060. let reg_tel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
  3061. for (let i in this.dutysystemTableData) {
  3062. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  3063. this.$message.error(`请输入正确姓名!`)
  3064. return;
  3065. }
  3066. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  3067. this.$message.error(`请输入正确手机号码!`)
  3068. return;
  3069. }
  3070. if (this.dutysystemTableData[i].id == null || this.dutysystemTableData[i].id == '') {
  3071. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  3072. this.dutysystemTableData[i].depteventId = this.depteventId;
  3073. }
  3074. }
  3075. const param = {
  3076. centereventTDutySystemList: this.dutysystemTableData,
  3077. eventCode: this.eventCode,
  3078. eventName: this.eventName,
  3079. eventId: this.eventId
  3080. }
  3081. sendMessage(param).then(res => {
  3082. //this.$message.success(res.msg);
  3083. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
  3084. this.showMeetingMsgDialog = false;
  3085. this.joinMeeting();
  3086. })
  3087. },
  3088. joinMeeting() {
  3089. this.$message({
  3090. message: '正在启动云会议客户端,请稍候...',
  3091. type: 'success',
  3092. });
  3093. joinConferences(this.eventId, this.eventName + "的会议", Cookies.get("nickName")).then(res => {
  3094. if (res.code == 200) {
  3095. let conferenceID = res.data.info.conferenceID;
  3096. let password = res.data.info.password;
  3097. let nickName = res.data.nickName;
  3098. let nonce = res.data.nonce;
  3099. window.open(
  3100. "cloudlink://welinksoftclient/h5page?page=LoginAndJoinConf&server_url=meeting.huaweicloud.com&port=8443&conf_id=" +
  3101. conferenceID + "&enter_code=" + password + "&name=" + nickName +
  3102. "&open_mic=true&open_camera=false&nonce=" + nonce);
  3103. }
  3104. })
  3105. },
  3106. Meeting() { //弹出发送会议短信弹窗
  3107. let that = this;
  3108. that.$alert(
  3109. "如您已经安装请点击【确定】,如未安装可<a style='text-decoration:underline;color:blue;' href='http://172.18.1.37:15001/CLOUDMeeting_Win.exe'>点击此处</a>进行下载",
  3110. '该功能需要使用云会议客户端', {
  3111. confirmButtonText: '确定',
  3112. dangerouslyUseHTMLString: true,
  3113. callback: action => {
  3114. let param = {
  3115. eventCode: that.eventCode
  3116. }
  3117. centereventtdepteventList(param).then(res => {
  3118. that.depteventList = res.data
  3119. that.showMeetingMsgDialog = true
  3120. that.initDutysystemTableData();
  3121. })
  3122. }
  3123. });
  3124. },
  3125. /** ----------------------------------视频会议结束------------------------------------- */
  3126. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  3127. }
  3128. }
  3129. // 推送消息
  3130. function cbIntegrationCallBack(oData) {
  3131. console.log(JSON.stringify(oData.responseMsg))
  3132. }
  3133. </script>
  3134. <style lang="scss">
  3135. .sj-map-tool-checkbox-all {
  3136. display: flex;
  3137. align-items: center;
  3138. margin-right: 1rem !important;
  3139. .el-checkbox__input {
  3140. line-height: 0;
  3141. }
  3142. .el-checkbox__label {
  3143. font-size: 14px;
  3144. color: white;
  3145. padding-left: 5px;
  3146. }
  3147. .el-checkbox__input.is-checked + .el-checkbox__label {
  3148. color: #01d1eb;
  3149. }
  3150. }
  3151. .sj-map-tool-checkbox {
  3152. display: flex;
  3153. .el-checkbox {
  3154. margin-right: 1rem;
  3155. display: flex;
  3156. align-items: center;
  3157. .el-checkbox__input {
  3158. line-height: 0;
  3159. }
  3160. }
  3161. .el-checkbox__label {
  3162. font-size: 14px;
  3163. color: white;
  3164. padding-left: 5px;
  3165. }
  3166. .el-checkbox__input.is-checked + .el-checkbox__label {
  3167. color: #01d1eb;
  3168. }
  3169. }
  3170. </style>
  3171. <style lang="scss" scoped>
  3172. @import "@/assets/styles/base.scss";
  3173. //弹层样式
  3174. //.customWidthMp4 {
  3175. // width: 70px !important;
  3176. // height: 70px !important;
  3177. //}
  3178. .tree-border {
  3179. border: 1px $barBorder;
  3180. }
  3181. button {
  3182. padding: 0.5rem;
  3183. }
  3184. /** 火灾报告**/
  3185. //@font-face {
  3186. // font-family: 'fontnameRegular';
  3187. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  3188. //}
  3189. body,
  3190. html,
  3191. * {
  3192. padding: 0px;
  3193. margin: 0px;
  3194. font-family: "fontnameRegular";
  3195. }
  3196. .table-container {
  3197. width: 100%;
  3198. }
  3199. .txt_right {
  3200. text-align: right !important;
  3201. }
  3202. .txt_left {
  3203. text-align: left !important;
  3204. }
  3205. table {
  3206. border-spacing: 0;
  3207. border-collapse: collapse;
  3208. width: 99%;
  3209. margin: 0 auto;
  3210. color: $inBlue;
  3211. }
  3212. table input {
  3213. font-size: 1rem;
  3214. border: 0px;
  3215. outline: 0px;
  3216. font-family: "微软雅黑";
  3217. background: none;
  3218. color: $inBlue;
  3219. }
  3220. table th input:hover {
  3221. background: $eventBG;
  3222. }
  3223. table thead th {
  3224. font-size: 1rem;
  3225. font-family: "宋体";
  3226. height: 2rem;
  3227. border-top: 0px;
  3228. border-left: 0px;
  3229. border-right: 0px;
  3230. outline: 0px;
  3231. }
  3232. table tr td {
  3233. font-size: 1rem;
  3234. font-family: "fontnameRegular";
  3235. height: 2rem;
  3236. border: 1px $searchBorder;
  3237. text-align: center;
  3238. }
  3239. .font1 {
  3240. font-size: 1.7rem;
  3241. font-weight: bolder;
  3242. }
  3243. .border0 {
  3244. width: 100% !important;
  3245. }
  3246. .border0 tr td {
  3247. border: 0px !important;
  3248. }
  3249. table tr td input {
  3250. width: 100%;
  3251. /* display: inline-block;*/
  3252. outline: 0px;
  3253. text-align: left;
  3254. height: 94%;
  3255. color: $inBlue;
  3256. background: none;
  3257. float: left;
  3258. padding: 0 0.5rem;
  3259. }
  3260. table tr td input:hover {
  3261. background: $eventBG;
  3262. }
  3263. .int_tr td input {
  3264. text-align: center !important;
  3265. }
  3266. .table2 tr th {
  3267. font-size: 1.7rem;
  3268. padding: 0.5rem 0;
  3269. font-family: "fontnameRegular";
  3270. }
  3271. .table2 tr td {
  3272. font-size: 1rem;
  3273. }
  3274. .table2 tr td select {
  3275. border: 0px !important;
  3276. outline: 0px;
  3277. width: 100%;
  3278. font-family: "微软雅黑";
  3279. font-size: 1rem;
  3280. padding-left: 1%;
  3281. color: $inBlue;
  3282. background: none;
  3283. }
  3284. .table2 tr td select:hover {
  3285. background: $eventBG;
  3286. }
  3287. .table2 tr td select option {
  3288. font-size: 1rem;
  3289. font-family: "微软雅黑";
  3290. }
  3291. .border_l0 {
  3292. // border-right: 1px solid #ececec !important;
  3293. }
  3294. .table2 tr td textarea {
  3295. border: 0px !important;
  3296. outline: 0px;
  3297. width: 98%;
  3298. padding: 0.5rem;
  3299. font-size: 1rem;
  3300. resize: none;
  3301. background: none;
  3302. color: $inBlue;
  3303. }
  3304. .table2 tr td textarea:hover {
  3305. background: $eventBG;
  3306. }
  3307. .tr_border td {
  3308. border-right: 0px !important;
  3309. border-left: 0px !important;
  3310. border-bottom: 0px !important;
  3311. font-size: 15px;
  3312. }
  3313. .btm-btn-group {
  3314. padding: 1rem 0;
  3315. width: 100%;
  3316. display: flex;
  3317. button {
  3318. padding: 0.5rem 2rem;
  3319. }
  3320. }
  3321. .sj-map-tool-select {
  3322. position: absolute;
  3323. right: 1rem;
  3324. top: 1rem;
  3325. z-index: 1000;
  3326. display: flex;
  3327. height: 30px;
  3328. align-items: center;
  3329. }
  3330. .sj-map-tool-select-list {
  3331. position: relative;
  3332. padding: 0.3rem 1rem;
  3333. border-radius: 1rem;
  3334. background-color: #fff;
  3335. z-index: 1000;
  3336. background-image: linear-gradient(
  3337. 180deg,
  3338. rgba(18, 71, 153, 1),
  3339. rgba(4, 21, 30, 1)
  3340. );
  3341. box-shadow: 0 -0.2rem 0.5rem 0.3rem rgba(13, 192, 219, 0.09) inset;
  3342. display: flex;
  3343. align-items: center;
  3344. }
  3345. // 20220928
  3346. .yatz_button {
  3347. padding: 0.5rem 0.5rem;
  3348. color: #409eff;
  3349. background: none;
  3350. border-color: #409eff;
  3351. }
  3352. .yatz_button:hover {
  3353. color: #fff;
  3354. background: #409eff;
  3355. border-color: #409eff;
  3356. }
  3357. .fr_button {
  3358. float: right;
  3359. padding: 0.5rem 1.5rem;
  3360. }
  3361. .bottom {
  3362. width: 100%;
  3363. height: calc(100% - 80px);
  3364. display: flex;
  3365. .bottomLeft {
  3366. width: 288px;
  3367. height: 500px;
  3368. overflow-y: auto;
  3369. .leftItem {
  3370. width: 100%;
  3371. height: 50px;
  3372. line-height: 50px;
  3373. text-align: center;
  3374. cursor: pointer;
  3375. }
  3376. }
  3377. .bottomRight {
  3378. width: calc(100% - 288px);
  3379. height: 500px;
  3380. box-sizing: border-box;
  3381. padding: 36px 36px 0 36px;
  3382. overflow-y: auto;
  3383. .bottomRightContent {
  3384. width: 100%;
  3385. box-sizing: border-box;
  3386. padding-bottom: 36px;
  3387. .bottomRightContentHead {
  3388. height: 25px;
  3389. font-family: PingFang SC;
  3390. font-style: normal;
  3391. font-weight: 600;
  3392. font-size: 24px;
  3393. line-height: 25px;
  3394. text-transform: capitalize;
  3395. color: rgba(0, 0, 0, 0.85);
  3396. margin-bottom: 32px;
  3397. }
  3398. .bottomRightContentBody {
  3399. .el-col {
  3400. position: relative;
  3401. margin-bottom: 18px;
  3402. .circle {
  3403. display: inline-block;
  3404. width: 6px;
  3405. height: 6px;
  3406. background: #4677f6;
  3407. border-radius: 50%;
  3408. position: absolute;
  3409. top: 8px;
  3410. left: 0;
  3411. }
  3412. .word {
  3413. margin-left: 12px;
  3414. font-family: PingFang SC;
  3415. font-style: normal;
  3416. font-weight: normal;
  3417. font-size: 14px;
  3418. color: #4677f6;
  3419. cursor: pointer;
  3420. }
  3421. .word:hover {
  3422. text-decoration: underline;
  3423. }
  3424. .topPlace {
  3425. position: absolute;
  3426. top: 1px;
  3427. margin-left: 8px;
  3428. }
  3429. }
  3430. }
  3431. .bottomRightContentFooter {
  3432. height: 1px;
  3433. width: 100%;
  3434. margin-top: 14px;
  3435. }
  3436. }
  3437. }
  3438. }
  3439. </style>