eventdetailsdialog.vue 92 KB

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