eventdetailsdialog.vue 117 KB

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