firespread.vue 163 KB

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