analysis.html 32 KB

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