zqyy-yl/dist1/assets/js/chunk-8bdbc160.a5c65a33.js
2023-09-08 11:34:27 +08:00

1 line
16 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-8bdbc160"],{"0d5a":function(t,e,a){t.exports=a.p+"assets/img/7.877a0fcb.png"},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 i=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")])])])},n=[],s={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"),i=a.getElementsByTagName("img"),n=i.length,s=360/n,r=document.documentElement.clientWidth/100*24;function c(){var t=document.documentElement.clientHeight;a.style.marginTop=t/2-186+"px"}setTimeout((function(){for(var c=0;c<n;c++)i[c].style.transform="rotateY("+c*s+"deg) translateZ("+r+"px)",i[c].style.transition="transform 1s "+.1*(n-1-c)+"s";setTimeout((function(){t.startRotate(),document.getElementById("perspective").onmousedown=function(t){clearInterval(this.rotate),t=t||window.event;var i=!1;"img"==t.target.nodeName.toLowerCase()&&(i=!0);var n,s,r,c,o,l=0,u=0,d=0;return r=t.clientX,c=t.clientY,this.onmousemove=function(t){t=t||window.event,n=t.clientX,s=t.clientY,l=n-r,u=s-c,d+=.2*l,a.style.transform="rotateX(-24deg) rotateY("+d+"deg)",e.rotateY=d,r=n,c=s},this.onmouseup=function(){return this.onmousemove=null,i?(clearInterval(e.rotate),e.$router.push(t.target.getAttribute("path")),!1):isNaN(n)?(clearInterval(e.rotate),void e.$emit("hide")):void(o=setInterval((function(){l*=.95,u*=.95,d+=.2*l,a.style.transform="rotateX(-24deg) rotateY("+d+"deg)",e.rotateY=d,Math.abs(l)<.1&&Math.abs(u)<.1&&(clearInterval(o),e.startRotate())}),13))},!1}}),2e3)}),1e3),c(),window.onresize=c}}},r=s,c=(a("651c"),a("2877")),o=Object(c["a"])(r,i,n,!1,null,"a37de532",null);e["a"]=o.exports},"43aa":function(t,e,a){"use strict";a("b2f9")},"4e77":function(t,e,a){t.exports=a.p+"assets/img/1.8335c2de.png"},"60f87":function(t,e,a){t.exports=a.p+"assets/img/5.f1f3ea63.png"},"651c":function(t,e,a){"use strict";a("1bcd")},"71c2":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"header"},[e("div",{staticClass:"header-nav",style:{backgroundImage:"url("+a("9c17")+")"}}),e("div",{staticClass:"menu-left"},t._l(t.menuList,(function(i,n){return e("div",{key:n,class:t.headerObj.index==i.index?"active":"not-active",style:t.headerObj.index==i.index?{backgroundImage:"url("+a("1631")+")"}:{backgroundImage:"url("+a("f746")+")"},on:{click:function(e){return t.jumpPage(i)}}},[t._v(" "+t._s(i.title)+" ")])})),0),e("h1",{staticClass:"title"},[t._v(t._s(t.headerObj.title))]),e("div",{staticClass:"menu-right"},t._l(t.menuList1,(function(i,n){return e("div",{key:n,class:t.headerObj.index==i.index?"active":"not-active",style:t.headerObj.index==i.index?{backgroundImage:"url("+a("1631")+")"}:{backgroundImage:"url("+a("f746")+")"},on:{click:function(e){return t.jumpPage(i)}}},[t._v(" "+t._s(i.title)+" ")])})),0),e("div",{staticClass:"time"},[t._v(t._s(t.time))])])},n=[],s=a("3d01b"),r=a("c5d6"),c=(a("5c96"),{name:"headerComponents",data:function(){return{nav:!1,time:"",menuList:[{index:"1",title:"首页",path:"/"},{index:"2",title:"长者",path:"/elder"},{index:"3",title:"智能设备",path:"/intelligent"},{index:"4",title:"人力资源",path:"/humanResources"},{index:"5",title:"居住",path:"/live"}],menuList1:[{index:"6",title:"营销",path:"/marketing"},{index:"7",title:"综合管理",path:"/comprehensive"},{index:"8",title:"财务",path:"/finance"},{index:"9",title:"活动管理",path:"/activity"}],timeout:void 0}},props:{headerObj:{type:Object,default:function(){return{}}}},components:{Nav:s["a"],userStatus:r["a"]},mounted:function(){this.getTime(),this.carousel()},methods:{getTime:function(){var t=this;setInterval((function(){t.time=e(new Date,"yyyy年MM月dd日 HH:mm:ss")}),1e3);var e=function(t,e){var a=function(t,e){var a="";t=String(t),e=e||2;for(var i=t.length;i<e;i++)a+="0";return t<Math.pow(10,e)?a+(0|t):t},i=new Date(t||new Date),n=[a(i.getFullYear(),4),a(i.getMonth()+1),a(i.getDate())],s=[a(i.getHours()),a(i.getMinutes()),a(i.getSeconds())];return e=e||"yyyy-MM-dd HH:mm:ss",e.replace(/yyyy/g,n[0]).replace(/MM/g,n[1]).replace(/dd/g,n[2]).replace(/HH/g,s[0]).replace(/mm/g,s[1]).replace(/ss/g,s[2])}},jumpPage:function(t){t.index!=this.headerObj.index&&(this.headerObj.index=t.index,this.$router.push({path:t.path}))},carousel:function(){var t=this,e=this.menuList.concat(this.menuList1),a=9==this.headerObj.index?0:this.headerObj.index;this.timeout=setTimeout((function(){for(var i=0;i<e.length;i++)a==i&&t.jumpPage(e[i])}),3e3)}},beforeDestroy:function(){clearTimeout(this.timeout)}}),o=c,l=(a("43aa"),a("2877")),u=Object(l["a"])(o,i,n,!1,null,"75842a1a",null);e["a"]=u.exports},7547:function(t,e,a){t.exports=a.p+"assets/img/3.fcfae81b.png"},"7c6b":function(t,e,a){},"8a41":function(t,e,a){},"9c17":function(t,e,a){t.exports=a.p+"assets/img/topnav.ee617436.png"},a6e4:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main"},[e("div",{staticClass:"menuSearch"},[e("el-date-picker",{staticStyle:{width:"150px"},attrs:{"value-format":"yyyy",type:"year",placeholder:"开始年份","picker-options":t.pickerOptions},model:{value:t.param.startYear,callback:function(e){t.$set(t.param,"startYear",e)},expression:"param.startYear"}}),t._v(" 至 "),e("el-date-picker",{staticStyle:{width:"150px"},attrs:{"value-format":"yyyy",type:"year",placeholder:"结束年份","picker-options":t.pickerOptions},model:{value:t.param.endYear,callback:function(e){t.$set(t.param,"endYear",e)},expression:"param.endYear"}}),e("el-button",{attrs:{type:"primary",round:""},on:{click:t.search}},[e("i",{staticClass:"iconfont iconchaxun"}),t._v("查询 ")])],1),e("div",{staticClass:"content"},[e("div",{staticClass:"left"},[e("p",{staticClass:"echart_title"},[t._v("各区重点区域数量")]),e("ul",[t._m(0),t._l(t.listImportvalue,(function(a,i){return e("li",{key:i},[e("span",{staticClass:"region"},[t._v(t._s(a["TYPE"]))]),e("span",{staticClass:"reach",style:{width:a.width}},[e("i")]),e("span",{staticClass:"num"},[t._v(t._s(t._f("formatNum")(a["NUM"])))])])})),e("li",{staticClass:"line"})],2)]),e("div",{staticClass:"middle"},[e("div",{staticClass:"middle_t"},[e("p",{staticClass:"echart_title"},[t._v("TOP5重点整治区域")]),e("div",[e("table",{staticClass:"tableData"},[t._m(1),t._l(t.tableData,(function(a,i){return e("tr",{key:i},[e("td",[e("span",[t._v(t._s(i+1))])]),e("td",[t._v(t._s(a["NAME"]))]),e("td",[t._v(t._s(t._f("formatNum")(a["PROBLEM"])))]),e("td",[t._v(t._s(t._f("formatNum")(a["IMPNUM"])))]),e("td",[t._v(t._s(a["PERC"])+"%")])])}))],2)])]),e("div",{staticClass:"middle_b"},[e("p",{staticClass:"echart_title"},[t._v("重点地区按问题类型占比分析")]),e("div",{staticClass:"chart"},[e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj1}})],1)])]),e("div",{staticClass:"right"},[e("p",{staticClass:"echart_title"},[t._v("各区达标情况分析")]),e("ul",[t._m(2),t._l(t.selectKeyAreastwo,(function(a,i){return e("li",{key:i},[e("span",{staticClass:"region"},[t._v(t._s(a["TYPE"]))]),e("span",{staticClass:"reach",style:{width:a.width1}},[e("i")]),e("span",{staticClass:"emphasis",style:{width:a.width2}}),e("span",{staticClass:"num"},[t._v(t._s(t._f("formatNum")(a["NUM"]))+"/"+t._s(t._f("formatNum")(a["NOTNUM"])))])])})),e("li",{staticClass:"line"})],2)])])])},n=[function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("区域")]),e("span",[e("i"),t._v("重点区域数量(个)")])])},function(){var t=this,e=t._self._c;return e("tr",[e("th",[t._v("排名")]),e("th",[t._v("重点整治区域名称")]),e("th",[t._v("突出问题数量")]),e("th",[t._v("问题整治达标数量")]),e("th",[t._v("问题整治达标率")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("区域")]),e("span",[e("i"),t._v("达标区域数量(个)")]),e("span",[e("i"),t._v("未达标区域数量(个)")])])}],s=(a("313e"),a("71c2")),r=a("bd29"),c=a("4ec3"),o={data:function(){var t=this;return{echartObjKey:"echartObjKey",pickerOptions:{disabledDate:function(t){return t.getTime()>Date.now()-864e4}},date:"",param:{startYear:"",endYear:""},listImportvalue:[],tableData:[],selectKeyAreastwo:[],echartObj1:{color:["#87cefa","#2eccdc","#ff7f50","#cea6e4","#dc8ab5","#f8d04a","#c3ef9d"],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:0},series:[{name:"重点地区按问题类型占比分析",type:"pie",animationDuration:2e3,radius:["20%","60%"],center:["50%","56%"],avoidLabelOverlap:!0,data:[],itemStyle:{normal:{label:{show:!0,fontSize:14,formatter:function(e){return e.name+"\n"+t.formatNum(e.value)+"个"}},labelLine:{show:!0}}}},{name:"重点地区按问题类型占比分析",type:"pie",animationDuration:2e3,radius:["20%","60%"],center:["50%","56%"],avoidLabelOverlap:!0,data:[],itemStyle:{normal:{label:{show:!0,fontSize:16,formatter:"{d}%",position:"inside"},labelLine:{show:!0}}}},{radius:["20%","30%"],center:["50%","56%"],type:"pie",animationDuration:2e3,animation:!1,tooltip:{show:!1},data:[{value:0,itemStyle:{color:"rgba(0,0,0,0.2)"}}]}]}}},created:function(){this.param={startYear:"",endYear:""},this.init()},components:{Header:s["a"],Echarts:r["a"]},methods:{init:function(){this.getData1()},search:function(){this.init()},getData1: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(c["z"])(this.param).then((function(e){t.tableData=e.listKeyAreasTop5;var a=[],i=[],n=[],s=[];e.listImportvalue.forEach((function(t){n.push(t["NUM"])}));var r=t.getMax([].concat(n));e.selectKeyAreastwo.forEach((function(t){s.push(t["NUM"]+t["NOTNUM"])}));var c=t.getMax([].concat(s));e.listclass.forEach((function(t,n){a[n]={TYPE:t,NUM:0,width:"0%"},i[n]={TYPE:t,NUM:0,NOTNUM:0,width1:"0%",width2:"0%"},e.listImportvalue.length&&e.listImportvalue.forEach((function(e,i){t==e["TYPE"]&&(a[n]["NUM"]=e["NUM"],a[n].width=(e["NUM"]/r*100-23).toFixed(2)+"%")})),e.selectKeyAreastwo.length&&e.selectKeyAreastwo.forEach((function(e,a){t==e["TYPE"]&&(i[n]["NUM"]=e["NUM"],i[n]["NOTNUM"]=e["NOTNUM"],i[n].width1=(e["NUM"]/c*100-12).toFixed(2)+"%",i[n].width2=(e["NOTNUM"]/c*100-12).toFixed(2)+"%")}))})),t.listImportvalue=a,t.selectKeyAreastwo=i,t.echartObj1.series[0].data=e.listtype.map((function(t){return{name:t["TYPE"],value:t["NUM"]}})),t.echartObj1.series[1].data=e.listtype.map((function(t){return{name:t["TYPE"],value:t["NUM"]}}))})).catch((function(t){}))},getMax:function(t){t.sort((function(t,e){return t-e}));var e=t[t.length-1],a=10*Math.floor(e/10)+10;return a}}},l=o,u=(a("b9bb"),a("2877")),d=Object(u["a"])(l,i,n,!1,null,"66012639",null);e["default"]=d.exports},b17f:function(t,e,a){t.exports=a.p+"assets/img/2.85069ef2.png"},b2f9:function(t,e,a){},b9bb:function(t,e,a){"use strict";a("7c6b")},bfd6:function(t,e,a){"use strict";a("8a41")},c5d6:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"user"},[e("span",{staticClass:"username"},[t._v("[ "+t._s(t.username)+" ]")]),e("span",{staticClass:"status"},[e("a",{attrs:{href:"#"},on:{click:t.quitUser}},[t._v(t._s(t.status))])])])},n=[],s=a("4ec3"),r=(a("0c6d"),a("3022"),{name:"userStatus",data:function(){return{username:"",status:"退出"}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var t=this,e=window.location.href;if(-1!=e.indexOf("JSESSIONID")){var a=e.split("?"),i=(a[1].split("="),a[1].split("=")[0]);this.$cookies.set("JSESSIONID",i),Object(s["D"])({username:""}).then((function(e){var a=e.userEntity;"userSecret_1"==a.userSecret||"userSecret_2"==a.userSecret?(t.username=a.userName,t.$cookies.set("username",a.userName)):(alert("当前人员权限不足,不能查看本系统"),t.casLoginOut())})).catch((function(t){}))}},quitUser:function(){var t=this;Object(s["c"])({}).then((function(e){t.$cookies.remove("JSESSIONID"),t.$cookies.remove("username"),window.location.href=e})).catch((function(t){}))}}}),c=r,o=(a("bfd6"),a("2877")),l=Object(o["a"])(c,i,n,!1,null,"011a1c12",null);e["a"]=l.exports},cd68:function(t,e,a){t.exports=a.p+"assets/img/4.c92f572f.png"},f746:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAAgCAYAAADKbvy8AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAQ1SURBVGiB7ZrdTxxVFMDPvTO7w7Is30t5oLUFYoAW0NQKpJTSSNqmf0B9NtE3TYz+Ae4f0BjTxER90PhiQmnSJppqUxUC6YfaB2ypph9A1RYKuJRd9mM+7rnHh1q7fHR3djM7vtzfy8m5c8/kZH+5M7N3hkGJHL1odSCT75dar/CEeb3USkl0nBObAc7+9LIjhTukxIPI9QslCRy5lN0lHWzVdH0cgNDr5hT5kUhRAkpNHA1OlyRQOvIY42yWmGZ73ZyiMETWHinENwAARQsc/jrZKIXsYoHAOJNCet+eIh8kqA4k8qh58ReAEgSCFCMaD97nGpigAUDuBVTlZc+Fabcho+/HTp5EgCIF9l2IV4MJ+5nBJgA0hM13P5WXNZfCjhBiOFxRd/npWFECjawcBq4/JJ1nCEQxpQoPwJTZLiVOfnuCWU/HuNvigTMUAqQBbgRva0xHQkAV/YvSwaB0sJFLmMz1wtwKHBxdGuGc9xoNtdfc1ii8w36c6JUCF6Ze33E+d9zVJXT/p9cDTOAQi1RcldJRT54+gw4a0rZbNNP6avMxVwKrIs2vSKD1inAo7gBAAABU9C9SKrUHHHFj4o09a5vduBIobBzWayLTxAB1AKB/C1Usf+SmCFgZs13Y4vR2bgoKPPTlXz3IAANVVY+k2jTzHSuZ3E0S7/70VuvSdscLChSOfSQQicwQU3uefoOScWc93cEZ++J5c/IKHPxs9kUEWRmKRv94NmoDQBBUXv7cWl56gQEtXHmzLef330hegQLFYR4K30C0Nz15bt7DVnk5cpFc75JCnIM8PFfggY/v7ZRSNFU0RaeIkfrr4DOZR3/vlCjSP7/deSffvDwr0BriFaGbXA865HV3ioKIRHIfCfih0LxtBb58+m6UhLk73Nw4pglTrT6fScXjzeQIfv3dnplCc7cVyO3UQW4Yt1gwoOz9D9grq90oxZSbuVsE9sWuVQuJHZU7Gs8KR937/EbEVxuk6dTUZJPTbuZvESgMvZ+4fseoDqef7AUo/CS1sNyD5FydiB1x9b5ug8CBD6+Eslnsrd7VcpZYJUIVAKQAVPQnri8/qBbCaU442bG81nLY8DqpO3Z5iAd4c13P3h/dnkDhHY9nfj8EtrP26weD425r/luBXbEzQS7EgXB9/flwbURtm/nM6tyDSsiarZQxPymm7tkl1Gl4iTS+UNO+b0UGcs8MAPUqL3eenr/fjQJnbp06loYieCIwFuOQka/qVdp32dCKhGzOjBCAysubZ27HDTTNzizB51AkOgBAV6K/kzgmjMMDD61CFQrPWf/t5l6GODd36nii2FodAICk6DfCkcmWmi0ftinKzNzcos4sq9fStdFS6vX2d861kZRY+5qcX1me8Lg9RSHSl9Y6ifTF2Y9OLJdSr+uC9RFh0+Lo2nteN6dwBwp7y8dKbvkH9tuIzSrX7qYAAAAASUVORK5CYII="}}]);