1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20ddb25c"],{"0273":function(t,e,a){"use strict";a("3f7d")},"17a9":function(t,e,a){t.exports=a.p+"assets/img/7.9464f369.png"},1964:function(t,e,a){t.exports=a.p+"assets/img/4.737e60d3.png"},"21a7":function(t,e,a){t.exports=a.p+"assets/img/5.00249c1a.png"},"24aa":function(t,e,a){t.exports=a.p+"assets/img/2.657aee9c.png"},"27fe":function(t,e,a){},"3f7d":function(t,e,a){},4099:function(t,e,a){t.exports=a.p+"assets/img/10.4b36d6df.png"},"6fe0":function(t,e,a){t.exports=a.p+"assets/img/1.151bcbdb.png"},"7e1c":function(t,e,a){"use strict";a("27fe")},b701:function(t,e,a){t.exports=a.p+"assets/img/8.a4993c82.png"},b91f: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("Header",{attrs:{headerObj:{title:"中科软养老大数据分析平台",index:"4"}}}),e("home")],1)},r=[],n=a("71c2"),s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main_box"},[e("div",{staticClass:"home_left"},[e("InnerBox",{attrs:{echartObj:t.echartObj1,header_title:"当月缺勤数据占比",little_font:"(%)"}}),e("InnerBox",{attrs:{echartObj:t.echartObj2,header_title:"本年度出勤率统计",little_font:"(人)"}}),e("InnerBox",{attrs:{echartObj:t.echartObj3,header_title:"本年度缺勤人数统计",little_font:"(人)"}})],1),e("div",{staticClass:"home_center"},[t._m(0),e("dv-border-box-11",{staticStyle:{height:"45%"},attrs:{title:"当前员工人数和党员人数占比(%)",color:["#48E5E5","#1F7DAF"],titleWidth:400}},[e("div",{staticStyle:{width:"100%",height:"100%",display:"flex","align-items":"center"}},[e("img",{staticStyle:{width:"95%","max-height":"100%"},attrs:{src:a("1964")}})])]),e("dv-border-box-11",{staticStyle:{height:"40%"},attrs:{title:"员工年龄和学历占比(%)",color:["#16ADDE","#0C7DE7"],titleWidth:400}},[e("div",{staticStyle:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center"}},[e("img",{staticStyle:{width:"50%",height:"90%"},attrs:{src:a("21a7")}}),e("img",{staticStyle:{width:"50%",height:"90%"},attrs:{src:a("df49")}})])])],1),e("div",{staticClass:"home_right"},[e("div",{staticClass:"inner_box",staticStyle:{height:"49%"}},[t._m(1),e("div",{staticClass:"box_content"},[t._m(2),e("Echarts",{staticClass:"echarts",staticStyle:{height:"50%",width:"100%"},attrs:{echartObj:t.echartObj5}})],1)]),e("div",{staticClass:"inner_box",staticStyle:{height:"49%"}},[t._m(3),e("div",{staticClass:"box_content"},[t._m(4),e("Echarts",{staticClass:"echarts",staticStyle:{height:"50%",width:"100%"},attrs:{echartObj:t.echartObj6}})],1)])])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticStyle:{width:"100%",height:"10%",display:"flex","justify-content":"space-between","align-items":"flex-start"}},[e("img",{staticStyle:{width:"31%","max-height":"100%"},attrs:{src:a("6fe0")}}),e("img",{staticStyle:{width:"31%","max-height":"100%"},attrs:{src:a("24aa")}}),e("img",{staticStyle:{width:"31%","max-height":"100%"},attrs:{src:a("ed14")}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"inner_header"},[e("div",{staticClass:"header_left"}),e("div",{staticClass:"header_icon"},[e("div",{staticStyle:{width:"12px",height:"10px","margin-bottom":"-6px"}},[e("img",{attrs:{src:a("bae7")}})]),e("div",{staticStyle:{width:"12px",height:"10px","margin-bottom":"10px"}},[e("img",{attrs:{src:a("95a6")}})])]),e("div",{staticClass:"header_title"},[e("div",[e("span",[t._v("当前员工男女和职称比例")]),e("span",{staticClass:"little_font"},[t._v("(%)")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticStyle:{height:"50%","text-align":"center"}},[e("img",{staticStyle:{width:"90%",height:"40%","margin-top":"3%"},attrs:{src:a("17a9")}}),e("img",{staticStyle:{width:"90%",height:"35%","margin-top":"5%"},attrs:{src:a("b701")}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"inner_header"},[e("div",{staticClass:"header_left"}),e("div",{staticClass:"header_icon"},[e("div",{staticStyle:{width:"12px",height:"10px","margin-bottom":"-6px"}},[e("img",{attrs:{src:a("bae7")}})]),e("div",{staticStyle:{width:"12px",height:"10px","margin-bottom":"10px"}},[e("img",{attrs:{src:a("95a6")}})])]),e("div",{staticClass:"header_title"},[e("div",[e("span",[t._v("岗位分析")]),e("span",{staticClass:"little_font"},[t._v("(人)")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticStyle:{width:"100%",height:"50%",display:"flex","justify-content":"space-around"}},[e("img",{staticStyle:{width:"25%",height:"85%","margin-top":"5%"},attrs:{src:a("e977")}}),e("img",{staticStyle:{width:"25%",height:"50%","margin-top":"5%"},attrs:{src:a("4099")}}),e("img",{staticStyle:{width:"25%",height:"50%","margin-top":"5%"},attrs:{src:a("d691")}})])}],l=a("2b0e"),c=a("f2ca"),h=a("a79d"),u=a("bd29");function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function f(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?m(Object(a),!0).forEach((function(e){p(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function p(t,e,a){return e=g(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function g(t){var e=v(t,"string");return"symbol"===d(e)?e:String(e)}function v(t,e){if("object"!==d(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!==d(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}l["default"].use(c["a"]),l["default"].use(h["a"]);var b={data:function(){var t=this;return{echartObj1:{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{right:"10",top:"center",orient:"vertical",data:["事假","病假","调休","婚假","年假","产假"],textStyle:{color:"#FFFFFF",lineHeight:18},formatter:function(e){for(var a,i=t.echartObj1.series[0].data,r=0,n=0;n<i.length;n++)r+=i[n].value,i[n].name==e&&(a=i[n].value);var s=Math.round(a/r*100,2)+"%";return"".concat(e,"(").concat(s,")")}},color:["#4AA2CB","#91CC75","#68A400","#3D7DFA","#48E5E5","#FAC858"],toolbox:{show:!1,feature:{mark:{show:!0},dataView:{show:!0,readOnly:!1},magicType:{show:!0,type:["pie","funnel"]},restore:{show:!0},saveAsImage:{show:!0}}},series:[{name:"占比分析",type:"pie",radius:[30,100],top:"middle",label:{show:!1,position:"inside",formatter:"{d}%"},data:[{value:32.35,name:"事假"},{value:7.71,name:"病假"},{value:23.53,name:"调休"},{value:8.88,name:"婚假"},{value:17.59,name:"年假"},{value:9.94,name:"产假"}]}]},echartObj2:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},data:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},yAxis:{type:"value",axisLabel:{textStyle:{color:"#fff"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{data:[{name:"1月",value:300},{name:"2月",value:470},{name:"3月",value:380},{name:"4月",value:480},{name:"5月",value:400},{name:"6月",value:330},{name:"7月",value:480},{name:"8月",value:500},{name:"9月",value:500},{name:"10月",value:400},{name:"11月",value:350},{name:"12月",value:220}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}})}]},echartObj3:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},data:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},yAxis:{type:"value",axisLabel:{textStyle:{color:"#fff"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{data:[{name:"1月",value:300},{name:"2月",value:470},{name:"3月",value:380},{name:"4月",value:480},{name:"5月",value:400},{name:"6月",value:330},{name:"7月",value:480},{name:"8月",value:500},{name:"9月",value:500},{name:"10月",value:400},{name:"11月",value:350},{name:"12月",value:220}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("huang",{label:{show:!1}})}]},echartObj5:{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{right:"10",top:"center",orient:"vertical",data:["高级职称","中级职称","初级职称","其他"],textStyle:{color:"#FFFFFF",lineHeight:18},formatter:function(e){for(var a,i=t.echartObj5.series[0].data,r=0,n=0;n<i.length;n++)r+=i[n].value,i[n].name==e&&(a=i[n].value);var s=Math.round(a/r*100,2)+"%";return"".concat(e,"(").concat(s,")")}},color:["#4AA2CB","#91CC75","#68A400","#3D7DFA","#48E5E5","#FAC858"],toolbox:{show:!1,feature:{mark:{show:!0},dataView:{show:!0,readOnly:!1},magicType:{show:!0,type:["pie","funnel"]},restore:{show:!0},saveAsImage:{show:!0}}},series:[{name:"占比分析",type:"pie",radius:[60,100],top:"middle",label:{show:!1,position:"inside",formatter:"{d}%"},data:[{value:30,name:"高级职称"},{value:40,name:"中级职称"},{value:20,name:"初级职称"},{value:10,name:"其他"}]}]},echartObj6:{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{right:"10",top:"center",orient:"vertical",data:["护理长","护理员","生活管家","经理","会计","销售","客服"],textStyle:{color:"#FFFFFF",lineHeight:18},formatter:function(e){for(var a,i=t.echartObj6.series[0].data,r=0,n=0;n<i.length;n++)r+=i[n].value,i[n].name==e&&(a=i[n].value);var s=Math.round(a/r*100,2)+"%";return"".concat(e,"(").concat(s,")")}},color:["#4AA2CB","#91CC75","#68A400","#3D7DFA","#48E5E5","#FAC858","#2B8EF3"],toolbox:{show:!1,feature:{mark:{show:!0},dataView:{show:!0,readOnly:!1},magicType:{show:!0,type:["pie","funnel"]},restore:{show:!0},saveAsImage:{show:!0}}},series:[{name:"占比分析",type:"pie",radius:[60,100],top:"middle",label:{show:!1,position:"inside",formatter:"{d}%"},data:[{value:20,name:"护理长"},{value:25,name:"护理员"},{value:25,name:"生活管家"},{value:10,name:"经理"},{value:10,name:"会计"},{value:5,name:"销售"},{value:5,name:"客服"}]}]}}},created:function(){this.init()},components:{Echarts:u["a"]},methods:{init:function(){this.getData()},search:function(){this.init()},getData:function(){},setSeriesItemStyle:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={qing:["#48E5E5","rgba(72,228,229,0.30)"],lan:["#2B8EF3","rgba(25,118,226,0.30)"],huang:["#FF7B00","rgba(255,123,0,0.30)"],lv:["#07F090","rgba(60,212,149,0.28)"],zi:["#9B64D3","rgba(155,100,211,0.24)"]};return{normal:f({label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:12}},color:function(){return new e.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:i[t][0]},{offset:1,color:i[t][1]}])}},a)}}}},y=b,x=(a("0273"),a("2877")),w=Object(x["a"])(y,s,o,!1,null,"418c8da6",null),S=w.exports,_=a("c5d6"),O=a("365c"),F={name:"index",data:function(){return{param:{startYear:"",endYear:""}}},created:function(){this.param={startYear:"",endYear:""}},components:{Header:n["a"],home:S,userStatus:_["a"]},methods:{init:function(){this.getData()},getData:function(){Object(O["a"])(this.param).then((function(t){}))}}},j=F,C=(a("7e1c"),Object(x["a"])(j,i,r,!1,null,"f465e44c",null));e["default"]=C.exports},d691:function(t,e,a){t.exports=a.p+"assets/img/11.cddee18b.png"},df49:function(t,e,a){t.exports=a.p+"assets/img/6.b8c9085e.png"},e977:function(t,e,a){t.exports=a.p+"assets/img/9.5a481c13.png"},ed14:function(t,e,a){t.exports=a.p+"assets/img/3.ed1faca0.png"}}]); |