eventdetailsdialog.vue 119 KB

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