firespread.vue 115 KB

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