eventdetailsdialog.vue 92 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215
  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. })
  1743. },
  1744. refreshEventDialog(eventCode) {
  1745. //刷新--事件日志
  1746. getEventDetail({ eventCode: eventCode }).then(res => {
  1747. this.eventLogList = res.data.eventlog
  1748. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  1749. })
  1750. },
  1751. // 页面元素转图片
  1752. toImage() {
  1753. // 手动创建一个 canvas 标签
  1754. const canvas = document.createElement('canvas')
  1755. // 获取父标签,意思是这个标签内的 DOM 元素生成图片
  1756. // imageTofile是给截图范围内的父级元素自定义的ref名称
  1757. // let canvasBox = this.$refs.imageTofile
  1758. let canvasBox = document.getElementById('forestWarmSuperMap')
  1759. let toolbar = document.getElementById('toolbar')
  1760. canvasBox.removeChild(toolbar)
  1761. // 获取父级的宽高
  1762. const width = parseInt(window.getComputedStyle(canvasBox).width)
  1763. const height = parseInt(window.getComputedStyle(canvasBox).height)
  1764. // 宽高 * 2 并放大 2 倍 是为了防止图片模糊
  1765. canvas.width = width * 2
  1766. canvas.height = height * 2
  1767. canvas.style.width = width + 'px'
  1768. canvas.style.height = height + 'px'
  1769. const context = canvas.getContext('2d')
  1770. context.scale(2, 2)
  1771. const options = {
  1772. backgroundColor: null,
  1773. canvas: canvas,
  1774. useCORS: true
  1775. }
  1776. html2canvas(canvasBox, options).then((canvas) => {
  1777. // toDataURL 图片格式转成 base64
  1778. let dataBase64 = canvas.toDataURL('image/png')
  1779. console.log(dataBase64)
  1780. this.uploadBase64(dataBase64)
  1781. })
  1782. canvasBox.appendChild(toolbar)
  1783. },
  1784. uploadBase64(dataBase64) {
  1785. //事件详情截图直接上传日志
  1786. uploadBase64({ eventCode: this.eventCode, base64: dataBase64 }).then(res => {
  1787. if (res.code == 200) {
  1788. this.$message.success(`截图上传成功!`)
  1789. this.refreshEventDialog(this.eventCode)
  1790. }
  1791. })
  1792. },
  1793. regionalFlagAdd: function() {//火灾区域
  1794. this.regionalFlagObj.array = []
  1795. this.regionalFlagOpen = true
  1796. },
  1797. showAreaLatLng: function(latlng) {//获取火灾区域经纬度
  1798. console.log(latlng)
  1799. this.regionalFlagObj.array = latlng
  1800. this.$modal.msgSuccess('获取坐标成功!')
  1801. },
  1802. /** ----------------------------------摄像头预览开始------------------------------------- */
  1803. alertLogin: function() {
  1804. this.$modal.msg('登录中....')
  1805. },
  1806. alertLoginSuccess: function() {
  1807. this.$modal.msgSuccess('登录成功!')
  1808. },
  1809. alertLoginFailed: function() {
  1810. this.$modal.msgError('登陆失败!')
  1811. },
  1812. alertReinstall: function() {
  1813. this.$modal.msgWarning('请重新安装客户端')
  1814. },
  1815. cancelEventLocationShow() {
  1816. if (this.oWebControl != null) {
  1817. this.oWebControl.JS_HideWnd() // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  1818. this.oWebControl.JS_Disconnect().then(function() { // 断开与插件服务连接成功
  1819. },
  1820. function() { // 断开与插件服务连接失败
  1821. })
  1822. }
  1823. },
  1824. /** 预览按钮操作 */
  1825. preview(cameraCode) {
  1826. let that = this
  1827. // getDahuaVideoServer().then(newResponse => {
  1828. // console.log(newResponse)
  1829. // this.ws.detectConnectQt().then(res => {
  1830. // if (res) { // 连接客户端成功
  1831. // this.alertLogin()
  1832. // this.ws.login({
  1833. // loginIp: newResponse.loginIp,
  1834. // loginPort: newResponse.loginPort,
  1835. // userName: newResponse.userName,
  1836. // userPwd: newResponse.userPwd,
  1837. // token: '',
  1838. // https: 1
  1839. // })
  1840. // this.ws.on('loginState', (res) => {
  1841. // this.isLogin = res
  1842. // console.log('---res-----', res)
  1843. // if (res) {
  1844. // this.alertLoginSuccess()
  1845. // this.activePanel = 'key2'
  1846. // this.realTimeVideoDialog(channelCode)
  1847. // } else {
  1848. // this.alertLoginFailed()
  1849. // }
  1850. // })
  1851. // } else { // 连接客户端失败
  1852. // this.alertReinstall()
  1853. // }
  1854. // })
  1855. // })
  1856. that.cameraVisible = true
  1857. getHaiKangVideoServer({cameraCode:cameraCode}).then(newResponse => {
  1858. that.cameraTitle = '摄像头-'+newResponse.data.cameraName
  1859. that.initPlugin(newResponse.data.appkey,newResponse.data.loginIp,newResponse.data.secret,newResponse.data.loginPort)
  1860. setTimeout(function() {
  1861. that.playhk(newResponse.data.channelCode)
  1862. }, 5000)
  1863. })
  1864. },
  1865. realTimeVideoDialog(cameraParams) { // 调用弹窗实时播放接口
  1866. if (!this.isLogin) {
  1867. this.$Message.info('正在登陆客户端,请稍等......')
  1868. return false
  1869. }
  1870. this.ws.openVideo(cameraParams)
  1871. },
  1872. /** ----------------------------------摄像头预览结束------------------------------------- */
  1873. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  1874. // 创建播放实例
  1875. initPlugin(newappkey,newloginIp,newsecret,newloginPort) {
  1876. let that=this
  1877. that.oWebControl = new WebControl({
  1878. szPluginContainer: 'playWnd', // 指定容器id
  1879. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  1880. iServicePortEnd: 15909,
  1881. szClassId: '23BF3B0A-2C56-4D97-9C03-0CB103AA8F11', // 用于IE10使用ActiveX的clsid
  1882. cbConnectSuccess: function() { // 创建WebControl实例成功
  1883. that.oWebControl.JS_StartService('window', { // WebControl实例创建成功后需要启动服务
  1884. dllPath: './VideoPluginConnect.dll' // 值"./VideoPluginConnect.dll"写死
  1885. }).then(function() { // 启动插件服务成功
  1886. that.oWebControl.JS_SetWindowControlCallback({ // 设置消息回调
  1887. cbIntegrationCallBack: cbIntegrationCallBack
  1888. })
  1889. that.oWebControl.JS_CreateWnd('playWnd', 1020, 600).then(function() { //JS_CreateWnd创建视频播放窗口,宽高可设定
  1890. that.init(newappkey,newloginIp,newsecret,newloginPort) // 创建播放实例成功后初始化
  1891. })
  1892. }, function() { // 启动插件服务失败
  1893. })
  1894. },
  1895. cbConnectError: function() { // 创建WebControl实例失败
  1896. that.oWebControl = null
  1897. $('#playWnd').html('插件未启动,正在尝试启动,请稍候...')
  1898. WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
  1899. initCount++
  1900. if (initCount < 3) {
  1901. setTimeout(function() {
  1902. that.initPlugin(newappkey,newloginIp,newsecret,newloginPort)
  1903. }, 3000)
  1904. } else {
  1905. $('#playWnd').html('插件启动失败,请检查插件是否安装!')
  1906. }
  1907. },
  1908. cbConnectClose: function(bNormalClose) {
  1909. // 异常断开:bNormalClose = false
  1910. // JS_Disconnect正常断开:bNormalClose = true
  1911. console.log('cbConnectClose')
  1912. that.oWebControl = null
  1913. }
  1914. })
  1915. },
  1916. //播放海康摄像头
  1917. playhk(channelCode) {
  1918. var cameraIndexCode = channelCode //获取输入的监控点编号值,必填
  1919. var streamMode = 0 //主子码流标识:0-主码流,1-子码流
  1920. var transMode = 1 //传输协议:0-UDP,1-TCP
  1921. var gpuMode = 0 //是否启用GPU硬解,0-不启用,1-启用
  1922. var wndId = -1 //播放窗口序号(在2x2以上布局下可指定播放窗口)
  1923. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, '')
  1924. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, '')
  1925. this.oWebControl.JS_RequestInterface({
  1926. funcName: 'startPreview',
  1927. argument: JSON.stringify({
  1928. cameraIndexCode: cameraIndexCode, //监控点编号
  1929. streamMode: streamMode, //主子码流标识
  1930. transMode: transMode, //传输协议
  1931. gpuMode: gpuMode, //是否开启GPU硬解
  1932. wndId: wndId //可指定播放窗口
  1933. })
  1934. })
  1935. },
  1936. //初始化
  1937. init(newappkey,newloginIp,newsecret,newloginPort) {
  1938. let that = this
  1939. that.getPubKey(function() {
  1940. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  1941. var appkey = newappkey //综合安防管理平台提供的appkey,必填
  1942. var secret = that.setEncrypt(newsecret) //综合安防管理平台提供的secret,必填
  1943. var ip = newloginIp //综合安防管理平台IP地址,必填
  1944. var playMode = 0 //初始播放模式:0-预览,1-回放
  1945. var port = Number(newloginPort) //综合安防管理平台端口,若启用HTTPS协议,默认443
  1946. var snapDir = 'D:\\SnapDir' //抓图存储路径
  1947. var videoDir = 'D:\\VideoDir' //紧急录像或录像剪辑存储路径
  1948. var layout = '1x1' //playMode指定模式的布局
  1949. var enableHTTPS = 1 //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  1950. var encryptedFields = 'secret' //加密字段,默认加密领域为secret
  1951. var showToolbar = 1 //是否显示工具栏,0-不显示,非0-显示
  1952. var showSmart = 1 //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  1953. var buttonIDs = '0,16,256,257,258,259,260,512,513,514,515,516,517,768,769' //自定义工具条按钮
  1954. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  1955. that.oWebControl.JS_RequestInterface({
  1956. funcName: 'init',
  1957. argument: JSON.stringify({
  1958. appkey: appkey, //API网关提供的appkey
  1959. secret: secret, //API网关提供的secret
  1960. ip: ip, //API网关IP地址
  1961. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  1962. port: port, //端口
  1963. snapDir: snapDir, //抓图存储路径
  1964. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  1965. layout: layout, //布局
  1966. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  1967. encryptedFields: encryptedFields, //加密字段
  1968. showToolbar: showToolbar, //是否显示工具栏
  1969. showSmart: showSmart, //是否显示智能信息
  1970. buttonIDs: buttonIDs //自定义工具条按钮
  1971. })
  1972. }).then(function(oData) {
  1973. that.oWebControl.JS_Resize(1020, 600) // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  1974. })
  1975. })
  1976. },
  1977. //获取公钥
  1978. getPubKey(callback) {
  1979. let that = this
  1980. that.oWebControl.JS_RequestInterface({
  1981. funcName: 'getRSAPubKey',
  1982. argument: JSON.stringify({
  1983. keyLength: 1024
  1984. })
  1985. }).then(function(oData) {
  1986. console.log(oData)
  1987. if (oData.responseMsg.data) {
  1988. that.pubKey = oData.responseMsg.data
  1989. callback()
  1990. }
  1991. })
  1992. },
  1993. //RSA加密
  1994. setEncrypt(value) {
  1995. var encrypt = new JSEncrypt()
  1996. encrypt.setPublicKey(this.pubKey)
  1997. return encrypt.encrypt(value)
  1998. },
  1999. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  2000. }
  2001. }
  2002. // 推送消息
  2003. function cbIntegrationCallBack(oData) {
  2004. console.log(JSON.stringify(oData.responseMsg))
  2005. }
  2006. </script>
  2007. <style lang="scss" scoped>
  2008. @import '@/assets/styles/base.scss';
  2009. //弹层样式
  2010. //.customWidthMp4 {
  2011. // width: 70px !important;
  2012. // height: 70px !important;
  2013. //}
  2014. .tree-border {
  2015. border: 1px $barBorder;
  2016. }
  2017. button {
  2018. padding: .5rem;
  2019. }
  2020. /** 火灾报告**/
  2021. //@font-face {
  2022. // font-family: 'fontnameRegular';
  2023. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  2024. //}
  2025. body,
  2026. html,
  2027. * {
  2028. padding: 0px;
  2029. margin: 0px;
  2030. font-family: "fontnameRegular";
  2031. }
  2032. .table-container {
  2033. width: 100%;
  2034. }
  2035. .txt_right {
  2036. text-align: right !important;
  2037. }
  2038. .txt_left {
  2039. text-align: left !important;
  2040. }
  2041. table {
  2042. border-spacing: 0;
  2043. border-collapse: collapse;
  2044. width: 99%;
  2045. margin: 0 auto;
  2046. color: $inBlue;
  2047. }
  2048. table input {
  2049. font-size: 1rem;
  2050. border: 0px;
  2051. outline: 0px;
  2052. font-family: "微软雅黑";
  2053. background: none;
  2054. color: $inBlue;
  2055. }
  2056. table th input:hover {
  2057. background: $eventBG;
  2058. }
  2059. table thead th {
  2060. font-size: 1rem;
  2061. font-family: "宋体";
  2062. height: 2rem;
  2063. border-top: 0px;
  2064. border-left: 0px;
  2065. border-right: 0px;
  2066. outline: 0px;
  2067. }
  2068. table tr td {
  2069. font-size: 1rem;
  2070. font-family: "fontnameRegular";
  2071. height: 2rem;
  2072. border: 1px $searchBorder;
  2073. text-align: center;
  2074. }
  2075. .font1 {
  2076. font-size: 1.7rem;
  2077. font-weight: bolder;
  2078. }
  2079. .border0 {
  2080. width: 100% !important;
  2081. }
  2082. .border0 tr td {
  2083. border: 0px !important;
  2084. }
  2085. table tr td input {
  2086. width: 100%;
  2087. /* display: inline-block;*/
  2088. outline: 0px;
  2089. text-align: left;
  2090. height: 94%;
  2091. color: $inBlue;
  2092. background: none;
  2093. float: left;
  2094. padding: 0 .5rem;
  2095. }
  2096. table tr td input:hover {
  2097. background: $eventBG;
  2098. }
  2099. .int_tr td input {
  2100. text-align: center !important;
  2101. }
  2102. .table2 tr th {
  2103. font-size: 1.7rem;
  2104. padding: .5rem 0;
  2105. font-family: 'fontnameRegular';
  2106. }
  2107. .table2 tr td {
  2108. font-size: 1rem;
  2109. }
  2110. .table2 tr td select {
  2111. border: 0px !important;
  2112. outline: 0px;
  2113. width: 100%;
  2114. font-family: "微软雅黑";
  2115. font-size: 1rem;
  2116. padding-left: 1%;
  2117. color: $inBlue;
  2118. background: none;
  2119. }
  2120. .table2 tr td select:hover {
  2121. background: $eventBG;
  2122. }
  2123. .table2 tr td select option {
  2124. font-size: 1rem;
  2125. font-family: "微软雅黑";
  2126. }
  2127. .border_l0 {
  2128. // border-right: 1px solid #ececec !important;
  2129. }
  2130. .table2 tr td textarea {
  2131. border: 0px !important;
  2132. outline: 0px;
  2133. width: 98%;
  2134. padding: .5rem;
  2135. font-size: 1rem;
  2136. resize: none;
  2137. background: none;
  2138. color: $inBlue;
  2139. }
  2140. .table2 tr td textarea:hover {
  2141. background: $eventBG;
  2142. }
  2143. .tr_border td {
  2144. border-right: 0px !important;
  2145. border-left: 0px !important;
  2146. border-bottom: 0px !important;
  2147. font-size: 15px;
  2148. }
  2149. .btm-btn-group {
  2150. padding: 1rem 0;
  2151. width: 100%;
  2152. display: flex;
  2153. button {
  2154. padding: .5rem 2rem;
  2155. }
  2156. }
  2157. </style>