eventdetailsdialog.vue 115 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796
  1. <template>
  2. <div class="visual-con">
  3. <!--头部-->
  4. <vheader></vheader>
  5. <!--主体-->
  6. <div class="visual-body">
  7. <button @click="showEventDialog"
  8. style="position: absolute; left:50%;top: 50vh; transform: translateX(-50%);">触发事件详情
  9. </button>
  10. <!-- 弹层 -->
  11. <el-dialog title="事件详情" :visible.sync="eventDialog" customClass="customWidth" v-if="eventDialog"
  12. @close="cancelEventShow()">
  13. <div class="dia-event-info">
  14. <el-row>
  15. <!-- 左侧 -->
  16. <el-col :span="18" class="dia-left">
  17. <div ref="imageTofile" style="height: 75vh;">
  18. <!-- 应急预案 -->
  19. <div class="dia-left-top">
  20. <div class="dia-left-top-tit">应急预案</div>
  21. <div class="dia-left-top-carousel">
  22. <el-carousel height="30px" direction="vertical" :interval="2000">
  23. <el-carousel-item v-if="visuForestCloudYuAnBo!=null">
  24. <a :href="visuForestCloudYuAnBo.fileUrl">{{ visuForestCloudYuAnBo.reserveName }}</a>
  25. </el-carousel-item>
  26. <el-carousel-item v-else>
  27. <a href="#">暂未关联预案</a>
  28. </el-carousel-item>
  29. </el-carousel>
  30. </div>
  31. <el-button size="mini" type="primary" class="yatz_button" @click="showUpdateYjYuAn">预案调整
  32. </el-button>
  33. </div>
  34. <!-- 应急预案end -->
  35. <!-- 左侧资源 -->
  36. <div class="leftbar" style="width:fit-content !important;bottom:0rem;left: 1rem; top: unset;">
  37. <div class="forthis">
  38. <dv-border-box-7 backgroundColor="#040b1f" :color="['#25335d', '#5baffd']">
  39. <div class="i-list-con">
  40. <div class="d-l-con-icon" style="flex-direction:row;flex-wrap: nowrap;">
  41. <div class="icon-con" style="width: fit-content !important;"
  42. v-for="(item,index) in resourcesList" @click="listResourceByWz(item.type)">
  43. <div class="iconfont icon icon-normal" :class="item.icon"></div>
  44. <div class="icon-text">
  45. <h5>{{ item.resourceName }}</h5>
  46. </div>
  47. </div>
  48. <el-input type="number" v-model="radius" style="width: 80px;" placeholder="请输入搜索半径"/>
  49. </div>
  50. </div>
  51. </dv-border-box-7>
  52. </div>
  53. </div>
  54. <!-- 左侧资源end -->
  55. <!-- 底部工具栏 -->
  56. <!-- <div class="dia-left-btm-tool">
  57. </div> -->
  58. <!-- 底部工具栏end -->
  59. <div class="fire-m">
  60. <el-button size="small" icon="el-icon-upload" @click="showheatPlotting()">火灾蔓延</el-button>
  61. </div>
  62. <!-- 地图 -->
  63. <supermapDialog ref="supermapDialog"
  64. style="position: absolute; top:0;left: 0;"
  65. :mapDiv="'forestWarmSuperMap'"
  66. :mapSite="{zoom:12,doubleClickZoom:false,dragging:false,scrollWheelZoom:false}"
  67. :codes="['9fa5']"
  68. :isSideBySide="false"
  69. :isdynamicPlotting="true"
  70. @preview="preview"/>
  71. <!-- 地图end -->
  72. </div>
  73. </el-col>
  74. <!-- 左侧end -->
  75. <!-- 右侧 -->
  76. <el-col :span="6" class="dia-right">
  77. <div class="e-right">
  78. <div class="forthis1">
  79. <dv-border-box-7 backgroundColor="#040b1f" :color="['#25335d', '#5baffd']"
  80. style="padding-bottom:1rem ;">
  81. <div class="i-list-con">
  82. <div class="this-con">
  83. <div class="z-info-list" style="margin-top: 0;">
  84. <el-timeline>
  85. <el-timeline-item color="#2bacf7" :timestamp="item.createTime"
  86. placement="top" v-for="(item,index) in eventLogList">
  87. <el-card style="width: 40vh">
  88. <div class="z-info-list-con">
  89. <div class="user-and-time flex-d">
  90. <span>{{ item.createName }}</span>
  91. <span v-if="eventLogList.length - 1 == index&&address!=null&&address!=''"><i
  92. class="el-icon-location"></i> {{ address }}</span>
  93. <span v-else></span>
  94. </div>
  95. <div class="z-info">
  96. <div class="this-con-list-info">
  97. {{ item.logContent }}
  98. </div>
  99. <div>
  100. <router-link to="#"
  101. @click.native="clickFile(itemfile.fileUrl,itemfile.fileName,itemfile.fileType)"
  102. v-for="(itemfile,indexfile) in item.fileVOs">
  103. <el-image :src="itemfile.fileUrl" v-if="itemfile.fileType=='image'"
  104. :preview-src-list="assetTypeAnImage(item.fileVOs)"
  105. style="width:3rem; height:3rem;margin: 2px;"
  106. :title="itemfile.fileName">
  107. </el-image>
  108. <img v-else-if="itemfile.fileType=='video'"
  109. style="width:3rem; height:3rem;margin: 2px;"
  110. :src="require('@/assets/fileTypeImage/mp4.png')"
  111. :title="itemfile.fileName">
  112. </img>
  113. <img v-else-if="itemfile.fileType=='word'"
  114. style="width:3rem; height:3rem;margin: 2px;"
  115. :src="require('@/assets/fileTypeImage/word.png')"
  116. :title="itemfile.fileName">
  117. </img>
  118. <img v-else-if="itemfile.fileType=='excel'"
  119. style="width:3rem; height:3rem;margin: 2px;"
  120. :src="require('@/assets/fileTypeImage/excel.png')"
  121. :title="itemfile.fileName">
  122. </img>
  123. <img v-else
  124. style="width:3rem; height:3rem;margin: 2px;"
  125. :src="require('@/assets/fileTypeImage/file.png')"
  126. :title="itemfile.fileName">
  127. </img>
  128. </router-link>
  129. </div>
  130. </div>
  131. </div>
  132. </el-card>
  133. </el-timeline-item>
  134. </el-timeline>
  135. </div>
  136. </div>
  137. </div>
  138. </dv-border-box-7>
  139. </div>
  140. <div class="forthis2">
  141. <dv-border-box-7 backgroundColor="#040b1f" :color="['#25335d', '#5baffd']">
  142. <div class="i-list-con">
  143. <div class="this-con h-25 no-padding">
  144. <div class="z-info-list" style="margin-top: 0;">
  145. <div class="z-info-btm-grp">
  146. <div class="z-info-btm-grp-top">
  147. <div class="z-info-btm-grp-left">
  148. <!-- <el-button size="small" icon="el-icon-s-flag">责任制-->
  149. <!-- </el-button>-->
  150. <el-button size="small" icon="el-icon-upload" @click="showEventLogUpload()">上传
  151. </el-button>
  152. <el-button size="small" icon="el-icon-download" @click="toImage()">截图上传
  153. </el-button>
  154. <el-button size="small" icon="el-icon-download" @click="showResponsibility()">责任制
  155. </el-button>
  156. <el-button v-if="eventStatusValue=='forest_event_status_2' && statusFlag=='1' && dataStatus=='0'"
  157. size="small" icon="el-icon-download" @click="updateCentereventTEventcatalogueStatus('cz',true)">处置
  158. </el-button>
  159. </div>
  160. <div class="z-info-btm-grp-right">
  161. <el-button size="small" icon="el-icon-mic" @click="Meeting()">会议
  162. </el-button>
  163. </div>
  164. </div>
  165. <div class="z-info-btm-input">
  166. <el-input type="textarea" v-model="eventLog"
  167. :autosize="{ minRows: 7, maxRows: 7}" placeholder="请输入反馈信息">
  168. </el-input>
  169. <div class="z-info-btm-input-btn" v-if="eventStatusValue=='forest_event_status_1'">
  170. <div style="text-align:left">
  171. <el-button size="small"
  172. icon="el-icon-s-flag"
  173. @click="updateCentereventTEventcatalogueStatus('qr',true)">
  174. 确认
  175. </el-button>
  176. <el-button size="small"
  177. icon="el-icon-question"
  178. @click="updateCentereventTEventcatalogueStatus('wb',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. </div>
  1060. </template>
  1061. <script>
  1062. import html2canvas from 'html2canvas'//截图组件
  1063. import supermapDialog from '@/components/supermap' //超图
  1064. import vheader from '@/components/v-header.vue' //一体化共用头部
  1065. import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
  1066. import eventLogUpload from '@/views/eventLogUpload.vue' //日志上传文件
  1067. import areaSupermap from '@/components/supermap'//区域标记地图
  1068. import TcPlayer from '@/components/TcPlayer' //视频预览
  1069. import findUserByDept from '@/views/findUserByDept' //责任人选择弹框
  1070. import {
  1071. getEventDetail,
  1072. sendEventLog,
  1073. listSJfl,
  1074. listYuAn,
  1075. selectByeventCode,
  1076. updateCentereventTEventcatalogueStatus,
  1077. sendTask,
  1078. listResourceByWz,
  1079. updateYjYuAn,
  1080. uploadBase64,
  1081. centereventtdepteventList,
  1082. dutysystemList,
  1083. dutysystemAdd,
  1084. dutysystemRemove,
  1085. sendMessage,
  1086. userFeginlist,
  1087. eventHandling
  1088. } from '@/api/forest'
  1089. import {
  1090. treeselectAll as deptTreeselect
  1091. } from '@/api/system/dept'
  1092. import {
  1093. getHaiKangVideoServer
  1094. } from '@/api/haikang/haikang'
  1095. import {
  1096. hasConferences,
  1097. createConferences, getUserInfo
  1098. } from "@/api/meeting"
  1099. import {
  1100. getDahuaVideoServer
  1101. } from '@/api/dahua/dahua'
  1102. import DHWs from '@/dahua/lib/DHWs'
  1103. import Cookies from 'js-cookie'
  1104. import {selectConfigKey} from '@/api/system/config'
  1105. export default {
  1106. dicts: ['task_source'],
  1107. watch: {
  1108. filterText(val) {
  1109. this.$refs.LiandongDept.filter(val)
  1110. }
  1111. },
  1112. components: {
  1113. vheader,
  1114. vBottomMenu,
  1115. supermapDialog,
  1116. eventLogUpload,
  1117. areaSupermap,
  1118. TcPlayer,
  1119. findUserByDept
  1120. },
  1121. data() {
  1122. return {
  1123. showFindUserByDept: false,//责任人选择框
  1124. /** ----------------------------------摄像头预览开始------------------------------------- */
  1125. //大华
  1126. activePanel: 'key1',
  1127. isLogin: false,
  1128. cameraParams: [],
  1129. ws: null,
  1130. //海康
  1131. cameraTitle: '',
  1132. cameraCode:'',
  1133. cameraVisible: false,
  1134. initCount: 0,
  1135. pubKey: '',
  1136. oWebControl: null,
  1137. /** ----------------------------------摄像头预览结束------------------------------------- */
  1138. playVideo: '',//视频预览地址
  1139. showTcPlayer: false,//视频预览弹窗
  1140. regionalFlagOpen: false,//区域标记
  1141. //区域标记
  1142. regionalFlagObj: {
  1143. array: []
  1144. },
  1145. filterText: '',//树搜索
  1146. /** *****************事件流程***************************/
  1147. deptNameitem: '签收部门',
  1148. sendDeptId: null,//签收部门/发起部门
  1149. sendDeptName: null,//签收部门/发起部门
  1150. sendEventType: null,//事件类型
  1151. sendHuoZaiBanJing: 0,//火灾报告
  1152. sendGuanLianYuAn: null,//关联预案
  1153. sendUserFegin: [],//联系人
  1154. sendTaskSource: null,//任务来源
  1155. sendTaskTitle: null,//联动标题
  1156. sendTaskContent: null,//联动内容
  1157. sendLianDongDept: [],//联动部门
  1158. eventTypeList: [],//事件类型列表
  1159. guanLianYuAnList: [],//关联预案列表
  1160. userFeginList: [],//联系人列表
  1161. deptOptions: [],//签收部门
  1162. deptOptionsLiandong: [],//联动部门
  1163. eventStatusButton: null,//流程按钮标识
  1164. eventConfirmTitle: null,//弹窗标题 ---签收 误报 重复
  1165. defaultProps: {
  1166. children: 'children',
  1167. label: 'label'
  1168. },
  1169. table1: {
  1170. reportUnit: null,
  1171. reportTimeY: null,
  1172. reportTimeM: null,
  1173. reportTimeD: null,
  1174. forestFireLossTotal: null,
  1175. fireLossTotal: null,
  1176. forestArea: null,
  1177. forestPrice: null,
  1178. treesNumber: null,
  1179. treesPrice: null,
  1180. minorInjuriesNumber: null,
  1181. minorInjuriesPrice: null,
  1182. seriouslyInjuredNumber: null,
  1183. seriouslyInjuredPrice: null,
  1184. deathNumber: null,
  1185. deathPrice: null,
  1186. elseFireLossPrice: null,
  1187. blazesPriceTotal: null,
  1188. artificialDays: null,
  1189. artificialPrice: null,
  1190. vehicleNumber: null,
  1191. carNumber: null,
  1192. vehiclePrice: null,
  1193. planeNumber: null,
  1194. planePrice: null,
  1195. elseBlazesPrice: null,
  1196. note: null
  1197. },
  1198. table2: {
  1199. fireTime: null,
  1200. foundTime: null,
  1201. blazesTime: null,
  1202. address: null,
  1203. firePlace: null,
  1204. foundType: null,
  1205. longitudeD: null,
  1206. longitudeM: null,
  1207. longitudeS: null,
  1208. latitudeD: null,
  1209. latitudeM: null,
  1210. latitudeS: null,
  1211. fireSource: null,
  1212. fireType: null,
  1213. fireLevel: null,
  1214. areaTotal: null,
  1215. forestLossAreaTotal: null,
  1216. originalForestArea: null,
  1217. artificialForestArea: null,
  1218. peopleTotal: null,
  1219. blazesTeamNumber: null,
  1220. policeNumber: null,
  1221. armyNumber: null,
  1222. crowdNumber: null,
  1223. windExtinguisher: null,
  1224. secondTool: null,
  1225. waterGun: null,
  1226. elseThings: null,
  1227. forestComposition: null,
  1228. forestToken: null,
  1229. porosities: null,
  1230. weather: null,
  1231. temperature: null,
  1232. fireInsuranceLevel: null,
  1233. windLevel: null,
  1234. windDirection: null,
  1235. commandUnit: null,
  1236. commandName: null,
  1237. commandPosition: null,
  1238. surveyUnit: null,
  1239. surveyName: null,
  1240. surveyPosition: null,
  1241. accidentName: null,
  1242. accidentSex: null,
  1243. accidentAge: null,
  1244. accidentPosition: null,
  1245. accidentUnit: null,
  1246. dealType: null,
  1247. dealNumber: null,
  1248. criminalDealNumber: null,
  1249. accidentDealSituation: null,
  1250. responsibilityDealSituation: null,
  1251. leadershipDealSituation: null,
  1252. townForm: null,
  1253. townAudit: null,
  1254. cityForm: null,
  1255. cityAudit: null
  1256. },
  1257. /** *****************事件流程***************************/
  1258. showEventConfirm: false,//事件签收弹窗
  1259. showGuanLianYuAnConfirm: false,//调整关联预案弹窗
  1260. showEventConfirm_gd: false,//事件火险报告弹窗
  1261. address: null,//事件上报地址
  1262. eventStatusValue: null,//事件状态
  1263. eventId: null,//事件ID
  1264. eventType: null,//事件类型-大类
  1265. statusFlag: null,//事件流程按钮
  1266. dataStatus: null,//事件处置按钮
  1267. deptId: null,//事件流程部门
  1268. eventCode: null,
  1269. eventName: null,
  1270. longitude: null,
  1271. latitude: null,
  1272. eventTypeXl:null,
  1273. eventLog: null,
  1274. eventLogList: [],
  1275. visuForestCloudYuAnBo: null,
  1276. eventDialog: false,
  1277. showResponsibilityDialog: false,//责任制弹窗
  1278. showMeetingMsgDialog: false,//发送会议短信弹窗
  1279. depteventList: [],//责任制部门列表
  1280. iconCurrentIndex: '',
  1281. dutysystemDeptName: '',
  1282. depteventId: '',
  1283. dutysystemTableData: [],
  1284. radius: 50,//资源搜索半径
  1285. resourcesList: [
  1286. {
  1287. resourceName: '取水口',
  1288. type: 'qsk',
  1289. count: '1',
  1290. icon: 'sj-icon-waterintake'
  1291. },
  1292. {
  1293. resourceName: '水鹤',
  1294. type: 'sh',
  1295. icon: 'sj-icon-watercrane'
  1296. },
  1297. {
  1298. resourceName: '消防栓',
  1299. type: 'xfs',
  1300. count: '1',
  1301. icon: 'sj-icon-firehydrant'
  1302. },
  1303. {
  1304. resourceName: '起降点',
  1305. type: 'qjd',
  1306. count: '1',
  1307. icon: 'sj-icon-landing'
  1308. },
  1309. {
  1310. resourceName: '检查站',
  1311. type: 'jcz',
  1312. count: '1',
  1313. icon: 'sj-icon-checkpoint'
  1314. },
  1315. {
  1316. resourceName: '防火队',
  1317. type: 'fhd',
  1318. count: '1',
  1319. icon: 'sj-icon-fireteam'
  1320. },
  1321. {
  1322. resourceName: '重点区域',
  1323. type: 'zdqy',
  1324. count: '1',
  1325. icon: 'sj-icon-keyAreas'
  1326. },
  1327. {
  1328. resourceName: '摄像头',
  1329. type: 'sxt',
  1330. count: '1',
  1331. icon: 'sj-icon-jkzx'
  1332. }
  1333. ],
  1334. resourcesListCheck: [],
  1335. //文本域
  1336. feedback: '',
  1337. }
  1338. },
  1339. props: {
  1340. calendarDay: null//首页日历选择
  1341. },
  1342. created() {
  1343. /** ----------------------------------摄像头预览开始------------------------------------- */
  1344. const DHWsInstance = DHWs.getInstance()
  1345. this.ws = DHWsInstance
  1346. /** ----------------------------------摄像头预览结束------------------------------------- */
  1347. },
  1348. methods: {
  1349. /************************************责任制-开始****************************************/
  1350. //初始化责任制数据列表
  1351. initDutysystemTableData(){
  1352. this.dutysystemTableData = [];
  1353. },
  1354. addLine: function() {//添加负责人行数
  1355. var newValue = {
  1356. id: '',//主键
  1357. dept: '',//部门名称
  1358. depteventId: '',//事件部门关联责任人
  1359. name: '',//姓名
  1360. post: '',//岗位
  1361. telphone: ''//手机号
  1362. }
  1363. //添加新的行数
  1364. this.dutysystemTableData.push(newValue)
  1365. },
  1366. finUserByDept: function(){ //根据部门选择责任人
  1367. this.showFindUserByDept=true;
  1368. },
  1369. addSelection: function(userList){
  1370. for (let i in this.dutysystemTableData) {
  1371. for (let j in userList) {
  1372. if(this.dutysystemTableData[i].name == userList[j].name && this.dutysystemTableData[i].telphone == userList[j].telphone){
  1373. userList.splice(j, 1);
  1374. }
  1375. }
  1376. }
  1377. this.dutysystemTableData = this.dutysystemTableData.concat(userList);
  1378. this.showFindUserByDept=false;
  1379. },
  1380. handleDelete: function(index, row) {//删除负责人行数
  1381. if (row.id != null && row.id != '') {
  1382. let param = { ids: row.id }
  1383. dutysystemRemove(param).then(res => {
  1384. this.$message.success(`删除成功!`)
  1385. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
  1386. })
  1387. } else {
  1388. this.dutysystemTableData.splice(index, 1)
  1389. }
  1390. },
  1391. handleSave: function(index, rowData) {//保存负责人行数
  1392. rowData.dept = this.dutysystemDeptName
  1393. rowData.depteventId = this.depteventId
  1394. dutysystemAdd(rowData).then(res => {
  1395. this.$message.success(`保存成功!`)
  1396. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId)
  1397. })
  1398. },
  1399. dutysystemSelect: function(deptId, dutysystemDeptName, depteventId) {//通过部门查询负责人信息
  1400. this.dutysystemDeptName = dutysystemDeptName
  1401. this.depteventId = depteventId
  1402. this.iconCurrentIndex = deptId
  1403. let param = { depteventId: depteventId }
  1404. dutysystemList(param).then(res => {
  1405. if (res.data != null && res.data.length > 0) {
  1406. this.dutysystemTableData = res.data
  1407. } else {
  1408. this.dutysystemTableData = [{
  1409. id: '',//主键
  1410. dept: this.dutysystemDeptName,//部门名称
  1411. depteventId: this.depteventId,//事件部门关联责任人
  1412. name: '',//姓名
  1413. post: '',//岗位
  1414. telphone: ''//手机号
  1415. }]
  1416. }
  1417. })
  1418. },
  1419. showResponsibility() {//弹出责任制弹窗
  1420. let param = { eventCode: this.eventCode }
  1421. centereventtdepteventList(param).then(res => {
  1422. this.depteventList = res.data
  1423. this.showResponsibilityDialog = true
  1424. this.initDutysystemTableData();
  1425. })
  1426. },
  1427. closeResponsibilityDialog() {//责任制关闭
  1428. this.dutysystemTableData = []
  1429. this.dutysystemDeptName = ''
  1430. this.depteventId = ''
  1431. this.iconCurrentIndex = ''
  1432. this.showResponsibilityDialog = false
  1433. },
  1434. closeMeetingMsgDialog() {//会议弹窗关闭
  1435. this.dutysystemTableData = []
  1436. this.dutysystemDeptName = ''
  1437. this.depteventId = ''
  1438. this.iconCurrentIndex = ''
  1439. this.showMeetingMsgDialog = false
  1440. },
  1441. addResponsibilityDialog() {//责任制保存
  1442. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  1443. 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位手机号码正则
  1444. for(let i in this.dutysystemTableData){
  1445. if(!reg_user.test(this.dutysystemTableData[i].name)){
  1446. this.$message.error(`请输入正确姓名!`)
  1447. return;
  1448. }
  1449. if(!reg_tel.test(this.dutysystemTableData[i].telphone)){
  1450. this.$message.error(`请输入正确手机号码!`)
  1451. return;
  1452. }
  1453. if(this.dutysystemTableData[i].id==null || this.dutysystemTableData[i].id==''){
  1454. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  1455. this.dutysystemTableData[i].depteventId = this.depteventId;
  1456. }
  1457. }
  1458. const param = {centereventTDutySystemList:this.dutysystemTableData,eventCode:this.eventCode,eventName:this.eventName}
  1459. dutysystemAdd(param).then(res => {
  1460. this.$message.success(`保存成功!`)
  1461. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
  1462. this.closeResponsibilityDialog();
  1463. })
  1464. },
  1465. /************************************责任制-结束****************************************/
  1466. showheatPlotting() {
  1467. // if (!this.$refs.supermapDialog.isheatPlotting) {
  1468. // this.$refs.supermapDialog.showheatPlotting(this.latitude, this.longitude)
  1469. // } else {
  1470. // this.$refs.supermapDialog.isheatPlotting = false
  1471. // }
  1472. // this.cancelEventShow();
  1473. this.eventDialog = false;
  1474. this.$emit('getFirespread', this.eventCode);
  1475. },
  1476. showUpdateYjYuAn() {
  1477. listYuAn().then(res => {
  1478. //关联预案列表
  1479. if (res.code == 200) {
  1480. this.guanLianYuAnList = res.data
  1481. this.showGuanLianYuAnConfirm = true
  1482. }
  1483. })
  1484. },
  1485. updateYjYuAn() {
  1486. if(this.eventStatusValue=='forest_event_status_1'){
  1487. this.$message.error(`未签收事件无法修改预案信息,请先签收!`)
  1488. return
  1489. }else{
  1490. let param = { eventCode: this.eventCode, reserve: this.sendGuanLianYuAn }
  1491. updateYjYuAn(param).then(res => {
  1492. //事件调整关联预案
  1493. if (res.code == 200) {
  1494. this.$message.success(`预案调整成功!`)
  1495. this.refreshEventDialog(this.eventCode)
  1496. this.sendGuanLianYuAn = null
  1497. this.showGuanLianYuAnConfirm = false
  1498. }
  1499. })
  1500. }
  1501. },
  1502. listResourceByWz(type) {
  1503. if (this.resourcesListCheck.indexOf(type) > -1) {
  1504. this.resourcesListCheck.splice(this.resourcesListCheck.indexOf(type), 1)
  1505. setTimeout(() => {
  1506. this.$refs.supermapDialog.clearMByType(type)
  1507. }, 1000)
  1508. } else {
  1509. //搜索物资
  1510. let param = { longitude: this.longitude, latitude: this.latitude, type: type, radius: this.radius }
  1511. listResourceByWz(param).then(res => {
  1512. if (res.data != null && res.data.length > 0) {
  1513. this.resourcesListCheck.push(type)
  1514. var markersList = []
  1515. for (let i = 0; i < res.data.length; i++) {
  1516. let markersMap = {
  1517. lng: 124.59,
  1518. lat: 43.02,
  1519. icon: 'marker',
  1520. bindPopupHtml: '',
  1521. click: '',
  1522. parameter: '',
  1523. keepBindPopup: false,
  1524. isAggregation: true
  1525. }
  1526. // if (res.data.length > 50) {
  1527. // markersMap.isAggregation = true
  1528. // }
  1529. if (type == 'qsk') {
  1530. markersMap.icon = 'sj-icon-waterintake'
  1531. } else if (type == 'sh') {
  1532. markersMap.icon = 'sj-icon-watercrane'
  1533. } else if (type == 'xfs') {
  1534. markersMap.icon = 'sj-icon-firehydrant'
  1535. } else if (type == 'qjd') {
  1536. markersMap.icon = 'sj-icon-landing'
  1537. } else if (type == 'jcz') {
  1538. markersMap.icon = 'sj-icon-checkpoint'
  1539. } else if (type == 'fhd') {
  1540. markersMap.icon = 'sj-icon-fireteam'
  1541. } else if (type == 'zdqy') {
  1542. markersMap.icon = 'sj-icon-keyAreas'
  1543. } else if (type == 'sxt') {
  1544. markersMap.icon = 'camera'
  1545. if (res.data[i].cameraCode != null) {
  1546. markersMap.click = 'preview'
  1547. // markersMap.parameter = res.data[i].cameraCode
  1548. markersMap.parameter = {code:res.data.data[i].cameraCode,
  1549. type:res.data.data[i].cameraFactory}
  1550. }
  1551. }
  1552. markersMap.lng = res.data[i].longitude
  1553. markersMap.lat = res.data[i].latitude
  1554. markersMap.bindPopupHtml = '<div class="map-tip">' +
  1555. '<span>' +
  1556. ' <div class="d-l-con">' +
  1557. ' <div class="d-l-l-text">' +
  1558. ' <h4>资源名称:' + res.data[i].name + '</h4>' +
  1559. ' </div>' +
  1560. ' </div>' +
  1561. ' </span>' +
  1562. '</div>'
  1563. markersList.push(markersMap)
  1564. }
  1565. setTimeout(() => {
  1566. this.$refs.supermapDialog.setMarkersByType(markersList, type)
  1567. }, 1000)
  1568. }
  1569. })
  1570. }
  1571. },
  1572. // 返回图片列表
  1573. assetTypeAnImage(filePath) {
  1574. let imageList = []
  1575. if (filePath != null && filePath.length > 0) {
  1576. for (let i = 0; i < filePath.length; i++) {
  1577. if (filePath[i].fileType == 'image') {
  1578. imageList.push(filePath[i].fileUrl)
  1579. }
  1580. }
  1581. }
  1582. return imageList
  1583. },
  1584. clickFile(fileUrl, fileName, fileType) {
  1585. if (fileType == 'image') {
  1586. return
  1587. } else if (fileType == 'video') {
  1588. this.showTcPlayer = true
  1589. setTimeout(() => {
  1590. this.playVideo = fileUrl
  1591. }, 500)
  1592. } else {
  1593. let a = document.createElement('a')
  1594. a.download = fileName
  1595. a.href = fileUrl
  1596. a.target = '_blank'
  1597. a.click()
  1598. }
  1599. },
  1600. setValue(event) {
  1601. //签收选择部门
  1602. this.sendDeptName = event.label
  1603. this.sendDeptId = event.value
  1604. },
  1605. cancelEventConfirm() {
  1606. //关闭事件签收弹窗
  1607. this.sendDeptId = null
  1608. this.sendDeptName = null
  1609. this.sendUserFegin = []
  1610. this.sendEventType = null
  1611. this.sendHuoZaiBanJing = 0
  1612. this.sendGuanLianYuAn = null
  1613. this.longitude = null
  1614. this.latitude = null
  1615. this.sendTaskTitle = null
  1616. this.sendTaskSource = null
  1617. this.sendTaskContent = null
  1618. this.sendLianDongDept = []
  1619. this.eventTypeList = []//事件类型列表
  1620. this.guanLianYuAnList = []//关联预案列表
  1621. this.deptOptions = []//签收部门
  1622. this.deptOptionsLiandong = []//联动部门
  1623. this.eventStatusButton = null//流程按钮标识
  1624. this.eventConfirmTitle = null//流程按钮标识
  1625. this.resourcesListCheck = []
  1626. this.userFeginList = [] //联系人列表
  1627. },
  1628. cancelEventConfirm_send() {
  1629. //清空表单数据
  1630. this.sendDeptId = null
  1631. this.sendDeptName = null
  1632. this.sendUserFegin = []
  1633. this.sendEventType = null
  1634. this.sendHuoZaiBanJing = 0
  1635. this.sendGuanLianYuAn = null
  1636. this.sendTaskTitle = null
  1637. this.sendTaskSource = null
  1638. this.sendTaskContent = null
  1639. this.sendLianDongDept = []
  1640. this.eventTypeList = []//事件类型列表
  1641. this.guanLianYuAnList = []//关联预案列表
  1642. this.deptOptions = []//签收部门
  1643. this.deptOptionsLiandong = []//联动部门
  1644. this.userFeginList = [] //联系人列表
  1645. },
  1646. cancelEventConfirm_gd() {
  1647. //关闭事件火险报告窗口
  1648. this.resetTable1()
  1649. this.resetTable2()
  1650. },
  1651. cancelEventConfirm_mp4() {
  1652. //关闭视频窗口
  1653. this.playVideo = ''
  1654. this.$refs.TcPlayer.destroyed()
  1655. },
  1656. resetTable1() {
  1657. this.table1 = {
  1658. reportUnit: null,
  1659. reportTimeY: null,
  1660. reportTimeM: null,
  1661. reportTimeD: null,
  1662. forestFireLossTotal: null,
  1663. fireLossTotal: null,
  1664. forestArea: null,
  1665. forestPrice: null,
  1666. treesNumber: null,
  1667. treesPrice: null,
  1668. minorInjuriesNumber: null,
  1669. minorInjuriesPrice: null,
  1670. seriouslyInjuredNumber: null,
  1671. seriouslyInjuredPrice: null,
  1672. deathNumber: null,
  1673. deathPrice: null,
  1674. elseFireLossPrice: null,
  1675. blazesPriceTotal: null,
  1676. artificialDays: null,
  1677. artificialPrice: null,
  1678. vehicleNumber: null,
  1679. carNumber: null,
  1680. vehiclePrice: null,
  1681. planeNumber: null,
  1682. planePrice: null,
  1683. elseBlazesPrice: null,
  1684. note: null
  1685. }
  1686. },
  1687. resetTable2() {
  1688. this.table2 = {
  1689. fireTime: null,
  1690. foundTime: null,
  1691. blazesTime: null,
  1692. address: null,
  1693. firePlace: null,
  1694. foundType: null,
  1695. longitudeD: null,
  1696. longitudeM: null,
  1697. longitudeS: null,
  1698. latitudeD: null,
  1699. latitudeM: null,
  1700. latitudeS: null,
  1701. fireSource: null,
  1702. fireType: null,
  1703. fireLevel: null,
  1704. areaTotal: null,
  1705. forestLossAreaTotal: null,
  1706. originalForestArea: null,
  1707. artificialForestArea: null,
  1708. peopleTotal: null,
  1709. blazesTeamNumber: null,
  1710. policeNumber: null,
  1711. armyNumber: null,
  1712. crowdNumber: null,
  1713. windExtinguisher: null,
  1714. secondTool: null,
  1715. waterGun: null,
  1716. elseThings: null,
  1717. forestComposition: null,
  1718. forestToken: null,
  1719. porosities: null,
  1720. weather: null,
  1721. temperature: null,
  1722. fireInsuranceLevel: null,
  1723. windLevel: null,
  1724. windDirection: null,
  1725. commandUnit: null,
  1726. commandName: null,
  1727. commandPosition: null,
  1728. surveyUnit: null,
  1729. surveyName: null,
  1730. surveyPosition: null,
  1731. accidentName: null,
  1732. accidentSex: null,
  1733. accidentAge: null,
  1734. accidentPosition: null,
  1735. accidentUnit: null,
  1736. dealType: null,
  1737. dealNumber: null,
  1738. criminalDealNumber: null,
  1739. accidentDealSituation: null,
  1740. responsibilityDealSituation: null,
  1741. leadershipDealSituation: null,
  1742. townForm: null,
  1743. townAudit: null,
  1744. cityForm: null,
  1745. cityAudit: null
  1746. }
  1747. },
  1748. /**
  1749. * eventStatusValue 事件状态
  1750. * isSend 是否办理
  1751. * */
  1752. async updateCentereventTEventcatalogueStatus(eventStatus, isSend) {
  1753. this.eventStatusButton = eventStatus
  1754. let that=this
  1755. if (!isSend) {//事件弹窗
  1756. if (eventStatus == 'qs') {//签收
  1757. that.eventConfirmTitle = '事件签收'
  1758. let param = { parentId: that.eventType }
  1759. if(that.eventTypeXl != null){
  1760. that.sendEventType = that.eventTypeXl;
  1761. }else{
  1762. await listSJfl(param).then(res => {
  1763. //事件类型
  1764. if (res.code == 200) {
  1765. that.eventTypeList = res.data
  1766. }
  1767. })
  1768. }
  1769. await listYuAn().then(res => {
  1770. //关联预案
  1771. if (res.code == 200) {
  1772. that.guanLianYuAnList = res.data
  1773. }
  1774. })
  1775. await selectByeventCode(that.eventCode).then(res => {
  1776. //签收部门
  1777. if (res.code == 200) {
  1778. that.deptOptions = res.data
  1779. that.deptNameitem = '签收部门'
  1780. }
  1781. })
  1782. that.showEventConfirm = true
  1783. } else if (eventStatus == 'qr') {//确认
  1784. that.eventConfirmTitle = '事件确认'
  1785. } else if (eventStatus == 'wb') {//误报
  1786. that.eventConfirmTitle = '事件误报'
  1787. await selectByeventCode(that.eventCode).then(res => {
  1788. //签收部门
  1789. if (res.code == 200) {
  1790. that.deptOptions = res.data
  1791. that.deptNameitem = '签收部门'
  1792. }
  1793. })
  1794. that.showEventConfirm = true
  1795. } else if (eventStatus == 'cf') {//重复
  1796. that.eventConfirmTitle = '事件重复'
  1797. await selectByeventCode(that.eventCode).then(res => {
  1798. //签收部门
  1799. if (res.code == 200) {
  1800. that.deptOptions = res.data
  1801. that.deptNameitem = '签收部门'
  1802. }
  1803. })
  1804. that.showEventConfirm = true
  1805. } else if (eventStatus == 'ld') {//联动
  1806. await selectByeventCode(that.eventCode).then(res => {
  1807. //签收部门
  1808. if (res.code == 200) {
  1809. that.deptOptions = res.data
  1810. that.deptNameitem = '发起部门'
  1811. }
  1812. })
  1813. that.eventConfirmTitle = '事件联动'
  1814. /** 查询部门树结构 */
  1815. await deptTreeselect().then(response => {
  1816. that.deptOptionsLiandong = response.data
  1817. })
  1818. that.showEventConfirm = true
  1819. } else if (eventStatus == 'gd') {//归档填报
  1820. that.showEventConfirm_gd = true
  1821. }
  1822. } else {//事件提交后台
  1823. if (eventStatus == 'ld') {
  1824. //事件处理流程--联动
  1825. let array = that.$refs.LiandongDept.getCheckedNodes()
  1826. if (array != null && array.length > 0) {
  1827. for (let i = 0; i < array.length; i++) {
  1828. that.sendLianDongDept.push({ 'taskDeptId': array[i].id, 'taskDeptName': array[i].label })
  1829. }
  1830. }
  1831. if (that.sendTaskSource == '' || that.sendTaskSource == null) {
  1832. that.$message.error(`请选择任务来源!`)
  1833. return
  1834. }
  1835. if (that.sendTaskContent == '' || that.sendTaskContent == null) {
  1836. that.$message.error(`请输入任务内容!`)
  1837. return
  1838. }
  1839. if (that.sendTaskTitle == '' || that.sendTaskTitle == null) {
  1840. that.$message.error(`请输入任务标题!`)
  1841. return
  1842. }
  1843. if (that.sendLianDongDept == '' || that.sendLianDongDept == null) {
  1844. that.$message.error(`请选择任务联动部门!`)
  1845. return
  1846. }
  1847. if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
  1848. that.$message.error(`请选择任务发起部门!`)
  1849. return
  1850. }
  1851. let param = {
  1852. sendDeptId: that.sendDeptId,
  1853. sendDept: that.sendDeptName,
  1854. eventCode: that.eventCode,
  1855. longitude: that.longitude,
  1856. latitude: that.latitude,
  1857. taskTitle: that.sendTaskTitle,
  1858. taskSource: that.sendTaskSource,
  1859. taskContent: that.sendTaskContent,
  1860. taskDept: that.sendLianDongDept
  1861. }
  1862. sendTask(param).then(res => {
  1863. if (res.code == 200) {
  1864. that.$message.success(`联动发起成功!`)
  1865. that.refreshEventDialog(that.eventCode)
  1866. that.cancelEventConfirm_send()
  1867. that.showEventConfirm = false
  1868. }
  1869. })
  1870. } else if(eventStatus == 'cz'){
  1871. eventHandling(that.eventId,that.eventCode).then(res => {
  1872. if (res.code == 200) {
  1873. that.$message.success(`处理成功!`)
  1874. that.refreshEvent(that.eventCode)
  1875. that.cancelEventConfirm_send()
  1876. that.showEventConfirm = false
  1877. }
  1878. })
  1879. } else if (eventStatus == 'gd') {
  1880. if(that.eventType == 1){
  1881. let double = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/; //数字和两位小数
  1882. let number = /^[+]{0,1}(\d+)$/g; //正整数
  1883. if(!double.test(that.table2.areaTotal)){
  1884. that.$message.error(`面积只能填写到小数后两位!`)
  1885. return
  1886. }
  1887. if(!number.test(that.table2.peopleTotal)){
  1888. that.$message.error(`人员请填写正整数!`)
  1889. return
  1890. }
  1891. if(that.table2.forestComposition == '' || that.table2.forestComposition==null){
  1892. that.$message.error(`林木组成不能为空!`)
  1893. return
  1894. }
  1895. if(that.table2.forestToken == '' || that.table2.forestToken==null){
  1896. that.$message.error(`林令不能为空!`)
  1897. return
  1898. }
  1899. if(that.table2.porosities == '' || that.table2.porosities==null){
  1900. that.$message.error(`疏密度不能为空!`)
  1901. return
  1902. }
  1903. }
  1904. //事件处理流程--归档
  1905. let param = {
  1906. deptId: that.deptId,
  1907. eventCode: that.eventCode,
  1908. eventStatus: eventStatus,
  1909. id: that.eventId,
  1910. czlx: '',
  1911. forestFireLoss: { eventId: that.eventCode, table1: that.table1 },
  1912. fireInformation: { eventId: that.eventCode, table2: that.table2 },
  1913. array: that.regionalFlagObj.array
  1914. }
  1915. updateCentereventTEventcatalogueStatus(param).then(res => {
  1916. if (res.code == 200) {
  1917. that.$message.success(`处理成功!`)
  1918. that.refreshEvent(that.eventCode)
  1919. that.cancelEventConfirm_send()
  1920. that.showEventConfirm_gd = false
  1921. that.$emit('getEventList', that.calendarDay,10,1)
  1922. that.$emit('getSupermap', that.calendarDay)
  1923. }
  1924. })
  1925. } else {
  1926. if (eventStatus == 'qs' || eventStatus == 'wb' || eventStatus == 'cf') {
  1927. if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
  1928. that.$message.error(`请选择部门!`)
  1929. return
  1930. }
  1931. if (eventStatus == 'qs') {
  1932. if (that.sendEventType == '' || that.sendEventType == null) {
  1933. that.$message.error(`请选择事件类型!`)
  1934. return
  1935. }
  1936. }
  1937. } else {
  1938. that.sendDeptId = that.deptId
  1939. }
  1940. //事件处理流程
  1941. let param = {
  1942. phones:that.sendUserFegin,
  1943. eventCode: that.eventCode,
  1944. deptId: that.sendDeptId,
  1945. deptName: that.sendDeptName,
  1946. eventStatus: eventStatus,
  1947. eventType: that.sendEventType,
  1948. id: that.eventId,
  1949. czlx: '',
  1950. cameraCode: that.cameraCode,
  1951. fireRadius: that.sendHuoZaiBanJing,
  1952. reserve: that.sendGuanLianYuAn,
  1953. fileList:eventStatus == 'qs'?this.eventLogList[this.eventLogList.length-1].fileVOs:[]
  1954. }
  1955. updateCentereventTEventcatalogueStatus(param).then(res => {
  1956. if (res.code == 200) {
  1957. that.$message.success(`处理成功!`)
  1958. that.refreshEvent(that.eventCode)
  1959. that.cancelEventConfirm_send()
  1960. that.showEventConfirm = false
  1961. that.$emit('getEventList', that.calendarDay,10,1)
  1962. that.$emit('getSupermap', that.calendarDay)
  1963. }
  1964. })
  1965. }
  1966. }
  1967. },
  1968. filterNode(value, data) {
  1969. //树搜索
  1970. if (!value) return true
  1971. return data.label.indexOf(value) !== -1
  1972. },
  1973. sendEventLog() {
  1974. //日志发送
  1975. let param = { eventCode: this.eventCode, logContent: this.eventLog,operation:"bus_oper_type_2",operationType:"log_oper_type_1"}
  1976. sendEventLog(param).then(res => {
  1977. if (res.code == 200) {
  1978. this.$message.success(`发送成功!`)
  1979. this.eventLog = null
  1980. this.refreshEventDialog(this.eventCode)
  1981. }
  1982. })
  1983. },
  1984. showEventLogUpload() {
  1985. this.$refs.eventLogUpload.eventLogUpload(this.eventCode)
  1986. },
  1987. cancelEventShow() {
  1988. this.statusFlag = null
  1989. this.deptId = null
  1990. console.log('关闭事件弹窗')
  1991. this.eventLogList = []
  1992. },
  1993. showEventDialog(eventCode) {
  1994. this.eventCode = eventCode
  1995. let that = this
  1996. //获取事件详情
  1997. getEventDetail({ eventCode: eventCode }).then(res => {
  1998. that.eventDialog = true
  1999. that.eventLogList = res.data.eventlog//日志列表
  2000. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  2001. that.address = res.data.catalogue.address
  2002. that.eventStatusValue = res.data.catalogue.eventStatusValue
  2003. that.eventType = res.data.catalogue.eventType
  2004. that.statusFlag = res.data.catalogue.statusFlag
  2005. that.dataStatus = res.data.catalogue.dataStatus
  2006. that.deptId = res.data.catalogue.deptId
  2007. that.eventId = res.data.catalogue.id
  2008. that.longitude = res.data.catalogue.longitude
  2009. that.latitude = res.data.catalogue.latitude
  2010. that.eventName = res.data.catalogue.eventName
  2011. that.eventTypeXl = res.data.catalogue.eventTypeXl
  2012. let markersMap = {
  2013. lng: 124.59,
  2014. lat: 43.02,
  2015. icon: 'marker',
  2016. bindPopupHtml: '',
  2017. click: '',
  2018. parameter: '',
  2019. keepBindPopup: false,
  2020. isAggregation: true,
  2021. radius: 0
  2022. }
  2023. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount == 0) {
  2024. markersMap.icon = 'sj-icon-map-xinshangbao'
  2025. }
  2026. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount > 0) {
  2027. markersMap.icon = 'sj-icon-map-cuiban'
  2028. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_2') {
  2029. markersMap.icon = 'sj-icon-map-qianshou'
  2030. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_5') {
  2031. markersMap.icon = 'sj-icon-map-banjie'
  2032. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_6') {
  2033. markersMap.icon = 'sj-icon-map-guidang'
  2034. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_7') {
  2035. markersMap.icon = 'sj-icon-map-queren'
  2036. }
  2037. markersMap.lng = res.data.catalogue.longitude
  2038. markersMap.lat = res.data.catalogue.latitude
  2039. 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) {
  2040. markersMap.radius = res.data.eventdetail[0].fireRadius
  2041. }
  2042. setTimeout(() => {
  2043. that.$refs.supermapDialog.dynamicPlotting()//弹出动态绘制窗口,防止截图位置改变
  2044. that.$refs.supermapDialog.clearM(false)
  2045. that.$refs.supermapDialog.setMarkersRadius([markersMap])
  2046. that.$refs.supermapDialog.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
  2047. }, 2000)
  2048. if (res.data.centermonitorTCamera != null) {
  2049. that.cameraCode = res.data.centermonitorTCamera.id;
  2050. let markersMap = {
  2051. lng: 124.59,
  2052. lat: 43.02,
  2053. icon: 'camera',
  2054. bindPopupHtml: '',
  2055. click: 'preview',
  2056. parameter: {code:res.data.centermonitorTCamera.cameraCode,type:res.data.centermonitorTCamera.cameraFactory},
  2057. keepBindPopup: false,
  2058. isAggregation: true,
  2059. radius: 0
  2060. }
  2061. markersMap.bindPopupHtml = '<div class="map-tip">' +
  2062. '<span>' +
  2063. ' <div class="d-l-con">' +
  2064. ' <div class="d-l-l-text">' +
  2065. ' <h4>摄像头名称:' + res.data.centermonitorTCamera.cameraName + '</h4>' +
  2066. ' </div>' +
  2067. ' </div>' +
  2068. ' </span>' +
  2069. '<span>' +
  2070. '</div>'
  2071. markersMap.lng = res.data.centermonitorTCamera.longitude
  2072. markersMap.lat = res.data.centermonitorTCamera.latitude
  2073. setTimeout(() => {
  2074. that.$refs.supermapDialog.setMarkers([markersMap])
  2075. }, 2000)
  2076. }
  2077. })
  2078. },
  2079. refreshEvent(eventCode) {
  2080. this.eventCode = eventCode
  2081. let that = this
  2082. //刷新--事件详情
  2083. getEventDetail({ eventCode: eventCode }).then(res => {
  2084. that.eventDialog = true
  2085. that.eventLogList = res.data.eventlog
  2086. that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  2087. that.address = res.data.catalogue.address
  2088. that.eventStatusValue = res.data.catalogue.eventStatusValue
  2089. that.eventType = res.data.catalogue.eventType
  2090. that.statusFlag = res.data.catalogue.statusFlag
  2091. that.dataStatus = res.data.catalogue.dataStatus
  2092. that.deptId = res.data.catalogue.deptId
  2093. that.eventId = res.data.catalogue.id
  2094. that.latitude = res.data.catalogue.latitude
  2095. that.longitude = res.data.catalogue.longitude
  2096. that.eventName = res.data.catalogue.eventName
  2097. that.eventTypeXl = res.data.catalogue.eventTypeXl
  2098. let markersMap = {
  2099. lng: 124.59,
  2100. lat: 43.02,
  2101. icon: 'marker',
  2102. bindPopupHtml: '',
  2103. click: '',
  2104. parameter: '',
  2105. keepBindPopup: false,
  2106. isAggregation: true,
  2107. radius: 0
  2108. }
  2109. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount == 0) {
  2110. markersMap.icon = 'sj-icon-map-xinshangbao'
  2111. }
  2112. if (res.data.catalogue.eventStatusValue == 'forest_event_status_1' && res.data.catalogue.urgeCount > 0) {
  2113. markersMap.icon = 'sj-icon-map-cuiban'
  2114. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_2') {
  2115. markersMap.icon = 'sj-icon-map-qianshou'
  2116. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_5') {
  2117. markersMap.icon = 'sj-icon-map-banjie'
  2118. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_6') {
  2119. markersMap.icon = 'sj-icon-map-guidang'
  2120. } else if (res.data.catalogue.eventStatusValue == 'forest_event_status_7') {
  2121. markersMap.icon = 'sj-icon-map-queren'
  2122. }
  2123. markersMap.lng = res.data.catalogue.longitude
  2124. markersMap.lat = res.data.catalogue.latitude
  2125. 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) {
  2126. markersMap.radius = res.data.eventdetail[0].fireRadius
  2127. }
  2128. setTimeout(() => {
  2129. that.$refs.supermapDialog.clearM(true)
  2130. 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) {
  2131. that.$refs.supermapDialog.setMarkersRadius([markersMap])
  2132. } else {
  2133. that.$refs.supermapDialog.setMarkers([markersMap])
  2134. }
  2135. that.$refs.supermapDialog.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
  2136. }, 2000)
  2137. if (res.data.centermonitorTCamera != null) {
  2138. let markersMap = {
  2139. lng: 124.59,
  2140. lat: 43.02,
  2141. icon: 'camera',
  2142. bindPopupHtml: '',
  2143. click: 'preview',
  2144. parameter: {code:res.data.centermonitorTCamera.cameraCode,type:res.data.centermonitorTCamera.cameraFactory},
  2145. keepBindPopup: false,
  2146. isAggregation: true,
  2147. radius: 0
  2148. }
  2149. markersMap.bindPopupHtml = '<div class="map-tip">' +
  2150. '<span>' +
  2151. ' <div class="d-l-con">' +
  2152. ' <div class="d-l-l-text">' +
  2153. ' <h4>摄像头名称:' + res.data.centermonitorTCamera.cameraName + '</h4>' +
  2154. ' </div>' +
  2155. ' </div>' +
  2156. ' </span>' +
  2157. '<span>' +
  2158. '</div>'
  2159. markersMap.lng = res.data.centermonitorTCamera.longitude
  2160. markersMap.lat = res.data.centermonitorTCamera.latitude
  2161. setTimeout(() => {
  2162. that.$refs.supermapDialog.setMarkers([markersMap])
  2163. }, 2000)
  2164. }
  2165. })
  2166. },
  2167. refreshEventDialog(eventCode) {
  2168. //刷新--事件日志
  2169. getEventDetail({ eventCode: eventCode }).then(res => {
  2170. this.eventLogList = res.data.eventlog
  2171. this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
  2172. })
  2173. },
  2174. // 页面元素转图片
  2175. toImage() {
  2176. this.$message.success(`正在上传!请稍后...`)
  2177. // 手动创建一个 canvas 标签
  2178. const canvas = document.createElement('canvas')
  2179. // 获取父标签,意思是这个标签内的 DOM 元素生成图片
  2180. // imageTofile是给截图范围内的父级元素自定义的ref名称
  2181. // let canvasBox = this.$refs.imageTofile
  2182. let canvasBox = document.getElementById('forestWarmSuperMap')
  2183. let toolbar = document.getElementById('toolbar')
  2184. canvasBox.removeChild(toolbar)
  2185. // 获取父级的宽高
  2186. const width = parseInt(window.getComputedStyle(canvasBox).width)
  2187. const height = parseInt(window.getComputedStyle(canvasBox).height)
  2188. // 宽高 * 2 并放大 2 倍 是为了防止图片模糊
  2189. canvas.width = width * 2
  2190. canvas.height = height * 2
  2191. canvas.style.width = width + 'px'
  2192. canvas.style.height = height + 'px'
  2193. const context = canvas.getContext('2d')
  2194. context.scale(2, 2)
  2195. const options = {
  2196. backgroundColor: null,
  2197. canvas: canvas,
  2198. useCORS: true
  2199. }
  2200. html2canvas(canvasBox, options).then((canvas) => {
  2201. // toDataURL 图片格式转成 base64
  2202. let dataBase64 = canvas.toDataURL('image/png')
  2203. this.uploadBase64(dataBase64)
  2204. })
  2205. canvasBox.appendChild(toolbar)
  2206. },
  2207. uploadBase64(dataBase64) {
  2208. //事件详情截图直接上传日志
  2209. uploadBase64({ eventCode: this.eventCode, base64: dataBase64 }).then(res => {
  2210. if (res.code == 200) {
  2211. this.$message.success(`截图上传成功!`)
  2212. this.refreshEventDialog(this.eventCode)
  2213. }
  2214. })
  2215. },
  2216. regionalFlagAdd: function() {//火灾区域
  2217. this.regionalFlagObj.array = []
  2218. this.regionalFlagOpen = true
  2219. },
  2220. showAreaLatLng: function(latlng) {//获取火灾区域经纬度
  2221. this.regionalFlagObj.array = latlng
  2222. this.$modal.msgSuccess('获取坐标成功!')
  2223. },
  2224. /** ----------------------------------摄像头预览开始------------------------------------- */
  2225. alertLogin: function() {
  2226. this.$modal.msg('登录中....')
  2227. },
  2228. alertLoginSuccess: function() {
  2229. this.$modal.msgSuccess('登录成功!')
  2230. },
  2231. alertLoginFailed: function() {
  2232. this.$modal.msgError('登陆失败!')
  2233. },
  2234. alertReinstall: function() {
  2235. this.$modal.msgWarning('请重新安装客户端')
  2236. },
  2237. cancelEventLocationShow() {
  2238. if (this.oWebControl != null) {
  2239. this.oWebControl.JS_HideWnd() // 先让窗口隐藏,规避可能的插件窗口滞后于浏览器消失问题
  2240. this.oWebControl.JS_Disconnect().then(function() { // 断开与插件服务连接成功
  2241. },
  2242. function() { // 断开与插件服务连接失败
  2243. })
  2244. }
  2245. },
  2246. /** 预览按钮操作 */
  2247. preview(cameraParam) {
  2248. if(cameraParam.type=='1'){
  2249. getDahuaVideoServer().then(newResponse => {
  2250. console.log(newResponse)
  2251. this.ws.detectConnectQt().then(res => {
  2252. if (res) { // 连接客户端成功
  2253. this.alertLogin()
  2254. this.ws.login({
  2255. loginIp: newResponse.loginIp,
  2256. loginPort: newResponse.loginPort,
  2257. userName: newResponse.userName,
  2258. userPwd: newResponse.userPwd,
  2259. token: '',
  2260. https: 1
  2261. })
  2262. this.ws.on('loginState', (res) => {
  2263. this.isLogin = res
  2264. console.log('---res-----', res)
  2265. if (res) {
  2266. this.alertLoginSuccess()
  2267. this.activePanel = 'key2'
  2268. this.realTimeVideoDialog(cameraParam.code)
  2269. } else {
  2270. this.alertLoginFailed()
  2271. }
  2272. })
  2273. } else { // 连接客户端失败
  2274. this.alertReinstall()
  2275. }
  2276. })
  2277. })
  2278. }else if(cameraParam.type=='0'){
  2279. let that = this
  2280. that.cameraVisible = true
  2281. getHaiKangVideoServer({cameraCode:cameraParam.code}).then(newResponse => {
  2282. that.cameraTitle = '摄像头-'+newResponse.data.cameraName
  2283. that.initPlugin(newResponse.data.appkey,newResponse.data.loginIp,newResponse.data.secret,newResponse.data.loginPort)
  2284. setTimeout(function() {
  2285. that.playhk(newResponse.data.channelCode)
  2286. }, 5000)
  2287. })
  2288. }
  2289. },
  2290. realTimeVideoDialog(cameraParams) { // 调用弹窗实时播放接口
  2291. if (!this.isLogin) {
  2292. this.$Message.info('正在登陆客户端,请稍等......')
  2293. return false
  2294. }
  2295. const params = [cameraParams];
  2296. this.ws.openVideo(params)
  2297. },
  2298. /** ----------------------------------摄像头预览结束------------------------------------- */
  2299. /** ----------------------------------海康摄像头预览开始------------------------------------- */
  2300. // 创建播放实例
  2301. initPlugin(newappkey, newloginIp, newsecret, newloginPort) {
  2302. let that = this
  2303. that.oWebControl = new WebControl({
  2304. szPluginContainer: 'playWnd', // 指定容器id
  2305. iServicePortStart: 15900, // 指定起止端口号,建议使用该值
  2306. iServicePortEnd: 15909,
  2307. szClassId: '23BF3B0A-2C56-4D97-9C03-0CB103AA8F11', // 用于IE10使用ActiveX的clsid
  2308. cbConnectSuccess: function() { // 创建WebControl实例成功
  2309. that.oWebControl.JS_StartService('window', { // WebControl实例创建成功后需要启动服务
  2310. dllPath: './VideoPluginConnect.dll' // 值"./VideoPluginConnect.dll"写死
  2311. }).then(function() { // 启动插件服务成功
  2312. that.oWebControl.JS_SetWindowControlCallback({ // 设置消息回调
  2313. cbIntegrationCallBack: cbIntegrationCallBack
  2314. })
  2315. that.oWebControl.JS_CreateWnd('playWnd', 1020, 600).then(function() { //JS_CreateWnd创建视频播放窗口,宽高可设定
  2316. that.init(newappkey, newloginIp, newsecret, newloginPort) // 创建播放实例成功后初始化
  2317. })
  2318. }, function() { // 启动插件服务失败
  2319. })
  2320. },
  2321. cbConnectError: function() { // 创建WebControl实例失败
  2322. that.oWebControl = null
  2323. $('#playWnd').html('插件未启动,正在尝试启动,请稍候...<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  2324. WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
  2325. that.initCount++
  2326. if (that.initCount < 3) {
  2327. setTimeout(function() {
  2328. that.initPlugin(newappkey, newloginIp, newsecret, newloginPort)
  2329. }, 3000)
  2330. } else {
  2331. $('#playWnd').html('插件启动失败,请检查插件是否安装!<a href="./hk/VideoWebPlugin.exe">点击下载插件</a>')
  2332. }
  2333. },
  2334. cbConnectClose: function(bNormalClose) {
  2335. // 异常断开:bNormalClose = false
  2336. // JS_Disconnect正常断开:bNormalClose = true
  2337. that.oWebControl = null
  2338. }
  2339. })
  2340. },
  2341. //播放海康摄像头
  2342. playhk(channelCode) {
  2343. var cameraIndexCode = channelCode //获取输入的监控点编号值,必填
  2344. var streamMode = 0 //主子码流标识:0-主码流,1-子码流
  2345. var transMode = 1 //传输协议:0-UDP,1-TCP
  2346. var gpuMode = 0 //是否启用GPU硬解,0-不启用,1-启用
  2347. var wndId = -1 //播放窗口序号(在2x2以上布局下可指定播放窗口)
  2348. cameraIndexCode = cameraIndexCode.replace(/(^\s*)/g, '')
  2349. cameraIndexCode = cameraIndexCode.replace(/(\s*$)/g, '')
  2350. this.oWebControl.JS_RequestInterface({
  2351. funcName: 'startPreview',
  2352. argument: JSON.stringify({
  2353. cameraIndexCode: cameraIndexCode, //监控点编号
  2354. streamMode: streamMode, //主子码流标识
  2355. transMode: transMode, //传输协议
  2356. gpuMode: gpuMode, //是否开启GPU硬解
  2357. wndId: wndId //可指定播放窗口
  2358. })
  2359. })
  2360. },
  2361. //初始化
  2362. init(newappkey, newloginIp, newsecret, newloginPort) {
  2363. let that = this
  2364. that.getPubKey(function() {
  2365. ////////////////////////////////// 请自行修改以下变量值 ////////////////////////////////////
  2366. var appkey = newappkey //综合安防管理平台提供的appkey,必填
  2367. var secret = that.setEncrypt(newsecret) //综合安防管理平台提供的secret,必填
  2368. var ip = newloginIp //综合安防管理平台IP地址,必填
  2369. var playMode = 0 //初始播放模式:0-预览,1-回放
  2370. var port = Number(newloginPort) //综合安防管理平台端口,若启用HTTPS协议,默认443
  2371. var snapDir = 'D:\\SnapDir' //抓图存储路径
  2372. var videoDir = 'D:\\VideoDir' //紧急录像或录像剪辑存储路径
  2373. var layout = '1x1' //playMode指定模式的布局
  2374. var enableHTTPS = 1 //是否启用HTTPS协议与综合安防管理平台交互,这里总是填1
  2375. var encryptedFields = 'secret' //加密字段,默认加密领域为secret
  2376. var showToolbar = 1 //是否显示工具栏,0-不显示,非0-显示
  2377. var showSmart = 1 //是否显示智能信息(如配置移动侦测后画面上的线框),0-不显示,非0-显示
  2378. var buttonIDs = '0,16,256,257,258,259,260,512,513,514,515,516,517,768,769' //自定义工具条按钮
  2379. ////////////////////////////////// 请自行修改以上变量值 ////////////////////////////////////
  2380. that.oWebControl.JS_RequestInterface({
  2381. funcName: 'init',
  2382. argument: JSON.stringify({
  2383. appkey: appkey, //API网关提供的appkey
  2384. secret: secret, //API网关提供的secret
  2385. ip: ip, //API网关IP地址
  2386. playMode: playMode, //播放模式(决定显示预览还是回放界面)
  2387. port: port, //端口
  2388. snapDir: snapDir, //抓图存储路径
  2389. videoDir: videoDir, //紧急录像或录像剪辑存储路径
  2390. layout: layout, //布局
  2391. enableHTTPS: enableHTTPS, //是否启用HTTPS协议
  2392. encryptedFields: encryptedFields, //加密字段
  2393. showToolbar: showToolbar, //是否显示工具栏
  2394. showSmart: showSmart, //是否显示智能信息
  2395. buttonIDs: buttonIDs //自定义工具条按钮
  2396. })
  2397. }).then(function(oData) {
  2398. that.oWebControl.JS_Resize(1020, 600) // 初始化后resize一次,规避firefox下首次显示窗口后插件窗口未与DIV窗口重合问题
  2399. })
  2400. })
  2401. },
  2402. //获取公钥
  2403. getPubKey(callback) {
  2404. let that = this
  2405. that.oWebControl.JS_RequestInterface({
  2406. funcName: 'getRSAPubKey',
  2407. argument: JSON.stringify({
  2408. keyLength: 1024
  2409. })
  2410. }).then(function(oData) {
  2411. console.log(oData)
  2412. if (oData.responseMsg.data) {
  2413. that.pubKey = oData.responseMsg.data
  2414. callback()
  2415. }
  2416. })
  2417. },
  2418. //RSA加密
  2419. setEncrypt(value) {
  2420. var encrypt = new JSEncrypt()
  2421. encrypt.setPublicKey(this.pubKey)
  2422. return encrypt.encrypt(value)
  2423. },
  2424. /** ----------------------------------海康摄像头预览结束------------------------------------- */
  2425. /** ----------------------------------视频会议开始------------------------------------- */
  2426. sendMsg() {// 视频会议发送短信
  2427. let reg_user = /^[\u4e00-\u9fa5]{2,4}$/; //2-4个中文字符正则
  2428. 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位手机号码正则
  2429. for(let i in this.dutysystemTableData){
  2430. if(!reg_user.test(this.dutysystemTableData[i].name)){
  2431. this.$message.error(`请输入正确姓名!`)
  2432. return;
  2433. }
  2434. if(!reg_tel.test(this.dutysystemTableData[i].telphone)){
  2435. this.$message.error(`请输入正确手机号码!`)
  2436. return;
  2437. }
  2438. if(this.dutysystemTableData[i].id==null || this.dutysystemTableData[i].id==''){
  2439. this.dutysystemTableData[i].dept = this.dutysystemDeptName;
  2440. this.dutysystemTableData[i].depteventId = this.depteventId;
  2441. }
  2442. }
  2443. const param = {centereventTDutySystemList:this.dutysystemTableData,eventCode:this.eventCode,eventName:this.eventName,eventId:this.eventId}
  2444. sendMessage(param).then(res => {
  2445. this.$message.success(res.msg);
  2446. this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
  2447. this.showMeetingMsgDialog = false;
  2448. this.joinMeeting();
  2449. })
  2450. },
  2451. joinMeeting(){
  2452. let hwMeetingUrl;
  2453. selectConfigKey('hwMeetingUrl').then(res => {
  2454. hwMeetingUrl = res.data
  2455. window.open(hwMeetingUrl+"/joinConferences/"+this.eventId+"/"+this.eventName+"的会议"+"/"+Cookies.get("nickName"));
  2456. })
  2457. },
  2458. Meeting() {//弹出发送会议短信弹窗
  2459. let param = { eventCode: this.eventCode }
  2460. centereventtdepteventList(param).then(res => {
  2461. this.depteventList = res.data
  2462. this.showMeetingMsgDialog = true
  2463. this.initDutysystemTableData();
  2464. })
  2465. },
  2466. /** ----------------------------------视频会议结束------------------------------------- */
  2467. }
  2468. }
  2469. // 推送消息
  2470. function cbIntegrationCallBack(oData) {
  2471. console.log(JSON.stringify(oData.responseMsg))
  2472. }
  2473. </script>
  2474. <style lang="scss" scoped>
  2475. @import '@/assets/styles/base.scss';
  2476. //弹层样式
  2477. //.customWidthMp4 {
  2478. // width: 70px !important;
  2479. // height: 70px !important;
  2480. //}
  2481. .tree-border {
  2482. border: 1px $barBorder;
  2483. }
  2484. button {
  2485. padding: .5rem;
  2486. }
  2487. /** 火灾报告**/
  2488. //@font-face {
  2489. // font-family: 'fontnameRegular';
  2490. // src: url('../../../../assets/styles/FZYTJW_0.TTF');
  2491. //}
  2492. body,
  2493. html,
  2494. * {
  2495. padding: 0px;
  2496. margin: 0px;
  2497. font-family: "fontnameRegular";
  2498. }
  2499. .table-container {
  2500. width: 100%;
  2501. }
  2502. .txt_right {
  2503. text-align: right !important;
  2504. }
  2505. .txt_left {
  2506. text-align: left !important;
  2507. }
  2508. table {
  2509. border-spacing: 0;
  2510. border-collapse: collapse;
  2511. width: 99%;
  2512. margin: 0 auto;
  2513. color: $inBlue;
  2514. }
  2515. table input {
  2516. font-size: 1rem;
  2517. border: 0px;
  2518. outline: 0px;
  2519. font-family: "微软雅黑";
  2520. background: none;
  2521. color: $inBlue;
  2522. }
  2523. table th input:hover {
  2524. background: $eventBG;
  2525. }
  2526. table thead th {
  2527. font-size: 1rem;
  2528. font-family: "宋体";
  2529. height: 2rem;
  2530. border-top: 0px;
  2531. border-left: 0px;
  2532. border-right: 0px;
  2533. outline: 0px;
  2534. }
  2535. table tr td {
  2536. font-size: 1rem;
  2537. font-family: "fontnameRegular";
  2538. height: 2rem;
  2539. border: 1px $searchBorder;
  2540. text-align: center;
  2541. }
  2542. .font1 {
  2543. font-size: 1.7rem;
  2544. font-weight: bolder;
  2545. }
  2546. .border0 {
  2547. width: 100% !important;
  2548. }
  2549. .border0 tr td {
  2550. border: 0px !important;
  2551. }
  2552. table tr td input {
  2553. width: 100%;
  2554. /* display: inline-block;*/
  2555. outline: 0px;
  2556. text-align: left;
  2557. height: 94%;
  2558. color: $inBlue;
  2559. background: none;
  2560. float: left;
  2561. padding: 0 .5rem;
  2562. }
  2563. table tr td input:hover {
  2564. background: $eventBG;
  2565. }
  2566. .int_tr td input {
  2567. text-align: center !important;
  2568. }
  2569. .table2 tr th {
  2570. font-size: 1.7rem;
  2571. padding: .5rem 0;
  2572. font-family: 'fontnameRegular';
  2573. }
  2574. .table2 tr td {
  2575. font-size: 1rem;
  2576. }
  2577. .table2 tr td select {
  2578. border: 0px !important;
  2579. outline: 0px;
  2580. width: 100%;
  2581. font-family: "微软雅黑";
  2582. font-size: 1rem;
  2583. padding-left: 1%;
  2584. color: $inBlue;
  2585. background: none;
  2586. }
  2587. .table2 tr td select:hover {
  2588. background: $eventBG;
  2589. }
  2590. .table2 tr td select option {
  2591. font-size: 1rem;
  2592. font-family: "微软雅黑";
  2593. }
  2594. .border_l0 {
  2595. // border-right: 1px solid #ececec !important;
  2596. }
  2597. .table2 tr td textarea {
  2598. border: 0px !important;
  2599. outline: 0px;
  2600. width: 98%;
  2601. padding: .5rem;
  2602. font-size: 1rem;
  2603. resize: none;
  2604. background: none;
  2605. color: $inBlue;
  2606. }
  2607. .table2 tr td textarea:hover {
  2608. background: $eventBG;
  2609. }
  2610. .tr_border td {
  2611. border-right: 0px !important;
  2612. border-left: 0px !important;
  2613. border-bottom: 0px !important;
  2614. font-size: 15px;
  2615. }
  2616. .btm-btn-group {
  2617. padding: 1rem 0;
  2618. width: 100%;
  2619. display: flex;
  2620. button {
  2621. padding: .5rem 2rem;
  2622. }
  2623. }
  2624. // 20220928
  2625. .yatz_button {
  2626. padding: 0.5rem 0.5rem;
  2627. color: #409EFF;
  2628. background: none;
  2629. border-color: #409EFF;
  2630. }
  2631. .yatz_button:hover {
  2632. color: #fff;
  2633. background: #409EFF;
  2634. border-color: #409EFF;
  2635. }
  2636. .fr_button {
  2637. float: right;
  2638. padding: 0.5rem 1.5rem;
  2639. }
  2640. .bottom {
  2641. width: 100%;
  2642. height: calc(100% - 80px);
  2643. display: flex;
  2644. .bottomLeft {
  2645. width: 288px;
  2646. height: 500px;
  2647. overflow-y: auto;
  2648. .leftItem {
  2649. width: 100%;
  2650. height: 50px;
  2651. line-height: 50px;
  2652. text-align: center;
  2653. cursor: pointer;
  2654. }
  2655. }
  2656. .bottomRight {
  2657. width: calc(100% - 288px);
  2658. height: 500px;
  2659. box-sizing: border-box;
  2660. padding: 36px 36px 0 36px;
  2661. overflow-y: auto;
  2662. .bottomRightContent {
  2663. width: 100%;
  2664. box-sizing: border-box;
  2665. padding-bottom: 36px;
  2666. .bottomRightContentHead {
  2667. height: 25px;
  2668. font-family: PingFang SC;
  2669. font-style: normal;
  2670. font-weight: 600;
  2671. font-size: 24px;
  2672. line-height: 25px;
  2673. text-transform: capitalize;
  2674. color: rgba(0, 0, 0, 0.85);
  2675. margin-bottom: 32px;
  2676. }
  2677. .bottomRightContentBody {
  2678. .el-col {
  2679. position: relative;
  2680. margin-bottom: 18px;
  2681. .circle {
  2682. display: inline-block;
  2683. width: 6px;
  2684. height: 6px;
  2685. background: #4677f6;
  2686. border-radius: 50%;
  2687. position: absolute;
  2688. top: 8px;
  2689. left: 0;
  2690. }
  2691. .word {
  2692. margin-left: 12px;
  2693. font-family: PingFang SC;
  2694. font-style: normal;
  2695. font-weight: normal;
  2696. font-size: 14px;
  2697. color: #4677f6;
  2698. cursor: pointer;
  2699. }
  2700. .word:hover {
  2701. text-decoration: underline;
  2702. }
  2703. .topPlace {
  2704. position: absolute;
  2705. top: 1px;
  2706. margin-left: 8px;
  2707. }
  2708. }
  2709. }
  2710. .bottomRightContentFooter {
  2711. height: 1px;
  2712. width: 100%;
  2713. margin-top: 14px;
  2714. }
  2715. }
  2716. }
  2717. }
  2718. </style>