1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bf2ba6fe"],{"0e32":function(e,t,a){"use strict";a("802b")},"29e0":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main"},[t("Header",{attrs:{headerObj:{title:"中科软养老大数据分析平台",index:"7"}}}),t("home")],1)},r=[],o=a("71c2"),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main_box"},[t("div",{staticClass:"home_left"},[e._m(0),t("InnerBox",{attrs:{echartObj:e.echartObj1,header_title:"本年每月用餐类型统计",little_font:"(单)"}}),t("InnerBox",{attrs:{echartObj:e.echartObj2,header_title:"菜品订单量TOP10",little_font:"(单)"}})],1),t("div",{staticClass:"home_center",staticStyle:{display:"block"}},[t("dv-border-box-8",{staticStyle:{width:"100%",height:"32%"},attrs:{color:["#053D7E","#1E6FEA"]}},[t("div",{staticClass:"inner_box",staticStyle:{width:"100%",height:"100%"}},[t("div",{staticClass:"inner-header"}),t("div",{staticStyle:{display:"flex","justify-content":"space-around",width:"100%",height:"100%"}},[t("div",{staticClass:"header-left"},[t("div",{staticClass:"header-left-title"}),t("Echarts",{staticClass:"echarts",staticStyle:{height:"80%"},attrs:{echartObj:e.echartObj3}})],1),t("div",{staticClass:"header-right"},[t("div",{staticClass:"header-right-title"}),t("Echarts",{staticClass:"echarts",staticStyle:{height:"80%"},attrs:{echartObj:e.echartObj4}})],1)])])]),t("dv-border-box-8",{staticStyle:{width:"100%",height:"32%"},attrs:{color:["#00D0FF","#48E5E5"]}},[t("div",{staticClass:"inner_box",staticStyle:{width:"100%",height:"100%"}},[t("div",{staticClass:"inner-center"}),t("div",{staticStyle:{display:"flex","justify-content":"space-around",width:"100%",height:"100%"}},[t("div",{staticClass:"center-left"},[t("div",{staticClass:"center-left-title"}),t("Echarts",{staticClass:"echarts",staticStyle:{height:"80%"},attrs:{echartObj:e.echartObj5}})],1),t("div",{staticClass:"center-right"},[t("div",{staticClass:"center-right-title"}),t("Echarts",{staticClass:"echarts",staticStyle:{height:"80%"},attrs:{echartObj:e.echartObj6}})],1)])])]),t("dv-border-box-8",{staticStyle:{width:"100%",height:"32%"},attrs:{color:["#053D7E","#1E6FEA"]}},[t("div",{staticClass:"inner_box",staticStyle:{width:"100%",height:"100%"}},[t("div",{staticClass:"inner-bottom"}),t("div",{staticStyle:{display:"flex","justify-content":"space-around",width:"100%",height:"100%"}},[t("div",{staticClass:"bottom-left"}),t("div",{staticClass:"bottom-right"},[t("div",{staticClass:"bottom-right-title"}),t("Echarts",{staticClass:"echarts",staticStyle:{height:"80%"},attrs:{echartObj:e.echartObj7}})],1)])])])],1),t("div",{staticClass:"home_right"},[t("div",{staticClass:"right-top"}),t("div",{staticClass:"right-center"}),t("InnerBox",{staticStyle:{width:"100%","margin-left":"0"},attrs:{echartObj:e.echartObj8,header_title:"护理人员能力分析"}})],1)])},n=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"inner_box"},[t("div",{staticClass:"inner_header"},[t("div",{staticClass:"header_left"}),t("div",{staticClass:"header_icon"},[t("div",{staticStyle:{width:"12px",height:"10px","margin-bottom":"-6px"}},[t("img",{attrs:{src:a("bae7")}})]),t("div",{staticStyle:{width:"12px",height:"10px","margin-bottom":"10px"}},[t("img",{attrs:{src:a("95a6")}})])]),t("div",{staticClass:"header_title"},[t("div",[t("span",[e._v("各机构入住率TOP5")]),t("span",{staticClass:"little_font"},[e._v("(%)")])])])]),t("div",{staticClass:"left-top1"}),t("div",{staticClass:"left-top2"})])}],s=a("2b0e"),c=a("f2ca"),h=a("a79d"),u=a("bd29"),d=a("313e"),f=a.n(d);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function v(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function p(e,t,a){return t=y(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function y(e){var t=F(e,"string");return"symbol"===m(t)?t:String(t)}function F(e,t){if("object"!==m(e)||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!==m(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}s["default"].use(c["a"]),s["default"].use(h["a"]);var g={data:function(){var e=this;return{echartObj1:{legend:{show:!0,bottom:10,data:["套餐(单)","自定义餐(单)","营养餐(单)"],textStyle:{color:"#FFFFFF",lineHeight:10}},color:["#2B8EF3","#F5B12D","#48E5E5"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},data:["1月","2月","3月","4月","5月","6月"]},yAxis:{type:"value",axisLabel:{textStyle:{color:"#fff"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{name:"套餐(单)",data:[{name:"套餐(单)",value:210},{name:"套餐(单)",value:140},{name:"套餐(单)",value:130},{name:"套餐(单)",value:130},{name:"套餐(单)",value:130},{name:"套餐(单)",value:130}],type:"bar",barWidth:10,barGap:.5,itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:10}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#1976E2"},{offset:1,color:"rgba(25,118,226,0.30)"}])}}}},{name:"自定义餐(单)",data:[{name:"自定义餐(单)",value:180},{name:"自定义餐(单)",value:120},{name:"自定义餐(单)",value:48},{name:"自定义餐(单)",value:50},{name:"自定义餐(单)",value:90},{name:"自定义餐(单)",value:120}],type:"bar",barGap:.5,barWidth:10,itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:10}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#FF7B00"},{offset:1,color:"rgba(255,123,0,0.30)"}])}}}},{name:"营养餐(单)",data:[{name:"营养餐(单)",value:90},{name:"自定义餐(单)",value:170},{name:"营养餐(单)",value:70},{name:"营养餐(单)",value:120},{name:"营养餐(单)",value:180},{name:"营养餐(单)",value:110}],type:"bar",barGap:.5,barWidth:10,itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:12}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#48E5E5"},{offset:1,color:"rgba(72,228,229,0.30)"}])}}}}]},echartObj2:{grid:{show:!1,left:"20",top:20,bottom:"20",containLabel:!0},xAxis:{type:"value",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},splitLine:{show:!1}},yAxis:{type:"category",splitLine:{show:!1},axisLabel:{textStyle:{color:"#fff"}},data:["水煮鱼","麻婆豆腐","锅包肉","糖醋排骨","红烧鱼","切丁肉末","清炒油麦菜","蒜蓉娃娃菜","青椒肉丝","西红柿鸡蛋"]},series:[{data:[130,60,40,130,100,160,180,190,260,300],type:"bar",itemStyle:{normal:{color:function(e){return e.dataIndex%2==0?new f.a.graphic.LinearGradient(0,0,1,0,[{offset:0,color:"rgba(255,187,0,0.30)"},{offset:1,color:"#FFBB00"}]):new f.a.graphic.LinearGradient(0,0,1,0,[{offset:0,color:"rgba(25,118,226,0.30)"},{offset:1,color:"#1B7EF2"}])}}},showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"},barWidth:10}]},echartObj3:{legend:{show:!0,top:"middle",right:0,orient:"vertical",data:["设备","床单","被罩","垃圾袋","洗衣液","消毒液"],textStyle:{color:"#FFFFFF",lineHeight:18},formatter:function(t){for(var a,i=e.echartObj3.series[0].data,r=0,o=0;o<i.length;o++)r+=i[o].value,i[o].name==t&&(a=i[o].value);var l=Math.round(a/r*100)+"%";return"".concat(t).concat(l)}},color:["#2B8EF3","#48E5E5","#3D7DFA","#68A400","#F5B12D","#D599FD"],series:[{name:"Access From",type:"pie",radius:[60,90],top:"middle",left:-50,avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!1,fontSize:20}},labelLine:{show:!1},data:[{value:35,name:"设备"},{value:15,name:"床单"},{value:15,name:"被罩"},{value:11,name:"垃圾袋"},{value:10,name:"洗衣液"},{value:9,name:"消毒液"}]}]},echartObj4:{legend:{show:!0,bottom:10,data:["在库(个)","出库(个)"],itemHeight:8,itemWidth:15,textStyle:{color:"#FFFFFF",lineHeight:10,fontSize:10}},color:["#2B8EF3","#F5B12D"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!0,interval:0,textStyle:{color:"#fff",fontSize:10}},data:["设备","床单","被罩","垃圾袋","洗衣液","消毒液"]},yAxis:{type:"value",axisLabel:{textStyle:{color:"#fff"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{name:"在库(个)",data:[3e3,900,2300,5500,4500,4e3],type:"bar",stack:"Ad",barWidth:18,itemStyle:{normal:{label:{show:!1,position:"top",textStyle:{color:"#FFFFFF",fontSize:10}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#1976E2"},{offset:1,color:"rgba(25,118,226,0.30)"}])}}}},{name:"出库(个)",data:[1e3,5e3,5500,12e3,2500,2e3],type:"bar",stack:"Ad",barWidth:18,itemStyle:{normal:{label:{show:!1,position:"top",textStyle:{color:"#FFFFFF",fontSize:10}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#FFBB00"},{offset:1,color:"#FF7B00"}])}}}}]},echartObj5:{legend:{show:!0,top:"middle",right:0,orient:"vertical",data:["已处理","处理中","未处理"],textStyle:{color:"#FFFFFF",lineHeight:18},formatter:function(t){for(var a,i=e.echartObj5.series[0].data,r=0,o=0;o<i.length;o++)r+=i[o].value,i[o].name==t&&(a=i[o].value);var l=Math.round(a/r*100)+"%";return"".concat(t).concat(l)}},color:["#3D7DFA","#48E5E5","#F5B12D"],series:[{name:"Access From",type:"pie",radius:[60,90],top:"middle",left:-50,avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!1,fontSize:20}},labelLine:{show:!1},data:[{value:35,name:"已处理"},{value:35,name:"处理中"},{value:30,name:"未处理"}]}]},echartObj6:{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:"rgba(255, 255, 255, 0.64)"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{data:[{name:"1月",value:10},{name:"2月",value:12},{name:"3月",value:8},{name:"4月",value:14},{name:"5月",value:13},{name:"6月",value:8},{name:"7月",value:13},{name:"8月",value:25},{name:"9月",value:20},{name:"10月",value:13},{name:"11月",value:9},{name:"12月",value:5}],type:"bar",barWidth:20,barGap:"100%",itemStyle:this.setSeriesItemStyle("lan")}]},echartObj7:{legend:{show:!0,bottom:10,data:["用电量(度)","用水量(吨)","用气量(m²)"],textStyle:{color:"#FFFFFF",lineHeight:10}},color:["#2B8EF3","#F5B12D","#48E5E5"],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:[{name:"用电量(度)",data:[{name:"用电量(度)",value:1500},{name:"用电量(度)",value:2400},{name:"用电量(度)",value:2e3},{name:"用电量(度)",value:2300},{name:"用电量(度)",value:2450},{name:"用电量(度)",value:1450},{name:"用电量(度)",value:1e3},{name:"用电量(度)",value:2500},{name:"用电量(度)",value:1980},{name:"用电量(度)",value:2500},{name:"用电量(度)",value:2300},{name:"用电量(度)",value:1600}],type:"bar",barWidth:10,barGap:.5,itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:10}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#1976E2"},{offset:1,color:"rgba(25,118,226,0.30)"}])}}}},{name:"用水量(吨)",data:[{name:"用水量(吨)",value:2200},{name:"用水量(吨)",value:1500},{name:"用水量(吨)",value:800},{name:"用水量(吨)",value:1500},{name:"用水量(吨)",value:1900},{name:"用水量(吨)",value:2300},{name:"用水量(吨)",value:1500},{name:"用水量(吨)",value:1500},{name:"用水量(吨)",value:1490},{name:"用水量(吨)",value:1490},{name:"用水量(吨)",value:1500},{name:"用水量(吨)",value:2300}],type:"bar",barGap:.5,barWidth:10,itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:10}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#FF7B00"},{offset:1,color:"rgba(255,123,0,0.30)"}])}}}},{name:"用气量(m²)",data:[{name:"用气量(m²)",value:1100},{name:"用气量(m²)",value:1150},{name:"用气量(m²)",value:1200},{name:"用气量(m²)",value:1100},{name:"用气量(m²)",value:700},{name:"用气量(m²)",value:1100},{name:"用气量(m²)",value:2400},{name:"用气量(m²)",value:1200},{name:"用气量(m²)",value:1250},{name:"用气量(m²)",value:900},{name:"用气量(m²)",value:1200},{name:"用气量(m²)",value:1150}],type:"bar",barGap:.5,barWidth:10,itemStyle:{normal:{label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:12}},color:function(){return new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#48E5E5"},{offset:1,color:"rgba(72,228,229,0.30)"}])}}}}]},echartObj8:{radar:{indicator:[{name:"口腔护理",max:25},{name:"食物护理",max:50,axisLabel:{show:!1}},{name:"修建",max:25,axisLabel:{show:!1}},{name:"清洗",max:25,axisLabel:{show:!1}},{name:"按摩",max:25,axisLabel:{show:!1}}],radius:"65%",axisLine:{lineStyle:{color:"#BBBBBB",type:"solid",width:1}},axisTick:{lineStyle:{}},axisLabel:{show:!0},splitArea:{areaStyle:{opacity:.5,color:["#032750","rgba(25, 118, 226, 0.2)"]}},splitLine:{lineStyle:{color:"rgba(25, 118, 226, 0.2)",type:"solid",width:1}},axisName:{color:"#FFFFFF",fontSize:16}},series:[{type:"radar",data:[{value:[12,25,3,12,20],name:"Allocated Budget"}],itemStyle:{color:new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(245,177,45,0.73)"},{offset:1,color:"rgba(245,177,45,0.17)"}])},areaStyle:{color:new f.a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(245,177,45,0.73)"},{offset:1,color:"rgba(245,177,45,0.17)"}])}}]}}},created:function(){this.init()},components:{Echarts:u["a"]},methods:{init:function(){this.getData()},search:function(){this.init()},getData:function(){},setSeriesItemStyle:function(e){var t=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:v({label:{show:!0,position:"top",textStyle:{color:"#FFFFFF",fontSize:12}},color:function(){return new t.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:i[e][0]},{offset:1,color:i[e][1]}])}},a)}}}},S=g,x=(a("c8f5"),a("2877")),w=Object(x["a"])(S,l,n,!1,null,"7a36e2eb",null),O=w.exports,j=a("c5d6"),L=a("365c"),E={name:"index",data:function(){return{param:{startYear:"",endYear:""}}},created:function(){this.param={startYear:"",endYear:""}},components:{Header:o["a"],home:O,userStatus:j["a"]},methods:{init:function(){this.getData()},getData:function(){Object(L["a"])(this.param).then((function(e){}))}}},C=E,B=(a("0e32"),Object(x["a"])(C,i,r,!1,null,"3fd300be",null));t["default"]=B.exports},5103:function(e,t,a){},"802b":function(e,t,a){},c8f5:function(e,t,a){"use strict";a("5103")}}]); |