(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b1c5b48"],{"0c6d":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s}));var r=n("2b0e"),a=n("bc3a"),i=n.n(a),o=n("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=r["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})}},"4dae":function(t,e,n){"use strict";n("e645")},"4ec3":function(t,e,n){"use strict";n.d(e,"t",(function(){return c})),n.d(e,"u",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return b})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return p})),n.d(e,"K",(function(){return y})),n.d(e,"H",(function(){return m})),n.d(e,"I",(function(){return h})),n.d(e,"J",(function(){return g})),n.d(e,"n",(function(){return O})),n.d(e,"k",(function(){return j})),n.d(e,"m",(function(){return v})),n.d(e,"l",(function(){return C})),n.d(e,"s",(function(){return S})),n.d(e,"o",(function(){return A})),n.d(e,"q",(function(){return E})),n.d(e,"p",(function(){return M})),n.d(e,"r",(function(){return w})),n.d(e,"v",(function(){return N})),n.d(e,"w",(function(){return T})),n.d(e,"x",(function(){return k})),n.d(e,"A",(function(){return x})),n.d(e,"C",(function(){return D})),n.d(e,"B",(function(){return R})),n.d(e,"M",(function(){return P})),n.d(e,"N",(function(){return _})),n.d(e,"y",(function(){return Y})),n.d(e,"G",(function(){return I})),n.d(e,"E",(function(){return U})),n.d(e,"F",(function(){return W})),n.d(e,"z",(function(){return V})),n.d(e,"O",(function(){return F})),n.d(e,"P",(function(){return H})),n.d(e,"i",(function(){return B})),n.d(e,"L",(function(){return o})),n.d(e,"b",(function(){return L})),n.d(e,"D",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"j",(function(){return J}));var r=n("0c6d"),a=function(t){return Object(r["b"])("/bd/rest/ap-system/loginUser",t)},i=function(t){return Object(r["a"])("/bd/ap-system/casLoginOut",t)},o=function(t){return Object(r["a"])("/bd/rest/society/secuIndex/1",t)},c=function(t){return Object(r["a"])("/bd/rest/society/getNumLeftOne/1",t)},s=function(t){return Object(r["a"])("/bd/rest/society/getNumRightTwo/1",t)},u=function(t){return Object(r["a"])("/bd/rest/society/GetNumRightOne/1",t)},l=function(t){return Object(r["a"])("/bd/rest/society/communityPreventableCaseFil/1",t)},d=function(t){return Object(r["a"])("/bd/rest/society/communityPreventableCaseType/1",t)},b=function(t){return Object(r["a"])("/bd/rest/society/communityPreventableCaseTypee/1",t)},f=function(t){return Object(r["a"])("/bd/rest/society/communityPreventablePopulati/1",t)},p=function(t){return Object(r["a"])("/bd/rest/society/communityPreventablePopulatiMap/1",t)},y=function(t){return Object(r["a"])("/bd/rest/society/publicSecurityCaseType/1",t)},m=function(t){return Object(r["a"])("/bd/rest/society/publicSecurityCaseTrend/1",t)},h=function(t){return Object(r["a"])("/bd/rest/society/publicSecurityCaseTrendMap/1",t)},g=function(t){return Object(r["a"])("/bd/rest/society/publicSecurityCaseTrendcc/1",t)},O=function(t){return Object(r["a"])("/bd/rest/society/criminalCaseMap/1",t)},j=function(t){return Object(r["a"])("/bd/rest/society/criminalCase8Num/1",t)},v=function(t){return Object(r["a"])("/bd/rest/society/criminalCase8Trend/1",t)},C=function(t){return Object(r["a"])("/bd/rest/society/criminalCase8NumTrend/1",t)},S=function(t){return Object(r["a"])("/bd/rest/society/criminalcrownCaseMap/1",t)},A=function(t){return Object(r["a"])("/bd/rest/society/criminalCaseNum/1",t)},E=function(t){return Object(r["a"])("/bd/rest/society/criminalCaseTrend2/1",t)},M=function(t){return Object(r["a"])("/bd/rest/society/criminalCaseTrend/1",t)},w=function(t){return Object(r["a"])("/bd/rest/society/criminalcrownCaseClass/1",t)},N=function(t){return Object(r["a"])("/bd/rest/society/groupPreventionCureSpot/1",t)},T=function(t){return Object(r["a"])("/bd/rest/society/groupPreventionCureSpotMap/1",t)},k=function(t){return Object(r["a"])("/bd/rest/society/groupPreventionCureSpotTrend/1",t)},x=function(t){return Object(r["a"])("/bd/rest/society/keyOrg/1",t)},D=function(t){return Object(r["a"])("/bd/rest/society/keyOrgByYearMonth/1",t)},R=function(t){return Object(r["a"])("/bd/rest/society/keyOrgByType/1",t)},L=function(t){return Object(r["a"])("/bd/rest/society/baseYearMonthQuarter/1",t)},P=function(t){return Object(r["a"])("/bd/rest/society/sensitiveCase/1",t)},_=function(t){return Object(r["a"])("/bd/rest/society/sensitiveCaseType/1",t)},Y=function(t){return Object(r["a"])("/bd/rest/society/infomation/1",t)},I=function(t){return Object(r["a"])("/bd/rest/society/petition/1",t)},U=function(t){return Object(r["a"])("/bd/rest/society/majorDecisions/1",t)},W=function(t){return Object(r["a"])("/bd/rest/society/majorDecisionsReport/1",t)},V=function(t){return Object(r["a"])("/bd/rest/society/keyAreas/1",t)},F=function(t){return Object(r["a"])("/bd/rest/society/townAndCountry/1",t)},H=function(t){return Object(r["a"])("/bd/rest/society/townAndCountryEatOther/1",t)},B=function(t){return Object(r["a"])("/bd/rest/society/contradiction/1",t)},J=function(t){return Object(r["a"])("http://51.31.219.28:6893/ap-system/outer/log-audit/createOperationLog",t)}},b9f4:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page"},[e("div",{staticClass:"menuSearch"},[e("el-date-picker",{attrs:{"value-format":"yyyy-MM","picker-options":t.pickerOptions,"default-value":(new Date).getFullYear()-1+"-"+((new Date).getMonth()+1),type:"monthrange","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:"main"},[e("div",{staticClass:"left"},[e("Echarts",{attrs:{events:t.events,echartObj:t.echartMap}})],1),e("div",{staticClass:"right"},[e("ul",[e("li",[e("p",[t._v("社会稳定指数预警信息")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("div",{staticClass:"table"},[e("el-table",{staticClass:"lh40 table_header",attrs:{height:t.tableHeight,data:t.tableData}},[e("el-table-column",{attrs:{prop:"color",label:"预警类型",width:"100"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("i",{staticClass:"iconfont iconshandian",style:"color:"+t.row.color})]}}])}),e("el-table-column",{attrs:{prop:"AREANAME",label:"地区"}}),e("el-table-column",{attrs:{prop:"YEAR_MONTH",label:"月份"}}),e("el-table-column",{attrs:{prop:"WARNCONTENTNAME",label:"内容"}}),e("el-table-column",{attrs:{prop:"GENERATEDATE",label:"生成时间"}})],1)],1)])],1),e("li",[e("p",[t._v("预警地区指数趋势分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj1}})],1)],1)])])])])},a=[],i=n("bd29"),o=n("c730"),c=n("4ec3"),s={data:function(){return{echartObjKey:"echartObjKey",pickerOptions:{disabledDate:function(t){return t.getTime()>Date.now()-864e4}},region:"北京市",province:"北京",param:{endYear:"",areaCode:""},date:"",tableHeight:window.innerHeight-600,tableData:[],echartObj1:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{top:"10",right:"20",icon:"circle",textStyle:{color:"#ffffff"}},grid:{top:"40",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:[{type:"value",axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}},splitLine:{show:!0,lineStyle:{color:"#355184",width:1}}}],series:[]},echartMap:{tooltip:{trigger:"item",formatter:function(t){if(t.data)return t.data.name+"
社会稳定指数: "+t.data.value}},dataset:[],visualMap:{type:"continuous",right:"10",textStyle:{fontSize:14,color:"#fff"},realtime:!1,calculable:!0,inRange:{color:["#afdee4","#01a6ac","#2b92d4","#1d7ff7"]}},series:{type:"map",map:"北京",layoutCenter:["50%","50%"],layoutSize:"100%",label:{normal:{show:!0,textStyle:{color:"#fff"}},emphasis:{show:!0,textStyle:{color:"#fff"}}},itemStyle:{normal:{areaColor:"rgba(24,65,91,0.3)",borderColor:"#7cccdf",borderWidth:2,shadowColor:"#7cccdf",shadowBlur:20},emphasis:{areaColor:"#F89C40"}},data:[{name:"延庆区",value:67.84,lng:115.981186,lat:40.462706},{name:"怀柔区",value:85.36,lng:116.63853,lat:40.322563},{name:"密云区",value:75.38,lng:116.849551,lat:40.382999},{name:"昌平区",value:88.28,lng:116.237832,lat:40.226854},{name:"顺义区",value:83.01,lng:116.663242,lat:40.1362},{name:"平谷区",value:76.71,lng:117.128025,lat:40.147115},{name:"门头沟区",value:81.24,lng:116.108179,lat:39.94648},{name:"海淀区",value:79.22,lng:116.304872,lat:39.96553},{name:"石景山区",value:83.38,lng:116.229612,lat:39.912017},{name:"西城区",value:84.01,lng:116.372397,lat:39.918561},{name:"东城区",value:84.23,lng:116.42272,lat:39.934579},{name:"朝阳区",value:83.72,lng:116.449767,lat:39.927254},{name:"通州区",value:78.74,lng:116.662928,lat:39.917001},{name:"大兴区",value:87.71,lng:116.348053,lat:39.732833},{name:"房山区",value:79.47,lng:116.149892,lat:39.755039},{name:"丰台区",value:81.13,lng:116.293105,lat:39.865042}]}}}},components:{Echarts:i["a"]},created:function(){this.param={startYear:"",endYear:""},this.getData()},methods:{events:function(t,e,n){e.series.zoom=1,"北京"==this.province?(this.province=n.name,this.region=n.name,this.param.areaCode=n.data["AREA_CODE"],e.series.map=n.name,"顺义区"==n.name&&(e.series.zoom=.09)):(this.province="北京",this.region="北京市",e.series.map="北京",this.param.areaCode=""),t.setOption(e),this.getData()},search:function(){this.getData()},getData:function(){var t=this,e={opeLogExceptionInfo:"进入社会稳定指数专题模块查询了社会稳定指数预警数据",opeLogUserAccount:this.$cookies.get("username"),opeLogSystem:"BJCM-DSJ",opeLogStatus:1,opeLogIp:""};Object(c["j"])(e).then((function(t){})),Object(o["r"])(this.param).then((function(e){t.echartMap.series.data=[],t.echartMap.series.dataset=[];var n=[],r=[];if(e.listclass.forEach((function(t,a){n[a]={name:t.VALUE,value:0,AREA_CODE:""},r[a]={name:t.VALUE,value:0,AREA_CODE:""},e.ssiValueMap.length>0&&e.ssiValueMap.forEach((function(e,i){e["AREA_NAME"]==t.VALUE&&(n[a].value=e["THIS_SSI_VALUE"],n[a].AREA_CODE=e["AREA_CODE"],r[a].value=e["THIS_SSI_VALUE"],r[a].AREA_CODE=e["AREA_CODE"])}))})),t.echartMap.series.data=n,t.echartMap.dataset.push(r),t.tableData=e.ssiWarningInfo,t.tableData.forEach((function(t){t["WARNTYPNAME"]&&("红色"==t["WARNTYPNAME"]?t.color="#FA5691":"橙色"==t["WARNTYPNAME"]?t.color="#FC9246":"黄色"==t["WARNTYPNAME"]?t.color="#E8C352":"绿色"==t["WARNTYPNAME"]&&(t.color="#56B645"))})),t.echartObj1.xAxis[0].data=[],t.echartObj1.series=[],e.warningTrends.length>0){var a=[];e.warningTrends.forEach((function(e,n){var r=[];0==n&&e.list.forEach((function(t){a.push(t.YEAR_MONTH)})),e.list.forEach((function(t){r.push(t.SSI_VALUE)}));var i={name:e["areaName"],type:"line",data:r,smooth:!0,showSymbol:!1,label:{show:!0}};t.echartObj1.series.push(i)})),t.echartObj1.xAxis[0].data=a}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="")}}},u=s,l=(n("4dae"),n("2877")),d=Object(l["a"])(u,r,a,!1,null,"0505d778",null);e["default"]=d.exports},c730:function(t,e,n){"use strict";n.d(e,"m",(function(){return a})),n.d(e,"o",(function(){return i})),n.d(e,"q",(function(){return o})),n.d(e,"r",(function(){return s})),n.d(e,"n",(function(){return l})),n.d(e,"h",(function(){return d})),n.d(e,"k",(function(){return b})),n.d(e,"f",(function(){return m})),n.d(e,"e",(function(){return h})),n.d(e,"b",(function(){return O})),n.d(e,"d",(function(){return j})),n.d(e,"j",(function(){return v})),n.d(e,"a",(function(){return f})),n.d(e,"c",(function(){return p})),n.d(e,"i",(function(){return y})),n.d(e,"g",(function(){return g})),n.d(e,"p",(function(){return c})),n.d(e,"l",(function(){return u}));var r=n("0c6d"),a=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiSubIndex/1",t)},i=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiTrendMonth/1",t)},o=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiWarning/1",t)},c=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiValueMap/1",t)},s=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiWarningInfo/1",t)},u=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiAlalyseRanking/1",t)},l=function(t){return Object(r["a"])("/bd/rest/socialStability/ssiTrendAll/1",t)},d=function(t){return Object(r["a"])("/bd/rest/socialStability/minorityNationalityPopulationNum/1",t)},b=function(t){return Object(r["a"])("/bd/rest/socialStability/publicSentimentNum/1",t)},f=function(t){return Object(r["a"])("/bd/rest/socialStability/CriminalCaseNum/1",t)},p=function(t){return Object(r["a"])("/bd/rest/socialStability/call110PoliceSituation/1",t)},y=function(t){return Object(r["a"])("/bd/rest/socialStability/petitionNum/1",t)},m=function(t){return Object(r["a"])("/bd/rest/socialStability/infectiousDiseasesIndexInputYear/1",t)},h=function(t){return Object(r["a"])("/bd/rest/socialStability/infectiousDiseasesIndexInputMonth/1",t)},g=function(t){return Object(r["a"])("/bd/rest/socialStability/infectiousDiseasesMap/1",t)},O=function(t){return Object(r["a"])("/bd/rest/socialStability/beijingPopulationNum/1",t)},j=function(t){return Object(r["a"])("/bd/rest/socialStability/demographicStatistics/1",t)},v=function(t){return Object(r["a"])("/bd/rest/socialStability/politicsKeyPsersonType/1",t)}},e645:function(t,e,n){}}]);