firespread.vue 167 KB

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