firespread.vue 163 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841
  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="{zoom:16,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. :maxlength="500" 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'||eventStatusButton=='ld'"
  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'||eventStatusButton=='ld'">
  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. export default {
  1727. dicts: ['task_source'],
  1728. watch: {
  1729. filterText(val) {
  1730. this.$refs.LiandongDept.filter(val)
  1731. }
  1732. },
  1733. components: {
  1734. leftRightSwiperScroll,
  1735. vBottomMenu,
  1736. supermapDialog1,
  1737. eventLogUpload,
  1738. areaSupermap,
  1739. TcPlayer,
  1740. TVWall,
  1741. findUserByDept
  1742. },
  1743. data() {
  1744. return {
  1745. isLoading: false,
  1746. //海康
  1747. cameraTitle: '',
  1748. cameraCode: '',
  1749. cameraVisible: false,
  1750. initCount: 0,
  1751. pubKey: '',
  1752. oWebControl: null,
  1753. showMeetingMsgDialog: false, //发送会议短信弹窗
  1754. playVideo: '', //视频预览地址
  1755. showTcPlayer: false, //视频预览弹窗
  1756. regionalFlagOpen: false, //区域标记
  1757. //区域标记
  1758. regionalFlagObj: {
  1759. array: []
  1760. },
  1761. resourcesList1: [{
  1762. resourceName: '取水口',
  1763. type: 'qsk',
  1764. count: '1',
  1765. icon: 'sj-icon-waterintake'
  1766. },
  1767. {
  1768. resourceName: '水鹤',
  1769. type: 'sh',
  1770. icon: 'sj-icon-watercrane'
  1771. },
  1772. {
  1773. resourceName: '消防栓',
  1774. type: 'xfs',
  1775. count: '1',
  1776. icon: 'sj-icon-firehydrant'
  1777. },
  1778. {
  1779. resourceName: '起降点',
  1780. type: 'qjd',
  1781. count: '1',
  1782. icon: 'sj-icon-landing'
  1783. },
  1784. {
  1785. resourceName: '检查站',
  1786. type: 'jcz',
  1787. count: '1',
  1788. icon: 'sj-icon-checkpoint'
  1789. },
  1790. {
  1791. resourceName: '防火队',
  1792. type: 'fhd',
  1793. count: '1',
  1794. icon: 'sj-icon-fireteam'
  1795. },
  1796. {
  1797. resourceName: '重点区域',
  1798. type: 'zdqy',
  1799. count: '1',
  1800. icon: 'sj-icon-keyAreas'
  1801. },
  1802. {
  1803. resourceName: '摄像头',
  1804. type: 'sxt',
  1805. count: '1',
  1806. icon: 'sj-icon-jkzx'
  1807. }
  1808. ],
  1809. filterText: '', //树搜索
  1810. version: 0,
  1811. /** *****************事件流程***************************/
  1812. deptNameitem: '签收部门',
  1813. sendDeptId: null, //签收部门/发起部门
  1814. sendDeptName: null, //签收部门/发起部门
  1815. sendEventType: null, //事件类型
  1816. sendHuoZaiBanJing: 0, //火灾报告
  1817. sendGuanLianYuAn: null, //关联预案
  1818. sendUserFegin: [], //联系人
  1819. sendTaskSource: null, //任务来源
  1820. sendTaskTitle: null, //联动标题
  1821. sendTaskContent: null, //联动内容
  1822. sendLianDongDept: [], //联动部门
  1823. eventTypeList: [], //事件类型列表
  1824. guanLianYuAnList: [], //关联预案列表
  1825. userFeginList: [], //联系人列表
  1826. deptOptions: [], //签收部门
  1827. deptOptionsLiandong: [], //联动部门
  1828. eventStatusButton: null, //流程按钮标识
  1829. eventConfirmTitle: null, //弹窗标题 ---签收 误报 重复 审核意见
  1830. eventDescription: null, //审核意见
  1831. uploadAttachList: [], //审核上传图片回显集合
  1832. attachExamine: [], //审核图片集合
  1833. defaultProps: {
  1834. children: 'children',
  1835. label: 'label'
  1836. },
  1837. table1: {
  1838. reportUnit: null,
  1839. reportTimeY: null,
  1840. reportTimeM: null,
  1841. reportTimeD: null,
  1842. forestFireLossTotal: null,
  1843. fireLossTotal: null,
  1844. forestArea: null,
  1845. forestPrice: null,
  1846. treesNumber: null,
  1847. treesPrice: null,
  1848. minorInjuriesNumber: null,
  1849. minorInjuriesPrice: null,
  1850. seriouslyInjuredNumber: null,
  1851. seriouslyInjuredPrice: null,
  1852. deathNumber: null,
  1853. deathPrice: null,
  1854. elseFireLossPrice: null,
  1855. blazesPriceTotal: null,
  1856. artificialDays: null,
  1857. artificialPrice: null,
  1858. vehicleNumber: null,
  1859. carNumber: null,
  1860. vehiclePrice: null,
  1861. planeNumber: null,
  1862. planePrice: null,
  1863. elseBlazesPrice: null,
  1864. note: null
  1865. },
  1866. table2: {
  1867. fireTime: null,
  1868. foundTime: null,
  1869. blazesTime: null,
  1870. address: null,
  1871. firePlace: null,
  1872. foundType: null,
  1873. longitudeD: null,
  1874. longitudeM: null,
  1875. longitudeS: null,
  1876. latitudeD: null,
  1877. latitudeM: null,
  1878. latitudeS: null,
  1879. fireSource: null,
  1880. fireType: null,
  1881. fireLevel: null,
  1882. areaTotal: null,
  1883. forestLossAreaTotal: null,
  1884. originalForestArea: null,
  1885. artificialForestArea: null,
  1886. peopleTotal: null,
  1887. blazesTeamNumber: null,
  1888. policeNumber: null,
  1889. armyNumber: null,
  1890. crowdNumber: null,
  1891. windExtinguisher: null,
  1892. secondTool: null,
  1893. waterGun: null,
  1894. elseThings: null,
  1895. forestComposition: null,
  1896. forestToken: null,
  1897. porosities: null,
  1898. weather: null,
  1899. temperature: null,
  1900. fireInsuranceLevel: null,
  1901. windLevel: null,
  1902. windDirection: null,
  1903. commandUnit: null,
  1904. commandName: null,
  1905. commandPosition: null,
  1906. surveyUnit: null,
  1907. surveyName: null,
  1908. surveyPosition: null,
  1909. accidentName: null,
  1910. accidentSex: null,
  1911. accidentAge: null,
  1912. accidentPosition: null,
  1913. accidentUnit: null,
  1914. dealType: null,
  1915. dealNumber: null,
  1916. criminalDealNumber: null,
  1917. accidentDealSituation: null,
  1918. responsibilityDealSituation: null,
  1919. leadershipDealSituation: null,
  1920. townForm: null,
  1921. townAudit: null,
  1922. cityForm: null,
  1923. cityAudit: null
  1924. },
  1925. /** *****************事件流程***************************/
  1926. showEventConfirm: false, //事件签收弹窗
  1927. showGuanLianYuAnConfirm: false, //调整关联预案弹窗
  1928. showEventConfirm_gd: false, //事件火险报告弹窗
  1929. address: null, //事件上报地址
  1930. eventStatusValue: null, //事件状态
  1931. isExamine: "0", //事件审核 1通过 0不通过
  1932. eventId: null, //事件ID
  1933. eventType: null, //事件类型-大类
  1934. dataStatus: null, //事件流程按钮
  1935. deptId: null, //事件流程部门
  1936. eventCode: null,
  1937. eventName: null,
  1938. longitude: null,
  1939. latitude: null,
  1940. eventLog: null,
  1941. showFindUserByDept: false,
  1942. eventLogList: [],
  1943. visuForestCloudYuAnBo: null,
  1944. eventDialog: false,
  1945. showResponsibilityDialog: false, //责任制弹窗
  1946. depteventList: [], //责任制部门列表
  1947. iconCurrentIndex: '',
  1948. dutysystemDeptName: '',
  1949. depteventId: '',
  1950. dutysystemTableData: [],
  1951. radius: 5000, //资源搜索半径
  1952. // resourcesList: [
  1953. // {
  1954. // resourceName: '取水口',
  1955. // type: 'qsk',
  1956. // count: '1',
  1957. // icon: 'sj-icon-waterintake'
  1958. // },
  1959. // {
  1960. // resourceName: '水鹤',
  1961. // type: 'sh',
  1962. // icon: 'sj-icon-watercrane'
  1963. // },
  1964. // {
  1965. // resourceName: '消防栓',
  1966. // type: 'xfs',
  1967. // count: '1',
  1968. // icon: 'sj-icon-firehydrant'
  1969. // },
  1970. // {
  1971. // resourceName: '起降点',
  1972. // type: 'qjd',
  1973. // count: '1',
  1974. // icon: 'sj-icon-landing'
  1975. // },
  1976. // {
  1977. // resourceName: '检查站',
  1978. // type: 'jcz',
  1979. // count: '1',
  1980. // icon: 'sj-icon-checkpoint'
  1981. // },
  1982. // {
  1983. // resourceName: '防火队',
  1984. // type: 'fhd',
  1985. // count: '1',
  1986. // icon: 'sj-icon-fireteam'
  1987. // },
  1988. // {
  1989. // resourceName: '重点区域',
  1990. // type: 'zdqy',
  1991. // count: '1',
  1992. // icon: 'sj-icon-keyAreas'
  1993. // },
  1994. // {
  1995. // resourceName: '摄像头',
  1996. // type: 'sxt',
  1997. // count: '1',
  1998. // icon: 'sj-icon-jkzx'
  1999. // }
  2000. // ],
  2001. resourcesListCheck: [],
  2002. //文本域
  2003. feedback: '',
  2004. statusFlag: null, //事件流程按钮
  2005. }
  2006. },
  2007. props: {
  2008. calendarDay: null //首页日历选择
  2009. },
  2010. created() {
  2011. this.isLoading = true;
  2012. /** ----------------------------------摄像头预览开始------------------------------------- */
  2013. const DHWsInstance = DHWs.getInstance()
  2014. this.ws = DHWsInstance
  2015. /** ----------------------------------摄像头预览结束------------------------------------- */
  2016. },
  2017. mounted() {
  2018. this.fireControlViewList();
  2019. },
  2020. methods: {
  2021. /************************************责任制-开始****************************************/
  2022. addLine: function() { //添加负责人行数
  2023. var newValue = {
  2024. id: '', //主键
  2025. userId: '', //用户主键
  2026. dept: '', //部门名称
  2027. depteventId: '', //事件部门关联责任人
  2028. name: '', //姓名
  2029. post: '', //岗位
  2030. telphone: '' //手机号
  2031. }
  2032. //添加新的行数
  2033. this.dutysystemTableData.push(newValue)
  2034. },
  2035. getNewDataByDate(eventCode) {
  2036. const that = this
  2037. console.log(eventCode)
  2038. getNewDataByDate(eventCode).then(function(res) {
  2039. that.windDirection = res.data.windDirection
  2040. that.windSpeed = res.data.windSpeed
  2041. setTimeout(() => {
  2042. that.showheatPlotting()
  2043. }, 2000)
  2044. })
  2045. },
  2046. // 获取消防左侧菜单列表
  2047. fireControlViewList() {
  2048. this.resourcesList1 = [];
  2049. let _this = this;
  2050. // {
  2051. // resourceName: '取水口',
  2052. // type: 'qsk',
  2053. // count: '1',
  2054. // icon: 'sj-icon-waterintake'
  2055. // },
  2056. fireControlViewList().then(function(res) {
  2057. // _this.resourcesList = res.data
  2058. //截取data.resourceTable字段中“_”分隔符最后一个作为关键字,重新拼接成前端需要的图标:class,格式sj-icon-xxxx,将其set回原数组
  2059. res.data.forEach(function(data, index) {
  2060. let obj = {};
  2061. let icon = 'sj' + '-' + 'icon' + '-' + data.type.replaceAll("_", "-").replaceAll("@", "-");
  2062. obj.resourceName = data.name.replaceAll("(个)", "");
  2063. obj.type = data.type;
  2064. obj.count = data.num;
  2065. obj.icon = icon;
  2066. _this.resourcesList1.push(obj);
  2067. console.log("icon_" + (index + 1) + "=", icon);
  2068. //每个图标对应固定颜色
  2069. _this.$set(_this.resourcesList1[index], "bg", getIconBg(icon));
  2070. })
  2071. _this.resourcesList1.push({
  2072. resourceName: '摄像头',
  2073. type: 'sxt',
  2074. count: '1',
  2075. icon: 'sj-icon-jkzx',
  2076. bg: '#f5ad1b'
  2077. })
  2078. })
  2079. },
  2080. fireControlViewPoint(type) {
  2081. // alert(type)
  2082. if (this.resourcesListCheck.indexOf(type) > -1) {
  2083. this.resourcesListCheck.splice(this.resourcesListCheck.indexOf(type), 1)
  2084. setTimeout(() => {
  2085. this.$refs.supermapDialog1.clearMByType(type)
  2086. }, 1000)
  2087. } else {
  2088. // 消防资源落点
  2089. let param = {
  2090. longitude: this.longitude,
  2091. latitude: this.latitude,
  2092. type: type,
  2093. radius: this.radius
  2094. }
  2095. if (type != 'sxt') {
  2096. fireControlViewPoint(param).then(res => {
  2097. if (res.data != null && res.data.pointList.length > 0) {
  2098. this.resourcesListCheck.push(type)
  2099. var markersList = []
  2100. for (let i = 0; i < res.data.pointList.length; i++) {
  2101. let markersMap = {
  2102. lng: 124.59,
  2103. lat: 43.02,
  2104. icon: 'marker',
  2105. bindPopupHtml: '',
  2106. click: '',
  2107. parameter: '',
  2108. keepBindPopup: false,
  2109. isAggregation: true
  2110. }
  2111. markersMap.icon = 'sj-icon-map-' + type.replaceAll("_", "-");
  2112. markersMap.lng = res.data.pointList[i].longitude;
  2113. markersMap.lat = res.data.pointList[i].latitude;
  2114. markersMap.bindPopupHtml = '<div class="map-tip">' +
  2115. '<span>' +
  2116. ' <div class="d-l-con">' +
  2117. ' <div class="d-l-l-text">' +
  2118. ' <h4>资源名称:' + (res.data.pointList[i].name?res.data.pointList[i].name:'') + '</h4>' +
  2119. ' </div>' +
  2120. ' </div>' +
  2121. ' </span>' +
  2122. '<span>' +
  2123. ' <div class="d-l-con">' +
  2124. ' <div class="d-l-l-text">' +
  2125. ' <h4>经纬度:' + res.data.pointList[i].longitude + ',' + res.data.pointList[i]
  2126. .latitude + '</h4>' +
  2127. ' </div>' +
  2128. ' </div>' +
  2129. ' </span>' +
  2130. '<span>' +
  2131. ' <div class="d-l-con">' +
  2132. ' <div class="d-l-l-text">' +
  2133. ' <h4>联系人:' + (res.data.pointList[i].contacts?res.data.pointList[i].contacts:'') + '</h4>' +
  2134. ' </div>' +
  2135. ' </div>' +
  2136. ' </span>' +
  2137. '<span>' +
  2138. ' <div class="d-l-con">' +
  2139. ' <div class="d-l-l-text">' +
  2140. ' <h4>电话:' + (res.data.pointList[i].phone?res.data.pointList[i].phone:'') + '</h4>' +
  2141. ' </div>' +
  2142. ' </div>' +
  2143. ' </span>' +
  2144. '</div>'
  2145. markersList.push(markersMap)
  2146. }
  2147. setTimeout(() => {
  2148. this.$refs.supermapDialog1.setMarkersByType(markersList, type)
  2149. }, 1000)
  2150. }
  2151. })
  2152. } else {
  2153. this.listResourceByWz(type);
  2154. }
  2155. }
  2156. },
  2157. showTVWall(channelCode, channelName) {
  2158. let tvListJson = [{
  2159. "switchTab": "2",
  2160. "treeLabels": [{
  2161. "id": null,
  2162. "labelCode": "999",
  2163. "labelName": "电视墙",
  2164. "cameraType": null,
  2165. "parentLabelCode": ""
  2166. },
  2167. {
  2168. "id": "spcamera00010",
  2169. "labelCode": channelCode,
  2170. "labelName": channelName,
  2171. "cameraType": "1",
  2172. "parentLabelCode": "999"
  2173. }
  2174. ],
  2175. "labelChannels": [{
  2176. "labelCode": channelCode,
  2177. "channelDates": [{
  2178. "channelCode": channelCode,
  2179. "channelName": channelName,
  2180. "channelSn": null,
  2181. "cameraType": "1",
  2182. "online": "1",
  2183. "cameraCode": "1"
  2184. }]
  2185. }]
  2186. }]
  2187. this.$refs.TVWall.showTVWall(tvListJson, [{
  2188. "channelId": channelCode
  2189. }]);
  2190. this.$refs.bottomMenu.showMeasure = false;
  2191. this.$refs.bottomMenu.showChild = false;
  2192. this.$refs.bottomMenu.showBanChild = false;
  2193. this.$refs.bottomMenu.showChangChild = false;
  2194. },
  2195. addSelection: function(userList) {
  2196. for (let i in this.dutysystemTableData) {
  2197. for (let j in userList) {
  2198. if (this.dutysystemTableData[i].name == userList[j].name && this.dutysystemTableData[i].telphone ==
  2199. userList[j].telphone) {
  2200. userList.splice(j, 1);
  2201. }
  2202. }
  2203. }
  2204. this.dutysystemTableData = this.dutysystemTableData.concat(userList);
  2205. this.showFindUserByDept = false;
  2206. },
  2207. handleDelete: function(index, row) { //删除负责人行数
  2208. if (row.id != null && row.id != '') {
  2209. let param = {
  2210. ids: row.id
  2211. }
  2212. dutysystemRemove(param).then(res => {
  2213. this.$message.success(`删除成功!`)
  2214. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
  2215. })
  2216. } else {
  2217. this.dutysystemTableData.splice(index, 1)
  2218. }
  2219. },
  2220. handleSave: function(index, rowData) { //保存负责人行数
  2221. rowData.dept = this.dutysystemDeptName
  2222. rowData.depteventId = this.depteventId
  2223. dutysystemAdd(rowData).then(res => {
  2224. this.$message.success(`保存成功!`)
  2225. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
  2226. })
  2227. },
  2228. finUserByDept: function() { //根据部门选择责任人
  2229. this.showFindUserByDept = true;
  2230. },
  2231. dutysystemSelect: function(deptId, dutysystemDeptName, depteventId) { //通过部门查询负责人信息
  2232. this.dutysystemDeptName = dutysystemDeptName
  2233. this.depteventId = depteventId
  2234. this.iconCurrentIndex = deptId
  2235. let param = {
  2236. depteventId: depteventId
  2237. }
  2238. dutysystemList(param).then(res => {
  2239. if (res.data != null && res.data.length > 0) {
  2240. this.dutysystemTableData = res.data
  2241. } else {
  2242. this.dutysystemTableData = []
  2243. }
  2244. })
  2245. },
  2246. showResponsibility() { //弹出责任制弹窗
  2247. let param = {
  2248. eventCode: this.eventCode
  2249. }
  2250. centereventtdepteventList(param).then(res => {
  2251. this.depteventList = res.data
  2252. this.showResponsibilityDialog = true
  2253. })
  2254. },
  2255. closeResponsibilityDialog() { //责任制关闭
  2256. this.dutysystemTableData = []
  2257. this.dutysystemDeptName = ''
  2258. this.depteventId = ''
  2259. this.iconCurrentIndex = ''
  2260. this.showResponsibilityDialog = false
  2261. },
  2262. addResponsibilityDialog() { //责任制保存
  2263. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  2264. 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位手机号码正则
  2265. for (let i in this.dutysystemTableData) {
  2266. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  2267. this.$message.warning(`请输入正确姓名!`)
  2268. return;
  2269. }
  2270. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  2271. this.$message.warning(`请输入正确手机号码!`)
  2272. return;
  2273. }
  2274. if (this.dutysystemTableData[i].id == null || this.dutysystemTableData[i].id == '') {
  2275. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  2276. this.dutysystemTableData[i].depteventId = this.depteventId;
  2277. }
  2278. }
  2279. const param = {
  2280. centereventTDutySystemList: this.dutysystemTableData,
  2281. eventCode: this.eventCode,
  2282. eventName: this.eventName
  2283. }
  2284. dutysystemAdd(param).then(res => {
  2285. this.$message.success(`保存成功!`)
  2286. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
  2287. this.closeResponsibilityDialog();
  2288. })
  2289. },
  2290. /************************************责任制-结束****************************************/
  2291. showEventdetailsdialog() {
  2292. this.eventDialog = false;
  2293. this.$emit('showEventDialog', this.eventCode);
  2294. },
  2295. showheatPlotting() {
  2296. this.$refs.supermapDialog1.showheatPlotting(this.latitude, this.longitude, this.windSpeed, this.windDirection)
  2297. },
  2298. showUpdateYjYuAn() {
  2299. listYuAn().then(res => {
  2300. //关联预案列表
  2301. if (res.code == 200) {
  2302. this.guanLianYuAnList = res.data
  2303. this.showGuanLianYuAnConfirm = true
  2304. }
  2305. })
  2306. },
  2307. updateYjYuAn() {
  2308. if (this.eventStatusValue == 'forest_event_status_1') {
  2309. this.$message.warning(`修改预案信息在签收后方可修改!`)
  2310. return
  2311. } else {
  2312. let param = {
  2313. eventCode: this.eventCode,
  2314. reserve: this.sendGuanLianYuAn
  2315. }
  2316. updateYjYuAn(param).then(res => {
  2317. //事件调整关联预案
  2318. if (res.code == 200) {
  2319. this.$message.success(`预案调整成功!`)
  2320. this.refreshEventDialog(this.eventCode)
  2321. this.sendGuanLianYuAn = null
  2322. this.showGuanLianYuAnConfirm = false
  2323. }
  2324. })
  2325. }
  2326. },
  2327. listResourceByWz(type) {
  2328. if (this.resourcesListCheck.indexOf(type) > -1) {
  2329. this.resourcesListCheck.splice(this.resourcesListCheck.indexOf(type), 1)
  2330. setTimeout(() => {
  2331. this.$refs.supermapDialog1.clearMByType(type)
  2332. }, 1000)
  2333. } else {
  2334. //搜索物资
  2335. let param = {
  2336. longitude: this.longitude,
  2337. latitude: this.latitude,
  2338. type: type,
  2339. radius: this.radius
  2340. }
  2341. listResourceByWz(param).then(res => {
  2342. if (res.data != null && res.data.length > 0) {
  2343. this.resourcesListCheck.push(type)
  2344. var markersList = []
  2345. for (let i = 0; i < res.data.length; i++) {
  2346. let markersMap = {
  2347. lng: 124.59,
  2348. lat: 43.02,
  2349. icon: 'marker',
  2350. bindPopupHtml: '',
  2351. click: '',
  2352. parameter: '',
  2353. keepBindPopup: false,
  2354. isAggregation: true
  2355. }
  2356. if (type == 'qsk') {
  2357. markersMap.icon = 'sj-icon-waterintake'
  2358. } else if (type == 'sh') {
  2359. markersMap.icon = 'sj-icon-watercrane'
  2360. } else if (type == 'xfs') {
  2361. markersMap.icon = 'sj-icon-firehydrant'
  2362. } else if (type == 'qjd') {
  2363. markersMap.icon = 'sj-icon-landing'
  2364. } else if (type == 'jcz') {
  2365. markersMap.icon = 'sj-icon-checkpoint'
  2366. } else if (type == 'fhd') {
  2367. markersMap.icon = 'sj-icon-fireteam'
  2368. } else if (type == 'zdqy') {
  2369. markersMap.icon = 'sj-icon-keyAreas'
  2370. } else if (type == 'sxt') {
  2371. if(res.data[i].cameraUse==1)
  2372. {
  2373. markersMap.icon='sj-icon-map-centerdata-slmonitor'
  2374. } else {
  2375. markersMap.icon='camera'
  2376. }
  2377. if (res.data[i].cameraCode != null) {
  2378. markersMap.click = 'preview'
  2379. // markersMap.parameter = res.data[i].cameraCode
  2380. markersMap.parameter = {code:res.data[i].cameraCode,
  2381. type:res.data[i].cameraFactory?res.data[i].cameraFactory:1,name:res.data[i].cameraName}
  2382. }
  2383. }
  2384. markersMap.lng = res.data[i].longitude
  2385. markersMap.lat = res.data[i].latitude
  2386. markersMap.bindPopupHtml = '<div class="map-tip">' +
  2387. '<span>' +
  2388. ' <div class="d-l-con">' +
  2389. ' <div class="d-l-l-text">' +
  2390. ' <h4>资源名称:' + res.data[i].cameraName + '</h4>' +
  2391. ' </div>' +
  2392. ' </div>' +
  2393. ' </span>' +
  2394. '</div>'
  2395. markersList.push(markersMap)
  2396. }
  2397. setTimeout(() => {
  2398. this.$refs.supermapDialog1.setMarkersByType(markersList, type)
  2399. }, 1000)
  2400. }
  2401. })
  2402. }
  2403. },
  2404. // 返回图片列表
  2405. assetTypeAnImage(filePath) {
  2406. let imageList = []
  2407. if (filePath != null && filePath.length > 0) {
  2408. for (let i = 0; i < filePath.length; i++) {
  2409. if (filePath[i].fileType == 'image') {
  2410. imageList.push(filePath[i].fileUrl)
  2411. }
  2412. }
  2413. }
  2414. return imageList
  2415. },
  2416. clickFile(fileUrl, fileName, fileType) {
  2417. if (fileType == 'image') {
  2418. return
  2419. } else if (fileType == 'video') {
  2420. this.showTcPlayer = true
  2421. setTimeout(() => {
  2422. this.playVideo = fileUrl
  2423. }, 500)
  2424. } else {
  2425. let a = document.createElement('a')
  2426. a.download = fileName
  2427. a.href = fileUrl
  2428. a.target = '_blank'
  2429. a.click()
  2430. }
  2431. },
  2432. setValue(event) {
  2433. //签收选择部门
  2434. this.sendDeptName = event.label
  2435. this.sendDeptId = event.value
  2436. },
  2437. cancelEventConfirm() {
  2438. //关闭事件签收弹窗
  2439. this.sendDeptId = null
  2440. this.sendDeptName = null
  2441. this.sendUserFegin = []
  2442. this.sendEventType = null
  2443. this.sendHuoZaiBanJing = 0
  2444. this.sendGuanLianYuAn = null
  2445. // this.longitude = null
  2446. // this.latitude = null
  2447. this.sendTaskTitle = null
  2448. this.sendTaskSource = null
  2449. this.sendTaskContent = null
  2450. this.sendLianDongDept = []
  2451. this.eventTypeList = [] //事件类型列表
  2452. this.guanLianYuAnList = [] //关联预案列表
  2453. this.deptOptions = [] //签收部门
  2454. this.deptOptionsLiandong = [] //联动部门
  2455. this.eventStatusButton = null //流程按钮标识
  2456. this.eventConfirmTitle = null //流程按钮标识
  2457. this.resourcesListCheck = []
  2458. this.userFeginList = [] //联系人列表
  2459. },
  2460. cancelEventConfirm_send() {
  2461. //清空表单数据
  2462. this.sendDeptId = null
  2463. this.sendDeptName = null
  2464. this.sendUserFegin = []
  2465. this.sendEventType = null
  2466. this.sendHuoZaiBanJing = 0
  2467. this.sendGuanLianYuAn = null
  2468. this.sendTaskTitle = null
  2469. this.sendTaskSource = null
  2470. this.sendTaskContent = null
  2471. this.sendLianDongDept = []
  2472. this.eventTypeList = [] //事件类型列表
  2473. this.guanLianYuAnList = [] //关联预案列表
  2474. this.deptOptions = [] //签收部门
  2475. this.deptOptionsLiandong = [] //联动部门
  2476. this.userFeginList = [] //联系人列表
  2477. },
  2478. cancelEventConfirm_gd() {
  2479. //关闭事件火险报告窗口
  2480. this.resetTable1()
  2481. this.resetTable2()
  2482. },
  2483. cancelEventConfirm_mp4() {
  2484. //关闭视频窗口
  2485. this.playVideo = ''
  2486. this.$refs.TcPlayer.destroyed()
  2487. },
  2488. resetTable1() {
  2489. this.table1 = {
  2490. reportUnit: null,
  2491. reportTimeY: null,
  2492. reportTimeM: null,
  2493. reportTimeD: null,
  2494. forestFireLossTotal: null,
  2495. fireLossTotal: null,
  2496. forestArea: null,
  2497. forestPrice: null,
  2498. treesNumber: null,
  2499. treesPrice: null,
  2500. minorInjuriesNumber: null,
  2501. minorInjuriesPrice: null,
  2502. seriouslyInjuredNumber: null,
  2503. seriouslyInjuredPrice: null,
  2504. deathNumber: null,
  2505. deathPrice: null,
  2506. elseFireLossPrice: null,
  2507. blazesPriceTotal: null,
  2508. artificialDays: null,
  2509. artificialPrice: null,
  2510. vehicleNumber: null,
  2511. carNumber: null,
  2512. vehiclePrice: null,
  2513. planeNumber: null,
  2514. planePrice: null,
  2515. elseBlazesPrice: null,
  2516. note: null
  2517. }
  2518. },
  2519. resetTable2() {
  2520. this.table2 = {
  2521. fireTime: null,
  2522. foundTime: null,
  2523. blazesTime: null,
  2524. address: null,
  2525. firePlace: null,
  2526. foundType: null,
  2527. longitudeD: null,
  2528. longitudeM: null,
  2529. longitudeS: null,
  2530. latitudeD: null,
  2531. latitudeM: null,
  2532. latitudeS: null,
  2533. fireSource: null,
  2534. fireType: null,
  2535. fireLevel: null,
  2536. areaTotal: null,
  2537. forestLossAreaTotal: null,
  2538. originalForestArea: null,
  2539. artificialForestArea: null,
  2540. peopleTotal: null,
  2541. blazesTeamNumber: null,
  2542. policeNumber: null,
  2543. armyNumber: null,
  2544. crowdNumber: null,
  2545. windExtinguisher: null,
  2546. secondTool: null,
  2547. waterGun: null,
  2548. elseThings: null,
  2549. forestComposition: null,
  2550. forestToken: null,
  2551. porosities: null,
  2552. weather: null,
  2553. temperature: null,
  2554. fireInsuranceLevel: null,
  2555. windLevel: null,
  2556. windDirection: null,
  2557. commandUnit: null,
  2558. commandName: null,
  2559. commandPosition: null,
  2560. surveyUnit: null,
  2561. surveyName: null,
  2562. surveyPosition: null,
  2563. accidentName: null,
  2564. accidentSex: null,
  2565. accidentAge: null,
  2566. accidentPosition: null,
  2567. accidentUnit: null,
  2568. dealType: null,
  2569. dealNumber: null,
  2570. criminalDealNumber: null,
  2571. accidentDealSituation: null,
  2572. responsibilityDealSituation: null,
  2573. leadershipDealSituation: null,
  2574. townForm: null,
  2575. townAudit: null,
  2576. cityForm: null,
  2577. cityAudit: null
  2578. }
  2579. },
  2580. getUrl(urlList) {
  2581. this.uploadAttachList = urlList
  2582. this.attachExamine = []
  2583. urlList.forEach(item => {
  2584. var attachPath = {
  2585. attachPath: item.name
  2586. }
  2587. this.attachExamine.push(attachPath)
  2588. });
  2589. },
  2590. /**
  2591. * eventStatusValue 事件状态
  2592. * isSend 是否办理
  2593. * */
  2594. async updateCentereventTEventcatalogueStatus(eventStatus, isSend) {
  2595. this.eventStatusButton = eventStatus
  2596. let that = this
  2597. if (!isSend) { //事件弹窗
  2598. if (eventStatus == 'qs') { //签收
  2599. that.eventConfirmTitle = '事件签收'
  2600. let param = {
  2601. parentId: that.eventType
  2602. }
  2603. await listSJfl(param).then(res => {
  2604. //事件类型
  2605. if (res.code == 200) {
  2606. that.eventTypeList = res.data
  2607. }
  2608. })
  2609. await listYuAn().then(res => {
  2610. //关联预案
  2611. if (res.code == 200) {
  2612. that.guanLianYuAnList = res.data
  2613. }
  2614. })
  2615. await selectByeventCode(that.eventCode).then(res => {
  2616. //签收部门
  2617. if (res.code == 200) {
  2618. that.deptOptions = res.data
  2619. that.deptNameitem = '签收部门'
  2620. }
  2621. })
  2622. that.showEventConfirm = true
  2623. } else if (eventStatus == 'qr') { //确认
  2624. that.eventConfirmTitle = '事件确认'
  2625. } else if (eventStatus == 'wb') { //误报
  2626. that.eventConfirmTitle = '事件误报'
  2627. await selectByeventCode(that.eventCode).then(res => {
  2628. //签收部门
  2629. if (res.code == 200) {
  2630. that.deptOptions = res.data
  2631. that.deptNameitem = '签收部门'
  2632. }
  2633. })
  2634. that.showEventConfirm = true
  2635. } else if (eventStatus == 'cf') { //重复
  2636. that.eventConfirmTitle = '事件重复'
  2637. await selectByeventCode(that.eventCode).then(res => {
  2638. //签收部门
  2639. if (res.code == 200) {
  2640. that.deptOptions = res.data
  2641. that.deptNameitem = '签收部门'
  2642. }
  2643. })
  2644. that.showEventConfirm = true
  2645. } else if (eventStatus == 'ld') { //联动
  2646. await selectByeventCode(that.eventCode).then(res => {
  2647. //签收部门
  2648. if (res.code == 200) {
  2649. that.deptOptions = res.data
  2650. that.deptNameitem = '发起部门'
  2651. }
  2652. })
  2653. that.eventConfirmTitle = '事件联动'
  2654. /** 查询部门树结构 */
  2655. await deptTreeselect().then(response => {
  2656. that.deptOptionsLiandong = response.data
  2657. })
  2658. that.showEventConfirm = true
  2659. } else if (eventStatus == 'sh') { //审核
  2660. that.eventConfirmTitle = '事件审核'
  2661. that.showEventConfirm = true
  2662. } else if (eventStatus == 'gd') { //归档填报
  2663. that.showEventConfirm_gd = true
  2664. }
  2665. } else { //事件提交后台
  2666. if (eventStatus == 'ld') {
  2667. //事件处理流程--联动
  2668. let array = that.$refs.LiandongDept.getCheckedNodes()
  2669. if (array != null && array.length > 0) {
  2670. for (let i = 0; i < array.length; i++) {
  2671. that.sendLianDongDept.push({
  2672. 'taskDeptId': array[i].id,
  2673. 'taskDeptName': array[i].label
  2674. })
  2675. }
  2676. }
  2677. if (that.sendTaskSource == '' || that.sendTaskSource == null) {
  2678. that.$message.error(`请选择任务来源!`)
  2679. return
  2680. }
  2681. if (that.sendTaskContent == '' || that.sendTaskContent == null) {
  2682. that.$message.error(`请输入任务内容!`)
  2683. return
  2684. }
  2685. if (that.sendTaskTitle == '' || that.sendTaskTitle == null) {
  2686. that.$message.error(`请输入任务标题!`)
  2687. return
  2688. }
  2689. if (that.sendLianDongDept == '' || that.sendLianDongDept == null) {
  2690. that.$message.error(`请选择任务联动部门!`)
  2691. return
  2692. }
  2693. if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName ==
  2694. null) {
  2695. that.$message.error(`请选择任务发起部门!`)
  2696. return
  2697. }
  2698. let eventState = "";
  2699. listSJfl({
  2700. parentId: that.eventType
  2701. }).then(res => {
  2702. if (res.code == 200) {
  2703. for (let i in res.data) {
  2704. if (res.data[i].id == that.eventTypeXl) {
  2705. eventState = res.data[i].eventTypeName;
  2706. }
  2707. }
  2708. let param = {
  2709. sendDeptId: that.sendDeptId,
  2710. sendDept: that.sendDeptName,
  2711. eventCode: that.eventCode,
  2712. longitude: that.longitude,
  2713. latitude: that.latitude,
  2714. taskTitle: that.sendTaskTitle,
  2715. taskSource: that.sendTaskSource,
  2716. taskContent: that.sendTaskContent,
  2717. taskDept: that.sendLianDongDept,
  2718. eventAddress: that.address,
  2719. eventState: eventState,
  2720. eventName: that.eventName
  2721. }
  2722. sendTask(param).then(res => {
  2723. if (res.code == 200) {
  2724. that.$message.success(`联动发起成功!`)
  2725. that.refreshEventDialog(that.eventCode)
  2726. that.cancelEventConfirm_send()
  2727. that.showEventConfirm = false
  2728. }
  2729. })
  2730. }
  2731. })
  2732. } else if (eventStatus == 'gd') {
  2733. if (that.eventTypeXl == 101) {
  2734. let double = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; //数字和两位小数
  2735. let number = /^[+]{0,1}(\d+)$/g; //正整数
  2736. if (!double.test(that.table2.areaTotal)) {
  2737. that.$message.error(`面积只能填写到小数后两位!`)
  2738. return
  2739. }
  2740. if (!number.test(that.table2.peopleTotal)) {
  2741. that.$message.error(`人员请填写正整数!`)
  2742. return
  2743. }
  2744. if (that.table2.forestComposition == '' || that.table2.forestComposition == null) {
  2745. that.$message.error(`林木组成不能为空!`)
  2746. return
  2747. }
  2748. if (that.table2.forestToken == '' || that.table2.forestToken == null) {
  2749. that.$message.error(`林令不能为空!`)
  2750. return
  2751. }
  2752. if (that.table2.porosities == '' || that.table2.porosities == null) {
  2753. that.$message.error(`疏密度不能为空!`)
  2754. return
  2755. }
  2756. }
  2757. //事件处理流程--归档
  2758. let param = {
  2759. deptId: that.deptId,
  2760. eventCode: that.eventCode,
  2761. eventStatus: eventStatus,
  2762. id: that.eventId,
  2763. czlx: '',
  2764. version: that.version,
  2765. forestFireLoss: {
  2766. eventId: that.eventCode,
  2767. table1: that.table1
  2768. },
  2769. fireInformation: {
  2770. eventId: that.eventCode,
  2771. table2: that.table2
  2772. },
  2773. array: that.regionalFlagObj.array
  2774. }
  2775. updateCentereventTEventcatalogueStatus(param).then(res => {
  2776. if (res.code == 200) {
  2777. that.$message.success(`处理成功!`)
  2778. that.refreshEvent(that.eventCode)
  2779. that.cancelEventConfirm_send()
  2780. that.showEventConfirm_gd = false
  2781. that.$emit('getEventList', that.calendarDay, 10, 1)
  2782. that.$emit('getSupermap', that.calendarDay)
  2783. } else if (res.code == 304) {
  2784. console.log(that.eventCode)
  2785. this.$message.warning(res.msg)
  2786. this.showEventDialog(that.eventCode)
  2787. //获取事件详情
  2788. }
  2789. })
  2790. } else if (eventStatus == 'shtg') {
  2791. that.eventStatusButton = 'sh'
  2792. if (that.eventDescription == '' || that.eventDescription == null) {
  2793. that.$message.error(`请填写审核意见!`)
  2794. return
  2795. }
  2796. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  2797. that.$message.error(`请上传审核图片!`)
  2798. return
  2799. }
  2800. //事件处理流程--审核通过
  2801. let param = {
  2802. id: that.eventId, //事件id
  2803. eventCode: that.eventCode, //事件编号
  2804. eventName: that.eventName, //事件名称
  2805. isExamine: 1, //通过传1,不通过传0
  2806. version: that.version,
  2807. eventDescription: that.eventDescription, //审核意见
  2808. attach: that.attachExamine
  2809. }
  2810. eventExamine(param).then(res => {
  2811. if (res.code == 200) {
  2812. that.$message.success(`处理成功!`)
  2813. that.refreshEvent(that.eventCode)
  2814. that.cancelEventConfirm_send()
  2815. that.showEventConfirm = false
  2816. } else if (res.code == 304) {
  2817. console.log(that.eventCode)
  2818. this.$message.warning(res.msg)
  2819. this.showEventDialog(that.eventCode)
  2820. //获取事件详情
  2821. }
  2822. that.attachExamine = []
  2823. that.uploadAttachList = []
  2824. that.eventDescription = ""
  2825. })
  2826. } else if (eventStatus == 'shbtg') {
  2827. that.eventStatusButton = 'sh'
  2828. if (that.eventDescription == '' || that.eventDescription == null) {
  2829. that.$message.error(`请填写审核意见!`)
  2830. return
  2831. }
  2832. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  2833. that.$message.error(`请上传审核图片!`)
  2834. return
  2835. }
  2836. //事件处理流程--审核不通过
  2837. let param = {
  2838. id: that.eventId, //事件id
  2839. eventCode: that.eventCode, //事件编号
  2840. eventName: that.eventName, //事件名称
  2841. isExamine: 0, //通过传1,不通过传0
  2842. version: that.version,
  2843. eventDescription: that.eventDescription, //审核意见
  2844. attach: that.attachExamine
  2845. }
  2846. eventExamine(param).then(res => {
  2847. if (res.code == 200) {
  2848. that.$message.success(`处理成功!`)
  2849. that.refreshEvent(that.eventCode)
  2850. that.cancelEventConfirm_send()
  2851. that.showEventConfirm = false
  2852. } else if (res.code == 304) {
  2853. console.log(that.eventCode)
  2854. this.$message.warning(res.msg)
  2855. this.showEventDialog(that.eventCode)
  2856. //获取事件详情
  2857. }
  2858. that.attachExamine = []
  2859. that.uploadAttachList = []
  2860. that.eventDescription = ""
  2861. })
  2862. } else if (eventStatus == 'cz') {
  2863. eventHandling(that.eventId, that.eventCode).then(res => {
  2864. if (res.code == 200) {
  2865. that.$message.success(`处理成功!`)
  2866. that.refreshEvent(that.eventCode)
  2867. that.cancelEventConfirm_send()
  2868. that.showEventConfirm = false
  2869. } else if (res.code == 304) {
  2870. console.log(that.eventCode)
  2871. this.$message.warning(res.msg)
  2872. this.showEventDialog(that.eventCode)
  2873. //获取事件详情
  2874. }
  2875. })
  2876. } else {
  2877. if (eventStatus == 'qs') {
  2878. if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName ==
  2879. null) {
  2880. that.$message.error(`请选择部门!`)
  2881. return
  2882. }
  2883. if (eventStatus == 'qs') {
  2884. if (that.sendEventType == '' || that.sendEventType == null) {
  2885. that.$message.error(`请选择事件类型!`)
  2886. return
  2887. }
  2888. }
  2889. } else {
  2890. that.sendDeptId = that.deptId
  2891. }
  2892. //事件处理流程
  2893. let param = {
  2894. phones: that.sendUserFegin,
  2895. eventCode: that.eventCode,
  2896. deptId: that.sendDeptId,
  2897. deptName: that.sendDeptName,
  2898. eventStatus: eventStatus,
  2899. eventType: that.sendEventType,
  2900. id: that.eventId,
  2901. version: that.version,
  2902. czlx: '',
  2903. cameraCode: that.cameraCode,
  2904. fireRadius: that.sendHuoZaiBanJing,
  2905. reserve: that.sendGuanLianYuAn,
  2906. address: that.address,
  2907. }
  2908. updateCentereventTEventcatalogueStatus(param).then(res => {
  2909. if (res.code == 200) {
  2910. that.$message.success(`处理成功!`)
  2911. that.cancelEventConfirm_send()
  2912. that.showEventConfirm = false
  2913. that.$emit('getEventList', that.calendarDay, 10, 1)
  2914. that.$emit('getSupermap', that.calendarDay)
  2915. if (eventStatus == "cf" || eventStatus == "wb") {
  2916. this.eventDialog = false;
  2917. return;
  2918. }
  2919. that.refreshEvent(that.eventCode)
  2920. } else if (res.code == 304) {
  2921. console.log(that.eventCode)
  2922. this.$message.warning(res.msg)
  2923. this.showEventDialog(that.eventCode)
  2924. //获取事件详情
  2925. }
  2926. })
  2927. }
  2928. }
  2929. },
  2930. filterNode(value, data) {
  2931. //树搜索
  2932. if (!value) return true
  2933. return data.label.indexOf(value) !== -1
  2934. },
  2935. sendEventLog() {
  2936. if (this.eventLog == '' || this.eventLog == null) {
  2937. this.$message.warning("请录入反馈信息!")
  2938. return;
  2939. }
  2940. //日志发送
  2941. let param = {
  2942. eventCode: this.eventCode,
  2943. logContent: this.eventLog,
  2944. operation: "bus_oper_type_2",
  2945. operationType: "log_oper_type_1"
  2946. }
  2947. sendEventLog(param).then(res => {
  2948. if (res.code == 200) {
  2949. this.$message.success(`发送成功!`)
  2950. this.eventLog = null
  2951. this.refreshEventDialog(this.eventCode)
  2952. }
  2953. })
  2954. },
  2955. showEventLogUpload() {
  2956. this.$refs.eventLogUpload.eventLogUpload(this.eventCode)
  2957. },
  2958. cancelEventShow() {
  2959. this.dataStatus = null
  2960. this.deptId = null
  2961. console.log('关闭事件弹窗')
  2962. this.eventLogList = []
  2963. },
  2964. showEventDialog(eventCode) {
  2965. this.getNewDataByDate(this.calendarDay)
  2966. this.eventCode = eventCode
  2967. let that = this
  2968. //获取事件详情
  2969. getEventDetail({
  2970. eventCode: eventCode
  2971. }).then(res => {
  2972. let markersMapList = [];
  2973. that.eventDialog = true
  2974. that.eventLogList = res.data.eventlog //日志列表
  2975. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo //应急预案
  2976. that.address = res.data.catalogue.address
  2977. that.eventStatusValue = res.data.catalogue.eventStatusValue
  2978. that.eventType = res.data.catalogue.eventType
  2979. that.statusFlag = res.data.catalogue.statusFlag
  2980. that.dataStatus = res.data.catalogue.dataStatus
  2981. that.deptId = res.data.catalogue.deptId
  2982. that.eventId = res.data.catalogue.id
  2983. that.longitude = res.data.catalogue.longitude
  2984. that.latitude = res.data.catalogue.latitude
  2985. that.eventName = res.data.catalogue.eventName
  2986. that.eventTypeXl = res.data.catalogue.eventTypeXl
  2987. that.isExamine = res.data.catalogue.isExamine
  2988. that.version = res.data.catalogue.version
  2989. let markersMap = {
  2990. lng: 124.59,
  2991. lat: 43.02,
  2992. icon: 'marker',
  2993. bindPopupHtml: '',
  2994. click: '',
  2995. parameter: '',
  2996. keepBindPopup: false,
  2997. isAggregation: true,
  2998. radius: 0
  2999. }
  3000. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount == 0) {
  3001. markersMap.icon = 'sj-icon-map-xinshangbao'
  3002. }
  3003. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount > 0) {
  3004. markersMap.icon = 'sj-icon-map-cuiban'
  3005. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_2') {
  3006. markersMap.icon = 'sj-icon-map-qianshou'
  3007. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_5') {
  3008. markersMap.icon = 'sj-icon-map-banjie'
  3009. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_6') {
  3010. markersMap.icon = 'sj-icon-map-guidang'
  3011. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_7') {
  3012. markersMap.icon = 'sj-icon-map-queren'
  3013. }
  3014. markersMap.lng = res.data.catalogue.longitude
  3015. markersMap.lat = res.data.catalogue.latitude
  3016. if (res.data.eventdetail != null && res.data.eventdetail.length > 0 && res.data.eventdetail[0]
  3017. .fireRadius != null && res.data.eventdetail[0].fireRadius != '' && res.data.eventdetail[0].fireRadius >
  3018. 0) {
  3019. markersMap.radius = res.data.eventdetail[0].fireRadius
  3020. }
  3021. markersMapList.push(markersMap);
  3022. if (res.data.centermonitorTCamera != null) {
  3023. that.cameraCode = res.data.centermonitorTCamera.id;
  3024. let markersMap = {
  3025. lng: 124.59,
  3026. lat: 43.02,
  3027. icon: 'camera',
  3028. bindPopupHtml: '',
  3029. click: 'preview',
  3030. parameter: {
  3031. code: res.data.centermonitorTCamera.cameraCode,
  3032. type: res.data.centermonitorTCamera.cameraFactory,
  3033. name: res.data.centermonitorTCamera.cameraName
  3034. },
  3035. keepBindPopup: false,
  3036. isAggregation: true,
  3037. radius: 0
  3038. }
  3039. if(res.data.centermonitorTCamera.cameraUse==1)
  3040. {
  3041. markersMap.icon='sj-icon-map-centerdata-slmonitor'
  3042. } else {
  3043. markersMap.icon='camera'
  3044. }
  3045. markersMap.bindPopupHtml = '<div class="map-tip">' +
  3046. '<span>' +
  3047. ' <div class="d-l-con">' +
  3048. ' <div class="d-l-l-text">' +
  3049. ' <h4>摄像头名称:' + res.data.centermonitorTCamera.cameraName + '</h4>' +
  3050. ' </div>' +
  3051. ' </div>' +
  3052. ' </span>' +
  3053. '<span>' +
  3054. '</div>'
  3055. markersMap.lng = res.data.centermonitorTCamera.longitude
  3056. markersMap.lat = res.data.centermonitorTCamera.latitude
  3057. markersMapList.push(markersMap)
  3058. }
  3059. setTimeout(() => {
  3060. that.$refs.supermapDialog1.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
  3061. that.$refs.supermapDialog1.clearM(false)
  3062. that.$refs.supermapDialog1.clearM(true)
  3063. that.$refs.supermapDialog1.setMarkersRadius(markersMapList)
  3064. }, 2000)
  3065. })
  3066. },
  3067. refreshEvent(eventCode) {
  3068. this.eventCode = eventCode
  3069. let that = this
  3070. //刷新--事件详情
  3071. getEventDetail({
  3072. eventCode: eventCode
  3073. }).then(res => {
  3074. let markersMapList = [];
  3075. that.eventDialog = true
  3076. that.eventLogList = res.data.eventlog
  3077. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo //应急预案
  3078. that.address = res.data.catalogue.address
  3079. that.eventStatusValue = res.data.catalogue.eventStatusValue
  3080. that.eventType = res.data.catalogue.eventType
  3081. that.statusFlag = res.data.catalogue.statusFlag
  3082. that.dataStatus = res.data.catalogue.dataStatus
  3083. that.deptId = res.data.catalogue.deptId
  3084. that.eventId = res.data.catalogue.id
  3085. that.latitude = res.data.catalogue.latitude
  3086. that.longitude = res.data.catalogue.longitude
  3087. that.isExamine = res.data.catalogue.isExamine
  3088. that.eventName = res.data.catalogue.eventName
  3089. that.eventTypeXl = res.data.catalogue.eventTypeXl
  3090. that.version = res.data.catalogue.version
  3091. let markersMap = {
  3092. lng: 124.59,
  3093. lat: 43.02,
  3094. icon: 'marker',
  3095. bindPopupHtml: '',
  3096. click: '',
  3097. parameter: '',
  3098. keepBindPopup: false,
  3099. isAggregation: true,
  3100. radius: 0
  3101. }
  3102. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount == 0) {
  3103. markersMap.icon = 'sj-icon-map-xinshangbao'
  3104. }
  3105. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount > 0) {
  3106. markersMap.icon = 'sj-icon-map-cuiban'
  3107. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_2') {
  3108. markersMap.icon = 'sj-icon-map-qianshou'
  3109. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_5') {
  3110. markersMap.icon = 'sj-icon-map-banjie'
  3111. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_6') {
  3112. markersMap.icon = 'sj-icon-map-guidang'
  3113. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_7') {
  3114. markersMap.icon = 'sj-icon-map-queren'
  3115. }
  3116. markersMap.lng = res.data.catalogue.longitude
  3117. markersMap.lat = res.data.catalogue.latitude
  3118. if (res.data.eventdetail != null && res.data.eventdetail.length > 0 && res.data.eventdetail[0]
  3119. .fireRadius != null && res.data.eventdetail[0].fireRadius != '' && res.data.eventdetail[0].fireRadius >
  3120. 0) {
  3121. markersMap.radius = res.data.eventdetail[0].fireRadius
  3122. }
  3123. markersMapList.push(markersMap)
  3124. if (res.data.centermonitorTCamera != null) {
  3125. let markersMap = {
  3126. lng: 124.59,
  3127. lat: 43.02,
  3128. icon: 'camera',
  3129. bindPopupHtml: '',
  3130. click: 'preview',
  3131. parameter: {
  3132. code: res.data.centermonitorTCamera.cameraCode,
  3133. type: res.data.centermonitorTCamera.cameraFactory,
  3134. name: res.data.centermonitorTCamera.cameraName
  3135. },
  3136. keepBindPopup: false,
  3137. isAggregation: true,
  3138. radius: 0
  3139. }
  3140. markersMap.bindPopupHtml = '<div class="map-tip">' +
  3141. '<span>' +
  3142. ' <div class="d-l-con">' +
  3143. ' <div class="d-l-l-text">' +
  3144. ' <h4>摄像头名称:' + res.data.centermonitorTCamera.cameraName + '</h4>' +
  3145. ' </div>' +
  3146. ' </div>' +
  3147. ' </span>' +
  3148. '<span>' +
  3149. '</div>'
  3150. markersMap.lng = res.data.centermonitorTCamera.longitude
  3151. markersMap.lat = res.data.centermonitorTCamera.latitude
  3152. markersMapList.push(markersMap)
  3153. }
  3154. setTimeout(() => {
  3155. that.$refs.supermapDialog1.clearM(false)
  3156. that.$refs.supermapDialog1.clearM(true)
  3157. that.$refs.supermapDialog1.setMarkersRadius(markersMapList)
  3158. that.$refs.supermapDialog1.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
  3159. }, 2000)
  3160. })
  3161. },
  3162. refreshEventDialog(eventCode) {
  3163. //刷新--事件日志12
  3164. getEventDetail({
  3165. eventCode: eventCode
  3166. }).then(res => {
  3167. this.eventLogList = res.data.eventlog
  3168. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo //应急预案
  3169. })
  3170. },
  3171. // 页面元素转图片
  3172. toImage() {
  3173. this.$message.success(`正在上传!请稍后...`)
  3174. // 手动创建一个 canvas 标签
  3175. const canvas = document.createElement('canvas')
  3176. // 获取父标签,意思是这个标签内的 DOM 元素生成图片
  3177. // imageTofile是给截图范围内的父级元素自定义的ref名称
  3178. // let canvasBox = this.$refs.imageTofile
  3179. let canvasBox = document.getElementById('forestWarmSuperMap')
  3180. let toolbar = document.getElementById('toolbar')
  3181. if (toolbar != null) {
  3182. canvasBox.removeChild(toolbar)
  3183. }
  3184. // 获取父级的宽高
  3185. const width = parseInt(window.getComputedStyle(canvasBox).width)
  3186. const height = parseInt(window.getComputedStyle(canvasBox).height)
  3187. // 宽高 * 2 并放大 2 倍 是为了防止图片模糊
  3188. canvas.width = width * 2
  3189. canvas.height = height * 2
  3190. canvas.style.width = width + 'px'
  3191. canvas.style.height = height + 'px'
  3192. const context = canvas.getContext('2d')
  3193. context.scale(2, 2)
  3194. const options = {
  3195. backgroundColor: null,
  3196. canvas: canvas,
  3197. useCORS: true
  3198. }
  3199. html2canvas(canvasBox, options).then((canvas) => {
  3200. // toDataURL 图片格式转成 base64
  3201. let dataBase64 = canvas.toDataURL('image/png')
  3202. this.uploadBase64(dataBase64)
  3203. })
  3204. canvasBox.appendChild(toolbar)
  3205. },
  3206. uploadBase64(dataBase64) {
  3207. //事件详情截图直接上传日志
  3208. uploadBase64({
  3209. eventCode: this.eventCode,
  3210. base64: dataBase64
  3211. }).then(res => {
  3212. if (res.code == 200) {
  3213. this.$message.success(`截图上传成功!`)
  3214. this.refreshEventDialog(this.eventCode)
  3215. }
  3216. })
  3217. },
  3218. regionalFlagAdd: function() { //火灾区域
  3219. this.regionalFlagObj.array = []
  3220. this.regionalFlagOpen = true
  3221. },
  3222. showAreaLatLng: function(latlng) { //获取火灾区域经纬度
  3223. this.regionalFlagObj.array = latlng
  3224. this.$modal.msgSuccess('获取坐标成功!')
  3225. },
  3226. /** ----------------------------------摄像头预览开始------------------------------------- */
  3227. alertLogin: function() {
  3228. this.$modal.msg('登录中....')
  3229. },
  3230. alertLoginSuccess: function() {
  3231. this.$modal.msgSuccess('登录成功!')
  3232. },
  3233. alertLoginFailed: function() {
  3234. this.$modal.msgError('登陆失败!')
  3235. },
  3236. alertReinstall: function() {
  3237. this.$modal.msgWarning('请重新安装客户端')
  3238. },
  3239. cancelEventLocationShow() {
  3240. if (this.oWebControl != null) {
  3241. this.oWebControl.JS_HideWnd() // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  3242. this.oWebControl.JS_Disconnect().then(function() { // 断开与插件服务连接成功
  3243. },
  3244. function() { // 断开与插件服务连接失败
  3245. })
  3246. }
  3247. },
  3248. /** 预览按钮操作 */
  3249. preview(cameraParam) {
  3250. if (cameraParam.type == '1') {
  3251. this.showTVWall(cameraParam.code, cameraParam.name)
  3252. // getDahuaVideoServer().then(newResponse => {
  3253. // console.log(newResponse)
  3254. // this.ws.detectConnectQt().then(res => {
  3255. // if (res) { // 连接客户端成功
  3256. // this.alertLogin()
  3257. // this.ws.login({
  3258. // loginIp: newResponse.loginIp,
  3259. // loginPort: newResponse.loginPort,
  3260. // userName: newResponse.userName,
  3261. // userPwd: newResponse.userPwd,
  3262. // token: '',
  3263. // https: 0
  3264. // })
  3265. // this.ws.on('loginState', (res) => {
  3266. // this.isLogin = res
  3267. // console.log('---res-----', res)
  3268. // if (res) {
  3269. // this.alertLoginSuccess()
  3270. // this.activePanel = 'key2'
  3271. // this.realTimeVideoDialog(cameraParam.code)
  3272. // } else {
  3273. // this.alertLoginFailed()
  3274. // }
  3275. // })
  3276. // } else { // 连接客户端失败
  3277. // this.alertReinstall()
  3278. // }
  3279. // })
  3280. // })
  3281. } else if (cameraParam.type == '0') {
  3282. let that = this
  3283. that.cameraVisible = true
  3284. getHaiKangVideoServer({
  3285. cameraCode: cameraParam.code
  3286. }).then(newResponse => {
  3287. that.cameraTitle = '摄像头-' + newResponse.data.cameraName
  3288. that.initPlugin(newResponse.data.appkey, newResponse.data.loginIp, newResponse.data.secret, newResponse
  3289. .data.loginPort)
  3290. setTimeout(function() {
  3291. that.playhk(newResponse.data.channelCode)
  3292. }, 5000)
  3293. })
  3294. }
  3295. },
  3296. realTimeVideoDialog(cameraParams) { // 调用弹窗实时播放接口
  3297. if (!this.isLogin) {
  3298. this.$Message.info('正在登陆客户端,请稍等......')
  3299. return false
  3300. }
  3301. this.ws.openVideo(cameraParams)
  3302. },
  3303. /** ----------------------------------摄像头预览结束------------------------------------- */
  3304. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  3305. // 创建播放实例
  3306. initPlugin(newappkey, newloginIp, newsecret, newloginPort) {
  3307. let that = this
  3308. that.oWebControl = new WebControl({
  3309. szPluginContainer: 'playWnd', // 指定容器id
  3310. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  3311. iServicePortEnd: 15909,
  3312. szClassId: '23BF3B0A-2C56-4D97-9C03-0CB103AA8F11', // 用于IE10使用ActiveX的clsid
  3313. cbConnectSuccess: function() { // 创建WebControl实例成功
  3314. that.oWebControl.JS_StartService('window', { // WebControl实例创建成功后需要启动服务
  3315. dllPath: './VideoPluginConnect.dll' // 值"./VideoPluginConnect.dll"写死
  3316. }).then(function() { // 启动插件服务成功
  3317. that.oWebControl.JS_SetWindowControlCallback({ // 设置消息回调
  3318. cbIntegrationCallBack: cbIntegrationCallBack
  3319. })
  3320. that.oWebControl.JS_CreateWnd('playWnd', 1020, 600).then(
  3321. function() { //JS_CreateWnd创建视频播放窗口,宽高可设定
  3322. that.init(newappkey, newloginIp, newsecret, newloginPort) // 创建播放实例成功后初始化
  3323. })
  3324. }, function() { // 启动插件服务失败
  3325. })
  3326. },
  3327. cbConnectError: function() { // 创建WebControl实例失败
  3328. that.oWebControl = null
  3329. $('#playWnd').html('插件未启动,正在尝试启动,请稍候...<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  3330. WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
  3331. that.initCount++
  3332. if (that.initCount < 3) {
  3333. setTimeout(function() {
  3334. that.initPlugin(newappkey, newloginIp, newsecret, newloginPort)
  3335. }, 3000)
  3336. } else {
  3337. $('#playWnd').html('插件启动失败,请检查插件是否安装!<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  3338. }
  3339. },
  3340. cbConnectClose: function(bNormalClose) {
  3341. // 异常断开:bNormalClose = false
  3342. // JS_Disconnect正常断开:bNormalClose = true
  3343. that.oWebControl = null
  3344. }
  3345. })
  3346. },
  3347. //播放海康摄像头
  3348. playhk(channelCode) {
  3349. var cameraIndexCode = channelCode //获取输入的监控点编号值,必填
  3350. var streamMode = 0 //主子码流标识:0-主码流,1-子码流
  3351. var transMode = 1 //传输协议:0-UDP,1-TCP
  3352. var gpuMode = 0 //是否启用GPU硬解,0-不启用,1-启用
  3353. var wndId = -1 //播放窗口序号(在2x2以上布局下可指定播放窗口)
  3354. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, '')
  3355. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, '')
  3356. this.oWebControl.JS_RequestInterface({
  3357. funcName: 'startPreview',
  3358. argument: JSON.stringify({
  3359. cameraIndexCode: cameraIndexCode, //监控点编号
  3360. streamMode: streamMode, //主子码流标识
  3361. transMode: transMode, //传输协议
  3362. gpuMode: gpuMode, //是否开启GPU硬解
  3363. wndId: wndId //可指定播放窗口
  3364. })
  3365. })
  3366. },
  3367. //初始化
  3368. init(newappkey, newloginIp, newsecret, newloginPort) {
  3369. let that = this
  3370. that.getPubKey(function() {
  3371. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  3372. var appkey = newappkey //综合安防管理平台提供的appkey,必填
  3373. var secret = that.setEncrypt(newsecret) //综合安防管理平台提供的secret,必填
  3374. var ip = newloginIp //综合安防管理平台IP地址,必填
  3375. var playMode = 0 //初始播放模式:0-预览,1-回放
  3376. var port = Number(newloginPort) //综合安防管理平台端口,若启用HTTPS协议,默认443
  3377. var snapDir = 'D:\\SnapDir' //抓图存储路径
  3378. var videoDir = 'D:\\VideoDir' //紧急录像或录像剪辑存储路径
  3379. var layout = '1x1' //playMode指定模式的布局
  3380. var enableHTTPS = 1 //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  3381. var encryptedFields = 'secret' //加密字段,默认加密领域为secret
  3382. var showToolbar = 1 //是否显示工具栏,0-不显示,非0-显示
  3383. var showSmart = 1 //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  3384. var buttonIDs = '0,16,256,257,258,259,260,512,513,514,515,516,517,768,769' //自定义工具条按钮
  3385. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  3386. that.oWebControl.JS_RequestInterface({
  3387. funcName: 'init',
  3388. argument: JSON.stringify({
  3389. appkey: appkey, //API网关提供的appkey
  3390. secret: secret, //API网关提供的secret
  3391. ip: ip, //API网关IP地址
  3392. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  3393. port: port, //端口
  3394. snapDir: snapDir, //抓图存储路径
  3395. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  3396. layout: layout, //布局
  3397. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  3398. encryptedFields: encryptedFields, //加密字段
  3399. showToolbar: showToolbar, //是否显示工具栏
  3400. showSmart: showSmart, //是否显示智能信息
  3401. buttonIDs: buttonIDs //自定义工具条按钮
  3402. })
  3403. }).then(function(oData) {
  3404. that.oWebControl.JS_Resize(1020, 600) // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  3405. })
  3406. })
  3407. },
  3408. //获取公钥
  3409. getPubKey(callback) {
  3410. let that = this
  3411. that.oWebControl.JS_RequestInterface({
  3412. funcName: 'getRSAPubKey',
  3413. argument: JSON.stringify({
  3414. keyLength: 1024
  3415. })
  3416. }).then(function(oData) {
  3417. console.log(oData)
  3418. if (oData.responseMsg.data) {
  3419. that.pubKey = oData.responseMsg.data
  3420. callback()
  3421. }
  3422. })
  3423. },
  3424. //RSA加密
  3425. setEncrypt(value) {
  3426. var encrypt = new JSEncrypt()
  3427. encrypt.setPublicKey(this.pubKey)
  3428. return encrypt.encrypt(value)
  3429. },
  3430. /** ----------------------------------视频会议开始------------------------------------- */
  3431. sendMsg() { // 视频会议发送短信
  3432. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  3433. 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位手机号码正则
  3434. for (let i in this.dutysystemTableData) {
  3435. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  3436. this.$message.warning(`请输入正确姓名!`)
  3437. return;
  3438. }
  3439. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  3440. this.$message.warning(`请输入正确手机号码!`)
  3441. return;
  3442. }
  3443. if (this.dutysystemTableData[i].id == null || this.dutysystemTableData[i].id == '') {
  3444. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  3445. this.dutysystemTableData[i].depteventId = this.depteventId;
  3446. }
  3447. }
  3448. const param = {
  3449. centereventTDutySystemList: this.dutysystemTableData,
  3450. eventCode: this.eventCode,
  3451. eventName: this.eventName,
  3452. eventId: this.eventId
  3453. }
  3454. sendMessage(param).then(res => {
  3455. //this.$message.success(res.msg);
  3456. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
  3457. this.showMeetingMsgDialog = false;
  3458. this.joinMeeting();
  3459. })
  3460. },
  3461. joinMeeting() {
  3462. this.$message({
  3463. message: '正在启动云会议客户端,请稍候...',
  3464. type: 'success',
  3465. });
  3466. joinConferences(this.eventId, this.eventName + "的会议", Cookies.get("nickName")).then(res => {
  3467. if (res.code == 200) {
  3468. let conferenceID = res.data.info.conferenceID;
  3469. let password = res.data.info.password;
  3470. let nickName = res.data.nickName;
  3471. let nonce = res.data.nonce;
  3472. window.open(
  3473. "cloudlink://welinksoftclient/h5page?page=LoginAndJoinConf&server_url=meeting.huaweicloud.com&port=8443&conf_id=" +
  3474. conferenceID + "&enter_code=" + password + "&name=" + nickName +
  3475. "&open_mic=true&open_camera=false&nonce=" + nonce);
  3476. }
  3477. })
  3478. },
  3479. Meeting() { //弹出发送会议短信弹窗
  3480. let that = this;
  3481. that.$alert(
  3482. "如您已经安装请点击【确定】,如未安装可<a style='text-decoration:underline;color:blue;' href='http://172.18.1.37:15001/CLOUDMeeting_Win.exe'>点击此处</a>进行下载",
  3483. '该功能需要使用云会议客户端', {
  3484. confirmButtonText: '确定',
  3485. dangerouslyUseHTMLString: true,
  3486. callback: action => {
  3487. let param = {
  3488. eventCode: that.eventCode
  3489. }
  3490. centereventtdepteventList(param).then(res => {
  3491. that.depteventList = res.data
  3492. that.showMeetingMsgDialog = true
  3493. that.initDutysystemTableData();
  3494. })
  3495. }
  3496. });
  3497. },
  3498. /** ----------------------------------视频会议结束------------------------------------- */
  3499. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  3500. }
  3501. }
  3502. // 推送消息
  3503. function cbIntegrationCallBack(oData) {
  3504. console.log(JSON.stringify(oData.responseMsg))
  3505. }
  3506. </script>
  3507. <style lang="scss" scoped>
  3508. @import '@/assets/styles/base.scss';
  3509. //弹层样式
  3510. //.customWidthMp4 {
  3511. // width: 70px !important;
  3512. // height: 70px !important;
  3513. //}
  3514. .tree-border {
  3515. border: 1px $barBorder;
  3516. }
  3517. button {
  3518. padding: .5rem;
  3519. }
  3520. /** 火灾报告**/
  3521. //@font-face {
  3522. // font-family: 'fontnameRegular';
  3523. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  3524. //}
  3525. body,
  3526. html,
  3527. * {
  3528. padding: 0px;
  3529. margin: 0px;
  3530. font-family: "fontnameRegular";
  3531. }
  3532. .table-container {
  3533. width: 100%;
  3534. }
  3535. .txt_right {
  3536. text-align: right !important;
  3537. }
  3538. .txt_left {
  3539. text-align: left !important;
  3540. }
  3541. table {
  3542. border-spacing: 0;
  3543. border-collapse: collapse;
  3544. width: 99%;
  3545. margin: 0 auto;
  3546. color: $inBlue;
  3547. }
  3548. table input {
  3549. font-size: 1rem;
  3550. border: 0px;
  3551. outline: 0px;
  3552. font-family: "微软雅黑";
  3553. background: none;
  3554. color: $inBlue;
  3555. }
  3556. table th input:hover {
  3557. background: $eventBG;
  3558. }
  3559. table thead th {
  3560. font-size: 1rem;
  3561. font-family: "宋体";
  3562. height: 2rem;
  3563. border-top: 0px;
  3564. border-left: 0px;
  3565. border-right: 0px;
  3566. outline: 0px;
  3567. }
  3568. table tr td {
  3569. font-size: 1rem;
  3570. font-family: "fontnameRegular";
  3571. height: 2rem;
  3572. border: 1px $searchBorder;
  3573. text-align: center;
  3574. }
  3575. .font1 {
  3576. font-size: 1.7rem;
  3577. font-weight: bolder;
  3578. }
  3579. .border0 {
  3580. width: 100% !important;
  3581. }
  3582. .border0 tr td {
  3583. border: 0px !important;
  3584. }
  3585. table tr td input {
  3586. width: 100%;
  3587. /* display: inline-block;*/
  3588. outline: 0px;
  3589. text-align: left;
  3590. height: 94%;
  3591. color: $inBlue;
  3592. background: none;
  3593. float: left;
  3594. padding: 0 .5rem;
  3595. }
  3596. table tr td input:hover {
  3597. background: $eventBG;
  3598. }
  3599. .int_tr td input {
  3600. text-align: center !important;
  3601. }
  3602. .table2 tr th {
  3603. font-size: 1.7rem;
  3604. padding: .5rem 0;
  3605. font-family: 'fontnameRegular';
  3606. }
  3607. .table2 tr td {
  3608. font-size: 1rem;
  3609. }
  3610. .table2 tr td select {
  3611. border: 0px !important;
  3612. outline: 0px;
  3613. width: 100%;
  3614. font-family: "微软雅黑";
  3615. font-size: 1rem;
  3616. padding-left: 1%;
  3617. color: $inBlue;
  3618. background: none;
  3619. }
  3620. .table2 tr td select:hover {
  3621. background: $eventBG;
  3622. }
  3623. .table2 tr td select option {
  3624. font-size: 1rem;
  3625. font-family: "微软雅黑";
  3626. }
  3627. .border_l0 {
  3628. // border-right: 1px solid #ececec !important;
  3629. }
  3630. .table2 tr td textarea {
  3631. border: 0px !important;
  3632. outline: 0px;
  3633. width: 98%;
  3634. padding: .5rem;
  3635. font-size: 1rem;
  3636. resize: none;
  3637. background: none;
  3638. color: $inBlue;
  3639. }
  3640. .table2 tr td textarea:hover {
  3641. background: $eventBG;
  3642. }
  3643. .tr_border td {
  3644. border-right: 0px !important;
  3645. border-left: 0px !important;
  3646. border-bottom: 0px !important;
  3647. font-size: 15px;
  3648. }
  3649. .btm-btn-group {
  3650. padding: 1rem 0;
  3651. width: 100%;
  3652. display: flex;
  3653. button {
  3654. padding: .5rem 2rem;
  3655. }
  3656. }
  3657. // 20220928
  3658. .yatz_button {
  3659. padding: 0.5rem 0.5rem;
  3660. color: #409EFF;
  3661. background: none;
  3662. border-color: #409EFF;
  3663. }
  3664. .yatz_button:hover {
  3665. color: #fff;
  3666. background: #409EFF;
  3667. border-color: #409EFF;
  3668. }
  3669. .fr_button {
  3670. float: right;
  3671. padding: 0.5rem 1.5rem;
  3672. }
  3673. .bottom {
  3674. width: 100%;
  3675. height: calc(100% - 80px);
  3676. display: flex;
  3677. .bottomLeft {
  3678. width: 288px;
  3679. height: 500px;
  3680. overflow-y: auto;
  3681. .leftItem {
  3682. width: 100%;
  3683. height: 50px;
  3684. line-height: 50px;
  3685. text-align: center;
  3686. cursor: pointer;
  3687. }
  3688. }
  3689. .bottomRight {
  3690. width: calc(100% - 288px);
  3691. height: 500px;
  3692. box-sizing: border-box;
  3693. padding: 36px 36px 0 36px;
  3694. overflow-y: auto;
  3695. .bottomRightContent {
  3696. width: 100%;
  3697. box-sizing: border-box;
  3698. padding-bottom: 36px;
  3699. .bottomRightContentHead {
  3700. height: 25px;
  3701. font-family: PingFang SC;
  3702. font-style: normal;
  3703. font-weight: 600;
  3704. font-size: 24px;
  3705. line-height: 25px;
  3706. text-transform: capitalize;
  3707. color: rgba(0, 0, 0, 0.85);
  3708. margin-bottom: 32px;
  3709. }
  3710. .bottomRightContentBody {
  3711. .el-col {
  3712. position: relative;
  3713. margin-bottom: 18px;
  3714. .circle {
  3715. display: inline-block;
  3716. width: 6px;
  3717. height: 6px;
  3718. background: #4677f6;
  3719. border-radius: 50%;
  3720. position: absolute;
  3721. top: 8px;
  3722. left: 0;
  3723. }
  3724. .word {
  3725. margin-left: 12px;
  3726. font-family: PingFang SC;
  3727. font-style: normal;
  3728. font-weight: normal;
  3729. font-size: 14px;
  3730. color: #4677f6;
  3731. cursor: pointer;
  3732. }
  3733. .word:hover {
  3734. text-decoration: underline;
  3735. }
  3736. .topPlace {
  3737. position: absolute;
  3738. top: 1px;
  3739. margin-left: 8px;
  3740. }
  3741. }
  3742. }
  3743. .bottomRightContentFooter {
  3744. height: 1px;
  3745. width: 100%;
  3746. margin-top: 14px;
  3747. }
  3748. }
  3749. }
  3750. }
  3751. </style>