eventdetailsdialog.vue 162 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591
  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="eventType == 1"-->
  216. <!-- >视频联动</el-button-->
  217. <!-- >-->
  218. <el-button
  219. size="small"
  220. icon="el-icon-upload"
  221. @click="showheatPlotting()"
  222. >火灾蔓延
  223. </el-button>
  224. </div>
  225. </transition-group>
  226. <!-- 地图 -->
  227. <supermapDialog
  228. ref="supermapDialog"
  229. style="position: absolute; top: 0; left: 0"
  230. :mapDiv="'forestWarmSuperMap'"
  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. <div
  960. class="bgt-info-name"
  961. :class="{ on: iconCurrentIndex == item.deptId }"
  962. @click="dutysystemSelect(item.deptId, item.deptName, item.id)"
  963. >
  964. {{ item.deptName }}
  965. </div>
  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. >发送短信
  1160. </el-button>
  1161. <div style="clear: both"></div>
  1162. </el-form>
  1163. </el-dialog>
  1164. <!-- 会议弹窗 end -->
  1165. <el-dialog
  1166. title="火险报告"
  1167. :visible.sync="showEventConfirm_gd"
  1168. v-if="showEventConfirm_gd"
  1169. width="100%"
  1170. class="top-dialog"
  1171. @close="cancelEventConfirm_gd()"
  1172. >
  1173. <div class="table-container">
  1174. <form>
  1175. <table id="table1" cellpadding="0" cellspacing="0">
  1176. <thead style="width: 100%; padding: 0.5rem 0">
  1177. <th rowspan="1" colspan="1" class="txt_left" width="100px">
  1178. 填报单位:
  1179. </th>
  1180. <th rowspan="1" colspan="6" align="left">
  1181. <input
  1182. type="text"
  1183. style="width: 100%; margin-left: 0.5rem"
  1184. v-model="table1.reportUnit"
  1185. />
  1186. </th>
  1187. <th rowspan="1" colspan="2" class="txt_right">填报时间:</th>
  1188. <th rowspan="1" colspan="6" align="left">
  1189. <input
  1190. type="text"
  1191. style="width: 3rem; text-align: center"
  1192. v-model="table1.reportTimeY"
  1193. />年<input
  1194. type="text"
  1195. style="width: 4rem; text-align: center"
  1196. v-model="table1.reportTimeM"
  1197. />月<input
  1198. type="text"
  1199. style="width: 3rem; text-align: center"
  1200. v-model="table1.reportTimeD"
  1201. />日
  1202. </th>
  1203. <th rowspan="1" colspan="8" style="text-align: right">
  1204. 吉林省人民政府森林防火指挥部办公室制
  1205. </th>
  1206. </thead>
  1207. <tbody>
  1208. <tr>
  1209. <td
  1210. colspan="22"
  1211. rowspan="1"
  1212. class="font1"
  1213. style="letter-spacing: 3rem; padding: 0.5rem 0"
  1214. >
  1215. 森林火灾损失
  1216. </td>
  1217. <td colspan="1" rowspan="6">
  1218. <table class="border0">
  1219. <tr>
  1220. <td>备注</td>
  1221. </tr>
  1222. </table>
  1223. </td>
  1224. </tr>
  1225. <tr>
  1226. <td rowspan="4" colspan="1">
  1227. <table class="border0">
  1228. <tr>
  1229. <td>森林火灾<br />损失总计</td>
  1230. </tr>
  1231. </table>
  1232. </td>
  1233. <td rowspan="1" colspan="12">火灾损失价值</td>
  1234. <td rowspan="1" colspan="9">扑火费用支出</td>
  1235. </tr>
  1236. <tr>
  1237. <td rowspan="3" colspan="1">
  1238. <table class="border0">
  1239. <tr>
  1240. <td>合计</td>
  1241. </tr>
  1242. </table>
  1243. </td>
  1244. <td rowspan="1" colspan="4">林木资源</td>
  1245. <td rowspan="1" colspan="6">人员伤亡</td>
  1246. <td rowspan="3" colspan="1">
  1247. <table class="border0">
  1248. <tr>
  1249. <td>其他<br />火灾<br />损失</td>
  1250. </tr>
  1251. </table>
  1252. </td>
  1253. <td rowspan="3" colspan="1">
  1254. <table class="border0">
  1255. <tr>
  1256. <td>合计</td>
  1257. </tr>
  1258. </table>
  1259. </td>
  1260. <td rowspan="1" colspan="2">
  1261. <table class="border0">
  1262. <tr>
  1263. <td>人工费</td>
  1264. </tr>
  1265. </table>
  1266. </td>
  1267. <td rowspan="1" colspan="3">
  1268. <table class="border0">
  1269. <tr>
  1270. <td>车辆费</td>
  1271. </tr>
  1272. </table>
  1273. </td>
  1274. <td rowspan="1" colspan="2">
  1275. <table class="border0">
  1276. <tr>
  1277. <td>飞行费</td>
  1278. </tr>
  1279. </table>
  1280. </td>
  1281. <td rowspan="3" colspan="1">
  1282. <table class="border0">
  1283. <tr>
  1284. <td>其他<br />扑火<br />费用</td>
  1285. </tr>
  1286. </table>
  1287. </td>
  1288. </tr>
  1289. <tr>
  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="1" colspan="2">死亡</td>
  1295. <td rowspan="2" colspan="1">
  1296. <table class="border0">
  1297. <tr>
  1298. <td>出动<br />人工</td>
  1299. </tr>
  1300. </table>
  1301. </td>
  1302. <td rowspan="2" colspan="1">
  1303. <table class="border0">
  1304. <tr>
  1305. <td>支出<br />费用</td>
  1306. </tr>
  1307. </table>
  1308. </td>
  1309. <td rowspan="2" colspan="1">
  1310. <table class="border0">
  1311. <tr>
  1312. <td>计</td>
  1313. </tr>
  1314. </table>
  1315. </td>
  1316. <td rowspan="2" colspan="1">
  1317. <table class="border0">
  1318. <tr>
  1319. <td>其中<br />汽车</td>
  1320. </tr>
  1321. </table>
  1322. </td>
  1323. <td rowspan="2" colspan="1">
  1324. <table class="border0">
  1325. <tr>
  1326. <td>支出<br />费用</td>
  1327. </tr>
  1328. </table>
  1329. </td>
  1330. <td rowspan="2" colspan="1">
  1331. <table class="border0">
  1332. <tr>
  1333. <td>出动<br />飞机</td>
  1334. </tr>
  1335. </table>
  1336. </td>
  1337. <td rowspan="2" colspan="1">
  1338. <table class="border0">
  1339. <tr>
  1340. <td>支出<br />费用</td>
  1341. </tr>
  1342. </table>
  1343. </td>
  1344. </tr>
  1345. <tr>
  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. <td rowspan="1" colspan="1">支出费用</td>
  1356. </tr>
  1357. <tr>
  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. <td rowspan="1" colspan="1">万元</td>
  1380. </tr>
  1381. <tr>
  1382. <td rowspan="1" colspan="1">1</td>
  1383. <td rowspan="1" colspan="1">2</td>
  1384. <td rowspan="1" colspan="1">3</td>
  1385. <td rowspan="1" colspan="1">4</td>
  1386. <td rowspan="1" colspan="1">5</td>
  1387. <td rowspan="1" colspan="1">6</td>
  1388. <td rowspan="1" colspan="1">7</td>
  1389. <td rowspan="1" colspan="1">8</td>
  1390. <td rowspan="1" colspan="1">9</td>
  1391. <td rowspan="1" colspan="1">10</td>
  1392. <td rowspan="1" colspan="1">11</td>
  1393. <td rowspan="1" colspan="1">12</td>
  1394. <td rowspan="1" colspan="1">13</td>
  1395. <td rowspan="1" colspan="1">14</td>
  1396. <td rowspan="1" colspan="1">15</td>
  1397. <td rowspan="1" colspan="1">16</td>
  1398. <td rowspan="1" colspan="1">17</td>
  1399. <td rowspan="1" colspan="1">18</td>
  1400. <td rowspan="1" colspan="1">19</td>
  1401. <td rowspan="1" colspan="1">20</td>
  1402. <td rowspan="1" colspan="1">21</td>
  1403. <td rowspan="1" colspan="1">22</td>
  1404. <td rowspan="1" colspan="1">23</td>
  1405. </tr>
  1406. <tr class="int_tr">
  1407. <td rowspan="1" colspan="1">
  1408. <input
  1409. type="text"
  1410. class="border0"
  1411. v-model="table1.forestFireLossTotal"
  1412. />
  1413. </td>
  1414. <td rowspan="1" colspan="1">
  1415. <input
  1416. type="text"
  1417. class="border0"
  1418. v-model="table1.fireLossTotal"
  1419. />
  1420. </td>
  1421. <td rowspan="1" colspan="1">
  1422. <input
  1423. type="text"
  1424. class="border0"
  1425. v-model="table1.forestArea"
  1426. />
  1427. </td>
  1428. <td rowspan="1" colspan="1">
  1429. <input
  1430. type="text"
  1431. class="border0"
  1432. v-model="table1.forestPrice"
  1433. />
  1434. </td>
  1435. <td rowspan="1" colspan="1">
  1436. <input
  1437. type="text"
  1438. class="border0"
  1439. v-model="table1.treesNumber"
  1440. />
  1441. </td>
  1442. <td rowspan="1" colspan="1">
  1443. <input
  1444. type="text"
  1445. class="border0"
  1446. v-model="table1.treesPrice"
  1447. />
  1448. </td>
  1449. <td rowspan="1" colspan="1">
  1450. <input
  1451. type="text"
  1452. class="border0"
  1453. v-model="table1.minorInjuriesNumber"
  1454. />
  1455. </td>
  1456. <td rowspan="1" colspan="1">
  1457. <input
  1458. type="text"
  1459. class="border0"
  1460. v-model="table1.minorInjuriesPrice"
  1461. />
  1462. </td>
  1463. <td rowspan="1" colspan="1">
  1464. <input
  1465. type="text"
  1466. class="border0"
  1467. v-model="table1.seriouslyInjuredNumber"
  1468. />
  1469. </td>
  1470. <td rowspan="1" colspan="1">
  1471. <input
  1472. type="text"
  1473. class="border0"
  1474. v-model="table1.seriouslyInjuredPrice"
  1475. />
  1476. </td>
  1477. <td rowspan="1" colspan="1">
  1478. <input
  1479. type="text"
  1480. class="border0"
  1481. v-model="table1.deathNumber"
  1482. />
  1483. </td>
  1484. <td rowspan="1" colspan="1">
  1485. <input
  1486. type="text"
  1487. class="border0"
  1488. v-model="table1.deathPrice"
  1489. />
  1490. </td>
  1491. <td rowspan="1" colspan="1">
  1492. <input
  1493. type="text"
  1494. class="border0"
  1495. v-model="table1.elseFireLossPrice"
  1496. />
  1497. </td>
  1498. <td rowspan="1" colspan="1">
  1499. <input
  1500. type="text"
  1501. class="border0"
  1502. v-model="table1.blazesPriceTotal"
  1503. />
  1504. </td>
  1505. <td rowspan="1" colspan="1">
  1506. <input
  1507. type="text"
  1508. class="border0"
  1509. v-model="table1.artificialDays"
  1510. />
  1511. </td>
  1512. <td rowspan="1" colspan="1">
  1513. <input
  1514. type="text"
  1515. class="border0"
  1516. v-model="table1.artificialPrice"
  1517. />
  1518. </td>
  1519. <td rowspan="1" colspan="1">
  1520. <input
  1521. type="text"
  1522. class="border0"
  1523. v-model="table1.vehicleNumber"
  1524. />
  1525. </td>
  1526. <td rowspan="1" colspan="1">
  1527. <input
  1528. type="text"
  1529. class="border0"
  1530. v-model="table1.carNumber"
  1531. />
  1532. </td>
  1533. <td rowspan="1" colspan="1">
  1534. <input
  1535. type="text"
  1536. class="border0"
  1537. v-model="table1.vehiclePrice"
  1538. />
  1539. </td>
  1540. <td rowspan="1" colspan="1">
  1541. <input
  1542. type="text"
  1543. class="border0"
  1544. v-model="table1.planeNumber"
  1545. />
  1546. </td>
  1547. <td rowspan="1" colspan="1">
  1548. <input
  1549. type="text"
  1550. class="border0"
  1551. v-model="table1.planePrice"
  1552. />
  1553. </td>
  1554. <td rowspan="1" colspan="1">
  1555. <input
  1556. type="text"
  1557. class="border0"
  1558. v-model="table1.elseBlazesPrice"
  1559. />
  1560. </td>
  1561. <td rowspan="1" colspan="1">
  1562. <input type="text" class="border0" v-model="table1.note" />
  1563. </td>
  1564. </tr>
  1565. </tbody>
  1566. </table>
  1567. <table
  1568. class="table2"
  1569. cellpadding="0"
  1570. cellspacing="0"
  1571. style="white-space: nowrap"
  1572. >
  1573. <tbody>
  1574. <tr>
  1575. <th rowspan="1" colspan="26" style="letter-spacing: 6rem">
  1576. 火场资料
  1577. </th>
  1578. </tr>
  1579. <tr>
  1580. <td colspan="2" rowspan="1" class="txt_left">
  1581. &nbsp;1.起火时间
  1582. </td>
  1583. <td colspan="5" rowspan="1">
  1584. <input type="text" v-model="table2.fireTime" />
  1585. </td>
  1586. <td colspan="2" rowspan="1">发现时间</td>
  1587. <td colspan="8" rowspan="1">
  1588. <input type="text" v-model="table2.foundTime" />
  1589. </td>
  1590. <td colspan="2" rowspan="1">扑灭时间</td>
  1591. <td colspan="7" rowspan="1">
  1592. <input type="text" v-model="table2.blazesTime" />
  1593. </td>
  1594. </tr>
  1595. <tr>
  1596. <td colspan="2" rowspan="1" class="txt_left">
  1597. &nbsp;2.地点及发现方式
  1598. </td>
  1599. <td colspan="2" rowspan="1" class="txt_left">
  1600. <select v-model="table2.address">
  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. <option>长白山管委会</option>
  1612. </select>
  1613. </td>
  1614. <td colspan="13" rowspan="1">
  1615. <input type="text" v-model="table2.firePlace" />
  1616. </td>
  1617. <td colspan="2" rowspan="1">发现方式</td>
  1618. <td colspan="7" rowspan="1">
  1619. <input type="text" v-model="table2.foundType" />
  1620. </td>
  1621. </tr>
  1622. <tr>
  1623. <td colspan="2" rowspan="1" class="txt_left">
  1624. &nbsp;3.火场位置
  1625. </td>
  1626. <td colspan="2" rowspan="1" class="border_l0">东经:</td>
  1627. <td colspan="1" rowspan="1" class="border_l0">
  1628. <input
  1629. type="text"
  1630. style="width: 50px"
  1631. v-model="table2.longitudeD"
  1632. />
  1633. </td>
  1634. <td colspan="1" rowspan="1" class="border_l0">度</td>
  1635. <td colspan="1" rowspan="1" class="border_l0">
  1636. <input
  1637. type="text"
  1638. style="width: 50px"
  1639. v-model="table2.longitudeM"
  1640. />
  1641. </td>
  1642. <td colspan="1" rowspan="1" class="border_l0">分</td>
  1643. <td colspan="1" rowspan="1" class="border_l0">
  1644. <input
  1645. type="text"
  1646. style="width: 50px"
  1647. v-model="table2.longitudeS"
  1648. />
  1649. </td>
  1650. <td colspan="2" rowspan="1" class="border_l0">秒</td>
  1651. <td colspan="1" rowspan="1" class="border_l0">;</td>
  1652. <td colspan="2" rowspan="1" class="border_l0">北纬:</td>
  1653. <td colspan="1" rowspan="1" class="border_l0">
  1654. <input
  1655. type="text"
  1656. style="width: 50px"
  1657. v-model="table2.latitudeD"
  1658. />
  1659. </td>
  1660. <td colspan="1" rowspan="1" class="border_l0">度</td>
  1661. <td colspan="1" rowspan="1" class="border_l0">
  1662. <input
  1663. type="text"
  1664. style="width: 50px"
  1665. v-model="table2.latitudeM"
  1666. />
  1667. </td>
  1668. <td colspan="1" rowspan="1" class="border_l0">分</td>
  1669. <td colspan="1" rowspan="1" class="border_l0">
  1670. <input
  1671. type="text"
  1672. style="width: 50px"
  1673. v-model="table2.latitudeS"
  1674. />
  1675. </td>
  1676. <td colspan="1" rowspan="1" 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 class="border_l0"></td>
  1682. <td></td>
  1683. </tr>
  1684. <tr>
  1685. <td colspan="2" rowspan="1" class="txt_left">
  1686. &nbsp;4.起火原因
  1687. </td>
  1688. <td colspan="3" rowspan="1" class="txt_left">
  1689. <select v-model="table2.fireSource">
  1690. <option>未查明火源</option>
  1691. <option>烧荒烧炭</option>
  1692. <option>炼山造林</option>
  1693. <option>烧牧场</option>
  1694. <option disabled>烧窑</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. <option>其他自然火</option>
  1714. </select>
  1715. </td>
  1716. <td colspan="3" rowspan="1">火灾种类</td>
  1717. <td colspan="4" rowspan="1" class="txt_left">
  1718. <select v-model="table2.fireType">
  1719. <option>地表火</option>
  1720. <option>树冠火</option>
  1721. <option>地下火</option>
  1722. </select>
  1723. </td>
  1724. <td colspan="3" rowspan="1">火灾等级</td>
  1725. <td colspan="11" rowspan="1" class="txt_left">
  1726. <select v-model="table2.fireLevel">
  1727. <option>一般</option>
  1728. <option>较大</option>
  1729. <option>重大</option>
  1730. <option>特大</option>
  1731. </select>
  1732. </td>
  1733. </tr>
  1734. <tr>
  1735. <td colspan="2" rowspan="1" class="txt_left">
  1736. &nbsp;5.火场面积(公顷)
  1737. </td>
  1738. <td colspan="2" rowspan="1">总面积合计</td>
  1739. <td colspan="3" rowspan="1">
  1740. <input type="text" v-model="table2.areaTotal" />
  1741. </td>
  1742. <td colspan="4" rowspan="1">受害森林面积合计</td>
  1743. <td colspan="3" rowspan="1">
  1744. <input type="text" v-model="table2.forestLossAreaTotal" />
  1745. </td>
  1746. <td colspan="1" rowspan="1">其中:</td>
  1747. <td colspan="2" rowspan="1">原森林</td>
  1748. <td colspan="4" rowspan="1">
  1749. <input type="text" v-model="table2.originalForestArea" />
  1750. </td>
  1751. <td colspan="2" rowspan="1">人工林</td>
  1752. <td colspan="3" rowspan="1">
  1753. <input type="text" v-model="table2.artificialForestArea" />
  1754. </td>
  1755. </tr>
  1756. <tr>
  1757. <td colspan="2" rowspan="1" class="txt_left">
  1758. &nbsp;6.扑火人力物力投入
  1759. </td>
  1760. <td colspan="2" rowspan="1">出动总人数</td>
  1761. <td colspan="1" rowspan="1">
  1762. <input type="text" v-model="table2.peopleTotal" />
  1763. </td>
  1764. <td colspan="2" rowspan="1">其中扑火队</td>
  1765. <td colspan="1" rowspan="1">
  1766. <input type="text" v-model="table2.blazesTeamNumber" />
  1767. </td>
  1768. <td colspan="1" rowspan="1">森警</td>
  1769. <td colspan="2" rowspan="1">
  1770. <input type="text" v-model="table2.policeNumber" />
  1771. </td>
  1772. <td colspan="1" rowspan="1">军队</td>
  1773. <td colspan="1" rowspan="1">
  1774. <input type="text" v-model="table2.armyNumber" />
  1775. </td>
  1776. <td colspan="1" rowspan="1">群众</td>
  1777. <td colspan="1" rowspan="1">
  1778. <input type="text" v-model="table2.crowdNumber" />
  1779. </td>
  1780. <td colspan="2" rowspan="1">风力灭火机</td>
  1781. <td colspan="1" rowspan="1">
  1782. <input type="text" v-model="table2.windExtinguisher" />
  1783. </td>
  1784. <td colspan="2" rowspan="1">二号工具</td>
  1785. <td colspan="1" rowspan="1">
  1786. <input type="text" v-model="table2.secondTool" />
  1787. </td>
  1788. <td colspan="2" rowspan="1">水枪</td>
  1789. <td colspan="1" rowspan="1">
  1790. <input type="text" v-model="table2.waterGun" />
  1791. </td>
  1792. <td colspan="1" rowspan="1">其他</td>
  1793. <td colspan="1" rowspan="1">
  1794. <input type="text" v-model="table2.elseThings" />
  1795. </td>
  1796. </tr>
  1797. <tr>
  1798. <td colspan="2" rowspan="1" class="txt_left">
  1799. &nbsp;7.受害森林概况
  1800. </td>
  1801. <td colspan="2" rowspan="1">林木组成</td>
  1802. <td colspan="11" rowspan="1">
  1803. <input type="text" v-model="table2.forestComposition" />
  1804. </td>
  1805. <td colspan="2" rowspan="1">林令</td>
  1806. <td colspan="4" rowspan="1">
  1807. <input type="text" v-model="table2.forestToken" />
  1808. </td>
  1809. <td colspan="2" rowspan="1">疏密度</td>
  1810. <td colspan="3" rowspan="1">
  1811. <input type="text" v-model="table2.porosities" />
  1812. </td>
  1813. </tr>
  1814. <tr>
  1815. <td colspan="2" rowspan="1" class="txt_left">
  1816. &nbsp;8.当日天气实况
  1817. </td>
  1818. <td colspan="2" rowspan="1">天气</td>
  1819. <td colspan="3" rowspan="1">
  1820. <input type="text" v-model="table2.weather" />
  1821. </td>
  1822. <td colspan="1" rowspan="1">气温</td>
  1823. <td colspan="2" rowspan="1">
  1824. <input type="text" v-model="table2.temperature" />
  1825. </td>
  1826. <td colspan="1" rowspan="1">C°</td>
  1827. <td colspan="3" rowspan="1">火险等级</td>
  1828. <td colspan="1" rowspan="1">
  1829. <input type="text" v-model="table2.fireInsuranceLevel" />
  1830. </td>
  1831. <td colspan="2" rowspan="1">风力</td>
  1832. <td colspan="2" rowspan="1" class="border_l0">
  1833. <input type="text" v-model="table2.windLevel" />
  1834. </td>
  1835. <td colspan="2" rowspan="1" class="txt_left">级</td>
  1836. <td colspan="2" rowspan="1">风向</td>
  1837. <td colspan="3" rowspan="1">
  1838. <input type="text" v-model="table2.windDirection" />
  1839. </td>
  1840. </tr>
  1841. <tr>
  1842. <td colspan="2" rowspan="1" class="txt_left">
  1843. &nbsp;9.指挥扑火负责人
  1844. </td>
  1845. <td colspan="2" rowspan="1">单位</td>
  1846. <td colspan="11" rowspan="1">
  1847. <input type="text" v-model="table2.commandUnit" />
  1848. </td>
  1849. <td colspan="2" rowspan="1">姓名</td>
  1850. <td colspan="4" rowspan="1">
  1851. <input type="text" v-model="table2.commandName" />
  1852. </td>
  1853. <td colspan="2" rowspan="1">职务</td>
  1854. <td colspan="3" rowspan="1">
  1855. <input type="text" v-model="table2.commandPosition" />
  1856. </td>
  1857. </tr>
  1858. <tr>
  1859. <td colspan="2" rowspan="1" class="txt_left">
  1860. &nbsp;10.火场调查负责人
  1861. </td>
  1862. <td colspan="2" rowspan="1">单位</td>
  1863. <td colspan="11" rowspan="1">
  1864. <input type="text" v-model="table2.surveyUnit" />
  1865. </td>
  1866. <td colspan="2" rowspan="1">姓名</td>
  1867. <td colspan="4" rowspan="1">
  1868. <input type="text" v-model="table2.surveyName" />
  1869. </td>
  1870. <td colspan="2" rowspan="1">职务</td>
  1871. <td colspan="3" rowspan="1">
  1872. <input type="text" v-model="table2.surveyPosition" />
  1873. </td>
  1874. </tr>
  1875. <tr>
  1876. <td colspan="2" rowspan="1" class="txt_left">
  1877. &nbsp;11.火灾肇事人情况
  1878. </td>
  1879. <td colspan="2" rowspan="1">姓名</td>
  1880. <td colspan="2" rowspan="1">
  1881. <input type="text" v-model="table2.accidentName" />
  1882. </td>
  1883. <td colspan="2" rowspan="1">性别</td>
  1884. <td colspan="1" rowspan="1">
  1885. <input type="text" v-model="table2.accidentSex" />
  1886. </td>
  1887. <td colspan="3" rowspan="1">年龄</td>
  1888. <td colspan="1" rowspan="1">
  1889. <input type="text" v-model="table2.accidentAge" />
  1890. </td>
  1891. <td colspan="1" rowspan="1">职业</td>
  1892. <td colspan="1" rowspan="1">
  1893. <input type="text" v-model="table2.accidentPosition" />
  1894. </td>
  1895. <td colspan="2" rowspan="1">单位或住址</td>
  1896. <td colspan="9" rowspan="1">
  1897. <input type="text" v-model="table2.accidentUnit" />
  1898. </td>
  1899. </tr>
  1900. <tr>
  1901. <td colspan="2" rowspan="1" class="txt_left">
  1902. &nbsp;12.火灾处理情况
  1903. </td>
  1904. <td colspan="2" rowspan="1">处理方式</td>
  1905. <td colspan="4" rowspan="1">
  1906. <select v-model="table2.dealType">
  1907. <option>立案(刑事处理)</option>
  1908. <option>破案(刑事处理)</option>
  1909. <option>行政处理</option>
  1910. <option>待查</option>
  1911. <option>拘留</option>
  1912. <option>处理</option>
  1913. <option>未处理</option>
  1914. </select>
  1915. </td>
  1916. <td colspan="3" rowspan="1">已处理人数</td>
  1917. <td colspan="4" rowspan="1">
  1918. <input type="text" v-model="table2.dealNumber" />
  1919. </td>
  1920. <td colspan="4" rowspan="1">刑事处罚人数</td>
  1921. <td colspan="7" rowspan="1">
  1922. <input type="text" v-model="table2.criminalDealNumber" />
  1923. </td>
  1924. </tr>
  1925. <tr>
  1926. <td
  1927. colspan="2"
  1928. rowspan="1"
  1929. class="txt_left"
  1930. style="height: 60px"
  1931. >
  1932. &nbsp;13.对火灾肇事人<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;的处理情况
  1933. </td>
  1934. <td colspan="24" rowspan="1" class="txt_left">
  1935. <textarea v-model="table2.accidentDealSituation"></textarea>
  1936. </td>
  1937. </tr>
  1938. <tr>
  1939. <td
  1940. colspan="2"
  1941. rowspan="1"
  1942. class="txt_left"
  1943. style="height: 60px"
  1944. >
  1945. &nbsp;14.对责任人员的<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任人追查情况
  1946. </td>
  1947. <td colspan="24" rowspan="1" class="txt_left">
  1948. <textarea
  1949. v-model="table2.responsibilityDealSituation"
  1950. ></textarea>
  1951. </td>
  1952. </tr>
  1953. <tr>
  1954. <td
  1955. colspan="2"
  1956. rowspan="1"
  1957. class="txt_left"
  1958. style="height: 60px"
  1959. >
  1960. &nbsp;15.对有关领导的<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;责任追查情况
  1961. </td>
  1962. <td colspan="24" rowspan="1" class="txt_left">
  1963. <textarea v-model="table2.leadershipDealSituation"></textarea>
  1964. </td>
  1965. </tr>
  1966. <tr class="tr_border">
  1967. <td colspan="4" rowspan="1">县(市、区、局、站)填表人:</td>
  1968. <td colspan="2" rowspan="1">
  1969. <input type="text" v-model="table2.townForm" />
  1970. </td>
  1971. <td colspan="4" rowspan="1">县(市、区、局、站)审核人:</td>
  1972. <td colspan="3" rowspan="1">
  1973. <input type="text" v-model="table2.townAudit" />
  1974. </td>
  1975. <td colspan="4" rowspan="1">市(州、管委会)填表人:</td>
  1976. <td colspan="2" rowspan="1">
  1977. <input type="text" v-model="table2.cityForm" />
  1978. </td>
  1979. <td colspan="4" rowspan="1">市(州、管委会)审核人:</td>
  1980. <td colspan="3" rowspan="1">
  1981. <input type="text" v-model="table2.cityAudit" />
  1982. </td>
  1983. </tr>
  1984. </tbody>
  1985. </table>
  1986. <div class="btm-btn-group">
  1987. <el-button
  1988. size="mini"
  1989. type="primary"
  1990. @click="updateCentereventTEventcatalogueStatus('gd', true)"
  1991. >归档
  1992. </el-button>
  1993. <el-button size="mini" type="primary" @click="regionalFlagAdd()"
  1994. >火灾区域
  1995. </el-button>
  1996. </div>
  1997. </form>
  1998. </div>
  1999. </el-dialog>
  2000. <!-- 添加区域标记 -->
  2001. <el-dialog title="火灾区域" :visible.sync="regionalFlagOpen" width="1000px">
  2002. <areaSupermap
  2003. ref="fireAreaSupermap"
  2004. v-if="regionalFlagOpen"
  2005. style="width: 100%; height: 74vh"
  2006. :mapDiv="'fireAreaSuperMap'"
  2007. :mapSite="{ doubleClickZoom: false }"
  2008. :codes="['9fa5']"
  2009. :isSideBySide="false"
  2010. :showAreaLatLng="showAreaLatLng"
  2011. ></areaSupermap>
  2012. <!-- <areaSupermap ref="fireAreaSupermap" v-if="regionalFlagOpen" :showAreaLatLng="showAreaLatLng"></areaSupermap> -->
  2013. </el-dialog>
  2014. <!-- 图片,视频预览 -->
  2015. <el-dialog
  2016. title="视频预览"
  2017. :visible.sync="showTcPlayer"
  2018. width="40%"
  2019. customClass="customWidthMp4"
  2020. >
  2021. <TcPlayer
  2022. ref="TcPlayer"
  2023. :playVideo="playVideo"
  2024. :widthHeigt="[100, 100]"
  2025. ></TcPlayer>
  2026. </el-dialog>
  2027. <el-dialog
  2028. :title="cameraTitle"
  2029. :visible.sync="cameraVisible"
  2030. v-if="cameraVisible"
  2031. customClass="videoCustomWidth"
  2032. @close="cancelEventLocationShow()"
  2033. >
  2034. <div style="width: 1020px; height: 625px; position: relative">
  2035. <!--视频窗口展示---海康-->
  2036. <div id="playWnd" class="playWnd" style="left: 0px; top: 0px"></div>
  2037. </div>
  2038. </el-dialog>
  2039. <el-dialog title="人员选择" :visible.sync="showFindUserByDept" width="40%">
  2040. <findUserByDept
  2041. v-if="showFindUserByDept"
  2042. ref="findUserByDept"
  2043. :deptId="iconCurrentIndex"
  2044. @addSelection="addSelection"
  2045. ></findUserByDept>
  2046. </el-dialog>
  2047. <TVWall ref="TVWall"></TVWall>
  2048. </div>
  2049. </template>
  2050. <script>
  2051. import html2canvas from "html2canvas"; //截图组件
  2052. import supermapDialog from "@/components/supermap"; //超图
  2053. import TVWall from "@/components/TVWall.vue"; //电视墙弹窗
  2054. import vBottomMenu from "@/components/vBottomMenu.vue"; //一体化公共底部菜单
  2055. import eventLogUpload from "@/views/eventLogUpload.vue"; //日志上传文件
  2056. import areaSupermap from "@/components/supermap"; //区域标记地图
  2057. import TcPlayer from "@/components/TcPlayer"; //视频预览
  2058. import findUserByDept from "@/views/findUserByDept"; //责任人选择弹框
  2059. import leftRightSwiperScroll from "@/components/leftRightSwiperScroll.vue"; //事件中心底部资源内容溢出组件
  2060. import "animate.css"; //动画库
  2061. import { getIconBg } from "@/api/components/sookaMapIcon"; //资源底色控制文件
  2062. import {
  2063. fireControlViewPoint,
  2064. fireControlViewList,
  2065. getEventDetail,
  2066. sendEventLog,
  2067. listSJfl,
  2068. listYuAn,
  2069. selectByeventCode,
  2070. updateCentereventTEventcatalogueStatus,
  2071. sendTask,
  2072. listResourceByWz,
  2073. updateYjYuAn,
  2074. uploadBase64,
  2075. centereventtdepteventList,
  2076. dutysystemList,
  2077. dutysystemAdd,
  2078. dutysystemRemove,
  2079. sendMessage,
  2080. userFeginlist,
  2081. eventExamine,
  2082. eventHandling,
  2083. initByCameras,
  2084. } from "@/api/forest";
  2085. import { joinConferences } from "@/api/meeting";
  2086. import { treeselectAll as deptTreeselect } from "@/api/system/dept";
  2087. import { getHaiKangVideoServer } from "@/api/haikang/haikang";
  2088. import { hasConferences, createConferences, getUserInfo } from "@/api/meeting";
  2089. import { getDahuaVideoServer } from "@/api/dahua/dahua";
  2090. import DHWs from "@/dahua/lib/DHWs";
  2091. import { selectConfigKey } from "@/api/system/config";
  2092. import Cookies from "js-cookie";
  2093. export default {
  2094. dicts: ["task_source"],
  2095. watch: {
  2096. filterText(val) {
  2097. this.$refs.LiandongDept.filter(val);
  2098. },
  2099. },
  2100. components: {
  2101. leftRightSwiperScroll,
  2102. TVWall,
  2103. vBottomMenu,
  2104. supermapDialog,
  2105. eventLogUpload,
  2106. areaSupermap,
  2107. TcPlayer,
  2108. findUserByDept,
  2109. },
  2110. data() {
  2111. return {
  2112. //地图tool开关
  2113. mapToolShow: false,
  2114. mapToolCheckAll: false,
  2115. mapToolCheck: ["应急预案", "地图标绘", "资源与操作"],
  2116. mapToolCheckItem: [],
  2117. mapToolShowBH:false,
  2118. // isIndeterminate: true,
  2119. isLoading: false,
  2120. showFindUserByDept: false, //责任人选择框
  2121. //海康
  2122. cameraTitle: "",
  2123. cameraCode: "",
  2124. cameraVisible: false,
  2125. initCount: 0,
  2126. pubKey: "",
  2127. oWebControl: null,
  2128. version: 0,
  2129. playVideo: "", //视频预览地址
  2130. showTcPlayer: false, //视频预览弹窗
  2131. regionalFlagOpen: false, //区域标记
  2132. //区域标记
  2133. regionalFlagObj: {
  2134. array: [],
  2135. },
  2136. filterText: "", //树搜索
  2137. /** *****************事件流程***************************/
  2138. deptNameitem: "签收部门",
  2139. sendDeptId: null, //签收部门/发起部门
  2140. sendDeptName: null, //签收部门/发起部门
  2141. sendEventType: null, //事件类型
  2142. sendHuoZaiBanJing: 0, //火灾报告
  2143. sendGuanLianYuAn: null, //关联预案
  2144. sendUserFegin: [], //联系人
  2145. sendTaskSource: null, //任务来源
  2146. sendTaskTitle: null, //联动标题
  2147. sendTaskContent: null, //联动内容
  2148. sendLianDongDept: [], //联动部门
  2149. eventTypeList: [], //事件类型列表
  2150. guanLianYuAnList: [], //关联预案列表
  2151. userFeginList: [], //联系人列表
  2152. deptOptions: [], //签收部门
  2153. deptOptionsLiandong: [], //联动部门
  2154. eventStatusButton: null, //流程按钮标识
  2155. eventConfirmTitle: null, //弹窗标题 ---签收 误报 重复 审核意见
  2156. eventDescription: null, //审核意见
  2157. uploadAttachList: [], //审核上传图片回显集合
  2158. attachExamine: [], //审核图片集合
  2159. defaultProps: {
  2160. children: "children",
  2161. label: "label",
  2162. },
  2163. table1: {
  2164. reportUnit: null,
  2165. reportTimeY: new Date().getFullYear(),
  2166. reportTimeM: new Date().getMonth() + 1,
  2167. reportTimeD: new Date().getDate(),
  2168. forestFireLossTotal: null,
  2169. fireLossTotal: null,
  2170. forestArea: null,
  2171. forestPrice: null,
  2172. treesNumber: null,
  2173. treesPrice: null,
  2174. minorInjuriesNumber: null,
  2175. minorInjuriesPrice: null,
  2176. seriouslyInjuredNumber: null,
  2177. seriouslyInjuredPrice: null,
  2178. deathNumber: null,
  2179. deathPrice: null,
  2180. elseFireLossPrice: null,
  2181. blazesPriceTotal: null,
  2182. artificialDays: null,
  2183. artificialPrice: null,
  2184. vehicleNumber: null,
  2185. carNumber: null,
  2186. vehiclePrice: null,
  2187. planeNumber: null,
  2188. planePrice: null,
  2189. elseBlazesPrice: null,
  2190. note: null,
  2191. },
  2192. table2: {
  2193. fireTime: null,
  2194. foundTime: null,
  2195. blazesTime: null,
  2196. address: null,
  2197. firePlace: null,
  2198. foundType: null,
  2199. longitudeD: null,
  2200. longitudeM: null,
  2201. longitudeS: null,
  2202. latitudeD: null,
  2203. latitudeM: null,
  2204. latitudeS: null,
  2205. fireSource: null,
  2206. fireType: null,
  2207. fireLevel: null,
  2208. areaTotal: 0,
  2209. forestLossAreaTotal: null,
  2210. originalForestArea: null,
  2211. artificialForestArea: null,
  2212. peopleTotal: 0,
  2213. blazesTeamNumber: null,
  2214. policeNumber: null,
  2215. armyNumber: null,
  2216. crowdNumber: null,
  2217. windExtinguisher: null,
  2218. secondTool: null,
  2219. waterGun: null,
  2220. elseThings: null,
  2221. forestComposition: "无",
  2222. forestToken: "无",
  2223. porosities: "无",
  2224. weather: null,
  2225. temperature: null,
  2226. fireInsuranceLevel: null,
  2227. windLevel: null,
  2228. windDirection: null,
  2229. commandUnit: null,
  2230. commandName: null,
  2231. commandPosition: null,
  2232. surveyUnit: null,
  2233. surveyName: null,
  2234. surveyPosition: null,
  2235. accidentName: null,
  2236. accidentSex: null,
  2237. accidentAge: null,
  2238. accidentPosition: null,
  2239. accidentUnit: null,
  2240. dealType: null,
  2241. dealNumber: null,
  2242. criminalDealNumber: null,
  2243. accidentDealSituation: null,
  2244. responsibilityDealSituation: null,
  2245. leadershipDealSituation: null,
  2246. townForm: null,
  2247. townAudit: null,
  2248. cityForm: null,
  2249. cityAudit: null,
  2250. },
  2251. /** *****************事件流程***************************/
  2252. showEventConfirm: false, //事件签收弹窗
  2253. showGuanLianYuAnConfirm: false, //调整关联预案弹窗
  2254. showEventConfirm_gd: false, //事件火险报告弹窗
  2255. address: null, //事件上报地址
  2256. eventStatusValue: null, //事件状态
  2257. isExamine: "0", //事件审核 1通过 0不通过
  2258. eventId: null, //事件ID
  2259. eventType: null, //事件类型-大类
  2260. eventTypeXl: null, //事件类型-小类
  2261. statusFlag: null, //事件流程按钮
  2262. dataStatus: null, //事件处置按钮
  2263. deptId: null, //事件流程部门
  2264. eventCode: null,
  2265. eventName: null,
  2266. longitude: null,
  2267. latitude: null,
  2268. eventLog: null,
  2269. eventLogList: [],
  2270. visuForestCloudYuAnBo: null,
  2271. eventDialog: false,
  2272. showResponsibilityDialog: false, //责任制弹窗
  2273. showMeetingMsgDialog: false, //发送会议短信弹窗
  2274. depteventList: [], //责任制部门列表
  2275. iconCurrentIndex: "",
  2276. dutysystemDeptName: "",
  2277. depteventId: "",
  2278. dutysystemTableData: [],
  2279. radius: 5000, //资源搜索半径
  2280. resourcesList: [
  2281. {
  2282. resourceName: "取水口",
  2283. type: "qsk",
  2284. count: "1",
  2285. icon: "sj-icon-waterintake",
  2286. },
  2287. {
  2288. resourceName: "水鹤",
  2289. type: "sh",
  2290. icon: "sj-icon-watercrane",
  2291. },
  2292. {
  2293. resourceName: "消防栓",
  2294. type: "xfs",
  2295. count: "1",
  2296. icon: "sj-icon-firehydrant",
  2297. },
  2298. {
  2299. resourceName: "起降点",
  2300. type: "qjd",
  2301. count: "1",
  2302. icon: "sj-icon-landing",
  2303. },
  2304. {
  2305. resourceName: "检查站",
  2306. type: "jcz",
  2307. count: "1",
  2308. icon: "sj-icon-checkpoint",
  2309. },
  2310. {
  2311. resourceName: "防火队",
  2312. type: "fhd",
  2313. count: "1",
  2314. icon: "sj-icon-fireteam",
  2315. },
  2316. {
  2317. resourceName: "重点区域",
  2318. type: "zdqy",
  2319. count: "1",
  2320. icon: "sj-icon-keyAreas",
  2321. },
  2322. {
  2323. resourceName: "摄像头",
  2324. type: "sxt",
  2325. count: "1",
  2326. icon: "sj-icon-jkzx",
  2327. },
  2328. ],
  2329. resourcesListCheck: [],
  2330. //文本域
  2331. feedback: "",
  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. });
  2407. },
  2408. /************************************责任制-开始****************************************/
  2409. addLine: function () {
  2410. //添加负责人行数
  2411. var newValue = {
  2412. id: "", //主键
  2413. userId: "", //用户主键
  2414. dept: "", //部门名称
  2415. depteventId: "", //事件部门关联责任人
  2416. name: "", //姓名
  2417. post: "", //岗位
  2418. telphone: "", //手机号addSelection
  2419. };
  2420. //添加新的行数
  2421. this.dutysystemTableData.push(newValue);
  2422. },
  2423. finUserByDept: function () {
  2424. //根据部门选择责任人
  2425. this.showFindUserByDept = true;
  2426. },
  2427. addSelection: function (userList) {
  2428. for (let i in this.dutysystemTableData) {
  2429. for (let j in userList) {
  2430. if (
  2431. this.dutysystemTableData[i].name == userList[j].name &&
  2432. this.dutysystemTableData[i].telphone == userList[j].telphone
  2433. ) {
  2434. userList.splice(j, 1);
  2435. }
  2436. }
  2437. }
  2438. this.dutysystemTableData = this.dutysystemTableData.concat(userList);
  2439. this.showFindUserByDept = false;
  2440. },
  2441. handleDelete: function (index, row) {
  2442. //删除负责人行数
  2443. if (row.id != null && row.id != "") {
  2444. let param = {
  2445. ids: row.id,
  2446. };
  2447. dutysystemRemove(param).then((res) => {
  2448. this.$message.success(`删除成功!`);
  2449. this.dutysystemSelect(
  2450. this.iconCurrentIndex,
  2451. this.dutysystemDeptName,
  2452. this.depteventId
  2453. );
  2454. });
  2455. } else {
  2456. this.dutysystemTableData.splice(index, 1);
  2457. }
  2458. },
  2459. handleSave: function (index, rowData) {
  2460. //保存负责人行数
  2461. rowData.dept = this.dutysystemDeptName;
  2462. rowData.depteventId = this.depteventId;
  2463. dutysystemAdd(rowData).then((res) => {
  2464. this.$message.success(`保存成功!`);
  2465. this.dutysystemSelect(
  2466. this.iconCurrentIndex,
  2467. this.dutysystemDeptName,
  2468. this.depteventId
  2469. );
  2470. });
  2471. },
  2472. dutysystemSelect: function (deptId, dutysystemDeptName, depteventId) {
  2473. //通过部门查询负责人信息
  2474. this.dutysystemDeptName = dutysystemDeptName;
  2475. this.depteventId = depteventId;
  2476. this.iconCurrentIndex = deptId;
  2477. let param = {
  2478. depteventId: depteventId,
  2479. };
  2480. dutysystemList(param).then((res) => {
  2481. if (res.data != null && res.data.length > 0) {
  2482. this.dutysystemTableData = res.data;
  2483. } else {
  2484. this.dutysystemTableData = [];
  2485. }
  2486. });
  2487. },
  2488. showResponsibility() {
  2489. //弹出责任制弹窗
  2490. //初始化责任制数据列表
  2491. this.dutysystemTableData = [];
  2492. let param = {
  2493. eventCode: this.eventCode,
  2494. };
  2495. centereventtdepteventList(param).then((res) => {
  2496. this.depteventList = res.data;
  2497. this.showResponsibilityDialog = true;
  2498. });
  2499. },
  2500. closeResponsibilityDialog() {
  2501. //责任制关闭
  2502. this.dutysystemTableData = [];
  2503. this.dutysystemDeptName = "";
  2504. this.depteventId = "";
  2505. this.iconCurrentIndex = "";
  2506. this.showResponsibilityDialog = false;
  2507. },
  2508. closeMeetingMsgDialog() {
  2509. //会议弹窗关闭
  2510. this.dutysystemTableData = [];
  2511. this.dutysystemDeptName = "";
  2512. this.depteventId = "";
  2513. this.iconCurrentIndex = "";
  2514. this.showMeetingMsgDialog = false;
  2515. },
  2516. addResponsibilityDialog() {
  2517. //责任制保存
  2518. console.log(this.dutysystemTableData);
  2519. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  2520. let reg_tel =
  2521. /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
  2522. for (let i in this.dutysystemTableData) {
  2523. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  2524. this.$message.error(`请输入正确姓名!`);
  2525. return;
  2526. }
  2527. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  2528. this.$message.error(`请输入正确手机号码!`);
  2529. return;
  2530. }
  2531. if (
  2532. this.dutysystemTableData[i].id == null ||
  2533. this.dutysystemTableData[i].id == ""
  2534. ) {
  2535. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  2536. this.dutysystemTableData[i].depteventId = this.depteventId;
  2537. }
  2538. }
  2539. const param = {
  2540. centereventTDutySystemList: this.dutysystemTableData,
  2541. eventCode: this.eventCode,
  2542. eventName: this.eventName,
  2543. };
  2544. dutysystemAdd(param).then((res) => {
  2545. this.$message.success(`保存成功!`);
  2546. this.dutysystemSelect(
  2547. this.iconCurrentIndex,
  2548. this.dutysystemDeptName,
  2549. this.depteventId
  2550. );
  2551. this.closeResponsibilityDialog();
  2552. });
  2553. },
  2554. /************************************责任制-结束****************************************/
  2555. showheatPlotting() {
  2556. // if (!this.$refs.supermapDialog.isheatPlotting) {
  2557. // this.$refs.supermapDialog.showheatPlotting(this.latitude, this.longitude)
  2558. // } else {
  2559. // this.$refs.supermapDialog.isheatPlotting = false
  2560. // }
  2561. // this.cancelEventShow();
  2562. this.eventDialog = false;
  2563. this.$emit("showEventDialog", this.eventCode);
  2564. },
  2565. showTVWallDiaLog() {
  2566. this.initByCameras();
  2567. // this.$refs.TVWall.showTVWall();
  2568. },
  2569. showTVWall(channelCode, channelName) {
  2570. let tvListJson = [
  2571. {
  2572. switchTab: "2",
  2573. treeLabels: [
  2574. {
  2575. id: null,
  2576. labelCode: "999",
  2577. labelName: "电视墙",
  2578. cameraType: null,
  2579. parentLabelCode: "",
  2580. },
  2581. {
  2582. id: "spcamera00010",
  2583. labelCode: channelCode,
  2584. labelName: channelName,
  2585. cameraType: "1",
  2586. parentLabelCode: "999",
  2587. },
  2588. ],
  2589. labelChannels: [
  2590. {
  2591. labelCode: channelCode,
  2592. channelDates: [
  2593. {
  2594. channelCode: channelCode,
  2595. channelName: channelName,
  2596. channelSn: null,
  2597. cameraType: "1",
  2598. online: "1",
  2599. cameraCode: "1",
  2600. },
  2601. ],
  2602. },
  2603. ],
  2604. },
  2605. ];
  2606. this.$refs.TVWall.showTVWall(tvListJson, [
  2607. {
  2608. channelId: channelCode,
  2609. },
  2610. ]);
  2611. this.$refs.bottomMenu.showMeasure = false;
  2612. this.$refs.bottomMenu.showChild = false;
  2613. this.$refs.bottomMenu.showBanChild = false;
  2614. this.$refs.bottomMenu.showChangChild = false;
  2615. },
  2616. initByCameras() {
  2617. // const params = Object.assign({})
  2618. // params.longitude = this.longitude;
  2619. // params.latitude = this.latitude;
  2620. // params.type = '8'
  2621. // initByCameras(params).then(res => {
  2622. // this.$refs.TVWall.showTVWall1(this.longitude, this.latitude, res.data);
  2623. // this.$refs.bottomMenu.showMeasure = false
  2624. // this.$refs.bottomMenu.showChild = false
  2625. // this.$refs.bottomMenu.showBanChild = false
  2626. // this.$refs.bottomMenu.showChangChild = false
  2627. // })
  2628. let that = this
  2629. if(that.centermonitorTCamera == null){
  2630. this.$message.warning("当前事件无绑定摄像头")
  2631. return
  2632. }
  2633. let tvListJson = [{
  2634. "switchTab": "2",
  2635. "treeLabels": [{
  2636. "id": null,
  2637. "labelCode": "999",
  2638. "labelName": "电视墙",
  2639. "cameraType": null,
  2640. "parentLabelCode": ""
  2641. },
  2642. {
  2643. "id": "spcamera00010",
  2644. "labelCode": that.centermonitorTCamera.cameraCode,
  2645. "labelName": that.centermonitorTCamera.cameraName,
  2646. "cameraType": that.centermonitorTCamera.cameraType,
  2647. "parentLabelCode": "999"
  2648. }
  2649. ],
  2650. "labelChannels": [{
  2651. "labelCode": that.centermonitorTCamera.cameraCode,
  2652. "channelDates": [{
  2653. "channelCode": that.centermonitorTCamera.cameraCode,
  2654. "channelName": that.centermonitorTCamera.cameraName,
  2655. "channelSn": null,
  2656. "cameraType": that.centermonitorTCamera.cameraType,
  2657. "online": "1",
  2658. "cameraCode": null
  2659. }]
  2660. }]
  2661. }]
  2662. this.$refs.TVWall.showTVWall1(this.longitude, this.latitude, tvListJson);
  2663. this.$refs.bottomMenu.showMeasure = false
  2664. this.$refs.bottomMenu.showChild = false
  2665. this.$refs.bottomMenu.showBanChild = false
  2666. this.$refs.bottomMenu.showChangChild = false
  2667. },
  2668. showUpdateYjYuAn() {
  2669. listYuAn().then((res) => {
  2670. //关联预案列表
  2671. if (res.code == 200) {
  2672. this.guanLianYuAnList = res.data;
  2673. this.showGuanLianYuAnConfirm = true;
  2674. }
  2675. });
  2676. },
  2677. updateYjYuAn() {
  2678. if (
  2679. this.eventStatusValue == "forest_event_status_1" ||
  2680. this.eventStatusValue == "forest_event_status_7"
  2681. ) {
  2682. this.$message.error(`修改预案信息在签收后方可修改!`);
  2683. return;
  2684. } else if (this.eventStatusValue == "forest_event_status_3") {
  2685. this.$message.error(`误报事件无法修改预案信息!`);
  2686. return;
  2687. } else {
  2688. let param = {
  2689. eventCode: this.eventCode,
  2690. reserve: this.sendGuanLianYuAn,
  2691. };
  2692. if (this.sendGuanLianYuAn == "" || this.sendGuanLianYuAn == null) {
  2693. this.$message.error(`请选择预案信息!`);
  2694. return;
  2695. }
  2696. updateYjYuAn(param).then((res) => {
  2697. //事件调整关联预案
  2698. if (res.code == 200) {
  2699. this.$message.success(`预案调整成功!`);
  2700. this.refreshEventDialog(this.eventCode);
  2701. this.sendGuanLianYuAn = null;
  2702. this.showGuanLianYuAnConfirm = false;
  2703. }
  2704. });
  2705. }
  2706. },
  2707. fireControlViewPoint(type) {
  2708. // alert(type)
  2709. if (this.resourcesListCheck.indexOf(type) > -1) {
  2710. this.resourcesListCheck.splice(
  2711. this.resourcesListCheck.indexOf(type),
  2712. 1
  2713. );
  2714. setTimeout(() => {
  2715. this.$refs.supermapDialog.clearMByType(type);
  2716. }, 1000);
  2717. } else {
  2718. // 消防资源落点
  2719. let param = {
  2720. longitude: this.longitude,
  2721. latitude: this.latitude,
  2722. type: type,
  2723. radius: this.radius,
  2724. };
  2725. if (type != "sxt") {
  2726. fireControlViewPoint(param).then((res) => {
  2727. if (res.data != null && res.data.pointList.length > 0) {
  2728. this.resourcesListCheck.push(type);
  2729. var markersList = [];
  2730. for (let i = 0; i < res.data.pointList.length; i++) {
  2731. let markersMap = {
  2732. lng: 124.59,
  2733. lat: 43.02,
  2734. icon: "marker",
  2735. bindPopupHtml: "",
  2736. click: "",
  2737. parameter: "",
  2738. keepBindPopup: false,
  2739. isAggregation: true,
  2740. };
  2741. markersMap.icon = "sj-icon-map-" + type.replaceAll("_", "-");
  2742. markersMap.lng = res.data.pointList[i].longitude;
  2743. markersMap.lat = res.data.pointList[i].latitude;
  2744. markersMap.bindPopupHtml =
  2745. '<div class="map-tip">' +
  2746. "<span>" +
  2747. ' <div class="d-l-con">' +
  2748. ' <div class="d-l-l-text">' +
  2749. " <h4>资源名称:" +
  2750. res.data.pointList[i].name +
  2751. "</h4>" +
  2752. " </div>" +
  2753. " </div>" +
  2754. " </span>" +
  2755. "<span>" +
  2756. ' <div class="d-l-con">' +
  2757. ' <div class="d-l-l-text">' +
  2758. " <h4>经纬度:" +
  2759. res.data.pointList[i].longitude +
  2760. "," +
  2761. res.data.pointList[i].latitude +
  2762. "</h4>" +
  2763. " </div>" +
  2764. " </div>" +
  2765. " </span>" +
  2766. "<span>" +
  2767. ' <div class="d-l-con">' +
  2768. ' <div class="d-l-l-text">' +
  2769. " <h4>名称:" +
  2770. (res.data.pointList[i].name?res.data.pointList[i].name:'无') +
  2771. "</h4>" +
  2772. " </div>" +
  2773. " </div>" +
  2774. " </span>" +
  2775. "<span>" +
  2776. ' <div class="d-l-con">' +
  2777. ' <div class="d-l-l-text">' +
  2778. " <h4>地址:" +
  2779. (res.data.pointList[i].address?res.data.pointList[i].address:'无') +
  2780. "</h4>" +
  2781. " </div>" +
  2782. " </div>" +
  2783. " </span>" +
  2784. "<span>" +
  2785. ' <div class="d-l-con">' +
  2786. ' <div class="d-l-l-text">' +
  2787. " <h4>联系人:" +
  2788. (res.data.pointList[i].contacts?res.data.pointList[i].contacts:'无') +
  2789. "</h4>" +
  2790. " </div>" +
  2791. " </div>" +
  2792. " </span>" +
  2793. "<span>" +
  2794. ' <div class="d-l-con">' +
  2795. ' <div class="d-l-l-text">' +
  2796. " <h4>电话:" +
  2797. (res.data.pointList[i].phone?res.data.pointList[i].phone:'无') +
  2798. "</h4>" +
  2799. " </div>" +
  2800. " </div>" +
  2801. " </span>" +
  2802. "<span>" +
  2803. ' <div class="d-l-con">' +
  2804. ' <div class="d-l-l-text">' +
  2805. " <h4>距离事件距离:" +
  2806. (res.data.pointList[i].distance?res.data.pointList[i].distance+'米':'无') +
  2807. "</h4>" +
  2808. " </div>" +
  2809. " </div>" +
  2810. " </span>" +
  2811. "</div>";
  2812. markersList.push(markersMap);
  2813. }
  2814. setTimeout(() => {
  2815. this.$refs.supermapDialog.setMarkersByType(markersList, type);
  2816. }, 1000);
  2817. } else {
  2818. this.$message.warning("当前点位附近无资源数据");
  2819. }
  2820. });
  2821. } else {
  2822. this.listResourceByWz(type);
  2823. }
  2824. }
  2825. },
  2826. listResourceByWz(type) {
  2827. if (this.resourcesListCheck.indexOf(type) > -1) {
  2828. this.resourcesListCheck.splice(
  2829. this.resourcesListCheck.indexOf(type),
  2830. 1
  2831. );
  2832. setTimeout(() => {
  2833. this.$refs.supermapDialog.clearMByType(type);
  2834. }, 1000);
  2835. } else {
  2836. //搜索物资
  2837. let param = {
  2838. longitude: this.longitude,
  2839. latitude: this.latitude,
  2840. type: type,
  2841. radius: this.radius,
  2842. };
  2843. listResourceByWz(param).then((res) => {
  2844. if (res.data != null && res.data.length > 0) {
  2845. this.resourcesListCheck.push(type);
  2846. var markersList = [];
  2847. for (let i = 0; i < res.data.length; i++) {
  2848. let markersMap = {
  2849. lng: 124.59,
  2850. lat: 43.02,
  2851. icon: "marker",
  2852. bindPopupHtml: "",
  2853. click: "",
  2854. parameter: "",
  2855. keepBindPopup: false,
  2856. isAggregation: true,
  2857. };
  2858. if (type == "qsk") {
  2859. markersMap.icon = "sj-icon-centerdata-t-forest-waterintake";
  2860. } else if (type == "sh") {
  2861. markersMap.icon = "sj-icon-centerdata-t-forest-watercrane";
  2862. } else if (type == "xfs") {
  2863. markersMap.icon = "sj-icon-centerdata-t-forest-firehydrant";
  2864. } else if (type == "qjd") {
  2865. markersMap.icon = "sj-icon-landing";
  2866. } else if (type == "jcz") {
  2867. markersMap.icon = "sj-icon-checkpoint";
  2868. } else if (type == "fhd") {
  2869. markersMap.icon = "sj-icon-fireteam";
  2870. } else if (type == "zdqy") {
  2871. markersMap.icon = "sj-icon-keyAreas";
  2872. } else if (type == "sxt") {
  2873. if(res.data[i].cameraUse==1)
  2874. {
  2875. if(res.data[i].workingStatus==0)
  2876. {
  2877. markersMap.icon='sj-icon-map-centerdata-slmonitor'
  2878. markersMap.click='preview'
  2879. }else if (res.data[i].workingStatus==1)
  2880. {
  2881. markersMap.icon='sj-icon-map-not-centerdata-slmonitor'
  2882. markersMap.click=''
  2883. }
  2884. } else if (res.data[i].cameraUse == 2){
  2885. if(res.data[i].workingStatus==0)
  2886. {
  2887. markersMap.icon = "camera";
  2888. markersMap.click='preview'
  2889. }else if (res.data[i].workingStatus==1)
  2890. {
  2891. markersMap.icon = "camera-not";
  2892. markersMap.click=''
  2893. }
  2894. } else if (res.data[i].cameraUse == 3) {
  2895. if(res.data[i].workingStatus==0)
  2896. {
  2897. markersMap.icon = 'sj-icon-map-centerdata-slmonitor-traffic'
  2898. markersMap.click='preview'
  2899. }else if (res.data[i].workingStatus==1)
  2900. {
  2901. markersMap.icon = 'sj-icon-map-not-centerdata-slmonitor-traffic'
  2902. markersMap.click=''
  2903. }
  2904. }
  2905. else if (res.data[i].cameraUse == 4) {
  2906. if(res.data[i].workingStatus==0)
  2907. {
  2908. markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
  2909. markersMap.click='preview'
  2910. }else if (res.data[i].workingStatus==1)
  2911. {
  2912. markersMap.icon = 'sj-icon-map-not-centerdata-sand-quarry-camera'
  2913. markersMap.click=''
  2914. }
  2915. }
  2916. else if (res.data[i].cameraUse == 5) {
  2917. if (res.data[i].workingStatus == 0) {
  2918. markersMap.icon = 'sj-icon-map-centerdata-sand-quarry-camera'
  2919. markersMap.click = 'preview'
  2920. } else if (res.data[i].workingStatus == 1) {
  2921. markersMap.icon = 'sj-icon-map-not-centerdata-t-hydraulic-reservoir-camera'
  2922. markersMap.click = ''
  2923. }
  2924. }
  2925. if (res.data[i].cameraCode != null) {
  2926. //markersMap.click = "preview";
  2927. // markersMap.parameter = res.data[i].cameraCode
  2928. markersMap.parameter = {
  2929. code: res.data[i].cameraCode,
  2930. type: res.data[i].cameraFactory
  2931. ? res.data[i].cameraFactory
  2932. : 1,
  2933. name: res.data[i].cameraName,
  2934. };
  2935. }
  2936. }
  2937. markersMap.lng = res.data[i].longitude;
  2938. markersMap.lat = res.data[i].latitude;
  2939. markersMap.bindPopupHtml =
  2940. '<div class="map-tip">' +
  2941. "<span>" +
  2942. ' <div class="d-l-con">' +
  2943. ' <div class="d-l-l-text">' +
  2944. " <h4>资源名称:" +
  2945. res.data[i].cameraName +
  2946. "</h4>" +
  2947. " </div>" +
  2948. " </div>" +
  2949. " </span>" +
  2950. "</div>";
  2951. markersList.push(markersMap);
  2952. }
  2953. setTimeout(() => {
  2954. this.$refs.supermapDialog.setMarkersByType(markersList, type);
  2955. }, 1000);
  2956. }
  2957. });
  2958. }
  2959. },
  2960. // 返回图片列表
  2961. assetTypeAnImage(filePath) {
  2962. let imageList = [];
  2963. if (filePath != null && filePath.length > 0) {
  2964. for (let i = 0; i < filePath.length; i++) {
  2965. if (filePath[i].fileType == "image") {
  2966. imageList.push(filePath[i].fileUrl);
  2967. }
  2968. }
  2969. }
  2970. return imageList;
  2971. },
  2972. clickFile(fileUrl, fileName, fileType) {
  2973. if (fileType == "image") {
  2974. return;
  2975. } else if (fileType == "video") {
  2976. this.showTcPlayer = true;
  2977. setTimeout(() => {
  2978. this.playVideo = fileUrl;
  2979. }, 500);
  2980. } else {
  2981. let a = document.createElement("a");
  2982. a.download = fileName;
  2983. a.href = fileUrl;
  2984. a.target = "_blank";
  2985. a.click();
  2986. }
  2987. },
  2988. setValue(event) {
  2989. //签收选择部门
  2990. this.sendDeptName = event.label;
  2991. this.sendDeptId = event.value;
  2992. },
  2993. cancelEventConfirm() {
  2994. //关闭事件签收弹窗
  2995. this.sendDeptId = null;
  2996. this.sendDeptName = null;
  2997. this.sendUserFegin = [];
  2998. this.sendEventType = null;
  2999. this.sendHuoZaiBanJing = 0;
  3000. this.sendGuanLianYuAn = null;
  3001. // this.longitude = null
  3002. // this.latitude = null
  3003. this.sendTaskTitle = null;
  3004. this.sendTaskSource = null;
  3005. this.sendTaskContent = null;
  3006. this.sendLianDongDept = [];
  3007. this.eventTypeList = []; //事件类型列表
  3008. this.guanLianYuAnList = []; //关联预案列表
  3009. this.deptOptions = []; //签收部门
  3010. this.deptOptionsLiandong = []; //联动部门
  3011. this.eventStatusButton = null; //流程按钮标识
  3012. this.eventConfirmTitle = null; //流程按钮标识
  3013. this.resourcesListCheck = [];
  3014. this.userFeginList = []; //联系人列表
  3015. },
  3016. cancelEventConfirm_send() {
  3017. //清空表单数据
  3018. this.sendDeptId = null;
  3019. this.sendDeptName = null;
  3020. this.sendUserFegin = [];
  3021. this.sendEventType = null;
  3022. this.sendHuoZaiBanJing = 0;
  3023. this.sendGuanLianYuAn = null;
  3024. this.sendTaskTitle = null;
  3025. this.sendTaskSource = null;
  3026. this.sendTaskContent = null;
  3027. this.sendLianDongDept = [];
  3028. this.eventTypeList = []; //事件类型列表
  3029. this.guanLianYuAnList = []; //关联预案列表
  3030. this.deptOptions = []; //签收部门
  3031. this.deptOptionsLiandong = []; //联动部门
  3032. this.userFeginList = []; //联系人列表
  3033. },
  3034. cancelEventConfirm_gd() {
  3035. //关闭事件火险报告窗口
  3036. this.resetTable1();
  3037. this.resetTable2();
  3038. },
  3039. cancelEventConfirm_mp4() {
  3040. //关闭视频窗口
  3041. this.playVideo = "";
  3042. this.$refs.TcPlayer.destroyed();
  3043. },
  3044. resetTable1() {
  3045. this.table1 = {
  3046. reportUnit: null,
  3047. reportTimeY: null,
  3048. reportTimeM: null,
  3049. reportTimeD: null,
  3050. forestFireLossTotal: null,
  3051. fireLossTotal: null,
  3052. forestArea: null,
  3053. forestPrice: null,
  3054. treesNumber: null,
  3055. treesPrice: null,
  3056. minorInjuriesNumber: null,
  3057. minorInjuriesPrice: null,
  3058. seriouslyInjuredNumber: null,
  3059. seriouslyInjuredPrice: null,
  3060. deathNumber: null,
  3061. deathPrice: null,
  3062. elseFireLossPrice: null,
  3063. blazesPriceTotal: null,
  3064. artificialDays: null,
  3065. artificialPrice: null,
  3066. vehicleNumber: null,
  3067. carNumber: null,
  3068. vehiclePrice: null,
  3069. planeNumber: null,
  3070. planePrice: null,
  3071. elseBlazesPrice: null,
  3072. note: null,
  3073. };
  3074. },
  3075. resetTable2() {
  3076. this.table2 = {
  3077. fireTime: null,
  3078. foundTime: null,
  3079. blazesTime: null,
  3080. address: null,
  3081. firePlace: null,
  3082. foundType: null,
  3083. longitudeD: null,
  3084. longitudeM: null,
  3085. longitudeS: null,
  3086. latitudeD: null,
  3087. latitudeM: null,
  3088. latitudeS: null,
  3089. fireSource: null,
  3090. fireType: null,
  3091. fireLevel: null,
  3092. areaTotal: null,
  3093. forestLossAreaTotal: null,
  3094. originalForestArea: null,
  3095. artificialForestArea: null,
  3096. peopleTotal: null,
  3097. blazesTeamNumber: null,
  3098. policeNumber: null,
  3099. armyNumber: null,
  3100. crowdNumber: null,
  3101. windExtinguisher: null,
  3102. secondTool: null,
  3103. waterGun: null,
  3104. elseThings: null,
  3105. forestComposition: null,
  3106. forestToken: null,
  3107. porosities: null,
  3108. weather: null,
  3109. temperature: null,
  3110. fireInsuranceLevel: null,
  3111. windLevel: null,
  3112. windDirection: null,
  3113. commandUnit: null,
  3114. commandName: null,
  3115. commandPosition: null,
  3116. surveyUnit: null,
  3117. surveyName: null,
  3118. surveyPosition: null,
  3119. accidentName: null,
  3120. accidentSex: null,
  3121. accidentAge: null,
  3122. accidentPosition: null,
  3123. accidentUnit: null,
  3124. dealType: null,
  3125. dealNumber: null,
  3126. criminalDealNumber: null,
  3127. accidentDealSituation: null,
  3128. responsibilityDealSituation: null,
  3129. leadershipDealSituation: null,
  3130. townForm: null,
  3131. townAudit: null,
  3132. cityForm: null,
  3133. cityAudit: null,
  3134. };
  3135. },
  3136. getUrl(urlList) {
  3137. this.uploadAttachList = urlList;
  3138. this.attachExamine = [];
  3139. urlList.forEach((item) => {
  3140. var attachPath = {
  3141. attachPath: item.name,
  3142. };
  3143. this.attachExamine.push(attachPath);
  3144. });
  3145. },
  3146. //设置联动部门不可选择本部门
  3147. recursiveChildren(arrayList,deptId) {
  3148. arrayList.forEach((item, index) => {
  3149. if(item.id==deptId){
  3150. item.disabled="true";
  3151. return
  3152. }
  3153. if(item.children){
  3154. this.recursiveChildren(item.children,deptId)
  3155. }
  3156. });
  3157. },
  3158. /**
  3159. * eventStatusValue 事件状态
  3160. * isSend 是否办理
  3161. * */
  3162. async updateCentereventTEventcatalogueStatus(eventStatus, isSend) {
  3163. this.eventStatusButton = eventStatus;
  3164. let that = this;
  3165. if (!isSend) {
  3166. //事件弹窗
  3167. if (eventStatus == "qs") {
  3168. //签收
  3169. that.eventConfirmTitle = "事件签收";
  3170. let param = {
  3171. parentId: that.eventType,
  3172. };
  3173. if (that.eventTypeXl != null) {
  3174. that.sendEventType = that.eventTypeXl;
  3175. } else {
  3176. await listSJfl(param).then((res) => {
  3177. //事件类型
  3178. if (res.code == 200) {
  3179. that.eventTypeList = res.data;
  3180. }
  3181. });
  3182. }
  3183. await listYuAn().then((res) => {
  3184. //关联预案
  3185. if (res.code == 200) {
  3186. that.guanLianYuAnList = res.data;
  3187. }
  3188. });
  3189. await selectByeventCode(that.eventCode).then((res) => {
  3190. //签收部门
  3191. if (res.code == 200) {
  3192. that.deptOptions = res.data;
  3193. that.deptNameitem = "签收部门";
  3194. }
  3195. });
  3196. that.showEventConfirm = true;
  3197. } else if (eventStatus == "qr") {
  3198. //确认
  3199. that.eventConfirmTitle = "事件确认";
  3200. } else if (eventStatus == "wb") {
  3201. //误报
  3202. that.eventConfirmTitle = "事件误报";
  3203. await selectByeventCode(that.eventCode).then((res) => {
  3204. //签收部门
  3205. if (res.code == 200) {
  3206. that.deptOptions = res.data;
  3207. that.deptNameitem = "签收部门";
  3208. }
  3209. });
  3210. that.showEventConfirm = true;
  3211. } else if (eventStatus == "cf") {
  3212. //重复
  3213. that.eventConfirmTitle = "事件重复";
  3214. await selectByeventCode(that.eventCode).then((res) => {
  3215. //签收部门
  3216. if (res.code == 200) {
  3217. that.deptOptions = res.data;
  3218. that.deptNameitem = "签收部门";
  3219. }
  3220. });
  3221. that.showEventConfirm = true;
  3222. } else if (eventStatus == "ld") {
  3223. //联动
  3224. await selectByeventCode(that.eventCode).then((res) => {
  3225. //签收部门
  3226. if (res.code == 200) {
  3227. that.deptOptions = res.data;
  3228. that.deptNameitem = "发起部门";
  3229. }
  3230. });
  3231. that.eventConfirmTitle = "事件联动";
  3232. /** 查询部门树结构 */
  3233. await deptTreeselect().then((response) => {
  3234. let deptId=Cookies.get("deptId")
  3235. that.recursiveChildren(response.data,deptId)
  3236. that.deptOptionsLiandong = response.data;
  3237. });
  3238. that.showEventConfirm = true;
  3239. } else if (eventStatus == "sh") {
  3240. //审核
  3241. that.eventConfirmTitle = "事件审核";
  3242. that.showEventConfirm = true;
  3243. } else if (eventStatus == "gd") {
  3244. //归档填报
  3245. that.showEventConfirm_gd = true;
  3246. }
  3247. } else {
  3248. //事件提交后台
  3249. if (eventStatus == "ld") {
  3250. //事件处理流程--联动1
  3251. let array = that.$refs.LiandongDept.getCheckedNodes();
  3252. if (array != null && array.length > 0) {
  3253. for (let i = 0; i < array.length; i++) {
  3254. that.sendLianDongDept.push({
  3255. taskDeptId: array[i].id,
  3256. taskDeptName: array[i].label,
  3257. });
  3258. }
  3259. }
  3260. if (that.sendTaskSource == "" || that.sendTaskSource == null) {
  3261. that.$message.error(`请选择任务来源!`);
  3262. return;
  3263. }
  3264. if (that.sendTaskContent == "" || that.sendTaskContent == null) {
  3265. that.$message.error(`请输入任务内容!`);
  3266. return;
  3267. }
  3268. if (that.sendTaskTitle == "" || that.sendTaskTitle == null) {
  3269. that.$message.error(`请输入任务标题!`);
  3270. return;
  3271. }
  3272. if (that.sendLianDongDept == "" || that.sendLianDongDept == null) {
  3273. that.$message.error(`请选择任务联动部门!`);
  3274. return;
  3275. }
  3276. // if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName ==
  3277. // null) {
  3278. // that.$message.error(`请选择任务发起部门!`)
  3279. // return
  3280. // }
  3281. let eventState = "";
  3282. listSJfl({
  3283. parentId: that.eventType,
  3284. }).then((res) => {
  3285. if (res.code == 200) {
  3286. for (let i in res.data) {
  3287. if (res.data[i].id == that.eventTypeXl) {
  3288. eventState = res.data[i].eventTypeName;
  3289. }
  3290. }
  3291. let param = {
  3292. sendDeptId: Cookies.get("deptId"),
  3293. sendDept: Cookies.get("deptName"),
  3294. eventCode: that.eventCode,
  3295. longitude: that.longitude,
  3296. latitude: that.latitude,
  3297. taskTitle: that.sendTaskTitle,
  3298. taskSource: that.sendTaskSource,
  3299. taskContent: that.sendTaskContent,
  3300. taskDept: that.sendLianDongDept,
  3301. eventAddress: that.address,
  3302. eventState: eventState,
  3303. eventName: that.eventName,
  3304. };
  3305. sendTask(param).then((res) => {
  3306. if (res.code == 200) {
  3307. that.$message.success(`联动发起成功!`);
  3308. that.refreshEventDialog(that.eventCode);
  3309. that.cancelEventConfirm_send();
  3310. that.showEventConfirm = false;
  3311. }
  3312. });
  3313. }
  3314. });
  3315. } else if (eventStatus == "gd") {
  3316. if (that.eventTypeXl == 101) {
  3317. let double =
  3318. /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; //数字和两位小数
  3319. let number = /^[+]{0,1}(\d+)$/g; //正整数
  3320. if (!double.test(that.table2.areaTotal)) {
  3321. that.$message.error(`面积只能填写到小数后两位!`);
  3322. return;
  3323. }
  3324. if (!number.test(that.table2.peopleTotal)) {
  3325. that.$message.error(`人员请填写正整数!`);
  3326. return;
  3327. }
  3328. if (
  3329. that.table2.forestComposition == "" ||
  3330. that.table2.forestComposition == null
  3331. ) {
  3332. that.$message.error(`林木组成不能为空!`);
  3333. return;
  3334. }
  3335. if (
  3336. that.table2.forestToken == "" ||
  3337. that.table2.forestToken == null
  3338. ) {
  3339. that.$message.error(`林令不能为空!`);
  3340. return;
  3341. }
  3342. if (
  3343. that.table2.porosities == "" ||
  3344. that.table2.porosities == null
  3345. ) {
  3346. that.$message.error(`疏密度不能为空!`);
  3347. return;
  3348. }
  3349. }
  3350. //事件处理流程--归档
  3351. let param = {
  3352. deptId: that.deptId,
  3353. eventCode: that.eventCode,
  3354. eventStatus: eventStatus,
  3355. id: that.eventId,
  3356. version: that.version,
  3357. czlx: "",
  3358. forestFireLoss: {
  3359. eventId: that.eventCode,
  3360. table1: that.table1,
  3361. },
  3362. fireInformation: {
  3363. eventId: that.eventCode,
  3364. table2: that.table2,
  3365. },
  3366. array: that.regionalFlagObj.array,
  3367. };
  3368. updateCentereventTEventcatalogueStatus(param).then((res) => {
  3369. if (res.code == 200) {
  3370. that.$message.success(`处理成功!`);
  3371. that.refreshEvent(that.eventCode);
  3372. that.cancelEventConfirm_send();
  3373. that.showEventConfirm_gd = false;
  3374. that.$emit("getEventList", that.calendarDay, 10, 1);
  3375. that.$emit("getSupermap", that.calendarDay);
  3376. } else if (res.code == 304) {
  3377. console.log(that.eventCode);
  3378. this.$message.warning(res.msg);
  3379. this.showEventDialog(that.eventCode);
  3380. //获取事件详情
  3381. }
  3382. });
  3383. } else if (eventStatus == "shtg") {
  3384. that.eventStatusButton = "sh";
  3385. if (that.eventDescription == "" || that.eventDescription == null) {
  3386. that.$message.error(`请填写审核意见!`);
  3387. return;
  3388. }
  3389. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  3390. that.$message.error(`请上传审核图片!`);
  3391. return;
  3392. }
  3393. //事件处理流程--审核通过
  3394. let param = {
  3395. id: that.eventId, //事件id
  3396. eventCode: that.eventCode, //事件编号
  3397. eventName: that.eventName, //事件名称
  3398. isExamine: 1, //通过传1,不通过传0
  3399. version: that.version,
  3400. eventDescription: that.eventDescription, //审核意见
  3401. attach: that.attachExamine,
  3402. };
  3403. eventExamine(param).then((res) => {
  3404. if (res.code == 200) {
  3405. that.$message.success(`处理成功!`);
  3406. that.refreshEvent(that.eventCode);
  3407. that.cancelEventConfirm_send();
  3408. that.showEventConfirm = false;
  3409. } else if (res.code == 304) {
  3410. console.log(that.eventCode);
  3411. this.$message.warning(res.msg);
  3412. this.showEventDialog(that.eventCode);
  3413. //获取事件详情
  3414. }
  3415. that.attachExamine = [];
  3416. that.uploadAttachList = [];
  3417. that.eventDescription = "";
  3418. });
  3419. } else if (eventStatus == "shbtg") {
  3420. that.eventStatusButton = "sh";
  3421. if (that.eventDescription == "" || that.eventDescription == null) {
  3422. that.$message.error(`请填写审核意见!`);
  3423. return;
  3424. }
  3425. if (that.attachExamine.length == 0 || that.attachExamine == null) {
  3426. that.$message.error(`请上传审核图片!`);
  3427. return;
  3428. }
  3429. //事件处理流程--审核不通过
  3430. let param = {
  3431. id: that.eventId, //事件id
  3432. eventCode: that.eventCode, //事件编号
  3433. eventName: that.eventName, //事件名称
  3434. isExamine: 0, //通过传1,不通过传0
  3435. version: that.version,
  3436. eventDescription: that.eventDescription, //审核意见
  3437. attach: that.attachExamine,
  3438. };
  3439. eventExamine(param).then((res) => {
  3440. if (res.code == 200) {
  3441. that.$message.success(`处理成功!`);
  3442. that.refreshEvent(that.eventCode);
  3443. that.cancelEventConfirm_send();
  3444. that.showEventConfirm = false;
  3445. } else if (res.code == 304) {
  3446. console.log(that.eventCode);
  3447. this.$message.warning(res.msg);
  3448. this.showEventDialog(that.eventCode);
  3449. //获取事件详情
  3450. }
  3451. that.attachExamine = [];
  3452. that.uploadAttachList = [];
  3453. that.eventDescription = "";
  3454. });
  3455. } else if (eventStatus == "cz") {
  3456. eventHandling(that.eventId, that.eventCode).then((res) => {
  3457. if (res.code == 200) {
  3458. that.$message.success(`处理成功!`);
  3459. that.refreshEvent(that.eventCode);
  3460. that.cancelEventConfirm_send();
  3461. that.showEventConfirm = false;
  3462. }
  3463. });
  3464. } else {
  3465. if (eventStatus == "qs") {
  3466. if (
  3467. that.sendDeptId == "" ||
  3468. that.sendDeptId == null ||
  3469. that.sendDeptName == "" ||
  3470. that.sendDeptName == null
  3471. ) {
  3472. that.$message.error(`请选择部门!`);
  3473. return;
  3474. }
  3475. if (eventStatus == "qs") {
  3476. if (that.sendEventType == "" || that.sendEventType == null) {
  3477. that.$message.error(`请选择事件类型!`);
  3478. return;
  3479. }
  3480. }
  3481. } else {
  3482. that.sendDeptId = that.deptId;
  3483. }
  3484. //事件处理流程
  3485. let param = {
  3486. phones: that.sendUserFegin,
  3487. eventCode: that.eventCode,
  3488. deptId: that.sendDeptId,
  3489. deptName: that.sendDeptName,
  3490. eventStatus: eventStatus,
  3491. eventType: that.sendEventType,
  3492. id: that.eventId,
  3493. czlx: "",
  3494. version: that.version,
  3495. cameraCode: that.cameraCode,
  3496. fireRadius: that.sendHuoZaiBanJing,
  3497. reserve: that.sendGuanLianYuAn,
  3498. address: that.address,
  3499. };
  3500. updateCentereventTEventcatalogueStatus(param).then((res) => {
  3501. if (res.code == 200) {
  3502. that.$message.success(`处理成功!`);
  3503. that.cancelEventConfirm_send();
  3504. that.showEventConfirm = false;
  3505. that.$emit("getEventList", that.calendarDay, 10, 1);
  3506. that.$emit("getSupermap", that.calendarDay);
  3507. if (eventStatus == "cf" || eventStatus == "wb") {
  3508. this.eventDialog = false;
  3509. return;
  3510. }
  3511. that.refreshEvent(that.eventCode);
  3512. } else if (res.code == 304) {
  3513. console.log(that.eventCode);
  3514. this.$message.warning(res.msg);
  3515. this.showEventDialog(that.eventCode);
  3516. //获取事件详情
  3517. }
  3518. });
  3519. }
  3520. }
  3521. },
  3522. filterNode(value, data) {
  3523. //树搜索
  3524. if (!value) return true;
  3525. return data.label.indexOf(value) !== -1;
  3526. },
  3527. sendEventLog() {
  3528. if (this.eventLog == "" || this.eventLog == null) {
  3529. return;
  3530. }
  3531. //日志发送
  3532. let param = {
  3533. eventCode: this.eventCode,
  3534. logContent: this.eventLog,
  3535. operation: "bus_oper_type_2",
  3536. operationType: "log_oper_type_1",
  3537. };
  3538. sendEventLog(param).then((res) => {
  3539. if (res.code == 200) {
  3540. this.$message.success(`发送成功!`);
  3541. this.eventLog = null;
  3542. this.refreshEventDialog(this.eventCode);
  3543. }
  3544. });
  3545. },
  3546. showEventLogUpload() {
  3547. this.$refs.eventLogUpload.eventLogUpload(this.eventCode);
  3548. },
  3549. cancelEventShow() {
  3550. this.mapToolShow=false
  3551. this.mapToolCheckItem = [];
  3552. this.mapToolCheckAll=false
  3553. this.mapToolShowBH=false,
  3554. this.statusFlag = null;
  3555. this.deptId = null;
  3556. console.log("关闭事件弹窗");
  3557. this.eventLogList = [];
  3558. this.mapToolShow = false;
  3559. },
  3560. showEventDialog(eventCode) {
  3561. this.mapToolShow=false
  3562. this.mapToolCheckItem = [];
  3563. this.mapToolCheckAll=false
  3564. this.mapToolShowBH=false,
  3565. this.fireControlViewList();
  3566. this.eventCode = eventCode;
  3567. let that = this;
  3568. //获取事件详情
  3569. getEventDetail({
  3570. eventCode: eventCode,
  3571. }).then((res) => {
  3572. let markersMapList = [];
  3573. that.eventDialog = true;
  3574. that.eventLogList = res.data.eventlog; //日志列表
  3575. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  3576. that.address = res.data.catalogue.address;
  3577. that.eventStatusValue = res.data.catalogue.eventStatusValue;
  3578. that.eventType = res.data.catalogue.eventType;
  3579. that.statusFlag = res.data.catalogue.statusFlag;
  3580. that.dataStatus = res.data.catalogue.dataStatus;
  3581. that.deptId = res.data.catalogue.deptId;
  3582. that.eventId = res.data.catalogue.id;
  3583. that.longitude = res.data.catalogue.longitude;
  3584. that.latitude = res.data.catalogue.latitude;
  3585. that.eventName = res.data.catalogue.eventName;
  3586. that.version = res.data.catalogue.version;
  3587. that.eventTypeXl = res.data.catalogue.eventTypeXl;
  3588. that.isExamine = res.data.catalogue.isExamine;
  3589. let markersMap = {
  3590. lng: 124.59,
  3591. lat: 43.02,
  3592. icon: "marker",
  3593. bindPopupHtml: "",
  3594. click: "",
  3595. parameter: "",
  3596. keepBindPopup: false,
  3597. isAggregation: true,
  3598. radius: 0,
  3599. };
  3600. if (
  3601. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3602. res.data.catalogue.urgeCount == 0
  3603. ) {
  3604. markersMap.icon = "sj-icon-map-xinshangbao";
  3605. }
  3606. if (
  3607. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3608. res.data.catalogue.urgeCount > 0
  3609. ) {
  3610. markersMap.icon = "sj-icon-map-cuiban";
  3611. } else if (
  3612. res.data.catalogue.eventStatusValue == "forest_event_status_2"
  3613. ) {
  3614. markersMap.icon = "sj-icon-map-qianshou";
  3615. } else if (
  3616. res.data.catalogue.eventStatusValue == "forest_event_status_5"
  3617. ) {
  3618. markersMap.icon = "sj-icon-map-banjie";
  3619. } else if (
  3620. res.data.catalogue.eventStatusValue == "forest_event_status_6"
  3621. ) {
  3622. markersMap.icon = "sj-icon-map-guidang";
  3623. } else if (
  3624. res.data.catalogue.eventStatusValue == "forest_event_status_7"
  3625. ) {
  3626. markersMap.icon = "sj-icon-map-queren";
  3627. }
  3628. markersMap.lng = res.data.catalogue.longitude;
  3629. markersMap.lat = res.data.catalogue.latitude;
  3630. if (
  3631. res.data.eventdetail != null &&
  3632. res.data.eventdetail.length > 0 &&
  3633. res.data.eventdetail[0].fireRadius != null &&
  3634. res.data.eventdetail[0].fireRadius != "" &&
  3635. res.data.eventdetail[0].fireRadius > 0
  3636. ) {
  3637. markersMap.radius = res.data.eventdetail[0].fireRadius;
  3638. }
  3639. markersMapList.push(markersMap);
  3640. if (res.data.centermonitorTCamera != null) {
  3641. that.cameraCode = res.data.centermonitorTCamera.id;
  3642. let markersMap = {
  3643. lng: 124.59,
  3644. lat: 43.02,
  3645. icon: "camera",
  3646. bindPopupHtml: "",
  3647. click: "preview",
  3648. parameter: {
  3649. code: res.data.centermonitorTCamera.cameraCode,
  3650. type: res.data.centermonitorTCamera.cameraFactory,
  3651. name: res.data.centermonitorTCamera.cameraName,
  3652. },
  3653. keepBindPopup: false,
  3654. isAggregation: true,
  3655. radius: 0,
  3656. };
  3657. markersMap.bindPopupHtml =
  3658. '<div class="map-tip">' +
  3659. "<span>" +
  3660. ' <div class="d-l-con">' +
  3661. ' <div class="d-l-l-text">' +
  3662. " <h4>摄像头名称:" +
  3663. res.data.centermonitorTCamera.cameraName +
  3664. "</h4>" +
  3665. " </div>" +
  3666. " </div>" +
  3667. " </span>" +
  3668. "<span>" +
  3669. "</div>";
  3670. markersMap.lng = res.data.centermonitorTCamera.longitude;
  3671. markersMap.lat = res.data.centermonitorTCamera.latitude;
  3672. markersMapList.push(markersMap);
  3673. }
  3674. setTimeout(() => {
  3675. that.$refs.supermapDialog.dynamicPlotting(); //弹出动态绘制窗口,防止截图位置改变
  3676. that.$refs.supermapDialog.dropLocation10(
  3677. res.data.catalogue.latitude,
  3678. res.data.catalogue.longitude
  3679. );
  3680. that.$refs.supermapDialog.clearM(false);
  3681. that.$refs.supermapDialog.clearM(true);
  3682. that.$refs.supermapDialog.setMarkersRadius(markersMapList);
  3683. }, 2000);
  3684. });
  3685. },
  3686. refreshEvent(eventCode) {
  3687. this.eventCode = eventCode;
  3688. let that = this;
  3689. //刷新--事件详情
  3690. getEventDetail({
  3691. eventCode: eventCode,
  3692. }).then((res) => {
  3693. let markersMapList = [];
  3694. that.eventDialog = true;
  3695. that.eventLogList = res.data.eventlog;
  3696. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  3697. that.address = res.data.catalogue.address;
  3698. that.eventStatusValue = res.data.catalogue.eventStatusValue;
  3699. that.eventType = res.data.catalogue.eventType;
  3700. that.statusFlag = res.data.catalogue.statusFlag;
  3701. that.dataStatus = res.data.catalogue.dataStatus;
  3702. that.deptId = res.data.catalogue.deptId;
  3703. that.eventId = res.data.catalogue.id;
  3704. that.latitude = res.data.catalogue.latitude;
  3705. that.longitude = res.data.catalogue.longitude;
  3706. that.eventName = res.data.catalogue.eventName;
  3707. that.version = res.data.catalogue.version;
  3708. that.eventTypeXl = res.data.catalogue.eventTypeXl;
  3709. that.isExamine = res.data.catalogue.isExamine;
  3710. let markersMap = {
  3711. lng: 124.59,
  3712. lat: 43.02,
  3713. icon: "marker",
  3714. bindPopupHtml: "",
  3715. click: "",
  3716. parameter: "",
  3717. keepBindPopup: false,
  3718. isAggregation: true,
  3719. radius: 0,
  3720. };
  3721. if (
  3722. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3723. res.data.catalogue.urgeCount == 0
  3724. ) {
  3725. markersMap.icon = "sj-icon-map-xinshangbao";
  3726. }
  3727. if (
  3728. res.data.catalogue.eventStatusValue == "forest_event_status_1" &&
  3729. res.data.catalogue.urgeCount > 0
  3730. ) {
  3731. markersMap.icon = "sj-icon-map-cuiban";
  3732. } else if (
  3733. res.data.catalogue.eventStatusValue == "forest_event_status_2"
  3734. ) {
  3735. markersMap.icon = "sj-icon-map-qianshou";
  3736. } else if (
  3737. res.data.catalogue.eventStatusValue == "forest_event_status_5"
  3738. ) {
  3739. markersMap.icon = "sj-icon-map-banjie";
  3740. } else if (
  3741. res.data.catalogue.eventStatusValue == "forest_event_status_6"
  3742. ) {
  3743. markersMap.icon = "sj-icon-map-guidang";
  3744. } else if (
  3745. res.data.catalogue.eventStatusValue == "forest_event_status_7"
  3746. ) {
  3747. markersMap.icon = "sj-icon-map-queren";
  3748. }
  3749. markersMap.lng = res.data.catalogue.longitude;
  3750. markersMap.lat = res.data.catalogue.latitude;
  3751. if (
  3752. res.data.eventdetail != null &&
  3753. res.data.eventdetail.length > 0 &&
  3754. res.data.eventdetail[0].fireRadius != null &&
  3755. res.data.eventdetail[0].fireRadius != "" &&
  3756. res.data.eventdetail[0].fireRadius > 0
  3757. ) {
  3758. markersMap.radius = res.data.eventdetail[0].fireRadius;
  3759. }
  3760. markersMapList.push(markersMap);
  3761. if (res.data.centermonitorTCamera != null) {
  3762. let markersMap = {
  3763. lng: 124.59,
  3764. lat: 43.02,
  3765. icon: "camera",
  3766. bindPopupHtml: "",
  3767. click: "preview",
  3768. parameter: {
  3769. code: res.data.centermonitorTCamera.cameraCode,
  3770. type: res.data.centermonitorTCamera.cameraFactory,
  3771. name: res.data.centermonitorTCamera.cameraName,
  3772. },
  3773. keepBindPopup: false,
  3774. isAggregation: true,
  3775. radius: 0,
  3776. };
  3777. markersMap.bindPopupHtml =
  3778. '<div class="map-tip">' +
  3779. "<span>" +
  3780. ' <div class="d-l-con">' +
  3781. ' <div class="d-l-l-text">' +
  3782. " <h4>摄像头名称:" +
  3783. res.data.centermonitorTCamera.cameraName +
  3784. "</h4>" +
  3785. " </div>" +
  3786. " </div>" +
  3787. " </span>" +
  3788. "<span>" +
  3789. "</div>";
  3790. markersMap.lng = res.data.centermonitorTCamera.longitude;
  3791. markersMap.lat = res.data.centermonitorTCamera.latitude;
  3792. markersMapList.push(markersMap);
  3793. }
  3794. setTimeout(() => {
  3795. that.$refs.supermapDialog.clearM(false);
  3796. that.$refs.supermapDialog.clearM(true);
  3797. that.$refs.supermapDialog.setMarkersRadius(markersMapList);
  3798. that.$refs.supermapDialog.dropLocation10(
  3799. res.data.catalogue.latitude,
  3800. res.data.catalogue.longitude
  3801. );
  3802. }, 2000);
  3803. });
  3804. },
  3805. refreshEventDialog(eventCode) {
  3806. //刷新--事件日志12
  3807. getEventDetail({
  3808. eventCode: eventCode,
  3809. }).then((res) => {
  3810. this.eventLogList = res.data.eventlog;
  3811. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo; //应急预案
  3812. });
  3813. },
  3814. // 页面元素转图片
  3815. toImage() {
  3816. this.$message.success(`正在上传!请稍后...`);
  3817. // 手动创建一个 canvas 标签
  3818. debugger
  3819. const canvas = document.createElement("canvas");
  3820. // 获取父标签,意思是这个标签内的 DOM 元素生成图片
  3821. // imageTofile是给截图范围内的父级元素自定义的ref名称
  3822. // let canvasBox = this.$refs.imageTofile
  3823. let canvasBox = document.getElementById("forestWarmSuperMap");
  3824. // let toolbar = document.getElementById("toolbar");
  3825. // if (toolbar != null) {
  3826. // canvasBox.removeChild(toolbar);
  3827. // }
  3828. // 获取父级的宽高
  3829. const width = parseInt(window.getComputedStyle(canvasBox).width);
  3830. const height = parseInt(window.getComputedStyle(canvasBox).height);
  3831. // 宽高 * 2 并放大 2 倍 是为了防止图片模糊
  3832. canvas.width = width * 2;
  3833. canvas.height = height * 2;
  3834. canvas.style.width = width + "px";
  3835. canvas.style.height = height + "px";
  3836. const context = canvas.getContext("2d");
  3837. context.scale(2, 2);
  3838. const options = {
  3839. backgroundColor: null,
  3840. canvas: canvas,
  3841. useCORS: true,
  3842. };
  3843. html2canvas(canvasBox, options).then((canvas) => {
  3844. // toDataURL 图片格式转成 base64
  3845. let dataBase64 = canvas.toDataURL("image/png");
  3846. this.uploadBase64(dataBase64);
  3847. });
  3848. // canvasBox.appendChild(toolbar);
  3849. },
  3850. uploadBase64(dataBase64) {
  3851. //事件详情截图直接上传日志
  3852. uploadBase64({
  3853. eventCode: this.eventCode,
  3854. base64: dataBase64,
  3855. }).then((res) => {
  3856. if (res.code == 200) {
  3857. this.$message.success(`截图上传成功!`);
  3858. this.refreshEventDialog(this.eventCode);
  3859. }
  3860. });
  3861. },
  3862. regionalFlagAdd: function () {
  3863. //火灾区域
  3864. this.regionalFlagObj.array = [];
  3865. this.regionalFlagOpen = true;
  3866. },
  3867. showAreaLatLng: function (latlng) {
  3868. //获取火灾区域经纬度
  3869. this.regionalFlagObj.array = latlng;
  3870. this.$modal.msgSuccess("获取坐标成功!");
  3871. },
  3872. /** ----------------------------------摄像头预览开始------------------------------------- */
  3873. alertLogin: function () {
  3874. this.$modal.msg("登录中....");
  3875. },
  3876. alertLoginSuccess: function () {
  3877. this.$modal.msgSuccess("登录成功!");
  3878. },
  3879. alertLoginFailed: function () {
  3880. this.$modal.msgError("登陆失败!");
  3881. },
  3882. alertReinstall: function () {
  3883. this.$modal.msgWarning("请重新安装客户端");
  3884. },
  3885. cancelEventLocationShow() {
  3886. if (this.oWebControl != null) {
  3887. this.oWebControl.JS_HideWnd(); // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  3888. this.oWebControl.JS_Disconnect().then(
  3889. function () {
  3890. // 断开与插件服务连接成功
  3891. },
  3892. function () {
  3893. // 断开与插件服务连接失败
  3894. }
  3895. );
  3896. }
  3897. },
  3898. /** 预览按钮操作 */
  3899. preview(cameraParam) {
  3900. if (cameraParam.type == "1") {
  3901. this.showTVWall(cameraParam.code, cameraParam.name);
  3902. // getDahuaVideoServer().then(newResponse => {
  3903. // console.log(newResponse)
  3904. // this.ws.detectConnectQt().then(res => {
  3905. // if (res) { // 连接客户端成功
  3906. // this.alertLogin()
  3907. // this.ws.login({
  3908. // loginIp: newResponse.loginIp,
  3909. // loginPort: newResponse.loginPort,
  3910. // userName: newResponse.userName,
  3911. // userPwd: newResponse.userPwd,
  3912. // token: '',
  3913. // https: 1
  3914. // })
  3915. // this.ws.on('loginState', (res) => {
  3916. // this.isLogin = res
  3917. // console.log('---res-----', res)
  3918. // if (res) {
  3919. // this.alertLoginSuccess()
  3920. // this.activePanel = 'key2'
  3921. // this.realTimeVideoDialog(cameraParam.code)
  3922. // } else {
  3923. // this.alertLoginFailed()
  3924. // }
  3925. // })
  3926. // } else { // 连接客户端失败
  3927. // this.alertReinstall()
  3928. // }
  3929. // })
  3930. // })
  3931. } else if (cameraParam.type == "0") {
  3932. let that = this;
  3933. that.cameraVisible = true;
  3934. getHaiKangVideoServer({
  3935. cameraCode: cameraParam.code,
  3936. }).then((newResponse) => {
  3937. that.cameraTitle = "摄像头-" + newResponse.data.cameraName;
  3938. that.initPlugin(
  3939. newResponse.data.appkey,
  3940. newResponse.data.loginIp,
  3941. newResponse.data.secret,
  3942. newResponse.data.loginPort
  3943. );
  3944. setTimeout(function () {
  3945. that.playhk(newResponse.data.channelCode);
  3946. }, 5000);
  3947. });
  3948. }
  3949. },
  3950. realTimeVideoDialog(cameraParams) {
  3951. // 调用弹窗实时播放接口
  3952. if (!this.isLogin) {
  3953. this.$Message.info("正在登陆客户端,请稍等......");
  3954. return false;
  3955. }
  3956. const param = [cameraParams];
  3957. this.ws.openVideo(param);
  3958. },
  3959. /** ----------------------------------摄像头预览结束------------------------------------- */
  3960. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  3961. // 创建播放实例
  3962. initPlugin(newappkey, newloginIp, newsecret, newloginPort) {
  3963. let that = this;
  3964. that.oWebControl = new WebControl({
  3965. szPluginContainer: "playWnd", // 指定容器id
  3966. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  3967. iServicePortEnd: 15909,
  3968. szClassId: "23BF3B0A-2C56-4D97-9C03-0CB103AA8F11", // 用于IE10使用ActiveX的clsid
  3969. cbConnectSuccess: function () {
  3970. // 创建WebControl实例成功
  3971. that.oWebControl
  3972. .JS_StartService("window", {
  3973. // WebControl实例创建成功后需要启动服务
  3974. dllPath: "./VideoPluginConnect.dll", // 值"./VideoPluginConnect.dll"写死
  3975. })
  3976. .then(
  3977. function () {
  3978. // 启动插件服务成功
  3979. that.oWebControl.JS_SetWindowControlCallback({
  3980. // 设置消息回调
  3981. cbIntegrationCallBack: cbIntegrationCallBack,
  3982. });
  3983. that.oWebControl
  3984. .JS_CreateWnd("playWnd", 1020, 600)
  3985. .then(function () {
  3986. //JS_CreateWnd创建视频播放窗口,宽高可设定
  3987. that.init(newappkey, newloginIp, newsecret, newloginPort); // 创建播放实例成功后初始化
  3988. });
  3989. },
  3990. function () {
  3991. // 启动插件服务失败
  3992. }
  3993. );
  3994. },
  3995. cbConnectError: function () {
  3996. // 创建WebControl实例失败
  3997. that.oWebControl = null;
  3998. $("#playWnd").html(
  3999. '插件未启动,正在尝试启动,请稍候...<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>'
  4000. );
  4001. WebControl.JS_WakeUp("VideoWebPlugin://"); // 程序未启动时执行error函数,采用wakeup来启动程序
  4002. that.initCount++;
  4003. if (that.initCount < 3) {
  4004. setTimeout(function () {
  4005. that.initPlugin(newappkey, newloginIp, newsecret, newloginPort);
  4006. }, 3000);
  4007. } else {
  4008. $("#playWnd").html(
  4009. '插件启动失败,请检查插件是否安装!<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>'
  4010. );
  4011. }
  4012. },
  4013. cbConnectClose: function (bNormalClose) {
  4014. // 异常断开:bNormalClose = false
  4015. // JS_Disconnect正常断开:bNormalClose = true
  4016. that.oWebControl = null;
  4017. },
  4018. });
  4019. },
  4020. //播放海康摄像头
  4021. playhk(channelCode) {
  4022. var cameraIndexCode = channelCode; //获取输入的监控点编号值,必填
  4023. var streamMode = 0; //主子码流标识:0-主码流,1-子码流
  4024. var transMode = 1; //传输协议:0-UDP,1-TCP
  4025. var gpuMode = 0; //是否启用GPU硬解,0-不启用,1-启用
  4026. var wndId = -1; //播放窗口序号(在2x2以上布局下可指定播放窗口)
  4027. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, "");
  4028. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, "");
  4029. this.oWebControl.JS_RequestInterface({
  4030. funcName: "startPreview",
  4031. argument: JSON.stringify({
  4032. cameraIndexCode: cameraIndexCode, //监控点编号
  4033. streamMode: streamMode, //主子码流标识
  4034. transMode: transMode, //传输协议
  4035. gpuMode: gpuMode, //是否开启GPU硬解
  4036. wndId: wndId, //可指定播放窗口
  4037. }),
  4038. });
  4039. },
  4040. //初始化
  4041. init(newappkey, newloginIp, newsecret, newloginPort) {
  4042. let that = this;
  4043. that.getPubKey(function () {
  4044. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  4045. var appkey = newappkey; //综合安防管理平台提供的appkey,必填
  4046. var secret = that.setEncrypt(newsecret); //综合安防管理平台提供的secret,必填
  4047. var ip = newloginIp; //综合安防管理平台IP地址,必填
  4048. var playMode = 0; //初始播放模式:0-预览,1-回放
  4049. var port = Number(newloginPort); //综合安防管理平台端口,若启用HTTPS协议,默认443
  4050. var snapDir = "D:\\SnapDir"; //抓图存储路径
  4051. var videoDir = "D:\\VideoDir"; //紧急录像或录像剪辑存储路径
  4052. var layout = "1x1"; //playMode指定模式的布局
  4053. var enableHTTPS = 1; //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  4054. var encryptedFields = "secret"; //加密字段,默认加密领域为secret
  4055. var showToolbar = 1; //是否显示工具栏,0-不显示,非0-显示
  4056. var showSmart = 1; //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  4057. var buttonIDs =
  4058. "0,16,256,257,258,259,260,512,513,514,515,516,517,768,769"; //自定义工具条按钮
  4059. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  4060. that.oWebControl
  4061. .JS_RequestInterface({
  4062. funcName: "init",
  4063. argument: JSON.stringify({
  4064. appkey: appkey, //API网关提供的appkey
  4065. secret: secret, //API网关提供的secret
  4066. ip: ip, //API网关IP地址
  4067. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  4068. port: port, //端口
  4069. snapDir: snapDir, //抓图存储路径
  4070. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  4071. layout: layout, //布局
  4072. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  4073. encryptedFields: encryptedFields, //加密字段
  4074. showToolbar: showToolbar, //是否显示工具栏
  4075. showSmart: showSmart, //是否显示智能信息
  4076. buttonIDs: buttonIDs, //自定义工具条按钮
  4077. }),
  4078. })
  4079. .then(function (oData) {
  4080. that.oWebControl.JS_Resize(1020, 600); // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  4081. });
  4082. });
  4083. },
  4084. //获取公钥
  4085. getPubKey(callback) {
  4086. let that = this;
  4087. that.oWebControl
  4088. .JS_RequestInterface({
  4089. funcName: "getRSAPubKey",
  4090. argument: JSON.stringify({
  4091. keyLength: 1024,
  4092. }),
  4093. })
  4094. .then(function (oData) {
  4095. console.log(oData);
  4096. if (oData.responseMsg.data) {
  4097. that.pubKey = oData.responseMsg.data;
  4098. callback();
  4099. }
  4100. });
  4101. },
  4102. //RSA加密
  4103. setEncrypt(value) {
  4104. var encrypt = new JSEncrypt();
  4105. encrypt.setPublicKey(this.pubKey);
  4106. return encrypt.encrypt(value);
  4107. },
  4108. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  4109. /** ----------------------------------视频会议开始------------------------------------- */
  4110. sendMsg() {
  4111. // 视频会议发送短信
  4112. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  4113. let reg_tel =
  4114. /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; //11位手机号码正则
  4115. for (let i in this.dutysystemTableData) {
  4116. if (!reg_user.test(this.dutysystemTableData[i].name)) {
  4117. this.$message.error(`请输入正确姓名!`);
  4118. return;
  4119. }
  4120. if (!reg_tel.test(this.dutysystemTableData[i].telphone)) {
  4121. this.$message.error(`请输入正确手机号码!`);
  4122. return;
  4123. }
  4124. if (
  4125. this.dutysystemTableData[i].id == null ||
  4126. this.dutysystemTableData[i].id == ""
  4127. ) {
  4128. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  4129. this.dutysystemTableData[i].depteventId = this.depteventId;
  4130. }
  4131. }
  4132. const param = {
  4133. centereventTDutySystemList: this.dutysystemTableData,
  4134. eventCode: this.eventCode,
  4135. eventName: this.eventName,
  4136. eventId: this.eventId,
  4137. };
  4138. this.joinMeeting(param);
  4139. },
  4140. joinMeeting(param) {
  4141. this.$message({
  4142. message: "正在启动云会议客户端,请稍候...",
  4143. type: "success",
  4144. });
  4145. joinConferences(
  4146. this.eventId,
  4147. this.eventName + "的会议",
  4148. Cookies.get("nickName")
  4149. ).then((res) => {
  4150. if (res.code == 200) {
  4151. let conferenceID = res.data.info.conferenceID;
  4152. let password = res.data.info.password;
  4153. let nickName = res.data.nickName;
  4154. let nonce = res.data.nonce;
  4155. window.open(
  4156. "cloudlink://welinksoftclient/h5page?page=LoginAndJoinConf&server_url=meeting.huaweicloud.com&port=8443&conf_id=" +
  4157. conferenceID +
  4158. "&enter_code=" +
  4159. password +
  4160. "&name=" +
  4161. nickName +
  4162. "&open_mic=true&open_camera=false&nonce=" +
  4163. nonce
  4164. );
  4165. sendMessage(param).then((res) => {
  4166. //this.$message.success(res.msg);
  4167. this.dutysystemSelect(
  4168. this.iconCurrentIndex,
  4169. this.dutysystemDeptName,
  4170. this.depteventId
  4171. );
  4172. this.showMeetingMsgDialog = false;
  4173. });
  4174. }
  4175. });
  4176. },
  4177. Meeting() {
  4178. //弹出发送会议短信弹窗
  4179. let that = this;
  4180. that.$alert(
  4181. "如您已经安装请点击【确定】,如未安装可<a style='text-decoration:underline;color:blue;' href='http://172.18.1.37:15001/CLOUDMeeting_Win.exe'>点击此处</a>进行下载",
  4182. "该功能需要使用云会议客户端",
  4183. {
  4184. confirmButtonText: "确定",
  4185. dangerouslyUseHTMLString: true,
  4186. callback: (action) => {
  4187. let param = {
  4188. eventCode: that.eventCode,
  4189. };
  4190. centereventtdepteventList(param).then((res) => {
  4191. that.depteventList = res.data;
  4192. that.showMeetingMsgDialog = true;
  4193. });
  4194. },
  4195. }
  4196. );
  4197. },
  4198. /** ----------------------------------视频会议结束------------------------------------- */
  4199. },
  4200. };
  4201. // 推送消息
  4202. function cbIntegrationCallBack(oData) {
  4203. console.log(JSON.stringify(oData.responseMsg));
  4204. }
  4205. </script>
  4206. <style lang="scss">
  4207. .sj-map-tool-checkbox-all {
  4208. display: flex;
  4209. align-items: center;
  4210. margin-right: 1rem !important;
  4211. .el-checkbox__input {
  4212. line-height: 0;
  4213. }
  4214. .el-checkbox__label {
  4215. font-size: 14px;
  4216. color: white;
  4217. padding-left: 5px;
  4218. }
  4219. .el-checkbox__input.is-checked + .el-checkbox__label {
  4220. color: #01d1eb;
  4221. }
  4222. }
  4223. .sj-map-tool-checkbox {
  4224. display: flex;
  4225. .el-checkbox {
  4226. margin-right: 1rem;
  4227. display: flex;
  4228. align-items: center;
  4229. .el-checkbox__input {
  4230. line-height: 0;
  4231. }
  4232. }
  4233. .el-checkbox__label {
  4234. font-size: 14px;
  4235. color: white;
  4236. padding-left: 5px;
  4237. }
  4238. .el-checkbox__input.is-checked + .el-checkbox__label {
  4239. color: #01d1eb;
  4240. }
  4241. }
  4242. </style>
  4243. <style lang="scss" scoped>
  4244. @import "@/assets/styles/base.scss";
  4245. //弹层样式
  4246. //.customWidthMp4 {
  4247. // width: 70px !important;
  4248. // height: 70px !important;
  4249. //}
  4250. .tree-border {
  4251. border: 1px $barBorder;
  4252. }
  4253. button {
  4254. padding: 0.5rem;
  4255. }
  4256. /** 火灾报告**/
  4257. //@font-face {
  4258. // font-family: 'fontnameRegular';
  4259. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  4260. //}
  4261. body,
  4262. html,
  4263. * {
  4264. padding: 0px;
  4265. margin: 0px;
  4266. font-family: "fontnameRegular";
  4267. }
  4268. .table-container {
  4269. width: 100%;
  4270. }
  4271. .txt_right {
  4272. text-align: right !important;
  4273. }
  4274. .txt_left {
  4275. text-align: left !important;
  4276. }
  4277. table {
  4278. border-spacing: 0;
  4279. border-collapse: collapse;
  4280. width: 99%;
  4281. margin: 0 auto;
  4282. color: $inBlue;
  4283. }
  4284. table input {
  4285. font-size: 1rem;
  4286. border: 0px;
  4287. outline: 0px;
  4288. font-family: "微软雅黑";
  4289. background: none;
  4290. color: $inBlue;
  4291. }
  4292. table th input:hover {
  4293. background: $eventBG;
  4294. }
  4295. table thead th {
  4296. font-size: 1rem;
  4297. font-family: "宋体";
  4298. height: 2rem;
  4299. border-top: 0px;
  4300. border-left: 0px;
  4301. border-right: 0px;
  4302. outline: 0px;
  4303. }
  4304. table tr td {
  4305. font-size: 1rem;
  4306. font-family: "fontnameRegular";
  4307. height: 2rem;
  4308. border: 1px $searchBorder;
  4309. text-align: center;
  4310. }
  4311. .font1 {
  4312. font-size: 1.7rem;
  4313. font-weight: bolder;
  4314. }
  4315. .border0 {
  4316. width: 100% !important;
  4317. }
  4318. .border0 tr td {
  4319. border: 0px !important;
  4320. }
  4321. table tr td input {
  4322. width: 100%;
  4323. /* display: inline-block;*/
  4324. outline: 0px;
  4325. text-align: left;
  4326. height: 94%;
  4327. color: $inBlue;
  4328. background: none;
  4329. float: left;
  4330. padding: 0 0.5rem;
  4331. }
  4332. table tr td input:hover {
  4333. background: $eventBG;
  4334. }
  4335. .int_tr td input {
  4336. text-align: center !important;
  4337. }
  4338. .table2 tr th {
  4339. font-size: 1.7rem;
  4340. padding: 0.5rem 0;
  4341. font-family: "fontnameRegular";
  4342. }
  4343. .table2 tr td {
  4344. font-size: 1rem;
  4345. }
  4346. .table2 tr td select {
  4347. border: 0px !important;
  4348. outline: 0px;
  4349. width: 100%;
  4350. font-family: "微软雅黑";
  4351. font-size: 1rem;
  4352. padding-left: 1%;
  4353. color: $inBlue;
  4354. background: none;
  4355. }
  4356. .table2 tr td select:hover {
  4357. background: $eventBG;
  4358. }
  4359. .table2 tr td select option {
  4360. font-size: 1rem;
  4361. font-family: "微软雅黑";
  4362. }
  4363. .border_l0 {
  4364. // border-right: 1px solid #ececec !important;
  4365. }
  4366. .table2 tr td textarea {
  4367. border: 0px !important;
  4368. outline: 0px;
  4369. width: 98%;
  4370. padding: 0.5rem;
  4371. font-size: 1rem;
  4372. resize: none;
  4373. background: none;
  4374. color: $inBlue;
  4375. }
  4376. .table2 tr td textarea:hover {
  4377. background: $eventBG;
  4378. }
  4379. .tr_border td {
  4380. border-right: 0px !important;
  4381. border-left: 0px !important;
  4382. border-bottom: 0px !important;
  4383. font-size: 15px;
  4384. }
  4385. .btm-btn-group {
  4386. padding: 1rem 0;
  4387. width: 100%;
  4388. display: flex;
  4389. button {
  4390. padding: 0.5rem 2rem;
  4391. }
  4392. }
  4393. .sj-map-tool-select {
  4394. position: absolute;
  4395. right: 1rem;
  4396. top: 1rem;
  4397. z-index: 1000;
  4398. display: flex;
  4399. height: 30px;
  4400. align-items: center;
  4401. }
  4402. .sj-map-tool-select-list {
  4403. position: relative;
  4404. padding: 0.3rem 1rem;
  4405. border-radius: 1rem;
  4406. background-color: #fff;
  4407. z-index: 1000;
  4408. background-image: linear-gradient(
  4409. 180deg,
  4410. rgba(18, 71, 153, 1),
  4411. rgba(4, 21, 30, 1)
  4412. );
  4413. box-shadow: 0 -0.2rem 0.5rem 0.3rem rgba(13, 192, 219, 0.09) inset;
  4414. display: flex;
  4415. align-items: center;
  4416. }
  4417. // 20220928
  4418. .yatz_button {
  4419. padding: 0.5rem 0.5rem;
  4420. color: #409eff;
  4421. background: none;
  4422. border-color: #409eff;
  4423. }
  4424. .yatz_button:hover {
  4425. color: #fff;
  4426. background: #409eff;
  4427. border-color: #409eff;
  4428. }
  4429. .fr_button {
  4430. float: right;
  4431. padding: 0.5rem 1.5rem;
  4432. }
  4433. .bottom {
  4434. width: 100%;
  4435. height: calc(100% - 80px);
  4436. display: flex;
  4437. .bottomLeft {
  4438. width: 288px;
  4439. height: 500px;
  4440. overflow-y: auto;
  4441. .leftItem {
  4442. width: 100%;
  4443. height: 50px;
  4444. line-height: 50px;
  4445. text-align: center;
  4446. cursor: pointer;
  4447. }
  4448. }
  4449. .bottomRight {
  4450. width: calc(100% - 288px);
  4451. height: 500px;
  4452. box-sizing: border-box;
  4453. padding: 36px 36px 0 36px;
  4454. overflow-y: auto;
  4455. .bottomRightContent {
  4456. width: 100%;
  4457. box-sizing: border-box;
  4458. padding-bottom: 36px;
  4459. .bottomRightContentHead {
  4460. height: 25px;
  4461. font-family: PingFang SC;
  4462. font-style: normal;
  4463. font-weight: 600;
  4464. font-size: 24px;
  4465. line-height: 25px;
  4466. text-transform: capitalize;
  4467. color: rgba(0, 0, 0, 0.85);
  4468. margin-bottom: 32px;
  4469. }
  4470. .bottomRightContentBody {
  4471. .el-col {
  4472. position: relative;
  4473. margin-bottom: 18px;
  4474. .circle {
  4475. display: inline-block;
  4476. width: 6px;
  4477. height: 6px;
  4478. background: #4677f6;
  4479. border-radius: 50%;
  4480. position: absolute;
  4481. top: 8px;
  4482. left: 0;
  4483. }
  4484. .word {
  4485. margin-left: 12px;
  4486. font-family: PingFang SC;
  4487. font-style: normal;
  4488. font-weight: normal;
  4489. font-size: 14px;
  4490. color: #4677f6;
  4491. cursor: pointer;
  4492. }
  4493. .word:hover {
  4494. text-decoration: underline;
  4495. }
  4496. .topPlace {
  4497. position: absolute;
  4498. top: 1px;
  4499. margin-left: 8px;
  4500. }
  4501. }
  4502. }
  4503. .bottomRightContentFooter {
  4504. height: 1px;
  4505. width: 100%;
  4506. margin-top: 14px;
  4507. }
  4508. }
  4509. }
  4510. }
  4511. </style>