1 line
28 KiB
JavaScript
1 line
28 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6913c63b"],{"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=="},"16a7":function(t,e,a){"use strict";a("851c")},"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 r=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=[],o={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"),r=a.getElementsByTagName("img"),i=r.length,o=360/i,n=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<i;s++)r[s].style.transform="rotateY("+s*o+"deg) translateZ("+n+"px)",r[s].style.transition="transform 1s "+.1*(i-1-s)+"s";setTimeout((function(){t.startRotate(),document.getElementById("perspective").onmousedown=function(t){clearInterval(this.rotate),t=t||window.event;var r=!1;"img"==t.target.nodeName.toLowerCase()&&(r=!0);var i,o,n,s,c,l=0,u=0,d=0;return n=t.clientX,s=t.clientY,this.onmousemove=function(t){t=t||window.event,i=t.clientX,o=t.clientY,l=i-n,u=o-s,d+=.2*l,a.style.transform="rotateX(-24deg) rotateY("+d+"deg)",e.rotateY=d,n=i,s=o},this.onmouseup=function(){return this.onmousemove=null,r?(clearInterval(e.rotate),e.$router.push(t.target.getAttribute("path")),!1):isNaN(i)?(clearInterval(e.rotate),void e.$emit("hide")):void(c=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(c),e.startRotate())}),13))},!1}}),2e3)}),1e3),s(),window.onresize=s}}},n=o,s=(a("651c"),a("2877")),c=Object(s["a"])(n,r,i,!1,null,"a37de532",null);e["a"]=c.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")},6884:function(t,e,a){t.exports=a.p+"assets/img/bubble3.b54fb996.png"},"6a51":function(t,e,a){t.exports=a.p+"assets/img/bubble4.000e6e20.png"},"71c2":function(t,e,a){"use strict";var r=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(r,i){return e("div",{key:i,class:t.headerObj.index==r.index?"active":"not-active",style:t.headerObj.index==r.index?{backgroundImage:"url("+a("1631")+")"}:{backgroundImage:"url("+a("f746")+")"},on:{click:function(e){return t.jumpPage(r)}}},[t._v(" "+t._s(r.title)+" ")])})),0),e("h1",{staticClass:"title"},[t._v(t._s(t.headerObj.title))]),e("div",{staticClass:"menu-right"},t._l(t.menuList1,(function(r,i){return e("div",{key:i,class:t.headerObj.index==r.index?"active":"not-active",style:t.headerObj.index==r.index?{backgroundImage:"url("+a("1631")+")"}:{backgroundImage:"url("+a("f746")+")"},on:{click:function(e){return t.jumpPage(r)}}},[t._v(" "+t._s(r.title)+" ")])})),0),e("div",{staticClass:"time"},[t._v(t._s(t.time))])])},i=[],o=a("3d01b"),n=a("c5d6"),s=(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:o["a"],userStatus:n["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 r=t.length;r<e;r++)a+="0";return t<Math.pow(10,e)?a+(0|t):t},r=new Date(t||new Date),i=[a(r.getFullYear(),4),a(r.getMonth()+1),a(r.getDate())],o=[a(r.getHours()),a(r.getMinutes()),a(r.getSeconds())];return e=e||"yyyy-MM-dd HH:mm:ss",e.replace(/yyyy/g,i[0]).replace(/MM/g,i[1]).replace(/dd/g,i[2]).replace(/HH/g,o[0]).replace(/mm/g,o[1]).replace(/ss/g,o[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 r=0;r<e.length;r++)a==r&&t.jumpPage(e[r])}),3e3)}},beforeDestroy:function(){clearTimeout(this.timeout)}}),c=s,l=(a("43aa"),a("2877")),u=Object(l["a"])(c,r,i,!1,null,"75842a1a",null);e["a"]=u.exports},7547:function(t,e,a){t.exports=a.p+"assets/img/3.fcfae81b.png"},"851c":function(t,e,a){},"8a41":function(t,e,a){},"9c17":function(t,e,a){t.exports=a.p+"assets/img/topnav.ee617436.png"},b17f:function(t,e,a){t.exports=a.p+"assets/img/2.85069ef2.png"},b2f9:function(t,e,a){},b656:function(t,e,a){"use strict";a.d(e,"i",(function(){return i})),a.d(e,"j",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"e",(function(){return s})),a.d(e,"f",(function(){return c})),a.d(e,"g",(function(){return l})),a.d(e,"h",(function(){return u})),a.d(e,"k",(function(){return d})),a.d(e,"d",(function(){return f})),a.d(e,"a",(function(){return h})),a.d(e,"b",(function(){return p}));var r=a("0c6d"),i=function(t){return Object(r["a"])("/bd/rest/population/index/1",t)},o=function(t){return Object(r["a"])("/bd/rest/population/registeredPopulation/1",t)},n=function(t){return Object(r["a"])("/bd/rest/population/floatingPopulation/1",t)},s=function(t){return Object(r["a"])("/bd/rest/population/keyPerson/1",t)},c=function(t){return Object(r["a"])("/bd/rest/population/keyPersonInfo/1",t)},l=function(t){return Object(r["a"])("/bd/rest/population/keyPersonInfoMore/1",t)},u=function(t){return Object(r["a"])("/bd/rest/population/keyPersonInfoMoreActive/1",t)},d=function(t){return Object(r["a"])("/bd/rest/population/volunteer/1",t)},f=function(t){return Object(r["a"])("/bd/rest/population/houseForRent/1",t)},h=function(t){return Object(r["a"])("/bd/rest/population/community/1",t)},p=function(t){return Object(r["a"])("/bd/rest/population/communityValue/1",t)}},bfd6:function(t,e,a){"use strict";a("8a41")},c5d6:function(t,e,a){"use strict";var r=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))])])])},i=[],o=a("4ec3"),n=(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("?"),r=(a[1].split("="),a[1].split("=")[0]);this.$cookies.set("JSESSIONID",r),Object(o["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(o["c"])({}).then((function(e){t.$cookies.remove("JSESSIONID"),t.$cookies.remove("username"),window.location.href=e})).catch((function(t){}))}}}),s=n,c=(a("bfd6"),a("2877")),l=Object(c["a"])(s,r,i,!1,null,"011a1c12",null);e["a"]=l.exports},c9f2:function(t,e,a){t.exports=a.p+"assets/img/bubble2.aba7945f.png"},cd68:function(t,e,a){t.exports=a.p+"assets/img/4.c92f572f.png"},e36a:function(t,e,a){t.exports=a.p+"assets/img/bubble1.8ac922b2.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="},fd5e:function(t,e,a){"use strict";a.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",{staticStyle:{"margin-right":"5px"},attrs:{"value-format":"yyyy-MM",type:"month",placeholder:"选择年月","picker-options":t.pickerOptions},model:{value:t.param.startYear,callback:function(e){t.$set(t.param,"startYear",e)},expression:"param.startYear"}}),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:"l1"},[e("div",{staticClass:"t"},[e("h2",[t._v(t._s(t.region)+"流动人口总量")]),t.total.length>0?e("div",{staticStyle:{padding:"10px 0"}},[e("span",{staticClass:"digital_flop"},t._l(t.total,(function(a,r){return e("i",{key:r},[t._v(t._s(a))])})),0),t._v(" 人 ")]):t._e(),t.selectflownationtwo.length>0?e("ul",t._l(t.selectflownationtwo,(function(a,r){return e("li",{key:r},[e("div",[t._v(t._s(a["TYPE"]))]),e("div",[t._v(t._s(t._f("formatNum")(a["NUM"]))),e("span",[t._v("人")])])])})),0):t._e()]),e("ul",[e("li",{staticStyle:{height:"33%"}},[e("p",{staticClass:"echart_title"},[t._v("各区流动人口数量")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts1",attrs:{echartObj:t.echartObj1}})],1)],1),e("li",{staticStyle:{height:"33%"}},[e("p",{staticClass:"echart_title"},[t._v("流动人口来源分布TOP10")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts2",attrs:{echartObj:t.echartObj2}})],1)],1),e("li",{staticStyle:{height:"33%"}},[e("p",{staticClass:"echart_title"},[t._v("流动人口民族构成TOP10")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts3",attrs:{echartObj:t.echartObj3}})],1)],1)])]),e("div",{staticClass:"l2"},[e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartMap,events:t.events}}),e("ul",[e("li",[e("p",{staticClass:"echart_title"},[t._v("人口变化趋势分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts5",attrs:{echartObj:t.echartObj5}})],1)],1)])],1),e("div",{staticClass:"l3"},[e("ul",[e("li",[e("p",{staticClass:"echart_title"},[t._v("文化程度")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts6",attrs:{echartObj:t.echartObj6}})],1)],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("年龄")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[t.selectflownumage.length>0?e("ul",{staticClass:"age"},t._l(t.selectflownumage,(function(r,i){return e("li",{key:i},[e("p",[t._v(t._s(t._f("formatNum")(r["NUM"]))+"人")]),e("p",[t._v(t._s(r["proportion"]))]),e("p",[t._v(t._s(r["TYPE"]))]),0==i?e("img",{attrs:{src:a("e36a"),alt:""}}):1==i?e("img",{attrs:{src:a("c9f2"),alt:""}}):2==i?e("img",{attrs:{src:a("6884"),alt:""}}):3==i?e("img",{attrs:{src:a("6a51"),alt:""}}):4==i?e("img",{attrs:{src:a("e36a"),alt:""}}):t._e(),5==i?e("img",{attrs:{src:a("c9f2"),alt:""}}):6==i?e("img",{attrs:{src:a("6884"),alt:""}}):t._e()])})),0):t._e()])],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("居住情况")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts8",attrs:{echartObj:t.echartObj8}})],1)],1)])]),e("div",{staticClass:"l4"},[e("ul",[e("li",[e("p",{staticClass:"echart_title"},[t._v("流动人口分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts9",attrs:{echartObj:t.echartObj9}})],1)],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("来京时间")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts10",attrs:{echartObj:t.echartObj10}})],1)],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("就业情况")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,staticClass:"echarts echarts11",attrs:{echartObj:t.echartObj11}})],1)],1)])])])])},i=[],o=(a("313e"),a("71c2")),n=a("bd29"),s=a("b656"),c=a("4ec3"),l={data:function(){var t=this;return{region:"北京市",province:"北京",echartObjKey:"echartObjKey",pickerOptions:{disabledDate:function(t){return t.getTime()>Date.now()-864e4}},param:{startYear:"",type:""},selectflownumage:[],total:[],selectflownationtwo:[],echartObj1:{color:["#149bea","#f35a6c"],tooltip:{trigger:"axis",position:"inside",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}},extraCssText:"width:160px;height:auto;"},legend:{top:"10",right:"20",icon:"circle",textStyle:{color:"#fff"}},grid:{top:"40",left:"30",right:"40",bottom:"5",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},rotate:50,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,data:[],label:{show:!0}},{name:"流动人口增量",type:"bar",animationDuration:2e3,data:[],label:{show:!0}}]},echartObj2:{tooltip:{formatter:function(e){return e.name+":"+t.formatNum(e.value)+"人"}},series:[{type:"wordCloud",gridSize:1,sizeRange:[12,55],rotationRange:[-45,0,45,90],textStyle:{normal:{color:function(){var t=["#d3e352","#ff9367","#f3564e","#ea3dab","#ad2de2","#af7dff","#DC8AB5","#2d95ff","#2ec0f0","#34dbe0","#2fb47e"];return t[parseInt(10*Math.random())]}}},left:"center",top:"center",right:null,bottom:null,width:"90%",height:"110%",data:[]}]},echartObj3:{tooltip:{formatter:function(e){return e.name+":"+t.formatNum(e.value)+"人"}},series:[{type:"wordCloud",gridSize:1,sizeRange:[12,55],rotationRange:[-45,0,45,90],textStyle:{normal:{color:function(){var t=["#d3e352","#ff9367","#f3564e","#ea3dab","#ad2de2","#af7dff","#DC8AB5","#2d95ff","#2ec0f0","#34dbe0","#2fb47e"];return t[parseInt(10*Math.random())]}}},left:"center",top:"center",right:null,bottom:null,width:"90%",height:"100%",data:[]}]},echartMap:{tooltip:{trigger:"item",formatter:"{b}<br>流动人口数量: {c}万人"},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:[]}},echartObj5:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}},extraCssText:"width:160px;height:auto;"},legend:{top:"10",right:"20",icon:"circle",textStyle:{color:"#fff"}},grid:{top:"60",left:"10",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},rotate:30,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:"line",animationDuration:2e3,smooth:!0,stack:"总量",data:[],areaStyle:{normal:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#2dd4fc"},{offset:1,color:"#22314d"}])}},itemStyle:{normal:{label:{show:!1,formatter:function(e){return t.formatNum(e.value)}}}}},{name:"男",type:"line",animationDuration:2e3,stack:"总量",smooth:!0,barMaxWidth:30,data:[],areaStyle:{normal:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#47f2c5"},{offset:1,color:"#22314d"}])}},itemStyle:{label:{show:!1},normal:{color:"#8cd5c2",lineStyle:{color:"#8cd5c2"}}}},{name:"女",type:"line",animationDuration:2e3,stack:"总量",smooth:!0,barMaxWidth:30,data:[],areaStyle:{normal:{show:!0,formatter:function(e){return t.formatNum(e.value)},color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#d8a842"},{offset:1,color:"#22314d"}])}},itemStyle:{normal:{color:"#f19634",lineStyle:{color:"#f19634"},label:{show:!1,position:"top",formatter:function(e){return t.formatNum(e.value)}}}}}]},echartObj6:{color:["#ff7723","#29b584","#af7dff","#8fdd20","#DC8AB5","#35e0e3","#ffd200"],tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"<br>"+e.name+":"+t.formatNum(e.value)+"人("+e.percent+"%)"}},series:[{name:"文化程度",type:"pie",animationDuration:2e3,radius:["30%","70%"],avoidLabelOverlap:!1,data:[],label:{normal:{show:!0,position:"inner",color:"#fff",formatter:"{d}%"}}},{name:"文化程度",type:"pie",animationDuration:2e3,radius:["30%","70%"],avoidLabelOverlap:!1,data:[],label:{show:!0,formatter:function(e){return e.name+"\n"+t.formatNum(e.value)+"人"},position:"outside",fontSize:14}}]},echartObj7:{},echartObj8:{color:["#149bea","#f35a6c"],tooltip:{trigger:"axis",position:"inside",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}},extraCssText:"width:160px;height:auto;"},grid:{top:"40",left:"10",right:"40",bottom:"10",containLabel:!0},legend:{top:"0",right:"20",icon:"circle",textStyle:{color:"#fff"}},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},rotate:30,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,barMaxWidth:30,showBackground:!0,data:[],label:{show:!0}}]},echartObj9:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}},extraCssText:"width:160px;height:auto;"},legend:{top:"5",right:"20",icon:"circle",textStyle:{color:"#fff"}},grid:{top:"60",left:"30",right:"40",bottom:"5",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},rotate:30,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:[{name:"流动人口密度(万人/平方公里)",type:"line",animationDuration:2e3,smooth:!0,data:[],label:{}},{name:"重点人员与流动人员比率(人/万人)",type:"line",animationDuration:2e3,smooth:!0,data:[],label:{}}]},echartObj10:{color:["#ff7723","#29b584","#af7dff","#8fdd20","#DC8AB5","#35e0e3","#ffd200"],tooltip:{trigger:"item",formatter:function(e){return e.seriesName+"<br>"+e.name+":"+t.formatNum(e.value)+"人("+e.percent+"%)"}},series:[{name:"来京时间",type:"pie",animationDuration:2e3,radius:["20%","70%"],avoidLabelOverlap:!1,data:[],label:{normal:{show:!0,position:"inner",color:"#fff",formatter:"{d}%"}}},{name:"来京时间",type:"pie",animationDuration:2e3,radius:["20%","70%"],avoidLabelOverlap:!1,data:[],label:{show:!0,formatter:function(e){return e.name+"\n"+t.formatNum(e.value)+"人"},position:"outside",color:"#fff",fontSize:14}}]},echartObj11:{color:["#149bea","#f35a6c"],tooltip:{trigger:"axis",position:"inside",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}},extraCssText:"width:160px;height:auto;"},legend:{top:"0",right:"20",icon:"circle",textStyle:{color:"#fff"}},grid:{top:"40",left:"25",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},rotate:30,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,barMaxWidth:30,showBackground:!0,data:[],label:{show:!0}}]}}},created:function(){this.param={startYear:"",type:""},this.getData()},components:{Header:o["a"],Echarts:n["a"]},methods:{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(s["c"])(this.param).then((function(e){var a=[];if(e.listq.forEach((function(t,r){a[r]={value:0,name:t},e.selectflototalbyarea.length>0&&e.selectflototalbyarea.forEach((function(e){t==e["AREA"]&&(a[r].value=e["TOTAL"])}))})),t.echartMap.series.data=a,t.echartObj1.xAxis[0].data=e.listq,t.echartObj1.series[0].data=[],t.echartObj1.series[1].data=[],e.listq.forEach((function(a,r){t.echartObj1.series[0].data[r]=0,t.echartObj1.series[1].data[r]=0,e.selectflototalbyarea.length>0&&e.selectflototalbyarea.forEach((function(e){a==e["AREA"]&&(t.echartObj1.series[0].data[r]=e["TOTAL"],t.echartObj1.series[1].data[r]=e["INCREMENTNUM"])}))})),t.echartObj6.series[0].data=[],t.echartObj6.series[1].data=[],e.selectflowedu.length>0&&(t.echartObj6.series[0].data=e.selectflowedu.map((function(t){return{name:t["TYPE"],value:t["NUM"]}})),t.echartObj6.series[1].data=e.selectflowedu.map((function(t){return{name:t["TYPE"],value:t["NUM"]}}))),t.echartObj3.series[0].data=[],e.selectflownation.length>0&&(t.echartObj3.series[0].data=e.selectflownation.map((function(t){return{name:t["TYPE"],value:t["NUM"]}}))),t.selectflownumage=[],e.selectflownumage.length>0){t.selectflownumage=e.selectflownumage;var r=0;t.selectflownumage.forEach((function(t,e){r+=t["NUM"]})),t.selectflownumage.forEach((function(t,e){t.proportion=(t["NUM"]/r*100).toFixed(2)+"%"}))}t.total=String(e.selectflototal[0]["TOTAL"]).split(""),t.selectflownationtwo=e.selectflownationtwo,t.echartObj2.series[0].data=[],e.selectform.length>0&&(t.echartObj2.series[0].data=e.selectform.map((function(t){return{name:t["NAME"],value:t["NUM"]}}))),t.echartObj5.xAxis[0].data=[],t.echartObj5.series[0].data=[],t.echartObj5.series[1].data=[],t.echartObj5.series[2].data=[],e.selectflowtrend.length>0&&e.selectflowtrend.forEach((function(e){t.echartObj5.xAxis[0].data.push(e["YEAR_MONTH"]),t.echartObj5.series[0].data.push(e["NUM"]),t.echartObj5.series[1].data.push(e["MAMNUM"]),t.echartObj5.series[2].data.push(e["FEMALE"])})),t.echartObj8.xAxis[0].data=[],t.echartObj8.series[0].data=[],e.selectflowliving.length>0&&e.selectflowliving.forEach((function(e){t.echartObj8.xAxis[0].data.push(e["TYPE"]),t.echartObj8.series[0].data.push(e["NUM"])})),t.echartObj9.xAxis[0].data=[],t.echartObj9.series[0].data=[],t.echartObj9.series[1].data=[],e.selectflowanalysis.length>0&&e.selectflowanalysis.forEach((function(e){t.echartObj9.xAxis[0].data.push(e["YEAR"]),t.echartObj9.series[0].data.push(e["DENSITY"]),t.echartObj9.series[1].data.push(e["KEYPERSONNELRATIO"])})),t.echartObj11.xAxis[0].data=[],t.echartObj11.series[0].data=[],e.selectflowanjob.length>0&&e.selectflowanjob.forEach((function(e){t.echartObj11.xAxis[0].data.push(e["TYPE"]),t.echartObj11.series[0].data.push(e["NUM"])})),t.echartObj10.series[0].data=[],t.echartObj10.series[1].data=[],e.selectflowantime.length>0&&(t.echartObj10.series[0].data=e.selectflowantime.map((function(t){return{name:t["TYPE"],value:t["NUM"]}})),t.echartObj10.series[1].data=e.selectflowantime.map((function(t){return{name:t["TYPE"],value:t["NUM"]}}))),t.echartObjKey=(new Date).getTime()+1})).catch((function(t){}))},events:function(t,e,a){e.series.zoom=1,"北京"==this.province?(this.province=a.name,this.region=a.name,e.series.map=a.name,"顺义区"==a.name&&(e.series.zoom=.09)):(this.region="北京市",this.province="北京",e.series.map="北京"),this.param.type=this.province,this.getData()}}},u=l,d=(a("16a7"),a("2877")),f=Object(d["a"])(u,r,i,!1,null,"a8014eba",null);e["default"]=f.exports}}]); |