eventdetailsdialog.vue 117 KB

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