eventdetailsdialog.vue 113 KB

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