eventdetailsdialog.vue 117 KB

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