eventdetailsdialog.vue 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243
  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" @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="['#25335d', '#5baffd']">
  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="listResourceByWz(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-upload" @click="showheatPlotting()">火灾蔓延
  61. </el-button>
  62. </div>
  63. <!-- 地图 -->
  64. <supermapDialog ref="supermapDialog"
  65. style="position: absolute; top:0;left: 0;"
  66. :mapDiv="'forestWarmSuperMap'"
  67. :mapSite="{zoom:12,doubleClickZoom:false,dragging:false,scrollWheelZoom:false}"
  68. :codes="['9fa5']"
  69. :isSideBySide="false"
  70. :isdynamicPlotting="true"
  71. @preview="preview"/>
  72. <!-- 地图end -->
  73. </div>
  74. </el-col>
  75. <!-- 左侧end -->
  76. <!-- 右侧 -->
  77. <el-col :span="6" class="dia-right">
  78. <div class="e-right">
  79. <div class="forthis1">
  80. <dv-border-box-7 backgroundColor="#040b1f" :color="['#25335d', '#5baffd']"
  81. style="padding-bottom:1rem ;">
  82. <div class="i-list-con">
  83. <div class="this-con">
  84. <div class="z-info-list" style="margin-top: 0;">
  85. <el-timeline>
  86. <el-timeline-item color="#2bacf7" :timestamp="item.createTime"
  87. placement="top" v-for="(item,index) in eventLogList">
  88. <el-card style="width: 40vh">
  89. <div class="z-info-list-con">
  90. <div class="user-and-time flex-d">
  91. <span>{{ item.createName }}</span>
  92. <span v-if="eventLogList.length - 1 == index&&address!=null&&address!=''"><i
  93. class="el-icon-location"></i> {{ address }}</span>
  94. <span v-else></span>
  95. </div>
  96. <div class="z-info">
  97. <div class="this-con-list-info">
  98. {{ item.logContent }}
  99. </div>
  100. <div>
  101. <router-link to="#" @click.native="clickFile(itemfile.fileUrl,itemfile.fileName)"
  102. v-for="(itemfile,indexfile) in item.fileVOs">
  103. <!-- 使用el-image的:src需要加require -->
  104. <!-- <img v-if="isAssetTypeAnImage(itemfile.fileUrl)"-->
  105. <!-- style="width:3rem; height:3rem;margin: 2px;"-->
  106. <!-- :src="itemfile.fileUrl"-->
  107. <!-- :title="itemfile.fileName">-->
  108. <!-- </img>-->
  109. <el-image :src="itemfile.fileUrl" v-if="isAssetTypeAnImage(itemfile.fileUrl)"
  110. :preview-src-list="assetTypeAnImage(item.attachs)"
  111. style="width:3rem; height:3rem;margin: 2px;"
  112. :title="itemfile.fileName">
  113. </el-image>
  114. <img v-else-if="isAssetTypeAnMp4(itemfile.fileUrl)"
  115. style="width:3rem; height:3rem;margin: 2px;"
  116. :src="require('@/assets/fileTypeImage/mp4.png')"
  117. :title="itemfile.fileName">
  118. </img>
  119. <img v-else-if="isAssetTypeAnWord(itemfile.fileUrl)"
  120. style="width:3rem; height:3rem;margin: 2px;"
  121. :src="require('@/assets/fileTypeImage/word.png')"
  122. :title="itemfile.fileName">
  123. </img>
  124. <img v-else-if="isAssetTypeAnExcel(itemfile.fileUrl)"
  125. style="width:3rem; height:3rem;margin: 2px;"
  126. :src="require('@/assets/fileTypeImage/excel.png')"
  127. :title="itemfile.fileName">
  128. </img>
  129. <img v-else
  130. style="width:3rem; height:3rem;margin: 2px;"
  131. :src="require('@/assets/fileTypeImage/file.png')"
  132. :title="itemfile.fileName">
  133. </img>
  134. </router-link>
  135. </div>
  136. </div>
  137. </div>
  138. </el-card>
  139. </el-timeline-item>
  140. </el-timeline>
  141. </div>
  142. </div>
  143. </div>
  144. </dv-border-box-7>
  145. </div>
  146. <div class="forthis2">
  147. <dv-border-box-7 backgroundColor="#040b1f" :color="['#25335d', '#5baffd']">
  148. <div class="i-list-con">
  149. <div class="this-con h-25 no-padding">
  150. <div class="z-info-list" style="margin-top: 0;">
  151. <div class="z-info-btm-grp">
  152. <div class="z-info-btm-grp-top">
  153. <div class="z-info-btm-grp-left">
  154. <!-- <el-button size="small" icon="el-icon-s-flag">责任制-->
  155. <!-- </el-button>-->
  156. <el-button size="small" icon="el-icon-upload" @click="showEventLogUpload()">上传
  157. </el-button>
  158. <el-button size="small" icon="el-icon-download" @click="toImage()">截图上传
  159. </el-button>
  160. </div>
  161. <div class="z-info-btm-grp-right">
  162. <el-button size="small" icon="el-icon-mic">会议
  163. </el-button>
  164. </div>
  165. </div>
  166. <div class="z-info-btm-input">
  167. <el-input type="textarea" v-model="eventLog"
  168. :autosize="{ minRows: 7, maxRows: 7}" placeholder="请输入反馈信息">
  169. </el-input>
  170. <div class="z-info-btm-input-btn" v-if="eventStatusValue=='forest_event_status_1'">
  171. <div style="text-align:left">
  172. <el-button size="small"
  173. icon="el-icon-s-flag"
  174. @click="updateCentereventTEventcatalogueStatus('qs',false)">
  175. 签收
  176. </el-button>
  177. <el-button size="small"
  178. icon="el-icon-question"
  179. @click="updateCentereventTEventcatalogueStatus('wb',false)">
  180. 误报
  181. </el-button>
  182. <el-button size="small"
  183. icon="el-icon-warning"
  184. @click="updateCentereventTEventcatalogueStatus('cf',false)">
  185. 重复
  186. </el-button>
  187. </div>
  188. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  189. </el-button>
  190. </div>
  191. <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_2'">
  192. <div>
  193. <el-button size="small"
  194. icon="el-icon-question"
  195. @click="updateCentereventTEventcatalogueStatus('wb',false)">
  196. 误报
  197. </el-button>
  198. <el-button size="small"
  199. icon="el-icon-warning"
  200. @click="updateCentereventTEventcatalogueStatus('cf',false)">
  201. 重复
  202. </el-button>
  203. <el-button size="small"
  204. icon="el-icon-phone" style="text-align:left"
  205. @click="updateCentereventTEventcatalogueStatus('ld',false)">
  206. 联动
  207. </el-button>
  208. <el-button size="small"
  209. icon="el-icon-success" style="text-align:left"
  210. @click="updateCentereventTEventcatalogueStatus('bj',true)">
  211. 办结
  212. </el-button>
  213. </div>
  214. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  215. </el-button>
  216. </div>
  217. <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_5'">
  218. <el-button size="small"
  219. icon="el-icon-success" style="text-align:left"
  220. @click="updateCentereventTEventcatalogueStatus('gd',false)">
  221. 填报
  222. </el-button>
  223. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  224. </el-button>
  225. </div>
  226. <div class="z-info-btm-input-btn" v-else>
  227. <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
  228. </el-button>
  229. </div>
  230. </div>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. </dv-border-box-7>
  236. </div>
  237. </div>
  238. </el-col>
  239. <!-- 左侧end -->
  240. </el-row>
  241. </div>
  242. </el-dialog>
  243. </div>
  244. <vBottomMenu ref="bottomMenu"></vBottomMenu>
  245. <eventLogUpload ref="eventLogUpload"></eventLogUpload>
  246. <el-dialog :title="eventConfirmTitle" :visible.sync="showEventConfirm" v-if="showEventConfirm" width="50%"
  247. class="top-dialog"
  248. @close="cancelEventConfirm()">
  249. <el-form label-width="80px">
  250. <el-form-item label="火灾半径" v-if="eventStatusButton=='qs'">
  251. <el-input type="number" v-model="sendHuoZaiBanJing" placeholder="请输入火灾半径"/>
  252. </el-form-item>
  253. <el-form-item :label="deptNameitem">
  254. <!-- <treeselect v-model="deptId" :options="deptOptions" multiple :show-count="true"-->
  255. <!-- placeholder="请选择签收部门"/>-->
  256. <el-select v-model="sendDeptName" clearable placeholder="请选择部门" class="m-r-1rem" @change="setValue"
  257. v-if="eventStatusButton=='wb'||eventStatusButton=='qs'||eventStatusButton=='cf'||eventStatusButton=='ld'">
  258. <el-option
  259. v-for="item in deptOptions"
  260. :key="item.deptId"
  261. :label="item.deptName"
  262. :value="{value:item.deptId,label:item.deptName}">
  263. </el-option>
  264. </el-select>
  265. </el-form-item>
  266. <el-form-item label="事件类型" v-if="eventStatusButton=='qs'">
  267. <el-select v-model="sendEventType" placeholder="请选择事件类型!" clearable>
  268. <el-option
  269. v-for="item in eventTypeList"
  270. :key="item.id"
  271. :label="item.eventTypeName"
  272. :value="item.id"
  273. />
  274. </el-select>
  275. </el-form-item>
  276. <el-form-item label="任务来源" v-if="eventStatusButton=='ld'">
  277. <el-select v-model="sendTaskSource" placeholder="请选择任务来源!" clearable>
  278. <el-option
  279. v-for="dict in dict.type.task_source"
  280. :key="dict.value"
  281. :label="dict.label"
  282. :value="dict.value"
  283. />
  284. </el-select>
  285. </el-form-item>
  286. <el-form-item label="联动标题" v-if="eventStatusButton=='ld'">
  287. <el-input v-model="sendTaskTitle" placeholder="请输入联动标题"/>
  288. </el-form-item>
  289. <el-form-item label="联动内容" v-if="eventStatusButton=='ld'">
  290. <el-input type="textarea" v-model="sendTaskContent"
  291. :autosize="{ minRows: 7, maxRows: 7}" placeholder="请输入联动内容">
  292. </el-input>
  293. </el-form-item>
  294. <el-form-item label="联动部门" v-if="eventStatusButton=='ld'">
  295. <el-input
  296. placeholder="输入关键字进行过滤"
  297. v-model="filterText">
  298. </el-input>
  299. <el-tree
  300. class="tree-border"
  301. style="height: 20vh; overflow-y:scroll"
  302. :data="deptOptionsLiandong"
  303. show-checkbox
  304. ref="LiandongDept"
  305. node-key="id"
  306. :check-strictly="true"
  307. :filter-node-method="filterNode"
  308. :accordion="true"
  309. empty-text="加载中,请稍候"
  310. :props="defaultProps"
  311. ></el-tree>
  312. <!-- default-expand-all-->
  313. </el-form-item>
  314. <el-form-item label="关联预案" v-if="eventStatusButton=='qs'">
  315. <el-select v-model="sendGuanLianYuAn" placeholder="请选择关联预案!" clearable>
  316. <el-option
  317. v-for="item in guanLianYuAnList"
  318. :key="item.id"
  319. :label="item.resTitle"
  320. :value="item.id"
  321. />
  322. </el-select>
  323. </el-form-item>
  324. <el-button size="mini" type="primary" v-if="eventStatusButton=='qs'"
  325. @click="updateCentereventTEventcatalogueStatus('qs',true)">签收
  326. </el-button>
  327. <el-button size="mini" type="primary" v-if="eventStatusButton=='wb'"
  328. @click="updateCentereventTEventcatalogueStatus('wb',true)">误报
  329. </el-button>
  330. <el-button size="mini" type="primary" v-if="eventStatusButton=='cf'"
  331. @click="updateCentereventTEventcatalogueStatus('cf',true)">重复
  332. </el-button>
  333. <el-button size="mini" type="primary" v-if="eventStatusButton=='ld'"
  334. @click="updateCentereventTEventcatalogueStatus('ld',true)">发起联动
  335. </el-button>
  336. </el-form>
  337. </el-dialog>
  338. <el-dialog title="调整预案" :visible.sync="showGuanLianYuAnConfirm" v-if="showGuanLianYuAnConfirm" width="50%"
  339. class="top-dialog">
  340. <el-form label-width="80px">
  341. <el-form-item label="关联预案">
  342. <el-select v-model="sendGuanLianYuAn" placeholder="请选择关联预案!" clearable>
  343. <el-option
  344. v-for="item in guanLianYuAnList"
  345. :key="item.id"
  346. :label="item.resTitle"
  347. :value="item.id"
  348. />
  349. </el-select>
  350. </el-form-item>
  351. <el-button size="mini" type="primary" @click="updateYjYuAn">确定
  352. </el-button>
  353. </el-form>
  354. </el-dialog>
  355. <el-dialog title="火险报告" :visible.sync="showEventConfirm_gd" v-if="showEventConfirm_gd" width="100%"
  356. class="top-dialog"
  357. @close="cancelEventConfirm_gd()">
  358. <div class="table-container">
  359. <form>
  360. <table id="table1" cellpadding="0" cellspacing="0">
  361. <thead style="width: 100%;padding:.5rem 0;">
  362. <th rowspan="1" colspan="1" class="txt_left" width="100px">填报单位:</th>
  363. <th rowspan="1" colspan="6" align="left"><input type="text" style=" width:100%;margin-left: .5rem;"
  364. v-model="table1.reportUnit"/></th>
  365. <th rowspan="1" colspan="2" class="txt_right">填报时间:</th>
  366. <th rowspan="1" colspan="6" align="left"><input type="text" style="width:3rem;text-align: center;"
  367. v-model="table1.reportTimeY"/>年<input
  368. type="text" style="width:4rem;text-align: center;" v-model="table1.reportTimeM"/>月<input type="text"
  369. style="width:3rem;text-align: center;"
  370. v-model="table1.reportTimeD"/>日
  371. </th>
  372. <th rowspan="1" colspan="8" style="text-align: right;">吉林省人民政府森林防火指挥部办公室制</th>
  373. </thead>
  374. <tbody>
  375. <tr>
  376. <td colspan="22" rowspan="1" class="font1" style="letter-spacing:3rem;padding: .5rem 0">森林火灾损失</td>
  377. <td colspan="1" rowspan="6">
  378. <table class="border0">
  379. <tr>
  380. <td>备注</td>
  381. </tr>
  382. </table>
  383. </td>
  384. </tr>
  385. <tr>
  386. <td rowspan="4" colspan="1">
  387. <table class="border0">
  388. <tr>
  389. <td>森林火灾<br>损失总计</td>
  390. </tr>
  391. </table>
  392. </td>
  393. <td rowspan="1" colspan="12">火灾损失价值</td>
  394. <td rowspan="1" colspan="9">扑火费用支出</td>
  395. </tr>
  396. <tr>
  397. <td rowspan="3" colspan="1">
  398. <table class="border0">
  399. <tr>
  400. <td>合计</td>
  401. </tr>
  402. </table>
  403. </td>
  404. <td rowspan="1" colspan="4">林木资源</td>
  405. <td rowspan="1" colspan="6">人员伤亡</td>
  406. <td rowspan="3" colspan="1">
  407. <table class="border0">
  408. <tr>
  409. <td>其他<br>火灾<br>损失</td>
  410. </tr>
  411. </table>
  412. </td>
  413. <td rowspan="3" colspan="1">
  414. <table class="border0">
  415. <tr>
  416. <td>合计</td>
  417. </tr>
  418. </table>
  419. </td>
  420. <td rowspan="1" colspan="2">
  421. <table class="border0">
  422. <tr>
  423. <td>人工费</td>
  424. </tr>
  425. </table>
  426. </td>
  427. <td rowspan="1" colspan="3">
  428. <table class="border0">
  429. <tr>
  430. <td>车辆费</td>
  431. </tr>
  432. </table>
  433. </td>
  434. <td rowspan="1" colspan="2">
  435. <table class="border0">
  436. <tr>
  437. <td>飞行费</td>
  438. </tr>
  439. </table>
  440. </td>
  441. <td rowspan="3" colspan="1">
  442. <table class="border0">
  443. <tr>
  444. <td>其他<br>扑火<br>费用</td>
  445. </tr>
  446. </table>
  447. </td>
  448. </tr>
  449. <tr>
  450. <td rowspan="1" colspan="2">成林</td>
  451. <td rowspan="1" colspan="2">幼林</td>
  452. <td rowspan="1" colspan="2">轻伤</td>
  453. <td rowspan="1" colspan="2">重伤</td>
  454. <td rowspan="1" colspan="2">死亡</td>
  455. <td rowspan="2" colspan="1">
  456. <table class="border0">
  457. <tr>
  458. <td>出动<br>人工</td>
  459. </tr>
  460. </table>
  461. </td>
  462. <td rowspan="2" colspan="1">
  463. <table class="border0">
  464. <tr>
  465. <td>支出<br>费用</td>
  466. </tr>
  467. </table>
  468. </td>
  469. <td rowspan="2" colspan="1">
  470. <table class="border0">
  471. <tr>
  472. <td>计</td>
  473. </tr>
  474. </table>
  475. </td>
  476. <td rowspan="2" colspan="1">
  477. <table class="border0">
  478. <tr>
  479. <td>其中<br>汽车</td>
  480. </tr>
  481. </table>
  482. </td>
  483. <td rowspan="2" colspan="1">
  484. <table class="border0">
  485. <tr>
  486. <td>支出<br>费用</td>
  487. </tr>
  488. </table>
  489. </td>
  490. <td rowspan="2" colspan="1">
  491. <table class="border0">
  492. <tr>
  493. <td>出动<br>飞机</td>
  494. </tr>
  495. </table>
  496. </td>
  497. <td rowspan="2" colspan="1">
  498. <table class="border0">
  499. <tr>
  500. <td>支出<br>费用</td>
  501. </tr>
  502. </table>
  503. </td>
  504. </tr>
  505. <tr>
  506. <td rowspan="1" colspan="1">蓄积</td>
  507. <td rowspan="1" colspan="1">价值</td>
  508. <td rowspan="1" colspan="1">株数</td>
  509. <td rowspan="1" colspan="1">价值</td>
  510. <td rowspan="1" colspan="1">人数</td>
  511. <td rowspan="1" colspan="1">支出费用</td>
  512. <td rowspan="1" colspan="1">人数</td>
  513. <td rowspan="1" colspan="1">支出费用</td>
  514. <td rowspan="1" colspan="1">人数</td>
  515. <td rowspan="1" colspan="1">支出费用</td>
  516. </tr>
  517. <tr>
  518. <td rowspan="1" colspan="1">万元</td>
  519. <td rowspan="1" colspan="1">万元</td>
  520. <td rowspan="1" colspan="1">米³</td>
  521. <td rowspan="1" colspan="1">万元</td>
  522. <td rowspan="1" colspan="1">万株</td>
  523. <td rowspan="1" colspan="1">万元</td>
  524. <td rowspan="1" colspan="1">人</td>
  525. <td rowspan="1" colspan="1">万元</td>
  526. <td rowspan="1" colspan="1">人</td>
  527. <td rowspan="1" colspan="1">万元</td>
  528. <td rowspan="1" colspan="1">人</td>
  529. <td rowspan="1" colspan="1">万元</td>
  530. <td rowspan="1" colspan="1">万元</td>
  531. <td rowspan="1" colspan="1">万元</td>
  532. <td rowspan="1" colspan="1">工日</td>
  533. <td rowspan="1" colspan="1">万元</td>
  534. <td rowspan="1" colspan="1">台</td>
  535. <td rowspan="1" colspan="1">台</td>
  536. <td rowspan="1" colspan="1">万元</td>
  537. <td rowspan="1" colspan="1">架次</td>
  538. <td rowspan="1" colspan="1">万元</td>
  539. <td rowspan="1" colspan="1">万元</td>
  540. </tr>
  541. <tr>
  542. <td rowspan="1" colspan="1">1</td>
  543. <td rowspan="1" colspan="1">2</td>
  544. <td rowspan="1" colspan="1">3</td>
  545. <td rowspan="1" colspan="1">4</td>
  546. <td rowspan="1" colspan="1">5</td>
  547. <td rowspan="1" colspan="1">6</td>
  548. <td rowspan="1" colspan="1">7</td>
  549. <td rowspan="1" colspan="1">8</td>
  550. <td rowspan="1" colspan="1">9</td>
  551. <td rowspan="1" colspan="1">10</td>
  552. <td rowspan="1" colspan="1">11</td>
  553. <td rowspan="1" colspan="1">12</td>
  554. <td rowspan="1" colspan="1">13</td>
  555. <td rowspan="1" colspan="1">14</td>
  556. <td rowspan="1" colspan="1">15</td>
  557. <td rowspan="1" colspan="1">16</td>
  558. <td rowspan="1" colspan="1">17</td>
  559. <td rowspan="1" colspan="1">18</td>
  560. <td rowspan="1" colspan="1">19</td>
  561. <td rowspan="1" colspan="1">20</td>
  562. <td rowspan="1" colspan="1">21</td>
  563. <td rowspan="1" colspan="1">22</td>
  564. <td rowspan="1" colspan="1">23</td>
  565. </tr>
  566. <tr class="int_tr">
  567. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.forestFireLossTotal"/></td>
  568. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.fireLossTotal"/></td>
  569. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.forestArea"/></td>
  570. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.forestPrice"/></td>
  571. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.treesNumber"/></td>
  572. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.treesPrice"/></td>
  573. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.minorInjuriesNumber"/></td>
  574. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.minorInjuriesPrice"/></td>
  575. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.seriouslyInjuredNumber"/>
  576. </td>
  577. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.seriouslyInjuredPrice"/>
  578. </td>
  579. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.deathNumber"/></td>
  580. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.deathPrice"/></td>
  581. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.elseFireLossPrice"/></td>
  582. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.blazesPriceTotal"/></td>
  583. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.artificialDays"/></td>
  584. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.artificialPrice"/></td>
  585. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.vehicleNumber"/></td>
  586. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.carNumber"/></td>
  587. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.vehiclePrice"/></td>
  588. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.planeNumber"/></td>
  589. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.planePrice"/></td>
  590. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.elseBlazesPrice"/></td>
  591. <td rowspan="1" colspan="1"><input type="text" class="border0" v-model="table1.note"/></td>
  592. </tr>
  593. </tbody>
  594. </table>
  595. <table class="table2" cellpadding="0" cellspacing="0" style="white-space: nowrap;">
  596. <tbody>
  597. <tr>
  598. <th rowspan="1" colspan="26" style="letter-spacing:6rem">火场资料</th>
  599. </tr>
  600. <tr>
  601. <td colspan="2" rowspan="1" class="txt_left">&nbsp;1.起火时间</td>
  602. <td colspan="5" rowspan="1"><input type="text" v-model="table2.fireTime"/></td>
  603. <td colspan="2" rowspan="1">发现时间</td>
  604. <td colspan="8" rowspan="1"><input type="text" v-model="table2.foundTime"/></td>
  605. <td colspan="2" rowspan="1">扑灭时间</td>
  606. <td colspan="7" rowspan="1"><input type="text" v-model="table2.blazesTime"/></td>
  607. </tr>
  608. <tr>
  609. <td colspan="2" rowspan="1" class="txt_left">&nbsp;2.地点及发现方式</td>
  610. <td colspan="2" rowspan="1" class="txt_left"><select v-model="table2.address">
  611. <option>吉林市</option>
  612. <option>延边州</option>
  613. <option>白山市</option>
  614. <option>通化市</option>
  615. <option>辽源市</option>
  616. <option>四平市</option>
  617. <option>长春市</option>
  618. <option>白城市</option>
  619. <option>松原市</option>
  620. <option>敦化航站</option>
  621. <option>长白山管委会</option>
  622. </select></td>
  623. <td colspan="13" rowspan="1"><input type="text" v-model="table2.firePlace"/></td>
  624. <td colspan="2" rowspan="1">发现方式</td>
  625. <td colspan="7" rowspan="1"><input type="text" v-model="table2.foundType"/></td>
  626. </tr>
  627. <tr>
  628. <td colspan="2" rowspan="1" class="txt_left">&nbsp;3.火场位置</td>
  629. <td colspan="2" rowspan="1" class="border_l0">东经:</td>
  630. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  631. v-model="table2.longitudeD"/></td>
  632. <td colspan="1" rowspan="1" class="border_l0">度</td>
  633. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  634. v-model="table2.longitudeM"/></td>
  635. <td colspan="1" rowspan="1" class="border_l0">分</td>
  636. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  637. v-model="table2.longitudeS"/></td>
  638. <td colspan="2" rowspan="1" class="border_l0">秒</td>
  639. <td colspan="1" rowspan="1" class="border_l0">;</td>
  640. <td colspan="2" rowspan="1" class="border_l0">北纬:</td>
  641. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  642. v-model="table2.latitudeD"/></td>
  643. <td colspan="1" rowspan="1" class="border_l0">度</td>
  644. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  645. v-model="table2.latitudeM"/></td>
  646. <td colspan="1" rowspan="1" class="border_l0">分</td>
  647. <td colspan="1" rowspan="1" class="border_l0"><input type="text" style="width:50px;"
  648. v-model="table2.latitudeS"/></td>
  649. <td colspan="1" rowspan="1" class="border_l0">秒</td>
  650. <td class="border_l0"></td>
  651. <td class="border_l0"></td>
  652. <td class="border_l0"></td>
  653. <td class="border_l0"></td>
  654. <td class="border_l0"></td>
  655. <td></td>
  656. </tr>
  657. <tr>
  658. <td colspan="2" rowspan="1" class="txt_left">&nbsp;4.起火原因</td>
  659. <td colspan="3" rowspan="1" class="txt_left"><select v-model="table2.fireSource">
  660. <option>未查明火源</option>
  661. <option>烧荒烧炭</option>
  662. <option>炼山造林</option>
  663. <option>烧牧场</option>
  664. <option disabled>烧窑</option>
  665. <option>烧隔离带</option>
  666. <option>火车喷漏</option>
  667. <option>火车甩瓦</option>
  668. <option>机车喷火</option>
  669. <option>其他(生产性火源)</option>
  670. <option>野外吸烟</option>
  671. <option>取暖做饭</option>
  672. <option>上坟烧纸</option>
  673. <option>烧山驱兽</option>
  674. <option>小孩玩火</option>
  675. <option>痴呆弄火</option>
  676. <option>家火上山</option>
  677. <option>电线引起</option>
  678. <option>其他(非生产性用火)</option>
  679. <option>故意放火</option>
  680. <option>外省(区)烧入</option>
  681. <option>外国烧入</option>
  682. <option>雷击火</option>
  683. <option>其他自然火</option>
  684. </select></td>
  685. <td colspan="3" rowspan="1">火灾种类</td>
  686. <td colspan="4" rowspan="1" class="txt_left"><select v-model="table2.fireType">
  687. <option>地表火</option>
  688. <option>树冠火</option>
  689. <option>地下火</option>
  690. </select></td>
  691. <td colspan="3" rowspan="1">火灾等级</td>
  692. <td colspan="11" rowspan="1" class="txt_left"><select v-model="table2.fireLevel">
  693. <option>一般</option>
  694. <option>较大</option>
  695. <option>重大</option>
  696. <option>特大</option>
  697. </select></td>
  698. </tr>
  699. <tr>
  700. <td colspan="2" rowspan="1" class="txt_left">&nbsp;5.火场面积(公顷)</td>
  701. <td colspan="2" rowspan="1">总面积合计</td>
  702. <td colspan="3" rowspan="1"><input type="text" v-model="table2.areaTotal"/></td>
  703. <td colspan="4" rowspan="1">受害森林面积合计</td>
  704. <td colspan="3" rowspan="1"><input type="text" v-model="table2.forestLossAreaTotal"/></td>
  705. <td colspan="1" rowspan="1">其中:</td>
  706. <td colspan="2" rowspan="1">原森林</td>
  707. <td colspan="4" rowspan="1"><input type="text" v-model="table2.originalForestArea"/></td>
  708. <td colspan="2" rowspan="1">人工林</td>
  709. <td colspan="3" rowspan="1"><input type="text" v-model="table2.artificialForestArea"/></td>
  710. </tr>
  711. <tr>
  712. <td colspan="2" rowspan="1" class="txt_left">&nbsp;6.扑火人力物力投入</td>
  713. <td colspan="2" rowspan="1">出动总人数</td>
  714. <td colspan="1" rowspan="1"><input type="text" v-model="table2.peopleTotal"/></td>
  715. <td colspan="2" rowspan="1">其中扑火队</td>
  716. <td colspan="1" rowspan="1"><input type="text" v-model="table2.blazesTeamNumber"/></td>
  717. <td colspan="1" rowspan="1">森警</td>
  718. <td colspan="2" rowspan="1"><input type="text" v-model="table2.policeNumber"/></td>
  719. <td colspan="1" rowspan="1">军队</td>
  720. <td colspan="1" rowspan="1"><input type="text" v-model="table2.armyNumber"/></td>
  721. <td colspan="1" rowspan="1">群众</td>
  722. <td colspan="1" rowspan="1"><input type="text" v-model="table2.crowdNumber"/></td>
  723. <td colspan="2" rowspan="1">风力灭火机</td>
  724. <td colspan="1" rowspan="1"><input type="text" v-model="table2.windExtinguisher"/></td>
  725. <td colspan="2" rowspan="1">二号工具</td>
  726. <td colspan="1" rowspan="1"><input type="text" v-model="table2.secondTool"/></td>
  727. <td colspan="2" rowspan="1">水枪</td>
  728. <td colspan="1" rowspan="1"><input type="text" v-model="table2.waterGun"/></td>
  729. <td colspan="1" rowspan="1">其他</td>
  730. <td colspan="1" rowspan="1"><input type="text" v-model="table2.elseThings"/></td>
  731. </tr>
  732. <tr>
  733. <td colspan="2" rowspan="1" class="txt_left">&nbsp;7.受害森林概况</td>
  734. <td colspan="2" rowspan="1">林木组成</td>
  735. <td colspan="11" rowspan="1"><input type="text" v-model="table2.forestComposition"/></td>
  736. <td colspan="2" rowspan="1">林令</td>
  737. <td colspan="4" rowspan="1"><input type="text" v-model="table2.forestToken"/></td>
  738. <td colspan="2" rowspan="1">疏密度</td>
  739. <td colspan="3" rowspan="1"><input type="text" v-model="table2.porosities"/></td>
  740. </tr>
  741. <tr>
  742. <td colspan="2" rowspan="1" class="txt_left">&nbsp;8.当日天气实况</td>
  743. <td colspan="2" rowspan="1">天气</td>
  744. <td colspan="3" rowspan="1"><input type="text" v-model="table2.weather"/></td>
  745. <td colspan="1" rowspan="1">气温</td>
  746. <td colspan="2" rowspan="1"><input type="text" v-model="table2.temperature"/></td>
  747. <td colspan="1" rowspan="1">C°</td>
  748. <td colspan="3" rowspan="1">火险等级</td>
  749. <td colspan="1" rowspan="1"><input type="text" v-model="table2.fireInsuranceLevel"/></td>
  750. <td colspan="2" rowspan="1">风力</td>
  751. <td colspan="2" rowspan="1" class="border_l0"><input type="text" v-model="table2.windLevel"/></td>
  752. <td colspan="2" rowspan="1" class="txt_left">级</td>
  753. <td colspan="2" rowspan="1">风向</td>
  754. <td colspan="3" rowspan="1"><input type="text" v-model="table2.windDirection"/></td>
  755. </tr>
  756. <tr>
  757. <td colspan="2" rowspan="1" class="txt_left">&nbsp;9.指挥扑火负责人</td>
  758. <td colspan="2" rowspan="1">单位</td>
  759. <td colspan="11" rowspan="1"><input type="text" v-model="table2.commandUnit"/></td>
  760. <td colspan="2" rowspan="1">姓名</td>
  761. <td colspan="4" rowspan="1"><input type="text" v-model="table2.commandName"/></td>
  762. <td colspan="2" rowspan="1">职务</td>
  763. <td colspan="3" rowspan="1"><input type="text" v-model="table2.commandPosition"/></td>
  764. </tr>
  765. <tr>
  766. <td colspan="2" rowspan="1" class="txt_left">&nbsp;10.火场调查负责人</td>
  767. <td colspan="2" rowspan="1">单位</td>
  768. <td colspan="11" rowspan="1"><input type="text" v-model="table2.surveyUnit"/></td>
  769. <td colspan="2" rowspan="1">姓名</td>
  770. <td colspan="4" rowspan="1"><input type="text" v-model="table2.surveyName"/></td>
  771. <td colspan="2" rowspan="1">职务</td>
  772. <td colspan="3" rowspan="1"><input type="text" v-model="table2.surveyPosition"/></td>
  773. </tr>
  774. <tr>
  775. <td colspan="2" rowspan="1" class="txt_left">&nbsp;11.火灾肇事人情况</td>
  776. <td colspan="2" rowspan="1">姓名</td>
  777. <td colspan="2" rowspan="1"><input type="text" v-model="table2.accidentName"/></td>
  778. <td colspan="2" rowspan="1">性别</td>
  779. <td colspan="1" rowspan="1"><input type="text" v-model="table2.accidentSex"/></td>
  780. <td colspan="3" rowspan="1">年龄</td>
  781. <td colspan="1" rowspan="1"><input type="text" v-model="table2.accidentAge"/></td>
  782. <td colspan="1" rowspan="1">职业</td>
  783. <td colspan="1" rowspan="1"><input type="text" v-model="table2.accidentPosition"/></td>
  784. <td colspan="2" rowspan="1">单位或住址</td>
  785. <td colspan="9" rowspan="1"><input type="text" v-model="table2.accidentUnit"/></td>
  786. </tr>
  787. <tr>
  788. <td colspan="2" rowspan="1" class="txt_left">&nbsp;12.火灾处理情况</td>
  789. <td colspan="2" rowspan="1">处理方式</td>
  790. <td colspan="4" rowspan="1"><select v-model="table2.dealType">
  791. <option>立案(刑事处理)</option>
  792. <option>破案(刑事处理)</option>
  793. <option>行政处理</option>
  794. <option>待查</option>
  795. <option>拘留</option>
  796. <option>处理</option>
  797. <option>未处理</option>
  798. </select></td>
  799. <td colspan="3" rowspan="1">已处理人数</td>
  800. <td colspan="4" rowspan="1"><input type="text" v-model="table2.dealNumber"/></td>
  801. <td colspan="4" rowspan="1">刑事处罚人数</td>
  802. <td colspan="7" rowspan="1"><input type="text" v-model="table2.criminalDealNumber"/></td>
  803. </tr>
  804. <tr>
  805. <td colspan="2" rowspan="1" class="txt_left" style="height: 60px;">&nbsp;13.对火灾肇事人<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;的处理情况
  806. </td>
  807. <td colspan="24" rowspan="1" class="txt_left">
  808. <textarea v-model="table2.accidentDealSituation"></textarea>
  809. </td>
  810. </tr>
  811. <tr>
  812. <td colspan="2" rowspan="1" class="txt_left" style="height: 60px;">&nbsp;14.对责任人员的<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任人追查情况
  813. </td>
  814. <td colspan="24" rowspan="1" class="txt_left">
  815. <textarea v-model="table2.responsibilityDealSituation"></textarea></td>
  816. </tr>
  817. <tr>
  818. <td colspan="2" rowspan="1" class="txt_left" style="height: 60px;">&nbsp;15.对有关领导的<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任追查情况
  819. </td>
  820. <td colspan="24" rowspan="1" class="txt_left">
  821. <textarea v-model="table2.leadershipDealSituation"></textarea></td>
  822. </tr>
  823. <tr class="tr_border">
  824. <td colspan="4" rowspan="1">县(市、区、局、站)填表人:</td>
  825. <td colspan="2" rowspan="1"><input type="text" v-model="table2.townForm"/></td>
  826. <td colspan="4" rowspan="1">县(市、区、局、站)审核人:</td>
  827. <td colspan="3" rowspan="1"><input type="text" v-model="table2.townAudit"/></td>
  828. <td colspan="4" rowspan="1">市(州、管委会)填表人:</td>
  829. <td colspan="2" rowspan="1"><input type="text" v-model="table2.cityForm"/></td>
  830. <td colspan="4" rowspan="1">市(州、管委会)审核人:</td>
  831. <td colspan="3" rowspan="1"><input type="text" v-model="table2.cityAudit"/></td>
  832. </tr>
  833. </tbody>
  834. </table>
  835. <div class="btm-btn-group">
  836. <el-button size="mini" type="primary"
  837. @click="updateCentereventTEventcatalogueStatus('gd',true)">归档
  838. </el-button>
  839. <el-button size="mini" type="primary"
  840. @click="regionalFlagAdd()">火灾区域
  841. </el-button>
  842. </div>
  843. </form>
  844. </div>
  845. </el-dialog>
  846. <!-- 添加区域标记 -->
  847. <el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
  848. <areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" style="width: 100%;height:74vh"
  849. :mapDiv="'fireAreaSuperMap'" :mapSite="{doubleClickZoom:false}" :codes="['9fa5']"
  850. :isSideBySide="false" :showAreaLatLng="showAreaLatLng"></areaSupermap>
  851. </el-dialog>
  852. <!-- 图片,视频预览 -->
  853. <el-dialog title="视频预览" :visible.sync="showTcPlayer" width="40%" customClass="customWidthMp4">
  854. <TcPlayer ref="TcPlayer" :playVideo="playVideo" :widthHeigt="[100,100]"></TcPlayer>
  855. </el-dialog>
  856. <el-dialog :title="cameraTitle" :visible.sync="cameraVisible" v-if="cameraVisible" customClass="videoCustomWidth"
  857. @close="cancelEventLocationShow()">
  858. <div style="width:1020px;height:625px;position:relative;">
  859. <!--视频窗口展示---海康-->
  860. <div id="playWnd" class="playWnd" style="left: 0px; top: 0px;"></div>
  861. </div>
  862. </el-dialog>
  863. </div>
  864. </template>
  865. <script>
  866. import html2canvas from 'html2canvas'//截图组件
  867. import supermapDialog from '@/components/supermap' //超图
  868. import vheader from '@/components/v-header.vue' //一体化共用头部
  869. import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
  870. import eventLogUpload from '@/views/eventLogUpload.vue' //日志上传文件
  871. import areaSupermap from '@/components/supermap'//区域标记地图
  872. import TcPlayer from '@/components/TcPlayer' //视频预览
  873. import {
  874. getEventDetail,
  875. sendEventLog,
  876. listSJfl,
  877. listYuAn,
  878. selectByeventCode,
  879. updateCentereventTEventcatalogueStatus,
  880. sendTask,
  881. listResourceByWz,
  882. updateYjYuAn,
  883. uploadBase64
  884. } from '@/api/forest'
  885. import {
  886. treeselectAll as deptTreeselect
  887. } from '@/api/system/dept'
  888. import {
  889. getHaiKangVideoServer
  890. } from '@/api/haikang/haikang'
  891. export default {
  892. dicts: ['task_source'],
  893. watch: {
  894. filterText(val) {
  895. this.$refs.LiandongDept.filter(val)
  896. }
  897. },
  898. components: {
  899. vheader,
  900. vBottomMenu,
  901. supermapDialog,
  902. eventLogUpload,
  903. areaSupermap,
  904. TcPlayer
  905. },
  906. data() {
  907. return {
  908. //海康
  909. cameraTitle: '',
  910. cameraVisible: false,
  911. initCount: 0,
  912. pubKey: '',
  913. oWebControl: null,
  914. playVideo: '',//视频预览地址
  915. showTcPlayer: false,//视频预览弹窗
  916. regionalFlagOpen: false,//区域标记
  917. //区域标记
  918. regionalFlagObj: {
  919. array: []
  920. },
  921. filterText: '',//树搜索
  922. /** *****************事件流程***************************/
  923. deptNameitem: '签收部门',
  924. sendDeptId: null,//签收部门/发起部门
  925. sendDeptName: null,//签收部门/发起部门
  926. sendEventType: null,//事件类型
  927. sendHuoZaiBanJing: null,//火灾报告
  928. sendGuanLianYuAn: null,//关联预案
  929. sendTaskSource: null,//任务来源
  930. sendTaskTitle: null,//联动标题
  931. sendTaskContent: null,//联动内容
  932. sendLianDongDept: [],//联动部门
  933. eventTypeList: [],//事件类型列表
  934. guanLianYuAnList: [],//关联预案列表
  935. deptOptions: [],//签收部门
  936. deptOptionsLiandong: [],//联动部门
  937. eventStatusButton: null,//流程按钮标识
  938. eventConfirmTitle: null,//弹窗标题 ---签收 误报 重复
  939. defaultProps: {
  940. children: 'children',
  941. label: 'label'
  942. },
  943. table1: {
  944. reportUnit: null,
  945. reportTimeY: null,
  946. reportTimeM: null,
  947. reportTimeD: null,
  948. forestFireLossTotal: null,
  949. fireLossTotal: null,
  950. forestArea: null,
  951. forestPrice: null,
  952. treesNumber: null,
  953. treesPrice: null,
  954. minorInjuriesNumber: null,
  955. minorInjuriesPrice: null,
  956. seriouslyInjuredNumber: null,
  957. seriouslyInjuredPrice: null,
  958. deathNumber: null,
  959. deathPrice: null,
  960. elseFireLossPrice: null,
  961. blazesPriceTotal: null,
  962. artificialDays: null,
  963. artificialPrice: null,
  964. vehicleNumber: null,
  965. carNumber: null,
  966. vehiclePrice: null,
  967. planeNumber: null,
  968. planePrice: null,
  969. elseBlazesPrice: null,
  970. note: null
  971. },
  972. table2: {
  973. fireTime: null,
  974. foundTime: null,
  975. blazesTime: null,
  976. address: null,
  977. firePlace: null,
  978. foundType: null,
  979. longitudeD: null,
  980. longitudeM: null,
  981. longitudeS: null,
  982. latitudeD: null,
  983. latitudeM: null,
  984. latitudeS: null,
  985. fireSource: null,
  986. fireType: null,
  987. fireLevel: null,
  988. areaTotal: null,
  989. forestLossAreaTotal: null,
  990. originalForestArea: null,
  991. artificialForestArea: null,
  992. peopleTotal: null,
  993. blazesTeamNumber: null,
  994. policeNumber: null,
  995. armyNumber: null,
  996. crowdNumber: null,
  997. windExtinguisher: null,
  998. secondTool: null,
  999. waterGun: null,
  1000. elseThings: null,
  1001. forestComposition: null,
  1002. forestToken: null,
  1003. porosities: null,
  1004. weather: null,
  1005. temperature: null,
  1006. fireInsuranceLevel: null,
  1007. windLevel: null,
  1008. windDirection: null,
  1009. commandUnit: null,
  1010. commandName: null,
  1011. commandPosition: null,
  1012. surveyUnit: null,
  1013. surveyName: null,
  1014. surveyPosition: null,
  1015. accidentName: null,
  1016. accidentSex: null,
  1017. accidentAge: null,
  1018. accidentPosition: null,
  1019. accidentUnit: null,
  1020. dealType: null,
  1021. dealNumber: null,
  1022. criminalDealNumber: null,
  1023. accidentDealSituation: null,
  1024. responsibilityDealSituation: null,
  1025. leadershipDealSituation: null,
  1026. townForm: null,
  1027. townAudit: null,
  1028. cityForm: null,
  1029. cityAudit: null
  1030. },
  1031. /** *****************事件流程***************************/
  1032. showEventConfirm: false,//事件签收弹窗
  1033. showGuanLianYuAnConfirm: false,//调整关联预案弹窗
  1034. showEventConfirm_gd: false,//事件火险报告弹窗
  1035. address: null,//事件上报地址
  1036. eventStatusValue: null,//事件状态
  1037. eventId: null,//事件ID
  1038. eventType: null,//事件类型-大类
  1039. eventCode: null,
  1040. longitude: null,
  1041. latitude: null,
  1042. eventLog: null,
  1043. eventLogList: [],
  1044. visuForestCloudYuAnBo: null,
  1045. eventDialog: false,
  1046. radius: 50,//资源搜索半径
  1047. resourcesList: [
  1048. {
  1049. resourceName: '取水口',
  1050. type: 'qsk',
  1051. count: '1',
  1052. icon: 'sj-icon-waterintake'
  1053. },
  1054. {
  1055. resourceName: '水鹤',
  1056. type: 'sh',
  1057. icon: 'sj-icon-watercrane'
  1058. },
  1059. {
  1060. resourceName: '消防栓',
  1061. type: 'xfs',
  1062. count: '1',
  1063. icon: 'sj-icon-firehydrant'
  1064. },
  1065. {
  1066. resourceName: '起降点',
  1067. type: 'qjd',
  1068. count: '1',
  1069. icon: 'sj-icon-landing'
  1070. },
  1071. {
  1072. resourceName: '检查站',
  1073. type: 'jcz',
  1074. count: '1',
  1075. icon: 'sj-icon-checkpoint'
  1076. },
  1077. {
  1078. resourceName: '防火队',
  1079. type: 'fhd',
  1080. count: '1',
  1081. icon: 'sj-icon-fireteam'
  1082. },
  1083. {
  1084. resourceName: '重点区域',
  1085. type: 'zdqy',
  1086. count: '1',
  1087. icon: 'sj-icon-tcqh'
  1088. },
  1089. {
  1090. resourceName: '摄像头',
  1091. type: 'sxt',
  1092. count: '1',
  1093. icon: 'camera'
  1094. }
  1095. ],
  1096. resourcesListCheck: [],
  1097. //文本域
  1098. feedback: ''
  1099. }
  1100. },
  1101. props: {
  1102. calendarDay: null//首页日历选择
  1103. },
  1104. methods: {
  1105. showheatPlotting(){
  1106. if(!this.$refs.supermapDialog.isheatPlotting){
  1107. this.$refs.supermapDialog.showheatPlotting(this.latitude,this.longitude)
  1108. }else{
  1109. this.$refs.supermapDialog.isheatPlotting = false
  1110. }
  1111. },
  1112. showUpdateYjYuAn() {
  1113. listYuAn().then(res => {
  1114. //关联预案列表
  1115. if (res.code == 200) {
  1116. this.guanLianYuAnList = res.data
  1117. this.showGuanLianYuAnConfirm = true
  1118. }
  1119. })
  1120. },
  1121. updateYjYuAn() {
  1122. let param = { eventCode: this.eventCode, reserve: this.sendGuanLianYuAn }
  1123. updateYjYuAn(param).then(res => {
  1124. //事件调整关联预案
  1125. if (res.code == 200) {
  1126. this.$message.success(`预案调整成功!`)
  1127. this.refreshEventDialog(this.eventCode)
  1128. this.sendGuanLianYuAn = null
  1129. this.showGuanLianYuAnConfirm = false
  1130. }
  1131. })
  1132. },
  1133. listResourceByWz(type) {
  1134. if (this.resourcesListCheck.indexOf(type) > -1) {
  1135. this.resourcesListCheck.splice(this.resourcesListCheck.indexOf(type), 1)
  1136. setTimeout(() => {
  1137. this.$refs.supermapDialog.clearMByType(type)
  1138. }, 1000)
  1139. } else {
  1140. this.resourcesListCheck.push(type)
  1141. //搜索物资
  1142. let param = { longitude: this.longitude, latitude: this.latitude, type: type, radius: this.radius }
  1143. listResourceByWz(param).then(res => {
  1144. if (res.data != null && res.data.length > 0) {
  1145. var markersList = []
  1146. for (let i = 0; i < res.data.length; i++) {
  1147. let markersMap = {
  1148. lng: 124.59,
  1149. lat: 43.02,
  1150. icon: 'marker',
  1151. bindPopupHtml: '',
  1152. click: '',
  1153. parameter: '',
  1154. keepBindPopup: false,
  1155. isAggregation: false
  1156. }
  1157. if (res.data.length > 50) {
  1158. markersMap.isAggregation = true
  1159. }
  1160. if (type == 'qsk') {
  1161. markersMap.icon = 'sj-icon-waterintake'
  1162. } else if (type == 'sh') {
  1163. markersMap.icon = 'sj-icon-watercrane'
  1164. } else if (type == 'xfs') {
  1165. markersMap.icon = 'sj-icon-firehydrant'
  1166. } else if (type == 'qjd') {
  1167. markersMap.icon = 'sj-icon-landing'
  1168. } else if (type == 'jcz') {
  1169. markersMap.icon = 'sj-icon-checkpoint'
  1170. } else if (type == 'fhd') {
  1171. markersMap.icon = 'sj-icon-fireteam'
  1172. } else if (type == 'zdqy') {
  1173. markersMap.icon = 'sj-icon-tcqh'
  1174. } else if (type == 'sxt') {
  1175. markersMap.icon = 'sj-icon-jkzx'
  1176. }
  1177. markersMap.lng = res.data[i].longitude
  1178. markersMap.lat = res.data[i].latitude
  1179. markersMap.bindPopupHtml = '<div class="map-tip">' +
  1180. '<span>' +
  1181. ' <div class="d-l-con">' +
  1182. ' <div class="d-l-l-text">' +
  1183. ' <h4>资源名称:' + res.data[i].name + '</h4>' +
  1184. ' </div>' +
  1185. ' </div>' +
  1186. ' </span>' +
  1187. '</div>'
  1188. markersList.push(markersMap)
  1189. }
  1190. setTimeout(() => {
  1191. this.$refs.supermapDialog.setMarkersByType(markersList, type)
  1192. }, 1000)
  1193. }
  1194. })
  1195. }
  1196. },
  1197. // 返回图片列表
  1198. assetTypeAnImage(filePath) {
  1199. let imageList = []
  1200. if (filePath != null && filePath.length > 0) {
  1201. for (let i = 0; i < filePath.length; i++) {
  1202. //获取最后一个.的位置
  1203. var index = filePath[i].lastIndexOf('.')
  1204. //获取后缀
  1205. var ext = filePath[i].substr(index + 1)
  1206. let aa = ['png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'svg', 'tiff'].indexOf(ext.toLowerCase()) !== -1
  1207. if (aa) {
  1208. imageList.push(filePath[i])
  1209. }
  1210. }
  1211. }
  1212. return imageList
  1213. },
  1214. // 判断是否为图片
  1215. isAssetTypeAnImage(filePath) {
  1216. //获取最后一个.的位置
  1217. var index = filePath.lastIndexOf('.')
  1218. //获取后缀
  1219. var ext = filePath.substr(index + 1)
  1220. let aa = ['png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'svg', 'tiff'].indexOf(ext.toLowerCase()) !== -1
  1221. return aa
  1222. },
  1223. // 判断是否为视频
  1224. isAssetTypeAnMp4(filePath) {
  1225. //获取最后一个.的位置
  1226. var index = filePath.lastIndexOf('.')
  1227. //获取后缀
  1228. var ext = filePath.substr(index + 1)
  1229. let aa = ['mp4'].indexOf(ext.toLowerCase()) !== -1
  1230. return aa
  1231. },
  1232. // 判断是否为Word
  1233. isAssetTypeAnWord(filePath) {
  1234. //获取最后一个.的位置
  1235. var index = filePath.lastIndexOf('.')
  1236. //获取后缀
  1237. var ext = filePath.substr(index + 1)
  1238. let aa = ['doc', 'docx'].indexOf(ext.toLowerCase()) !== -1
  1239. return aa
  1240. },
  1241. // 判断是否为Excel
  1242. isAssetTypeAnExcel(filePath) {
  1243. //获取最后一个.的位置
  1244. var index = filePath.lastIndexOf('.')
  1245. //获取后缀
  1246. var ext = filePath.substr(index + 1)
  1247. let aa = ['xlsx', 'xls', 'csv'].indexOf(ext.toLowerCase()) !== -1
  1248. return aa
  1249. },
  1250. // 获取文件名称
  1251. getFileName(name) {
  1252. if (name.lastIndexOf('/') > -1) {
  1253. return name.slice(name.lastIndexOf('/') + 1)
  1254. } else {
  1255. return ''
  1256. }
  1257. },
  1258. clickFile(fileUrl, fileName) {
  1259. if (this.isAssetTypeAnImage(fileUrl)) {
  1260. return
  1261. } else if (this.isAssetTypeAnMp4(fileUrl)) {
  1262. this.showTcPlayer = true
  1263. setTimeout(() => {
  1264. this.playVideo = fileUrl
  1265. }, 500)
  1266. } else {
  1267. let a = document.createElement('a')
  1268. a.download = fileName
  1269. a.href = fileUrl
  1270. a.target="_blank"
  1271. a.click()
  1272. }
  1273. },
  1274. setValue(event) {
  1275. //签收选择部门
  1276. this.sendDeptName = event.label
  1277. this.sendDeptId = event.value
  1278. },
  1279. cancelEventConfirm() {
  1280. //关闭事件签收弹窗
  1281. this.sendDeptId = null
  1282. this.sendDeptName = null
  1283. this.sendEventType = null
  1284. this.sendHuoZaiBanJing = null
  1285. this.sendGuanLianYuAn = null
  1286. this.longitude = null
  1287. this.latitude = null
  1288. this.sendTaskTitle = null
  1289. this.sendTaskSource = null
  1290. this.sendTaskContent = null
  1291. this.sendLianDongDept = []
  1292. this.eventTypeList = []//事件类型列表
  1293. this.guanLianYuAnList = []//关联预案列表
  1294. this.deptOptions = []//签收部门
  1295. this.deptOptionsLiandong = []//联动部门
  1296. this.eventStatusButton = null//流程按钮标识
  1297. this.eventConfirmTitle = null//流程按钮标识
  1298. this.resourcesListCheck = []
  1299. },
  1300. cancelEventConfirm_send() {
  1301. //清空表单数据
  1302. this.sendDeptId = null
  1303. this.sendDeptName = null
  1304. this.sendEventType = null
  1305. this.sendHuoZaiBanJing = null
  1306. this.sendGuanLianYuAn = null
  1307. this.sendTaskTitle = null
  1308. this.sendTaskSource = null
  1309. this.sendTaskContent = null
  1310. this.sendLianDongDept = []
  1311. this.eventTypeList = []//事件类型列表
  1312. this.guanLianYuAnList = []//关联预案列表
  1313. this.deptOptions = []//签收部门
  1314. this.deptOptionsLiandong = []//联动部门
  1315. },
  1316. cancelEventConfirm_gd() {
  1317. //关闭事件火险报告窗口
  1318. this.resetTable1()
  1319. this.resetTable2()
  1320. },
  1321. cancelEventConfirm_mp4() {
  1322. //关闭视频窗口
  1323. this.playVideo=''
  1324. this.$refs.TcPlayer.destroyed()
  1325. },
  1326. resetTable1() {
  1327. this.table1 = {
  1328. reportUnit: null,
  1329. reportTimeY: null,
  1330. reportTimeM: null,
  1331. reportTimeD: null,
  1332. forestFireLossTotal: null,
  1333. fireLossTotal: null,
  1334. forestArea: null,
  1335. forestPrice: null,
  1336. treesNumber: null,
  1337. treesPrice: null,
  1338. minorInjuriesNumber: null,
  1339. minorInjuriesPrice: null,
  1340. seriouslyInjuredNumber: null,
  1341. seriouslyInjuredPrice: null,
  1342. deathNumber: null,
  1343. deathPrice: null,
  1344. elseFireLossPrice: null,
  1345. blazesPriceTotal: null,
  1346. artificialDays: null,
  1347. artificialPrice: null,
  1348. vehicleNumber: null,
  1349. carNumber: null,
  1350. vehiclePrice: null,
  1351. planeNumber: null,
  1352. planePrice: null,
  1353. elseBlazesPrice: null,
  1354. note: null
  1355. }
  1356. },
  1357. resetTable2() {
  1358. this.table2 = {
  1359. fireTime: null,
  1360. foundTime: null,
  1361. blazesTime: null,
  1362. address: null,
  1363. firePlace: null,
  1364. foundType: null,
  1365. longitudeD: null,
  1366. longitudeM: null,
  1367. longitudeS: null,
  1368. latitudeD: null,
  1369. latitudeM: null,
  1370. latitudeS: null,
  1371. fireSource: null,
  1372. fireType: null,
  1373. fireLevel: null,
  1374. areaTotal: null,
  1375. forestLossAreaTotal: null,
  1376. originalForestArea: null,
  1377. artificialForestArea: null,
  1378. peopleTotal: null,
  1379. blazesTeamNumber: null,
  1380. policeNumber: null,
  1381. armyNumber: null,
  1382. crowdNumber: null,
  1383. windExtinguisher: null,
  1384. secondTool: null,
  1385. waterGun: null,
  1386. elseThings: null,
  1387. forestComposition: null,
  1388. forestToken: null,
  1389. porosities: null,
  1390. weather: null,
  1391. temperature: null,
  1392. fireInsuranceLevel: null,
  1393. windLevel: null,
  1394. windDirection: null,
  1395. commandUnit: null,
  1396. commandName: null,
  1397. commandPosition: null,
  1398. surveyUnit: null,
  1399. surveyName: null,
  1400. surveyPosition: null,
  1401. accidentName: null,
  1402. accidentSex: null,
  1403. accidentAge: null,
  1404. accidentPosition: null,
  1405. accidentUnit: null,
  1406. dealType: null,
  1407. dealNumber: null,
  1408. criminalDealNumber: null,
  1409. accidentDealSituation: null,
  1410. responsibilityDealSituation: null,
  1411. leadershipDealSituation: null,
  1412. townForm: null,
  1413. townAudit: null,
  1414. cityForm: null,
  1415. cityAudit: null
  1416. }
  1417. },
  1418. /**
  1419. * eventStatusValue 事件状态
  1420. * isSend 是否办理
  1421. * */
  1422. async updateCentereventTEventcatalogueStatus(eventStatus, isSend) {
  1423. this.eventStatusButton = eventStatus
  1424. if (!isSend) {//事件弹窗
  1425. if (eventStatus == 'qs') {//签收
  1426. this.eventConfirmTitle = '事件签收'
  1427. let param = { parentId: this.eventType }
  1428. await listSJfl(param).then(res => {
  1429. //事件类型
  1430. if (res.code == 200) {
  1431. this.eventTypeList = res.data
  1432. }
  1433. })
  1434. await listYuAn().then(res => {
  1435. //关联预案
  1436. if (res.code == 200) {
  1437. this.guanLianYuAnList = res.data
  1438. }
  1439. })
  1440. await selectByeventCode(this.eventCode).then(res => {
  1441. //签收部门
  1442. if (res.code == 200) {
  1443. this.deptOptions = res.data
  1444. this.deptNameitem = '签收部门'
  1445. }
  1446. })
  1447. this.showEventConfirm = true
  1448. } else if (eventStatus == 'wb') {//误报
  1449. this.eventConfirmTitle = '事件误报'
  1450. await selectByeventCode(this.eventCode).then(res => {
  1451. //签收部门
  1452. if (res.code == 200) {
  1453. this.deptOptions = res.data
  1454. this.deptNameitem = '签收部门'
  1455. }
  1456. })
  1457. this.showEventConfirm = true
  1458. } else if (eventStatus == 'cf') {//重复
  1459. this.eventConfirmTitle = '事件重复'
  1460. await selectByeventCode(this.eventCode).then(res => {
  1461. //签收部门
  1462. if (res.code == 200) {
  1463. this.deptOptions = res.data
  1464. this.deptNameitem = '签收部门'
  1465. }
  1466. })
  1467. this.showEventConfirm = true
  1468. } else if (eventStatus == 'ld') {//联动
  1469. await selectByeventCode(this.eventCode).then(res => {
  1470. //签收部门
  1471. if (res.code == 200) {
  1472. this.deptOptions = res.data
  1473. this.deptNameitem = '发起部门'
  1474. }
  1475. })
  1476. this.eventConfirmTitle = '事件联动'
  1477. /** 查询部门树结构 */
  1478. await deptTreeselect().then(response => {
  1479. this.deptOptionsLiandong = response.data
  1480. })
  1481. this.showEventConfirm = true
  1482. } else if (eventStatus == 'gd') {//归档填报
  1483. this.showEventConfirm_gd = true
  1484. }
  1485. } else {//事件提交后台
  1486. if (eventStatus == 'ld') {
  1487. //事件处理流程--联动
  1488. let array = this.$refs.LiandongDept.getCheckedNodes()
  1489. if (array != null && array.length > 0) {
  1490. for (let i = 0; i < array.length; i++) {
  1491. this.sendLianDongDept.push({ 'taskDeptId': array[i].id, 'taskDeptName': array[i].label })
  1492. }
  1493. }
  1494. if (this.sendTaskSource == '' || this.sendTaskSource == null) {
  1495. this.$message.error(`请选择任务来源!`)
  1496. return
  1497. }
  1498. if (this.sendTaskContent == '' || this.sendTaskContent == null) {
  1499. this.$message.error(`请输入任务内容!`)
  1500. return
  1501. }
  1502. if (this.sendTaskTitle == '' || this.sendTaskTitle == null) {
  1503. this.$message.error(`请输入任务标题!`)
  1504. return
  1505. }
  1506. if (this.sendLianDongDept == '' || this.sendLianDongDept == null) {
  1507. this.$message.error(`请选择任务联动部门!`)
  1508. return
  1509. }
  1510. if (this.sendDeptId == '' || this.sendDeptId == null || this.sendDeptName == '' || this.sendDeptName == null) {
  1511. this.$message.error(`请选择任务发起部门!`)
  1512. return
  1513. }
  1514. let param = {
  1515. sendDeptId: this.sendDeptId,
  1516. sendDept: this.sendDeptName,
  1517. eventCode: this.eventCode,
  1518. longitude: this.longitude,
  1519. latitude: this.latitude,
  1520. taskTitle: this.sendTaskTitle,
  1521. taskSource: this.sendTaskSource,
  1522. taskContent: this.sendTaskContent,
  1523. taskDept: this.sendLianDongDept
  1524. }
  1525. sendTask(param).then(res => {
  1526. if (res.code == 200) {
  1527. this.$message.success(`联动发起成功!`)
  1528. this.refreshEventDialog(this.eventCode)
  1529. this.cancelEventConfirm_send()
  1530. this.showEventConfirm = false
  1531. }
  1532. })
  1533. } else if (eventStatus == 'gd') {
  1534. //事件处理流程--归档
  1535. let param = {
  1536. eventCode: this.eventCode,
  1537. eventStatus: eventStatus,
  1538. id: this.eventId,
  1539. czlx: '',
  1540. forestFireLoss: { eventId: this.eventCode, table1: this.table1 },
  1541. fireInformation: { eventId: this.eventCode, table2: this.table2 },
  1542. array: this.regionalFlagObj.array
  1543. }
  1544. updateCentereventTEventcatalogueStatus(param).then(res => {
  1545. if (res.code == 200) {
  1546. this.$message.success(`处理成功!`)
  1547. this.refreshEvent(this.eventCode)
  1548. this.cancelEventConfirm_send()
  1549. this.showEventConfirm_gd = false
  1550. this.$emit('getEventList', this.calendarDay)
  1551. this.$emit('getTodayEvents', this.calendarDay)
  1552. }
  1553. })
  1554. } else {
  1555. if (eventStatus == 'qs' || eventStatus == 'wb' || eventStatus == 'cf') {
  1556. if (this.sendDeptId == '' || this.sendDeptId == null || this.sendDeptName == '' || this.sendDeptName == null) {
  1557. this.$message.error(`请选择部门!`)
  1558. return
  1559. }
  1560. }
  1561. //事件处理流程
  1562. let param = {
  1563. eventCode: this.eventCode,
  1564. deptId: this.sendDeptId,
  1565. deptName: this.sendDeptName,
  1566. eventStatus: eventStatus,
  1567. eventType: this.sendEventType,
  1568. id: this.eventId,
  1569. czlx: '',
  1570. fireRadius: this.sendHuoZaiBanJing,
  1571. reserve: this.sendGuanLianYuAn
  1572. }
  1573. updateCentereventTEventcatalogueStatus(param).then(res => {
  1574. if (res.code == 200) {
  1575. this.$message.success(`处理成功!`)
  1576. this.refreshEvent(this.eventCode)
  1577. this.cancelEventConfirm_send()
  1578. this.showEventConfirm = false
  1579. this.$emit('getEventList', this.calendarDay)
  1580. this.$emit('getTodayEvents', this.calendarDay)
  1581. }
  1582. })
  1583. }
  1584. }
  1585. },
  1586. filterNode(value, data) {
  1587. //树搜索
  1588. if (!value) return true
  1589. return data.label.indexOf(value) !== -1
  1590. },
  1591. sendEventLog() {
  1592. //日志发送
  1593. let param = { eventCode: this.eventCode, conext: this.eventLog }
  1594. sendEventLog(param).then(res => {
  1595. if (res.code == 200) {
  1596. this.$message.success(`发送成功!`)
  1597. this.eventLog = null
  1598. this.refreshEventDialog(this.eventCode)
  1599. }
  1600. })
  1601. },
  1602. showEventLogUpload() {
  1603. this.$refs.eventLogUpload.eventLogUpload(this.eventCode)
  1604. },
  1605. cancelEventShow() {
  1606. console.log('关闭事件弹窗')
  1607. this.eventLogList = []
  1608. },
  1609. showEventDialog(eventCode) {
  1610. this.eventCode = eventCode
  1611. let that = this
  1612. //获取事件详情
  1613. getEventDetail({ eventCode: eventCode }).then(res => {
  1614. this.eventDialog = true
  1615. this.eventLogList = res.data.eventlog//日志列表
  1616. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  1617. if (res.data.catalogue != null && res.data.catalogue.length > 0) {
  1618. this.address = res.data.catalogue[0].address
  1619. this.eventStatusValue = res.data.catalogue[0].eventStatusValue
  1620. this.eventType = res.data.catalogue[0].eventType
  1621. this.eventId = res.data.catalogue[0].id
  1622. this.longitude = res.data.catalogue[0].longitude
  1623. this.latitude = res.data.catalogue[0].latitude
  1624. let markersMap = {
  1625. lng: 124.59,
  1626. lat: 43.02,
  1627. icon: 'marker',
  1628. bindPopupHtml: '',
  1629. click: '',
  1630. parameter: '',
  1631. keepBindPopup: false,
  1632. isAggregation: false,
  1633. radius: 0
  1634. }
  1635. if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_1' && res.data.catalogue[0].urgeCount == 0) {
  1636. markersMap.icon = 'sj-icon-map-xinshangbao'
  1637. }
  1638. if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_1' && res.data.catalogue[0].urgeCount > 0) {
  1639. markersMap.icon = 'sj-icon-map-cuiban'
  1640. } else if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_2') {
  1641. markersMap.icon = 'sj-icon-map-qianshou'
  1642. } else if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_5') {
  1643. markersMap.icon = 'sj-icon-map-banjie'
  1644. } else if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_6') {
  1645. markersMap.icon = 'sj-icon-map-guidang'
  1646. }
  1647. markersMap.lng = res.data.catalogue[0].longitude
  1648. markersMap.lat = res.data.catalogue[0].latitude
  1649. 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) {
  1650. markersMap.radius = res.data.eventdetail[0].fireRadius
  1651. }
  1652. setTimeout(() => {
  1653. that.$refs.supermapDialog.dynamicPlotting()//弹出动态绘制窗口,防止截图位置改变
  1654. that.$refs.supermapDialog.clearM(false)
  1655. that.$refs.supermapDialog.setMarkersRadius([markersMap])
  1656. that.$refs.supermapDialog.dropLocation(res.data.catalogue[0].latitude, res.data.catalogue[0].longitude)
  1657. }, 2000)
  1658. }
  1659. if (res.data.centermonitorTCamera != null) {
  1660. let markersMap = {
  1661. lng: 124.59,
  1662. lat: 43.02,
  1663. icon: 'camera',
  1664. bindPopupHtml: '',
  1665. click: 'preview',
  1666. parameter: res.data.centermonitorTCamera.cameraCode,
  1667. keepBindPopup: false,
  1668. isAggregation: false,
  1669. radius: 0
  1670. }
  1671. markersMap.bindPopupHtml = '<div class="map-tip">' +
  1672. '<span>' +
  1673. ' <div class="d-l-con">' +
  1674. ' <div class="d-l-l-text">' +
  1675. ' <h4>摄像头名称:' + res.data.centermonitorTCamera.cameraName + '</h4>' +
  1676. ' </div>' +
  1677. ' </div>' +
  1678. ' </span>' +
  1679. '<span>' +
  1680. '</div>'
  1681. markersMap.lng = res.data.centermonitorTCamera.longitude
  1682. markersMap.lat = res.data.centermonitorTCamera.latitude
  1683. setTimeout(() => {
  1684. that.$refs.supermapDialog.setMarkers([markersMap])
  1685. }, 2000)
  1686. }
  1687. })
  1688. },
  1689. refreshEvent(eventCode) {
  1690. this.eventCode = eventCode
  1691. let that = this
  1692. //刷新--事件详情
  1693. getEventDetail({ eventCode: eventCode }).then(res => {
  1694. this.eventDialog = true
  1695. this.eventLogList = res.data.eventlog
  1696. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  1697. if (res.data.catalogue != null && res.data.catalogue.length > 0) {
  1698. this.address = res.data.catalogue[0].address
  1699. this.eventStatusValue = res.data.catalogue[0].eventStatusValue
  1700. this.eventType = res.data.catalogue[0].eventType
  1701. this.eventId = res.data.catalogue[0].id
  1702. this.latitude = res.data.catalogue[0].latitude
  1703. this.longitude = res.data.catalogue[0].longitude
  1704. let markersMap = {
  1705. lng: 124.59,
  1706. lat: 43.02,
  1707. icon: 'marker',
  1708. bindPopupHtml: '',
  1709. click: '',
  1710. parameter: '',
  1711. keepBindPopup: false,
  1712. isAggregation: false,
  1713. radius: 0
  1714. }
  1715. if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_1' && res.data.catalogue[0].urgeCount == 0) {
  1716. markersMap.icon = 'sj-icon-map-xinshangbao'
  1717. }
  1718. if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_1' && res.data.catalogue[0].urgeCount > 0) {
  1719. markersMap.icon = 'sj-icon-map-cuiban'
  1720. } else if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_2') {
  1721. markersMap.icon = 'sj-icon-map-qianshou'
  1722. } else if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_5') {
  1723. markersMap.icon = 'sj-icon-map-banjie'
  1724. } else if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_6') {
  1725. markersMap.icon = 'sj-icon-map-guidang'
  1726. }
  1727. markersMap.lng = res.data.catalogue[0].longitude
  1728. markersMap.lat = res.data.catalogue[0].latitude
  1729. 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) {
  1730. markersMap.radius = res.data.eventdetail[0].fireRadius
  1731. }
  1732. setTimeout(() => {
  1733. that.$refs.supermapDialog.clearM(false)
  1734. 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) {
  1735. that.$refs.supermapDialog.setMarkersRadius([markersMap])
  1736. } else {
  1737. that.$refs.supermapDialog.setMarkers([markersMap])
  1738. }
  1739. that.$refs.supermapDialog.dropLocation(res.data.catalogue[0].latitude, res.data.catalogue[0].longitude)
  1740. }, 2000)
  1741. }
  1742. if (res.data.centermonitorTCamera != null) {
  1743. let markersMap = {
  1744. lng: 124.59,
  1745. lat: 43.02,
  1746. icon: 'camera',
  1747. bindPopupHtml: '',
  1748. click: 'preview',
  1749. parameter: res.data.centermonitorTCamera.cameraCode,
  1750. keepBindPopup: false,
  1751. isAggregation: false,
  1752. radius: 0
  1753. }
  1754. markersMap.bindPopupHtml = '<div class="map-tip">' +
  1755. '<span>' +
  1756. ' <div class="d-l-con">' +
  1757. ' <div class="d-l-l-text">' +
  1758. ' <h4>摄像头名称:' + res.data.centermonitorTCamera.cameraName + '</h4>' +
  1759. ' </div>' +
  1760. ' </div>' +
  1761. ' </span>' +
  1762. '<span>' +
  1763. '</div>'
  1764. markersMap.lng = res.data.centermonitorTCamera.longitude
  1765. markersMap.lat = res.data.centermonitorTCamera.latitude
  1766. setTimeout(() => {
  1767. that.$refs.supermapDialog.setMarkers([markersMap])
  1768. }, 2000)
  1769. }
  1770. })
  1771. },
  1772. refreshEventDialog(eventCode) {
  1773. //刷新--事件日志
  1774. getEventDetail({ eventCode: eventCode }).then(res => {
  1775. this.eventLogList = res.data.eventlog
  1776. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  1777. })
  1778. },
  1779. // 页面元素转图片
  1780. toImage() {
  1781. // 手动创建一个 canvas 标签
  1782. const canvas = document.createElement('canvas')
  1783. // 获取父标签,意思是这个标签内的 DOM 元素生成图片
  1784. // imageTofile是给截图范围内的父级元素自定义的ref名称
  1785. // let canvasBox = this.$refs.imageTofile
  1786. let canvasBox = document.getElementById('forestWarmSuperMap')
  1787. let toolbar = document.getElementById('toolbar')
  1788. canvasBox.removeChild(toolbar)
  1789. // 获取父级的宽高
  1790. const width = parseInt(window.getComputedStyle(canvasBox).width)
  1791. const height = parseInt(window.getComputedStyle(canvasBox).height)
  1792. // 宽高 * 2 并放大 2 倍 是为了防止图片模糊
  1793. canvas.width = width * 2
  1794. canvas.height = height * 2
  1795. canvas.style.width = width + 'px'
  1796. canvas.style.height = height + 'px'
  1797. const context = canvas.getContext('2d')
  1798. context.scale(2, 2)
  1799. const options = {
  1800. backgroundColor: null,
  1801. canvas: canvas,
  1802. useCORS: true
  1803. }
  1804. html2canvas(canvasBox, options).then((canvas) => {
  1805. // toDataURL 图片格式转成 base64
  1806. let dataBase64 = canvas.toDataURL('image/png')
  1807. console.log(dataBase64)
  1808. this.uploadBase64(dataBase64)
  1809. })
  1810. canvasBox.appendChild(toolbar)
  1811. },
  1812. uploadBase64(dataBase64) {
  1813. //事件详情截图直接上传日志
  1814. uploadBase64({ eventCode: this.eventCode, base64: dataBase64 }).then(res => {
  1815. if (res.code == 200) {
  1816. this.$message.success(`截图上传成功!`)
  1817. this.refreshEventDialog(this.eventCode)
  1818. }
  1819. })
  1820. },
  1821. regionalFlagAdd: function() {//火灾区域
  1822. this.regionalFlagObj.array = []
  1823. this.regionalFlagOpen = true
  1824. },
  1825. showAreaLatLng: function(latlng) {//获取火灾区域经纬度
  1826. console.log(latlng)
  1827. this.regionalFlagObj.array = latlng
  1828. this.$modal.msgSuccess('获取坐标成功!')
  1829. },
  1830. /** ----------------------------------摄像头预览开始------------------------------------- */
  1831. alertLogin: function() {
  1832. this.$modal.msg('登录中....')
  1833. },
  1834. alertLoginSuccess: function() {
  1835. this.$modal.msgSuccess('登录成功!')
  1836. },
  1837. alertLoginFailed: function() {
  1838. this.$modal.msgError('登陆失败!')
  1839. },
  1840. alertReinstall: function() {
  1841. this.$modal.msgWarning('请重新安装客户端')
  1842. },
  1843. cancelEventLocationShow() {
  1844. if (this.oWebControl != null) {
  1845. this.oWebControl.JS_HideWnd() // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  1846. this.oWebControl.JS_Disconnect().then(function() { // 断开与插件服务连接成功
  1847. },
  1848. function() { // 断开与插件服务连接失败
  1849. })
  1850. }
  1851. },
  1852. /** 预览按钮操作 */
  1853. preview(cameraCode) {
  1854. let that = this
  1855. // getDahuaVideoServer().then(newResponse => {
  1856. // console.log(newResponse)
  1857. // this.ws.detectConnectQt().then(res => {
  1858. // if (res) { // 连接客户端成功
  1859. // this.alertLogin()
  1860. // this.ws.login({
  1861. // loginIp: newResponse.loginIp,
  1862. // loginPort: newResponse.loginPort,
  1863. // userName: newResponse.userName,
  1864. // userPwd: newResponse.userPwd,
  1865. // token: '',
  1866. // https: 1
  1867. // })
  1868. // this.ws.on('loginState', (res) => {
  1869. // this.isLogin = res
  1870. // console.log('---res-----', res)
  1871. // if (res) {
  1872. // this.alertLoginSuccess()
  1873. // this.activePanel = 'key2'
  1874. // this.realTimeVideoDialog(channelCode)
  1875. // } else {
  1876. // this.alertLoginFailed()
  1877. // }
  1878. // })
  1879. // } else { // 连接客户端失败
  1880. // this.alertReinstall()
  1881. // }
  1882. // })
  1883. // })
  1884. that.cameraVisible = true
  1885. getHaiKangVideoServer({cameraCode:cameraCode}).then(newResponse => {
  1886. that.cameraTitle = '摄像头-'+newResponse.data.cameraName
  1887. that.initPlugin(newResponse.data.appkey,newResponse.data.loginIp,newResponse.data.secret,newResponse.data.loginPort)
  1888. setTimeout(function() {
  1889. that.playhk(newResponse.data.channelCode)
  1890. }, 5000)
  1891. })
  1892. },
  1893. realTimeVideoDialog(cameraParams) { // 调用弹窗实时播放接口
  1894. if (!this.isLogin) {
  1895. this.$Message.info('正在登陆客户端,请稍等......')
  1896. return false
  1897. }
  1898. this.ws.openVideo(cameraParams)
  1899. },
  1900. /** ----------------------------------摄像头预览结束------------------------------------- */
  1901. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  1902. // 创建播放实例
  1903. initPlugin(newappkey,newloginIp,newsecret,newloginPort) {
  1904. let that=this
  1905. that.oWebControl = new WebControl({
  1906. szPluginContainer: 'playWnd', // 指定容器id
  1907. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  1908. iServicePortEnd: 15909,
  1909. szClassId: '23BF3B0A-2C56-4D97-9C03-0CB103AA8F11', // 用于IE10使用ActiveX的clsid
  1910. cbConnectSuccess: function() { // 创建WebControl实例成功
  1911. that.oWebControl.JS_StartService('window', { // WebControl实例创建成功后需要启动服务
  1912. dllPath: './VideoPluginConnect.dll' // 值"./VideoPluginConnect.dll"写死
  1913. }).then(function() { // 启动插件服务成功
  1914. that.oWebControl.JS_SetWindowControlCallback({ // 设置消息回调
  1915. cbIntegrationCallBack: cbIntegrationCallBack
  1916. })
  1917. that.oWebControl.JS_CreateWnd('playWnd', 1020, 600).then(function() { //JS_CreateWnd创建视频播放窗口,宽高可设定
  1918. that.init(newappkey,newloginIp,newsecret,newloginPort) // 创建播放实例成功后初始化
  1919. })
  1920. }, function() { // 启动插件服务失败
  1921. })
  1922. },
  1923. cbConnectError: function() { // 创建WebControl实例失败
  1924. that.oWebControl = null
  1925. $('#playWnd').html('插件未启动,正在尝试启动,请稍候...<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  1926. WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
  1927. initCount++
  1928. if (initCount < 3) {
  1929. setTimeout(function() {
  1930. that.initPlugin(newappkey,newloginIp,newsecret,newloginPort)
  1931. }, 3000)
  1932. } else {
  1933. $('#playWnd').html('插件启动失败,请检查插件是否安装!<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  1934. }
  1935. },
  1936. cbConnectClose: function(bNormalClose) {
  1937. // 异常断开:bNormalClose = false
  1938. // JS_Disconnect正常断开:bNormalClose = true
  1939. console.log('cbConnectClose')
  1940. that.oWebControl = null
  1941. }
  1942. })
  1943. },
  1944. //播放海康摄像头
  1945. playhk(channelCode) {
  1946. var cameraIndexCode = channelCode //获取输入的监控点编号值,必填
  1947. var streamMode = 0 //主子码流标识:0-主码流,1-子码流
  1948. var transMode = 1 //传输协议:0-UDP,1-TCP
  1949. var gpuMode = 0 //是否启用GPU硬解,0-不启用,1-启用
  1950. var wndId = -1 //播放窗口序号(在2x2以上布局下可指定播放窗口)
  1951. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, '')
  1952. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, '')
  1953. this.oWebControl.JS_RequestInterface({
  1954. funcName: 'startPreview',
  1955. argument: JSON.stringify({
  1956. cameraIndexCode: cameraIndexCode, //监控点编号
  1957. streamMode: streamMode, //主子码流标识
  1958. transMode: transMode, //传输协议
  1959. gpuMode: gpuMode, //是否开启GPU硬解
  1960. wndId: wndId //可指定播放窗口
  1961. })
  1962. })
  1963. },
  1964. //初始化
  1965. init(newappkey,newloginIp,newsecret,newloginPort) {
  1966. let that = this
  1967. that.getPubKey(function() {
  1968. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  1969. var appkey = newappkey //综合安防管理平台提供的appkey,必填
  1970. var secret = that.setEncrypt(newsecret) //综合安防管理平台提供的secret,必填
  1971. var ip = newloginIp //综合安防管理平台IP地址,必填
  1972. var playMode = 0 //初始播放模式:0-预览,1-回放
  1973. var port = Number(newloginPort) //综合安防管理平台端口,若启用HTTPS协议,默认443
  1974. var snapDir = 'D:\\SnapDir' //抓图存储路径
  1975. var videoDir = 'D:\\VideoDir' //紧急录像或录像剪辑存储路径
  1976. var layout = '1x1' //playMode指定模式的布局
  1977. var enableHTTPS = 1 //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  1978. var encryptedFields = 'secret' //加密字段,默认加密领域为secret
  1979. var showToolbar = 1 //是否显示工具栏,0-不显示,非0-显示
  1980. var showSmart = 1 //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  1981. var buttonIDs = '0,16,256,257,258,259,260,512,513,514,515,516,517,768,769' //自定义工具条按钮
  1982. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  1983. that.oWebControl.JS_RequestInterface({
  1984. funcName: 'init',
  1985. argument: JSON.stringify({
  1986. appkey: appkey, //API网关提供的appkey
  1987. secret: secret, //API网关提供的secret
  1988. ip: ip, //API网关IP地址
  1989. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  1990. port: port, //端口
  1991. snapDir: snapDir, //抓图存储路径
  1992. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  1993. layout: layout, //布局
  1994. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  1995. encryptedFields: encryptedFields, //加密字段
  1996. showToolbar: showToolbar, //是否显示工具栏
  1997. showSmart: showSmart, //是否显示智能信息
  1998. buttonIDs: buttonIDs //自定义工具条按钮
  1999. })
  2000. }).then(function(oData) {
  2001. that.oWebControl.JS_Resize(1020, 600) // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  2002. })
  2003. })
  2004. },
  2005. //获取公钥
  2006. getPubKey(callback) {
  2007. let that = this
  2008. that.oWebControl.JS_RequestInterface({
  2009. funcName: 'getRSAPubKey',
  2010. argument: JSON.stringify({
  2011. keyLength: 1024
  2012. })
  2013. }).then(function(oData) {
  2014. console.log(oData)
  2015. if (oData.responseMsg.data) {
  2016. that.pubKey = oData.responseMsg.data
  2017. callback()
  2018. }
  2019. })
  2020. },
  2021. //RSA加密
  2022. setEncrypt(value) {
  2023. var encrypt = new JSEncrypt()
  2024. encrypt.setPublicKey(this.pubKey)
  2025. return encrypt.encrypt(value)
  2026. },
  2027. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  2028. }
  2029. }
  2030. // 推送消息
  2031. function cbIntegrationCallBack(oData) {
  2032. console.log(JSON.stringify(oData.responseMsg))
  2033. }
  2034. </script>
  2035. <style lang="scss" scoped>
  2036. @import '@/assets/styles/base.scss';
  2037. //弹层样式
  2038. //.customWidthMp4 {
  2039. // width: 70px !important;
  2040. // height: 70px !important;
  2041. //}
  2042. .tree-border {
  2043. border: 1px $barBorder;
  2044. }
  2045. button {
  2046. padding: .5rem;
  2047. }
  2048. /** 火灾报告**/
  2049. //@font-face {
  2050. // font-family: 'fontnameRegular';
  2051. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  2052. //}
  2053. body,
  2054. html,
  2055. * {
  2056. padding: 0px;
  2057. margin: 0px;
  2058. font-family: "fontnameRegular";
  2059. }
  2060. .table-container {
  2061. width: 100%;
  2062. }
  2063. .txt_right {
  2064. text-align: right !important;
  2065. }
  2066. .txt_left {
  2067. text-align: left !important;
  2068. }
  2069. table {
  2070. border-spacing: 0;
  2071. border-collapse: collapse;
  2072. width: 99%;
  2073. margin: 0 auto;
  2074. color: $inBlue;
  2075. }
  2076. table input {
  2077. font-size: 1rem;
  2078. border: 0px;
  2079. outline: 0px;
  2080. font-family: "微软雅黑";
  2081. background: none;
  2082. color: $inBlue;
  2083. }
  2084. table th input:hover {
  2085. background: $eventBG;
  2086. }
  2087. table thead th {
  2088. font-size: 1rem;
  2089. font-family: "宋体";
  2090. height: 2rem;
  2091. border-top: 0px;
  2092. border-left: 0px;
  2093. border-right: 0px;
  2094. outline: 0px;
  2095. }
  2096. table tr td {
  2097. font-size: 1rem;
  2098. font-family: "fontnameRegular";
  2099. height: 2rem;
  2100. border: 1px $searchBorder;
  2101. text-align: center;
  2102. }
  2103. .font1 {
  2104. font-size: 1.7rem;
  2105. font-weight: bolder;
  2106. }
  2107. .border0 {
  2108. width: 100% !important;
  2109. }
  2110. .border0 tr td {
  2111. border: 0px !important;
  2112. }
  2113. table tr td input {
  2114. width: 100%;
  2115. /* display: inline-block;*/
  2116. outline: 0px;
  2117. text-align: left;
  2118. height: 94%;
  2119. color: $inBlue;
  2120. background: none;
  2121. float: left;
  2122. padding: 0 .5rem;
  2123. }
  2124. table tr td input:hover {
  2125. background: $eventBG;
  2126. }
  2127. .int_tr td input {
  2128. text-align: center !important;
  2129. }
  2130. .table2 tr th {
  2131. font-size: 1.7rem;
  2132. padding: .5rem 0;
  2133. font-family: 'fontnameRegular';
  2134. }
  2135. .table2 tr td {
  2136. font-size: 1rem;
  2137. }
  2138. .table2 tr td select {
  2139. border: 0px !important;
  2140. outline: 0px;
  2141. width: 100%;
  2142. font-family: "微软雅黑";
  2143. font-size: 1rem;
  2144. padding-left: 1%;
  2145. color: $inBlue;
  2146. background: none;
  2147. }
  2148. .table2 tr td select:hover {
  2149. background: $eventBG;
  2150. }
  2151. .table2 tr td select option {
  2152. font-size: 1rem;
  2153. font-family: "微软雅黑";
  2154. }
  2155. .border_l0 {
  2156. // border-right: 1px solid #ececec !important;
  2157. }
  2158. .table2 tr td textarea {
  2159. border: 0px !important;
  2160. outline: 0px;
  2161. width: 98%;
  2162. padding: .5rem;
  2163. font-size: 1rem;
  2164. resize: none;
  2165. background: none;
  2166. color: $inBlue;
  2167. }
  2168. .table2 tr td textarea:hover {
  2169. background: $eventBG;
  2170. }
  2171. .tr_border td {
  2172. border-right: 0px !important;
  2173. border-left: 0px !important;
  2174. border-bottom: 0px !important;
  2175. font-size: 15px;
  2176. }
  2177. .btm-btn-group {
  2178. padding: 1rem 0;
  2179. width: 100%;
  2180. display: flex;
  2181. button {
  2182. padding: .5rem 2rem;
  2183. }
  2184. }
  2185. </style>