(window.webpackJsonp=window.webpackJsonp||[]).push([["threejshb"],{"0baf":function(t,e,i){"use strict";i.r(e);var a=[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"left"},[t("div",{staticClass:"img"},[t("img",{attrs:{src:i("89a6"),alt:""}})])])}],o=i("d4ec"),s=i("bee2"),c=i("257e"),r=i("262e"),d=i("2caf"),l=i("ade3"),n=(i("99af"),i("d3b7"),i("caad"),i("2532"),i("4de4"),i("159b"),i("ac1f"),i("5319"),i("4d63"),i("c607"),i("2c3e"),i("25f0"),i("b0c0"),i("a9e3"),i("fb6a"),i("cfc3"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("2b0e")),u=i("2fe1"),h=i("5a89"),b=i("4721"),g=i("0ca5"),v=i("34ad"),m=i("32ab"),f=i("4b1d"),p=i("539b"),y=i("85af"),C=i("0805"),O=i.n(C),k=i("3193"),n=Object(u.a)({components:{echarts:p.a,ProgressBar:y.a}})(y=function(t){Object(r.a)(n,t);var i=Object(d.a)(n);function n(){var t;Object(o.a)(this,n);for(var e=arguments.length,a=new Array(e),s=0;s进行中'),i.push([e.cateTitle,e.userName,e.content,t]),1===e.cate?3===e.address.xyz.length&&(n.push({cate:e.cate,x:e.address.xyz[0],y:e.address.xyz[1],z:e.address.xyz[2],addrId:e.address.id,addrName:e.address.title,obj:e}),r.includes(e.address.id)||r.push(e.address.id)):2===e.cate?3===e.start.xyz.length&&3===e.end.xyz.length&&(n.push({cate:e.cate,x:e.start.xyz[0],y:e.start.xyz[1],z:e.start.xyz[2],addrId:e.start.id,addrName:e.start.title,obj:e}),r.includes(e.start.id)||r.push(e.start.id),n.push({cate:e.cate,x:e.end.xyz[0],y:e.end.xyz[1],z:e.end.xyz[2],addrId:e.end.id,addrName:e.end.title,obj:e}),r.includes(e.end.id)||r.push(e.end.id),o.push({start:e.start.xyz,end:e.end.xyz,obj:e})):(a=[],e.addrs.forEach(function(t){3===t.xyz.length&&(a.push(t.xyz),n.push({cate:e.cate,x:t.xyz[0],y:t.xyz[1],z:t.xyz[2],addrId:t.id,addrName:t.title,obj:e}),r.includes(t.id)||r.push(t.id))}),0'),e.onclick=function(){s.curTask=t,s.curWorldVector=new h.tb(t.x,t.y,t.z),s.showTag()};a=new m.b(e);s.scene.add(a);e=new h.tb(t.x,t.y,t.z);a.position.copy(e),a.name="customPoints",a.customData=t.obj,a.scale.set(.04,.04,.04),s.curPointsObj.push(a)})}},{key:"showTag",value:function(){var t=this.curWorldVector.project(this.camera),e=window.innerWidth/2,a=window.innerHeight/2,e=Math.round(t.x*e+e),t=Math.round(-t.y*a+a),a=document.getElementById("mark");a.style.opacity=1,a.style.left="".concat(e-290,"px"),a.style.top="".concat(t,"px")}},{key:"drawPatrols",value:function(){var a=this;this.curPatrolsObj.forEach(function(t){a.scene.remove(t)}),this.curPatrols.forEach(function(t){var e=[];t.points.forEach(function(t){3===t.length&&e.push(t)}),a.drawPatrolLine(e)})}},{key:"drawPatrolLine",value:function(t){var e=[];t.forEach(function(t){e.push(new h.tb(t[0],t[1],t[2]))});var a=new h.g;a.setFromPoints(e);t=new h.y({color:13434761,dashSize:2,gapSize:3}),t=new h.w(a,t);t.computeLineDistances(),this.scene.add(t),this.curPatrolsObj.push(t)}},{key:"drawFlyLines",value:function(){var s=this;this.curYsLinesObj.forEach(function(t){s.scene.remove(t)}),this.curYsLines.forEach(function(t){var e=new h.tb(Number(t.start[0]),Number(t.start[1]),Number(t.start[2])),a=new h.tb(Number(t.end[0]),Number(t.end[1]),Number(t.end[2]));s.drawFlyLine(e,a,t.obj.status)})}},{key:"drawFlyLine",value:function(t,e,a){var s={curve:null,v1:t,v2:e,points:[],index:0,num:10,geometry2:null},i=new h.g,t=t,e=e;s.curve=new h.h([new h.tb(t.x,t.y,t.z),new h.tb((t.x+e.x)/2,(t.y+e.y)/2+this.randomNum(10,20),(t.z+e.z)/2),new h.tb(e.x,e.y,e.z)]),s.points=s.curve.getSpacedPoints(100),i.setFromPoints(s.points);var n=2386913,a=new h.x({color:n=1===a?2686957:n}),a=new h.w(i,a);this.scene.add(a),this.curYsLinesObj.push(a),s.index=20,s.num=20;var o=s.points.slice(s.index,s.index+s.num);s.geometry2=new h.g,s.geometry2.setFromPoints(o);for(var c=o.length-2,r=[],d=0;de&&(t.index=0),t.index+=1,e=t.points.slice(t.index,t.index+t.num),t.geometry2.setFromPoints(e))})}},{key:"choose",value:function(t){var e=t.clientX,a=t.clientY,t=e/window.innerWidth*2-1,e=-a/window.innerHeight*2+1,a=new h.eb;a.setFromCamera(new h.sb(t,e),this.camera);a.intersectObjects(this.curPointsObj)}},{key:"realSysTime",value:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth(),s=t.getDate(),i=t.getDay(),n=t.getHours(),o=t.getMinutes(),t=t.getSeconds();a+=1;this.week=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][i],a<10&&(a="0".concat(a)),s<10&&(s="0".concat(s)),n<10&&(n="0".concat(n)),o<10&&(o="0".concat(o)),t<10&&(t="0".concat(t)),this.day="".concat(e,".").concat(a,".").concat(s),this.time="".concat(n,":").concat(o,":").concat(t)}},{key:"updateData",value:function(){this.getOrderCount()}}]),n}(n.a))||y,y=(i("bf0e"),i("2877")),a=Object(y.a)(n,function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",[s("div",{staticClass:"mainbg"}),s("div",{staticClass:"mainheader"},[a._m(0),s("div",{staticClass:"title"},[a._v("河北省中医院项目智慧大屏")]),s("div",{staticClass:"right"},[s("div",{staticClass:"weather-box"},[s("div",{staticClass:"status"},[s("div",[a._v(a._s(a.weather.direct))]),s("div",[a._v(a._s(a.weather.city))])]),s("div",{staticClass:"wendu"},[a._v(a._s(a.weather.temperature))]),s("div",{staticClass:"img"},[s("img",{attrs:{src:a.weather.img,alt:""}})])]),s("div",{staticClass:"time-box"},[s("div",{staticClass:"his"},[a._v(a._s(a.time))]),s("div",{staticClass:"week"},[s("div",[a._v(a._s(a.week))]),s("div",[a._v(a._s(a.day))])])])])]),s("div",{staticClass:"mainleft"},[s("div",{staticClass:"leftonde-box"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目任务数据分析 ")]),s("div",{staticClass:"contentbox"},[s("div",{staticClass:"oneF"}),s("div",{staticClass:"twoF"},[s("div",{staticClass:"title"},[a._v("今日工单数")]),s("div",{staticClass:"num"},[a._v(a._s(a.todoCountData.todayCount))])]),s("div",{staticClass:"threeF"},[s("div",{staticClass:"tbox maginBottom"},[s("span",{staticClass:"title"},[a._v("项目工单总数")]),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todoCountData.todoCount))])]),s("div",{staticClass:"tbox maginBottom"},[s("span",{staticClass:"title"},[a._v("项目订单总数")]),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todoCountData.orderCount))])]),s("div",{staticClass:"tbox"},[s("span",{staticClass:"title"},[a._v("项目任务总数")]),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todoCountData.taskCount))])])]),s("div",{staticClass:"foreF"})])]),s("div",{staticClass:"lefttwo-box"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目人员数据分析 ")]),s("div",{staticClass:"contentbox"},[s("div",{staticClass:"leftbox"},[s("div",{staticClass:"title"},[a._v("项目人员总数")]),s("div",{staticClass:"num"},[a._v(a._s(a.userCount))])]),a.userTypeFlag?s("dv-active-ring-chart",{staticClass:"rightbox",attrs:{config:a.userCountConfig}}):a._e()],1)]),a.commentRankingFlag?s("dv-scroll-board",{staticClass:"leftthree-box",attrs:{config:a.commentRankingConfig}}):a._e(),s("div",{staticClass:"leftfore-box"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目耗材使用排名分析 ")]),s("div",{staticClass:"content-box"},[s("div",{staticClass:"leftk"}),a.mateRankingFlag?s("dv-scroll-board",{staticClass:"mate-box",attrs:{config:a.mateRankongConfig}}):a._e(),s("div",{staticClass:"rightk"})],1)]),s("div",{staticClass:"leftfive"},[s("div",{staticClass:"public-header-box"},[a._v(" 网格化保洁管理 ")]),s("div",{staticClass:"content-box"},a._l(a.dailyList,function(t,e){return s("div",{key:e,staticClass:"p-box"},[s("div",{staticClass:"s-box"},[s("div",{staticClass:"title"},[a._v(a._s(t.title))]),s("div",{staticClass:"num"},[a._v(a._s(t.count))])])])}),0)])],1),s("div",{staticClass:"maintop"}),s("div",{staticClass:"mainbottomtop"}),s("div",{staticClass:"mainbottom"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目任务数据总览 ")]),a.taskFlag?s("dv-scroll-board",{staticClass:"task-box",attrs:{config:a.taskConfig}}):a._e()],1),s("div",{staticClass:"mainright"},[s("div",{staticClass:"rightone-box"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目任务数据分析 ")]),s("div",{staticClass:"contentbox"},[s("div",{staticClass:"oneF"}),s("div",{staticClass:"twoF"},[s("div",{staticClass:"topbox"},[s("div",{staticClass:"name"},[a._v("保洁工单 "),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todayTodoData.bj))])]),s("progress-bar",{staticClass:"todop",attrs:{bl:a.todayTodoData.bjBl,"background-color":"#0E8AF5"}})],1),s("div",{staticClass:"bottombox"},[s("div",{staticClass:"name"},[a._v("维修工单 "),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todayTodoData.bx))])]),s("progress-bar",{staticClass:"todop",attrs:{bl:a.todayTodoData.bxBl,"background-color":"#009A16"}})],1)]),s("div",{staticClass:"threeF"},[a.todoeFlag?s("echarts",{staticClass:"todaybl",attrs:{data:a.todoEchartsOption}}):a._e(),s("div",{staticClass:"namebl"},[s("div",{staticClass:"bl"},[a._v(a._s(a.todayTodoData.bl)+"%")]),s("div",{staticClass:"name"},[a._v("今日完成率")])])],1),s("div",{staticClass:"foreF"},[s("div",{staticClass:"topbox"},[s("div",{staticClass:"name"},[a._v("运送工单 "),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todayTodoData.ys))])]),s("progress-bar",{staticClass:"todop",attrs:{bl:a.todayTodoData.ysBl,"background-color":"#8144BF"}})],1),s("div",{staticClass:"bottombox"},[s("div",{staticClass:"name"},[a._v("隐患工单 "),s("span",{staticClass:"pull-right"},[a._v(a._s(a.todayTodoData.yh))])]),s("progress-bar",{staticClass:"todop",attrs:{bl:a.todayTodoData.byhBl,"background-color":"#BA4B4B"}})],1)]),s("div",{staticClass:"fiveF"})])]),s("div",{staticClass:"righttwo"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目任务数据分析 "),s("select",{directives:[{name:"model",rawName:"v-model",value:a.type,expression:"type"}],staticClass:"module-select",on:{change:[function(t){var e=Array.prototype.filter.call(t.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});a.type=t.target.multiple?e:e[0]},a.updateData]}},[s("option",{attrs:{value:"1"}},[a._v("日统计")]),s("option",{attrs:{value:"2"}},[a._v("周统计")]),s("option",{attrs:{value:"3"}},[a._v("月统计")])]),s("select",{directives:[{name:"model",rawName:"v-model",value:a.mode,expression:"mode"}],staticClass:"module-select",on:{change:[function(t){var e=Array.prototype.filter.call(t.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});a.mode=t.target.multiple?e:e[0]},a.updateData]}},[s("option",{attrs:{value:"1"}},[a._v("报修")]),s("option",{attrs:{value:"2"}},[a._v("保洁")]),s("option",{attrs:{value:"3"}},[a._v("运送")]),s("option",{attrs:{value:"4"}},[a._v("隐患")])])]),s("div",{staticClass:"sub1-box"},[s("echarts",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"ttecharts1",data:a.todoTypeEchartsOption}})],1)]),s("div",{staticClass:"rightthree"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目医废收集量分析 ")]),s("div",{staticClass:"waste-box"},[s("echarts",{staticStyle:{width:"100%",height:"100%"},attrs:{data:a.wasteEchartsOption}})],1)]),s("div",{staticClass:"rightfour"},[s("div",{staticClass:"public-header-box"},[a._v(" 项目可视化数据分析 ")]),s("div",{staticClass:"imgall"},a._l(a.patrolImg,function(t,e){return s("div",{key:e,staticClass:"img"},[s("img",{attrs:{src:t.images,alt:""}})])}),0),s("div",{staticClass:"patrolbox"},[s("echarts",{staticStyle:{width:"100%",height:"100%"},attrs:{data:a.patrolEchartsOption}})],1)])]),s("div",{staticClass:"box-top",attrs:{id:"mark"}},[s("img",{staticClass:"box-top-close",attrs:{src:i("40ce"),alt:""},on:{click:a.handClose}}),s("div",{staticClass:"box-top-title"},[a.curTask?s("span",[a._v(a._s(a.curTask.addrName))]):a._e()]),a.curTask?a._l(a.curTask.obj,function(t,e){return s("div",{key:e,staticClass:"box-top-list"},[s("table",{staticStyle:{width:"100%"}},[s("tr",[s("td",{staticStyle:{width:"80px"}},[a._v("任务类型")]),s("td",[a._v(a._s(t.cateTitle))])]),s("tr",[s("td",[a._v("执行工人")]),s("td",[a._v(a._s(t.userName))])]),s("tr",[s("td",[a._v("任务时间")]),s("td",[a._v(a._s(t.startTime))])]),s("tr",[s("td",[a._v("任务内容")]),s("td",[a._v(a._s(t.content))])]),s("tr",[s("td",[a._v("任务状态")]),s("td",[1===t.status?s("span",[a._v("进行中")]):a._e(),0===t.status?s("span",[a._v("未开始")]):a._e()])])])])}):a._e()],2)])},a,!1,null,"63fdc988",null);e.default=a.exports},"9c06":function(t,e,a){},bf0e:function(t,e,a){"use strict";a("9c06")}}]);