af1eb2675eb38ff615b4810578d5c0554567e8b5.svn-base 81 KB

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