89cd5ed8d82dfdcbc5e4d578b91819d9a64823cf.svn-base 83 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199
  1. <template>
  2. <div class="mainBox" id="mainBox">
  3. <div class="mainHeader">
  4. <div class="header-left">
  5. <div class="date-down myselect" @click="showHideDate">
  6. <div class="myselect">时间</div>
  7. <div class="myselect" :title="selectDateName">{{selectDateName}}</div>
  8. <div class="myselect"><i :class="iconDate"></i></div>
  9. <ul class="myselect" v-if="isDateVisible">
  10. <li class="myselect line-data" :title="item.label" @click.stop="dataChange(item.label,item.value)" v-for="item in options">{{item.label}}</li>
  11. </ul>
  12. </div>
  13. <div class="date-down " @click="showHideType">
  14. <div class="myselect">类型</div>
  15. <div class="myselect" :title="selectTypeName">{{selectTypeName}}</div>
  16. <div class="myselect"><i :class="iconType"></i></div>
  17. <ul class="myselect" v-if="isTypeVisible">
  18. <li class="myselect line-data" :title="item.inspName" @click.stop="dcTypeChange(item.inspName,item.inspType)" v-for="item in dcTypeList">{{item.inspName}}</li>
  19. </ul>
  20. </div>
  21. <div class="date-down " @click="showHideOrg" v-if="isSd">
  22. <div class="myselect">机构</div>
  23. <div class="myselect" :title="selectOrgName">{{selectOrgName}}</div>
  24. <div class="myselect"><i :class="iconOrg"></i></div>
  25. <ul class="myselect" v-if="isOrgVisible">
  26. <li class="myselect line-data" :title="item.label" @click.stop="dataOrg(item.label,item.value)" v-for="item in orgList">{{item.label}}</li>
  27. </ul>
  28. </div>
  29. <!-- <el-select v-model="selectDate" placeholder="请选择" size="mini" @change="dataChange">-->
  30. <!-- <el-option-->
  31. <!-- v-for="item in options"-->
  32. <!-- :key="item.value"-->
  33. <!-- :label="item.label"-->
  34. <!-- :value="item.value">-->
  35. <!-- </el-option>-->
  36. <!-- </el-select>-->
  37. <!-- <el-select v-model="selectType" placeholder="请选择" size="mini" @change="dcTypeChange">-->
  38. <!-- <el-option-->
  39. <!-- v-for="item in dcTypeList"-->
  40. <!-- :key="item.inspType"-->
  41. <!-- :label="item.inspName"-->
  42. <!-- :value="item.inspType">-->
  43. <!-- </el-option>-->
  44. <!-- </el-select>-->
  45. </div>
  46. <div class="header-middle">{{title}}</div>
  47. <div class="header-right">
  48. <div class="hourMs">{{currentTimestap}}</div>
  49. <div class="timeContent">
  50. <div class="timeOrWeek times">{{currentTime}}</div>
  51. <div class="timeOrWeek weeks">{{currentWeek}}</div>
  52. </div>
  53. <div class="turnBtn" @click="slideHeader">{{turnName}}</div>
  54. </div>
  55. </div>
  56. <div class="mainContent" id="mainContent">
  57. <div class="mainContent-left">
  58. <div class="mainContent-left-top">
  59. <div class="mainContent-left-top-left">
  60. <div class="summary-item">
  61. <div class="summary-item-col" @click="showPerson" style="cursor:pointer;">
  62. <div class="summary-title">
  63. <img src="../../assets/person.png">
  64. <div class="summary-text">
  65. <span class="summary-pointer">人员</span>
  66. <span class="summary-group">单位:(个)</span>
  67. </div>
  68. <img src="../../assets/right.png">
  69. </div>
  70. <div class="summary-content">
  71. <countTo :startVal='0' :endVal='statiscsData.PERSIZE' :duration='2000'></countTo>
  72. </div>
  73. </div>
  74. <div class="summary-item-col" @click="showPblm" style="cursor:pointer;">
  75. <div class="summary-title">
  76. <img src="../../assets/question.png">
  77. <div class="summary-text">
  78. <span class="summary-pointer">问题数</span>
  79. <span class="summary-group">单位:(个)</span>
  80. </div>
  81. <img src="../../assets/right.png">
  82. </div>
  83. <div class="summary-content">
  84. <countTo :startVal='0' :endVal='statiscsData.PBLMSIZE' :duration='2000'></countTo>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="summary-item">
  89. <div class="summary-item-col" @click="showGroup" style="cursor:pointer;">
  90. <div class="summary-title">
  91. <img src="../../assets/group.png">
  92. <div class="summary-text">
  93. <span class="summary-pointer">工作组</span>
  94. <span class="summary-group">单位:(个)</span>
  95. </div>
  96. <img src="../../assets/right.png">
  97. </div>
  98. <div class="summary-content">
  99. <countTo :startVal='0' :endVal='statiscsData.BISINSPALLGROUPSIZE' :duration='2000'></countTo>
  100. </div>
  101. </div>
  102. <div class="summary-item-col" @click="showMend" style="cursor:pointer;">
  103. <div class="summary-title">
  104. <img src="../../assets/zgnum.png">
  105. <div class="summary-text">
  106. <span class="summary-pointer">整改数</span>
  107. <span class="summary-group">单位:(个)</span>
  108. </div>
  109. <img src="../../assets/right.png">
  110. </div>
  111. <div class="summary-content">
  112. <countTo :startVal='0' :endVal='statiscsData.MENDSIZE' :duration='2000'></countTo>
  113. </div>
  114. </div>
  115. </div>
  116. <div class="summary-item">
  117. <div class="summary-item-col" @click="showObj" style="cursor:pointer;">
  118. <div class="summary-title">
  119. <img src="../../assets/object.png">
  120. <div class="summary-text">
  121. <span class="summary-pointer">对象</span>
  122. <span class="summary-group">单位:(个)</span>
  123. </div>
  124. <img src="../../assets/right.png" >
  125. </div>
  126. <div class="summary-content">
  127. <countTo :startVal='0' :endVal='statiscsData.OBJSIZE' :duration='2000'></countTo>
  128. </div>
  129. </div>
  130. <div class="summary-item-col" v-if="organCode!='660000000000'" @click="showPblmLog">
  131. <div class="summary-title">
  132. <img src="../../assets/xhNum.png">
  133. <div class="summary-text">
  134. <span class="summary-pointer">销号数</span>
  135. <span class="summary-group">单位:(个)</span>
  136. </div>
  137. <img src="../../assets/right.png">
  138. </div>
  139. <div class="summary-content">
  140. <countTo :startVal='0' :endVal='statiscsData.PBLMLOGSIZE' :duration='2000'></countTo>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. <div class="mainContent-left-top-right" id="chart1"></div>
  146. </div>
  147. <div class="mainContent-left-bottom">
  148. <div class="echarts-bottom">
  149. <div class="echarts-bottom-title"><span>督查对象分类问题数</span></div>
  150. <div class="echarts-bottom-content" id="chart2"></div>
  151. </div>
  152. <div class="echarts-bottom">
  153. <div class="echarts-bottom-title"><span>督查对象区域分布</span></div>
  154. <div class="echarts-bottom-content" id="chart3"></div>
  155. </div>
  156. <!-- <div class="echarts-bottom">-->
  157. <!-- <div class="echarts-bottom-title"><span>问题区域分布情况</span></div>-->
  158. <!-- <div class="echarts-bottom-content" id="chart4"></div>-->
  159. <!-- </div>-->
  160. <div class="echarts-bottom">
  161. <div class="echarts-bottom-title"><span>问题等级统计</span></div>
  162. <div class="echarts-bottom-content" id="chart5"></div>
  163. </div>
  164. </div>
  165. </div>
  166. <div class="mainContent-right">
  167. <div class="mainContent-right-top">
  168. <div class="echarts-bottom-title"><span>通知公告</span></div>
  169. <div class="echarts-bottom-content tzgg">
  170. <ul class="cms-news">
  171. <li v-if="messageList!=null && messageList.length>0" v-for="(item,index) in messageList" @click="showMessage(item)">{{item.title}}</li>
  172. </ul>
  173. </div>
  174. </div>
  175. <div class="mainContent-right-style1">
  176. <div class="echarts-bottom-title"><span>近期面貌</span></div>
  177. <div class="echarts-bottom-content" ref="banner">
  178. <el-carousel :height="bannerHeight" id="nearFace">
  179. <el-carousel-item v-if="nearFaceList!=null && nearFaceList.length>0" v-for="(item,index) in nearFaceList" >
  180. <!-- <a :href="`${hostUrl}/${item.filePath}`" target="_blank" style="position: relative;display: block;;width: 100%;height:100%;">-->
  181. <div class="titleCar" :title="item.objName">{{item.objName}}</div>
  182. <img :src="`${hostUrl}/${item.filePath}`" :alt="item.objName" style="width: 100%;height:100%;">
  183. <!-- </a>-->
  184. </el-carousel-item>
  185. </el-carousel>
  186. </div>
  187. </div>
  188. <!-- <div class="mainContent-right-style">-->
  189. <!-- <div class="echarts-bottom-title"><span>问题图片</span></div>-->
  190. <!-- <div class="echarts-bottom-content">-->
  191. <!-- <el-carousel :height="bannerHeight">-->
  192. <!-- <el-carousel-item v-if="questionImgList!=null && questionImgList.length>0" v-for="(item,index) in questionImgList">-->
  193. <!-- <a :href="`${hostUrl}/${item.filePath}`" target="_blank"><img :src="`${hostUrl}/${item.filePath}`"></a>-->
  194. <!-- </el-carousel-item>-->
  195. <!-- </el-carousel>-->
  196. <!-- </div>-->
  197. <!-- </div>-->
  198. <div class="mainContent-right-style2">
  199. <div class="echarts-bottom-title"><span>问题视频</span></div>
  200. <div class="echarts-bottom-content">
  201. <el-carousel :height="bannerHeight">
  202. <el-carousel-item v-if="questionVideoList!=null && questionVideoList.length>0" v-for="(item,index) in questionVideoList">
  203. <a :href="`${item.filePath}`" target="_blank" style="position: relative;display: block;width: 100%;height:100%;">
  204. <div class="titleCar" :title="item.objName">{{item.objName}}</div>
  205. <video :src="`${hostUrl}/${item.filePath}`" controls="controls" style="width:100%;height:100%;"></video>
  206. </a>
  207. </el-carousel-item>
  208. </el-carousel>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. <messageDetail v-if="isShowMessageDetail" :data="messageData" @closeDialog="closeDialog"></messageDetail>
  214. <pblmList v-if="isShowPblmList" :param="pblmParam" @closeDialogPblm="closeDialogPblm"></pblmList>
  215. <objList v-if="isShowObjList" :param="objParam" @closeDialogObj="closeDialogObj"></objList>
  216. <personList v-if="isShowPersonList" :param="personParam" @closeDialogPerson="closeDialogPerson"></personList>
  217. <groupList v-if="isShowGroupList" :param="groupParam" @closeDialogGroup="closeDialogGroup"></groupList>
  218. <mendList v-if="isShowMendList" :param="mendParam" @closeDialogMend="closeDialogMend"></mendList>
  219. <pblmLogList v-if="isShowPblmLogList" :param="pblmLogParam" @closeDialogPblmLog="closeDialogPblmLog"></pblmLogList>
  220. </div>
  221. </template>
  222. <script>
  223. import countTo from 'vue-count-to';
  224. import Viewer from 'viewerjs';
  225. import 'viewerjs/dist/viewer.css';
  226. import echarts from "echarts";
  227. // import 'echarts-gl';
  228. import '@util/echarts-gl.min.js';
  229. import axios from 'axios' //引入axios
  230. import request from "@util/gw_ajax_request.js";
  231. import messageDetail from "./messageDetail";
  232. import pblmList from "./pblmList";
  233. import objList from "./objList";
  234. import personList from "./personList";
  235. import groupList from "./groupList";
  236. import mendList from "./mendList";
  237. import pblmLogList from "./pblmLogList";
  238. import {formatDate} from "@util/gw_date.js"
  239. import { hostUrl } from "@util/global_variable.js";
  240. import {
  241. getMessage,
  242. getDcPblmCount,
  243. getDcANCount,
  244. getDcType,
  245. getPblmPro,
  246. getStatiscsData,
  247. getDcTbItem,
  248. getBannerList,
  249. getNearFaceList,
  250. getQuestionImgList,
  251. getQuestionVideoList
  252. } from "../../api/homeMainView.js";
  253. export default {
  254. components: {
  255. countTo,
  256. messageDetail,
  257. pblmList,
  258. objList,
  259. personList,
  260. groupList,
  261. mendList,
  262. pblmLogList
  263. },
  264. props: [],
  265. data() {
  266. //这里存放数据
  267. return {
  268. currentHeight:window.innerHeight,
  269. title:"福建水利监管可视化",
  270. turnvalue:"0",
  271. fullvalue:"0",
  272. turnName:"全屏",
  273. isDate:true,
  274. selectDate:"6",
  275. selectDateName:"今年以来",
  276. selectOrg:"6",
  277. selectOrgName:"今年以来",
  278. isDateVisible:false,
  279. selectType:"",
  280. selectTypeName:"全部",
  281. selectOrgName:"全部",
  282. isTypeVisible:false,
  283. isOrgVisible:false,
  284. iconDown:"el-icon-arrow-down myselect",
  285. iconUp:"el-icon-arrow-up myselect",
  286. iconType:"el-icon-arrow-down myselect",
  287. iconDate:"el-icon-arrow-down myselect",
  288. iconOrg:"el-icon-arrow-down myselect",
  289. chart1:null,
  290. chart2:null,
  291. chart3:null,
  292. chart4:null,
  293. chart5:null,
  294. currentTimestap:"",
  295. currentWeek:"",
  296. currentTime:"",
  297. //督察类别
  298. dcTypeList:[],
  299. //日期选择项
  300. options:[
  301. {
  302. label:"近一个月",
  303. value:"1"
  304. },
  305. {
  306. label:"近三个月",
  307. value:"2"
  308. },
  309. {
  310. label:"近半年",
  311. value:"3"
  312. },
  313. {
  314. label:"近一年",
  315. value:"4"
  316. },
  317. {
  318. label:"今年以来",
  319. value:"6"
  320. },
  321. {
  322. label:"有记录至今",
  323. value:"5"
  324. }
  325. ],
  326. orgList:[
  327. {
  328. label:"省调水工程运行维护中心",
  329. value:"1"
  330. },
  331. {
  332. label:"山东水利职业学院",
  333. value:"2"
  334. },
  335. {
  336. label:"省水利科学研究院",
  337. value:"4"
  338. },
  339. {
  340. label:"省防汛抗旱物资储备中心",
  341. value:"6"
  342. },
  343. {
  344. label:"省海河淮河小清河流域水利管理服务中心",
  345. value:"3"
  346. },
  347. {
  348. label:"省水利综合事业服务中心",
  349. value:"2"
  350. },
  351. {
  352. label:"省水利工程建设质量与安全中心",
  353. value:"5"
  354. }
  355. ],
  356. //统计看板数据
  357. statiscsData:{
  358. BISINSPALLGROUPSIZE:0,
  359. BISINSPALLSIZE: 0,
  360. BISINSPALLSIZEMONTH: 0,
  361. HASOBJSIZE: 0,
  362. MENDSIZE: 0,
  363. MENDSIZEMONTH: 0,
  364. OBJSIZE: 0,
  365. OBJTYPESIZE: 0,
  366. OBJTYPESIZEMONTH: 0,
  367. PBLMLOGSIZE: 0,
  368. PBLMLOGSIZEMONTH: 0,
  369. PBLMSIZE: 0,
  370. PBLMSIZEMONTH: 0,
  371. PERSIZE: 0
  372. },
  373. //对象总数或问题总数
  374. sumCount:0,
  375. //地图数据
  376. chartMapData:{
  377. mapPercent:[],
  378. geoCoordMap:{},
  379. geoCoordMapList:[],
  380. },
  381. //督察类别数量
  382. chartDcTypeData:{
  383. count:0,
  384. dataList:[]
  385. },
  386. chartObjData:{
  387. xData:[],
  388. dataList:[]
  389. },
  390. chartPblmData:{
  391. xData:[],
  392. dataList:[]
  393. },
  394. chartMendPblmData:{
  395. xData:[],
  396. dataList:[]
  397. },
  398. chartPblmTypeData:{
  399. info:0,
  400. warn:0,
  401. fatal:0,
  402. error:0
  403. },
  404. messageList:[],
  405. bannerList:[],
  406. bannerHeight:"0",
  407. addvcdList:[],
  408. adCode:"",
  409. adName:"",
  410. nearFaceList:[],
  411. questionImgList:[],
  412. questionVideoList:[],
  413. timerData:null,
  414. isShowMessageDetail:false,
  415. messageData:null,
  416. isShowPblmList:false,
  417. isShowObjList:false,
  418. isShowPersonList:false,
  419. isShowGroupList:false,
  420. isShowMendList:false,
  421. isShowPblmLogList:false,
  422. pblmParam:{},
  423. objParam:{},
  424. personParam:{},
  425. groupParam:{},
  426. mendParam:{},
  427. pblmLogParam:{},
  428. currentCode:""
  429. }
  430. },
  431. //监听属性 类似于data概念
  432. computed: {
  433. formatDateTime() {
  434. return formatDate
  435. },
  436. hostUrl(){
  437. return hostUrl
  438. },
  439. organNm() {
  440. return localStorage.getItem('currentOrgNm') ? localStorage.getItem('currentOrgNm') : ''
  441. },
  442. organCode() {
  443. return localStorage.getItem('currentRlcode') ? localStorage.getItem('currentRlcode') : ''
  444. },
  445. currentOrgId() {
  446. return localStorage.getItem('currentOrgId') ? localStorage.getItem('currentOrgId') : ''
  447. },
  448. isSd(){
  449. if(localStorage.getItem('currentRlcode').substring(0,2)=='37'){
  450. return true;
  451. }else{
  452. return false;
  453. }
  454. }
  455. },
  456. //监控data中的数据变化
  457. watch: {
  458. },
  459. //生命周期 - 创建完成(可以访问当前this实例)
  460. created() {
  461. this.currentCode = this.organCode;
  462. this.initDcType();
  463. let currentOrgId = localStorage.getItem("currentOrgId")
  464. if(currentOrgId == '041'){
  465. this.title = '水利监督'
  466. }else if(localStorage.getItem('currentRlcode').substring(0,2)=='37'){
  467. this.title = '山东省水利监督信息系统'
  468. }else if(currentOrgId == '055'){
  469. this.title = '海南水务监督平台'
  470. }else if (localStorage.getItem('currentRlcode').substring(0,2)=='44') {
  471. this.title = '广东省水利监督'
  472. }else{
  473. this.title = localStorage.getItem("currentOrgNm")+'水利监督'
  474. }
  475. },
  476. //生命周期 - 挂载完成(可以访问DOM元素)
  477. mounted() {
  478. var _self = this;
  479. document.addEventListener('click',function(e){
  480. if(e.target.className!='myselect'){
  481. _self.isDateVisible = false;
  482. _self.isTypeVisible = false;
  483. _self.isOrgVisible = false;
  484. _self.iconDate = _self.iconDown;
  485. _self.iconType = _self.iconDown;
  486. _self.iconOrg = _self.iconDown;
  487. }
  488. })
  489. setInterval(function(){ _self.myTimer() }, 1000);
  490. this.initStatiscsData(this.organCode);
  491. this.initData();
  492. this.initData1();
  493. this.initMessage();
  494. this.initNearFace(this.organCode);
  495. this.initQuestionImg(this.organCode);
  496. this.initQuestionVideo(this.organCode);
  497. this.$nextTick(function () {
  498. var height= this.$refs.banner.offsetHeight;
  499. this.bannerHeight = height+"px";
  500. var _self = this;
  501. window.onresize = function() {
  502. var height= _self.$refs.banner.offsetHeight;
  503. _self.bannerHeight = height+"px";
  504. _self.resizeCharts();
  505. }
  506. });
  507. this.timerData = setInterval(this.IntervalData, 600000);
  508. },
  509. //方法集合
  510. methods: {
  511. showPerson(){
  512. this.isShowPersonList = true;
  513. this.personParam["timeType"] = this.selectDate;
  514. this.personParam["objType"] = this.selectType;
  515. this.personParam["objTypeName"] = this.selectTypeName;
  516. this.personParam["adCode"] = this.currentCode;
  517. this.personParam["adCode"] = this.currentCode;
  518. },
  519. showGroup(){
  520. this.isShowGroupList = true;
  521. this.groupParam["timeType"] = this.selectDate;
  522. this.groupParam["objType"] = this.selectType;
  523. this.groupParam["objTypeName"] = this.selectTypeName;
  524. this.groupParam["adCode"] = this.currentCode;
  525. },
  526. showMend(){
  527. this.isShowMendList = true;
  528. this.mendParam["timeType"] = this.selectDate;
  529. this.mendParam["objType"] = this.selectType;
  530. this.mendParam["objTypeName"] = this.selectTypeName;
  531. this.mendParam["adCode"] = this.currentCode;
  532. },
  533. showPblmLog(){
  534. this.isShowPblmLogList = true;
  535. this.pblmLogParam["timeType"] = this.selectDate;
  536. this.pblmLogParam["objType"] = this.selectType;
  537. this.pblmLogParam["objTypeName"] = this.selectTypeName;
  538. this.pblmLogParam["adCode"] = this.currentCode;
  539. },
  540. showObj(){
  541. this.isShowObjList = true;
  542. this.objParam["adCode"] = this.currentCode;
  543. this.objParam["timeType"] = this.selectDate;
  544. this.objParam["objType"] = this.selectType;
  545. this.objParam["objTypeName"] = this.selectTypeName;
  546. },
  547. showPblm(){
  548. this.isShowPblmList = true;
  549. this.pblmParam["adCode"] = this.currentCode;
  550. this.pblmParam["timeType"] = this.selectDate;
  551. this.pblmParam["objType"] = this.selectType;
  552. this.pblmParam["objTypeName"] = this.selectTypeName;
  553. },
  554. closeDialog(){
  555. this.isShowMessageDetail = false;
  556. this.messageData = null;
  557. },
  558. closeDialogPblm(){
  559. this.isShowPblmList = false;
  560. this.pblmParam = {};
  561. },
  562. closeDialogObj(){
  563. this.isShowObjList = false;
  564. this.objParam = {};
  565. },
  566. closeDialogPerson(){
  567. this.isShowPersonList = false;
  568. this.personParam = {};
  569. },
  570. closeDialogGroup(){
  571. this.isShowGroupList = false;
  572. this.groupParam = {};
  573. },
  574. closeDialogMend(){
  575. this.isShowMendList = false;
  576. this.mendParam = {};
  577. },
  578. closeDialogPblmLog(){
  579. this.isShowPblmLogList = false;
  580. this.pblmLogParam = {};
  581. },
  582. showMessage(data){
  583. this.isShowMessageDetail = true;
  584. this.messageData = data;
  585. },
  586. urlReplace(d){
  587. return this.hostUrl;
  588. },
  589. showHideDate(){
  590. this.isDateVisible = !this.isDateVisible;
  591. this.iconDate = (this.iconDate==this.iconDown?this.iconUp:this.iconDown);
  592. },
  593. showHideType(){
  594. this.isTypeVisible = !this.isTypeVisible;
  595. this.iconType = (this.iconType==this.iconDown?this.iconUp:this.iconDown);
  596. },
  597. showHideOrg(){
  598. this.isOrgVisible = !this.isOrgVisible;
  599. this.iconOrg = (this.iconOrg==this.iconDown?this.iconUp:this.iconDown);
  600. },
  601. IntervalData(){
  602. this.initStatiscsData(this.organCode);
  603. this.initData();
  604. this.initData1();
  605. this.initMessage();
  606. this.initNearFace(this.organCode);
  607. this.initQuestionImg(this.organCode);
  608. this.initQuestionVideo(this.organCode);
  609. },
  610. resizeCharts(){
  611. this.chart1.resize();
  612. this.chart2.resize();
  613. this.chart3.resize();
  614. // this.chart4.resize();
  615. this.chart5.resize();
  616. },
  617. initMessage(){
  618. var _self = this;
  619. getMessage({pageNum:1,pageSize:10,app:"1"}).then((res) => {
  620. _self.messageList = res.data.list;
  621. });
  622. },
  623. initNearFace(adCode){
  624. var _self = this;
  625. getNearFaceList(adCode,this.selectType).then((res) => {
  626. _self.nearFaceList = res.data;
  627. _self.$nextTick(function(){
  628. var ViewerDom = document.getElementById('nearFace');
  629. var viewer = new Viewer(ViewerDom, {})
  630. });
  631. });
  632. },
  633. initQuestionImg(adCode){
  634. var _self = this;
  635. getQuestionImgList(adCode,this.selectType).then((res) => {
  636. _self.questionImgList = res.data;
  637. });
  638. },
  639. initQuestionVideo(adCode){
  640. var _self = this;
  641. getQuestionVideoList(adCode,this.selectType).then((res) => {
  642. _self.questionVideoList = res.data;
  643. });
  644. },
  645. dataChange(name,value){
  646. this.isDate = true;
  647. this.selectDate = value;
  648. this.selectDateName = name;
  649. this.iconDate = this.iconDown;
  650. this.isDateVisible = false;
  651. this.initStatiscsData(this.organCode);
  652. this.initData();
  653. this.initData1();
  654. },
  655. dataOrg(name,value){
  656. this.isDate = false;
  657. this.selectOrg = value;
  658. this.selectOrgName = name;
  659. this.iconOrg = this.iconDown;
  660. this.isOrgVisible = false;
  661. this.initStatiscsData(this.organCode);
  662. this.initData();
  663. this.initData1();
  664. },
  665. dcTypeChange(name,value){
  666. this.selectType = value;
  667. this.selectTypeName = name;
  668. this.iconType = this.iconDown;
  669. this.isTypeVisible = false;
  670. this.initStatiscsData(this.organCode);
  671. this.initData();
  672. this.initNearFace(this.organCode);
  673. this.initQuestionImg(this.organCode);
  674. this.initQuestionVideo(this.organCode);
  675. },
  676. toVal(val){
  677. if(val!=null && val!=""){
  678. return val.toFixed(2)
  679. }
  680. return 0;
  681. },
  682. initData(){
  683. var _self = this;
  684. _self.chartPblmTypeData.info = 0;
  685. _self.chartPblmTypeData.warn = 0;
  686. _self.chartPblmTypeData.fatal = 0;
  687. _self.chartPblmTypeData.error = 0;
  688. _self.chartObjData.xData = [];
  689. _self.chartObjData.dataList = [];
  690. _self.chartPblmData.xData = [];
  691. _self.chartPblmData.dataList = [];
  692. _self.chartMendPblmData.xData = [];
  693. _self.chartMendPblmData.dataList = [];
  694. _self.chartMapData.mapPercent = [];
  695. _self.chartMapData.geoCoordMap = [];
  696. _self.chartMapData.geoCoordMapList = [];
  697. _self.addvcdList = [];
  698. _self.sumCount = 0;
  699. getPblmPro({timeType:_self.isDate?_self.selectDate:_self.selectOrg,objType:_self.selectType}).then((res) => {
  700. if(res.data!=null && res.data.length>0){
  701. for(var i = 0;i<res.data.length;i++){
  702. if(res.data[i].adName!="合计"){
  703. _self.chartObjData.xData.push(res.data[i].adName);
  704. _self.chartObjData.dataList.push({value:res.data[i].objSize,adCode:res.data[i].adCode,type:0});
  705. _self.chartPblmData.xData.push(res.data[i].adName);
  706. _self.chartPblmData.dataList.push({value:res.data[i].pblmSize,adCode:res.data[i].adCode,type:1});
  707. _self.chartMendPblmData.xData.push(res.data[i].adName);
  708. _self.chartMendPblmData.dataList.push({value:res.data[i].mendSize,adCode:res.data[i].adCode,type:1});
  709. _self.sumCount = _self.sumCount>(res.data[i].objSize>res.data[i].pblmSize?res.data[i].objSize:res.data[i].pblmSize)?_self.sumCount:(res.data[i].objSize>res.data[i].pblmSize?res.data[i].objSize:res.data[i].pblmSize);
  710. _self.sumCount = _self.sumCount>res.data[i].mendSize?_self.sumCount:res.data[i].mendSize;
  711. var obj = {
  712. name:res.data[i].adName,
  713. value:_self.toVal(res.data[i].mendSizeRant)
  714. }
  715. _self.addvcdList.push({
  716. name:res.data[i].adName,
  717. value:res.data[i].adCode,
  718. });
  719. _self.chartMapData.mapPercent.push(obj);
  720. _self.chartMapData.geoCoordMap[res.data[i].adName] = [res.data[i].lgtd,res.data[i].lttd];
  721. _self.chartMapData.geoCoordMapList.push({
  722. name:res.data[i].adName,
  723. value:res.data[i].pblmSize
  724. });
  725. }else{
  726. _self.chartPblmTypeData.info = res.data[i].infoPlbm;
  727. _self.chartPblmTypeData.warn = res.data[i].warmPlbm;
  728. _self.chartPblmTypeData.fatal = res.data[i].errorPlbm;
  729. _self.chartPblmTypeData.error = res.data[i].errorsPlbm;
  730. }
  731. }
  732. }
  733. _self.initChart1();
  734. _self.initChart3();
  735. // _self.initChart4();
  736. _self.initChart5();
  737. });
  738. },
  739. initDataCity(adCode){
  740. var _self = this;
  741. _self.chartPblmTypeData.info = 0;
  742. _self.chartPblmTypeData.warn = 0;
  743. _self.chartPblmTypeData.fatal = 0;
  744. _self.chartPblmTypeData.error = 0;
  745. _self.chartObjData.xData = [];
  746. _self.chartObjData.dataList = [];
  747. _self.chartPblmData.xData = [];
  748. _self.chartPblmData.dataList = [];
  749. _self.chartMendPblmData.xData = [];
  750. _self.chartMendPblmData.dataList = [];
  751. _self.sumCount = 0;
  752. getPblmPro({timeType:_self.selectDate,objType:_self.selectType,adCode:adCode}).then((res) => {
  753. if(res.data!=null && res.data.length>0){
  754. for(var i = 0;i<res.data.length;i++){
  755. if(res.data[i].adName!="合计"){
  756. _self.chartObjData.xData.push(res.data[i].adName);
  757. _self.chartObjData.dataList.push({value:res.data[i].objSize,adCode:res.data[i].adCode,type:0});
  758. _self.chartPblmData.xData.push(res.data[i].adName);
  759. _self.chartPblmData.dataList.push({value:res.data[i].pblmSize,adCode:res.data[i].adCode,type:1});
  760. _self.chartMendPblmData.xData.push(res.data[i].adName);
  761. _self.chartMendPblmData.dataList.push({value:res.data[i].mendSize,adCode:res.data[i].adCode,type:1});
  762. _self.sumCount = _self.sumCount>(res.data[i].objSize>res.data[i].pblmSize?res.data[i].objSize:res.data[i].pblmSize)?_self.sumCount:(res.data[i].objSize>res.data[i].pblmSize?res.data[i].objSize:res.data[i].pblmSize);
  763. _self.sumCount = _self.sumCount>res.data[i].mendSize?_self.sumCount:res.data[i].mendSize;
  764. }else{
  765. _self.chartPblmTypeData.info = res.data[i].infoPlbm;
  766. _self.chartPblmTypeData.warn = res.data[i].warmPlbm;
  767. _self.chartPblmTypeData.fatal = res.data[i].errorPlbm;
  768. _self.chartPblmTypeData.error = res.data[i].errorsPlbm;
  769. }
  770. }
  771. }
  772. _self.initChart3();
  773. // _self.initChart4();
  774. _self.initChart5(adCode);
  775. });
  776. },
  777. initData1(){
  778. var _self = this;
  779. _self.chartDcTypeData.dataList = [];
  780. _self.chartDcTypeData.count = 0;
  781. getDcPblmCount(_self.isDate?_self.selectDate:_self.selectOrg,_self.organCode).then((res) => {
  782. if(res.data!=null && res.data.length>0){
  783. for(var i = 0;i<res.data.length;i++){
  784. var obj = {
  785. name: res.data[i].NAME+""+res.data[i].VALUE+"个",
  786. value: res.data[i].VALUE,
  787. objType:res.data[i].PTYPE,
  788. objTypeName:res.data[i].NAME
  789. }
  790. _self.chartDcTypeData.dataList.push(obj);
  791. _self.chartDcTypeData.count+=res.data[i].VALUE;
  792. }
  793. }
  794. _self.initChart2();
  795. });
  796. },
  797. initData1City(adCode){
  798. var _self = this;
  799. _self.chartDcTypeData.dataList = [];
  800. _self.chartDcTypeData.count = 0;
  801. getDcPblmCount(_self.selectDate,adCode).then((res) => {
  802. if(res.data!=null && res.data.length>0){
  803. for(var i = 0;i<res.data.length;i++){
  804. var obj = {
  805. name: res.data[i].NAME+""+res.data[i].VALUE+"个",
  806. value: res.data[i].VALUE,
  807. objType:res.data[i].PTYPE,
  808. objTypeName:res.data[i].NAME
  809. }
  810. _self.chartDcTypeData.dataList.push(obj);
  811. _self.chartDcTypeData.count+=res.data[i].VALUE;
  812. }
  813. }
  814. _self.initChart2(adCode);
  815. });
  816. },
  817. initStatiscsData(adCode){
  818. var _self = this;
  819. _self.statiscsData = {
  820. BISINSPALLGROUPSIZE:0,
  821. BISINSPALLSIZE: 0,
  822. BISINSPALLSIZEMONTH: 0,
  823. HASOBJSIZE: 0,
  824. MENDSIZE: 0,
  825. MENDSIZEMONTH: 0,
  826. OBJSIZE: 0,
  827. OBJTYPESIZE: 0,
  828. OBJTYPESIZEMONTH: 0,
  829. PBLMLOGSIZE: 0,
  830. PBLMLOGSIZEMONTH: 0,
  831. PBLMSIZE: 0,
  832. PBLMSIZEMONTH: 0,
  833. PERSIZE: 0
  834. }
  835. getStatiscsData(_self.isDate?_self.selectDate:_self.selectOrg,_self.selectType,adCode).then((res) => {
  836. if(res.data!=null){
  837. _self.statiscsData.BISINSPALLGROUPSIZE = parseInt(res.data.BISINSPALLGROUPSIZE==null?0:res.data.BISINSPALLGROUPSIZE);
  838. _self.statiscsData.BISINSPALLSIZE = parseInt(res.data.BISINSPALLSIZE==null?0:res.data.BISINSPALLSIZE);
  839. _self.statiscsData.BISINSPALLSIZEMONTH = parseInt(res.data.BISINSPALLSIZEMONTH==null?0:res.data.BISINSPALLSIZEMONTH);
  840. _self.statiscsData.HASOBJSIZE = parseInt(res.data.HASOBJSIZE==null?0:res.data.HASOBJSIZE);
  841. _self.statiscsData.MENDSIZE = parseInt(res.data.MENDSIZE==null?0:res.data.MENDSIZE);
  842. _self.statiscsData.MENDSIZEMONTH = parseInt(res.data.MENDSIZEMONTH==null?0:res.data.MENDSIZEMONTH);
  843. _self.statiscsData.OBJSIZE = parseInt(res.data.OBJSIZE==null?0:res.data.OBJSIZE);
  844. _self.statiscsData.OBJTYPESIZE = parseInt(res.data.OBJTYPESIZE==null?0:res.data.OBJTYPESIZE);
  845. _self.statiscsData.OBJTYPESIZEMONTH = parseInt(res.data.OBJTYPESIZEMONTH==null?0:res.data.OBJTYPESIZEMONTH);
  846. _self.statiscsData.PBLMLOGSIZE = parseInt(res.data.PBLMLOGSIZE==null?0:res.data.PBLMLOGSIZE);
  847. _self.statiscsData.PBLMLOGSIZEMONTH = parseInt(res.data.PBLMLOGSIZEMONTH==null?0:res.data.PBLMLOGSIZEMONTH);
  848. _self.statiscsData.PBLMSIZE = parseInt(res.data.PBLMSIZE==null?0:res.data.PBLMSIZE);
  849. _self.statiscsData.PBLMSIZEMONTH = parseInt(res.data.PBLMSIZEMONTH==null?0:res.data.PBLMSIZEMONTH);
  850. _self.statiscsData.PERSIZE = parseInt(res.data.PERSIZE==null?0:res.data.PERSIZE);
  851. }
  852. });
  853. },
  854. initDcType(){
  855. var _self = this;
  856. _self.dcTypeList = [];
  857. getDcType(_self.currentOrgId).then((res) => {
  858. if(res.data!=null && res.data.length>0){
  859. _self.dcTypeList = res.data;
  860. _self.dcTypeList.push({inspName:"全部",inspType:""})
  861. }
  862. });
  863. },
  864. slideHeader(){
  865. if(this.turnvalue=='0'){
  866. var docElm = document.documentElement;
  867. //W3C
  868. if(docElm.requestFullscreen) {
  869. docElm.requestFullscreen();
  870. }
  871. //FireFox
  872. else if(docElm.mozRequestFullScreen) {
  873. docElm.mozRequestFullScreen();
  874. }
  875. //Chrome等
  876. else if(docElm.webkitRequestFullScreen) {
  877. docElm.webkitRequestFullScreen();
  878. }
  879. //IE11
  880. else if(docElm.msRequestFullscreen) {
  881. docElm.msRequestFullscreen();
  882. }
  883. document.getElementById("mainBox").style.height = window.screen.height+"px";
  884. this.turnvalue = "1";
  885. this.turnName = "收缩";
  886. this.$emit('turnHandle',"1");
  887. this.resizeCharts();
  888. }else{
  889. this.$nextTick(function () {
  890. // //W3C
  891. if (document.exitFullscreen) {
  892. document.exitFullscreen();
  893. }
  894. //FireFox
  895. else if (document.mozCancelFullScreen) {
  896. document.mozCancelFullScreen();
  897. }
  898. //Chrome等
  899. else if (document.webkitCancelFullScreen) {
  900. document.webkitCancelFullScreen();
  901. }
  902. //IE11
  903. else if (document.msExitFullscreen) {
  904. document.msExitFullscreen();
  905. }
  906. })
  907. document.getElementById("mainBox").style.height = (this.currentHeight-86)+"px";
  908. this.turnvalue = "0";
  909. this.$emit('turnHandle',"0");
  910. this.turnName = "全屏";
  911. }
  912. },
  913. initAddVcdFeatures(){
  914. let geoJsonName = this.organCode.substr(0, 6) + ".json";
  915. return axios.get('/src/assets/addvGeoData/' + geoJsonName);
  916. },
  917. async initChart1() {
  918. var _self = this;
  919. var convertData = function () {
  920. var res = [];
  921. for (var i = 0; i < _self.chartMapData.geoCoordMapList.length; i++) {
  922. var geoCoord = _self.chartMapData.geoCoordMap[_self.chartMapData.geoCoordMapList[i].name];
  923. if (geoCoord) {
  924. res.push({
  925. name: _self.chartMapData.geoCoordMapList[i].name,
  926. value: geoCoord.concat(_self.chartMapData.geoCoordMapList[i].value)
  927. });
  928. }
  929. }
  930. return res;
  931. };
  932. this.chart1 = echarts.init(document.getElementById('chart1'));
  933. var jsonAddvcd = await this.initAddVcdFeatures();
  934. echarts.registerMap(this.organNm, jsonAddvcd.data);
  935. let option = {
  936. title:{
  937. text:this.organCode.substr(0, 2)=="66"?'各师问题数量分布':'各市问题数量分布',
  938. left:'center',
  939. padding: 20,
  940. textStyle:{
  941. color:'rgb(62,215,213)',
  942. }
  943. },
  944. tooltip: {
  945. trigger: 'axis',
  946. },
  947. geo3D: {
  948. map: this.organNm,
  949. show: true,
  950. zlevel: 15,
  951. boxWidth:80,
  952. boxHeight:30,
  953. label: {
  954. show:true,
  955. formatter:function(params){
  956. var content='',
  957. content=params.name;
  958. return content;
  959. },
  960. distance:0,
  961. textStyle:{
  962. color:'#ffffff',
  963. fontWeight : 'bold',
  964. fontSize :17,
  965. backgroundColor: 'rgba(255,255,255,0)'
  966. },
  967. },
  968. viewControl: { // 用于鼠标的旋转,缩放等视角控制。
  969. distance: 100, // [ default: 100 ] 默认视角距离主体的距离,对于 grid3D 和 geo3D 等其它组件来说是距离中心原点的距离,对于 globe 来说是距离地球表面的距离。在 projection 为'perspective'的时候有效。
  970. minDistance: 40, // [ default: 40 ] 视角通过鼠标控制能拉近到主体的最小距离。在 projection 为'perspective'的时候有效。
  971. maxDistance: 400, // [ default: 400 ] 视角通过鼠标控制能拉远到主体的最大距离。在 projection 为'perspective'的时候有效。
  972. alpha: 40, // 视角绕 x 轴,即上下旋转的角度。配合 beta 可以控制视角的方向。[ default: 40 ]
  973. beta: 15, // 视角绕 y 轴,即左右旋转的角度。[ default: 0 ]
  974. minAlpha: -360, // 上下旋转的最小 alpha 值。即视角能旋转到达最上面的角度。[ default: 5 ]
  975. maxAlpha: 360, // 上下旋转的最大 alpha 值。即视角能旋转到达最下面的角度。[ default: 90 ]
  976. minBeta: -360, // 左右旋转的最小 beta 值。即视角能旋转到达最左的角度。[ default: -80 ]
  977. maxBeta: 360, // 左右旋转的最大 beta 值。即视角能旋转到达最右的角度。[ default: 80 ]
  978. center: [0,0,0], // 视角中心点,旋转也会围绕这个中心点旋转,默认为[0,0,0]。
  979. animation: true, // 是否开启动画。[ default: true ]
  980. animationDurationUpdate: 1000, // 过渡动画的时长。[ default: 1000 ]
  981. animationEasingUpdate: 'cubicInOut' // 过渡动画的缓动效果。[ default: cubicInOut ]
  982. },
  983. light: {
  984. main: {
  985. shadow: true,
  986. shadowQuality: 'ultra',
  987. },
  988. },
  989. //地面的背景颜色
  990. groundPlane: {
  991. show: true,
  992. color:'transparent'
  993. },
  994. //特效设置
  995. postEffect: {
  996. enable:false
  997. },
  998. itemStyle: {
  999. areaColor: '#1b4474',
  1000. color:'#1b4474',
  1001. borderColor: 'rgb(62,215,213)',
  1002. borderWidth: 1
  1003. },
  1004. //鼠标 hover 高亮时图形和标签的样式
  1005. emphasis:{
  1006. label:{
  1007. show:true,
  1008. distance:10
  1009. },
  1010. itemStyle: {
  1011. color:'#15244a',
  1012. }
  1013. }
  1014. },
  1015. series: [
  1016. {
  1017. type: 'bar3D',
  1018. coordinateSystem: 'geo3D',
  1019. zlevel: 1,
  1020. barSize: 0.5,
  1021. shading: 'lambert',
  1022. itemStyle: {
  1023. color: '#c2f151'
  1024. },
  1025. label: {
  1026. show: true,
  1027. position: 'top',
  1028. textStyle: {
  1029. color: '#c2f151',
  1030. backgroundColor: 'transparent'
  1031. },
  1032. formatter: function(params) {
  1033. return params.value[2]
  1034. }
  1035. },
  1036. data:convertData()
  1037. }
  1038. ]
  1039. };
  1040. this.chart1.clear()
  1041. this.chart1.setOption(option);
  1042. var _self = this;
  1043. this.chart1.on('click', function (params) {
  1044. if(params.name!=_self.adName){
  1045. _self.adName = params.name;
  1046. for(var i = 0;i<_self.addvcdList.length;i++){
  1047. if(_self.addvcdList[i].name==params.name){
  1048. _self.initDataCity(_self.addvcdList[i].value);
  1049. _self.initData1City(_self.addvcdList[i].value);
  1050. _self.initNearFace(_self.addvcdList[i].value);
  1051. _self.initQuestionImg(_self.addvcdList[i].value);
  1052. _self.initQuestionVideo(_self.addvcdList[i].value);
  1053. _self.initStatiscsData(_self.addvcdList[i].value);
  1054. _self.currentCode = _self.addvcdList[i].value;
  1055. }
  1056. }
  1057. }
  1058. });
  1059. },
  1060. myTimer(){
  1061. var d = new Date();
  1062. this.currentTimestap = (d.getHours()<=9?'0'+d.getHours():d.getHours())+":"+(d.getMinutes()<=9?'0'+d.getMinutes():d.getMinutes())+":"+(d.getSeconds()<=9?'0'+d.getSeconds():d.getSeconds());
  1063. this.currentTime = d.getFullYear()+"/"+(d.getMonth()+1)+"/"+d.getDate();
  1064. var weeks = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
  1065. this.currentWeek = weeks[d.getDay()];
  1066. },
  1067. initChart2(adCode){
  1068. this.chart2 = echarts.init(document.getElementById('chart2'));
  1069. var option = {
  1070. tooltip: {
  1071. trigger: 'axis',
  1072. },
  1073. title: {
  1074. text: this.chartDcTypeData.count,
  1075. textStyle: {
  1076. color: '#ffffff',
  1077. fontSize: 25
  1078. },
  1079. subtext: '问题总数',
  1080. subtextStyle: {
  1081. color: '#ffffff',
  1082. fontSize: 12
  1083. },
  1084. itemGap: 10,
  1085. left: '9%',
  1086. top: '35%'
  1087. },
  1088. // color: ['#2872ea','#95ff2b','#01dc8a','#02f5e9'],
  1089. color:[
  1090. '#2872ea','#95ff2b','#01dc8a','#02f5e9',
  1091. '#3593ff', '#5587d3', '#679ccd', '#41afff', '#40e0d0',
  1092. '#4b3eff', '#0cffd5', '#afeea7', '#05d089', '#ffd700',
  1093. '#6c8e37', '#4ea397', '#3cb371', '#6db8a9', '#7bd9a5',
  1094. '#15a7ff', '#9de0ff', '#9da7ff', '#4cbbfe', '#7dc3fe',
  1095. '#1658bb', '#433e7c', '#11ddf4', '#009db2', '#024b51',
  1096. '#0d61cf', '#127619', '#e7be36', '#26ccd8', '#3685fe',
  1097. '#4065ef', '#5160f5', '#f7b13f', '#f9e264', '#50c48f'
  1098. ],
  1099. tooltip: {
  1100. trigger: "item",
  1101. formatter: "{b}"
  1102. },
  1103. legend: {
  1104. type: 'scroll',
  1105. orient:'vertical',
  1106. icon: 'circle', //图例形状
  1107. top:'15%',
  1108. bottom:'15%',
  1109. right:'0%',
  1110. itemWidth: 10, // 图例标记的图形宽度。[ default: 25 ]
  1111. itemHeight: 10, // 图例标记的图形高度。[ default: 14 ]
  1112. itemGap: 10, // 图例每项之间的间隔。[ default: 10 ]横向布局时为水平间隔,纵向布局时为纵向间隔。
  1113. textStyle: {
  1114. fontSize: 12,
  1115. color: '#66FBF9',
  1116. },
  1117. pageButtonPosition:'start',
  1118. pageIconColor: '#31586C', //翻页下一页的三角按钮颜色
  1119. pageIconInactiveColor: '#31586C', //翻页(即翻页到头时)
  1120. pageIconSize: 10, //翻页按钮大小
  1121. pageFormatter: '',//隐藏翻页的数字
  1122. pageButtonItemGap: -6,//翻页按钮的两个之间的间距
  1123. label: {
  1124. normal: {
  1125. show: true,
  1126. position: 'inner',
  1127. formatter: function (name) {
  1128. return (name.length > 8 ? (name.slice(0, 8) + "...") : name);
  1129. },
  1130. fontSize: 12
  1131. }
  1132. }
  1133. },
  1134. series: [{
  1135. type: "pie",
  1136. data: this.chartDcTypeData.dataList,
  1137. radius: ['52%', '62%'],
  1138. center: ["20%", "50%"],
  1139. labelLine: {
  1140. show: false
  1141. },
  1142. label:{
  1143. show: false
  1144. }
  1145. }]
  1146. };
  1147. this.chart2.clear();
  1148. this.chart2.setOption(option);
  1149. var _self = this;
  1150. this.chart2.on('click', function (param) {
  1151. _self.isShowPblmList = true;
  1152. _self.pblmParam["adCode"] = (adCode==undefined?_self.organCode:adCode) ;
  1153. _self.pblmParam["timeType"] = _self.selectDate;
  1154. _self.pblmParam["objType"] = (param.data.objType.length==1?('00'+param.data.objType):(param.data.objType.length==2?'0'+param.data.objType:param.data.objType));
  1155. _self.pblmParam["objTypeName"] = param.data.objTypeName;
  1156. });
  1157. },
  1158. initChart3(){
  1159. this.chart3 = echarts.init(document.getElementById('chart3'));
  1160. var option= {
  1161. tooltip: {
  1162. trigger: 'axis',
  1163. },
  1164. grid: {
  1165. top: '20%',
  1166. left: '3%',
  1167. right: '3%',
  1168. bottom: '10%',
  1169. containLabel: true
  1170. },
  1171. dataZoom: [{
  1172. borderColor:'#3e7b92',
  1173. backgroundColor:'rgba(108,217,255,0)', //组件的背景
  1174. type: 'slider', //图表下方的伸缩条
  1175. show: true, //是否显示
  1176. height:8,
  1177. realtime: true, //拖动时,是否实时更新系列的视图
  1178. start: 0, //伸缩条开始位置(1-100),可以随时更改
  1179. end: 99, //伸缩条结束位置(1-100),可以随时更改
  1180. bottom:"5",
  1181. textStyle:{
  1182. color:'#31586C'
  1183. }
  1184. }],
  1185. // legend: {
  1186. // data: ['未督察','已督察'],
  1187. // right: "3%",
  1188. // top:"4%",
  1189. // textStyle: {
  1190. // color: "#AAE0FC",
  1191. // fontSize: 12
  1192. // },
  1193. // itemWidth: 5, // 设置宽度
  1194. // itemHeight:10, // 设置高度
  1195. // itemGap: 10 // 设置间距
  1196. // },
  1197. xAxis: [{
  1198. data: this.chartObjData.xData,
  1199. axisLabel: {
  1200. margin: 10,
  1201. color: '#437d9b',
  1202. textStyle: {
  1203. fontSize: 12
  1204. },
  1205. },
  1206. axisLine: {
  1207. lineStyle: {
  1208. color: '#437d9b',
  1209. }
  1210. },
  1211. axisTick: {
  1212. show: false
  1213. },
  1214. }],
  1215. yAxis: [{
  1216. name:"督察对象/个",
  1217. type:'value',
  1218. min:0,
  1219. max:this.sumCount,
  1220. axisLabel: {
  1221. color: '#437d9b',
  1222. textStyle: {
  1223. fontSize: 12
  1224. },
  1225. },
  1226. axisLine: {
  1227. show:true,
  1228. lineStyle:{
  1229. color:'#437d9b' //更改坐标轴颜色
  1230. }
  1231. },
  1232. axisTick: {
  1233. show: false
  1234. },
  1235. splitLine: {
  1236. lineStyle: {
  1237. color: '#31586C',
  1238. }
  1239. }
  1240. },
  1241. {
  1242. name:"问题/个",
  1243. type:'value',
  1244. min:0,
  1245. max:this.sumCount,
  1246. axisLabel: {
  1247. color: '#437d9b',
  1248. textStyle: {
  1249. fontSize: 12
  1250. },
  1251. },
  1252. axisLine: {
  1253. show:true,
  1254. lineStyle:{
  1255. color:'#437d9b' //更改坐标轴颜色
  1256. }
  1257. },
  1258. axisTick: {
  1259. show: false
  1260. },
  1261. splitLine: {
  1262. lineStyle: {
  1263. color: '#31586C',
  1264. }
  1265. }
  1266. }],
  1267. series: [
  1268. {
  1269. name: "对象数",
  1270. type: 'bar',
  1271. yAxisIndex: 0,
  1272. data: this.chartObjData.dataList,
  1273. barWidth: '8px',
  1274. itemStyle: {
  1275. normal: {
  1276. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1277. offset: 0,
  1278. color: '#72FAFE' // 0% 处的颜色
  1279. }, {
  1280. offset: 1,
  1281. color: '#04BEFE' // 100% 处的颜色
  1282. }], false)
  1283. }
  1284. },
  1285. },
  1286. {
  1287. name: "问题数",
  1288. type: 'bar',
  1289. yAxisIndex: 1,
  1290. data: this.chartPblmData.dataList,
  1291. barWidth: '8px',
  1292. itemStyle: {
  1293. normal: {
  1294. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1295. offset: 0,
  1296. color: '#72fefb' // 0% 处的颜色
  1297. }, {
  1298. offset: 1,
  1299. color: '#98cdfe' // 100% 处的颜色
  1300. }], false)
  1301. }
  1302. },
  1303. },
  1304. {
  1305. name: "整改数",
  1306. type: 'bar',
  1307. yAxisIndex: 1,
  1308. data: this.chartMendPblmData.dataList,
  1309. barWidth: '8px',
  1310. itemStyle: {
  1311. normal: {
  1312. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1313. offset: 0,
  1314. color: '#5bb7e7' // 0% 处的颜色
  1315. }, {
  1316. offset: 1,
  1317. color: '#40aae7' // 100% 处的颜色
  1318. }], false)
  1319. }
  1320. },
  1321. }
  1322. // ,{
  1323. // name: "已督察",
  1324. // type: 'bar',
  1325. // data: getlkrs,
  1326. // barWidth: '8px',
  1327. // itemStyle: {
  1328. // normal: {
  1329. // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1330. // offset: 0,
  1331. // color: '#06DD8D' // 0% 处的颜色
  1332. // }, {
  1333. // offset: 1,
  1334. // color: '#78FFCF' // 100% 处的颜色
  1335. // }], false)
  1336. // }
  1337. // },
  1338. // }
  1339. ]
  1340. }
  1341. this.chart3.clear();
  1342. this.chart3.setOption(option);
  1343. var _self = this;
  1344. this.chart3.on('click', function (param) {
  1345. if(param.data.type==0){
  1346. _self.isShowObjList = true;
  1347. _self.objParam["adCode"] = param.data.adCode;
  1348. _self.objParam["timeType"] = _self.selectDate;
  1349. _self.objParam["objType"] = _self.selectType;
  1350. _self.objParam["objTypeName"] = _self.selectTypeName;
  1351. }
  1352. if(param.data.type==1){
  1353. _self.isShowPblmList = true;
  1354. _self.pblmParam["adCode"] = param.data.adCode;
  1355. _self.pblmParam["timeType"] = _self.selectDate;
  1356. _self.pblmParam["objType"] = _self.selectType;
  1357. _self.pblmParam["objTypeName"] = _self.selectTypeName;
  1358. }
  1359. });
  1360. },
  1361. initChart4(adCode){
  1362. this.chart4 = echarts.init(document.getElementById('chart4'));
  1363. var option= {
  1364. tooltip: {
  1365. trigger: 'axis',
  1366. },
  1367. grid: {
  1368. top: '20%',
  1369. left: '7%',
  1370. right: '2%',
  1371. bottom: '10%',
  1372. containLabel: true
  1373. },
  1374. dataZoom: [{
  1375. borderColor:'#3e7b92',
  1376. backgroundColor:'rgba(107,219,255,0)', //组件的背景
  1377. type: 'slider', //图表下方的伸缩条
  1378. show: true, //是否显示
  1379. height:8,
  1380. realtime: true, //拖动时,是否实时更新系列的视图
  1381. start: 0, //伸缩条开始位置(1-100),可以随时更改
  1382. end: 99, //伸缩条结束位置(1-100),可以随时更改
  1383. bottom:"5",
  1384. textStyle:{
  1385. color:'#31586C'
  1386. }
  1387. }],
  1388. xAxis: [{
  1389. data:this.chartPblmData.xData,
  1390. axisLabel: {
  1391. margin: 10,
  1392. color: '#437d9b',
  1393. textStyle: {
  1394. fontSize: 12
  1395. },
  1396. },
  1397. axisLine: {
  1398. lineStyle: {
  1399. color: '#437d9b',
  1400. }
  1401. },
  1402. axisTick: {
  1403. show: false
  1404. },
  1405. }],
  1406. yAxis: [{
  1407. name:"问题/个",
  1408. type:'value',
  1409. axisLabel: {
  1410. color: '#437d9b',
  1411. textStyle: {
  1412. fontSize: 12
  1413. },
  1414. },
  1415. axisLine: {
  1416. show:true,
  1417. lineStyle:{
  1418. color:'#437d9b' //更改坐标轴颜色
  1419. }
  1420. },
  1421. axisTick: {
  1422. show: false
  1423. },
  1424. splitLine: {
  1425. lineStyle: {
  1426. color: '#31586C',
  1427. }
  1428. }
  1429. }],
  1430. series: [
  1431. {
  1432. name: "问题数",
  1433. type: 'bar',
  1434. data: this.chartPblmData.dataList,
  1435. barWidth: '8px',
  1436. itemStyle: {
  1437. normal: {
  1438. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  1439. offset: 0,
  1440. color: '#72FAFE' // 0% 处的颜色
  1441. }, {
  1442. offset: 1,
  1443. color: '#04BEFE' // 100% 处的颜色
  1444. }], false)
  1445. }
  1446. }
  1447. }
  1448. ]
  1449. }
  1450. this.chart4.clear();
  1451. this.chart4.setOption(option);
  1452. var _self = this;
  1453. this.chart4.on('click', function (param) {
  1454. _self.isShowPblmList = true;
  1455. _self.pblmParam["adCode"] = param.data.adCode;
  1456. _self.pblmParam["timeType"] = _self.selectDate;
  1457. _self.pblmParam["objType"] = _self.selectType;
  1458. _self.pblmParam["objTypeName"] = _self.selectTypeName;
  1459. });
  1460. },
  1461. initChart5(adCode){
  1462. this.chart5 = echarts.init(document.getElementById('chart5'));
  1463. var _self = this;
  1464. // var data = [
  1465. // {
  1466. // name: "一般问题"+this.chartPblmTypeData.info+"(个)",
  1467. // value: this.chartPblmTypeData.info
  1468. // },
  1469. // {
  1470. // name: "较严重问题"+this.chartPblmTypeData.warn+"(个)",
  1471. // value: this.chartPblmTypeData.warn
  1472. // },
  1473. // {
  1474. // name: "严重问题"+this.chartPblmTypeData.fatal+"(个)",
  1475. // value: this.chartPblmTypeData.fatal
  1476. // },
  1477. // {
  1478. // name: "特别严重问题"+this.chartPblmTypeData.error+"(个)",
  1479. // value: this.chartPblmTypeData.error
  1480. // }
  1481. // ];
  1482. // var sumValue = this.chartPblmTypeData.info+this.chartPblmTypeData.warn+this.chartPblmTypeData.fatal+this.chartPblmTypeData.error;
  1483. // var optionData = {
  1484. // series: [],
  1485. // yAxis: []
  1486. // };
  1487. // for (let i = 0; i < data.length; i++) {
  1488. // optionData.series.push({
  1489. // name: '个数',
  1490. // type: 'pie',
  1491. // clockWise: true,
  1492. // z: 2,
  1493. // hoverAnimation: false,
  1494. // radius: [83 - i * 15 + '%', 77 - i * 15 + '%'],
  1495. // center: ["50%", "55%"],
  1496. // label: {
  1497. // show: true,
  1498. // formatter: '{d}%',
  1499. // color: 'RGB(246,175,101)',
  1500. // fontSize: 10,
  1501. // position: 'inside'
  1502. // },
  1503. // labelLine: {
  1504. // show: false
  1505. // },
  1506. // data: [{
  1507. // value: data[i].value,
  1508. // name: data[i].name
  1509. // }, {
  1510. // value: sumValue - data[i].value,
  1511. // name: '',
  1512. // itemStyle: {
  1513. // color: "rgba(0,0,0,0)",
  1514. // borderWidth: 0
  1515. // },
  1516. // tooltip: {
  1517. // show: false
  1518. // },
  1519. // label: {
  1520. // show: false
  1521. // },
  1522. // hoverAnimation: false
  1523. // }]
  1524. // });
  1525. // optionData.series.push({
  1526. // name: '背景线',
  1527. // type: 'pie',
  1528. // silent: true,
  1529. // z: 1,
  1530. // clockWise: true,
  1531. // hoverAnimation: false,
  1532. // radius: [81 - i * 15 + '%', 79 - i * 15 + '%'],
  1533. // center: ["50%", "55%"],
  1534. // label: {
  1535. // show: false
  1536. // },
  1537. // itemStyle: {
  1538. // label: {
  1539. // show: false,
  1540. // },
  1541. // labelLine: {
  1542. // show: false
  1543. // },
  1544. // borderWidth: 5,
  1545. // },
  1546. // data: [{
  1547. // value: 100,
  1548. // itemStyle: {
  1549. // color: "#003a5c",
  1550. // borderWidth: 0
  1551. // },
  1552. // tooltip: {
  1553. // show: false
  1554. // },
  1555. // hoverAnimation: false
  1556. // }]
  1557. // });
  1558. // optionData.yAxis.push(data[i].name);
  1559. // }
  1560. // var option = {
  1561. // color: [{
  1562. // type: 'linear',
  1563. // x: 0,
  1564. // y: 0,
  1565. // x2: 1,
  1566. // y2: 1,
  1567. // colorStops: [{
  1568. // offset: 0,
  1569. // color: '#00385e'
  1570. // }, {
  1571. // offset: 1,
  1572. // color: 'rgba(1,232,254,1)'
  1573. // }],
  1574. // global: false
  1575. // }],
  1576. // grid: {
  1577. // top: '10%',
  1578. // bottom: '54%',
  1579. // left: "50%",
  1580. // containLabel: false
  1581. // },
  1582. // yAxis: [{
  1583. // type: 'category',
  1584. // inverse: true,
  1585. // z: 3,
  1586. // axisLine: {
  1587. // show: false
  1588. // },
  1589. // axisTick: {
  1590. // show: false
  1591. // },
  1592. // axisLabel: {
  1593. // interval: 0,
  1594. // inside: false,
  1595. // textStyle: {
  1596. // color: "#437d9b",
  1597. // fontSize: 12,
  1598. // },
  1599. // show: true
  1600. // },
  1601. // data: optionData.yAxis
  1602. // }],
  1603. // xAxis: [{
  1604. // show: false
  1605. // }],
  1606. // series: optionData.series
  1607. // };
  1608. // var option = {
  1609. // tooltip: {
  1610. // trigger: 'item'
  1611. // },
  1612. // legend: {
  1613. // orient:'vertical',
  1614. // icon: 'circle', //图例形状
  1615. // bottom:'20%',
  1616. // right:'3%',
  1617. // itemWidth: 10, // 图例标记的图形宽度。[ default: 25 ]
  1618. // itemHeight: 10, // 图例标记的图形高度。[ default: 14 ]
  1619. // itemGap: 10, // 图例每项之间的间隔。[ default: 10 ]横向布局时为水平间隔,纵向布局时为纵向间隔。
  1620. // textStyle: {
  1621. // fontSize: 12,
  1622. // color: '#66FBF9',
  1623. // }
  1624. // },
  1625. // series: [
  1626. // {
  1627. // name:'问题严重程度',
  1628. // type:'funnel',
  1629. // left: '5%',
  1630. // width: '50%',
  1631. // minSize: '0%',
  1632. // maxSize: '100%',
  1633. // sort: 'ascending',
  1634. // top:20,
  1635. // bottom:20,
  1636. // label: {
  1637. // show:false,
  1638. // position: 'inside'
  1639. // },
  1640. // itemStyle: {
  1641. // borderColor: '#fff',
  1642. // borderWidth: 1
  1643. // },
  1644. // emphasis: {
  1645. // label: {
  1646. // show:false,
  1647. // fontSize: 20
  1648. // }
  1649. // },
  1650. // data: [
  1651. // {value:this.chartPblmTypeData.info, name: '一般问题',itemStyle:{normal:{color:'#95ff2b'}}},
  1652. // {value:this.chartPblmTypeData.warn, name: '较严重问题',itemStyle:{normal:{color:'#00dd8a'}}},
  1653. // {value:this.chartPblmTypeData.fatal, name: '严重问题',itemStyle:{normal:{color:'#ffe425'}}},
  1654. // {value:this.chartPblmTypeData.error, name: '特别严重问题',itemStyle:{normal:{color:'#01d8da'}}},
  1655. // ]
  1656. // }
  1657. // ]
  1658. // };
  1659. var option = {
  1660. color: ['#56dcfd', '#ffeb3b', '#f2c5ff', '#f5839e'],
  1661. tooltip : {
  1662. trigger: 'item',
  1663. formatter: "{a} <br/>{b} : {c} ({d}%)"
  1664. },
  1665. series : [
  1666. {
  1667. name:'问题严重程度',
  1668. type:'pie',
  1669. labelLine:{
  1670. normal:{
  1671. length:1
  1672. }
  1673. },
  1674. label: {
  1675. normal: {
  1676. // position: 'inside',
  1677. formatter: function(params) {
  1678. return params.name+" ("+params.value+"个)"
  1679. },
  1680. }
  1681. },
  1682. radius : ['50%', '65%'],
  1683. data:[
  1684. {value:this.chartPblmTypeData.info, name:'一般',level:0},
  1685. {value:this.chartPblmTypeData.warn, name:'较重',level:1},
  1686. {value:this.chartPblmTypeData.fatal, name:'严重',level:2},
  1687. {value:this.chartPblmTypeData.error, name:'特重',level:3}
  1688. ]
  1689. }
  1690. ]
  1691. };
  1692. this.chart5.setOption(option);
  1693. var _self = this;
  1694. this.chart5.on('click', function (param) {
  1695. _self.isShowPblmList = true;
  1696. _self.pblmParam["adCode"] = (adCode==undefined?_self.organCode:adCode) ;
  1697. _self.pblmParam["timeType"] = _self.selectDate;
  1698. _self.pblmParam["objType"] = _self.selectType;
  1699. _self.pblmParam["objTypeName"] = _self.selectTypeName;
  1700. _self.pblmParam["inspPblmCate"] = param.data.level;
  1701. });
  1702. }
  1703. },
  1704. beforeCreate() {
  1705. }, //生命周期 - 创建之前
  1706. beforeMount() {
  1707. }, //生命周期 - 挂载之前
  1708. beforeUpdate() {
  1709. }, //生命周期 - 更新之前
  1710. updated() {
  1711. }, //生命周期 - 更新之后
  1712. beforeDestroy() {
  1713. clearInterval(this.timerData);
  1714. }, //生命周期 - 销毁之前
  1715. destroyed() {
  1716. }, //生命周期 - 销毁完成
  1717. activated() {
  1718. } //如果页面有keep-alive缓存功能,这个函数会触发
  1719. };
  1720. </script>
  1721. <style scoped>
  1722. .mainBox{
  1723. width: 100%;
  1724. height:100%;
  1725. background: url("../../assets/bjdc.png") no-repeat;
  1726. background-size: 100% 100%;
  1727. }
  1728. .mainHeader{
  1729. width: 100%;
  1730. height:65px;
  1731. background: url("../../assets/headerdc.png") no-repeat;
  1732. background-size: 100% 100%;
  1733. min-width:1366px ;
  1734. min-height:65px ;
  1735. border-bottom: 1px dashed grey;
  1736. display: flex;
  1737. }
  1738. .header-left{
  1739. width:25%;
  1740. height:100%;
  1741. display: flex;
  1742. align-items: center;
  1743. }
  1744. /*.header-left .el-select{*/
  1745. /* padding-left: 20px !important;*/
  1746. /* border-radius: 10px !important;*/
  1747. /*}*/
  1748. /*.header-left .el-input__inner{*/
  1749. /* border: 1px solid #001C2E;*/
  1750. /* outline: none !important;*/
  1751. /* background: #001C2E;*/
  1752. /* box-shadow: 0px 0px 32px 0px rgba(131, 219, 255, 0.3);*/
  1753. /* border-radius: 16px;*/
  1754. /*}*/
  1755. /*.el-scrollbar{*/
  1756. /* background: #001C2E !important;*/
  1757. /*}*/
  1758. /*.el-select-dropdown {*/
  1759. /* border: 1px solid #004266 !important;*/
  1760. /*}*/
  1761. /*.el-select-dropdown__item.hover, .el-select-dropdown__item:hover {*/
  1762. /* background-color: #002e4e !important;*/
  1763. /*}*/
  1764. /*.header-left .el-select .el-input.is-focus .el-input__inner {*/
  1765. /* border-color: #001C2E;*/
  1766. /*}*/
  1767. .header-middle{
  1768. width:50%;
  1769. height:100%;
  1770. font-size: 32px;
  1771. font-family: Microsoft YaHei;
  1772. font-weight: bold;
  1773. color: #5D9AF5;
  1774. line-height: 44px;
  1775. background: linear-gradient(180deg, #EFF3F5 0%, #8AC5CF 100%);
  1776. -webkit-background-clip: text;
  1777. -webkit-text-fill-color: transparent;
  1778. line-height: 65px;
  1779. text-align: center;
  1780. }
  1781. .header-right{
  1782. width:25%;
  1783. height:100%;
  1784. display: flex;
  1785. align-items: center;
  1786. justify-content: center;
  1787. }
  1788. .hourMs{
  1789. width: 100px;
  1790. height:100%;
  1791. line-height: 65px;
  1792. font-size: 20px;
  1793. font-family: Arial;
  1794. font-weight: 400;
  1795. color: #FFFFFF;
  1796. }
  1797. .timeContent{
  1798. height:100%;
  1799. margin-left: 10px;
  1800. display: flex;
  1801. }
  1802. .timeOrWeek{
  1803. height:100%;
  1804. line-height:65px;
  1805. }
  1806. .times{
  1807. font-size: 20px;
  1808. font-family: Microsoft YaHei;
  1809. font-weight: bold;
  1810. color: #5D9AF5;
  1811. line-height: 65px;
  1812. }
  1813. .weeks{
  1814. font-size: 18px;
  1815. font-family: Microsoft YaHei;
  1816. font-weight: bold;
  1817. color: #C1F051;
  1818. line-height: 65px;
  1819. margin-left: 10px;
  1820. }
  1821. /*.el-popper[x-placement^=bottom] .popper__arrow::after {*/
  1822. /* border-bottom-color: #01456a !important;*/
  1823. /*}*/
  1824. /*.el-popper[x-placement^=bottom] .popper__arrow {*/
  1825. /* border-bottom-color: #01456a !important;*/
  1826. /*}*/
  1827. .mainContent{
  1828. width: 100%;
  1829. height:calc(100% - 64px);
  1830. display: flex;
  1831. }
  1832. .mainContent-left{
  1833. width: calc(100% - 315px);
  1834. height:100%;
  1835. }
  1836. .mainContent-right{
  1837. width: 315px;
  1838. height:100%;
  1839. }
  1840. .mainContent-left-top{
  1841. width: 100%;
  1842. height:60%;
  1843. display: flex;
  1844. }
  1845. .mainContent-left-bottom{
  1846. width: 100%;
  1847. height:40%;
  1848. display: flex;
  1849. }
  1850. .mainContent-left-top-left{
  1851. width: 400px;
  1852. height:100%;
  1853. }
  1854. .mainContent-left-top-right{
  1855. width: calc(100% - 400px);
  1856. height:100%;
  1857. }
  1858. .summary-item {
  1859. width: 100%;
  1860. height: calc(33.33% - 20px);
  1861. margin-top: 20px;
  1862. display: flex;
  1863. }
  1864. .summary-item div.summary-item-col:first-child{
  1865. margin-left: 15px;
  1866. }
  1867. .summary-item div.summary-item-col:nth-child(2){
  1868. margin-left: 100px;
  1869. }
  1870. .summary-item-col{
  1871. width: 140px;
  1872. height:100%;
  1873. }
  1874. .summary-title{
  1875. width: 140px;
  1876. height:50px;
  1877. display: flex;
  1878. }
  1879. .summary-title img:first-child{
  1880. width: 30px;
  1881. height:30px;
  1882. border:1px dashed #66FBF9
  1883. }
  1884. .summary-text{
  1885. width: 80px;
  1886. height:50px;
  1887. text-align: center;
  1888. display: grid;
  1889. }
  1890. .summary-title img:nth-child(3){
  1891. width: 20px;
  1892. height:20px;
  1893. border:1px dashed #66FBF9
  1894. }
  1895. .summary-pointer{
  1896. font-size: 17px;
  1897. font-family: Microsoft YaHei;
  1898. font-weight: bold;
  1899. color: #66FBF9;
  1900. line-height: 20px;
  1901. background: linear-gradient(180deg, #FFFFFF 0%, #ADE8FA 100%);
  1902. -webkit-background-clip: text;
  1903. -webkit-text-fill-color: transparent;
  1904. }
  1905. .summary-group{
  1906. font-size: 12px;
  1907. font-family: Microsoft YaHei;
  1908. font-weight: 400;
  1909. color: #C1F053;
  1910. line-height: 0px;
  1911. }
  1912. .summary-content{
  1913. font-size: 30px;
  1914. font-family: Bahnschrift;
  1915. font-weight: bold;
  1916. color: #C2F151;
  1917. /*line-height: 70px;*/
  1918. text-align: center;
  1919. }
  1920. .echarts-bottom:first-child{
  1921. width: calc(30% - 15px);
  1922. height:100%;
  1923. margin-left: 15px;
  1924. }
  1925. .echarts-bottom:nth-child(2){
  1926. width: calc(45% - 15px);
  1927. height:100%;
  1928. margin-left: 15px;
  1929. }
  1930. .echarts-bottom:nth-child(3){
  1931. width: calc(25% - 15px);
  1932. height:100%;
  1933. margin-left: 15px;
  1934. }
  1935. .echarts-bottom:nth-child(4){
  1936. width: calc(20% - 20px);
  1937. height:100%;
  1938. margin-left: 15px;
  1939. }
  1940. .echarts-bottom-title{
  1941. width: 100%;
  1942. height:20px;
  1943. border-bottom: 5px solid #003d5e;
  1944. font-size: 18px;
  1945. font-family: Microsoft YaHei;
  1946. font-weight: bold;
  1947. color: #FFFFFF;
  1948. background: linear-gradient(180deg, #FFFFFF 0%, #ADE8FA 100%);
  1949. -webkit-background-clip: text;
  1950. /*-webkit-text-fill-color: transparent;*/
  1951. display: flex;
  1952. align-items: center;
  1953. background: url("../../assets/echart-title.png") no-repeat ;
  1954. background-size: 70px 20px;
  1955. }
  1956. .echarts-bottom-title span{
  1957. font-size: 20px;
  1958. font-family: Microsoft YaHei;
  1959. font-weight: bold;
  1960. color: #FFFFFF;
  1961. background: linear-gradient(180deg, #FFFFFF 0%, #ADE8FA 100%);
  1962. -webkit-background-clip: text;
  1963. -webkit-text-fill-color: transparent;
  1964. text-indent: 20px;
  1965. }
  1966. .echarts-bottom-title img{
  1967. width: 12px;
  1968. height:20px;
  1969. }
  1970. .echarts-bottom-content{
  1971. width: 100%;
  1972. height:calc(100% - 25px);
  1973. }
  1974. .echarts-bottom-content img{
  1975. border:5px solid #01456a;
  1976. }
  1977. .mainContent-right-top{
  1978. width: 100%;
  1979. height:20%;
  1980. }
  1981. .mainContent-right-style1{
  1982. width: 100%;
  1983. height:40%;
  1984. }
  1985. .mainContent-right-style2{
  1986. width: 100%;
  1987. height:40%;
  1988. }
  1989. .cms-news{
  1990. width: 100%;
  1991. list-style: none;
  1992. margin: 0;
  1993. padding: 0;
  1994. }
  1995. .cms-news li{
  1996. width: 100%;
  1997. height:30px;
  1998. line-height: 30px;
  1999. margin-top: 10px;
  2000. font-size: 14px;
  2001. font-family: Microsoft YaHei;
  2002. font-weight: 400;
  2003. color: #AAE0FC;
  2004. text-indent: 10px;
  2005. white-space: nowrap;
  2006. overflow: hidden;
  2007. text-overflow: ellipsis;
  2008. cursor:pointer;
  2009. }
  2010. .cms-news li:nth-child(odd){
  2011. background: #294658;
  2012. }
  2013. .cms-news li:nth-child(even){
  2014. background: #003c5e;
  2015. }
  2016. .turnBtn{
  2017. color:#64bfc1;
  2018. width: 35px;
  2019. height:35px;
  2020. line-height: 35px;
  2021. border-radius: 20px;
  2022. background: #294658;
  2023. position: absolute;
  2024. z-index: 100;
  2025. right:5px;
  2026. font-size: 10px;
  2027. box-shadow: 0 1px 10px 0 #5fb6e6;
  2028. text-align: center;
  2029. cursor: pointer;
  2030. }
  2031. .tzgg{
  2032. overflow:auto;
  2033. }
  2034. .tzgg::-webkit-scrollbar {
  2035. /*滚动条整体样式*/
  2036. width : 3px; /*高宽分别对应横竖滚动条的尺寸*/
  2037. height: 10px;
  2038. }
  2039. .tzgg::-webkit-scrollbar-thumb {
  2040. /*滚动条里面小方块*/
  2041. border-radius: 10px;
  2042. box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
  2043. background : #006397;
  2044. }
  2045. .tzgg::-webkit-scrollbar-track {
  2046. /*滚动条里面轨道*/
  2047. box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
  2048. border-radius: 10px;
  2049. background : #003c5e;
  2050. }
  2051. .el-carousel__button {
  2052. display: block;
  2053. opacity: .48;
  2054. width: 10px !important;
  2055. height: 10px !important;
  2056. border-radius: 10px !important;
  2057. }
  2058. .mainContent-right-style a{
  2059. width: 100%;
  2060. height:100%;
  2061. display: block;
  2062. }
  2063. .mainContent-right-style img{
  2064. width: 100%;
  2065. height:100%;
  2066. }
  2067. .titleCar{
  2068. width: 100%;
  2069. top:0;
  2070. position: absolute;
  2071. z-index:100;
  2072. height:30px;
  2073. line-height: 30px;
  2074. text-align: center;
  2075. color:#fff;
  2076. font-size: 12px;
  2077. font-weight: bold;
  2078. white-space: nowrap;
  2079. overflow: hidden;
  2080. text-overflow: ellipsis;
  2081. }
  2082. .date-down{
  2083. width: 202px;
  2084. display: flex;
  2085. background: #001C2E;
  2086. box-shadow: 0px 0px 32px 0px rgba(131, 219, 255, 0.3);
  2087. border-radius: 15px;
  2088. margin-left: 20px;
  2089. position: relative;
  2090. cursor:pointer;
  2091. }
  2092. .date-down div:first-child{
  2093. width: 50px;
  2094. height:30px;
  2095. border-right: 1px solid #002d49;
  2096. border-bottom-left-radius: 15px;
  2097. border-top-left-radius: 15px;
  2098. font-size:12px;
  2099. color:#01c3dc;
  2100. text-align: center;
  2101. line-height: 30px;
  2102. }
  2103. .date-down div:nth-child(2){
  2104. width: 120px;
  2105. height:30px;
  2106. color:#01c3dc;
  2107. text-align: center;
  2108. line-height: 30px;
  2109. font-size:12px;
  2110. overflow:hidden;
  2111. white-space: nowrap;
  2112. text-overflow: ellipsis;
  2113. -o-text-overflow:ellipsis;
  2114. }
  2115. .date-down div:nth-child(3){
  2116. width: 30px;
  2117. height:30px;
  2118. border-bottom-right-radius: 15px;
  2119. border-top-right-radius: 15px;
  2120. border-left: 1px solid #002d49;
  2121. font-size:16px;
  2122. text-align: center;
  2123. line-height: 30px;
  2124. color: #01c3dc;
  2125. }
  2126. .date-down ul{
  2127. width: 90%;
  2128. overflow: auto;
  2129. max-height: 300px;
  2130. list-style: none;
  2131. position: absolute;
  2132. z-index:100;
  2133. top:32px;
  2134. left:5%;
  2135. background: #001C2E;
  2136. border:1px solid #07537b;
  2137. scrollbar-color: #006397 #001C2E;
  2138. }
  2139. .date-down ul li{
  2140. width: 100%;
  2141. height:30px;
  2142. line-height: 30px;
  2143. border-bottom:1px solid #073a5e;
  2144. color: #01c3dc;
  2145. font-size: 12px;
  2146. text-align: center;
  2147. cursor:pointer;
  2148. }
  2149. .date-down ul li:hover{
  2150. background: #07537b!important;
  2151. color: #64b2ba !important;
  2152. }
  2153. .date-down ul::-webkit-scrollbar {
  2154. /*滚动条整体样式*/
  2155. width : 3px; /*高宽分别对应横竖滚动条的尺寸*/
  2156. height: 10px;
  2157. }
  2158. .date-down ul::-webkit-scrollbar-thumb {
  2159. /*滚动条里面小方块*/
  2160. border-radius: 10px;
  2161. box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
  2162. background : #006397;
  2163. }
  2164. .date-down ul::-webkit-scrollbar-track {
  2165. /*滚动条里面轨道*/
  2166. box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
  2167. border-radius: 10px;
  2168. background : #003c5e;
  2169. }
  2170. video {
  2171. object-fit:fill;
  2172. width:100%;
  2173. height:100%;
  2174. }
  2175. .line-data{
  2176. overflow:hidden;
  2177. white-space: nowrap;
  2178. text-overflow: ellipsis;
  2179. -o-text-overflow:ellipsis;
  2180. }
  2181. </style>