zqyy-yl/dist1/assets/js/chunk-36ad8820.d60e25c1.js
2023-09-08 11:34:27 +08:00

1 line
13 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-36ad8820"],{"01d1":function(t,e,r){t.exports=r.p+"assets/img/policeIcon3.e662a69b.png"},"0c4d":function(t,e,r){"use strict";r("171d")},"0c6d":function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return s}));var n=r("2b0e"),a=r("bc3a"),i=r.n(a),o=r("5c96");i.a.defaults.withCredentials=!0,i.a.defaults.crossDomain=!0;var c=i.a.create({baseURL:"http://51.31.219.42:6896",timeout:12e4});c.interceptors.request.use((function(t){return t}),(function(t){return Promise.reject(t)})),c.interceptors.response.use((function(t){if(t.data.body){if(t.data&&t.data.body&&"0000"===t.data.body.rtnCode)return t.data.body.dataSet;if(!t.data)return t;var e={code:t.data.body.rtnCode,message:t.data.body.rtnMessage};return Promise.reject(e)}return t.data}),(function(t){if(t&&t.response)switch(t.response.status){case 400:o["Message"].error("错误请求");break;case 401:window.location.href=n["default"].prototype.$loginURL;break;case 403:o["Message"].error("拒绝访问");break;case 404:o["Message"].error("请求错误,未找到该资源");break;case 405:o["Message"].error("请求方法未允许");break;case 408:o["Message"].error("请求超时");break;case 500:o["Message"].error("服务器端出错");break;case 501:o["Message"].error("网络未实现");break;case 502:o["Message"].error("网络错误");break;case 503:o["Message"].error("服务不可用");break;case 504:o["Message"].error("网络超时");break;case 505:o["Message"].error("http版本不支持该请求");break;default:o["Message"].error("连接错误".concat(t.response.status))}else JSON.stringify(t).includes("timeout")&&o["Message"].error("服务器响应超时,请刷新当前页"),o["Message"].error("连接服务器失败")}));function s(t,e){return c({url:t,method:"post",data:e})}function u(t,e){return c({url:t,method:"post",data:e})}},"171d":function(t,e,r){},"1c72":function(t,e,r){"use strict";r.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","value-format":"yyyy-MM","picker-options":t.pickerOptions,"default-value":(new Date).getFullYear()-1+"-"+((new Date).getMonth()+1),"range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份"},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",{staticStyle:{height:"auto"}},[e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("ul",{staticClass:"box7"},t._l(t.leftData,(function(n,a){return e("li",{key:a},["涉及城六区刑事警情"==n.TYPE?e("img",{attrs:{src:r("42fd"),alt:""}}):"公民求助警情"==n.TYPE?e("img",{attrs:{src:r("acb2"),alt:""}}):"秩序类警情"==n.TYPE?e("img",{attrs:{src:r("01d1"),alt:""}}):"涉及环城带及远郊警情"==n.TYPE?e("img",{attrs:{src:r("d247"),alt:""}}):"纠纷警情"==n.TYPE?e("img",{attrs:{src:r("6f1c"),alt:""}}):t._e(),e("div",{staticClass:"textData"},[e("p",[t._v(t._s(n.TYPE))]),e("p",[e("span",[t._v(t._s(t._f("formatNum")(n.NUM)))]),t._v("件 ")])])])})),0)])],1),e("li",{staticStyle:{flex:"1",height:"auto"}},[e("p",{staticClass:"echart_title"},[t._v("110接警警情占比分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey1,attrs:{echartObj:t.echartObj2}})],1)],1)])]),e("div",{staticClass:"right"},[e("ul",[e("li",[e("p",{staticClass:"echart_title"},[t._v("110接报警量数量趋势分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey2,attrs:{echartObj:t.echartObj5}})],1)],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("110警情人口比趋势分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey3,attrs:{echartObj:t.echartObj3}})],1)],1)])])])},a=[],i=r("bd29"),o=r("4ec3"),c={data:function(){var t=this;return{echartObjKey1:"echartObjKey1",echartObjKey2:"echartObjKey2",echartObjKey3:"echartObjKey3",pickerOptions:{disabledDate:function(t){return t.getTime()>Date.now()-864e4}},param:{startYear:"",endYear:""},date:"",echartObj2:{color:["#ff7723","#29b584","#af7dff","#8fdd20","#05C7F6","#35e0e3","#ffd200"],tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"<br>"+e.name+""+t.formatNum(e.value)+"件("+e.percent+"%)"}},legend:{icon:"circle",textStyle:{color:"#fff",fontSize:"12"},top:30,right:10,orient:"vertical"},series:[{name:"110接警警情占比分析",type:"pie",animationDuration:2e3,radius:["20%","70%"],center:["45%","50%"],avoidLabelOverlap:!1,label:{show:!0,formatter:"{d}%",position:"inside",color:"#fff",fontSize:16},data:[]},{name:"110接警警情占比分析",type:"pie",animationDuration:2e3,radius:["20%","70%"],center:["45%","50%"],avoidLabelOverlap:!1,label:{show:!0,formatter:function(e){return e.name+""+t.formatNum(e.value)+"件"},position:"outside",color:"#fff",fontSize:14},data:[]}]},echartObj3:{color:["#149bea","#f35a6c","#1cdf7c"],tooltip:{trigger:"axis",position:"inside"},legend:{icon:"circle",show:!0,top:"10",right:"20",textStyle:{color:"#fff"}},grid:{top:"60",left:"20",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},interval:0}}],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:"110警情人口比",type:"line",animationDuration:2e3,smooth:!0,data:[],areaStyle:{normal:{color:"#355184"}},label:{show:!1}}]},echartObj5:{color:["#149bea","#e6ac53","#74e2ca","#85daef","#9feaa5","#5475f5"],tooltip:{trigger:"axis",position:"inside"},legend:{icon:"circle",show:!0,top:"10",right:"20",data:[],textStyle:{color:"#fff"}},grid:{top:"60",left:"20",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},interval:0}}],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:"bar",animationDuration:2e3,smooth:!0,data:[],label:{show:!1}},{name:"",type:"bar",animationDuration:2e3,smooth:!0,data:[],label:{show:!1}},{name:"",type:"bar",animationDuration:2e3,smooth:!0,data:[],label:{show:!1}},{name:"",type:"bar",animationDuration:2e3,smooth:!0,data:[],label:{show:!1}},{name:"",type:"bar",animationDuration:2e3,smooth:!0,data:[],label:{show:!1}},{name:"",type:"line",animationDuration:2e3,smooth:!0,barWidth:"30%",data:[],label:{show:!1}}]},leftData:[]}},created:function(){this.param={startYear:"",endYear:""},this.init()},components:{Echarts:i["a"]},methods:{init:function(){this.getData()},search:function(){this.init()},getData:function(){var t=this,e={opeLogExceptionInfo:"进入社会治安专题模块查询了110接报警数据",opeLogUserAccount:this.$cookies.get("username"),opeLogSystem:"BJCM-DSJ",opeLogStatus:1,opeLogIp:""};Object(o["j"])(e).then((function(t){})),Object(o["t"])(this.param).then((function(e){var r=[];e.list.forEach((function(t,e){r.push({value:t.NUM,name:t.TYPE})})),t.leftData=e.list,t.echartObj2.series[0].data=r,t.echartObj2.series[1].data=r,t.echartObjKey1=(new Date).getTime()+1})).catch((function(t){})),Object(o["a"])(this.param).then((function(e){t.echartObj5.xAxis[0].data=e.listtime;var r=[];e.listvalue.forEach((function(e,n){r.push(e.name),t.echartObj5.series[n].data=e.val,t.echartObj5.series[n].name=e.name,-1!=e.name.indexOf("本月")?t.echartObj5.series[n].type="line":t.echartObj5.series[n].type="bar"})),t.echartObj5.legend.data=r,t.echartObjKey2=(new Date).getTime()+2})).catch((function(t){})),Object(o["u"])(this.param).then((function(e){var r=[],n=[];e.list.forEach((function(t,e){r.push(t.YEARMOYH),n.push(t.NUM)})),t.echartObj3.xAxis[0].data=r,t.echartObj3.series[0].data=n,t.echartObjKey3=(new Date).getTime()+3})).catch((function(t){}))},dateChange:function(t){t?(this.param.startYear=t[0],this.param.endYear=t[1]):(this.param.startYear="",this.param.endYear="")}}},s=c,u=(r("0c4d"),r("2877")),d=Object(u["a"])(s,n,a,!1,null,"7c87174e",null);e["default"]=d.exports},"42fd":function(t,e,r){t.exports=r.p+"assets/img/policeIcon1.2cd6db91.png"},"4ec3":function(t,e,r){"use strict";r.d(e,"t",(function(){return c})),r.d(e,"u",(function(){return s})),r.d(e,"a",(function(){return u})),r.d(e,"d",(function(){return d})),r.d(e,"e",(function(){return f})),r.d(e,"f",(function(){return b})),r.d(e,"g",(function(){return l})),r.d(e,"h",(function(){return p})),r.d(e,"K",(function(){return h})),r.d(e,"H",(function(){return y})),r.d(e,"I",(function(){return m})),r.d(e,"J",(function(){return O})),r.d(e,"n",(function(){return g})),r.d(e,"k",(function(){return j})),r.d(e,"m",(function(){return v})),r.d(e,"l",(function(){return x})),r.d(e,"s",(function(){return w})),r.d(e,"o",(function(){return C})),r.d(e,"q",(function(){return S})),r.d(e,"p",(function(){return k})),r.d(e,"r",(function(){return M})),r.d(e,"v",(function(){return D})),r.d(e,"w",(function(){return L})),r.d(e,"x",(function(){return T})),r.d(e,"A",(function(){return P})),r.d(e,"C",(function(){return Y})),r.d(e,"B",(function(){return E})),r.d(e,"M",(function(){return N})),r.d(e,"N",(function(){return K})),r.d(e,"y",(function(){return A})),r.d(e,"G",(function(){return I})),r.d(e,"E",(function(){return F})),r.d(e,"F",(function(){return U})),r.d(e,"z",(function(){return J})),r.d(e,"O",(function(){return R})),r.d(e,"P",(function(){return z})),r.d(e,"i",(function(){return B})),r.d(e,"L",(function(){return o})),r.d(e,"b",(function(){return _})),r.d(e,"D",(function(){return a})),r.d(e,"c",(function(){return i})),r.d(e,"j",(function(){return G}));var n=r("0c6d"),a=function(t){return Object(n["b"])("/bd/rest/ap-system/loginUser",t)},i=function(t){return Object(n["a"])("/bd/ap-system/casLoginOut",t)},o=function(t){return Object(n["a"])("/bd/rest/society/secuIndex/1",t)},c=function(t){return Object(n["a"])("/bd/rest/society/getNumLeftOne/1",t)},s=function(t){return Object(n["a"])("/bd/rest/society/getNumRightTwo/1",t)},u=function(t){return Object(n["a"])("/bd/rest/society/GetNumRightOne/1",t)},d=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseFil/1",t)},f=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseType/1",t)},b=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseTypee/1",t)},l=function(t){return Object(n["a"])("/bd/rest/society/communityPreventablePopulati/1",t)},p=function(t){return Object(n["a"])("/bd/rest/society/communityPreventablePopulatiMap/1",t)},h=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseType/1",t)},y=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrend/1",t)},m=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendMap/1",t)},O=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendcc/1",t)},g=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseMap/1",t)},j=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8Num/1",t)},v=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8Trend/1",t)},x=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8NumTrend/1",t)},w=function(t){return Object(n["a"])("/bd/rest/society/criminalcrownCaseMap/1",t)},C=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseNum/1",t)},S=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseTrend2/1",t)},k=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseTrend/1",t)},M=function(t){return Object(n["a"])("/bd/rest/society/criminalcrownCaseClass/1",t)},D=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpot/1",t)},L=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotMap/1",t)},T=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotTrend/1",t)},P=function(t){return Object(n["a"])("/bd/rest/society/keyOrg/1",t)},Y=function(t){return Object(n["a"])("/bd/rest/society/keyOrgByYearMonth/1",t)},E=function(t){return Object(n["a"])("/bd/rest/society/keyOrgByType/1",t)},_=function(t){return Object(n["a"])("/bd/rest/society/baseYearMonthQuarter/1",t)},N=function(t){return Object(n["a"])("/bd/rest/society/sensitiveCase/1",t)},K=function(t){return Object(n["a"])("/bd/rest/society/sensitiveCaseType/1",t)},A=function(t){return Object(n["a"])("/bd/rest/society/infomation/1",t)},I=function(t){return Object(n["a"])("/bd/rest/society/petition/1",t)},F=function(t){return Object(n["a"])("/bd/rest/society/majorDecisions/1",t)},U=function(t){return Object(n["a"])("/bd/rest/society/majorDecisionsReport/1",t)},J=function(t){return Object(n["a"])("/bd/rest/society/keyAreas/1",t)},R=function(t){return Object(n["a"])("/bd/rest/society/townAndCountry/1",t)},z=function(t){return Object(n["a"])("/bd/rest/society/townAndCountryEatOther/1",t)},B=function(t){return Object(n["a"])("/bd/rest/society/contradiction/1",t)},G=function(t){return Object(n["a"])("http://51.31.219.28:6893/ap-system/outer/log-audit/createOperationLog",t)}},"6f1c":function(t,e,r){t.exports=r.p+"assets/img/policeIcon5.f2d2690e.png"},acb2:function(t,e,r){t.exports=r.p+"assets/img/policeIcon2.3fd8873e.png"},d247:function(t,e,r){t.exports=r.p+"assets/img/policeIcon4.5c28652b.png"}}]);