analysis.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  1. <!doctype html>
  2. <meta charset="utf-8">
  3. <title>警情警力分析</title>
  4. <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
  5. <script src="js/echarts.min.js" charset="utf-8"></script>
  6. <body>
  7. <div class="wpbox">
  8. <div class="bnt">
  9. <div class="topbnt_left fl">
  10. <ul><li class="active"><a href="#">警情警力</a></li>
  11. <li><a href="#">实有人口</a></li>
  12. <li><a href="#">流动人口</a></li>
  13. <li><a href="#">实名制</a></li>
  14. </ul>
  15. </div>
  16. <h1 class="tith1 fl">矛盾纠纷分析</h1>
  17. <div class=" fr topbnt_right">
  18. <ul>
  19. <li><a href="#">返回</a></li>
  20. <li><a href="#">分析报告</a></li>
  21. <li><a href="#">交通</a></li>
  22. <li><a href="#">舆情</a></li>
  23. </ul>
  24. </ul>
  25. </div>
  26. </div>
  27. <!-- bnt end -->
  28. <div class="left1">
  29. <div class="aleftboxttop"><h2 class="tith2">今日矛盾纠纷数据统计</h2>
  30. <div class="lefttoday_tit" style=" height:8%"><p class="fl">地区:甘孜</p><p class="fr">2018-06-14</p></div>
  31. <div class="lefttoday_number">
  32. <div class="widget-inline-box text-center fl">
  33. <p>矛盾纠纷</p>
  34. <h3 class="ceeb1fd">54</h3>
  35. <h4 class="text-muted pt6">环比<img src="img/iconup.png" height="16" />2%</h4>
  36. </div>
  37. <div class="widget-inline-box text-center fl">
  38. <p>已调节</p>
  39. <h3 class="c24c9ff">54</h3>
  40. <h4 class="text-muted pt6">环比<img src="img/icondown.png" height="16" />3%</h4>
  41. </div>
  42. <div class="widget-inline-box text-center fl">
  43. <p>未调节</p>
  44. <h3 class="cffff00">4</h3>
  45. <h4 class="text-muted pt6">环比<img src="img/icondown.png" height="16" />3%</h4>
  46. </div>
  47. <div class="widget-inline-box text-center fl">
  48. <p>处理中</p>
  49. <h3 class="c11e2dd">4</h3>
  50. <h4 class="text-muted pt6">环比<img src="img/icondown.png" height="16" />3%</h4>
  51. </div>
  52. </div>
  53. <!-- lefttoday_number end -->
  54. </div>
  55. <div class="aleftboxtmidd">
  56. <h2 class="tith2">矛盾纠纷地区统计</h2>
  57. <div class="lefttoday_tit height ht"><p class="fl">状态:已调节</p><p class="fr">时间段:2018-06-10 至 2018-06-14</p></div>
  58. <div id="aleftboxtmidd" class="aleftboxtmiddcont"></div>
  59. </div>
  60. <div class="aleftboxtbott">
  61. <h2 class="tith2">矛盾纠纷类型统计</h2>
  62. <div class="lefttoday_tit height"><p class="fl">状态:已调节</p><p class="fr">时间段:2018-06-10 至 2018-06-14</p></div>
  63. <div id="aleftboxtbott" class="aleftboxtbott_cont" ></div>
  64. </div>
  65. </div>
  66. <!-- left1 end -->
  67. <div class="mrbox">
  68. <div class="mrbox_topmidd" style="width: 69%;">
  69. <div class="amiddboxttop">
  70. <h2 class="tith2 pt1">实时监控统计</h2>
  71. <div class="amiddboxttop_map" style="">
  72. <span class="camera_l" style=" top:34%;left:32%"></span>
  73. <span class="camera_l" style=" top:10%;left:10%"></span>
  74. <span class="camera_l" style=" top:5%;left:40%"></span>
  75. <span class="camera_l" style=" top:10%;left:50%"></span>
  76. <span style=" top:30%;left:75%"></span>
  77. <span style=" top:5%;left:92%"></span>
  78. <span style=" top:40%;left:83%"></span>
  79. </div>
  80. </div>
  81. <!-- amiddboxttop end-->
  82. <div class="amidd_bott">
  83. <div class="amiddboxtbott1 fl" >
  84. <h2 class="tith2 pt1">矛盾纠纷环比分析</h2>
  85. <div id="amiddboxtbott1" class="amiddboxtbott1content" ></div>
  86. </div>
  87. <div class="amiddboxtbott2 fl"><h2 class="tith2 pt1">案件统计</h2>
  88. <div id="amiddboxtbott2" class="amiddboxtbott2content"></div>
  89. </div>
  90. </div>
  91. <!-- amidd_bott end -->
  92. </div>
  93. <!-- mrbox_top end -->
  94. <div class="mrbox_top_right">
  95. <div class="arightboxtop"><h2 class="tith2">警力分析</h2>
  96. <div class="lefttoday_tit"><p class="fl">状态:已调节</p><p class="fr">时间段:2018-06-10</p></div>
  97. <div class="left2_table">
  98. <ul>
  99. <li>
  100. <p class="fl"><b>康定市公安局</b><br>
  101. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  102. </p>
  103. <p class="fr pt17">2018-06-22</p>
  104. </li>
  105. <li class="bg">
  106. <p class="fl"><b>康定市公安局</b><br>
  107. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  108. </p>
  109. <p class="fr pt17">2018-06-22</p>
  110. </li>
  111. <li>
  112. <p class="fl"><b>康定市公安局</b><br>
  113. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  114. </p>
  115. <p class="fr pt17">2018-06-22</p>
  116. </li>
  117. <li class="bg">
  118. <p class="fl"><b>康定市公安局</b><br>
  119. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  120. </p>
  121. <p class="fr pt17">2018-06-22</p>
  122. </li>
  123. <li>
  124. <p class="fl"><b>康定市公安局</b><br>
  125. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  126. </p>
  127. <p class="fr pt17">2018-06-22</p>
  128. </li>
  129. <li class="bg">
  130. <p class="fl"><b>康定市公安局</b><br>
  131. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  132. </p>
  133. <p class="fr pt17">2018-06-22</p>
  134. </li>
  135. <li>
  136. <p class="fl"><b>康定市公安局</b><br>
  137. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  138. </p>
  139. <p class="fr pt17">2018-06-22</p>
  140. </li>
  141. <li class="bg">
  142. <p class="fl"><b>康定市公安局</b><br>
  143. 村名王某因为被隔壁邻居的狗咬了,产生了纠纷,村名报警。<br>
  144. </p>
  145. <p class="fr pt17">2018-06-22</p>
  146. </li>
  147. </ul>
  148. </div>
  149. </div>
  150. <div class="arightboxbott"><h2 class="tith2 ">矛盾纠纷七日数据分析</h2>
  151. <div class="lefttoday_tit"><p class="fl">状态:已调节</p><p class="fr">时间:2018-06-14</p></div>
  152. <div id="arightboxbott" class="arightboxbottcont" style=""></div>
  153. </div>
  154. </div>
  155. <!-- mrbox_top_right end -->
  156. </div>
  157. </div>
  158. </div>
  159. <script type="text/javascript">
  160. var myChart = echarts.init(document.getElementById('aleftboxtmidd'));
  161. option = {
  162. color:['#76c4bf','#e5ffc7','#508097','#4d72d9'],
  163. backgroundColor: 'rgba(1,202,217,.2)',
  164. grid: {
  165. left:10,
  166. right:40,
  167. top:20,
  168. bottom:0,
  169. containLabel: true
  170. },
  171. // legend: {
  172. // x : 'center',
  173. // y : '70%',
  174. // textStyle:{
  175. // fontSize: 10,
  176. // color:'rgba(255,255,255,.7)'
  177. // },
  178. // data:['康定市','丹巴县','甘孜县','理塘县']
  179. // },
  180. calculable : true,
  181. series : [
  182. {
  183. name:'面积模式',
  184. type:'pie',
  185. radius : [5, 60],
  186. center : ['50%', '55%'],
  187. roseType : 'area',
  188. data:[
  189. {value:10, name:'康定市'},
  190. {value:5, name:'丹巴县'},
  191. {value:15, name:'甘孜县'},
  192. {value:25, name:'理塘县'}
  193. ]
  194. }
  195. ]
  196. };
  197. myChart.setOption(option);
  198. </script>
  199. <script type="text/javascript">
  200. var myChart = echarts.init(document.getElementById('aleftboxtbott'));
  201. option = {
  202. color:['#7ecef4'],
  203. backgroundColor: 'rgba(1,202,217,.2)',
  204. grid: {
  205. left:20,
  206. right:20,
  207. top:13,
  208. bottom:6,
  209. containLabel: true
  210. },
  211. xAxis: {
  212. type: 'value',
  213. axisLine:{
  214. lineStyle:{
  215. color:'rgba(255,255,255,.2)'
  216. }
  217. },
  218. splitLine:{
  219. lineStyle:{
  220. color:'rgba(255,255,255,0)'
  221. }
  222. },
  223. axisLabel:{
  224. color:"rgba(255,255,255,0)"
  225. },
  226. boundaryGap: [0, 0.01]
  227. },
  228. yAxis: {
  229. type: 'category',
  230. axisLine:{
  231. lineStyle:{
  232. color:'rgba(255,255,255,.5)'
  233. }
  234. },
  235. splitLine:{
  236. lineStyle:{
  237. color:'rgba(255,255,255,.1)'
  238. }
  239. },
  240. axisLabel:{
  241. color:"rgba(255,255,255,.5)"
  242. },
  243. data: ['未调节','调节中','未调节']
  244. },
  245. series: [
  246. {
  247. name: '2011年',
  248. type: 'bar',
  249. barWidth :30,
  250. itemStyle: {
  251. normal: {
  252. color: new echarts.graphic.LinearGradient(
  253. 1, 0, 0, 1,
  254. [
  255. {offset: 0, color: 'rgba(230,253,139,.7)'},
  256. {offset: 1, color: 'rgba(41,220,205,.7)'}
  257. ]
  258. )
  259. }
  260. },
  261. data: [18203, 23489, 29034]
  262. }
  263. ]
  264. };
  265. myChart.setOption(option);
  266. </script>
  267. <script type="text/javascript">
  268. var myChart = echarts.init(document.getElementById('amiddboxtbott1'));
  269. var data = [
  270. [[28604,77,17099,'Australia',1990],[31163,77.4,2440,'Canada',1990],[1516,68,1605773,'China',1990],[13670,74.7,10082,'Cuba',1990],[28599,75,49805,'Finland',1990],[29476,77.1,569499,'France',1990],[31476,75.4,789237,'Germany',1990],[28666,78.1,254830,'Iceland',1990],[1777,57.7,870776,'India',1990],[29550,79.1,129285,'Japan',1990],[2076,67.9,201954,'North Korea',1990],[12087,72,42954,'South Korea',1990],[24021,75.4,33934,'New Zealand',1990],[43296,76.8,4240375,'Norway',1990],[10088,70.8,381958,'Poland',1990],[19349,69.6,1475652,'Russia',1990],[10670,67.3,53905,'Turkey',1990],[26424,75.7,57117,'United Kingdom',1990],[37062,75.4,252810,'United States',1990]],
  271. [[44056,81.8,23973,'Australia',2015],[43294,81.7,35927,'Canada',2015],[13334,76.9,1376043,'China',2015],[21291,78.5,11562,'Cuba',2015],[38923,80.8,55057,'Finland',2015],[37599,81.9,64345,'France',2015],[44053,81.1,80545,'Germany',2015],[42182,82.8,329425,'Iceland',2015],[5903,66.8,1311027,'India',2015],[36162,83.5,126571,'Japan',2015],[1390,71.4,251317,'North Korea',2015],[34644,80.7,503439,'South Korea',2015],[34186,80.6,4528526,'New Zealand',2015],[64304,81.6,5210967,'Norway',2015],[24787,77.3,386194,'Poland',2015],[23038,73.13,143918,'Russia',2015],[19360,76.5,78630,'Turkey',2015],[38225,81.4,64715810,'United Kingdom',2015],[53354,79.1,321771,'United States',2015]]
  272. ];
  273. option = {
  274. backgroundColor: 'rgba(1,202,217,.2)',
  275. grid: {
  276. left:40,
  277. right:40,
  278. top:50,
  279. bottom:40
  280. },
  281. title: {
  282. top: 5,
  283. left:20,
  284. textStyle:{
  285. fontSize:10,
  286. color:'rgba(255,255,255,.6)'
  287. },
  288. text: '环比类型:日环比'
  289. },
  290. legend: {
  291. right: 10,
  292. top: 5,
  293. textStyle:{
  294. fontSize:10,
  295. color:'rgba(255,255,255,.6)'
  296. },
  297. data: ['1990', '2015']
  298. },
  299. xAxis: {
  300. axisLine:{
  301. lineStyle:{
  302. color:'rgba(255,255,255,.2)'
  303. }
  304. },
  305. splitLine:{
  306. lineStyle:{
  307. color:'rgba(255,255,255,.1)'
  308. }
  309. },
  310. axisLabel:{
  311. color:"rgba(255,255,255,.7)"
  312. }
  313. },
  314. yAxis: {
  315. axisLine:{
  316. lineStyle:{
  317. color:'rgba(255,255,255,.2)'
  318. }
  319. },
  320. splitLine:{
  321. lineStyle:{
  322. color:'rgba(255,255,255,.1)'
  323. }
  324. },
  325. axisLabel:{
  326. color:"rgba(255,255,255,.7)"
  327. },
  328. scale: true
  329. },
  330. series: [{
  331. name: '1990',
  332. data: data[0],
  333. type: 'scatter',
  334. symbolSize: function (data) {
  335. return Math.sqrt(data[2]) / 5e2;
  336. },
  337. label: {
  338. emphasis: {
  339. show: true,
  340. formatter: function (param) {
  341. return param.data[3];
  342. },
  343. position: 'top'
  344. }
  345. },
  346. itemStyle: {
  347. normal: {
  348. shadowBlur: 10,
  349. shadowColor: 'rgba(120, 36, 50, 0.5)',
  350. shadowOffsetY: 5,
  351. color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{
  352. offset: 0,
  353. color: 'rgb(251, 118, 123)'
  354. }, {
  355. offset: 1,
  356. color: 'rgb(204, 46, 72)'
  357. }])
  358. }
  359. }
  360. }, {
  361. name: '2015',
  362. data: data[1],
  363. type: 'scatter',
  364. symbolSize: function (data) {
  365. return Math.sqrt(data[2]) / 5e2;
  366. },
  367. label: {
  368. emphasis: {
  369. show: true,
  370. formatter: function (param) {
  371. return param.data[3];
  372. },
  373. position: 'top'
  374. }
  375. },
  376. itemStyle: {
  377. normal: {
  378. shadowBlur: 10,
  379. shadowColor: 'rgba(25, 100, 150, 0.5)',
  380. shadowOffsetY: 5,
  381. color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{
  382. offset: 0,
  383. color: 'rgb(129, 227, 238)'
  384. }, {
  385. offset: 1,
  386. color: 'rgb(25, 183, 207)'
  387. }])
  388. }
  389. }
  390. }]
  391. };
  392. myChart.setOption(option);
  393. </script>
  394. <script type="text/javascript">
  395. var myChart = echarts.init(document.getElementById('amiddboxtbott2'));
  396. option = {
  397. backgroundColor: 'rgba(1,202,217,.2)',
  398. grid: {
  399. left:60,
  400. right:60,
  401. top:50,
  402. bottom:40
  403. },
  404. toolbox: {
  405. feature: {
  406. dataView: {show: true, readOnly: false},
  407. magicType: {show: true, type: ['line', 'bar']},
  408. restore: {show: true},
  409. saveAsImage: {show: true}
  410. }
  411. },
  412. legend: {
  413. top:10,
  414. textStyle:{
  415. fontSize: 10,
  416. color:'rgba(255,255,255,.7)'
  417. },
  418. data:['2017年','2018年','同比增速']
  419. },
  420. xAxis: [
  421. {
  422. type: 'category',
  423. axisLine:{
  424. lineStyle:{
  425. color:'rgba(255,255,255,.2)'
  426. }
  427. },
  428. splitLine:{
  429. lineStyle:{
  430. color:'rgba(255,255,255,.1)'
  431. }
  432. },
  433. axisLabel:{
  434. color:"rgba(255,255,255,.7)"
  435. },
  436. data: ['1','2','3','4','5','6','7','8','9','10','11','12'],
  437. axisPointer: {
  438. type: 'shadow'
  439. }
  440. }
  441. ],
  442. yAxis: [
  443. {
  444. type: 'value',
  445. name: '',
  446. min: 0,
  447. max: 250,
  448. interval: 50,
  449. axisLine:{
  450. lineStyle:{
  451. color:'rgba(255,255,255,.3)'
  452. }
  453. },
  454. splitLine:{
  455. lineStyle:{
  456. color:'rgba(255,255,255,.01)'
  457. }
  458. },
  459. axisLabel: {
  460. formatter: '{value} ml'
  461. }
  462. },
  463. {
  464. type: 'value',
  465. name: '',
  466. max: 25,
  467. interval: 5,
  468. axisLine:{
  469. lineStyle:{
  470. color:'rgba(255,255,255,.3)'
  471. }
  472. },
  473. splitLine:{
  474. lineStyle:{
  475. color:'rgba(255,255,255,.1)'
  476. }
  477. },
  478. axisLabel: {
  479. formatter: '{value} °C'
  480. }
  481. }
  482. ],
  483. series: [
  484. {
  485. name:'2017年',
  486. type:'bar',
  487. itemStyle: {
  488. normal: {
  489. color: new echarts.graphic.LinearGradient(
  490. 0, 0, 0, 1,
  491. [
  492. {offset: 0, color: '#b266ff'},
  493. {offset: 1, color: '#121b87'}
  494. ]
  495. )
  496. }
  497. },
  498. data:[2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3]
  499. },
  500. {
  501. name:'2018年',
  502. type:'bar',
  503. itemStyle: {
  504. normal: {
  505. color: new echarts.graphic.LinearGradient(
  506. 0, 0, 0, 1,
  507. [
  508. {offset: 0, color: '#00f0ff'},
  509. {offset: 1, color: '#032a72'}
  510. ]
  511. )
  512. }
  513. },
  514. data:[2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3]
  515. },
  516. {
  517. name:'同比增速',
  518. type:'line',
  519. itemStyle: {
  520. normal: {
  521. color: new echarts.graphic.LinearGradient(
  522. 0, 0, 0, 1,
  523. [
  524. {offset: 0, color: '#fffb34'},
  525. {offset: 1, color: '#fffb34'}
  526. ]
  527. )
  528. }
  529. },
  530. yAxisIndex: 1,
  531. data:[2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2]
  532. }
  533. ]
  534. };
  535. myChart.setOption(option);
  536. </script>
  537. <script type="text/javascript">
  538. var myChart = echarts.init(document.getElementById('arightboxbott'));
  539. option = {
  540. color:['#7de494','#7fd7b1', '#5578cf', '#5ebbeb', '#d16ad8','#f8e19a', '#00b7ee', '#81dabe','#5fc5ce'],
  541. backgroundColor: 'rgba(1,202,217,.2)',
  542. grid: {
  543. left: '5%',
  544. right: '8%',
  545. bottom: '7%',
  546. top:'8%',
  547. containLabel: true
  548. },
  549. toolbox: {
  550. feature: {
  551. saveAsImage: {}
  552. }
  553. },
  554. xAxis: {
  555. type: 'category',
  556. boundaryGap: false,
  557. axisLine:{
  558. lineStyle:{
  559. color:'rgba(255,255,255,.2)'
  560. }
  561. },
  562. splitLine:{
  563. lineStyle:{
  564. color:'rgba(255,255,255,.1)'
  565. }
  566. },
  567. axisLabel:{
  568. color:"rgba(255,255,255,.7)"
  569. },
  570. data: ['6-08','6-09','6-10','6-11','6-12','6-13','6-14']
  571. },
  572. yAxis: {
  573. type: 'value',
  574. axisLine:{
  575. lineStyle:{
  576. color:'rgba(255,255,255,.2)'
  577. }
  578. },
  579. splitLine:{
  580. lineStyle:{
  581. color:'rgba(255,255,255,.1)'
  582. }
  583. },
  584. axisLabel:{
  585. color:"rgba(255,255,255,.7)"
  586. },
  587. },
  588. series: [
  589. {
  590. name:'2014年',
  591. type:'line',
  592. stack: '总量',
  593. areaStyle: {normal: {}},
  594. data:[120, 132, 101, 134, 90, 230, 210]
  595. }
  596. ]
  597. };
  598. myChart.setOption(option);
  599. </script>
  600. </body>
  601. </html>