1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-18e2bd93"],{"0e23":function(e,t,a){e.exports=a.p+"assets/img/1.c183579d.png"},"1aa1":function(e,t,a){},"3eb8":function(e,t,a){},"554c":function(e,t,a){"use strict";a("1aa1")},"98bd":function(e,t,a){e.exports=a.p+"assets/img/2.9ec2e363.png"},e0e1: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:"3"}}}),t("home")],1)},r=[],l=a("71c2"),n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main_box"},[t("div",{staticClass:"home_left"},[t("InnerBox",{attrs:{echartObj:e.echartObj1,header_title:"用户使用量统计",little_font:"(次)"}}),t("InnerBox",{attrs:{echartObj:e.echartObj2,header_title:"近半年设备报警统计",little_font:"(次)"}}),t("InnerBox",{attrs:{echartObj:e.echartObj3,header_title:"维护费用统计",little_font:"(元)"}})],1),t("div",{staticClass:"home_center"},[t("dv-border-box-11",{staticStyle:{height:"25%"},attrs:{title:"数据概况",color:["#48E5E5","#1F7DAF"]}},[t("img",{staticStyle:{height:"100%","max-width":"100%"},attrs:{src:a("0e23"),alt:""}})]),t("dv-border-box-11",{staticStyle:{height:"30%"},attrs:{title:"报警实时数据",color:["#16ADDE","#0C7DE7"]}},[t("dv-scroll-board",{staticStyle:{height:"100%"},attrs:{config:e.config}})],1),t("dv-border-box-11",{staticStyle:{height:"40%"},attrs:{title:"机构设备数量统计TOP3(个)",color:["#16ADDE","#0C7DE7"],titleWidth:400}},[t("div",{staticStyle:{height:"20%","text-align":"center"}},[t("img",{staticStyle:{"max-width":"98%",height:"100%"},attrs:{src:a("98bd"),alt:""}})]),t("Echarts",{staticStyle:{height:"80%"},attrs:{echartObj:e.echartObj4}})],1)],1),t("div",{staticClass:"home_right"},[t("div",{staticClass:"inner_box"},[e._m(0),t("div",{staticClass:"box_content echart5"},e._l(e.echartObj5.title,(function(a,i){return t("div",{key:i},[t("div",{staticStyle:{"flex-shrink":"0","margin-left":"10px",width:"30%"}},[e._v(e._s(a))]),t("div",{staticStyle:{width:"5%",height:"1px","border-bottom":"1px dashed rgba(230, 247, 255, 0.5)"}}),t("div",{staticStyle:{display:"flex","justify-content":"center","align-items":"center",width:"100%"}},[t("div",{style:"width:"+(100-e.echartObj5.data[i]/e.echartObj5Max*100)/2+"%;height: 1px;border-bottom: 1px dashed rgba(230, 247, 255, 0.5);flex: 1;margin-right: 10px;"}),t("div",{style:"width: "+e.echartObj5.data[i]/e.echartObj5Max*100+"%;min-width: 15%;height: 20px;border-radius: 2px;text-align: center;background:"+e.echartObj5.colors[i]},[t("span",{staticStyle:{"font-size":"14px","font-weight":"bold"}},[e._v(e._s(e.echartObj5.data[i]))])]),t("div",{style:"width:"+(100-e.echartObj5.data[i]/e.echartObj5Max*100)/2+"%;height: 1px;border-bottom: 1px dashed rgba(230, 247, 255, 0.5);flex: 1;margin-left: 10px;"})]),t("div",{staticStyle:{width:"5%",height:"1px","margin-right":"10px","border-bottom":"1px dashed rgba(230, 247, 255, 0.5)"}})])})),0)]),t("InnerBox",{attrs:{echartObj:e.echartObj6,header_title:"设备故障概率",little_font:"(次)"}}),t("InnerBox",{attrs:{echartObj:e.echartObj7,header_title:"采购、收入占比分析",little_font:"(次)"}})],1)])},o=[function(){var e=this,t=e._self._c;return 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("(元)")])])])])}],s=a("2b0e"),c=a("f2ca"),h=a("a79d"),b=a("bd29");function d(e){return d="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},d(e)}function u(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 y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function p(e,t,a){return t=m(t),t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function m(e){var t=f(e,"string");return"symbol"===d(t)?t:String(t)}function f(e,t){if("object"!==d(e)||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!==d(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 v={data:function(){return{echartObj1:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},data:["智能手环","智能门禁","跌倒仪器检测","温湿度检测器","定位跟踪仪","可视电话","智能床垫"]},yAxis:{type:"value",axisLabel:{textStyle:{color:"rgba(255, 255, 255, 0.64)"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{data:[{name:"智能手环",value:1e3},{name:"智能门禁",value:500},{name:"跌倒仪器检测",value:1500},{name:"温湿度检测器",value:1100},{name:"定位跟踪仪",value:480},{name:"可视电话",value:460},{name:"智能床垫",value:460}],type:"bar",barWidth:30,barGap:"100%",itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}},{label:{show:!1}})}]},echartObj2:{legend:{show:!0,bottom:10,data:["长者人数","男","女"],textStyle:{color:"#FFFFFF",lineHeight:10}},color:["#48E5E5","#2B8EF3","#F5B12D"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!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:[{name:"长者人数",value:457},{name:"男",value:1300},{name:"女",value:950}],type:"bar",barWidth:10,barGap:"100%",itemStyle:this.setSeriesItemStyle("qing",{label:{show:!1}})},{name:"男",data:[{name:"长者人数",value:136},{name:"男",value:600},{name:"女",value:245}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}})},{name:"女",data:[{name:"长者人数",value:321},{name:"男",value:700},{name:"女",value:750}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("huang",{label:{show:!1}})}]},echartObj3:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:100,right:20,top:20,bottom:30},xAxis:{type:"value",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},boundaryGap:[0,.01]},yAxis:{type:"category",axisLabel:{textStyle:{color:"rgba(255, 255, 255, 0.64)"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}},data:["智能手环","智能门禁","跌倒仪器检测","温湿度检测器","定位跟踪仪","可视电话","智能床垫"]},series:[{type:"bar",data:[8200,7700,7100,6e3,5800,5500,4e3],itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}})}]},echartObj4:{grid:{left:50,right:20,top:50,bottom:60},legend:{show:!0,bottom:10,data:["深业颐居","深业龙投","深业世纪山谷"],textStyle:{color:"#FFFFFF",lineHeight:10}},color:["#48E5E5","#2B8EF3","#F5B12D"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!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:[{name:"智能手环",value:80},{name:"智能门禁",value:130},{name:"跌倒仪器检测",value:120},{name:"温湿度检测器",value:80},{name:"定位跟踪仪",value:160},{name:"可视电话",value:140},{name:"智能床垫",value:120}],type:"bar",barWidth:10,barGap:"100%",itemStyle:this.setSeriesItemStyle("qing",{label:{show:!1}})},{name:"深业龙投",data:[{name:"智能手环",value:140},{name:"智能门禁",value:90},{name:"跌倒仪器检测",value:60},{name:"温湿度检测器",value:100},{name:"定位跟踪仪",value:150},{name:"可视电话",value:110},{name:"智能床垫",value:130}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}})},{name:"深业世纪山谷",data:[{name:"智能手环",value:70},{name:"智能门禁",value:70},{name:"跌倒仪器检测",value:90},{name:"温湿度检测器",value:60},{name:"定位跟踪仪",value:80},{name:"可视电话",value:100},{name:"智能床垫",value:90}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("huang",{label:{show:!1}})}]},echartObj5Max:135,echartObj5:{title:["北京**股份有限公司","深圳**科技有限公司","广西**科技有限公司","广西**科技有限公司","广西**科技有限公司"],data:[135,132,88,70,60],colors:["#FA6C06","#F5B12D","#1974DF","#18DFE8","#0CB872"]},config:{header:["日期","时间","地址","姓名","报警类型"],columnWidth:[150,80,100,200,150],data:[["2023年7月24日","9:21","2楼202","****活动",'<span style="color:#F5B12D;">跌倒</span>'],["2023年7月24日","9:22","2楼202","****活动",'<span style="color:#F5B12D;">血压异常</span>'],["2023年7月24日","9:23","2楼202","****活动",'<span style="color:#F5B12D;">心率异常</span>'],["2023年7月24日","9:24","2楼202","****活动",'<span style="color:#F5B12D;">呼吸异常</span>'],["2023年7月24日","9:25","2楼202","****活动",'<span style="color:#F5B12D;">设备离线</span>'],["2023年7月24日","9:26","2楼202","****活动",'<span style="color:#F5B12D;">血压异常</span>'],["2023年7月24日","9:27","2楼202","****活动",'<span style="color:#F5B12D;">心率异常</span>'],["2023年7月24日","9:28","2楼202","****活动",'<span style="color:#F5B12D;">呼吸异常</span>'],["2023年7月24日","9:29","2楼202","****活动",'<span style="color:#F5B12D;">设备离线</span>'],["2023年7月24日","9:30","2楼202","****活动",'<span style="color:#F5B12D;">设备离线</span>']]},echartObj6:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!0,textStyle:{color:"#fff",fontSize:10}},data:["活动中心","广场","图书室","户外"]},yAxis:{type:"value",axisLabel:{textStyle:{color:"rgba(255, 255, 255, 0.64)"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["#1F7DAF"]}}},series:[{data:[{name:"活动中心",value:180},{name:"广场",value:290},{name:"图书室",value:220},{name:"户外",value:170}],type:"bar",barWidth:10,barGap:"100%",itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}})}]},echartObj7:{legend:{show:!0,bottom:10,textStyle:{color:"#FFFFFF",lineHeight:10},data:["采购","收入"]},color:["#2B8EF3","#F5B12D"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},xAxis:{type:"category",axisLabel:{show:!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:[{name:"智能手环",value:7e4},{name:"智能门禁",value:15e4},{name:"跌倒仪器检测",value:7e4},{name:"温湿度检测器",value:2e5},{name:"定位跟踪仪",value:12e4},{name:"可视电话",value:9e4},{name:"智能床垫",value:85e3}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("lan",{label:{show:!1}})},{name:"收入",data:[{name:"智能手环",value:18e4},{name:"智能门禁",value:7e4},{name:"跌倒仪器检测",value:16e4},{name:"温湿度检测器",value:86e3},{name:"定位跟踪仪",value:22e4},{name:"可视电话",value:14e4},{name:"智能床垫",value:13e4}],type:"bar",barGap:"100%",barWidth:10,itemStyle:this.setSeriesItemStyle("huang",{label:{show:!1}})}]}}},created:function(){this.init()},components:{Echarts:b["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:y({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)}}}},x=v,g=(a("554c"),a("2877")),S=Object(g["a"])(x,n,o,!1,null,"32728956",null),w=S.exports,F=a("c5d6"),O=a("365c"),j={name:"index",data:function(){return{param:{startYear:"",endYear:""}}},created:function(){this.param={startYear:"",endYear:""}},components:{Header:l["a"],home:w,userStatus:F["a"]},methods:{init:function(){this.getData()},getData:function(){Object(O["a"])(this.param).then((function(e){}))}}},D=j,_=(a("fcaf"),Object(g["a"])(D,i,r,!1,null,"d11e5780",null));t["default"]=_.exports},fcaf:function(e,t,a){"use strict";a("3eb8")}}]); |