eventdetailsdialog.vue 165 KB

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