firespread.vue 141 KB

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