firespread.vue 112 KB

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