eventdetailsdialog.vue 113 KB

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