(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55e00278"],{"0d5a":function(t,e,a){t.exports=a.p+"assets/img/7.877a0fcb.png"},1132:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main"},[e("div",{staticClass:"menuSearch"},[e("el-date-picker",{attrs:{type:"monthrange","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份","value-format":"yyyy-MM","picker-options":t.pickerOptions,"default-value":(new Date).getFullYear()-1+"-"+((new Date).getMonth()+1)},on:{change:t.dateChange},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}}),e("el-button",{attrs:{type:"primary",round:""},on:{click:t.search}},[e("i",{staticClass:"iconfont iconchaxun"}),t._v("查询 ")])],1),e("div",{staticClass:"left"},[e("ul",[e("li",[e("p",{staticClass:"title"},[t._v("各地点发生矛盾次数统计")]),e("ul",{staticClass:"aa"},[t._m(0),t._l(t.data,(function(a,n){return e("li",{key:n},[e("span",{staticStyle:{"min-width":"7em"}},[t._v(t._s(a.name))]),e("p",[e("i",{style:"width:"+a.proportion})]),e("span",[t._v(t._s(t._f("formatNum")(a.val)))])])}))],2)])])]),e("div",{staticClass:"right"},[e("ul",[e("li",[e("p",{staticClass:"title"},[t._v("矛盾类别占比分析")]),e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj1}})],1),e("li",[e("p",{staticClass:"title"},[t._v("矛盾风险等级占比分析")]),e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj2}})],1)]),e("ul",{staticClass:"b"},[e("li",[e("p",{staticClass:"title"},[t._v("发生矛盾趋势分析")]),e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj3}})],1)])])])},i=[function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("地点")]),e("span",[t._v("发生矛盾次数(次)")])])}],r=(a("313e"),a("71c2")),o=a("bd29"),s=a("4ec3");function c(t){return m(t)||d(t)||u(t)||l()}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,e){if(t){if("string"===typeof t)return f(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?f(t,e):void 0}}function d(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function m(t){if(Array.isArray(t))return f(t)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);aDate.now()-864e4}},param:{startYear:"",endYear:""},date:"",data:[],echartObj1:{color:["#87cefa","#2eccdc","#ff7f50","#cea6e4","#dc8ab5","#f8d04a","#c3ef9d"],tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"
"+e.name+":"+t.formatNum(e.value)+"次("+e.percent+"%)"}},legend:{icon:"circle",top:"0",textStyle:{color:"#fff"}},series:[{name:"矛盾类别占比分析",type:"pie",animationDuration:2e3,radius:["30%","70%"],center:["50%","50%"],avoidLabelOverlap:!0,data:[],itemStyle:{normal:{label:{show:!0,fontSize:14,formatter:function(e){return e.name+":"+t.formatNum(e.value)+"次"}},labelLine:{show:!0}}}},{name:"矛盾类别占比分析",type:"pie",animationDuration:2e3,radius:["30%","70%"],center:["50%","50%"],avoidLabelOverlap:!0,data:[],itemStyle:{normal:{label:{show:!0,fontSize:16,formatter:"{d}%",position:"inside"},labelLine:{show:!0}}}},{radius:["30%","40%"],type:"pie",animationDuration:2e3,animation:!1,tooltip:{show:!1},data:[{value:0,itemStyle:{color:"rgba(0,0,0,0.2)"}}]}]},echartObj2:{color:["#ff7723","#29b584","#cea6e4","#8fdd20","#05C7F6","#35e0e3","#ffd200"],tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"
"+e.name+":"+t.formatNum(e.value)+"次("+e.percent+"%)"}},legend:{icon:"circle",show:!0,top:"0",textStyle:{color:"#fff"}},series:[{name:"矛盾风险等级占比分析",type:"pie",animationDuration:2e3,radius:["30%","70%"],center:["50%","50%"],avoidLabelOverlap:!0,data:[],itemStyle:{normal:{label:{show:!0,fontSize:14,formatter:function(e){return e.name+":"+t.formatNum(e.value)+"次"}},labelLine:{show:!0}}}},{name:"矛盾风险等级占比分析",type:"pie",animationDuration:2e3,radius:["30%","70%"],center:["50%","50%"],avoidLabelOverlap:!0,data:[],itemStyle:{normal:{label:{show:!0,fontSize:16,formatter:"{d}%",position:"inside"},labelLine:{show:!0}}}},{radius:["30%","40%"],type:"pie",animationDuration:2e3,animation:!1,tooltip:{show:!1},data:[{value:0,itemStyle:{color:"rgba(0,0,0,0.2)"}}]}]},echartObj3:{tooltip:{trigger:"axis"},legend:{top:"10",right:"20",icon:"circle",itemWidth:20,textStyle:{color:"#fff"}},grid:{top:"60",left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,interval:0,textStyle:{color:"#2dd4fc"}}}],yAxis:[{name:"单位(次)",type:"value",axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}},splitLine:{show:!0,lineStyle:{color:"#355184",width:1}}}],series:[{name:"发生矛盾次数",type:"line",animationDuration:2e3,smooth:!0,label:{show:!0,formatter:function(e){return t.formatNum(e.value)}},lineStyle:{normal:{width:3}},itemStyle:{normal:{color:"#3aebd5",lineStyle:{color:"#3aebd5"}}},symbol:"circle",symbolSize:10,data:[]}]}}},components:{Header:r["a"],Echarts:o["a"]},created:function(){this.param={startYear:"",endYear:""},this.init()},methods:{init:function(){this.getData()},search:function(){this.init()},getData:function(){var t=this,e={opeLogExceptionInfo:"进入社会治安专题模块查询了矛盾分析数据",opeLogUserAccount:this.$cookies.get("username"),opeLogSystem:"BJCM-DSJ",opeLogStatus:1,opeLogIp:""};Object(s["j"])(e).then((function(t){})),Object(s["i"])(this.param).then((function(e){var a=t.getMax(c(e.list));t.data=e.list,t.data.forEach((function(t,e){t.proportion=(t.val/a*100).toFixed(2)+"%"})),t.echartObj1.series[0].data=e.listtype.map((function(t){return{value:t.val,name:t.name}})),t.echartObj1.series[1].data=e.listtype.map((function(t){return{value:t.val,name:t.name}})),t.echartObj2.series[0].data=e.listtlevel.map((function(t){return{value:t.val,name:t.name}})),t.echartObj2.series[1].data=e.listtlevel.map((function(t){return{value:t.val,name:t.name}})),t.echartObj3.xAxis[0].data=[],t.echartObj3.series[0].data=[],e.listttrend.forEach((function(e,a){t.echartObj3.xAxis[0].data.push(e["YEAR_MONTH"]),t.echartObj3.series[0].data.push(e["NUM"])})),t.echartObjKey=(new Date).getTime()+1})).catch((function(t){}))},dateChange:function(t){t?(this.param.startYear=t[0],this.param.endYear=t[1]):(this.param.startYear="",this.param.endYear="")},getMax:function(t){t.sort((function(t,e){return t.val-e.val}));var e=t[t.length-1].val,a=Math.pow(10,Number(String(e).length-1)),n=Math.floor(e/a)*a+a;return n}}},h=p,g=(a("9008"),a("2877")),v=Object(g["a"])(h,n,i,!1,null,"4675b826",null);e["default"]=v.exports},1631:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAAgCAYAAADKbvy8AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAPOSURBVGiB7ZrLb1VVGMXXt/e5j962PEKCiqg1kkIbiQQRSDXaEr2kCQ6EOHHiwJj4Z/AHMDQOnBgnRkLQGNSEYJGHYqWhBkjRiKJGjEpqve3tfZzXtxyQGvq6L0+Pk/2bfPfbe6+Tlbuyc56CDineCJ/VjL7Tqd6RAMpvvY61om9gBj9gDn8k6cnRIg9glxjvrY4CfGEq2EVwJ+YxQVINAAXgajpVerAR1tw5M+B92tkONHgNFfwClbqIgAAEcDWlim5uQcxjANB2gMPf1PpIDmGWXwslbFfv+I/kuZ4Z+tFA7iOggwA9D6+igl9JU6VJ3p+jMbKOWxGZd8+JRECbARavcnMsYdGUMS5gsDYWHatBT3pokYmnSycWxtoKUOG/Ir78DsV88vYcTenlQ1AcPzey+d//v+UAR29yXVgLD7HMyyDcuS9tPOTpcb1Xyb2/eLhFolp4GBFnTIDZ5N05msEC+oU4dXpIZu4dbynA0ZvMBdXgsJTNJMWd+1LHMMcs74fNvbd0qqUAg/lg1CgqDDidvDtHU7plG4DPx3bKn0unWgrQiBzhfDxFd9+XPgaeZOSRMNBjK003DfD5idowIwoi+5vY5P05mtDFPiEmL+zr+mml6eY70NgjUuV1kG73pQwpBlk8pgZHV1vTMMCRK8GTUKxTHz8nbc7RHFOQPiL+cWx3143V1jQM0EbxSwzkmnvm+f/AjG5X2DcbrVk1wJGJ+nbAbDGhuawCTd6eoxEmr1spnD67JzvZaN2qAdoYLyLS64zVF1gAMeBqalU93SGxWfTUZSVWDPDApeqDAPpRw0mjDIHonlnC9Wvbs6D3ESb6bH92HE1YMUBjvINQXAOkosteGS2VuD7pXqwOCOVjtMCyAJ+5WNoo1CdQ5wdirbt4SRla3aSCQinjfdnK+mUB5k3XAYb8TmnLydtzNMNYDApx5sqe1q78FwVYvMrueM5/ykbmQ6i7cU8bNaYXkE0VZC+0qlkUIOf9pwFzK0SmBOsjhxx8+AByAFy/1r3NcIeAF78aklrbAb48xWzpr2C/RuEnRjMhAIS4+ynbAq5fuz6OpQDLh6u2fAJtIAs/iuerQxRvUGrR6XYO4EgGzdi9ahicHc6fakd3dwcepVH6+ygcg+1yL2xTRljPicW2oFx/u12tBwDDzwWDiFny6rnbydtzNEOz3uOgfv/FoQ1/t6v1AMCj7CXNeK7HfayUNnFp1vMz+cGqHx7vRO8Vz/PRKApDtdlbcy6+1JFCoV/I25cO9t7pRO9pHO82wAaj4etJm3O0hsTRyU61/wDDOo4ACqKdDQAAAABJRU5ErkJggg=="},"1bcd":function(t,e,a){},"22e9":function(t,e,a){t.exports=a.p+"assets/img/8.c9c9c48d.png"},"3d01b":function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"modal"}),e("div",{attrs:{id:"perspective"}},[e("div",{attrs:{id:"wrap"}},[e("img",{attrs:{src:a("4e77"),path:"/office",title:"日常办公"}}),e("img",{attrs:{src:a("b17f"),path:"/cult",title:"反邪教"}}),e("img",{attrs:{src:a("7547"),path:"/politicalAndLaw",title:"政法队伍"}}),e("img",{attrs:{src:a("cd68"),path:"/intelligent",title:"智能办案"}}),e("img",{attrs:{src:a("60f87"),path:"/publicSecurity",title:"社会治安"}}),e("img",{attrs:{src:a("0d5a"),path:"/socialStabilityIndex",title:"社会稳定指数"}}),e("img",{attrs:{src:a("22e9"),path:"/population",title:"其他"}}),e("p")])])])},i=[],r={name:"navComponents",data:function(){return{rotate:function(){},rotateY:0}},props:{navData:{type:Array,default:function(){return[]}}},mounted:function(){this.album()},methods:{startRotate:function(){var t=this;clearInterval(this.rotate);var e=document.getElementById("wrap");this.rotate=setInterval((function(){t.rotateY=t.rotateY||0,e&&(e.style.transform="rotateX(-24deg) rotateY(".concat(t.rotateY--,"deg)"))}),100)},album:function(){var t=this,e=this,a=document.getElementById("wrap"),n=a.getElementsByTagName("img"),i=n.length,r=360/i,o=document.documentElement.clientWidth/100*24;function s(){var t=document.documentElement.clientHeight;a.style.marginTop=t/2-186+"px"}setTimeout((function(){for(var s=0;s