firespread.vue 167 KB

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