eventdetailsdialog.vue 167 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691
  1. <template>
  2. <div class="visual-con">
  3. <!--主体-->
  4. <div class="visual-body">
  5. <button
  6. @click="showEventDialog"
  7. style="
  8. position: absolute;
  9. left: 50%;
  10. top: 50vh;
  11. transform: translateX(-50%);
  12. "
  13. ></button>
  14. <!-- 弹层 -->
  15. <el-dialog
  16. title="事件详情"
  17. :visible.sync="eventDialog"
  18. customClass="customWidth"
  19. v-if="eventDialog"
  20. @close="cancelEventShow()"
  21. >
  22. <div class="dia-event-info">
  23. <el-row>
  24. <!-- 左侧 -->
  25. <el-col :span="18" class="dia-left">
  26. <div class="sj-map-tool-select">
  27. <!-- 复选框-->
  28. <transition-group
  29. appear
  30. name="animate__animated animate__bounce"
  31. enter-active-class="animate__lightSpeedInRight"
  32. leave-active-class="animate__backOutRight"
  33. >
  34. <div
  35. class="sj-map-tool-select-list"
  36. v-show="mapToolShow"
  37. id="eventMapToolOnly"
  38. key="1"
  39. >
  40. <el-checkbox
  41. v-model="mapToolCheckAll"
  42. @change="mapToolCheckAllChange"
  43. class="sj-map-tool-checkbox-all"
  44. >全选</el-checkbox
  45. >
  46. <el-checkbox-group
  47. v-model="mapToolCheckItem"
  48. @change="mapToolCheckChange"
  49. class="sj-map-tool-checkbox"
  50. >
  51. <el-checkbox
  52. v-for="tools in mapToolCheck"
  53. :label="tools"
  54. :key="tools"
  55. >{{ tools }}</el-checkbox
  56. >
  57. </el-checkbox-group>
  58. </div>
  59. </transition-group>
  60. <el-button
  61. size="small"
  62. icon="el-icon-s-grid"
  63. id="eventMapToolOnlyButton"
  64. @click="mapToolShow = !mapToolShow"
  65. >地图功能</el-button
  66. >
  67. </div>
  68. <div ref="imageTofile" style="height: 75vh">
  69. <!-- 应急预案 -->
  70. <transition-group
  71. appear
  72. name="animate__animated animate__bounce"
  73. enter-active-class="animate__backInDown"
  74. leave-active-class="animate__backOutUp"
  75. >
  76. <div
  77. class="dia-left-top"
  78. v-show="mapToolCheckItem.includes('应急预案')"
  79. key="yingji"
  80. >
  81. <div class="dia-left-top-tit">应急预案</div>
  82. <div class="dia-left-top-carousel">
  83. <el-carousel
  84. height="30px"
  85. direction="vertical"
  86. :interval="2000"
  87. >
  88. <el-carousel-item v-if="visuForestCloudYuAnBo != null">
  89. <!-- <el-tooltip class="item" effect="dark" :content="visuForestCloudYuAnBo.reserveName" placement="top-start">
  90. <a :href="visuForestCloudYuAnBo.fileUrl" ><span><div style=" width: 50px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;word-break: keep-all;">{{ visuForestCloudYuAnBo.reserveName }}</div></span></a>
  91. </el-tooltip> -->
  92. <el-tooltip
  93. placement="top"
  94. popper-class="js-tps"
  95. :visible-arrow="
  96. visuForestCloudYuAnBo.reserveName.length > 6
  97. "
  98. >
  99. <div slot="content" class="leader-info-container">
  100. <div
  101. class="leader-info-list-con"
  102. v-show="
  103. visuForestCloudYuAnBo.reserveName.length > 6
  104. "
  105. >
  106. <h4>{{ visuForestCloudYuAnBo.reserveName }}</h4>
  107. </div>
  108. </div>
  109. <a :href="visuForestCloudYuAnBo.fileUrl">{{
  110. visuForestCloudYuAnBo.reserveName | ellipsisFont6
  111. }}</a>
  112. </el-tooltip>
  113. </el-carousel-item>
  114. <el-carousel-item v-else>
  115. <a href="#">暂未关联预案</a>
  116. </el-carousel-item>
  117. </el-carousel>
  118. </div>
  119. <el-button
  120. size="mini"
  121. type="primary"
  122. class="yatz_button"
  123. @click="showUpdateYjYuAn"
  124. >预案调整
  125. </el-button>
  126. </div>
  127. </transition-group>
  128. <!-- 应急预案end -->
  129. <!-- 左侧资源 -->
  130. <transition-group
  131. appear
  132. name="animate__animated animate__bounce"
  133. enter-active-class="animate__backInUp"
  134. leave-active-class="animate__backOutDown"
  135. >
  136. <div
  137. v-show="mapToolCheckItem.includes('资源与操作')"
  138. key="mapToolziyuan"
  139. class="leftbar"
  140. style="
  141. width: fit-content !important;
  142. bottom: 0rem;
  143. left: 1rem;
  144. top: unset;
  145. "
  146. >
  147. <div class="forthis" style="width: 1320px; display: flex">
  148. <dv-border-box-7
  149. backgroundColor="#040b1f"
  150. :color="['#25335d', '#5baffd']"
  151. >
  152. <div
  153. class="i-list-con"
  154. style="
  155. width: 100%;
  156. display: flex;
  157. align-items: center;
  158. justify-content: space-between;
  159. "
  160. >
  161. <div
  162. class="d-l-con-icon"
  163. style="
  164. width: fit-content;
  165. flex-direction: row;
  166. flex-wrap: nowrap;
  167. "
  168. ref="thisWidthWH"
  169. >
  170. <leftRightSwiperScroll v-if="mapToolCheckItem.includes('资源与操作')">
  171. <div
  172. class="icon-con"
  173. style="width: fit-content !important"
  174. v-for="(item, index) in resourcesList"
  175. @click="fireControlViewPoint(item.type)"
  176. :key="index"
  177. >
  178. <div
  179. class="iconfont icon icon-normal"
  180. :class="item.icon"
  181. :style="'background:' + item.bg"
  182. ></div>
  183. <div class="icon-text">
  184. <h5 style="white-space: nowrap">
  185. {{ item.resourceName }}
  186. </h5>
  187. </div>
  188. </div>
  189. </leftRightSwiperScroll>
  190. </div>
  191. <el-input
  192. type="number"
  193. v-model="radius"
  194. class="d-input-bottom"
  195. placeholder="请输入搜索半径"
  196. max="99999999"
  197. />
  198. </div>
  199. </dv-border-box-7>
  200. </div>
  201. </div>
  202. <!-- 左侧资源end -->
  203. <!-- 底部工具栏 -->
  204. <!-- <div class="dia-left-btm-tool">
  205. </div> -->
  206. <!-- 底部工具栏end -->
  207. <div
  208. class="fire-m"
  209. style="bottom: 5rem"
  210. v-show="mapToolCheckItem.includes('资源与操作')"
  211. key="ziyuan"
  212. >
  213. <!-- <el-button-->
  214. <!-- size="small"-->
  215. <!-- icon="el-icon-s-grid"-->
  216. <!-- @click="showTVWallDiaLog()"-->
  217. <!-- v-show="eventType == 1"-->
  218. <!-- >视频联动</el-button-->
  219. <!-- >-->
  220. <el-button
  221. size="small"
  222. icon="el-icon-upload"
  223. @click="showheatPlotting()"
  224. >火灾蔓延
  225. </el-button>
  226. </div>
  227. </transition-group>
  228. <!-- 地图 -->
  229. <supermapDialog
  230. ref="supermapDialog"
  231. style="position: absolute; top: 0; left: 0"
  232. :mapDiv="'forestWarmSuperMap'"
  233. :mapSite="{
  234. doubleClickZoom: false,
  235. dragging: false,
  236. scrollWheelZoom: false,
  237. }"
  238. :codes="['9fa5']"
  239. :isSideBySide="false"
  240. :isdynamicPlotting="true"
  241. @preview="preview"
  242. :mapToolShowBH="mapToolShowBH"
  243. />
  244. <!-- <supermapDialog ref="supermapDialog" -->
  245. <!-- @preview="preview"/> -->
  246. <!-- 地图end -->
  247. </div>
  248. </el-col>
  249. <!-- 左侧end -->
  250. <!-- 右侧 -->
  251. <el-col :span="6" class="dia-right">
  252. <div class="e-right">
  253. <div class="forthis1">
  254. <dv-border-box-7
  255. backgroundColor="#040b1f"
  256. style="padding-bottom: 1rem"
  257. >
  258. <div class="i-list-con">
  259. <div class="this-con">
  260. <div class="z-info-list" style="margin-top: 0">
  261. <el-timeline>
  262. <el-timeline-item
  263. color="#2bacf7"
  264. :timestamp="item.createTime"
  265. placement="top"
  266. v-for="(item, index) in eventLogList"
  267. >
  268. <el-card style="width: 40vh">
  269. <div class="z-info-list-con">
  270. <div class="user-and-time flex-d">
  271. <span>{{ item.createName }}</span>
  272. <span
  273. v-if="
  274. eventLogList.length - 1 == index &&
  275. address != null &&
  276. address != ''
  277. "
  278. ><i class="el-icon-location"></i>
  279. {{ address }}</span
  280. >
  281. <span v-else></span>
  282. </div>
  283. <div class="z-info">
  284. <div class="this-con-list-info">
  285. {{ item.logContent }}
  286. </div>
  287. <div>
  288. <router-link
  289. to="#"
  290. @click.native="
  291. clickFile(
  292. itemfile.fileUrl,
  293. itemfile.fileName,
  294. itemfile.fileType
  295. )
  296. "
  297. v-for="(
  298. itemfile, indexfile
  299. ) in item.fileVOs"
  300. >
  301. <el-image
  302. :src="itemfile.fileUrl"
  303. v-if="itemfile.fileType == 'image'"
  304. :preview-src-list="
  305. assetTypeAnImage(item.fileVOs)
  306. "
  307. style="
  308. width: 3rem;
  309. height: 3rem;
  310. margin: 2px;
  311. "
  312. :title="itemfile.fileName"
  313. >
  314. </el-image>
  315. <img
  316. v-else-if="
  317. itemfile.fileType == 'video'
  318. "
  319. style="
  320. width: 3rem;
  321. height: 3rem;
  322. margin: 2px;
  323. "
  324. :src="
  325. require('@/assets/fileTypeImage/mp4.png')
  326. "
  327. :title="itemfile.fileName"
  328. />
  329. <img
  330. v-else-if="
  331. itemfile.fileType == 'word'
  332. "
  333. style="
  334. width: 3rem;
  335. height: 3rem;
  336. margin: 2px;
  337. "
  338. :src="
  339. require('@/assets/fileTypeImage/word.png')
  340. "
  341. :title="itemfile.fileName"
  342. />
  343. <img
  344. v-else-if="
  345. itemfile.fileType == 'excel'
  346. "
  347. style="
  348. width: 3rem;
  349. height: 3rem;
  350. margin: 2px;
  351. "
  352. :src="
  353. require('@/assets/fileTypeImage/excel.png')
  354. "
  355. :title="itemfile.fileName"
  356. />
  357. <img
  358. v-else
  359. style="
  360. width: 3rem;
  361. height: 3rem;
  362. margin: 2px;
  363. "
  364. :src="
  365. require('@/assets/fileTypeImage/file.png')
  366. "
  367. :title="itemfile.fileName"
  368. />
  369. </router-link>
  370. </div>
  371. </div>
  372. </div>
  373. </el-card>
  374. </el-timeline-item>
  375. </el-timeline>
  376. </div>
  377. </div>
  378. </div>
  379. </dv-border-box-7>
  380. </div>
  381. <div class="forthis2">
  382. <dv-border-box-7 backgroundColor="#040b1f">
  383. <div class="i-list-con">
  384. <div class="this-con h-25 no-padding">
  385. <div class="z-info-list" style="margin-top: 0">
  386. <div class="z-info-btm-grp">
  387. <div class="z-info-btm-grp-top">
  388. <div class="z-info-btm-grp-left">
  389. <el-button
  390. size="small"
  391. icon="el-icon-upload"
  392. @click="showEventLogUpload()"
  393. >上传
  394. </el-button>
  395. <el-button
  396. size="small"
  397. icon="el-icon-download"
  398. @click="toImage()"
  399. >截图上传
  400. </el-button>
  401. <el-button
  402. size="small"
  403. icon="el-icon-download"
  404. @click="showResponsibility()"
  405. v-if="
  406. eventStatusValue !=
  407. 'forest_event_status_1' &&
  408. eventStatusValue != 'forest_event_status_7'
  409. "
  410. >责任制
  411. </el-button>
  412. <el-button
  413. v-if="
  414. eventStatusValue ==
  415. 'forest_event_status_2' &&
  416. statusFlag == '1' &&
  417. dataStatus == '0'
  418. "
  419. size="small"
  420. icon="el-icon-download"
  421. @click="
  422. updateCentereventTEventcatalogueStatus(
  423. 'cz',
  424. true
  425. )
  426. "
  427. >处置
  428. </el-button>
  429. </div>
  430. <div class="z-info-btm-grp-right">
  431. <el-button
  432. size="small"
  433. icon="el-icon-mic"
  434. @click="Meeting()"
  435. >会议
  436. </el-button>
  437. </div>
  438. </div>
  439. <div class="z-info-btm-input">
  440. <el-input
  441. type="textarea"
  442. v-model="eventLog"
  443. :autosize="{ minRows: 7, maxRows: 7 }"
  444. placeholder="请输入反馈信息"
  445. >
  446. </el-input>
  447. <div
  448. class="z-info-btm-input-btn"
  449. v-if="
  450. eventStatusValue == 'forest_event_status_1'
  451. "
  452. >
  453. <div style="text-align: left">
  454. <el-button
  455. size="small"
  456. icon="el-icon-s-flag"
  457. @click="
  458. updateCentereventTEventcatalogueStatus(
  459. 'qr',
  460. true
  461. )
  462. "
  463. >
  464. 确认
  465. </el-button>
  466. <el-button
  467. size="small"
  468. icon="el-icon-question"
  469. @click="
  470. updateCentereventTEventcatalogueStatus(
  471. 'wb',
  472. true
  473. )
  474. "
  475. >
  476. 误报
  477. </el-button>
  478. <el-button
  479. size="small"
  480. icon="el-icon-warning"
  481. @click="
  482. updateCentereventTEventcatalogueStatus(
  483. 'cf',
  484. true
  485. )
  486. "
  487. >
  488. 重复
  489. </el-button>
  490. </div>
  491. <el-button
  492. size="small"
  493. icon="el-icon-chat-dot-square"
  494. @click="sendEventLog()"
  495. >发送
  496. </el-button>
  497. </div>
  498. <div
  499. class="z-info-btm-input-btn"
  500. v-else-if="
  501. eventStatusValue == 'forest_event_status_7'
  502. "
  503. >
  504. <div style="text-align: left">
  505. <el-button
  506. size="small"
  507. icon="el-icon-s-flag"
  508. @click="
  509. updateCentereventTEventcatalogueStatus(
  510. 'qs',
  511. false
  512. )
  513. "
  514. >
  515. 签收
  516. </el-button>
  517. <el-button
  518. size="small"
  519. icon="el-icon-question"
  520. @click="
  521. updateCentereventTEventcatalogueStatus(
  522. 'wb',
  523. true
  524. )
  525. "
  526. >
  527. 误报
  528. </el-button>
  529. <el-button
  530. size="small"
  531. icon="el-icon-warning"
  532. @click="
  533. updateCentereventTEventcatalogueStatus(
  534. 'cf',
  535. true
  536. )
  537. "
  538. >
  539. 重复
  540. </el-button>
  541. </div>
  542. <el-button
  543. size="small"
  544. icon="el-icon-chat-dot-square"
  545. @click="sendEventLog()"
  546. >发送
  547. </el-button>
  548. </div>
  549. <div
  550. class="z-info-btm-input-btn"
  551. v-else-if="
  552. eventStatusValue == 'forest_event_status_2'
  553. "
  554. >
  555. <div>
  556. <!--<el-button size="small"-->
  557. <!--icon="el-icon-question"-->
  558. <!--@click="updateCentereventTEventcatalogueStatus('wb',false)">-->
  559. <!--误报-->
  560. <!--</el-button>-->
  561. <!--<el-button size="small"-->
  562. <!--icon="el-icon-warning"-->
  563. <!--@click="updateCentereventTEventcatalogueStatus('cf',false)">-->
  564. <!--重复-->
  565. <!--</el-button>-->
  566. <el-button
  567. size="small"
  568. icon="el-icon-phone"
  569. style="text-align: left"
  570. @click="
  571. updateCentereventTEventcatalogueStatus(
  572. 'ld',
  573. false
  574. )
  575. "
  576. >
  577. 联动
  578. </el-button>
  579. <el-button
  580. size="small"
  581. v-if="statusFlag == '1'"
  582. icon="el-icon-success"
  583. style="text-align: left"
  584. @click="
  585. updateCentereventTEventcatalogueStatus(
  586. 'bj',
  587. true
  588. )
  589. "
  590. >
  591. 办结
  592. </el-button>
  593. </div>
  594. <el-button
  595. size="small"
  596. icon="el-icon-chat-dot-square"
  597. @click="sendEventLog()"
  598. >发送
  599. </el-button>
  600. </div>
  601. <div
  602. class="z-info-btm-input-btn"
  603. v-else-if="
  604. eventStatusValue == 'forest_event_status_5'
  605. "
  606. >
  607. <el-button
  608. size="small"
  609. icon="el-icon-success"
  610. style="text-align: left"
  611. v-if="eventTypeXl == 101 && statusFlag == '1'"
  612. @click="
  613. updateCentereventTEventcatalogueStatus(
  614. 'gd',
  615. false
  616. )
  617. "
  618. >
  619. 填报
  620. </el-button>
  621. <el-button
  622. size="small"
  623. icon="el-icon-success"
  624. style="text-align: left"
  625. v-else-if="
  626. eventTypeXl != 101 && statusFlag == '1'
  627. "
  628. @click="
  629. updateCentereventTEventcatalogueStatus(
  630. 'gd',
  631. true
  632. )
  633. "
  634. >
  635. 归档
  636. </el-button>
  637. <el-button
  638. size="small"
  639. v-else-if="statusFlag == '2'"
  640. icon="el-icon-success"
  641. style="text-align: left"
  642. @click="
  643. updateCentereventTEventcatalogueStatus(
  644. 'sh',
  645. false
  646. )
  647. "
  648. >
  649. 审核
  650. </el-button>
  651. <el-button
  652. size="small"
  653. v-else-if="isExamine == '0'"
  654. icon="el-icon-loading"
  655. style="text-align: left"
  656. >
  657. 请等待复核,复核通过后方可归档。
  658. </el-button>
  659. <el-button
  660. size="small"
  661. icon="el-icon-chat-dot-square"
  662. @click="sendEventLog()"
  663. >发送
  664. </el-button>
  665. </div>
  666. <div class="z-info-btm-input-btn" v-else>
  667. <el-button
  668. size="small"
  669. icon="el-icon-chat-dot-square"
  670. @click="sendEventLog()"
  671. >发送
  672. </el-button>
  673. </div>
  674. </div>
  675. </div>
  676. </div>
  677. </div>
  678. </div>
  679. </dv-border-box-7>
  680. </div>
  681. </div>
  682. </el-col>
  683. <!-- 左侧end -->
  684. </el-row>
  685. </div>
  686. </el-dialog>
  687. </div>
  688. <vBottomMenu ref="bottomMenu"></vBottomMenu>
  689. <eventLogUpload ref="eventLogUpload"></eventLogUpload>
  690. <el-dialog
  691. :title="eventConfirmTitle"
  692. :visible.sync="showEventConfirm"
  693. v-if="showEventConfirm"
  694. width="50%"
  695. class="top-dialog"
  696. @close="cancelEventConfirm()"
  697. >
  698. <el-form label-width="80px">
  699. <el-form-item
  700. label="火灾半径"
  701. v-if="eventStatusButton == 'qs' && eventTypeXl == null"
  702. >
  703. <el-input
  704. type="number"
  705. v-model="sendHuoZaiBanJing"
  706. placeholder="请输入火灾半径"
  707. />
  708. </el-form-item>
  709. <el-form-item
  710. v-if="
  711. eventStatusButton == 'wb' ||
  712. eventStatusButton == 'qs' ||
  713. eventStatusButton == 'cf'
  714. "
  715. :label="deptNameitem"
  716. >
  717. <!-- <treeselect v-model="deptId" :options="deptOptions" multiple :show-count="true"-->
  718. <!-- placeholder="请选择签收部门"/>-->
  719. <el-select
  720. v-model="sendDeptName"
  721. clearable
  722. placeholder="请选择部门"
  723. class="m-r-1rem"
  724. @change="setValue"
  725. v-if="
  726. eventStatusButton == 'wb' ||
  727. eventStatusButton == 'qs' ||
  728. eventStatusButton == 'cf'
  729. "
  730. >
  731. <el-option
  732. v-for="item in deptOptions"
  733. :key="item.deptId"
  734. :label="item.deptName"
  735. :value="{ value: item.deptId, label: item.deptName }"
  736. >
  737. </el-option>
  738. </el-select>
  739. </el-form-item>
  740. <el-form-item
  741. label="事件类型"
  742. v-if="eventStatusButton == 'qs' && eventTypeXl == null"
  743. >
  744. <el-select
  745. v-model="sendEventType"
  746. placeholder="请选择事件类型!"
  747. clearable
  748. >
  749. <el-option
  750. v-for="item in eventTypeList"
  751. :key="item.id"
  752. :label="item.eventTypeName"
  753. :value="item.id"
  754. />
  755. </el-select>
  756. </el-form-item>
  757. <el-form-item label="任务来源" v-if="eventStatusButton == 'ld'">
  758. <el-select
  759. v-model="sendTaskSource"
  760. placeholder="请选择任务来源!"
  761. clearable
  762. >
  763. <el-option
  764. v-for="dict in dict.type.task_source"
  765. :key="dict.value"
  766. :label="dict.label"
  767. :value="dict.value"
  768. />
  769. </el-select>
  770. </el-form-item>
  771. <el-form-item label="联动标题" v-if="eventStatusButton == 'ld'">
  772. <el-input v-model="sendTaskTitle" placeholder="请输入联动标题" />
  773. </el-form-item>
  774. <el-form-item label="联动内容" v-if="eventStatusButton == 'ld'">
  775. <el-input
  776. type="textarea"
  777. v-model="sendTaskContent"
  778. :autosize="{ minRows: 7, maxRows: 7 }"
  779. placeholder="请输入联动内容"
  780. >
  781. </el-input>
  782. </el-form-item>
  783. <el-form-item label="联动部门" v-if="eventStatusButton == 'ld'">
  784. <el-input placeholder="输入关键字进行过滤" v-model="filterText">
  785. </el-input>
  786. <el-tree
  787. class="tree-border tree_scroll"
  788. style="height: 20vh; overflow-y: scroll"
  789. :data="deptOptionsLiandong"
  790. show-checkbox
  791. ref="LiandongDept"
  792. node-key="id"
  793. :check-strictly="true"
  794. :filter-node-method="filterNode"
  795. :accordion="true"
  796. empty-text="加载中,请稍候"
  797. :props="defaultProps"
  798. ></el-tree>
  799. <!-- default-expand-all-->
  800. </el-form-item>
  801. <el-form-item label="关联预案" v-if="eventStatusButton == 'qs'">
  802. <el-select
  803. v-model="sendGuanLianYuAn"
  804. placeholder="请选择关联预案!"
  805. filterable
  806. clearable
  807. >
  808. <el-option
  809. v-for="item in guanLianYuAnList"
  810. :key="item.id"
  811. :label="item.resTitle"
  812. :value="item.id"
  813. />
  814. </el-select>
  815. </el-form-item>
  816. <el-form-item label="审核意见" v-if="eventStatusButton == 'sh'">
  817. <el-input
  818. type="textarea"
  819. v-model="eventDescription"
  820. :autosize="{ minRows: 7, maxRows: 7 }"
  821. placeholder="请输入审核意见"
  822. >
  823. </el-input>
  824. </el-form-item>
  825. <el-form-item
  826. label="附件"
  827. prop="schedulePictures"
  828. v-if="eventStatusButton == 'sh'"
  829. >
  830. <ImageUpload
  831. class="sj-upload"
  832. ref="ImageUpload"
  833. :limit="10"
  834. :fileType="['jpg', 'png', 'jpeg']"
  835. :value="uploadAttachList"
  836. @input="getUrl"
  837. ></ImageUpload>
  838. </el-form-item>
  839. <!--<el-form-item label="联系人" v-if="eventStatusButton=='qs'">-->
  840. <!--<el-select multiple collapse-tags v-model='sendUserFegin' placeholder='请选择联系人!' clearable filterable>-->
  841. <!--<el-option-->
  842. <!--v-for="item in userFeginList"-->
  843. <!--:label="item.nickName"-->
  844. <!--:value="item.phonenumber"-->
  845. <!--/>-->
  846. <!--</el-select>-->
  847. <!--</el-form-item>-->
  848. <el-button
  849. size="mini"
  850. type="primary"
  851. v-if="eventStatusButton == 'qr'"
  852. class="sj-icon-btn"
  853. icon="el-icon-document-checked"
  854. @click="updateCentereventTEventcatalogueStatus('qr', false)"
  855. >确认
  856. </el-button>
  857. <el-button
  858. size="mini"
  859. type="primary"
  860. v-if="eventStatusButton == 'qs'"
  861. class="sj-icon-btn"
  862. icon="el-icon-edit"
  863. @click="updateCentereventTEventcatalogueStatus('qs', true)"
  864. >签收
  865. </el-button>
  866. <el-button
  867. size="mini"
  868. type="primary"
  869. v-if="eventStatusButton == 'wb'"
  870. class="sj-icon-btn"
  871. icon="el-icon-close-notification"
  872. @click="updateCentereventTEventcatalogueStatus('wb', true)"
  873. >误报
  874. </el-button>
  875. <el-button
  876. size="mini"
  877. type="primary"
  878. v-if="eventStatusButton == 'cf'"
  879. class="sj-icon-btn"
  880. icon="el-icon-document-copy"
  881. @click="updateCentereventTEventcatalogueStatus('cf', true)"
  882. >重复
  883. </el-button>
  884. <el-button
  885. size="mini"
  886. type="primary"
  887. v-if="eventStatusButton == 'ld'"
  888. class="sj-icon-btn"
  889. icon="el-icon-phone"
  890. @click="updateCentereventTEventcatalogueStatus('ld', true)"
  891. >发起联动
  892. </el-button>
  893. <el-button
  894. size="mini"
  895. type="primary"
  896. v-if="eventStatusButton == 'sh'"
  897. class="sj-icon-btn"
  898. icon="el-icon-circle-check"
  899. @click="updateCentereventTEventcatalogueStatus('shtg', true)"
  900. >通过
  901. </el-button>
  902. <el-button
  903. size="mini"
  904. type="primary"
  905. v-if="eventStatusButton == 'sh'"
  906. class="sj-icon-btn"
  907. icon="el-icon-circle-close"
  908. @click="updateCentereventTEventcatalogueStatus('shbtg', true)"
  909. >不通过
  910. </el-button>
  911. </el-form>
  912. </el-dialog>
  913. <el-dialog
  914. title="调整预案"
  915. :visible.sync="showGuanLianYuAnConfirm"
  916. v-if="showGuanLianYuAnConfirm"
  917. width="50%"
  918. class="top-dialog tz_tk"
  919. >
  920. <el-form label-width="80px">
  921. <el-form-item label="关联预案">
  922. <el-select
  923. v-model="sendGuanLianYuAn"
  924. placeholder="请选择关联预案!"
  925. clearable
  926. >
  927. <el-option
  928. v-for="item in guanLianYuAnList"
  929. :key="item.id"
  930. :label="item.resTitle"
  931. :value="item.id"
  932. />
  933. </el-select>
  934. </el-form-item>
  935. <el-button
  936. size="mini"
  937. type="primary"
  938. class="fr_button"
  939. @click="updateYjYuAn"
  940. >确定
  941. </el-button>
  942. <div style="clear: both"></div>
  943. </el-form>
  944. </el-dialog>
  945. <el-dialog
  946. title="责任制"
  947. :visible.sync="showResponsibilityDialog"
  948. v-if="showResponsibilityDialog"
  949. width="65%"
  950. @close="closeResponsibilityDialog()"
  951. >
  952. <el-form label-width="1500px">
  953. <div class="bottom">
  954. <!-- 左侧菜单栏 -->
  955. <div class="bottomLeft">
  956. <div
  957. class="leftItem d-l-con padding-box nowrap"
  958. v-for="(item, index) in depteventList"
  959. >
  960. <div class="bgt-info">
  961. <div
  962. class="bgt-info-name"
  963. :class="{ on: iconCurrentIndex == item.deptId }"
  964. @click="dutysystemSelect(item.deptId, item.deptName, item.id)"
  965. >
  966. {{ item.deptName }}
  967. </div>
  968. </div>
  969. </div>
  970. </div>
  971. <!-- 左侧菜单栏对应的右侧的内容 -->
  972. <div class="bottomRight" ref="wrapper">
  973. <el-button
  974. size="mini"
  975. type="danger"
  976. v-if="depteventId != null && depteventId != ''"
  977. @click="addLine"
  978. >添加
  979. </el-button>
  980. <el-button
  981. size="mini"
  982. type="danger"
  983. v-if="depteventId != null && depteventId != ''"
  984. @click="finUserByDept"
  985. >选择
  986. </el-button>
  987. <el-table
  988. :data="dutysystemTableData"
  989. style="width: 100%"
  990. :rules="rules"
  991. >
  992. <el-table-column prop="id" label="主键" v-if="false">
  993. <template slot-scope="scope" hidden>
  994. <el-input
  995. v-model="scope.row.id"
  996. readonly
  997. placeholder="主键"
  998. ></el-input>
  999. </template>
  1000. </el-table-column>
  1001. <el-table-column prop="name" label="姓名">
  1002. <template slot-scope="scope">
  1003. <el-input
  1004. v-model="scope.row.name"
  1005. placeholder="姓名"
  1006. οninput="value=value.replace(/^[\u4e00-\u9fa5]{2,4}$/,'')"
  1007. ></el-input>
  1008. </template>
  1009. </el-table-column>
  1010. <el-table-column prop="post" label="岗位">
  1011. <template slot-scope="scope">
  1012. <el-input
  1013. v-model="scope.row.post"
  1014. placeholder="岗位"
  1015. ></el-input>
  1016. </template>
  1017. </el-table-column>
  1018. <el-table-column prop="telphone" label="手机号码">
  1019. <template slot-scope="scope">
  1020. <el-input
  1021. v-model="scope.row.telphone"
  1022. placeholder="手机号码"
  1023. ο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}$/,'')"
  1024. ></el-input>
  1025. </template>
  1026. </el-table-column>
  1027. <el-table-column prop="bookbuytime" label="操作">
  1028. <template slot-scope="scope">
  1029. <el-button
  1030. size="mini"
  1031. type="danger"
  1032. icon="el-icon-delete"
  1033. @click="handleDelete(scope.$index, scope.row)"
  1034. >删除
  1035. </el-button>
  1036. <!--<el-button-->
  1037. <!--size="mini"-->
  1038. <!--type="danger"-->
  1039. <!--icon="el-icon-save"-->
  1040. <!--@click="handleSave(scope.$index, scope.row)">保存-->
  1041. <!--</el-button>-->
  1042. </template>
  1043. </el-table-column>
  1044. </el-table>
  1045. </div>
  1046. </div>
  1047. <el-button
  1048. size="mini"
  1049. type="primary"
  1050. class="fr_button"
  1051. @click="addResponsibilityDialog"
  1052. >确定
  1053. </el-button>
  1054. <div style="clear: both"></div>
  1055. </el-form>
  1056. </el-dialog>
  1057. <!-- 会议弹窗 start -->
  1058. <el-dialog
  1059. title="视频会议"
  1060. :visible.sync="showMeetingMsgDialog"
  1061. v-if="showMeetingMsgDialog"
  1062. width="65%"
  1063. @close="closeMeetingMsgDialog()"
  1064. >
  1065. <el-form label-width="1500px">
  1066. <div class="bottom">
  1067. <!-- 左侧菜单栏 -->
  1068. <div class="bottomLeft">
  1069. <div
  1070. class="leftItem d-l-con padding-box nowrap"
  1071. v-for="(item, index) in depteventList"
  1072. >
  1073. <div class="bgt-info">
  1074. <div
  1075. class="bgt-info-name"
  1076. :class="{ on: iconCurrentIndex == item.deptId }"
  1077. @click="dutysystemSelect(item.deptId, item.deptName, item.id)"
  1078. >
  1079. {{ item.deptName }}
  1080. </div>
  1081. </div>
  1082. </div>
  1083. </div>
  1084. <!-- 左侧菜单栏对应的右侧的内容 -->
  1085. <div class="bottomRight" ref="wrapper">
  1086. <el-button
  1087. size="mini"
  1088. type="danger"
  1089. v-if="depteventId != null && depteventId != ''"
  1090. @click="addLine"
  1091. >添加
  1092. </el-button>
  1093. <el-button
  1094. size="mini"
  1095. type="danger"
  1096. v-if="depteventId != null && depteventId != ''"
  1097. @click="finUserByDept"
  1098. >选择
  1099. </el-button>
  1100. <el-table
  1101. :data="dutysystemTableData"
  1102. style="width: 100%"
  1103. :rules="rules"
  1104. >
  1105. <el-table-column prop="id" label="主键" v-if="false">
  1106. <template slot-scope="scope" hidden>
  1107. <el-input
  1108. v-model="scope.row.id"
  1109. readonly
  1110. placeholder="主键"
  1111. ></el-input>
  1112. </template>
  1113. </el-table-column>
  1114. <el-table-column prop="name" label="姓名">
  1115. <template slot-scope="scope">
  1116. <el-input
  1117. v-model="scope.row.name"
  1118. placeholder="姓名"
  1119. οninput="value=value.replace(/^[\u4e00-\u9fa5]{2,4}$/,'')"
  1120. ></el-input>
  1121. </template>
  1122. </el-table-column>
  1123. <el-table-column prop="post" label="岗位">
  1124. <template slot-scope="scope">
  1125. <el-input
  1126. v-model="scope.row.post"
  1127. placeholder="岗位"
  1128. ></el-input>
  1129. </template>
  1130. </el-table-column>
  1131. <el-table-column prop="telphone" label="手机号码">
  1132. <template slot-scope="scope">
  1133. <el-input
  1134. v-model="scope.row.telphone"
  1135. placeholder="手机号码"
  1136. ο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}$/,'')"
  1137. ></el-input>
  1138. </template>
  1139. </el-table-column>
  1140. <el-table-column prop="bookbuytime" label="操作">
  1141. <template slot-scope="scope">
  1142. <el-button
  1143. size="mini"
  1144. type="danger"
  1145. icon="el-icon-delete"
  1146. @click="handleDelete(scope.$index, scope.row)"
  1147. >删除
  1148. </el-button>
  1149. <!--<el-button-->
  1150. <!--size="mini"-->
  1151. <!--type="danger"-->
  1152. <!--icon="el-icon-save"-->
  1153. <!--@click="handleSave(scope.$index, scope.row)">保存-->
  1154. <!--</el-button>-->
  1155. </template>
  1156. </el-table-column>
  1157. </el-table>
  1158. </div>
  1159. </div>
  1160. <el-button size="mini" type="primary" class="fr_button" @click="sendMsg"
  1161. >发送短信
  1162. </el-button>
  1163. <div style="clear: both"></div>
  1164. </el-form>
  1165. </el-dialog>
  1166. <!-- 会议弹窗 end -->
  1167. <el-dialog
  1168. title="火险报告"
  1169. :visible.sync="showEventConfirm_gd"
  1170. v-if="showEventConfirm_gd"
  1171. width="100%"
  1172. class="top-dialog"
  1173. @close="cancelEventConfirm_gd()"
  1174. >
  1175. <div class="table-container">
  1176. <form>
  1177. <table id="table1" cellpadding="0" cellspacing="0">
  1178. <thead style="width: 100%; padding: 0.5rem 0">
  1179. <th rowspan="1" colspan="1" class="txt_left" width="100px">
  1180. 填报单位:
  1181. </th>
  1182. <th rowspan="1" colspan="6" align="left">
  1183. <input
  1184. type="text"
  1185. style="width: 100%; margin-left: 0.5rem"
  1186. v-model="table1.reportUnit"
  1187. />
  1188. </th>
  1189. <th rowspan="1" colspan="2" class="txt_right">填报时间:</th>
  1190. <th rowspan="1" colspan="6" align="left">
  1191. <input
  1192. type="text"
  1193. style="width: 3rem; text-align: center"
  1194. v-model="table1.reportTimeY"
  1195. />年<input
  1196. type="text"
  1197. style="width: 4rem; text-align: center"
  1198. v-model="table1.reportTimeM"
  1199. />月<input
  1200. type="text"
  1201. style="width: 3rem; text-align: center"
  1202. v-model="table1.reportTimeD"
  1203. />日
  1204. </th>
  1205. <th rowspan="1" colspan="8" style="text-align: right">
  1206. 吉林省人民政府森林防火指挥部办公室制
  1207. </th>
  1208. </thead>
  1209. <tbody>
  1210. <tr>
  1211. <td
  1212. colspan="22"
  1213. rowspan="1"
  1214. class="font1"
  1215. style="letter-spacing: 3rem; padding: 0.5rem 0"
  1216. >
  1217. 森林火灾损失
  1218. </td>
  1219. <td colspan="1" rowspan="6">
  1220. <table class="border0">
  1221. <tr>
  1222. <td>备注</td>
  1223. </tr>
  1224. </table>
  1225. </td>
  1226. </tr>
  1227. <tr>
  1228. <td rowspan="4" colspan="1">
  1229. <table class="border0">
  1230. <tr>
  1231. <td>森林火灾<br />损失总计</td>
  1232. </tr>
  1233. </table>
  1234. </td>
  1235. <td rowspan="1" colspan="12">火灾损失价值</td>
  1236. <td rowspan="1" colspan="9">扑火费用支出</td>
  1237. </tr>
  1238. <tr>
  1239. <td rowspan="3" colspan="1">
  1240. <table class="border0">
  1241. <tr>
  1242. <td>合计</td>
  1243. </tr>
  1244. </table>
  1245. </td>
  1246. <td rowspan="1" colspan="4">林木资源</td>
  1247. <td rowspan="1" colspan="6">人员伤亡</td>
  1248. <td rowspan="3" colspan="1">
  1249. <table class="border0">
  1250. <tr>
  1251. <td>其他<br />火灾<br />损失</td>
  1252. </tr>
  1253. </table>
  1254. </td>
  1255. <td rowspan="3" colspan="1">
  1256. <table class="border0">
  1257. <tr>
  1258. <td>合计</td>
  1259. </tr>
  1260. </table>
  1261. </td>
  1262. <td rowspan="1" colspan="2">
  1263. <table class="border0">
  1264. <tr>
  1265. <td>人工费</td>
  1266. </tr>
  1267. </table>
  1268. </td>
  1269. <td rowspan="1" colspan="3">
  1270. <table class="border0">
  1271. <tr>
  1272. <td>车辆费</td>
  1273. </tr>
  1274. </table>
  1275. </td>
  1276. <td rowspan="1" colspan="2">
  1277. <table class="border0">
  1278. <tr>
  1279. <td>飞行费</td>
  1280. </tr>
  1281. </table>
  1282. </td>
  1283. <td rowspan="3" colspan="1">
  1284. <table class="border0">
  1285. <tr>
  1286. <td>其他<br />扑火<br />费用</td>
  1287. </tr>
  1288. </table>
  1289. </td>
  1290. </tr>
  1291. <tr>
  1292. <td rowspan="1" colspan="2">成林</td>
  1293. <td rowspan="1" colspan="2">幼林</td>
  1294. <td rowspan="1" colspan="2">轻伤</td>
  1295. <td rowspan="1" colspan="2">重伤</td>
  1296. <td rowspan="1" colspan="2">死亡</td>
  1297. <td rowspan="2" colspan="1">
  1298. <table class="border0">
  1299. <tr>
  1300. <td>出动<br />人工</td>
  1301. </tr>
  1302. </table>
  1303. </td>
  1304. <td rowspan="2" colspan="1">
  1305. <table class="border0">
  1306. <tr>
  1307. <td>支出<br />费用</td>
  1308. </tr>
  1309. </table>
  1310. </td>
  1311. <td rowspan="2" colspan="1">
  1312. <table class="border0">
  1313. <tr>
  1314. <td>计</td>
  1315. </tr>
  1316. </table>
  1317. </td>
  1318. <td rowspan="2" colspan="1">
  1319. <table class="border0">
  1320. <tr>
  1321. <td>其中<br />汽车</td>
  1322. </tr>
  1323. </table>
  1324. </td>
  1325. <td rowspan="2" colspan="1">
  1326. <table class="border0">
  1327. <tr>
  1328. <td>支出<br />费用</td>
  1329. </tr>
  1330. </table>
  1331. </td>
  1332. <td rowspan="2" colspan="1">
  1333. <table class="border0">
  1334. <tr>
  1335. <td>出动<br />飞机</td>
  1336. </tr>
  1337. </table>
  1338. </td>
  1339. <td rowspan="2" colspan="1">
  1340. <table class="border0">
  1341. <tr>
  1342. <td>支出<br />费用</td>
  1343. </tr>
  1344. </table>
  1345. </td>
  1346. </tr>
  1347. <tr>
  1348. <td rowspan="1" colspan="1">蓄积</td>
  1349. <td rowspan="1" colspan="1">价值</td>
  1350. <td rowspan="1" colspan="1">株数</td>
  1351. <td rowspan="1" colspan="1">价值</td>
  1352. <td rowspan="1" colspan="1">人数</td>
  1353. <td rowspan="1" colspan="1">支出费用</td>
  1354. <td rowspan="1" colspan="1">人数</td>
  1355. <td rowspan="1" colspan="1">支出费用</td>
  1356. <td rowspan="1" colspan="1">人数</td>
  1357. <td rowspan="1" colspan="1">支出费用</td>
  1358. </tr>
  1359. <tr>
  1360. <td rowspan="1" colspan="1">万元</td>
  1361. <td rowspan="1" colspan="1">万元</td>
  1362. <td rowspan="1" colspan="1">米³</td>
  1363. <td rowspan="1" colspan="1">万元</td>
  1364. <td rowspan="1" colspan="1">万株</td>
  1365. <td rowspan="1" colspan="1">万元</td>
  1366. <td rowspan="1" colspan="1">人</td>
  1367. <td rowspan="1" colspan="1">万元</td>
  1368. <td rowspan="1" colspan="1">人</td>
  1369. <td rowspan="1" colspan="1">万元</td>
  1370. <td rowspan="1" colspan="1">人</td>
  1371. <td rowspan="1" colspan="1">万元</td>
  1372. <td rowspan="1" colspan="1">万元</td>
  1373. <td rowspan="1" colspan="1">万元</td>
  1374. <td rowspan="1" colspan="1">工日</td>
  1375. <td rowspan="1" colspan="1">万元</td>
  1376. <td rowspan="1" colspan="1">台</td>
  1377. <td rowspan="1" colspan="1">台</td>
  1378. <td rowspan="1" colspan="1">万元</td>
  1379. <td rowspan="1" colspan="1">架次</td>
  1380. <td rowspan="1" colspan="1">万元</td>
  1381. <td rowspan="1" colspan="1">万元</td>
  1382. </tr>
  1383. <tr>
  1384. <td rowspan="1" colspan="1">1</td>
  1385. <td rowspan="1" colspan="1">2</td>
  1386. <td rowspan="1" colspan="1">3</td>
  1387. <td rowspan="1" colspan="1">4</td>
  1388. <td rowspan="1" colspan="1">5</td>
  1389. <td rowspan="1" colspan="1">6</td>
  1390. <td rowspan="1" colspan="1">7</td>
  1391. <td rowspan="1" colspan="1">8</td>
  1392. <td rowspan="1" colspan="1">9</td>
  1393. <td rowspan="1" colspan="1">10</td>
  1394. <td rowspan="1" colspan="1">11</td>
  1395. <td rowspan="1" colspan="1">12</td>
  1396. <td rowspan="1" colspan="1">13</td>
  1397. <td rowspan="1" colspan="1">14</td>
  1398. <td rowspan="1" colspan="1">15</td>
  1399. <td rowspan="1" colspan="1">16</td>
  1400. <td rowspan="1" colspan="1">17</td>
  1401. <td rowspan="1" colspan="1">18</td>
  1402. <td rowspan="1" colspan="1">19</td>
  1403. <td rowspan="1" colspan="1">20</td>
  1404. <td rowspan="1" colspan="1">21</td>
  1405. <td rowspan="1" colspan="1">22</td>
  1406. <td rowspan="1" colspan="1">23</td>
  1407. </tr>
  1408. <tr class="int_tr">
  1409. <td rowspan="1" colspan="1">
  1410. <input
  1411. type="text"
  1412. class="border0"
  1413. v-model="table1.forestFireLossTotal"
  1414. />
  1415. </td>
  1416. <td rowspan="1" colspan="1">
  1417. <input
  1418. type="text"
  1419. class="border0"
  1420. v-model="table1.fireLossTotal"
  1421. />
  1422. </td>
  1423. <td rowspan="1" colspan="1">
  1424. <input
  1425. type="text"
  1426. class="border0"
  1427. v-model="table1.forestArea"
  1428. />
  1429. </td>
  1430. <td rowspan="1" colspan="1">
  1431. <input
  1432. type="text"
  1433. class="border0"
  1434. v-model="table1.forestPrice"
  1435. />
  1436. </td>
  1437. <td rowspan="1" colspan="1">
  1438. <input
  1439. type="text"
  1440. class="border0"
  1441. v-model="table1.treesNumber"
  1442. />
  1443. </td>
  1444. <td rowspan="1" colspan="1">
  1445. <input
  1446. type="text"
  1447. class="border0"
  1448. v-model="table1.treesPrice"
  1449. />
  1450. </td>
  1451. <td rowspan="1" colspan="1">
  1452. <input
  1453. type="text"
  1454. class="border0"
  1455. v-model="table1.minorInjuriesNumber"
  1456. />
  1457. </td>
  1458. <td rowspan="1" colspan="1">
  1459. <input
  1460. type="text"
  1461. class="border0"
  1462. v-model="table1.minorInjuriesPrice"
  1463. />
  1464. </td>
  1465. <td rowspan="1" colspan="1">
  1466. <input
  1467. type="text"
  1468. class="border0"
  1469. v-model="table1.seriouslyInjuredNumber"
  1470. />
  1471. </td>
  1472. <td rowspan="1" colspan="1">
  1473. <input
  1474. type="text"
  1475. class="border0"
  1476. v-model="table1.seriouslyInjuredPrice"
  1477. />
  1478. </td>
  1479. <td rowspan="1" colspan="1">
  1480. <input
  1481. type="text"
  1482. class="border0"
  1483. v-model="table1.deathNumber"
  1484. />
  1485. </td>
  1486. <td rowspan="1" colspan="1">
  1487. <input
  1488. type="text"
  1489. class="border0"
  1490. v-model="table1.deathPrice"
  1491. />
  1492. </td>
  1493. <td rowspan="1" colspan="1">
  1494. <input
  1495. type="text"
  1496. class="border0"
  1497. v-model="table1.elseFireLossPrice"
  1498. />
  1499. </td>
  1500. <td rowspan="1" colspan="1">
  1501. <input
  1502. type="text"
  1503. class="border0"
  1504. v-model="table1.blazesPriceTotal"
  1505. />
  1506. </td>
  1507. <td rowspan="1" colspan="1">
  1508. <input
  1509. type="text"
  1510. class="border0"
  1511. v-model="table1.artificialDays"
  1512. />
  1513. </td>
  1514. <td rowspan="1" colspan="1">
  1515. <input
  1516. type="text"
  1517. class="border0"
  1518. v-model="table1.artificialPrice"
  1519. />
  1520. </td>
  1521. <td rowspan="1" colspan="1">
  1522. <input
  1523. type="text"
  1524. class="border0"
  1525. v-model="table1.vehicleNumber"
  1526. />
  1527. </td>
  1528. <td rowspan="1" colspan="1">
  1529. <input
  1530. type="text"
  1531. class="border0"
  1532. v-model="table1.carNumber"
  1533. />
  1534. </td>
  1535. <td rowspan="1" colspan="1">
  1536. <input
  1537. type="text"
  1538. class="border0"
  1539. v-model="table1.vehiclePrice"
  1540. />
  1541. </td>
  1542. <td rowspan="1" colspan="1">
  1543. <input
  1544. type="text"
  1545. class="border0"
  1546. v-model="table1.planeNumber"
  1547. />
  1548. </td>
  1549. <td rowspan="1" colspan="1">
  1550. <input
  1551. type="text"
  1552. class="border0"
  1553. v-model="table1.planePrice"
  1554. />
  1555. </td>
  1556. <td rowspan="1" colspan="1">
  1557. <input
  1558. type="text"
  1559. class="border0"
  1560. v-model="table1.elseBlazesPrice"
  1561. />
  1562. </td>
  1563. <td rowspan="1" colspan="1">
  1564. <input type="text" class="border0" v-model="table1.note" />
  1565. </td>
  1566. </tr>
  1567. </tbody>
  1568. </table>
  1569. <table
  1570. class="table2"
  1571. cellpadding="0"
  1572. cellspacing="0"
  1573. style="white-space: nowrap"
  1574. >
  1575. <tbody>
  1576. <tr>
  1577. <th rowspan="1" colspan="26" style="letter-spacing: 6rem">
  1578. 火场资料
  1579. </th>
  1580. </tr>
  1581. <tr>
  1582. <td colspan="2" rowspan="1" class="txt_left">
  1583. &nbsp;1.起火时间
  1584. </td>
  1585. <td colspan="5" rowspan="1">
  1586. <input type="text" v-model="table2.fireTime" />
  1587. </td>
  1588. <td colspan="2" rowspan="1">发现时间</td>
  1589. <td colspan="8" rowspan="1">
  1590. <input type="text" v-model="table2.foundTime" />
  1591. </td>
  1592. <td colspan="2" rowspan="1">扑灭时间</td>
  1593. <td colspan="7" rowspan="1">
  1594. <input type="text" v-model="table2.blazesTime" />
  1595. </td>
  1596. </tr>
  1597. <tr>
  1598. <td colspan="2" rowspan="1" class="txt_left">
  1599. &nbsp;2.地点及发现方式
  1600. </td>
  1601. <td colspan="2" rowspan="1" class="txt_left">
  1602. <select v-model="table2.address">
  1603. <option>吉林市</option>
  1604. <option>延边州</option>
  1605. <option>白山市</option>
  1606. <option>通化市</option>
  1607. <option>辽源市</option>
  1608. <option>四平市</option>
  1609. <option>长春市</option>
  1610. <option>白城市</option>
  1611. <option>松原市</option>
  1612. <option>敦化航站</option>
  1613. <option>长白山管委会</option>
  1614. </select>
  1615. </td>
  1616. <td colspan="13" rowspan="1">
  1617. <input type="text" v-model="table2.firePlace" />
  1618. </td>
  1619. <td colspan="2" rowspan="1">发现方式</td>
  1620. <td colspan="7" rowspan="1">
  1621. <input type="text" v-model="table2.foundType" />
  1622. </td>
  1623. </tr>
  1624. <tr>
  1625. <td colspan="2" rowspan="1" class="txt_left">
  1626. &nbsp;3.火场位置
  1627. </td>
  1628. <td colspan="2" rowspan="1" class="border_l0">东经:</td>
  1629. <td colspan="1" rowspan="1" class="border_l0">
  1630. <input
  1631. type="text"
  1632. style="width: 50px"
  1633. v-model="table2.longitudeD"
  1634. />
  1635. </td>
  1636. <td colspan="1" rowspan="1" class="border_l0">度</td>
  1637. <td colspan="1" rowspan="1" class="border_l0">
  1638. <input
  1639. type="text"
  1640. style="width: 50px"
  1641. v-model="table2.longitudeM"
  1642. />
  1643. </td>
  1644. <td colspan="1" rowspan="1" class="border_l0">分</td>
  1645. <td colspan="1" rowspan="1" class="border_l0">
  1646. <input
  1647. type="text"
  1648. style="width: 50px"
  1649. v-model="table2.longitudeS"
  1650. />
  1651. </td>
  1652. <td colspan="2" rowspan="1" class="border_l0">秒</td>
  1653. <td colspan="1" rowspan="1" class="border_l0">;</td>
  1654. <td colspan="2" rowspan="1" class="border_l0">北纬:</td>
  1655. <td colspan="1" rowspan="1" class="border_l0">
  1656. <input
  1657. type="text"
  1658. style="width: 50px"
  1659. v-model="table2.latitudeD"
  1660. />
  1661. </td>
  1662. <td colspan="1" rowspan="1" class="border_l0">度</td>
  1663. <td colspan="1" rowspan="1" class="border_l0">
  1664. <input
  1665. type="text"
  1666. style="width: 50px"
  1667. v-model="table2.latitudeM"
  1668. />
  1669. </td>
  1670. <td colspan="1" rowspan="1" class="border_l0">分</td>
  1671. <td colspan="1" rowspan="1" class="border_l0">
  1672. <input
  1673. type="text"
  1674. style="width: 50px"
  1675. v-model="table2.latitudeS"
  1676. />
  1677. </td>
  1678. <td colspan="1" rowspan="1" class="border_l0">秒</td>
  1679. <td class="border_l0"></td>
  1680. <td class="border_l0"></td>
  1681. <td class="border_l0"></td>
  1682. <td class="border_l0"></td>
  1683. <td class="border_l0"></td>
  1684. <td></td>
  1685. </tr>
  1686. <tr>
  1687. <td colspan="2" rowspan="1" class="txt_left">
  1688. &nbsp;4.起火原因
  1689. </td>
  1690. <td colspan="3" rowspan="1" class="txt_left">
  1691. <select v-model="table2.fireSource">
  1692. <option>未查明火源</option>
  1693. <option>烧荒烧炭</option>
  1694. <option>炼山造林</option>
  1695. <option>烧牧场</option>
  1696. <option disabled>烧窑</option>
  1697. <option>烧隔离带</option>
  1698. <option>火车喷漏</option>
  1699. <option>火车甩瓦</option>
  1700. <option>机车喷火</option>
  1701. <option>其他(生产性火源)</option>
  1702. <option>野外吸烟</option>
  1703. <option>取暖做饭</option>
  1704. <option>上坟烧纸</option>
  1705. <option>烧山驱兽</option>
  1706. <option>小孩玩火</option>
  1707. <option>痴呆弄火</option>
  1708. <option>家火上山</option>
  1709. <option>电线引起</option>
  1710. <option>其他(非生产性用火)</option>
  1711. <option>故意放火</option>
  1712. <option>外省(区)烧入</option>
  1713. <option>外国烧入</option>
  1714. <option>雷击火</option>
  1715. <option>其他自然火</option>
  1716. </select>
  1717. </td>
  1718. <td colspan="3" rowspan="1">火灾种类</td>
  1719. <td colspan="4" rowspan="1" class="txt_left">
  1720. <select v-model="table2.fireType">
  1721. <option>地表火</option>
  1722. <option>树冠火</option>
  1723. <option>地下火</option>
  1724. </select>
  1725. </td>
  1726. <td colspan="3" rowspan="1">火灾等级</td>
  1727. <td colspan="11" rowspan="1" class="txt_left">
  1728. <select v-model="table2.fireLevel">
  1729. <option>一般</option>
  1730. <option>较大</option>
  1731. <option>重大</option>
  1732. <option>特大</option>
  1733. </select>
  1734. </td>
  1735. </tr>
  1736. <tr>
  1737. <td colspan="2" rowspan="1" class="txt_left">
  1738. &nbsp;5.火场面积(公顷)
  1739. </td>
  1740. <td colspan="2" rowspan="1">总面积合计</td>
  1741. <td colspan="3" rowspan="1">
  1742. <input type="text" v-model="table2.areaTotal" />
  1743. </td>
  1744. <td colspan="4" rowspan="1">受害森林面积合计</td>
  1745. <td colspan="3" rowspan="1">
  1746. <input type="text" v-model="table2.forestLossAreaTotal" />
  1747. </td>
  1748. <td colspan="1" rowspan="1">其中:</td>
  1749. <td colspan="2" rowspan="1">原森林</td>
  1750. <td colspan="4" rowspan="1">
  1751. <input type="text" v-model="table2.originalForestArea" />
  1752. </td>
  1753. <td colspan="2" rowspan="1">人工林</td>
  1754. <td colspan="3" rowspan="1">
  1755. <input type="text" v-model="table2.artificialForestArea" />
  1756. </td>
  1757. </tr>
  1758. <tr>
  1759. <td colspan="2" rowspan="1" class="txt_left">
  1760. &nbsp;6.扑火人力物力投入
  1761. </td>
  1762. <td colspan="2" rowspan="1">出动总人数</td>
  1763. <td colspan="1" rowspan="1">
  1764. <input type="text" v-model="table2.peopleTotal" />
  1765. </td>
  1766. <td colspan="2" rowspan="1">其中扑火队</td>
  1767. <td colspan="1" rowspan="1">
  1768. <input type="text" v-model="table2.blazesTeamNumber" />
  1769. </td>
  1770. <td colspan="1" rowspan="1">森警</td>
  1771. <td colspan="2" rowspan="1">
  1772. <input type="text" v-model="table2.policeNumber" />
  1773. </td>
  1774. <td colspan="1" rowspan="1">军队</td>
  1775. <td colspan="1" rowspan="1">
  1776. <input type="text" v-model="table2.armyNumber" />
  1777. </td>
  1778. <td colspan="1" rowspan="1">群众</td>
  1779. <td colspan="1" rowspan="1">
  1780. <input type="text" v-model="table2.crowdNumber" />
  1781. </td>
  1782. <td colspan="2" rowspan="1">风力灭火机</td>
  1783. <td colspan="1" rowspan="1">
  1784. <input type="text" v-model="table2.windExtinguisher" />
  1785. </td>
  1786. <td colspan="2" rowspan="1">二号工具</td>
  1787. <td colspan="1" rowspan="1">
  1788. <input type="text" v-model="table2.secondTool" />
  1789. </td>
  1790. <td colspan="2" rowspan="1">水枪</td>
  1791. <td colspan="1" rowspan="1">
  1792. <input type="text" v-model="table2.waterGun" />
  1793. </td>
  1794. <td colspan="1" rowspan="1">其他</td>
  1795. <td colspan="1" rowspan="1">
  1796. <input type="text" v-model="table2.elseThings" />
  1797. </td>
  1798. </tr>
  1799. <tr>
  1800. <td colspan="2" rowspan="1" class="txt_left">
  1801. &nbsp;7.受害森林概况
  1802. </td>
  1803. <td colspan="2" rowspan="1">林木组成</td>
  1804. <td colspan="11" rowspan="1">
  1805. <input type="text" v-model="table2.forestComposition" />
  1806. </td>
  1807. <td colspan="2" rowspan="1">林令</td>
  1808. <td colspan="4" rowspan="1">
  1809. <input type="text" v-model="table2.forestToken" />
  1810. </td>
  1811. <td colspan="2" rowspan="1">疏密度</td>
  1812. <td colspan="3" rowspan="1">
  1813. <input type="text" v-model="table2.porosities" />
  1814. </td>
  1815. </tr>
  1816. <tr>
  1817. <td colspan="2" rowspan="1" class="txt_left">
  1818. &nbsp;8.当日天气实况
  1819. </td>
  1820. <td colspan="2" rowspan="1">天气</td>
  1821. <td colspan="3" rowspan="1">
  1822. <input type="text" v-model="table2.weather" />
  1823. </td>
  1824. <td colspan="1" rowspan="1">气温</td>
  1825. <td colspan="2" rowspan="1">
  1826. <input type="text" v-model="table2.temperature" />
  1827. </td>
  1828. <td colspan="1" rowspan="1">C°</td>
  1829. <td colspan="3" rowspan="1">火险等级</td>
  1830. <td colspan="1" rowspan="1">
  1831. <input type="text" v-model="table2.fireInsuranceLevel" />
  1832. </td>
  1833. <td colspan="2" rowspan="1">风力</td>
  1834. <td colspan="2" rowspan="1" class="border_l0">
  1835. <input type="text" v-model="table2.windLevel" />
  1836. </td>
  1837. <td colspan="2" rowspan="1" class="txt_left">级</td>
  1838. <td colspan="2" rowspan="1">风向</td>
  1839. <td colspan="3" rowspan="1">
  1840. <input type="text" v-model="table2.windDirection" />
  1841. </td>
  1842. </tr>
  1843. <tr>
  1844. <td colspan="2" rowspan="1" class="txt_left">
  1845. &nbsp;9.指挥扑火负责人
  1846. </td>
  1847. <td colspan="2" rowspan="1">单位</td>
  1848. <td colspan="11" rowspan="1">
  1849. <input type="text" v-model="table2.commandUnit" />
  1850. </td>
  1851. <td colspan="2" rowspan="1">姓名</td>
  1852. <td colspan="4" rowspan="1">
  1853. <input type="text" v-model="table2.commandName" />
  1854. </td>
  1855. <td colspan="2" rowspan="1">职务</td>
  1856. <td colspan="3" rowspan="1">
  1857. <input type="text" v-model="table2.commandPosition" />
  1858. </td>
  1859. </tr>
  1860. <tr>
  1861. <td colspan="2" rowspan="1" class="txt_left">
  1862. &nbsp;10.火场调查负责人
  1863. </td>
  1864. <td colspan="2" rowspan="1">单位</td>
  1865. <td colspan="11" rowspan="1">
  1866. <input type="text" v-model="table2.surveyUnit" />
  1867. </td>
  1868. <td colspan="2" rowspan="1">姓名</td>
  1869. <td colspan="4" rowspan="1">
  1870. <input type="text" v-model="table2.surveyName" />
  1871. </td>
  1872. <td colspan="2" rowspan="1">职务</td>
  1873. <td colspan="3" rowspan="1">
  1874. <input type="text" v-model="table2.surveyPosition" />
  1875. </td>
  1876. </tr>
  1877. <tr>
  1878. <td colspan="2" rowspan="1" class="txt_left">
  1879. &nbsp;11.火灾肇事人情况
  1880. </td>
  1881. <td colspan="2" rowspan="1">姓名</td>
  1882. <td colspan="2" rowspan="1">
  1883. <input type="text" v-model="table2.accidentName" />
  1884. </td>
  1885. <td colspan="2" rowspan="1">性别</td>
  1886. <td colspan="1" rowspan="1">
  1887. <input type="text" v-model="table2.accidentSex" />
  1888. </td>
  1889. <td colspan="3" rowspan="1">年龄</td>
  1890. <td colspan="1" rowspan="1">
  1891. <input type="text" v-model="table2.accidentAge" />
  1892. </td>
  1893. <td colspan="1" rowspan="1">职业</td>
  1894. <td colspan="1" rowspan="1">
  1895. <input type="text" v-model="table2.accidentPosition" />
  1896. </td>
  1897. <td colspan="2" rowspan="1">单位或住址</td>
  1898. <td colspan="9" rowspan="1">
  1899. <input type="text" v-model="table2.accidentUnit" />
  1900. </td>
  1901. </tr>
  1902. <tr>
  1903. <td colspan="2" rowspan="1" class="txt_left">
  1904. &nbsp;12.火灾处理情况
  1905. </td>
  1906. <td colspan="2" rowspan="1">处理方式</td>
  1907. <td colspan="4" rowspan="1">
  1908. <select v-model="table2.dealType">
  1909. <option>立案(刑事处理)</option>
  1910. <option>破案(刑事处理)</option>
  1911. <option>行政处理</option>
  1912. <option>待查</option>
  1913. <option>拘留</option>
  1914. <option>处理</option>
  1915. <option>未处理</option>
  1916. </select>
  1917. </td>
  1918. <td colspan="3" rowspan="1">已处理人数</td>
  1919. <td colspan="4" rowspan="1">
  1920. <input type="text" v-model="table2.dealNumber" />
  1921. </td>
  1922. <td colspan="4" rowspan="1">刑事处罚人数</td>
  1923. <td colspan="7" rowspan="1">
  1924. <input type="text" v-model="table2.criminalDealNumber" />
  1925. </td>
  1926. </tr>
  1927. <tr>
  1928. <td
  1929. colspan="2"
  1930. rowspan="1"
  1931. class="txt_left"
  1932. style="height: 60px"
  1933. >
  1934. &nbsp;13.对火灾肇事人<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;的处理情况
  1935. </td>
  1936. <td colspan="24" rowspan="1" class="txt_left">
  1937. <textarea v-model="table2.accidentDealSituation"></textarea>
  1938. </td>
  1939. </tr>
  1940. <tr>
  1941. <td
  1942. colspan="2"
  1943. rowspan="1"
  1944. class="txt_left"
  1945. style="height: 60px"
  1946. >
  1947. &nbsp;14.对责任人员的<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任人追查情况
  1948. </td>
  1949. <td colspan="24" rowspan="1" class="txt_left">
  1950. <textarea
  1951. v-model="table2.responsibilityDealSituation"
  1952. ></textarea>
  1953. </td>
  1954. </tr>
  1955. <tr>
  1956. <td
  1957. colspan="2"
  1958. rowspan="1"
  1959. class="txt_left"
  1960. style="height: 60px"
  1961. >
  1962. &nbsp;15.对有关领导的<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任追查情况
  1963. </td>
  1964. <td colspan="24" rowspan="1" class="txt_left">
  1965. <textarea v-model="table2.leadershipDealSituation"></textarea>
  1966. </td>
  1967. </tr>
  1968. <tr class="tr_border">
  1969. <td colspan="4" rowspan="1">县(市、区、局、站)填表人:</td>
  1970. <td colspan="2" rowspan="1">
  1971. <input type="text" v-model="table2.townForm" />
  1972. </td>
  1973. <td colspan="4" rowspan="1">县(市、区、局、站)审核人:</td>
  1974. <td colspan="3" rowspan="1">
  1975. <input type="text" v-model="table2.townAudit" />
  1976. </td>
  1977. <td colspan="4" rowspan="1">市(州、管委会)填表人:</td>
  1978. <td colspan="2" rowspan="1">
  1979. <input type="text" v-model="table2.cityForm" />
  1980. </td>
  1981. <td colspan="4" rowspan="1">市(州、管委会)审核人:</td>
  1982. <td colspan="3" rowspan="1">
  1983. <input type="text" v-model="table2.cityAudit" />
  1984. </td>
  1985. </tr>
  1986. </tbody>
  1987. </table>
  1988. <div class="btm-btn-group">
  1989. <el-button
  1990. size="mini"
  1991. type="primary"
  1992. @click="updateCentereventTEventcatalogueStatus('gd', true)"
  1993. >归档
  1994. </el-button>
  1995. <el-button size="mini" type="primary" @click="regionalFlagAdd()"
  1996. >火灾区域
  1997. </el-button>
  1998. </div>
  1999. </form>
  2000. </div>
  2001. </el-dialog>
  2002. <!-- 添加区域标记 -->
  2003. <el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
  2004. <areaSupermap
  2005. ref="fireAreaSupermap"
  2006. v-if="regionalFlagOpen"
  2007. style="width: 100%; height: 74vh"
  2008. :mapDiv="'fireAreaSuperMap'"
  2009. :mapSite="{ doubleClickZoom: false }"
  2010. :codes="['9fa5']"
  2011. :isSideBySide="false"
  2012. :showAreaLatLng="showAreaLatLng"
  2013. ></areaSupermap>
  2014. <!-- <areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" :showAreaLatLng="showAreaLatLng"></areaSupermap> -->
  2015. </el-dialog>
  2016. <!-- 图片,视频预览 -->
  2017. <el-dialog
  2018. title="视频预览"
  2019. :visible.sync="showTcPlayer"
  2020. width="28%"
  2021. customClass="customWidthMp4"
  2022. >
  2023. <TcPlayer
  2024. ref="TcPlayer"
  2025. :playVideo="playVideo"
  2026. :widthHeigt="[100, 100]"
  2027. ></TcPlayer>
  2028. </el-dialog>
  2029. <el-dialog
  2030. :title="cameraTitle"
  2031. :visible.sync="cameraVisible"
  2032. v-if="cameraVisible"
  2033. customClass="videoCustomWidth"
  2034. @close="cancelEventLocationShow()"
  2035. >
  2036. <div style="width: 1020px; height: 625px; position: relative">
  2037. <!--视频窗口展示---海康-->
  2038. <div id="playWnd" class="playWnd" style="left: 0px; top: 0px"></div>
  2039. </div>
  2040. </el-dialog>
  2041. <el-dialog title="人员选择" :visible.sync="showFindUserByDept" width="40%">
  2042. <findUserByDept
  2043. v-if="showFindUserByDept"
  2044. ref="findUserByDept"
  2045. :deptId="iconCurrentIndex"
  2046. @addSelection="addSelection"
  2047. ></findUserByDept>
  2048. </el-dialog>
  2049. <TVWall ref="TVWall"></TVWall>
  2050. </div>
  2051. </template>
  2052. <script>
  2053. import html2canvas from "html2canvas"; //截图组件
  2054. import supermapDialog from "@/components/supermap"; //超图
  2055. import TVWall from "@/components/TVWall.vue"; //电视墙弹窗
  2056. import vBottomMenu from "@/components/vBottomMenu.vue"; //一体化公共底部菜单
  2057. import eventLogUpload from "@/views/eventLogUpload.vue"; //日志上传文件
  2058. import areaSupermap from "@/components/supermap"; //区域标记地图
  2059. import TcPlayer from "@/components/TcPlayer"; //视频预览
  2060. import findUserByDept from "@/views/findUserByDept"; //责任人选择弹框
  2061. import leftRightSwiperScroll from "@/components/leftRightSwiperScroll.vue"; //事件中心底部资源内容溢出组件
  2062. import "animate.css"; //动画库
  2063. import { getIconBg } from "@/api/components/sookaMapIcon"; //资源底色控制文件
  2064. import request from "@/utils/request";
  2065. import {
  2066. fireControlViewPoint,
  2067. fireControlViewList,
  2068. getEventDetail,
  2069. sendEventLog,
  2070. listSJfl,
  2071. listYuAn,
  2072. selectByeventCode,
  2073. updateCentereventTEventcatalogueStatus,
  2074. sendTask,
  2075. listResourceByWz,
  2076. updateYjYuAn,
  2077. uploadBase64,
  2078. centereventtdepteventList,
  2079. dutysystemList,
  2080. dutysystemAdd,
  2081. dutysystemRemove,
  2082. sendMessage,
  2083. userFeginlist,
  2084. eventExamine,
  2085. eventHandling,
  2086. initByCameras,
  2087. } from "@/api/forest";
  2088. import { joinConferences } from "@/api/meeting";
  2089. import { treeselectAll as deptTreeselect } from "@/api/system/dept";
  2090. import { getHaiKangVideoServer } from "@/api/haikang/haikang";
  2091. import { hasConferences, createConferences, getUserInfo } from "@/api/meeting";
  2092. import { getDahuaVideoServer } from "@/api/dahua/dahua";
  2093. import DHWs from "@/dahua/lib/DHWs";
  2094. import { selectConfigKey } from "@/api/system/config";
  2095. import Cookies from "js-cookie";
  2096. export default {
  2097. dicts: ["task_source"],
  2098. watch: {
  2099. filterText(val) {
  2100. this.$refs.LiandongDept.filter(val);
  2101. },
  2102. },
  2103. components: {
  2104. leftRightSwiperScroll,
  2105. TVWall,
  2106. vBottomMenu,
  2107. supermapDialog,
  2108. eventLogUpload,
  2109. areaSupermap,
  2110. TcPlayer,
  2111. findUserByDept,
  2112. },
  2113. data() {
  2114. return {
  2115. centermonitorTCamera:null,
  2116. //地图tool开关
  2117. mapToolShow: false,
  2118. mapToolCheckAll: false,
  2119. mapToolCheck: ["应急预案", "地图标绘", "资源与操作"],
  2120. mapToolCheckItem: [],
  2121. mapToolShowBH:false,
  2122. // isIndeterminate: true,
  2123. isLoading: false,
  2124. showFindUserByDept: false, //责任人选择框
  2125. //海康
  2126. cameraTitle: "",
  2127. cameraCode: "",
  2128. cameraVisible: false,
  2129. initCount: 0,
  2130. pubKey: "",
  2131. oWebControl: null,
  2132. version: 0,
  2133. playVideo: "", //视频预览地址
  2134. showTcPlayer: false, //视频预览弹窗
  2135. regionalFlagOpen: false, //区域标记
  2136. //区域标记
  2137. regionalFlagObj: {
  2138. array: [],
  2139. },
  2140. filterText: "", //树搜索
  2141. /** *****************事件流程***************************/
  2142. deptNameitem: "签收部门",
  2143. sendDeptId: null, //签收部门/发起部门
  2144. sendDeptName: null, //签收部门/发起部门
  2145. sendEventType: null, //事件类型
  2146. sendHuoZaiBanJing: 0, //火灾报告
  2147. sendGuanLianYuAn: null, //关联预案
  2148. sendUserFegin: [], //联系人
  2149. sendTaskSource: null, //任务来源
  2150. sendTaskTitle: null, //联动标题
  2151. sendTaskContent: null, //联动内容
  2152. sendLianDongDept: [], //联动部门
  2153. eventTypeList: [], //事件类型列表
  2154. guanLianYuAnList: [], //关联预案列表
  2155. userFeginList: [], //联系人列表
  2156. deptOptions: [], //签收部门
  2157. deptOptionsLiandong: [], //联动部门
  2158. eventStatusButton: null, //流程按钮标识
  2159. eventConfirmTitle: null, //弹窗标题 ---签收 误报 重复 审核意见
  2160. eventDescription: null, //审核意见
  2161. uploadAttachList: [], //审核上传图片回显集合
  2162. attachExamine: [], //审核图片集合
  2163. defaultProps: {
  2164. children: "children",
  2165. label: "label",
  2166. },
  2167. table1: {
  2168. reportUnit: null,
  2169. reportTimeY: new Date().getFullYear(),
  2170. reportTimeM: new Date().getMonth() + 1,
  2171. reportTimeD: new Date().getDate(),
  2172. forestFireLossTotal: null,
  2173. fireLossTotal: null,
  2174. forestArea: null,
  2175. forestPrice: null,
  2176. treesNumber: null,
  2177. treesPrice: null,
  2178. minorInjuriesNumber: null,
  2179. minorInjuriesPrice: null,
  2180. seriouslyInjuredNumber: null,
  2181. seriouslyInjuredPrice: null,
  2182. deathNumber: null,
  2183. deathPrice: null,
  2184. elseFireLossPrice: null,
  2185. blazesPriceTotal: null,
  2186. artificialDays: null,
  2187. artificialPrice: null,
  2188. vehicleNumber: null,
  2189. carNumber: null,
  2190. vehiclePrice: null,
  2191. planeNumber: null,
  2192. planePrice: null,
  2193. elseBlazesPrice: null,
  2194. note: null,
  2195. },
  2196. table2: {
  2197. fireTime: null,
  2198. foundTime: null,
  2199. blazesTime: null,
  2200. address: null,
  2201. firePlace: null,
  2202. foundType: null,
  2203. longitudeD: null,
  2204. longitudeM: null,
  2205. longitudeS: null,
  2206. latitudeD: null,
  2207. latitudeM: null,
  2208. latitudeS: null,
  2209. fireSource: null,
  2210. fireType: null,
  2211. fireLevel: null,
  2212. areaTotal: 0,
  2213. forestLossAreaTotal: null,
  2214. originalForestArea: null,
  2215. artificialForestArea: null,
  2216. peopleTotal: 0,
  2217. blazesTeamNumber: null,
  2218. policeNumber: null,
  2219. armyNumber: null,
  2220. crowdNumber: null,
  2221. windExtinguisher: null,
  2222. secondTool: null,
  2223. waterGun: null,
  2224. elseThings: null,
  2225. forestComposition: "无",
  2226. forestToken: "无",
  2227. porosities: "无",
  2228. weather: null,
  2229. temperature: null,
  2230. fireInsuranceLevel: null,
  2231. windLevel: null,
  2232. windDirection: null,
  2233. commandUnit: null,
  2234. commandName: null,
  2235. commandPosition: null,
  2236. surveyUnit: null,
  2237. surveyName: null,
  2238. surveyPosition: null,
  2239. accidentName: null,
  2240. accidentSex: null,
  2241. accidentAge: null,
  2242. accidentPosition: null,
  2243. accidentUnit: null,
  2244. dealType: null,
  2245. dealNumber: null,
  2246. criminalDealNumber: null,
  2247. accidentDealSituation: null,
  2248. responsibilityDealSituation: null,
  2249. leadershipDealSituation: null,
  2250. townForm: null,
  2251. townAudit: null,
  2252. cityForm: null,
  2253. cityAudit: null,
  2254. },
  2255. /** *****************事件流程***************************/
  2256. showEventConfirm: false, //事件签收弹窗
  2257. showGuanLianYuAnConfirm: false, //调整关联预案弹窗
  2258. showEventConfirm_gd: false, //事件火险报告弹窗
  2259. address: null, //事件上报地址
  2260. eventStatusValue: null, //事件状态
  2261. isExamine: "0", //事件审核 1通过 0不通过
  2262. eventId: null, //事件ID
  2263. eventType: null, //事件类型-大类
  2264. eventTypeXl: null, //事件类型-小类
  2265. statusFlag: null, //事件流程按钮
  2266. dataStatus: null, //事件处置按钮
  2267. deptId: null, //事件流程部门
  2268. eventCode: null,
  2269. eventName: null,
  2270. longitude: null,
  2271. latitude: null,
  2272. eventLog: null,
  2273. eventLogList: [],
  2274. visuForestCloudYuAnBo: null,
  2275. eventDialog: false,
  2276. showResponsibilityDialog: false, //责任制弹窗
  2277. showMeetingMsgDialog: false, //发送会议短信弹窗
  2278. depteventList: [], //责任制部门列表
  2279. iconCurrentIndex: "",
  2280. dutysystemDeptName: "",
  2281. depteventId: "",
  2282. dutysystemTableData: [],
  2283. radius: 5000, //资源搜索半径
  2284. resourcesList: [
  2285. {
  2286. resourceName: "取水口",
  2287. type: "qsk",
  2288. count: "1",
  2289. icon: "sj-icon-waterintake",
  2290. },
  2291. {
  2292. resourceName: "水鹤",
  2293. type: "sh",
  2294. icon: "sj-icon-watercrane",
  2295. },
  2296. {
  2297. resourceName: "消防栓",
  2298. type: "xfs",
  2299. count: "1",
  2300. icon: "sj-icon-firehydrant",
  2301. },
  2302. {
  2303. resourceName: "起降点",
  2304. type: "qjd",
  2305. count: "1",
  2306. icon: "sj-icon-landing",
  2307. },
  2308. {
  2309. resourceName: "检查站",
  2310. type: "jcz",
  2311. count: "1",
  2312. icon: "sj-icon-checkpoint",
  2313. },
  2314. {
  2315. resourceName: "防火队",
  2316. type: "fhd",
  2317. count: "1",
  2318. icon: "sj-icon-fireteam",
  2319. },
  2320. {
  2321. resourceName: "重点区域",
  2322. type: "zdqy",
  2323. count: "1",
  2324. icon: "sj-icon-keyAreas",
  2325. },
  2326. {
  2327. resourceName: "摄像头",
  2328. type: "sxt",
  2329. count: "1",
  2330. icon: "sj-icon-jkzx",
  2331. },
  2332. ],
  2333. resourcesListCheck: [],
  2334. //文本域
  2335. feedback: "",
  2336. };
  2337. },
  2338. props: {
  2339. calendarDay: null, //首页日历选择
  2340. },
  2341. created() {
  2342. this.closedEventDiaTool()
  2343. // this.isLoading = true;
  2344. /** ----------------------------------摄像头预览开始------------------------------------- */
  2345. const DHWsInstance = DHWs.getInstance();
  2346. this.ws = DHWsInstance;
  2347. /** ----------------------------------摄像头预览结束------------------------------------- */
  2348. },
  2349. methods: {
  2350. closedEventDiaTool() {
  2351. document.addEventListener("click", (e) => {
  2352. let b = document.getElementById("eventMapToolOnly");
  2353. let c = document.getElementById("eventMapToolOnlyButton");
  2354. if (this.mapToolShow && !b.contains(e.target) && !c.contains(e.target)) {
  2355. this.mapToolShow = false;
  2356. }
  2357. });
  2358. },
  2359. // 地图tool显隐
  2360. mapToolCheckAllChange(val) {
  2361. this.mapToolCheckItem = [];
  2362. this.mapToolCheckItem = val ? this.mapToolCheck : [];
  2363. // this.isIndeterminate = false;
  2364. this.mapToolCheckChangeBH()
  2365. },
  2366. mapToolCheckChangeBH(){
  2367. if (this.mapToolCheckItem.includes("地图标绘")) {
  2368. this.mapToolShowBH= true
  2369. } else {
  2370. this.mapToolShowBH= false
  2371. }
  2372. },
  2373. mapToolCheckChange(value) {
  2374. let checkedCount = value.length;
  2375. this.mapToolCheckAll = checkedCount === this.mapToolCheck.length;
  2376. this.mapToolCheckChangeBH()
  2377. },
  2378. // 获取消防左侧菜单列表
  2379. fireControlViewList() {
  2380. console.log(11111)
  2381. this.resourcesList = [];
  2382. let _this = this;
  2383. fireControlViewList("xiaofang").then(function (res) {
  2384. // _this.resourcesList = res.data
  2385. //截取data.resourceTable字段中“_”分隔符最后一个作为关键字,重新拼接成前端需要的图标:class,格式sj-icon-xxxx,将其set回原数组
  2386. res.data.forEach(function (data, index) {
  2387. let obj = {};
  2388. let icon =
  2389. "sj" +
  2390. "-" +
  2391. "icon" +
  2392. "-" +
  2393. data.type.replaceAll("_", "-").replaceAll("@", "-");
  2394. let resourceName = data.name.replaceAll("(个)", "");
  2395. obj.resourceName = resourceName;
  2396. obj.type = data.type;
  2397. obj.count = data.num;
  2398. obj.icon = icon;
  2399. _this.resourcesList.push(obj);
  2400. console.log("icon_" + (index + 1) + "=", icon);
  2401. //每个图标对应固定颜色
  2402. _this.$set(_this.resourcesList[index], "bg", getIconBg(icon));
  2403. });
  2404. _this.resourcesList.push({
  2405. resourceName: "摄像头",
  2406. type: "sxt",
  2407. count: "1",
  2408. icon: "sj-icon-jkzx",
  2409. bg: "#f5ad1b",
  2410. });
  2411. });
  2412. },
  2413. /************************************责任制-开始****************************************/
  2414. addLine: function () {
  2415. //添加负责人行数
  2416. var newValue = {
  2417. id: "", //主键
  2418. userId: "", //用户主键
  2419. dept: "", //部门名称
  2420. depteventId: "", //事件部门关联责任人
  2421. name: "", //姓名
  2422. post: "", //岗位
  2423. telphone: "", //手机号addSelection
  2424. };
  2425. //添加新的行数
  2426. this.dutysystemTableData.push(newValue);
  2427. },
  2428. finUserByDept: function () {
  2429. //根据部门选择责任人
  2430. this.showFindUserByDept = true;
  2431. },
  2432. addSelection: function (userList) {
  2433. for (let i in this.dutysystemTableData) {
  2434. for (let j in userList) {
  2435. if (
  2436. this.dutysystemTableData[i].name == userList[j].name &&
  2437. this.dutysystemTableData[i].telphone == userList[j].telphone
  2438. ) {
  2439. userList.splice(j, 1);
  2440. }
  2441. }
  2442. }
  2443. this.dutysystemTableData = this.dutysystemTableData.concat(userList);
  2444. this.showFindUserByDept = false;
  2445. },
  2446. handleDelete: function (index, row) {
  2447. //删除负责人行数
  2448. if (row.id != null && row.id != "") {
  2449. let param = {
  2450. ids: row.id,
  2451. };
  2452. dutysystemRemove(param).then((res) => {
  2453. this.$message.success(`删除成功!`);
  2454. this.dutysystemSelect(
  2455. this.iconCurrentIndex,
  2456. this.dutysystemDeptName,
  2457. this.depteventId
  2458. );
  2459. });
  2460. } else {
  2461. this.dutysystemTableData.splice(index, 1);
  2462. }
  2463. },
  2464. handleSave: function (index, rowData) {
  2465. //保存负责人行数
  2466. rowData.dept = this.dutysystemDeptName;
  2467. rowData.depteventId = this.depteventId;
  2468. dutysystemAdd(rowData).then((res) => {
  2469. this.$message.success(`保存成功!`);
  2470. this.dutysystemSelect(
  2471. this.iconCurrentIndex,
  2472. this.dutysystemDeptName,
  2473. this.depteventId
  2474. );
  2475. });
  2476. },
  2477. dutysystemSelect: function (deptId, dutysystemDeptName, depteventId) {
  2478. //通过部门查询负责人信息
  2479. this.dutysystemDeptName = dutysystemDeptName;
  2480. this.depteventId = depteventId;
  2481. this.iconCurrentIndex = deptId;
  2482. let param = {
  2483. depteventId: depteventId,
  2484. };
  2485. dutysystemList(param).then((res) => {
  2486. if (res.data != null && res.data.length > 0) {
  2487. this.dutysystemTableData = res.data;
  2488. } else {
  2489. this.dutysystemTableData = [];
  2490. }
  2491. });
  2492. },
  2493. showResponsibility() {
  2494. //弹出责任制弹窗
  2495. //初始化责任制数据列表
  2496. this.dutysystemTableData = [];
  2497. let param = {
  2498. eventCode: this.eventCode,
  2499. };
  2500. centereventtdepteventList(param).then((res) => {
  2501. this.depteventList = res.data;
  2502. this.showResponsibilityDialog = true;
  2503. });
  2504. },
  2505. closeResponsibilityDialog() {
  2506. //责任制关闭
  2507. this.dutysystemTableData = [];
  2508. this.dutysystemDeptName = "";
  2509. this.depteventId = "";
  2510. this.iconCurrentIndex = "";
  2511. this.showResponsibilityDialog = false;
  2512. },
  2513. closeMeetingMsgDialog() {
  2514. //会议弹窗关闭
  2515. this.dutysystemTableData = [];
  2516. this.dutysystemDeptName = "";
  2517. this.depteventId = "";
  2518. this.iconCurrentIndex = "";
  2519. this.showMeetingMsgDialog = false;
  2520. },
  2521. addResponsibilityDialog() {
  2522. //责任制保存
  2523. console.log(this.dutysystemTableData);
  2524. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  2525. let reg_tel =
  2526. /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
  2527. for (let i in this.dutysystemTableData) {
  2528. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  2529. this.$message.error(`请输入正确姓名!`);
  2530. return;
  2531. }
  2532. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  2533. this.$message.error(`请输入正确手机号码!`);
  2534. return;
  2535. }
  2536. if (
  2537. this.dutysystemTableData[i].id == null ||
  2538. this.dutysystemTableData[i].id == ""
  2539. ) {
  2540. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  2541. this.dutysystemTableData[i].depteventId = this.depteventId;
  2542. }
  2543. }
  2544. const param = {
  2545. centereventTDutySystemList: this.dutysystemTableData,
  2546. eventCode: this.eventCode,
  2547. eventName: this.eventName,
  2548. };
  2549. dutysystemAdd(param).then((res) => {
  2550. this.$message.success(`保存成功!`);
  2551. this.dutysystemSelect(
  2552. this.iconCurrentIndex,
  2553. this.dutysystemDeptName,
  2554. this.depteventId
  2555. );
  2556. this.closeResponsibilityDialog();
  2557. });
  2558. },
  2559. /************************************责任制-结束****************************************/
  2560. showheatPlotting() {
  2561. // if (!this.$refs.supermapDialog.isheatPlotting) {
  2562. // this.$refs.supermapDialog.showheatPlotting(this.latitude, this.longitude)
  2563. // } else {
  2564. // this.$refs.supermapDialog.isheatPlotting = false
  2565. // }
  2566. // this.cancelEventShow();
  2567. this.eventDialog = false;
  2568. this.$emit('showEventDialog', this.eventCode);
  2569. },
  2570. showTVWallDiaLog() {
  2571. this.initByCameras();
  2572. // this.$refs.TVWall.showTVWall();
  2573. },
  2574. showTVWall(channelCode, channelName) {
  2575. let tvListJson = [
  2576. {
  2577. switchTab: "2",
  2578. treeLabels: [
  2579. {
  2580. id: null,
  2581. labelCode: "999",
  2582. labelName: "电视墙",
  2583. cameraType: null,
  2584. parentLabelCode: "",
  2585. },
  2586. {
  2587. id: "spcamera00010",
  2588. labelCode: channelCode,
  2589. labelName: channelName,
  2590. cameraType: "1",
  2591. parentLabelCode: "999",
  2592. },
  2593. ],
  2594. labelChannels: [
  2595. {
  2596. labelCode: channelCode,
  2597. channelDates: [
  2598. {
  2599. channelCode: channelCode,
  2600. channelName: channelName,
  2601. channelSn: null,
  2602. cameraType: "1",
  2603. online: "1",
  2604. cameraCode: "1",
  2605. },
  2606. ],
  2607. },
  2608. ],
  2609. },
  2610. ];
  2611. this.$refs.TVWall.showTVWall(tvListJson, [
  2612. {
  2613. channelId: channelCode,
  2614. },
  2615. ]);
  2616. this.$refs.bottomMenu.showMeasure = false;
  2617. this.$refs.bottomMenu.showChild = false;
  2618. this.$refs.bottomMenu.showBanChild = false;
  2619. this.$refs.bottomMenu.showChangChild = false;
  2620. },
  2621. initByCameras() {
  2622. // const params = Object.assign({})
  2623. // params.longitude = this.longitude;
  2624. // params.latitude = this.latitude;
  2625. // params.type = '8'
  2626. // initByCameras(params).then(res => {
  2627. // this.$refs.TVWall.showTVWall1(this.longitude, this.latitude, res.data);
  2628. // this.$refs.bottomMenu.showMeasure = false
  2629. // this.$refs.bottomMenu.showChild = false
  2630. // this.$refs.bottomMenu.showBanChild = false
  2631. // this.$refs.bottomMenu.showChangChild = false
  2632. // })
  2633. let that = this
  2634. if(that.centermonitorTCamera == null){
  2635. this.$message.warning("当前事件无绑定摄像头")
  2636. return
  2637. }
  2638. let tvListJson = [{
  2639. "switchTab": "2",
  2640. "treeLabels": [{
  2641. "id": null,
  2642. "labelCode": "999",
  2643. "labelName": "电视墙",
  2644. "cameraType": null,
  2645. "parentLabelCode": ""
  2646. },
  2647. {
  2648. "id": "spcamera00010",
  2649. "labelCode": that.centermonitorTCamera.cameraCode,
  2650. "labelName": that.centermonitorTCamera.cameraName,
  2651. "cameraType": that.centermonitorTCamera.cameraType,
  2652. "parentLabelCode": "999"
  2653. }
  2654. ],
  2655. "labelChannels": [{
  2656. "labelCode": that.centermonitorTCamera.cameraCode,
  2657. "channelDates": [{
  2658. "channelCode": that.centermonitorTCamera.cameraCode,
  2659. "channelName": that.centermonitorTCamera.cameraName,
  2660. "channelSn": null,
  2661. "cameraType": that.centermonitorTCamera.cameraType,
  2662. "online": "1",
  2663. "cameraCode": null
  2664. }]
  2665. }]
  2666. }]
  2667. this.$refs.TVWall.showTVWall1(this.longitude, this.latitude, tvListJson);
  2668. this.$refs.bottomMenu.showMeasure = false
  2669. this.$refs.bottomMenu.showChild = false
  2670. this.$refs.bottomMenu.showBanChild = false
  2671. this.$refs.bottomMenu.showChangChild = false
  2672. },
  2673. showUpdateYjYuAn() {
  2674. listYuAn().then((res) => {
  2675. //关联预案列表
  2676. if (res.code == 200) {
  2677. this.guanLianYuAnList = res.data;
  2678. this.showGuanLianYuAnConfirm = true;
  2679. }
  2680. });
  2681. },
  2682. updateYjYuAn() {
  2683. if (
  2684. this.eventStatusValue == "forest_event_status_1" ||
  2685. this.eventStatusValue == "forest_event_status_7"
  2686. ) {
  2687. this.$message.error(`修改预案信息在签收后方可修改!`);
  2688. return;
  2689. } else if (this.eventStatusValue == "forest_event_status_3") {
  2690. this.$message.error(`误报事件无法修改预案信息!`);
  2691. return;
  2692. } else {
  2693. let param = {
  2694. eventCode: this.eventCode,
  2695. reserve: this.sendGuanLianYuAn,
  2696. };
  2697. if (this.sendGuanLianYuAn == "" || this.sendGuanLianYuAn == null) {
  2698. this.$message.error(`请选择预案信息!`);
  2699. return;
  2700. }
  2701. updateYjYuAn(param).then((res) => {
  2702. //事件调整关联预案
  2703. if (res.code == 200) {
  2704. this.$message.success(`预案调整成功!`);
  2705. this.refreshEventDialog(this.eventCode);
  2706. this.sendGuanLianYuAn = null;
  2707. this.showGuanLianYuAnConfirm = false;
  2708. }
  2709. });
  2710. }
  2711. },
  2712. fireControlViewPoint(type) {
  2713. // alert(type)
  2714. if (this.resourcesListCheck.indexOf(type) > -1) {
  2715. this.resourcesListCheck.splice(
  2716. this.resourcesListCheck.indexOf(type),
  2717. 1
  2718. );
  2719. setTimeout(() => {
  2720. this.$refs.supermapDialog.clearMByType(type);
  2721. }, 1000);
  2722. } else {
  2723. // 消防资源落点
  2724. let param = {
  2725. longitude: this.longitude,
  2726. latitude: this.latitude,
  2727. type: type,
  2728. radius: this.radius,
  2729. };
  2730. if (type != "sxt") {
  2731. fireControlViewPoint(param).then((res) => {
  2732. if (res.data != null && res.data.pointList.length > 0) {
  2733. this.resourcesListCheck.push(type);
  2734. var markersList = [];
  2735. for (let i = 0; i < res.data.pointList.length; i++) {
  2736. let markersMap = {
  2737. lng: 124.59,
  2738. lat: 43.02,
  2739. icon: "marker",
  2740. bindPopupHtml: "",
  2741. click: "",
  2742. parameter: "",
  2743. keepBindPopup: false,
  2744. isAggregation: true,
  2745. };
  2746. markersMap.icon = "sj-icon-map-" + type.replaceAll("_", "-");
  2747. markersMap.lng = res.data.pointList[i].longitude;
  2748. markersMap.lat = res.data.pointList[i].latitude;
  2749. markersMap.bindPopupHtml =
  2750. '<div class="map-tip">' +
  2751. "<span>" +
  2752. ' <div class="d-l-con">' +
  2753. ' <div class="d-l-l-text">' +
  2754. " <h4>资源名称:" +
  2755. res.data.pointList[i].name +
  2756. "</h4>" +
  2757. " </div>" +
  2758. " </div>" +
  2759. " </span>" +
  2760. "<span>" +
  2761. ' <div class="d-l-con">' +
  2762. ' <div class="d-l-l-text">' +
  2763. " <h4>经纬度:" +
  2764. res.data.pointList[i].longitude +
  2765. "," +
  2766. res.data.pointList[i].latitude +
  2767. "</h4>" +
  2768. " </div>" +
  2769. " </div>" +
  2770. " </span>" +
  2771. "<span>" +
  2772. ' <div class="d-l-con">' +
  2773. ' <div class="d-l-l-text">' +
  2774. " <h4>名称:" +
  2775. (res.data.pointList[i].name?res.data.pointList[i].name:'无') +
  2776. "</h4>" +
  2777. " </div>" +
  2778. " </div>" +
  2779. " </span>" +
  2780. "<span>" +
  2781. ' <div class="d-l-con">' +
  2782. ' <div class="d-l-l-text">' +
  2783. " <h4>地址:" +
  2784. (res.data.pointList[i].address?res.data.pointList[i].address:'无') +
  2785. "</h4>" +
  2786. " </div>" +
  2787. " </div>" +
  2788. " </span>" +
  2789. "<span>" +
  2790. ' <div class="d-l-con">' +
  2791. ' <div class="d-l-l-text">' +
  2792. " <h4>联系人:" +
  2793. (res.data.pointList[i].contacts?res.data.pointList[i].contacts:'无') +
  2794. "</h4>" +
  2795. " </div>" +
  2796. " </div>" +
  2797. " </span>" +
  2798. "<span>" +
  2799. ' <div class="d-l-con">' +
  2800. ' <div class="d-l-l-text">' +
  2801. " <h4>电话:" +
  2802. (res.data.pointList[i].phone?res.data.pointList[i].phone:'无') +
  2803. "</h4>" +
  2804. " </div>" +
  2805. " </div>" +
  2806. " </span>" +
  2807. "<span>" +
  2808. ' <div class="d-l-con">' +
  2809. ' <div class="d-l-l-text">' +
  2810. " <h4>距离事件距离:" +
  2811. (res.data.pointList[i].distance?res.data.pointList[i].distance+'米':'无') +
  2812. "</h4>" +
  2813. " </div>" +
  2814. " </div>" +
  2815. " </span>" +
  2816. "</div>";
  2817. markersList.push(markersMap);
  2818. }
  2819. setTimeout(() => {
  2820. this.$refs.supermapDialog.setMarkersByType(markersList, type);
  2821. }, 1000);
  2822. } else {
  2823. this.$message.warning("当前点位附近无资源数据");
  2824. }
  2825. });
  2826. } else {
  2827. this.listResourceByWz(type);
  2828. }
  2829. }
  2830. },
  2831. //设置联动部门不可选择本部门
  2832. recursiveChildren(arrayList,deptId) {
  2833. arrayList.forEach((item, index) => {
  2834. if(item.id==deptId){
  2835. item.disabled="true";
  2836. return
  2837. }
  2838. if(item.children){
  2839. this.recursiveChildren(item.children,deptId)
  2840. }
  2841. });
  2842. },
  2843. listResourceByWz(type) {
  2844. if (this.resourcesListCheck.indexOf(type) > -1) {
  2845. this.resourcesListCheck.splice(
  2846. this.resourcesListCheck.indexOf(type),
  2847. 1
  2848. );
  2849. setTimeout(() => {
  2850. this.$refs.supermapDialog.clearMByType(type);
  2851. }, 1000);
  2852. } else {
  2853. //搜索物资
  2854. let param = {
  2855. longitude: this.longitude,
  2856. latitude: this.latitude,
  2857. type: type,
  2858. radius: this.radius,
  2859. };
  2860. // listResourceByWz(param).then((res) => {
  2861. request({
  2862. url: `/center-monitor/camera/findNearbyCameras/${param.longitude}/${param.latitude}/${param.radius}`,
  2863. method: 'get'
  2864. }).then(res => {
  2865. if(res.data!=null&&res.data.length==0){
  2866. this.$message.warning("设定范围内无该资源信息!")
  2867. }
  2868. if (res.data != null && res.data.length > 0) {
  2869. this.resourcesListCheck.push(type);
  2870. var markersList = [];
  2871. for (let i = 0; i < res.data.length; i++) {
  2872. let markersMap = {
  2873. lng: 124.59,
  2874. lat: 43.02,
  2875. icon: "marker",
  2876. bindPopupHtml: "",
  2877. click: "",
  2878. parameter: "",
  2879. keepBindPopup: false,
  2880. isAggregation: true,
  2881. };
  2882. if (type == "qsk") {
  2883. markersMap.icon = "sj-icon-centerdata-t-forest-waterintake";
  2884. } else if (type == "sh") {
  2885. markersMap.icon = "sj-icon-centerdata-t-forest-watercrane";
  2886. } else if (type == "xfs") {
  2887. markersMap.icon = "sj-icon-centerdata-t-forest-firehydrant";
  2888. } else if (type == "qjd") {
  2889. markersMap.icon = "sj-icon-landing";
  2890. } else if (type == "jcz") {
  2891. markersMap.icon = "sj-icon-checkpoint";
  2892. } else if (type == "fhd") {
  2893. markersMap.icon = "sj-icon-fireteam";
  2894. } else if (type == "zdqy") {
  2895. markersMap.icon = "sj-icon-keyAreas";
  2896. } else if (type == "sxt") {
  2897. if (res.data[i].cameraUse == 1) {
  2898. if (res.data[i].workingStatus == '0') {
  2899. markersMap.icon = 'sj-icon-map-centerdata-slmonitor'
  2900. markersMap.click='preview'
  2901. } else {
  2902. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor'
  2903. markersMap.click=''
  2904. }
  2905. }
  2906. else if (res.data[i].cameraUse == 2) {
  2907. if (res.data[i].workingStatus == '0') {
  2908. markersMap.icon = 'camera'
  2909. markersMap.click='preview'
  2910. } else {
  2911. markersMap.icon = 'camera-not'
  2912. markersMap.click=''
  2913. }
  2914. }
  2915. else if (res.data[i].cameraUse == 3) {
  2916. if (res.data[i].workingStatus == '0') {
  2917. markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
  2918. markersMap.click='preview'
  2919. } else {
  2920. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor-traffic'
  2921. markersMap.click=''
  2922. }
  2923. }
  2924. else if (res.data[i].cameraUse == 5) {
  2925. if (res.data[i].workingStatus == '0') {
  2926. markersMap.icon = 'sj-icon-map-centerdata-river_camera'
  2927. markersMap.click='preview'
  2928. } else {
  2929. markersMap.icon = 'sj-icon-map-not-centerdata-river_camera'
  2930. markersMap.click=''
  2931. }
  2932. }
  2933. else if (res.data[i].cameraUse == 4) {
  2934. if (res.data[i].workingStatus == '0') {
  2935. markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
  2936. markersMap.click='preview'
  2937. } else {
  2938. markersMap.icon = 'sj-icon-map-not-centerdata-sand-quarry-camera'
  2939. markersMap.click=''
  2940. }
  2941. }
  2942. if (res.data[i].cameraCode != null) {
  2943. // markersMap.click = "preview";
  2944. // markersMap.parameter = res.data[i].cameraCode
  2945. markersMap.parameter = {
  2946. code: res.data[i].cameraCode,
  2947. type: res.data[i].cameraFactory
  2948. ? res.data[i].cameraFactory
  2949. : 1,
  2950. name: res.data[i].cameraName,
  2951. };
  2952. }
  2953. }
  2954. markersMap.lng = res.data[i].longitude;
  2955. markersMap.lat = res.data[i].latitude;
  2956. markersMap.bindPopupHtml =
  2957. '<div class="map-tip">' +
  2958. "<span>" +
  2959. ' <div class="d-l-con">' +
  2960. ' <div class="d-l-l-text">' +
  2961. " <h4>资源名称:" +
  2962. res.data[i].cameraName +
  2963. "</h4>" +
  2964. " </div>" +
  2965. " </div>" +
  2966. " </span>" +
  2967. "</div>";
  2968. markersList.push(markersMap);
  2969. }
  2970. setTimeout(() => {
  2971. this.$refs.supermapDialog.setMarkersByType(markersList, type);
  2972. }, 1000);
  2973. }
  2974. });
  2975. }
  2976. },
  2977. // 返回图片列表
  2978. assetTypeAnImage(filePath) {
  2979. let imageList = [];
  2980. if (filePath != null && filePath.length > 0) {
  2981. for (let i = 0; i < filePath.length; i++) {
  2982. if (filePath[i].fileType == "image") {
  2983. imageList.push(filePath[i].fileUrl);
  2984. }
  2985. }
  2986. }
  2987. return imageList;
  2988. },
  2989. clickFile(fileUrl, fileName, fileType) {
  2990. if (fileType == "image") {
  2991. return;
  2992. } else if (fileType == "video") {
  2993. this.showTcPlayer = true;
  2994. setTimeout(() => {
  2995. this.playVideo = fileUrl;
  2996. }, 500);
  2997. } else {
  2998. let a = document.createElement("a");
  2999. a.download = fileName;
  3000. a.href = fileUrl;
  3001. a.target = "_blank";
  3002. a.click();
  3003. }
  3004. },
  3005. setValue(event) {
  3006. //签收选择部门
  3007. this.sendDeptName = event.label;
  3008. this.sendDeptId = event.value;
  3009. },
  3010. cancelEventConfirm() {
  3011. //关闭事件签收弹窗
  3012. this.sendDeptId = null;
  3013. this.sendDeptName = null;
  3014. this.sendUserFegin = [];
  3015. this.sendEventType = null;
  3016. this.sendHuoZaiBanJing = 0;
  3017. this.sendGuanLianYuAn = null;
  3018. // this.longitude = null
  3019. // this.latitude = null
  3020. this.sendTaskTitle = null;
  3021. this.sendTaskSource = null;
  3022. this.sendTaskContent = null;
  3023. this.sendLianDongDept = [];
  3024. this.eventTypeList = []; //事件类型列表
  3025. this.guanLianYuAnList = []; //关联预案列表
  3026. this.deptOptions = []; //签收部门
  3027. this.deptOptionsLiandong = []; //联动部门
  3028. this.eventStatusButton = null; //流程按钮标识
  3029. this.eventConfirmTitle = null; //流程按钮标识
  3030. this.resourcesListCheck = [];
  3031. this.userFeginList = []; //联系人列表
  3032. },
  3033. cancelEventConfirm_send() {
  3034. //清空表单数据
  3035. this.sendDeptId = null;
  3036. this.sendDeptName = null;
  3037. this.sendUserFegin = [];
  3038. this.sendEventType = null;
  3039. this.sendHuoZaiBanJing = 0;
  3040. this.sendGuanLianYuAn = null;
  3041. this.sendTaskTitle = null;
  3042. this.sendTaskSource = null;
  3043. this.sendTaskContent = null;
  3044. this.sendLianDongDept = [];
  3045. this.eventTypeList = []; //事件类型列表
  3046. this.guanLianYuAnList = []; //关联预案列表
  3047. this.deptOptions = []; //签收部门
  3048. this.deptOptionsLiandong = []; //联动部门
  3049. this.userFeginList = []; //联系人列表
  3050. },
  3051. cancelEventConfirm_gd() {
  3052. //关闭事件火险报告窗口
  3053. this.resetTable1();
  3054. this.resetTable2();
  3055. },
  3056. cancelEventConfirm_mp4() {
  3057. //关闭视频窗口
  3058. this.playVideo = "";
  3059. this.$refs.TcPlayer.destroyed();
  3060. },
  3061. resetTable1() {
  3062. this.table1 = {
  3063. reportUnit: null,
  3064. reportTimeY: null,
  3065. reportTimeM: null,
  3066. reportTimeD: null,
  3067. forestFireLossTotal: null,
  3068. fireLossTotal: null,
  3069. forestArea: null,
  3070. forestPrice: null,
  3071. treesNumber: null,
  3072. treesPrice: null,
  3073. minorInjuriesNumber: null,
  3074. minorInjuriesPrice: null,
  3075. seriouslyInjuredNumber: null,
  3076. seriouslyInjuredPrice: null,
  3077. deathNumber: null,
  3078. deathPrice: null,
  3079. elseFireLossPrice: null,
  3080. blazesPriceTotal: null,
  3081. artificialDays: null,
  3082. artificialPrice: null,
  3083. vehicleNumber: null,
  3084. carNumber: null,
  3085. vehiclePrice: null,
  3086. planeNumber: null,
  3087. planePrice: null,
  3088. elseBlazesPrice: null,
  3089. note: null,
  3090. };
  3091. },
  3092. resetTable2() {
  3093. this.table2 = {
  3094. fireTime: null,
  3095. foundTime: null,
  3096. blazesTime: null,
  3097. address: null,
  3098. firePlace: null,
  3099. foundType: null,
  3100. longitudeD: null,
  3101. longitudeM: null,
  3102. longitudeS: null,
  3103. latitudeD: null,
  3104. latitudeM: null,
  3105. latitudeS: null,
  3106. fireSource: null,
  3107. fireType: null,
  3108. fireLevel: null,
  3109. areaTotal: null,
  3110. forestLossAreaTotal: null,
  3111. originalForestArea: null,
  3112. artificialForestArea: null,
  3113. peopleTotal: null,
  3114. blazesTeamNumber: null,
  3115. policeNumber: null,
  3116. armyNumber: null,
  3117. crowdNumber: null,
  3118. windExtinguisher: null,
  3119. secondTool: null,
  3120. waterGun: null,
  3121. elseThings: null,
  3122. forestComposition: null,
  3123. forestToken: null,
  3124. porosities: null,
  3125. weather: null,
  3126. temperature: null,
  3127. fireInsuranceLevel: null,
  3128. windLevel: null,
  3129. windDirection: null,
  3130. commandUnit: null,
  3131. commandName: null,
  3132. commandPosition: null,
  3133. surveyUnit: null,
  3134. surveyName: null,
  3135. surveyPosition: null,
  3136. accidentName: null,
  3137. accidentSex: null,
  3138. accidentAge: null,
  3139. accidentPosition: null,
  3140. accidentUnit: null,
  3141. dealType: null,
  3142. dealNumber: null,
  3143. criminalDealNumber: null,
  3144. accidentDealSituation: null,
  3145. responsibilityDealSituation: null,
  3146. leadershipDealSituation: null,
  3147. townForm: null,
  3148. townAudit: null,
  3149. cityForm: null,
  3150. cityAudit: null,
  3151. };
  3152. },
  3153. getUrl(urlList) {
  3154. this.uploadAttachList = urlList;
  3155. this.attachExamine = [];
  3156. urlList.forEach((item) => {
  3157. var attachPath = {
  3158. attachPath: item.name,
  3159. };
  3160. this.attachExamine.push(attachPath);
  3161. });
  3162. },
  3163. /**
  3164. * eventStatusValue 事件状态
  3165. * isSend 是否办理
  3166. * */
  3167. async updateCentereventTEventcatalogueStatus(eventStatus, isSend) {
  3168. this.eventStatusButton = eventStatus;
  3169. let that = this;
  3170. if (!isSend) {
  3171. //事件弹窗
  3172. if (eventStatus == "qs") {
  3173. //签收
  3174. that.eventConfirmTitle = "事件签收";
  3175. let param = {
  3176. parentId: that.eventType,
  3177. };
  3178. if (that.eventTypeXl != null) {
  3179. that.sendEventType = that.eventTypeXl;
  3180. } else {
  3181. await listSJfl(param).then((res) => {
  3182. //事件类型
  3183. if (res.code == 200) {
  3184. that.eventTypeList = res.data;
  3185. }
  3186. });
  3187. }
  3188. await listYuAn().then((res) => {
  3189. //关联预案
  3190. if (res.code == 200) {
  3191. that.guanLianYuAnList = res.data;
  3192. }
  3193. });
  3194. await selectByeventCode(that.eventCode).then((res) => {
  3195. //签收部门
  3196. if (res.code == 200) {
  3197. that.deptOptions = res.data;
  3198. that.deptNameitem = "签收部门";
  3199. }
  3200. });
  3201. that.showEventConfirm = true;
  3202. } else if (eventStatus == "qr") {
  3203. //确认
  3204. that.eventConfirmTitle = "事件确认";
  3205. } else if (eventStatus == "wb") {
  3206. //误报
  3207. that.eventConfirmTitle = "事件误报";
  3208. await selectByeventCode(that.eventCode).then((res) => {
  3209. //签收部门
  3210. if (res.code == 200) {
  3211. that.deptOptions = res.data;
  3212. that.deptNameitem = "签收部门";
  3213. }
  3214. });
  3215. that.showEventConfirm = true;
  3216. } else if (eventStatus == "cf") {
  3217. //重复
  3218. that.eventConfirmTitle = "事件重复";
  3219. await selectByeventCode(that.eventCode).then((res) => {
  3220. //签收部门
  3221. if (res.code == 200) {
  3222. that.deptOptions = res.data;
  3223. that.deptNameitem = "签收部门";
  3224. }
  3225. });
  3226. that.showEventConfirm = true;
  3227. } else if (eventStatus == "ld") {
  3228. //联动
  3229. await selectByeventCode(that.eventCode).then((res) => {
  3230. //签收部门
  3231. if (res.code == 200) {
  3232. that.deptOptions = res.data;
  3233. that.deptNameitem = "发起部门";
  3234. }
  3235. });
  3236. that.eventConfirmTitle = "事件联动";
  3237. /** 查询部门树结构 */
  3238. await deptTreeselect().then((response) => {
  3239. let deptId=Cookies.get("deptId")
  3240. that.recursiveChildren(response.data,deptId)
  3241. that.deptOptionsLiandong = response.data;
  3242. });
  3243. that.showEventConfirm = true;
  3244. } else if (eventStatus == "sh") {
  3245. //审核
  3246. that.eventConfirmTitle = "事件审核";
  3247. that.showEventConfirm = true;
  3248. } else if (eventStatus == "gd") {
  3249. //归档填报
  3250. that.showEventConfirm_gd = true;
  3251. }
  3252. } else {
  3253. //事件提交后台
  3254. if (eventStatus == "ld") {
  3255. //事件处理流程--联动1
  3256. let array = that.$refs.LiandongDept.getCheckedNodes();
  3257. if (array != null && array.length > 0) {
  3258. for (let i = 0; i < array.length; i++) {
  3259. that.sendLianDongDept.push({
  3260. taskDeptId: array[i].id,
  3261. taskDeptName: array[i].label,
  3262. });
  3263. }
  3264. }
  3265. if (that.sendTaskSource == "" || that.sendTaskSource == null) {
  3266. that.$message.error(`请选择任务来源!`);
  3267. return;
  3268. }
  3269. if (that.sendTaskContent == "" || that.sendTaskContent == null) {
  3270. that.$message.error(`请输入任务内容!`);
  3271. return;
  3272. }
  3273. if (that.sendTaskTitle == "" || that.sendTaskTitle == null) {
  3274. that.$message.error(`请输入任务标题!`);
  3275. return;
  3276. }
  3277. if (that.sendLianDongDept == "" || that.sendLianDongDept == null) {
  3278. that.$message.error(`请选择任务联动部门!`);
  3279. return;
  3280. }
  3281. // if (
  3282. // that.sendDeptId == "" ||
  3283. // that.sendDeptId == null ||
  3284. // that.sendDeptName == "" ||
  3285. // that.sendDeptName == null
  3286. // ) {
  3287. // that.$message.error(`请选择任务发起部门!`);
  3288. // return;
  3289. // }
  3290. let eventState = "";
  3291. listSJfl({
  3292. parentId: that.eventType,
  3293. }).then((res) => {
  3294. if (res.code == 200) {
  3295. for (let i in res.data) {
  3296. if (res.data[i].id == that.eventTypeXl) {
  3297. eventState = res.data[i].eventTypeName;
  3298. }
  3299. }
  3300. let param = {
  3301. sendDeptId: Cookies.get("deptId"),
  3302. sendDept: Cookies.get("deptName"),
  3303. eventCode: that.eventCode,
  3304. longitude: that.longitude,
  3305. latitude: that.latitude,
  3306. taskTitle: that.sendTaskTitle,
  3307. taskSource: that.sendTaskSource,
  3308. taskContent: that.sendTaskContent,
  3309. taskDept: that.sendLianDongDept,
  3310. eventAddress: that.address,
  3311. eventState: eventState,
  3312. eventName: that.eventName,
  3313. };
  3314. sendTask(param).then((res) => {
  3315. if (res.code == 200) {
  3316. that.$message.success(`联动发起成功!`);
  3317. that.refreshEventDialog(that.eventCode);
  3318. that.cancelEventConfirm_send();
  3319. that.showEventConfirm = false;
  3320. }
  3321. });
  3322. }
  3323. });
  3324. } else if (eventStatus == "gd") {
  3325. if (that.eventTypeXl == 101) {
  3326. let double =
  3327. /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; //数字和两位小数
  3328. let number = /^[+]{0,1}(\d+)$/g; //正整数
  3329. if (!double.test(that.table2.areaTotal)) {
  3330. that.$message.error(`面积只能填写到小数后两位!`);
  3331. return;
  3332. }
  3333. if (!number.test(that.table2.peopleTotal)) {
  3334. that.$message.error(`人员请填写正整数!`);
  3335. return;
  3336. }
  3337. if (
  3338. that.table2.forestComposition == "" ||
  3339. that.table2.forestComposition == null
  3340. ) {
  3341. that.$message.error(`林木组成不能为空!`);
  3342. return;
  3343. }
  3344. if (
  3345. that.table2.forestToken == "" ||
  3346. that.table2.forestToken == null
  3347. ) {
  3348. that.$message.error(`林令不能为空!`);
  3349. return;
  3350. }
  3351. if (
  3352. that.table2.porosities == "" ||
  3353. that.table2.porosities == null
  3354. ) {
  3355. that.$message.error(`疏密度不能为空!`);
  3356. return;
  3357. }
  3358. }
  3359. //事件处理流程--归档
  3360. let param = {
  3361. deptId: that.deptId,
  3362. eventCode: that.eventCode,
  3363. eventStatus: eventStatus,
  3364. id: that.eventId,
  3365. version: that.version,
  3366. czlx: "",
  3367. forestFireLoss: {
  3368. eventId: that.eventCode,
  3369. table1: that.table1,
  3370. },
  3371. fireInformation: {
  3372. eventId: that.eventCode,
  3373. table2: that.table2,
  3374. },
  3375. array: that.regionalFlagObj.array,
  3376. };
  3377. updateCentereventTEventcatalogueStatus(param).then((res) => {
  3378. if (res.code == 200) {
  3379. that.$message.success(`处理成功!`);
  3380. that.refreshEvent(that.eventCode);
  3381. that.cancelEventConfirm_send();
  3382. that.showEventConfirm_gd = false;
  3383. that.$emit("getEventList", that.calendarDay, 10, 1);
  3384. that.$emit("getSupermap", that.calendarDay);
  3385. } else if (res.code == 304) {
  3386. console.log(that.eventCode);
  3387. this.$message.warning(res.msg);
  3388. this.showEventDialog(that.eventCode);
  3389. //获取事件详情
  3390. }
  3391. });
  3392. } else if (eventStatus == "shtg") {
  3393. that.eventStatusButton = "sh";
  3394. if (that.eventDescription == "" || that.eventDescription == null) {
  3395. that.$message.error(`请填写审核意见!`);
  3396. return;
  3397. }
  3398. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  3399. that.$message.error(`请上传审核图片!`);
  3400. return;
  3401. }
  3402. //事件处理流程--审核通过
  3403. let param = {
  3404. id: that.eventId, //事件id
  3405. eventCode: that.eventCode, //事件编号
  3406. eventName: that.eventName, //事件名称
  3407. isExamine: 1, //通过传1,不通过传0
  3408. version: that.version,
  3409. eventDescription: that.eventDescription, //审核意见
  3410. attach: that.attachExamine,
  3411. };
  3412. eventExamine(param).then((res) => {
  3413. if (res.code == 200) {
  3414. that.$message.success(`处理成功!`);
  3415. that.refreshEvent(that.eventCode);
  3416. that.cancelEventConfirm_send();
  3417. that.showEventConfirm = false;
  3418. } else if (res.code == 304) {
  3419. console.log(that.eventCode);
  3420. this.$message.warning(res.msg);
  3421. this.showEventDialog(that.eventCode);
  3422. //获取事件详情
  3423. }
  3424. that.attachExamine = [];
  3425. that.uploadAttachList = [];
  3426. that.eventDescription = "";
  3427. });
  3428. } else if (eventStatus == "shbtg") {
  3429. that.eventStatusButton = "sh";
  3430. if (that.eventDescription == "" || that.eventDescription == null) {
  3431. that.$message.error(`请填写审核意见!`);
  3432. return;
  3433. }
  3434. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  3435. that.$message.error(`请上传审核图片!`);
  3436. return;
  3437. }
  3438. //事件处理流程--审核不通过
  3439. let param = {
  3440. id: that.eventId, //事件id
  3441. eventCode: that.eventCode, //事件编号
  3442. eventName: that.eventName, //事件名称
  3443. isExamine: 0, //通过传1,不通过传0
  3444. version: that.version,
  3445. eventDescription: that.eventDescription, //审核意见
  3446. attach: that.attachExamine,
  3447. };
  3448. eventExamine(param).then((res) => {
  3449. if (res.code == 200) {
  3450. that.$message.success(`处理成功!`);
  3451. that.refreshEvent(that.eventCode);
  3452. that.cancelEventConfirm_send();
  3453. that.showEventConfirm = false;
  3454. } else if (res.code == 304) {
  3455. console.log(that.eventCode);
  3456. this.$message.warning(res.msg);
  3457. this.showEventDialog(that.eventCode);
  3458. //获取事件详情
  3459. }
  3460. that.attachExamine = [];
  3461. that.uploadAttachList = [];
  3462. that.eventDescription = "";
  3463. });
  3464. } else if (eventStatus == "cz") {
  3465. eventHandling(that.eventId, that.eventCode).then((res) => {
  3466. if (res.code == 200) {
  3467. that.$message.success(`处理成功!`);
  3468. that.refreshEvent(that.eventCode);
  3469. that.cancelEventConfirm_send();
  3470. that.showEventConfirm = false;
  3471. }
  3472. });
  3473. } else {
  3474. if (eventStatus == "qs") {
  3475. if (
  3476. that.sendDeptId == "" ||
  3477. that.sendDeptId == null ||
  3478. that.sendDeptName == "" ||
  3479. that.sendDeptName == null
  3480. ) {
  3481. that.$message.error(`请选择部门!`);
  3482. return;
  3483. }
  3484. if (eventStatus == "qs") {
  3485. if (that.sendEventType == "" || that.sendEventType == null) {
  3486. that.$message.error(`请选择事件类型!`);
  3487. return;
  3488. }
  3489. }
  3490. } else {
  3491. that.sendDeptId = that.deptId;
  3492. }
  3493. //事件处理流程
  3494. let param = {
  3495. phones: that.sendUserFegin,
  3496. eventCode: that.eventCode,
  3497. deptId: that.sendDeptId,
  3498. deptName: that.sendDeptName,
  3499. eventStatus: eventStatus,
  3500. eventType: that.sendEventType,
  3501. id: that.eventId,
  3502. czlx: "",
  3503. version: that.version,
  3504. cameraCode: that.cameraCode,
  3505. fireRadius: that.sendHuoZaiBanJing,
  3506. reserve: that.sendGuanLianYuAn,
  3507. address: that.address,
  3508. };
  3509. updateCentereventTEventcatalogueStatus(param).then((res) => {
  3510. if (res.code == 200) {
  3511. that.$message.success(`处理成功!`);
  3512. that.cancelEventConfirm_send();
  3513. that.showEventConfirm = false;
  3514. that.$emit("getEventList", that.calendarDay, 10, 1);
  3515. that.$emit("getSupermap", that.calendarDay);
  3516. if (eventStatus == "cf" || eventStatus == "wb") {
  3517. this.eventDialog = false;
  3518. return;
  3519. }
  3520. that.refreshEvent(that.eventCode);
  3521. } else if (res.code == 304) {
  3522. console.log(that.eventCode);
  3523. this.$message.warning(res.msg);
  3524. this.showEventDialog(that.eventCode);
  3525. //获取事件详情
  3526. }
  3527. });
  3528. }
  3529. }
  3530. },
  3531. filterNode(value, data) {
  3532. //树搜索
  3533. if (!value) return true;
  3534. return data.label.indexOf(value) !== -1;
  3535. },
  3536. sendEventLog() {
  3537. if (this.eventLog == "" || this.eventLog == null) {
  3538. return;
  3539. }
  3540. //日志发送
  3541. let param = {
  3542. eventCode: this.eventCode,
  3543. logContent: this.eventLog,
  3544. operation: "bus_oper_type_2",
  3545. operationType: "log_oper_type_1",
  3546. };
  3547. sendEventLog(param).then((res) => {
  3548. if (res.code == 200) {
  3549. this.$message.success(`发送成功!`);
  3550. this.eventLog = null;
  3551. this.refreshEventDialog(this.eventCode);
  3552. }
  3553. });
  3554. },
  3555. showEventLogUpload() {
  3556. this.$refs.eventLogUpload.eventLogUpload(this.eventCode);
  3557. },
  3558. cancelEventShow() {
  3559. this.mapToolShow=false
  3560. this.mapToolCheckItem = [];
  3561. this.mapToolCheckAll=false
  3562. this.mapToolShowBH=false
  3563. this.statusFlag = null;
  3564. this.deptId = null;
  3565. console.log("关闭事件弹窗");
  3566. this.eventLogList = [];
  3567. this.mapToolShow = false;
  3568. },
  3569. showEventDialog(eventCode) {
  3570. this.mapToolShow=false
  3571. this.mapToolCheckItem = [];
  3572. this.mapToolCheckAll=false
  3573. this.mapToolShowBH=false
  3574. this.fireControlViewList();
  3575. this.eventCode = eventCode;
  3576. let that = this;
  3577. //获取事件详情
  3578. getEventDetail({
  3579. eventCode: eventCode,
  3580. }).then((res) => {
  3581. let markersMapList = [];
  3582. that.eventDialog = true;
  3583. that.eventLogList = res.data.eventlog; //日志列表
  3584. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  3585. that.address = res.data.catalogue.address;
  3586. that.eventStatusValue = res.data.catalogue.eventStatusValue;
  3587. that.eventType = res.data.catalogue.eventType;
  3588. that.statusFlag = res.data.catalogue.statusFlag;
  3589. that.dataStatus = res.data.catalogue.dataStatus;
  3590. that.deptId = res.data.catalogue.deptId;
  3591. that.eventId = res.data.catalogue.id;
  3592. that.longitude = res.data.catalogue.longitude;
  3593. that.latitude = res.data.catalogue.latitude;
  3594. that.eventName = res.data.catalogue.eventName;
  3595. that.version = res.data.catalogue.version;
  3596. that.eventTypeXl = res.data.catalogue.eventTypeXl;
  3597. that.isExamine = res.data.catalogue.isExamine;
  3598. let markersMap = {
  3599. lng: 124.59,
  3600. lat: 43.02,
  3601. icon: "marker",
  3602. bindPopupHtml: "",
  3603. click: "",
  3604. parameter: "",
  3605. keepBindPopup: false,
  3606. isAggregation: true,
  3607. radius: 0,
  3608. };
  3609. if (
  3610. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3611. res.data.catalogue.urgeCount == 0
  3612. ) {
  3613. markersMap.icon = "sj-icon-map-xinshangbao";
  3614. }
  3615. if (
  3616. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3617. res.data.catalogue.urgeCount > 0
  3618. ) {
  3619. markersMap.icon = "sj-icon-map-cuiban";
  3620. } else if (
  3621. res.data.catalogue.eventStatusValue == "forest_event_status_2"
  3622. ) {
  3623. markersMap.icon = "sj-icon-map-qianshou";
  3624. } else if (
  3625. res.data.catalogue.eventStatusValue == "forest_event_status_5"
  3626. ) {
  3627. markersMap.icon = "sj-icon-map-banjie";
  3628. } else if (
  3629. res.data.catalogue.eventStatusValue == "forest_event_status_6"
  3630. ) {
  3631. markersMap.icon = "sj-icon-map-guidang";
  3632. } else if (
  3633. res.data.catalogue.eventStatusValue == "forest_event_status_7"
  3634. ) {
  3635. markersMap.icon = "sj-icon-map-queren";
  3636. }
  3637. markersMap.lng = res.data.catalogue.longitude;
  3638. markersMap.lat = res.data.catalogue.latitude;
  3639. if (
  3640. res.data.eventdetail != null &&
  3641. res.data.eventdetail.length > 0 &&
  3642. res.data.eventdetail[0].fireRadius != null &&
  3643. res.data.eventdetail[0].fireRadius != "" &&
  3644. res.data.eventdetail[0].fireRadius > 0
  3645. ) {
  3646. markersMap.radius = res.data.eventdetail[0].fireRadius;
  3647. }
  3648. markersMapList.push(markersMap);
  3649. if (res.data.centermonitorTCamera != null) {
  3650. that.centermonitorTCamera = null;
  3651. that.cameraCode = res.data.centermonitorTCamera.id;
  3652. if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null) {
  3653. that.centermonitorTCamera = res.data.centermonitorTCamera;
  3654. let markersMap = {
  3655. lng: 124.59,
  3656. lat: 43.02,
  3657. icon: "camera",
  3658. bindPopupHtml: "",
  3659. click: "preview",
  3660. parameter: {
  3661. code: res.data.centermonitorTCamera.cameraCode,
  3662. type: res.data.centermonitorTCamera.cameraFactory,
  3663. name: res.data.centermonitorTCamera.cameraName,
  3664. },
  3665. keepBindPopup: false,
  3666. isAggregation: true,
  3667. radius: 0,
  3668. };
  3669. if (res.data.centermonitorTCamera.cameraUse == 1) {
  3670. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3671. markersMap.icon = 'sj-icon-map-centerdata-slmonitor'
  3672. markersMap.click = 'preview'
  3673. } else {
  3674. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor'
  3675. markersMap.click = ''
  3676. }
  3677. } else if (res.data.centermonitorTCamera.cameraUse == 2) {
  3678. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3679. markersMap.icon = 'camera'
  3680. markersMap.click = 'preview'
  3681. } else {
  3682. markersMap.icon = 'camera-not'
  3683. markersMap.click = ''
  3684. }
  3685. } else if (res.data.centermonitorTCamera.cameraUse == 3) {
  3686. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3687. markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
  3688. markersMap.click = 'preview'
  3689. } else {
  3690. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor-traffic'
  3691. markersMap.click = ''
  3692. }
  3693. } else if (res.data.centermonitorTCamera.cameraUse == 5) {
  3694. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3695. markersMap.icon = 'sj-icon-map-centerdata-river_camera'
  3696. markersMap.click = 'preview'
  3697. } else {
  3698. markersMap.icon = 'sj-icon-map-not-centerdata-river_camera'
  3699. markersMap.click = ''
  3700. }
  3701. } else if (res.data.centermonitorTCamera.cameraUse == 4) {
  3702. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3703. markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
  3704. markersMap.click = 'preview'
  3705. } else {
  3706. markersMap.icon = 'sj-icon-map-not-centerdata-sand-quarry-camera'
  3707. markersMap.click = ''
  3708. }
  3709. }
  3710. markersMap.bindPopupHtml =
  3711. '<div class="map-tip">' +
  3712. "<span>" +
  3713. ' <div class="d-l-con">' +
  3714. ' <div class="d-l-l-text">' +
  3715. " <h4>摄像头名称:" +
  3716. res.data.centermonitorTCamera.cameraName +
  3717. "</h4>" +
  3718. " </div>" +
  3719. " </div>" +
  3720. " </span>" +
  3721. "<span>" +
  3722. "</div>";
  3723. markersMap.lng = res.data.centermonitorTCamera.longitude;
  3724. markersMap.lat = res.data.centermonitorTCamera.latitude;
  3725. markersMapList.push(markersMap);
  3726. }
  3727. }
  3728. setTimeout(() => {
  3729. that.$refs.supermapDialog.dynamicPlotting(); //弹出动态绘制窗口,防止截图位置改变
  3730. that.$refs.supermapDialog.dropLocation10(
  3731. res.data.catalogue.latitude,
  3732. res.data.catalogue.longitude
  3733. );
  3734. that.$refs.supermapDialog.clearM(false);
  3735. that.$refs.supermapDialog.clearM(true);
  3736. that.$refs.supermapDialog.setMarkersRadius(markersMapList);
  3737. }, 2000);
  3738. });
  3739. },
  3740. refreshEvent(eventCode) {
  3741. this.eventCode = eventCode;
  3742. let that = this;
  3743. //刷新--事件详情
  3744. getEventDetail({
  3745. eventCode: eventCode,
  3746. }).then((res) => {
  3747. let markersMapList = [];
  3748. that.eventDialog = true;
  3749. that.eventLogList = res.data.eventlog;
  3750. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  3751. that.address = res.data.catalogue.address;
  3752. that.eventStatusValue = res.data.catalogue.eventStatusValue;
  3753. that.eventType = res.data.catalogue.eventType;
  3754. that.statusFlag = res.data.catalogue.statusFlag;
  3755. that.dataStatus = res.data.catalogue.dataStatus;
  3756. that.deptId = res.data.catalogue.deptId;
  3757. that.eventId = res.data.catalogue.id;
  3758. that.latitude = res.data.catalogue.latitude;
  3759. that.longitude = res.data.catalogue.longitude;
  3760. that.eventName = res.data.catalogue.eventName;
  3761. that.version = res.data.catalogue.version;
  3762. that.eventTypeXl = res.data.catalogue.eventTypeXl;
  3763. that.isExamine = res.data.catalogue.isExamine;
  3764. let markersMap = {
  3765. lng: 124.59,
  3766. lat: 43.02,
  3767. icon: "marker",
  3768. bindPopupHtml: "",
  3769. click: "",
  3770. parameter: "",
  3771. keepBindPopup: false,
  3772. isAggregation: true,
  3773. radius: 0,
  3774. };
  3775. if (
  3776. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3777. res.data.catalogue.urgeCount == 0
  3778. ) {
  3779. markersMap.icon = "sj-icon-map-xinshangbao";
  3780. }
  3781. if (
  3782. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3783. res.data.catalogue.urgeCount > 0
  3784. ) {
  3785. markersMap.icon = "sj-icon-map-cuiban";
  3786. } else if (
  3787. res.data.catalogue.eventStatusValue == "forest_event_status_2"
  3788. ) {
  3789. markersMap.icon = "sj-icon-map-qianshou";
  3790. } else if (
  3791. res.data.catalogue.eventStatusValue == "forest_event_status_5"
  3792. ) {
  3793. markersMap.icon = "sj-icon-map-banjie";
  3794. } else if (
  3795. res.data.catalogue.eventStatusValue == "forest_event_status_6"
  3796. ) {
  3797. markersMap.icon = "sj-icon-map-guidang";
  3798. } else if (
  3799. res.data.catalogue.eventStatusValue == "forest_event_status_7"
  3800. ) {
  3801. markersMap.icon = "sj-icon-map-queren";
  3802. }
  3803. markersMap.lng = res.data.catalogue.longitude;
  3804. markersMap.lat = res.data.catalogue.latitude;
  3805. if (
  3806. res.data.eventdetail != null &&
  3807. res.data.eventdetail.length > 0 &&
  3808. res.data.eventdetail[0].fireRadius != null &&
  3809. res.data.eventdetail[0].fireRadius != "" &&
  3810. res.data.eventdetail[0].fireRadius > 0
  3811. ) {
  3812. markersMap.radius = res.data.eventdetail[0].fireRadius;
  3813. }
  3814. markersMapList.push(markersMap);
  3815. if (res.data.centermonitorTCamera != null) {
  3816. that.centermonitorTCamera = null;
  3817. that.cameraCode = res.data.centermonitorTCamera.id;
  3818. if(res.data.centermonitorTCamera.longitude != null && res.data.centermonitorTCamera.latitude != null) {
  3819. that.centermonitorTCamera = res.data.centermonitorTCamera;
  3820. let markersMap = {
  3821. lng: 124.59,
  3822. lat: 43.02,
  3823. icon: "camera",
  3824. bindPopupHtml: "",
  3825. click: "preview",
  3826. parameter: {
  3827. code: res.data.centermonitorTCamera.cameraCode,
  3828. type: res.data.centermonitorTCamera.cameraFactory,
  3829. name: res.data.centermonitorTCamera.cameraName,
  3830. },
  3831. keepBindPopup: false,
  3832. isAggregation: true,
  3833. radius: 0,
  3834. };
  3835. if (res.data.centermonitorTCamera.cameraUse == 1) {
  3836. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3837. markersMap.icon = 'sj-icon-map-centerdata-slmonitor'
  3838. markersMap.click = 'preview'
  3839. } else {
  3840. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor'
  3841. markersMap.click = ''
  3842. }
  3843. } else if (res.data.centermonitorTCamera.cameraUse == 2) {
  3844. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3845. markersMap.icon = 'camera'
  3846. markersMap.click = 'preview'
  3847. } else {
  3848. markersMap.icon = 'camera-not'
  3849. markersMap.click = ''
  3850. }
  3851. } else if (res.data.centermonitorTCamera.cameraUse == 3) {
  3852. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3853. markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
  3854. markersMap.click = 'preview'
  3855. } else {
  3856. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor-traffic'
  3857. markersMap.click = ''
  3858. }
  3859. } else if (res.data.centermonitorTCamera.cameraUse == 5) {
  3860. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3861. markersMap.icon = 'sj-icon-map-centerdata-river_camera'
  3862. markersMap.click = 'preview'
  3863. } else {
  3864. markersMap.icon = 'sj-icon-map-not-centerdata-river_camera'
  3865. markersMap.click = ''
  3866. }
  3867. } else if (res.data.centermonitorTCamera.cameraUse == 4) {
  3868. if (res.data.centermonitorTCamera.workingStatus == '0') {
  3869. markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
  3870. markersMap.click = 'preview'
  3871. } else {
  3872. markersMap.icon = 'sj-icon-map-not-centerdata-sand-quarry-camera'
  3873. markersMap.click = ''
  3874. }
  3875. }
  3876. markersMap.bindPopupHtml =
  3877. '<div class="map-tip">' +
  3878. "<span>" +
  3879. ' <div class="d-l-con">' +
  3880. ' <div class="d-l-l-text">' +
  3881. " <h4>摄像头名称:" +
  3882. res.data.centermonitorTCamera.cameraName +
  3883. "</h4>" +
  3884. " </div>" +
  3885. " </div>" +
  3886. " </span>" +
  3887. "<span>" +
  3888. "</div>";
  3889. markersMap.lng = res.data.centermonitorTCamera.longitude;
  3890. markersMap.lat = res.data.centermonitorTCamera.latitude;
  3891. markersMapList.push(markersMap);
  3892. }
  3893. }
  3894. setTimeout(() => {
  3895. that.$refs.supermapDialog.clearM(false);
  3896. that.$refs.supermapDialog.clearM(true);
  3897. that.$refs.supermapDialog.setMarkersRadius(markersMapList);
  3898. that.$refs.supermapDialog.dropLocation10(
  3899. res.data.catalogue.latitude,
  3900. res.data.catalogue.longitude
  3901. );
  3902. }, 2000);
  3903. });
  3904. },
  3905. refreshEventDialog(eventCode) {
  3906. //刷新--事件日志12
  3907. getEventDetail({
  3908. eventCode: eventCode,
  3909. }).then((res) => {
  3910. this.eventLogList = res.data.eventlog;
  3911. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  3912. });
  3913. },
  3914. // 页面元素转图片
  3915. toImage() {
  3916. this.$message.success(`正在上传!请稍后...`);
  3917. // 手动创建一个 canvas 标签
  3918. const canvas = document.createElement("canvas");
  3919. // 获取父标签,意思是这个标签内的 DOM 元素生成图片
  3920. // imageTofile是给截图范围内的父级元素自定义的ref名称
  3921. // let canvasBox = this.$refs.imageTofile
  3922. let canvasBox = document.getElementById("forestWarmSuperMap");
  3923. // let toolbar = document.getElementById("toolbar");
  3924. // if (toolbar != null) {
  3925. // canvasBox.removeChild(toolbar);
  3926. // }
  3927. // 获取父级的宽高
  3928. const width = parseInt(window.getComputedStyle(canvasBox).width);
  3929. const height = parseInt(window.getComputedStyle(canvasBox).height);
  3930. // 宽高 * 2 并放大 2 倍 是为了防止图片模糊
  3931. canvas.width = width * 2;
  3932. canvas.height = height * 2;
  3933. canvas.style.width = width + "px";
  3934. canvas.style.height = height + "px";
  3935. const context = canvas.getContext("2d");
  3936. context.scale(2, 2);
  3937. const options = {
  3938. backgroundColor: null,
  3939. canvas: canvas,
  3940. useCORS: true,
  3941. };
  3942. html2canvas(canvasBox, options).then((canvas) => {
  3943. // toDataURL 图片格式转成 base64
  3944. let dataBase64 = canvas.toDataURL("image/png");
  3945. this.uploadBase64(dataBase64);
  3946. });
  3947. // canvasBox.appendChild(toolbar);
  3948. },
  3949. uploadBase64(dataBase64) {
  3950. //事件详情截图直接上传日志
  3951. uploadBase64({
  3952. eventCode: this.eventCode,
  3953. base64: dataBase64,
  3954. }).then((res) => {
  3955. if (res.code == 200) {
  3956. this.$message.success(`截图上传成功!`);
  3957. this.refreshEventDialog(this.eventCode);
  3958. }
  3959. });
  3960. },
  3961. regionalFlagAdd: function () {
  3962. //火灾区域
  3963. this.regionalFlagObj.array = [];
  3964. this.regionalFlagOpen = true;
  3965. },
  3966. showAreaLatLng: function (latlng) {
  3967. //获取火灾区域经纬度
  3968. this.regionalFlagObj.array = latlng;
  3969. this.$modal.msgSuccess("获取坐标成功!");
  3970. },
  3971. /** ----------------------------------摄像头预览开始------------------------------------- */
  3972. alertLogin: function () {
  3973. this.$modal.msg("登录中....");
  3974. },
  3975. alertLoginSuccess: function () {
  3976. this.$modal.msgSuccess("登录成功!");
  3977. },
  3978. alertLoginFailed: function () {
  3979. this.$modal.msgError("登陆失败!");
  3980. },
  3981. alertReinstall: function () {
  3982. this.$modal.msgWarning("请重新安装客户端");
  3983. },
  3984. cancelEventLocationShow() {
  3985. if (this.oWebControl != null) {
  3986. this.oWebControl.JS_HideWnd(); // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  3987. this.oWebControl.JS_Disconnect().then(
  3988. function () {
  3989. // 断开与插件服务连接成功
  3990. },
  3991. function () {
  3992. // 断开与插件服务连接失败
  3993. }
  3994. );
  3995. }
  3996. },
  3997. /** 预览按钮操作 */
  3998. preview(cameraParam) {
  3999. if (cameraParam.type == "1") {
  4000. this.showTVWall(cameraParam.code, cameraParam.name);
  4001. // getDahuaVideoServer().then(newResponse => {
  4002. // console.log(newResponse)
  4003. // this.ws.detectConnectQt().then(res => {
  4004. // if (res) { // 连接客户端成功
  4005. // this.alertLogin()
  4006. // this.ws.login({
  4007. // loginIp: newResponse.loginIp,
  4008. // loginPort: newResponse.loginPort,
  4009. // userName: newResponse.userName,
  4010. // userPwd: newResponse.userPwd,
  4011. // token: '',
  4012. // https: 1
  4013. // })
  4014. // this.ws.on('loginState', (res) => {
  4015. // this.isLogin = res
  4016. // console.log('---res-----', res)
  4017. // if (res) {
  4018. // this.alertLoginSuccess()
  4019. // this.activePanel = 'key2'
  4020. // this.realTimeVideoDialog(cameraParam.code)
  4021. // } else {
  4022. // this.alertLoginFailed()
  4023. // }
  4024. // })
  4025. // } else { // 连接客户端失败
  4026. // this.alertReinstall()
  4027. // }
  4028. // })
  4029. // })
  4030. } else if (cameraParam.type == "0") {
  4031. let that = this;
  4032. that.cameraVisible = true;
  4033. getHaiKangVideoServer({
  4034. cameraCode: cameraParam.code,
  4035. }).then((newResponse) => {
  4036. that.cameraTitle = "摄像头-" + newResponse.data.cameraName;
  4037. that.initPlugin(
  4038. newResponse.data.appkey,
  4039. newResponse.data.loginIp,
  4040. newResponse.data.secret,
  4041. newResponse.data.loginPort
  4042. );
  4043. setTimeout(function () {
  4044. that.playhk(newResponse.data.channelCode);
  4045. }, 5000);
  4046. });
  4047. }
  4048. },
  4049. realTimeVideoDialog(cameraParams) {
  4050. // 调用弹窗实时播放接口
  4051. if (!this.isLogin) {
  4052. this.$Message.info("正在登陆客户端,请稍等......");
  4053. return false;
  4054. }
  4055. const param = [cameraParams];
  4056. this.ws.openVideo(param);
  4057. },
  4058. /** ----------------------------------摄像头预览结束------------------------------------- */
  4059. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  4060. // 创建播放实例
  4061. initPlugin(newappkey, newloginIp, newsecret, newloginPort) {
  4062. let that = this;
  4063. that.oWebControl = new WebControl({
  4064. szPluginContainer: "playWnd", // 指定容器id
  4065. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  4066. iServicePortEnd: 15909,
  4067. szClassId: "23BF3B0A-2C56-4D97-9C03-0CB103AA8F11", // 用于IE10使用ActiveX的clsid
  4068. cbConnectSuccess: function () {
  4069. // 创建WebControl实例成功
  4070. that.oWebControl
  4071. .JS_StartService("window", {
  4072. // WebControl实例创建成功后需要启动服务
  4073. dllPath: "./VideoPluginConnect.dll", // 值"./VideoPluginConnect.dll"写死
  4074. })
  4075. .then(
  4076. function () {
  4077. // 启动插件服务成功
  4078. that.oWebControl.JS_SetWindowControlCallback({
  4079. // 设置消息回调
  4080. cbIntegrationCallBack: cbIntegrationCallBack,
  4081. });
  4082. that.oWebControl
  4083. .JS_CreateWnd("playWnd", 1020, 600)
  4084. .then(function () {
  4085. //JS_CreateWnd创建视频播放窗口,宽高可设定
  4086. that.init(newappkey, newloginIp, newsecret, newloginPort); // 创建播放实例成功后初始化
  4087. });
  4088. },
  4089. function () {
  4090. // 启动插件服务失败
  4091. }
  4092. );
  4093. },
  4094. cbConnectError: function () {
  4095. // 创建WebControl实例失败
  4096. that.oWebControl = null;
  4097. $("#playWnd").html(
  4098. '插件未启动,正在尝试启动,请稍候...<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>'
  4099. );
  4100. WebControl.JS_WakeUp("VideoWebPlugin://"); // 程序未启动时执行error函数,采用wakeup来启动程序
  4101. that.initCount++;
  4102. if (that.initCount < 3) {
  4103. setTimeout(function () {
  4104. that.initPlugin(newappkey, newloginIp, newsecret, newloginPort);
  4105. }, 3000);
  4106. } else {
  4107. $("#playWnd").html(
  4108. '插件启动失败,请检查插件是否安装!<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>'
  4109. );
  4110. }
  4111. },
  4112. cbConnectClose: function (bNormalClose) {
  4113. // 异常断开:bNormalClose = false
  4114. // JS_Disconnect正常断开:bNormalClose = true
  4115. that.oWebControl = null;
  4116. },
  4117. });
  4118. },
  4119. //播放海康摄像头
  4120. playhk(channelCode) {
  4121. var cameraIndexCode = channelCode; //获取输入的监控点编号值,必填
  4122. var streamMode = 0; //主子码流标识:0-主码流,1-子码流
  4123. var transMode = 1; //传输协议:0-UDP,1-TCP
  4124. var gpuMode = 0; //是否启用GPU硬解,0-不启用,1-启用
  4125. var wndId = -1; //播放窗口序号(在2x2以上布局下可指定播放窗口)
  4126. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, "");
  4127. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, "");
  4128. this.oWebControl.JS_RequestInterface({
  4129. funcName: "startPreview",
  4130. argument: JSON.stringify({
  4131. cameraIndexCode: cameraIndexCode, //监控点编号
  4132. streamMode: streamMode, //主子码流标识
  4133. transMode: transMode, //传输协议
  4134. gpuMode: gpuMode, //是否开启GPU硬解
  4135. wndId: wndId, //可指定播放窗口
  4136. }),
  4137. });
  4138. },
  4139. //初始化
  4140. init(newappkey, newloginIp, newsecret, newloginPort) {
  4141. let that = this;
  4142. that.getPubKey(function () {
  4143. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  4144. var appkey = newappkey; //综合安防管理平台提供的appkey,必填
  4145. var secret = that.setEncrypt(newsecret); //综合安防管理平台提供的secret,必填
  4146. var ip = newloginIp; //综合安防管理平台IP地址,必填
  4147. var playMode = 0; //初始播放模式:0-预览,1-回放
  4148. var port = Number(newloginPort); //综合安防管理平台端口,若启用HTTPS协议,默认443
  4149. var snapDir = "D:\\SnapDir"; //抓图存储路径
  4150. var videoDir = "D:\\VideoDir"; //紧急录像或录像剪辑存储路径
  4151. var layout = "1x1"; //playMode指定模式的布局
  4152. var enableHTTPS = 1; //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  4153. var encryptedFields = "secret"; //加密字段,默认加密领域为secret
  4154. var showToolbar = 1; //是否显示工具栏,0-不显示,非0-显示
  4155. var showSmart = 1; //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  4156. var buttonIDs =
  4157. "0,16,256,257,258,259,260,512,513,514,515,516,517,768,769"; //自定义工具条按钮
  4158. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  4159. that.oWebControl
  4160. .JS_RequestInterface({
  4161. funcName: "init",
  4162. argument: JSON.stringify({
  4163. appkey: appkey, //API网关提供的appkey
  4164. secret: secret, //API网关提供的secret
  4165. ip: ip, //API网关IP地址
  4166. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  4167. port: port, //端口
  4168. snapDir: snapDir, //抓图存储路径
  4169. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  4170. layout: layout, //布局
  4171. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  4172. encryptedFields: encryptedFields, //加密字段
  4173. showToolbar: showToolbar, //是否显示工具栏
  4174. showSmart: showSmart, //是否显示智能信息
  4175. buttonIDs: buttonIDs, //自定义工具条按钮
  4176. }),
  4177. })
  4178. .then(function (oData) {
  4179. that.oWebControl.JS_Resize(1020, 600); // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  4180. });
  4181. });
  4182. },
  4183. //获取公钥
  4184. getPubKey(callback) {
  4185. let that = this;
  4186. that.oWebControl
  4187. .JS_RequestInterface({
  4188. funcName: "getRSAPubKey",
  4189. argument: JSON.stringify({
  4190. keyLength: 1024,
  4191. }),
  4192. })
  4193. .then(function (oData) {
  4194. console.log(oData);
  4195. if (oData.responseMsg.data) {
  4196. that.pubKey = oData.responseMsg.data;
  4197. callback();
  4198. }
  4199. });
  4200. },
  4201. //RSA加密
  4202. setEncrypt(value) {
  4203. var encrypt = new JSEncrypt();
  4204. encrypt.setPublicKey(this.pubKey);
  4205. return encrypt.encrypt(value);
  4206. },
  4207. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  4208. /** ----------------------------------视频会议开始------------------------------------- */
  4209. sendMsg() {
  4210. // 视频会议发送短信
  4211. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  4212. let reg_tel =
  4213. /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
  4214. for (let i in this.dutysystemTableData) {
  4215. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  4216. this.$message.error(`请输入正确姓名!`);
  4217. return;
  4218. }
  4219. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  4220. this.$message.error(`请输入正确手机号码!`);
  4221. return;
  4222. }
  4223. if (
  4224. this.dutysystemTableData[i].id == null ||
  4225. this.dutysystemTableData[i].id == ""
  4226. ) {
  4227. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  4228. this.dutysystemTableData[i].depteventId = this.depteventId;
  4229. }
  4230. }
  4231. const param = {
  4232. centereventTDutySystemList: this.dutysystemTableData,
  4233. eventCode: this.eventCode,
  4234. eventName: this.eventName,
  4235. eventId: this.eventId,
  4236. };
  4237. this.joinMeeting(param);
  4238. },
  4239. joinMeeting(param) {
  4240. this.$message({
  4241. message: "正在启动云会议客户端,请稍候...",
  4242. type: "success",
  4243. });
  4244. joinConferences(
  4245. this.eventId,
  4246. this.eventName + "的会议",
  4247. Cookies.get("nickName")
  4248. ).then((res) => {
  4249. if (res.code == 200) {
  4250. let conferenceID = res.data.info.conferenceID;
  4251. let password = res.data.info.password;
  4252. let nickName = res.data.nickName;
  4253. let nonce = res.data.nonce;
  4254. window.open(
  4255. "cloudlink://welinksoftclient/h5page?page=LoginAndJoinConf&server_url=meeting.huaweicloud.com&port=8443&conf_id=" +
  4256. conferenceID +
  4257. "&enter_code=" +
  4258. password +
  4259. "&name=" +
  4260. nickName +
  4261. "&open_mic=true&open_camera=false&nonce=" +
  4262. nonce
  4263. );
  4264. sendMessage(param).then((res) => {
  4265. //this.$message.success(res.msg);
  4266. this.dutysystemSelect(
  4267. this.iconCurrentIndex,
  4268. this.dutysystemDeptName,
  4269. this.depteventId
  4270. );
  4271. this.showMeetingMsgDialog = false;
  4272. });
  4273. }
  4274. });
  4275. },
  4276. Meeting() {
  4277. //弹出发送会议短信弹窗
  4278. let that = this;
  4279. selectConfigKey('meeting_plugin_url').then(response => {
  4280. that.$alert(
  4281. "如您已经安装请点击【确定】,如未安装可<a style='text-decoration:underline;color:blue;' href='"+response.data+"'>点击此处</ a>进行下载",
  4282. "该功能需要使用云会议客户端",
  4283. {
  4284. confirmButtonText: "确定",
  4285. dangerouslyUseHTMLString: true,
  4286. callback: (action) => {
  4287. let param = {
  4288. eventCode: that.eventCode,
  4289. };
  4290. centereventtdepteventList(param).then((res) => {
  4291. that.depteventList = res.data;
  4292. that.showMeetingMsgDialog = true;
  4293. });
  4294. },
  4295. }
  4296. );
  4297. })
  4298. },
  4299. /** ----------------------------------视频会议结束------------------------------------- */
  4300. },
  4301. };
  4302. // 推送消息
  4303. function cbIntegrationCallBack(oData) {
  4304. console.log(JSON.stringify(oData.responseMsg));
  4305. }
  4306. </script>
  4307. <style lang="scss">
  4308. .sj-map-tool-checkbox-all {
  4309. display: flex;
  4310. align-items: center;
  4311. margin-right: 1rem !important;
  4312. .el-checkbox__input {
  4313. line-height: 0;
  4314. }
  4315. .el-checkbox__label {
  4316. font-size: 14px;
  4317. color: white;
  4318. padding-left: 5px;
  4319. }
  4320. .el-checkbox__input.is-checked + .el-checkbox__label {
  4321. color: #01d1eb;
  4322. }
  4323. }
  4324. .sj-map-tool-checkbox {
  4325. display: flex;
  4326. .el-checkbox {
  4327. margin-right: 1rem;
  4328. display: flex;
  4329. align-items: center;
  4330. .el-checkbox__input {
  4331. line-height: 0;
  4332. }
  4333. }
  4334. .el-checkbox__label {
  4335. font-size: 14px;
  4336. color: white;
  4337. padding-left: 5px;
  4338. }
  4339. .el-checkbox__input.is-checked + .el-checkbox__label {
  4340. color: #01d1eb;
  4341. }
  4342. }
  4343. </style>
  4344. <style lang="scss" scoped>
  4345. @import "@/assets/styles/base.scss";
  4346. //弹层样式
  4347. //.customWidthMp4 {
  4348. // width: 70px !important;
  4349. // height: 70px !important;
  4350. //}
  4351. .tree-border {
  4352. border: 1px $barBorder;
  4353. }
  4354. button {
  4355. padding: 0.5rem;
  4356. }
  4357. /** 火灾报告**/
  4358. //@font-face {
  4359. // font-family: 'fontnameRegular';
  4360. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  4361. //}
  4362. body,
  4363. html,
  4364. * {
  4365. padding: 0px;
  4366. margin: 0px;
  4367. font-family: "fontnameRegular";
  4368. }
  4369. .table-container {
  4370. width: 100%;
  4371. }
  4372. .txt_right {
  4373. text-align: right !important;
  4374. }
  4375. .txt_left {
  4376. text-align: left !important;
  4377. }
  4378. table {
  4379. border-spacing: 0;
  4380. border-collapse: collapse;
  4381. width: 99%;
  4382. margin: 0 auto;
  4383. color: $inBlue;
  4384. }
  4385. table input {
  4386. font-size: 1rem;
  4387. border: 0px;
  4388. outline: 0px;
  4389. font-family: "微软雅黑";
  4390. background: none;
  4391. color: $inBlue;
  4392. }
  4393. table th input:hover {
  4394. background: $eventBG;
  4395. }
  4396. table thead th {
  4397. font-size: 1rem;
  4398. font-family: "宋体";
  4399. height: 2rem;
  4400. border-top: 0px;
  4401. border-left: 0px;
  4402. border-right: 0px;
  4403. outline: 0px;
  4404. }
  4405. table tr td {
  4406. font-size: 1rem;
  4407. font-family: "fontnameRegular";
  4408. height: 2rem;
  4409. border: 1px $searchBorder;
  4410. text-align: center;
  4411. }
  4412. .font1 {
  4413. font-size: 1.7rem;
  4414. font-weight: bolder;
  4415. }
  4416. .border0 {
  4417. width: 100% !important;
  4418. }
  4419. .border0 tr td {
  4420. border: 0px !important;
  4421. }
  4422. table tr td input {
  4423. width: 100%;
  4424. /* display: inline-block;*/
  4425. outline: 0px;
  4426. text-align: left;
  4427. height: 94%;
  4428. color: $inBlue;
  4429. background: none;
  4430. float: left;
  4431. padding: 0 0.5rem;
  4432. }
  4433. table tr td input:hover {
  4434. background: $eventBG;
  4435. }
  4436. .int_tr td input {
  4437. text-align: center !important;
  4438. }
  4439. .table2 tr th {
  4440. font-size: 1.7rem;
  4441. padding: 0.5rem 0;
  4442. font-family: "fontnameRegular";
  4443. }
  4444. .table2 tr td {
  4445. font-size: 1rem;
  4446. }
  4447. .table2 tr td select {
  4448. border: 0px !important;
  4449. outline: 0px;
  4450. width: 100%;
  4451. font-family: "微软雅黑";
  4452. font-size: 1rem;
  4453. padding-left: 1%;
  4454. color: $inBlue;
  4455. background: none;
  4456. }
  4457. .table2 tr td select:hover {
  4458. background: $eventBG;
  4459. }
  4460. .table2 tr td select option {
  4461. font-size: 1rem;
  4462. font-family: "微软雅黑";
  4463. }
  4464. .border_l0 {
  4465. // border-right: 1px solid #ececec !important;
  4466. }
  4467. .table2 tr td textarea {
  4468. border: 0px !important;
  4469. outline: 0px;
  4470. width: 98%;
  4471. padding: 0.5rem;
  4472. font-size: 1rem;
  4473. resize: none;
  4474. background: none;
  4475. color: $inBlue;
  4476. }
  4477. .table2 tr td textarea:hover {
  4478. background: $eventBG;
  4479. }
  4480. .tr_border td {
  4481. border-right: 0px !important;
  4482. border-left: 0px !important;
  4483. border-bottom: 0px !important;
  4484. font-size: 15px;
  4485. }
  4486. .btm-btn-group {
  4487. padding: 1rem 0;
  4488. width: 100%;
  4489. display: flex;
  4490. button {
  4491. padding: 0.5rem 2rem;
  4492. }
  4493. }
  4494. .sj-map-tool-select {
  4495. position: absolute;
  4496. right: 1rem;
  4497. top: 1rem;
  4498. z-index: 1000;
  4499. display: flex;
  4500. height: 30px;
  4501. align-items: center;
  4502. }
  4503. .sj-map-tool-select-list {
  4504. position: relative;
  4505. padding: 0.3rem 1rem;
  4506. border-radius: 1rem;
  4507. background-color: #fff;
  4508. z-index: 1000;
  4509. background-image: linear-gradient(
  4510. 180deg,
  4511. rgba(18, 71, 153, 1),
  4512. rgba(4, 21, 30, 1)
  4513. );
  4514. box-shadow: 0 -0.2rem 0.5rem 0.3rem rgba(13, 192, 219, 0.09) inset;
  4515. display: flex;
  4516. align-items: center;
  4517. }
  4518. // 20220928
  4519. .yatz_button {
  4520. padding: 0.5rem 0.5rem;
  4521. color: #409eff;
  4522. background: none;
  4523. border-color: #409eff;
  4524. }
  4525. .yatz_button:hover {
  4526. color: #fff;
  4527. background: #409eff;
  4528. border-color: #409eff;
  4529. }
  4530. .fr_button {
  4531. float: right;
  4532. padding: 0.5rem 1.5rem;
  4533. }
  4534. .bottom {
  4535. width: 100%;
  4536. height: calc(100% - 80px);
  4537. display: flex;
  4538. .bottomLeft {
  4539. width: 288px;
  4540. height: 500px;
  4541. overflow-y: auto;
  4542. .leftItem {
  4543. width: 100%;
  4544. height: 50px;
  4545. line-height: 50px;
  4546. text-align: center;
  4547. cursor: pointer;
  4548. }
  4549. }
  4550. .bottomRight {
  4551. width: calc(100% - 288px);
  4552. height: 500px;
  4553. box-sizing: border-box;
  4554. padding: 36px 36px 0 36px;
  4555. overflow-y: auto;
  4556. .bottomRightContent {
  4557. width: 100%;
  4558. box-sizing: border-box;
  4559. padding-bottom: 36px;
  4560. .bottomRightContentHead {
  4561. height: 25px;
  4562. font-family: PingFang SC;
  4563. font-style: normal;
  4564. font-weight: 600;
  4565. font-size: 24px;
  4566. line-height: 25px;
  4567. text-transform: capitalize;
  4568. color: rgba(0, 0, 0, 0.85);
  4569. margin-bottom: 32px;
  4570. }
  4571. .bottomRightContentBody {
  4572. .el-col {
  4573. position: relative;
  4574. margin-bottom: 18px;
  4575. .circle {
  4576. display: inline-block;
  4577. width: 6px;
  4578. height: 6px;
  4579. background: #4677f6;
  4580. border-radius: 50%;
  4581. position: absolute;
  4582. top: 8px;
  4583. left: 0;
  4584. }
  4585. .word {
  4586. margin-left: 12px;
  4587. font-family: PingFang SC;
  4588. font-style: normal;
  4589. font-weight: normal;
  4590. font-size: 14px;
  4591. color: #4677f6;
  4592. cursor: pointer;
  4593. }
  4594. .word:hover {
  4595. text-decoration: underline;
  4596. }
  4597. .topPlace {
  4598. position: absolute;
  4599. top: 1px;
  4600. margin-left: 8px;
  4601. }
  4602. }
  4603. }
  4604. .bottomRightContentFooter {
  4605. height: 1px;
  4606. width: 100%;
  4607. margin-top: 14px;
  4608. }
  4609. }
  4610. }
  4611. }
  4612. </style>