eventdetailsdialog.vue 115 KB

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