zqyy-yl/dist1/assets/js/chunk-70fddecf.e1fe5445.js
2023-09-08 11:34:27 +08:00

1 line
12 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70fddecf"],{"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})}},"131f":function(t,e,r){},2160:function(t,e,r){"use strict";r("131f")},"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 l})),r.d(e,"g",(function(){return b})),r.d(e,"h",(function(){return y})),r.d(e,"K",(function(){return p})),r.d(e,"H",(function(){return h})),r.d(e,"I",(function(){return m})),r.d(e,"J",(function(){return j})),r.d(e,"n",(function(){return O})),r.d(e,"k",(function(){return g})),r.d(e,"m",(function(){return v})),r.d(e,"l",(function(){return C})),r.d(e,"s",(function(){return M})),r.d(e,"o",(function(){return w})),r.d(e,"q",(function(){return x})),r.d(e,"p",(function(){return k})),r.d(e,"r",(function(){return S})),r.d(e,"v",(function(){return D})),r.d(e,"w",(function(){return T})),r.d(e,"x",(function(){return N})),r.d(e,"A",(function(){return A})),r.d(e,"C",(function(){return L})),r.d(e,"B",(function(){return _})),r.d(e,"M",(function(){return E})),r.d(e,"N",(function(){return F})),r.d(e,"y",(function(){return Y})),r.d(e,"G",(function(){return I})),r.d(e,"E",(function(){return B})),r.d(e,"F",(function(){return U})),r.d(e,"z",(function(){return J})),r.d(e,"O",(function(){return G})),r.d(e,"P",(function(){return K})),r.d(e,"i",(function(){return R})),r.d(e,"L",(function(){return o})),r.d(e,"b",(function(){return P})),r.d(e,"D",(function(){return a})),r.d(e,"c",(function(){return i})),r.d(e,"j",(function(){return W}));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)},l=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseTypee/1",t)},b=function(t){return Object(n["a"])("/bd/rest/society/communityPreventablePopulati/1",t)},y=function(t){return Object(n["a"])("/bd/rest/society/communityPreventablePopulatiMap/1",t)},p=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseType/1",t)},h=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)},j=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendcc/1",t)},O=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseMap/1",t)},g=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)},C=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8NumTrend/1",t)},M=function(t){return Object(n["a"])("/bd/rest/society/criminalcrownCaseMap/1",t)},w=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseNum/1",t)},x=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)},S=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)},T=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotMap/1",t)},N=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotTrend/1",t)},A=function(t){return Object(n["a"])("/bd/rest/society/keyOrg/1",t)},L=function(t){return Object(n["a"])("/bd/rest/society/keyOrgByYearMonth/1",t)},_=function(t){return Object(n["a"])("/bd/rest/society/keyOrgByType/1",t)},P=function(t){return Object(n["a"])("/bd/rest/society/baseYearMonthQuarter/1",t)},E=function(t){return Object(n["a"])("/bd/rest/society/sensitiveCase/1",t)},F=function(t){return Object(n["a"])("/bd/rest/society/sensitiveCaseType/1",t)},Y=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)},B=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)},G=function(t){return Object(n["a"])("/bd/rest/society/townAndCountry/1",t)},K=function(t){return Object(n["a"])("/bd/rest/society/townAndCountryEatOther/1",t)},R=function(t){return Object(n["a"])("/bd/rest/society/contradiction/1",t)},W=function(t){return Object(n["a"])("http://51.31.219.28:6893/ap-system/outer/log-audit/createOperationLog",t)}},"555d":function(t,e,r){"use strict";r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return c})),r.d(e,"c",(function(){return s}));var n=r("0c6d"),a=function(t){return Object(n["a"])("/bd/rest/heresy/fxjIndex/1",t)},i=function(t){return Object(n["a"])("/bd/rest/heresy/fxjPersion/1",t)},o=function(t){return Object(n["a"])("/bd/rest/heresy/fxjCase/1",t)},c=function(t){return Object(n["a"])("/bd/rest/heresy/fxjForgeign/1",t)},s=function(t){return Object(n["a"])("/bd/rest/heresy/fxjForgeignMedia/1",t)}},ec3c: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","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:"main_l"},[e("dv-border-box-8",[e("div",{staticClass:"mybox"},[e("div",{staticClass:"myTitle"},[e("h3",[t._v("涉邪教案(事)件按区分布")])]),e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[e("p",{staticClass:"one"},[t._v("区")]),e("p",{staticClass:"two"}),e("p",{staticClass:"three"},[t._v("案(事)件数量(件)")])]),e("ul",{staticClass:"list"},t._l(t.populationData,(function(r,n){return e("li",{key:n,staticClass:"item"},[e("div",{staticClass:"left"},[t._v(t._s(r.name))]),e("div",{staticClass:"center"},[e("div",{staticClass:"line"},[e("div",{staticClass:"lineChild",style:"width:"+r.proportion})])]),e("div",{staticClass:"right"},[t._v(t._s(t._f("formatNum")(r.val)))])])})),0)])])])],1),e("div",{staticClass:"main_r"},[e("div",{staticClass:"right_b"},[t._m(0),e("div",{staticClass:"contBox"},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts",attrs:{echartObj:t.echartObj}})],1)])])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"TITLE"},[e("h3",[t._v("涉邪教案(事)件数量趋势分析")])])}],i=r("313e"),o=r.n(i),c=r("bd29"),s=r("555d"),u=r("4ec3");function d(t){return y(t)||b(t)||l(t)||f()}function f(){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 l(t,e){if(t){if("string"===typeof t)return p(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}function b(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function y(t){if(Array.isArray(t))return p(t)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var h={data:function(){var t=this;return{echartObjKey:"echartObjKey",pickerOptions:{disabledDate:function(t){return t.getTime()>Date.now()-864e4}},param:{startYear:"",endYear:""},date:"",populationData:[],echartObj:{tooltip:{trigger:"axis"},legend:{right:"20",icon:"circle",itemWidth:12,textStyle:{color:"#fff"}},grid:{left:"3%",right:"4%",bottom:"5%",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"}}}],color:["#FFB129","#00D2CD"],series:[{name:"案(事)件数量",type:"line",animationDuration:2e3,smooth:!0,barWidth:"30%",lineStyle:{normal:{width:2,color:"#FFB129"}},areaStyle:{normal:{color:new o.a.graphic.LinearGradient(0,0,0,1,[{offset:1,color:"#7E8984"},{offset:0,color:"#FFB129"}])}},label:{show:!0,position:"top",formatter:function(e){return t.formatNum(e.value)}},data:[]},{name:"同期案(事)件数量",type:"line",animationDuration:2e3,smooth:!0,barWidth:"30%",lineStyle:{normal:{width:2,color:"#00D2CD"}},areaStyle:{normal:{color:new o.a.graphic.LinearGradient(0,0,0,1,[{offset:1,color:"#0082A3"},{offset:0,color:"#00D2CD"}])}},label:{show:!0,position:"top",formatter:function(e){return t.formatNum(e.value)}},data:[]}]}}},created:function(){this.param={startYear:"",endYear:""},this.init()},components:{Echarts:c["a"]},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(u["j"])(e).then((function(t){})),Object(s["a"])(this.param).then((function(e){var r=t.getMax(d(e.listCaseNum));e.listCaseNum.forEach((function(t,e){t.val?t.proportion=(t.val/r*100).toFixed(2)+"%":(t.val=0,t.proportion="0%")})),t.populationData=e.listCaseNum,t.echartObj.xAxis[0].data=[],t.echartObj.series[0].data=[],t.echartObj.series[1].data=[],e.listCaseNumTrend.length>0&&e.listCaseNumTrend.forEach((function(e,r){t.echartObj.xAxis[0].data.push(e["NAME"]),t.echartObj.series[0].data.push(e["NUM"]),t.echartObj.series[1].data.push(e["SAMENUM"])})),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,r=Math.pow(10,Number(String(e).length-1)),n=Math.floor(e/r)*r+r;return n}}},m=h,j=(r("2160"),r("2877")),O=Object(j["a"])(m,n,a,!1,null,"39aa8460",null);e["default"]=O.exports}}]);