(window.webpackJsonp=window.webpackJsonp||[]).push([["LSD.bighome"],{"03eb":function(t,e,i){},"14e4":function(t,e,i){t.exports=i.p+"static/img/3DScreen.4f936088.png"},"17f8":function(t,e,i){},"198c":function(t,e,i){"use strict";i("c965")},"1a5c":function(t,e,i){"use strict";i("dab9")},"28a5":function(t,e,i){},"2cf7":function(t,e,i){"use strict";i("03eb")},"37ff":function(t,e,i){"use strict";i("6d8f")},"3e26":function(t,e,i){},5591:function(t,e,i){},"5ad5":function(t,e,i){},6511:function(t,e,i){"use strict";i.r(e);function a(t,e){if(t){const i=new Date(t),a={"M+":i.getMonth()+1,"d+":i.getDate(),"H+":i.getHours(),"m+":i.getMinutes(),"s+":i.getSeconds(),"q+":Math.floor((i.getMonth()+3)/3),S:i.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(i.getFullYear()+"").substr(4-RegExp.$1.length)));for(const t in a)new RegExp("("+t+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?a[t]:("00"+a[t]).substr((""+a[t]).length)));return e}return""}var o={components:{},data:()=>({settingShow:!1,sbtxradio:!0,ssyjradio:!0,isScaleradio:!0}),computed:{},methods:{init(){this.settingShow=!0},radiochange(t,e){this.$store.commit("setting/updateSwiper",{val:t,type:e})}},created(){this.$store.commit("setting/initSwipers"),this.sbtxradio=this.$store.state.setting.sbtxSwiper,this.ssyjradio=this.$store.state.setting.ssyjSwiper,this.isScaleradio=this.$store.state.setting.isScale},mounted(){document.body.appendChild(this.$el)},beforeDestroy(){},destroyed(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},s=i("2877"),r=Object(s.a)(o,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"yh-setting-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.settingShow,expression:"settingShow"}],staticClass:"setting",class:{settingShow:t.settingShow}},[e("div",{staticClass:"setting_dislog",on:{click:function(e){t.settingShow=!1}}}),e("div",{staticClass:"setting_inner"},[e("div",{staticClass:"setting_header"},[t._v(" 设置 ")]),e("div",{staticClass:"setting_body"},[e("div",{staticClass:"left_shu"},[t._v(" 全局设置")]),e("div",{staticClass:"setting_item"},[e("span",{staticClass:"setting_label"},[t._v(" 是否进行自动适配"),e("span",{staticClass:"setting_label_tip"},[t._v("(默认分辨率1920*1080)")]),t._v(": ")]),e("div",{staticClass:"setting_content"},[e("el-radio-group",{on:{change:e=>t.radiochange(e,"isScale")},model:{value:t.isScaleradio,callback:function(e){t.isScaleradio=e},expression:"isScaleradio"}},[e("el-radio",{attrs:{label:!0}},[t._v("是")]),e("el-radio",{attrs:{label:!1}},[t._v("否")])],1)],1)]),e("div",{staticClass:"flex justify-center"})])])])])}),[],!1,null,"54ada7b3",null).exports;var l={name:"VScaleScreen",props:{width:{type:[String,Number],default:1920},height:{type:[String,Number],default:1080},fullScreen:{type:Boolean,default:!1},autoScale:{type:[Object,Boolean],default:!0},selfAdaption:{type:Boolean,default:!0},delay:{type:Number,default:500},boxStyle:{type:Object,default:()=>({})},wrapperStyle:{type:Object,default:()=>({})}},data:()=>({currentWidth:0,currentHeight:0,originalWidth:0,originalHeight:0,onResize:null,observer:null}),watch:{selfAdaption(t){t?(this.resize(),this.addListener()):(this.clearListener(),this.clearStyle())}},computed:{screenWrapper(){return this.$refs.screenWrapper}},methods:{initSize(){return new Promise((t,e)=>{this.screenWrapper.parentNode.style.overflow="hidden",this.screenWrapper.parentNode.scrollLeft=0,this.screenWrapper.parentNode.scrollTop=0,this.$nextTick(()=>{this.width&&this.height?(this.currentWidth=this.width,this.currentHeight=this.height):(this.currentWidth=this.screenWrapper.clientWidth,this.currentHeight=this.screenWrapper.clientHeight),this.originalHeight&&this.originalWidth||(this.originalWidth=window.screen.width,this.originalHeight=window.screen.height),t()})})},updateSize(){this.currentWidth&&this.currentHeight?(this.screenWrapper.style.width=this.currentWidth+"px",this.screenWrapper.style.height=this.currentHeight+"px"):(this.screenWrapper.style.width=this.originalWidth+"px",this.screenWrapper.style.height=this.originalHeight+"px")},handleAutoScale(t){if(!this.autoScale)return;const e=this.screenWrapper,i=e.clientWidth,a=e.clientHeight,o=document.body.clientWidth,s=document.body.clientHeight;e.style.transform=`scale(${t},${t}) `;let r=Math.max((o-i*t)/2,0),l=Math.max((s-a*t)/2,0);"object"==typeof this.autoScale&&(!this.autoScale.x&&(r=0),!this.autoScale.y&&(l=0)),this.screenWrapper.style.margin=`${l}px ${r}px`},updateScale(){const t=this.screenWrapper,e=document.body.clientWidth,i=document.body.clientHeight,a=e/(this.currentWidth||this.originalWidth),o=i/(this.currentHeight||this.originalHeight);if(this.fullScreen)return t.style.transform=`scale(${a},${o})`,!1;const s=Math.min(a,o);this.handleAutoScale(s)},initMutationObserver(){const t=this.screenWrapper;(this.observer=new MutationObserver(()=>{this.onResize()})).observe(t,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},clearListener(){window.removeEventListener("resize",this.onResize)},addListener(){window.addEventListener("resize",this.onResize)},clearStyle(){const t=this.screenWrapper;t.parentNode.style.overflow="auto",t.style=""},async resize(){this.selfAdaption&&(await this.initSize(),this.updateSize(),this.updateScale())}},mounted(){this.onResize=function(t,e){let i=null;return function(...a){i=setTimeout(()=>{"function"==typeof t&&t.apply(null,a),clearTimeout(i)},e>0?e:100)}}(()=>{this.resize()},this.delay),this.$nextTick(()=>{this.selfAdaption&&(this.resize(),this.addListener())})},beforeDestroy(){this.clearListener()}},n=(i("6557"),{components:{Setting:r,ScaleScreen:Object(s.a)(l,(function(){return(0,this._self._c)("div",{ref:"screenWrapper",staticClass:"screen-wrapper",style:this.wrapperStyle},[this._t("default")],2)}),[],!1,null,"da9f1cae",null).exports},data:()=>({timing:null,loading:!0,dateDay:null,dateYear:null,dateWeek:null,weekday:["周日","周一","周二","周三","周四","周五","周六"]}),filters:{numsFilter:t=>t||0},computed:{},created(){},mounted(){this.timeFn(),this.cancelLoading()},beforeDestroy(){clearInterval(this.timing)},methods:{showSetting(){this.$refs.setting.init()},timeFn(){this.timing=setInterval(()=>{this.dateDay=a(new Date,"HH: mm: ss"),this.dateYear=a(new Date,"yyyy-MM-dd"),this.dateWeek=this.weekday[(new Date).getDay()]},1e3)},cancelLoading(){let t=setTimeout(()=>{this.loading=!1,clearTimeout(t)},500)}}}),c=(i("c59e"),Object(s.a)(n,(function(){var t=this,e=t._self._c;return e("ScaleScreen",{staticClass:"scale-wrap",attrs:{width:1920,height:1080,selfAdaption:t.$store.state.setting.isScale}},[e("div",{staticClass:"bg"},[t.loading?e("dv-loading",[t._v("Loading...")]):e("div",{staticClass:"host-body"},[e("div",{staticClass:"d-flex jc-center title_wrap"},[e("div",{staticClass:"zuojuxing"}),e("div",{staticClass:"youjuxing"}),e("div",{staticClass:"guang"}),e("div",{staticClass:"d-flex jc-center"},[e("div",{staticClass:"title"},[e("span",{staticClass:"title-text"},[t._v("淮安特创成品数据展示平台")])])]),e("div",{staticClass:"timers"},[t._v(" "+t._s(t.dateYear)+" "+t._s(t.dateWeek)+" "+t._s(t.dateDay)+" "),e("i",{staticClass:"blq-icon-shezhi02",staticStyle:{"margin-left":"10px"},on:{click:t.showSetting}})])]),e("router-view")],1)],1),e("Setting",{ref:"setting"})],1)}),[],!1,null,null,null));e.default=c.exports},6557:function(t,e,i){"use strict";i("bdf2")},"6d8f":function(t,e,i){},"72ff":function(t,e,i){"use strict";i("9c35")},"7f92":function(t,e,i){},8530:function(t,e,i){"use strict";i("17f8")},9301:function(t,e,i){},9397:function(t,e,i){"use strict";i("d657")},"99ca":function(t,e,i){"use strict";i("3e26")},"9a70":function(t,e,i){"use strict";i("7f92")},"9c35":function(t,e,i){},"9e88":function(t,e,i){"use strict";i("9301")},aaba:function(t,e,i){"use strict";i("fd3a")},b7ea:function(t,e,i){},bd18:function(t,e,i){"use strict";i("b7ea")},bdf2:function(t,e,i){},c59e:function(t,e,i){"use strict";i("5591")},c965:function(t,e,i){},d0cb:function(t,e,i){},d657:function(t,e,i){},dab9:function(t,e,i){},df5e:function(t,e,i){"use strict";i.r(e);var a=i("bc3a"),o=i.n(a);let s={ENC:!1,baseUrl:"http://127.0.0.1:8098",code:401};const r=()=>{s.baseUrl="http://127.0.0.1:8098"};console.log(Object({NODE_ENV:"production",VUE_APP_outputDir:"dist-production",VUE_APP_URL_ENV:"production",BASE_URL:""})),r();var l=s;i("a18c");let n=l.baseUrl;o.a.CancelToken;o.a.interceptors.request.use((function(t){let e=localStorage.getItem("token");return t.headers.common["Content-Type"]="application/json;charset=utf-8",t.headers.common.token=e,t}),(function(t){return console.log(t),Promise.reject(t)})),o.a.interceptors.response.use(t=>200!==t.status?Promise.reject(t):(t.data.code,l.code,t.data),t=>{console.error(t);return Promise.reject({success:!1,msg:"未知异常,请联系管理员!"})});let c={headers:{enc:l.ENC}};const h=async(t,e)=>{try{e=e;return await o.a.get(`${n}${t}`,{params:e,headers:c.headers},c)}catch(t){return t}};const d={big1:"/api/Dt_TaskWCSinfo/FaultInformation",big2:"/bigscreen/countDeviceNum",big3:"/bigscreen/sbtx",big4:"/bigscreen/alarmNum",big5:"/bigscreen/ssyj",big6:"/bigscreen/installationPlan",big7:"/bigscreen/ranking",big8:"/bigscreen/centermap"},m=(t,e)=>h(d[t],e);o.a.defaults.withCredentials=!0,o.a.defaults.crossDomain=!0,o.a.defaults.baseURL="http://10.30.4.92:9283",o.a.defaults.headers.post["Content-Type"]="application/json;charset=utf-8";o.a.interceptors.request.use((function(t){return localStorage.elementToken&&(t.headers.Authorization=localStorage.elementToken,t.headers.con),t}),(function(t){return Promise.reject(t)})),o.a.interceptors.response.use((function(t){return t.status,t.data}),(function(t){const{response:e}=t;if(e)return((t,e)=>{switch(t){case 400:console.log("信息验证失败");break;case 401:console.log("认证失败");break;case 403:localStorage.removeItem("token"),console.log("token校验失败");break;case 404:console.log("请求资源不存在");break;default:console.log(e)}})(e.status,e.data.message),Promise.reject(e.data)}));var g=o.a;function f(t){return g.post("/api/Large/ProMonthTaskStatistics",t)}function p(t){return g.post("/api/Large/ProLocationStatistics?id=7",t)}let u={fontSize:24};var b={data:()=>({options:{},userOverview:{alarmNum:2,offlineNum:3,onlineNum:5,totalNum:10},pageflag:!0,timer:null,config:{number:[100],content:"{nt}",style:{...u,fill:"#00fdfa"}},onlineconfig:{number:[0],content:"{nt}",style:{...u,fill:"#07f7a8"}},offlineconfig:{number:[0],content:"{nt}",style:{...u,fill:"#e3b337"}},laramnumconfig:{number:[0],content:"{nt}",style:{...u,fill:"#f5023d"}}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){},beforeDestroy(){this.clearData()},methods:{clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},async getData(){this.pageflag=!0;let t=await f(t=>{console.log(t)});this.onlineconfig={...this.onlineconfig,number:[t.threefloor]},this.config={...this.config,number:[t.fivefloor]},this.offlineconfig={...this.offlineconfig,number:[t.sixfloor]},this.laramnumconfig={...this.laramnumconfig,number:[t.sevenfloor]},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},w=(i("2cf7"),i("2877")),y=Object(w.a)(b,(function(){var t=this,e=t._self._c;return t.pageflag?e("ul",{staticClass:"user_Overview flex"},[e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#00fdfa"}},[e("div",{staticClass:"user_Overview_nums allnum"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.onlineconfig}})],1),e("p",[t._v("三楼货架")])]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#07f7a8"}},[e("div",{staticClass:"user_Overview_nums online"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.config}})],1),e("p",[t._v("五楼货架")])]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#e3b337"}},[e("div",{staticClass:"user_Overview_nums offline"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.offlineconfig}})],1),e("p",[t._v("六楼货架")])]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#f5023d"}},[e("div",{staticClass:"user_Overview_nums laramnum"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.laramnumconfig}})],1),e("p",[t._v("七楼货架")])])]):e("Reacquire",{attrs:{"line-height":"200px"},on:{onclick:t.getData}},[t._v(" 重新获取 ")])}),[],!1,null,"5dd9e7d0",null).exports,v={data:()=>({options:{},countUserNumData:{lockNum:0,onlineNum:0,offlineNum:0,totalNum:0},pageflag:!0,timer:null}),created(){this.getData()},mounted(){this.changeTiming()},beforeDestroy(){},methods:{changeTiming(){setInterval(()=>{this.getData()},5e3)},async getData(){let t=await(void 0)(t=>{console.log(t)});this.countUserNumData={offlineNum:t.overtime,onlineNum:t.sensitization,lockNum:t.rgVcCar,totalNum:t.total},this.$nextTick(()=>{this.init()})},switper(){if(this.timer)return;let t=t=>{this.getData()};this.timer=setInterval(t,this.$store.state.setting.echartsAutoTime);let e=this.$refs.charts.chart;e.on("mouseover",t=>{this.clearData()}),e.on("mouseout",e=>{this.timer=setInterval(t,this.$store.state.setting.echartsAutoTime)})},init(){let t=this.countUserNumData.totalNum,e=["#ECA444","#33A1DB","#56B557","#ffb8c6"],i={name:"故障种类频率",type:"pie",radius:["42%","65%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:4,borderColor:"rgba(0,0,0,0)",borderWidth:2},color:e,data:[{value:this.countUserNumData.onlineNum,name:"光电故障",label:{shadowColor:e[0]}},{value:this.countUserNumData.lockNum,name:"四向车故障",label:{shadowColor:e[2]}},{value:this.countUserNumData.offlineNum,name:"超时故障",label:{shadowColor:e[3]}}]};this.options={title:{text:["{value|"+t+"}","{name|总数}"].join("\n"),top:"center",left:"center",textStyle:{rich:{value:{color:"#ffffff",fontSize:24,fontWeight:"bold",lineHeight:20},name:{color:"#ffffff",lineHeight:20}}}},tooltip:{trigger:"item",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"}},legend:{show:!1,top:"5%",left:"center"},series:[{...i,tooltip:{show:!0},label:{formatter:" {b|{b}}",rich:{b:{color:"#fff",fontSize:12,lineHeight:26},c:{color:"#31ABE3",fontSize:14},per:{color:"#31ABE3",fontSize:14}}},labelLine:{length:30,length2:46,show:!0},emphasis:{show:!0}},{...i,tooltip:{show:!0},itemStyle:{},label:{backgroundColor:"inherit",height:0,width:0,lineHeight:0,borderRadius:2.5,shadowBlur:8,shadowColor:"auto",padding:[2.5,-2.5,2.5,-2.5]},labelLine:{length:30,length2:46,show:!1}}]}}}},x=Object(w.a)(v,(function(){var t=this._self._c;return this.pageflag?t("Echart",{ref:"charts",staticClass:"left_center_inner",attrs:{id:"leftCenter",options:this.options}}):t("Reacquire",{staticStyle:{"line-height":"200px"},on:{onclick:this.getData}},[this._v(" 重新获取 ")])}),[],!1,null,"122ce562",null).exports,C=i("313e");var A={data:()=>({pageflag:!0,myChart:{},options:{}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){this.init()},beforeDestroy(){this.clearData()},methods:{init(){this.options={tooltip:{},legend:{right:"12%",bottom:"4%",textStyle:{color:"#fff",fontSize:"13"},itemGap:20,itemWidth:10,itemHeight:10,icon:"circle",data:["PM2.5","CO2","SO"]},grid:{left:"8%",top:"15%",bottom:"14%",width:"86%"},visualMap:[{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#69dbf7"},{gte:60,color:"#e5421b"}],seriesName:"SO",seriesIndex:2},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#1be57a"},{gte:60,color:"#e5421b"}],seriesName:"CO2",seriesIndex:1},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#feb01e"},{gte:60,color:"#e5421b"}],seriesName:"PM2.5",seriesIndex:0},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#69dbf7"},{gte:60,color:"#e5421b"}],seriesName:"SO",seriesIndex:5},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#1be57a"},{gte:60,color:"#e5421b"}],seriesName:"CO2",seriesIndex:4},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#feb01e"},{gte:60,color:"#e5421b"}],seriesName:"PM2.5",seriesIndex:3}],xAxis:{axisLine:{lineStyle:{color:"#132987"}},axisLabel:{textStyle:{color:"#FFF",fontSize:12}},axisTick:{show:!1},data:["1时","2时","3时","4时","5时","6时","7时","8时"]},yAxis:{min:0,max:100,axisLabel:{textStyle:{color:"#fff",fontSize:12}},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:"#132987"}}},series:[{name:"PM2.5",type:"line",symbolSize:[0,0],itemStyle:{color:"#feb01e"},data:[43,50,41,18,28,25,26,40]},{name:"CO2",type:"line",symbolSize:[0,0],itemStyle:{color:"#1be57a"},data:[21,30,37,39,23,37,5,50]},{name:"SO",type:"line",symbolSize:[0,0],itemStyle:{color:"#69dbf7"},data:[76,58,60,38,49,59,78,60]},{name:"PM2.5",type:"effectScatter",symbolSize:[5,5],rippleEffect:{period:1,scale:4,brushType:"fill"},itemStyle:{color:new C.b.RadialGradient(.4,.3,1,[{offset:0,color:"#feb01e"},{offset:1,color:"rgba(254,176,30,.3)"}])},data:[43,50,41,18,28,25,26,40]},{name:"CO2",type:"effectScatter",symbolSize:[5,5],rippleEffect:{period:1,scale:4,brushType:"fill"},itemStyle:{color:new C.b.RadialGradient(.4,.3,1,[{offset:0,color:"#1be57a"},{offset:1,color:"rgba(27,229,122,.3)"}])},data:[21,30,37,39,23,37,5,50]},{name:"SO",type:"effectScatter",symbolSize:[5,5],rippleEffect:{period:1,scale:4,brushType:"fill"},itemStyle:{color:new C.b.RadialGradient(.4,.3,1,[{offset:0,color:"#69dbf7"},{offset:1,color:"#aefbc3"}])},markLine:{symbol:"none",label:{normal:{show:!1}},lineStyle:{type:"solid",color:"rgba(210,56,56,.6)",width:2},data:[{yAxis:60}]},data:[76,58,60,38,49,59,78,60]}]}},clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},async getData(){this.pageflag=!0;await p();this.options={tooltip:{},legend:{right:"12%",bottom:"4%",textStyle:{color:"#fff",fontSize:"13"},itemGap:20,itemWidth:10,itemHeight:10,icon:"circle",data:["成品入库","成品出库","成品回框"]},grid:{left:"8%",top:"15%",bottom:"14%",width:"86%"},visualMap:[{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#69dbf7"},{gte:60,color:"#e5421b"}],seriesName:"成品入库",seriesIndex:2},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#1be57a"},{gte:60,color:"#e5421b"}],seriesName:"成品出库",seriesIndex:1},{type:"piecewise",show:!1,pieces:[{gt:0,lte:60,color:"#feb01e"},{gte:60,color:"#e5421b"}],seriesName:"成品回框",seriesIndex:0}],xAxis:{axisLine:{lineStyle:{color:"#132987"}},axisLabel:{textStyle:{color:"#FFF",fontSize:12}},axisTick:{show:!1},data:["04/19","04/20","04/21","04/22","04/23","04/24","04/25"]},yAxis:{axisLabel:{textStyle:{color:"#fff",fontSize:12}},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:"#132987"}}},series:[{name:"成品入库",type:"line",symbolSize:[0,0],itemStyle:{color:"#feb01e"},data:[160,156,150,180,170,200,20]},{name:"成品出库",type:"line",symbolSize:[0,0],itemStyle:{color:"#1be57a"},data:[80,115,120,130,91,99,20]},{name:"成品回框",type:"line",symbolSize:[0,0],itemStyle:{color:"#69dbf7"},data:[70,113,118,111,89,99,32]},{name:"成品入库",type:"effectScatter",symbolSize:[5,5],rippleEffect:{period:1,scale:4,brushType:"fill"},itemStyle:{color:new C.b.RadialGradient(.4,.3,1,[{offset:0,color:"#feb01e"},{offset:1,color:"rgba(254,176,30,.3)"}])},data:[160,156,150,180,170,200,20]},{name:"成品出库",type:"effectScatter",symbolSize:[5,5],rippleEffect:{period:1,scale:4,brushType:"fill"},itemStyle:{color:new C.b.RadialGradient(.4,.3,1,[{offset:0,color:"#1be57a"},{offset:1,color:"rgba(27,229,122,.3)"}])},data:[80,115,120,130,91,99,20]},{name:"成品回框",type:"effectScatter",symbolSize:[5,5],rippleEffect:{period:1,scale:4,brushType:"fill"},itemStyle:{color:new C.b.RadialGradient(.4,.3,1,[{offset:0,color:"#69dbf7"},{offset:1,color:"#aefbc3"}])},markLine:{symbol:"none",label:{normal:{show:!1}},lineStyle:{type:"solid",color:"rgba(210,56,56,.6)",width:2},data:[{yAxis:60}]},data:[70,113,118,111,89,99,32]}]},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},S=(i("198c"),Object(w.a)(A,(function(){var t=this._self._c;return t("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"name"}},[t("Echart",{staticStyle:{width:"100%",height:"100%"},attrs:{options:this.options}})],1)}),[],!1,null,"387771b1",null).exports),D={"中国":{adcode:"100000",level:"country",name:"中华人民共和国"},"新疆维吾尔自治区":{adcode:"650000",level:"province",name:"新疆维吾尔自治区"},"湖北省":{adcode:"420000",level:"province",name:"湖北省"},"辽宁省":{adcode:"210000",level:"province",name:"辽宁省"},"广东省":{adcode:"440000",level:"province",name:"广东省"},"内蒙古自治区":{adcode:"150000",level:"province",name:"内蒙古自治区"},"黑龙江省":{adcode:"230000",level:"province",name:"黑龙江省"},"河南省":{adcode:"410000",level:"province",name:"河南省"},"山东省":{adcode:"370000",level:"province",name:"山东省"},"陕西省":{adcode:"610000",level:"province",name:"陕西省"},"贵州省":{adcode:"520000",level:"province",name:"贵州省"},"上海市":{adcode:"310000",level:"province",name:"上海市"},"重庆市":{adcode:"500000",level:"province",name:"重庆市"},"西藏自治区":{adcode:"540000",level:"province",name:"西藏自治区"},"安徽省":{adcode:"340000",level:"province",name:"安徽省"},"福建省":{adcode:"350000",level:"province",name:"福建省"},"湖南省":{adcode:"430000",level:"province",name:"湖南省"},"海南省":{adcode:"460000",level:"province",name:"海南省"},"江苏省":{adcode:"320000",level:"province",name:"江苏省"},"青海省":{adcode:"630000",level:"province",name:"青海省"},"广西壮族自治区":{adcode:"450000",level:"province",name:"广西壮族自治区"},"宁夏回族自治区":{adcode:"640000",level:"province",name:"宁夏回族自治区"},"浙江省":{adcode:"330000",level:"province",name:"浙江省"},"河北省":{adcode:"130000",level:"province",name:"河北省"},"香港特别行政区":{adcode:"810000",level:"province",name:"香港特别行政区"},"台湾省":{adcode:"710000",level:"province",name:"台湾省"},"澳门特别行政区":{adcode:"820000",level:"province",name:"澳门特别行政区"},"甘肃省":{adcode:"620000",level:"province",name:"甘肃省"},"四川省":{adcode:"510000",level:"province",name:"四川省"},"天津市":{adcode:"120000",level:"province",name:"天津市"},"江西省":{adcode:"360000",level:"province",name:"江西省"},"云南省":{adcode:"530000",level:"province",name:"云南省"},"山西省":{adcode:"140000",level:"province",name:"山西省"},"北京市":{adcode:"110000",level:"province",name:"北京市"},"吉林省":{adcode:"220000",level:"province",name:"吉林省"}},M={data:()=>({maptitle:"小部件仓库预览图",options:{},code:"china",echartBindClick:!1,isSouthChinaSea:!1}),created(){},mounted(){this.getData("china")},methods:{getData(t){},async getGeojson(t,e){this.code=t;let i=t;this.isSouthChinaSea&&"china"==t&&(i="chinaNanhai");let a=C.a(t);a?a=a.geoJSON:(a=await(async(t,e)=>{try{return await o.a.get(t,{params:e})}catch(t){return t}})(`./map-geojson/${i}.json`).then(t=>t),C.d(t,a));let s={};a.features.map(t=>{s[t.properties.name]=t.properties.centroid||t.properties.center});let r=[];e.map(t=>{s[t.name]&&r.push({name:t.name,value:s[t.name].concat(t.value)})}),this.init(t,e,r)},init(t,e,i){let a={backgroundColor:"rgba(0,0,0,0)",tooltip:{show:!1},legend:{show:!1},visualMap:{left:20,bottom:20,pieces:[{gte:1e3,label:"1000个以上"},{gte:600,lte:999,label:"600-999个"},{gte:200,lte:599,label:"200-599个"},{gte:50,lte:199,label:"49-199个"},{gte:10,lte:49,label:"10-49个"},{lte:9,label:"1-9个"}],inRange:{color:["#c3d7df","#5cb3cc","#8abcd1","#66a9c9","#2f90b9","#1781b5"]},textStyle:{color:"#fff"}},geo:{map:t,roam:!1,selectedMode:!1,zoom:1.05,top:45,show:!1},series:[{name:"MAP",type:"map",map:t,data:e,selectedMode:!1,zoom:1.05,geoIndex:1,top:45,tooltip:{show:!0,formatter:function(t){return t.data?t.name+":"+t.data.value:t.name},backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"}},label:{show:!1,color:"#000",formatter:function(t){return void 0!==t.data?t.name.slice(0,2):""},rich:{}},emphasis:{label:{show:!1},itemStyle:{areaColor:"#389BB7",borderWidth:1}},itemStyle:{borderColor:"rgba(147, 235, 248, .8)",borderWidth:1,areaColor:{type:"radial",x:.5,y:.5,r:.8,colorStops:[{offset:0,color:"rgba(147, 235, 248, 0)"},{offset:1,color:"rgba(147, 235, 248, .2)"}],globalCoord:!1},shadowColor:"rgba(128, 217, 248, .3)",shadowOffsetX:-2,shadowOffsetY:2,shadowBlur:10}},{data:i,type:"effectScatter",coordinateSystem:"geo",symbolSize:function(t){return 4},legendHoverLink:!0,showEffectOn:"render",rippleEffect:{scale:6,color:"rgba(255,255,255, 1)",brushType:"fill"},tooltip:{show:!0,formatter:function(t){return t.data?t.name+":"+t.data.value[2]:t.name},backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"}},label:{formatter:t=>t.name.slice(0,2),fontSize:11,offset:[0,2],position:"bottom",textBorderColor:"#fff",textShadowColor:"#000",textShadowBlur:10,textBorderWidth:0,color:"#FFF",show:!0},itemStyle:{color:"rgba(255,255,255,1)",borderColor:"rgba(2255,255,255,2)",borderWidth:4,shadowColor:"#000",shadowBlur:10}}]};this.options=a},message(t){this.$Message({text:t,type:"warning"})},mapclick(){this.echartBindClick||(this.$refs.CenterMap.chart.on("click",t=>{let e=D[t.name];e?this.getData(e.adcode):this.message("暂无下级地市!")}),this.echartBindClick=!0)}}},L=(i("72ff"),Object(w.a)(M,(function(){var t=this._self._c;return t("div",{staticClass:"centermap"},[t("div",{staticClass:"mapwrap"},[t("dv-border-box-13",[t("img",{staticClass:"Screen",attrs:{src:i("14e4"),width:"700px",height:"392px",alt:""}})])],1)])}),[],!1,null,"59629574",null).exports),B={data:()=>({options:{tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"},formatter:function(t){var e=t[0].name+"
";return t.forEach((function(t){t.value?e+=t.marker+" 产量 : "+t.value+"PCS":e+=t.marker+" "+t.seriesName+" : - "})),e}},legend:{data:["单位:PCS"],textStyle:{color:"#B4B4B4"},top:"-5"},grid:{left:"50px",right:"40px",bottom:"30px",top:"20px"},xAxis:{data:["8/12","8/13","8/14","8/15","8/16","8/17","8/18"],axisLine:{lineStyle:{color:"#B4B4B4"}},axisTick:{show:!1}},yAxis:[{splitLine:{show:!0},axisLine:{lineStyle:{color:"#B4B4B4"}},axisLabel:{formatter:"{value}"}}],series:[{name:"单位:PCS",type:"bar",barWidth:20,itemStyle:{normal:{borderRadius:5,color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"#956FD4"},{offset:1,color:"#3EACE5"}])}},data:["200","180","190","185","190","188","195"]}]}}),props:{},mounted(){this.getData(),this.changeTiming()},beforeDestroy(){this.clearData()},methods:{clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},changeTiming(){this.timer=setInterval(()=>{this.getData()},3e3)},async getData(){var t,e=await g.post("/api/Large/Productions",t);console.log(e);var i=e.map(t=>t.today),a=e.map(t=>t.pcsCounts);console.log(i),this.options={tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"},formatter:function(t){var e=t[0].name+"
";return t.forEach((function(t){t.value?e+=t.marker+" 产量 : "+t.value+"PCS":e+=t.marker+" "+t.seriesName+" : - "})),e}},legend:{data:["单位:PCS"],textStyle:{color:"#B4B4B4"},top:"-5"},grid:{left:"60px",right:"40px",bottom:"30px",top:"20px"},xAxis:{data:i.reverse(),axisLine:{lineStyle:{color:"#B4B4B4"}},axisTick:{show:!1}},yAxis:[{splitLine:{show:!0},axisLine:{lineStyle:{color:"#B4B4B4"}},axisLabel:{formatter:"{value}"}}],series:[{name:"单位:PCS",type:"bar",barWidth:20,itemStyle:{borderRadius:5,color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"#956FD4"},{offset:1,color:"#3EACE5"}])},data:a.reverse()}]},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},E=(i("e6a7"),Object(w.a)(B,(function(){var t=this._self._c;return t("div",{staticClass:"center_bottom"},[t("Echart",{staticClass:"echarts_bottom",attrs:{options:this.options,id:"bottomLeftChart"}})],1)}),[],!1,null,"602be924",null).exports),O={data:()=>({option:{},pageflag:!1,timer:null}),created(){},mounted(){this.getData()},beforeDestroy(){this.clearData()},methods:{clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},getData(){this.pageflag=!0,m("big4").then(t=>{this.timer||console.log("报警次数",t),t.success?(this.countUserNumData=t.data,this.$nextTick(()=>{this.init(t.data.dateList,t.data.numList,t.data.numList2),this.switper()})):(this.pageflag=!1,this.$Message({text:t.msg,type:"warning"}))})},switper(){if(this.timer)return;let t=t=>{this.getData()};this.timer=setInterval(t,this.$store.state.setting.echartsAutoTime);let e=this.$refs.charts.chart;e.on("mouseover",t=>{this.clearData()}),e.on("mouseout",e=>{this.timer=setInterval(t,this.$store.state.setting.echartsAutoTime)})},init(t,e,i){this.option={xAxis:{type:"category",data:t,boundaryGap:!1,splitLine:{show:!0,lineStyle:{color:"rgba(31,99,163,.2)"}},axisLine:{lineStyle:{color:"rgba(31,99,163,.1)"}},axisLabel:{color:"#7EB7FD",fontWeight:"500"}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{color:"rgba(31,99,163,.2)"}},axisLine:{lineStyle:{color:"rgba(31,99,163,.1)"}},axisLabel:{color:"#7EB7FD",fontWeight:"500"}},tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"}},grid:{show:!0,left:"10px",right:"30px",bottom:"10px",top:"28px",containLabel:!0,borderColor:"#1F63A3"},series:[{data:e,type:"line",smooth:!0,symbol:"none",name:"报警1次数",color:"rgba(252,144,16,.7)",areaStyle:{color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(252,144,16,.7)"},{offset:1,color:"rgba(252,144,16,.0)"}],!1)},markPoint:{data:[{name:"最大值",type:"max",valueDim:"y",symbol:"rect",symbolSize:[60,26],symbolOffset:[0,-20],itemStyle:{color:"rgba(0,0,0,0)"},label:{color:"#FC9010",backgroundColor:"rgba(252,144,16,0.1)",borderRadius:6,padding:[7,14],borderWidth:.5,borderColor:"rgba(252,144,16,.5)",formatter:"报警1:{c}"}},{name:"最大值",type:"max",valueDim:"y",symbol:"circle",symbolSize:6,itemStyle:{color:"#FC9010",shadowColor:"#FC9010",shadowBlur:8},label:{formatter:""}}]}},{data:i,type:"line",smooth:!0,symbol:"none",name:"报警2次数",color:"rgba(9,202,243,.7)",areaStyle:{color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(9,202,243,.7)"},{offset:1,color:"rgba(9,202,243,.0)"}],!1)},markPoint:{data:[{name:"最大值",type:"max",valueDim:"y",symbol:"rect",symbolSize:[60,26],symbolOffset:[0,-20],itemStyle:{color:"rgba(0,0,0,0)"},label:{color:"#09CAF3",backgroundColor:"rgba(9,202,243,0.1)",borderRadius:6,borderColor:"rgba(9,202,243,.5)",padding:[7,14],formatter:"报警2:{c}",borderWidth:.5}},{name:"最大值",type:"max",valueDim:"y",symbol:"circle",symbolSize:6,itemStyle:{color:"#09CAF3",shadowColor:"#09CAF3",shadowBlur:8},label:{formatter:""}}]}}]}}}},k=(i("37ff"),Object(w.a)(O,(function(){var t=this._self._c;return this.pageflag?t("Echart",{ref:"charts",staticClass:"right_top_inner",attrs:{id:"rightTop",options:this.option}}):t("Reacquire",{staticStyle:{"line-height":"200px"},on:{onclick:this.getData}},[this._v(" 重新获取 ")])}),[],!1,null,"53deca39",null).exports);var R={data:()=>({pageflag:!0,myChart:{},options:{}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){this.init()},beforeDestroy(){this.clearData()},methods:{init(){var t=[{text:"本月扶持金额(万元)",value:"588,10",color:"#5dd054"},{text:"本年扶持金额(万元)",value:"14,131",color:"#097ff9"},{text:"扶持总金额(万元)",value:"12,131",color:"#ff6804"}];function e(t={value:"12345,12",color:"#5dd054"}){return[{value:0,name:t.value,itemStyle:{normal:{color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"#00feff"},{offset:1,color:t.color}])}},label:{normal:{textStyle:{fontSize:30,fontWeight:500,color:"#fff"}}}}]}function i(t="按钮"){return[{type:"rect",left:"center",top:"center",shape:{width:150,height:40,r:20},style:{fill:"#4709f9",shadowColor:"#f909a1",shadowOffsetX:3,shadowOffsetY:3,lineWidth:2,shadowBlur:10}},{type:"text",left:"center",top:"center",style:{fill:"#fff",text:t,font:"14px Microsoft YaHei"}}]}this.options={backgroundColor:"#04184A",legend:{show:!1},tooltip:{show:!1},series:[{type:"pie",radius:[65,73],center:["18%","40%"],hoverAnimation:!1,label:{normal:{position:"center"}},data:e(t[0])},{type:"pie",radius:[65,73],center:["50%","40%"],hoverAnimation:!1,label:{normal:{position:"center"}},data:e(t[1])},{type:"pie",radius:[65,73],center:["82%","40%"],hoverAnimation:!1,label:{normal:{position:"center"}},data:e(t[2])}],graphic:{elements:[{type:"group",left:"11%",bottom:"40%",z:100,children:i(t[0].text)},{type:"group",left:"43%",bottom:"40%",z:100,children:i(t[1].text)},{type:"group",left:"75%",bottom:"40%",z:100,children:i(t[2].text)}]}}},clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},async getData(){this.pageflag=!0;var t,e=await g.post("/api/Large/ProductionStock",t),i=[{text:"成品库存(PCS)",value:e.cpCount,color:"#5dd054"},{text:"研发库存(PCS)",value:e.yfCount,color:"#097ff9"},{text:"尾数库存(PCS)",value:e.wsCount,color:"#ff6804"}];function a(t={value:"12345,12",color:"#5dd054"}){return[{value:0,name:t.value,itemStyle:{normal:{color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"#00feff"},{offset:1,color:t.color}])}},label:{normal:{textStyle:{fontSize:30,fontWeight:500,color:"#fff"}}}}]}function o(t="按钮"){return[{type:"rect",left:"center",top:"center",shape:{width:150,height:40,r:50},style:{fill:"#67C23A"}},{type:"text",left:"center",top:"center",style:{fill:"#fff",text:t,font:"14px Microsoft YaHei"}}]}this.options={legend:{show:!1},tooltip:{show:!1},series:[{type:"pie",radius:[65,73],center:["18%","40%"],hoverAnimation:!1,label:{normal:{position:"center"}},data:a(i[0])},{type:"pie",radius:[65,73],center:["50%","40%"],hoverAnimation:!1,label:{normal:{position:"center"}},data:a(i[1])},{type:"pie",radius:[65,73],center:["82%","40%"],hoverAnimation:!1,label:{normal:{position:"center"}},data:a(i[2])}],graphic:{elements:[{type:"group",left:"6.5%",bottom:"10%",z:100,children:o(i[0].text)},{type:"group",left:"38.5%",bottom:"10%",z:100,children:o(i[1].text)},{type:"group",left:"70.5%",bottom:"10%",z:100,children:o(i[2].text)}]}},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},j=(i("eb21"),Object(w.a)(R,(function(){var t=this._self._c;return t("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"name"}},[t("Echart",{staticStyle:{width:"100%",height:"100%"},attrs:{options:this.options}})],1)}),[],!1,null,"1cac826e",null).exports),T=i("a939"),I=i.n(T),W={components:{},data:()=>({}),props:{data:{type:Array,default:()=>[]}},computed:{},methods:{init(){}},created(){},mounted(){},beforeDestroy(){}},N=(i("1a5c"),Object(w.a)(W,(function(){return(0,this._self._c)("div",{staticClass:"kong"},[this._t("default")],2)}),[],!1,null,"d55b0914",null).exports),z={components:{vueSeamlessScroll:I.a,Kong:N},data(){return{list:[],pageflag:!0,defaultOption:{...this.$store.state.setting.defaultOption,limitMoveNum:3,singleHeight:250,step:0}}},computed:{sbtxSwiperFlag(){let t=this.$store.state.setting.ssyjSwiper;return this.components=t?I.a:N,t}},created(){this.getData()},mounted(){},methods:{getData(){this.pageflag=!0,m("big5",{limitNum:50}).then(t=>{if(console.log("实时预警",t),t.success){this.list=t.data.list;let e=setTimeout(()=>{clearTimeout(e),this.defaultOption.step=this.$store.state.setting.defaultOption.step},this.$store.state.setting.defaultOption.waitTime)}else this.pageflag=!1,this.$Message.warning(t.msg)})}}},F=(i("9397"),Object(w.a)(z,(function(){var t=this,e=t._self._c;return t.pageflag?e("div",{staticClass:"right_center_wrap beautify-scroll-def",class:{"overflow-y-auto":!t.sbtxSwiperFlag}},[e(t.components,{tag:"component",attrs:{data:t.list,"class-option":t.defaultOption}},[e("ul",{staticClass:"right_center"},t._l(t.list,(function(i,a){return e("li",{key:a,staticClass:"right_center_item"},[e("span",{staticClass:"orderNum"},[t._v(t._s(a+1))]),e("div",{staticClass:"inner_right"},[e("div",{staticClass:"dibu"}),e("div",{staticClass:"flex"},[e("div",{staticClass:"info"},[e("span",{staticClass:"labels"},[t._v("设备ID:")]),e("span",{staticClass:"contents zhuyao"},[t._v(" "+t._s(i.gatewayno))])]),e("div",{staticClass:"info"},[e("span",{staticClass:"labels"},[t._v("型号:")]),e("span",{staticClass:"contents"},[t._v(" "+t._s(i.terminalno))])]),e("div",{staticClass:"info"},[e("span",{staticClass:"labels"},[t._v("告警值:")]),e("span",{staticClass:"contents warning"},[t._v(" "+t._s(t._f("montionFilter")(i.alertvalue)))])])]),e("div",{staticClass:"flex"},[e("div",{staticClass:"info"},[e("span",{staticClass:"labels"},[t._v(" 地址:")]),e("span",{staticClass:"contents ciyao",staticStyle:{"font-size":"12px"}},[t._v(" "+t._s(i.provinceName)+"/"+t._s(i.cityName)+"/"+t._s(i.countyName))])]),e("div",{staticClass:"info time"},[e("span",{staticClass:"labels"},[t._v("时间:")]),e("span",{staticClass:"contents",staticStyle:{"font-size":"12px"}},[t._v(" "+t._s(i.createtime))])])]),e("div",{staticClass:"flex"},[e("div",{staticClass:"info"},[e("span",{staticClass:"labels"},[t._v("报警内容:")]),e("span",{staticClass:"contents ciyao",class:{warning:i.alertdetail}},[t._v(" "+t._s(i.alertdetail||"无"))])])])])])})),0)])],1):e("Reacquire",{staticStyle:{"line-height":"200px"},on:{onclick:t.getData}})}),[],!1,null,"20acf7c8",null).exports),Y={data:()=>({options:{},countUserNumData:{HoistNum:0,decoderNum:0,uncoderNum:0,elevatorNum:0,TransmissionlineNum:0,totalNum:0},pageflag:!0,timer:null}),created(){this.getData()},mounted(){this.changeTiming()},beforeDestroy(){},methods:{changeTiming(){setInterval(()=>{this.getData()},5e3)},async getData(){this.pageflag=!0;let t=await(void 0)(t=>{console.log(t)});this.countUserNumData=t,this.$nextTick(()=>{this.init()})},switper(){if(this.timer)return;let t=t=>{this.getData()};this.timer=setInterval(t,this.$store.state.setting.echartsAutoTime);let e=this.$refs.charts.chart;e.on("mouseover",t=>{this.clearData()}),e.on("mouseout",e=>{this.timer=setInterval(t,this.$store.state.setting.echartsAutoTime)})},init(){let t=this.countUserNumData.total,e=["#ECA444","#33A1DB","#56B557","#ffb8c6","#FF21FA"],i={name:"故障设备频率",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:4,borderColor:"rgba(0,0,0,0)",borderWidth:2},color:e,data:[{value:this.countUserNumData.elevator,name:"提升机故障",label:{shadowColor:e[0]}},{value:this.countUserNumData.discremover,name:"拆码机故障",label:{shadowColor:e[2]}},{value:this.countUserNumData.rgVcCar,name:"四向车故障",label:{shadowColor:e[1]}},{value:this.countUserNumData.pipeline,name:"输送线故障",label:{shadowColor:e[4]}}]};this.options={title:{text:["{value|"+t+"}","{name|总数}"].join("\n"),top:"center",left:"center",textStyle:{rich:{value:{color:"#ffffff",fontSize:24,fontWeight:"bold",lineHeight:20},name:{color:"#ffffff",lineHeight:20}}}},tooltip:{trigger:"item",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"}},legend:{show:!1,top:"5%",left:"center"},series:[{...i,tooltip:{show:!0},label:{formatter:" {b|{b}}",rich:{b:{color:"#fff",fontSize:12,lineHeight:26},c:{color:"#31ABE3",fontSize:14},per:{color:"#31ABE3",fontSize:14}}},labelLine:{length:30,length2:46,show:!0},emphasis:{show:!0}},{...i,tooltip:{show:!0},itemStyle:{},label:{backgroundColor:"inherit",height:0,width:0,lineHeight:0,borderRadius:2.5,shadowBlur:8,shadowColor:"auto",padding:[2.5,-2.5,2.5,-2.5]},labelLine:{length:30,length2:46,show:!1}}]}}}},H=Object(w.a)(Y,(function(){var t=this._self._c;return this.pageflag?t("Echart",{ref:"charts",staticClass:"left_center_inner",attrs:{id:"leftcenterright",options:this.options}}):t("Reacquire",{staticStyle:{"line-height":"200px"},on:{onclick:this.getData}},[this._v(" 重新获取 ")])}),[],!1,null,"995655b2",null).exports;let U={fontSize:24};var Q={data:()=>({options:{},userOverview:{alarmNum:2,offlineNum:3,onlineNum:5,totalNum:10},stationstate:[],pageflag:!0,timer:null,backConfig:{number:[9999],content:"{nt}",style:{...U,fill:"#E6A23C"}},surplusConfig:{number:[100],content:"{nt}",style:{...U,fill:"#f56c6c"}},inboundConfig:{number:[100],content:"{nt}",style:{...U,fill:"#00fdfa"}},outboundConfig:{number:[0],content:"{nt}",style:{...U,fill:"#07f7a8"}}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){},beforeDestroy(){this.clearData()},methods:{clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},async getData(){this.pageflag=!0;var t=await f();this.inboundConfig={...this.inboundConfig,number:[t.inboundCount]},this.outboundConfig={...this.outboundConfig,number:[t.outboundCount]},this.backConfig={...this.backConfig,number:[t.backboundCount]},this.surplusConfig={...this.surplusConfig,number:[t.surplusCount]},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},P=(i("aaba"),Object(w.a)(Q,(function(){var t=this,e=t._self._c;return t.pageflag?e("ul",{staticClass:"user_Overview flex"},[e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#00fdfa"}},[e("div",{staticClass:"user_Overview_nums allnum"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.inboundConfig}})],1),e("p",[t._v("成品入库")]),e("br")]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#07f7a8"}},[e("div",{staticClass:"user_Overview_nums online"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.outboundConfig}})],1),e("p",[t._v("成品出库")]),e("br")]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#E6A23C"}},[e("div",{staticClass:"user_Overview_nums offline"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.backConfig}})],1),e("p",[t._v("成品回框")]),e("br")]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#f56c6c"}},[e("div",{staticClass:"user_Overview_nums laramnum"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.surplusConfig}})],1),e("p",[t._v("成品退库")]),e("br")])]):e("Reacquire",{attrs:{"line-height":"200px"},on:{onclick:t.getData}},[t._v(" 重新获取 ")])}),[],!1,null,"fcc623ca",null).exports);var G={data:()=>({pageflag:!0,myChart:{},options:{}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){this.init()},beforeDestroy(){this.clearData()},methods:{init(){let t=[{value:410,name:"企业"},{value:380,name:"政府"},{value:501,name:"个人"}],e=["#173852","#0b2036","#002e49"],i=["#3087d6","#afe1ff","#4be1ff"],a=[],o=[];for(var s=0;s占比:{d}%"},legend:{data:["企业","政府","个人"],icon:"vertical",right:"1%",top:"center",orient:"vertical",itemGap:20,itemWidth:15,itemHeight:8,formatter:function(e){let i;for(let a=0;a占比:{d}%"},legend:{data:["库存产品"],icon:"vertical",right:"1%",top:"center",orient:"vertical",itemGap:20,itemWidth:15,itemHeight:8,formatter:function(e){let i;for(let a=0;a{this.getData()},this.$store.state.setting.echartsAutoTime)}}},Z=(i("9a70"),Object(w.a)(G,(function(){var t=this._self._c;return t("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"name"}},[t("Echart",{staticStyle:{width:"100%",height:"100%"},attrs:{options:this.options}})],1)}),[],!1,null,"1b07c651",null).exports);var V={data:()=>({pageflag:!0,myChart:{},options:{}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){this.init()},beforeDestroy(){this.clearData()},methods:{init(){for(var t=[{name:"锁定",value:10},{name:"空闲",value:10},{name:"有货",value:30}],e=[],i=["#ffa800","#67C23A","#ff5b00"],a=0;a{this.getData()},this.$store.state.setting.echartsAutoTime)}}},X=(i("9e88"),Object(w.a)(V,(function(){var t=this._self._c;return t("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"name"}},[t("Echart",{staticStyle:{width:"100%",height:"100%"},attrs:{options:this.options}})],1)}),[],!1,null,"e3810b60",null).exports);let J={fontSize:24};var K={data:()=>({options:{},stationstate:[],userOverview:{alarmNum:2,offlineNum:3,onlineNum:5,totalNum:10},pageflag:!0,timer:null,config:{number:[100],content:"{nt}",style:{...J,fill:"#00fdfa"}},onlineconfig:{number:[0],content:"{nt}",style:{...J,fill:"#07f7a8"}},offlineconfig:{number:[0],content:"{nt}",style:{...J,fill:"#e3b337"}}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){},beforeDestroy(){this.clearData()},methods:{clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},async getData(){this.pageflag=!0;let t=await f(t=>{});this.stationstate=t,this.onlineconfig={...this.onlineconfig,number:[t[9].station_qty]},this.config={...this.config,number:[t[10].station_qty]},this.offlineconfig={...this.offlineconfig,number:[t[11].station_qty]},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},q=(i("f3c2"),Object(w.a)(K,(function(){var t=this,e=t._self._c;return t.pageflag?e("ul",{staticClass:"user_Overview flex"},[e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#00fdfa"}},[e("div",{staticClass:"user_Overview_nums allnum"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.onlineconfig}})],1),e("p",[t._v("10号检修台")]),e("br"),e("p",[t._v(t._s(t.stationstate[9].station_state))])]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#07f7a8"}},[e("div",{staticClass:"user_Overview_nums online"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.config}})],1),e("p",[t._v("11号检修台")]),e("br"),e("p",[t._v(t._s(t.stationstate[10].station_state))])]),e("li",{staticClass:"user_Overview-item",staticStyle:{color:"#e3b337"}},[e("div",{staticClass:"user_Overview_nums offline"},[e("dv-digital-flop",{staticStyle:{width:"100%",height:"100%"},attrs:{config:t.offlineconfig}})],1),e("p",[t._v("12号检修台")]),e("br"),e("p",[t._v(t._s(t.stationstate[11].station_state))])])]):e("Reacquire",{attrs:{"line-height":"200px"},on:{onclick:t.getData}},[t._v(" 重新获取 ")])}),[],!1,null,"2866ad03",null).exports);var _={data:()=>({pageflag:!0,myChart:{},options:{}}),filters:{numsFilter:t=>t||0},created(){this.getData()},mounted(){this.init()},beforeDestroy(){this.clearData()},methods:{init(){var t={cityList:["38号点(1)","38号点(2)","15号点","16号点","24号点"],cityData:[7500,6200,5700,4200,3500]},e=t.cityList,i=t.cityData,a=["rgba(248,195,248","rgba(100,255,249","rgba(135,183,255","rgba(248,195,248","rgba(100,255,249"];let o=[];for(var s=0;sa.length-1&&(r=a.length-1);var l={name:t.cityList[s],color:a[r]+")",value:i[s],itemStyle:{normal:{show:!0,color:new C.b.LinearGradient(0,0,1,0,[{offset:0,color:a[r]+", 0.3)"},{offset:1,color:a[r]+", 1)"}],!1),barBorderRadius:10},emphasis:{shadowBlur:15,shadowColor:"rgba(0, 0, 0, 0.1)"}}};o.push(l)}console.log(o),this.options={backgroundColor:"#000",title:{show:!1},tooltip:{trigger:"item"},grid:{borderWidth:0,top:"10%",left:"5%",right:"15%",bottom:"3%"},color:a,yAxis:[{type:"category",inverse:!0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1,inside:!1},data:e},{type:"category",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,inside:!1,textStyle:{color:"#b3ccf8",fontSize:"14",fontFamily:"PingFangSC-Regular"},formatter:function(t){return t+"k"}},splitArea:{show:!1},splitLine:{show:!1},data:i}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}},series:[{name:"",type:"bar",zlevel:2,barWidth:"10px",data:o,animationDuration:1500,label:{normal:{color:"#b3ccf8",show:!0,position:[0,"-24px"],textStyle:{fontSize:16},formatter:function(t,e){return t.name}}}}],animationEasing:"cubicOut"}},clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},async getData(){this.pageflag=!0;var t=await function(t){return g.post("/api/Large/ProductionRanking",t)}(),e={cityList:t.map((t,e)=>"#"+(e+1)+" 产品"+t.pCode),cityData:t.map((t,e)=>t.qtys)},i=e.cityList,a=e.cityData,o=["rgba(248,195,248","rgba(100,255,249","rgba(135,183,255","rgba(248,195,248","rgba(100,255,249"];let s=[];for(var r=0;ro.length-1&&(l=o.length-1);var n={name:e.cityList[r],color:o[l]+")",value:a[r],itemStyle:{normal:{show:!0,color:new C.b.LinearGradient(0,0,1,0,[{offset:0,color:o[l]+", 0.3)"},{offset:1,color:o[l]+", 1)"}],!1),barBorderRadius:10},emphasis:{shadowBlur:15,shadowColor:"rgba(0, 0, 0, 0.1)"}}};s.push(n)}console.log(s),this.options={backgroundColor:"#000",title:{show:!1},tooltip:{trigger:"item"},grid:{borderWidth:0,top:"10%",left:"5%",right:"15%",bottom:"3%"},color:o,yAxis:[{type:"category",inverse:!0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1,inside:!1},data:i},{type:"category",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!0,inside:!1,textStyle:{color:"#b3ccf8",fontSize:"14",fontFamily:"PingFangSC-Regular"},formatter:function(t){return t+"PCS"}},splitArea:{show:!1},splitLine:{show:!1},data:a.reverse()}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}},series:[{name:"",type:"bar",zlevel:2,barWidth:"10px",data:s,animationDuration:1500,label:{normal:{color:"#b3ccf8",show:!0,position:[0,"-24px"],textStyle:{fontSize:16},formatter:function(t,e){return t.name}}}}],animationEasing:"cubicOut"},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},$=(i("bd18"),Object(w.a)(_,(function(){var t=this._self._c;return t("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"name"}},[t("Echart",{staticStyle:{width:"100%",height:"100%"},attrs:{options:this.options}})],1)}),[],!1,null,"8ce0302c",null).exports),tt={data:()=>({options:{tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"},formatter:function(t){var e=t[0].name+"
";return t.forEach((function(t){t.value?e+=t.marker+" 产量 : "+t.value+"PCS":e+=t.marker+" "+t.seriesName+" : - "})),e}},legend:{data:["单位:PCS"],textStyle:{color:"#B4B4B4"},top:"-5"},grid:{left:"60px",right:"0px",bottom:"30px",top:"20px"},xAxis:{data:["8/12","8/13","8/14","8/15","8/16","8/17","8/18"],axisLine:{lineStyle:{color:"#B4B4B4"}},axisTick:{show:!1}},yAxis:[{splitLine:{show:!0},axisLine:{lineStyle:{color:"#B4B4B4"}},axisLabel:{formatter:"{value}"}}],series:[{name:"单位:PCS",type:"bar",barWidth:20,itemStyle:{normal:{borderRadius:5,color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"#956FD4"},{offset:1,color:"#3EACE5"}])}},data:["200","180","190","185","190","188","195"]}]}}),props:{},mounted(){this.getData(),this.changeTiming()},beforeDestroy(){this.clearData()},methods:{clearData(){this.timer&&(clearInterval(this.timer),this.timer=null)},changeTiming(){this.timer=setInterval(()=>{this.getData()},3e3)},async getData(){var t,e=await g.post("/api/Large/ProductionsOut",t);console.log(e);var i=e.map(t=>t.today),a=e.map(t=>t.pcsCounts);console.log(i),this.options={tooltip:{trigger:"axis",backgroundColor:"rgba(0,0,0,.6)",borderColor:"rgba(147, 235, 248, .8)",textStyle:{color:"#FFF"},formatter:function(t){var e=t[0].name+"
";return t.forEach((function(t){t.value?e+=t.marker+" 产量 : "+t.value+"PCS":e+=t.marker+" "+t.seriesName+" : - "})),e}},legend:{data:["单位:PCS"],textStyle:{color:"#B4B4B4"},top:"-5"},grid:{left:"60px",right:"40px",bottom:"30px",top:"20px"},xAxis:{data:i.reverse(),axisLine:{lineStyle:{color:"#B4B4B4"}},axisTick:{show:!1}},yAxis:[{splitLine:{show:!0},axisLine:{lineStyle:{color:"#B4B4B4"}},axisLabel:{formatter:"{value}"}}],series:[{name:"单位:PCS",type:"bar",barWidth:20,itemStyle:{borderRadius:5,color:new C.b.LinearGradient(0,0,0,1,[{offset:0,color:"#956FD4"},{offset:1,color:"#3EACE5"}])},data:a.reverse()}]},this.switper()},switper(){if(this.timer)return;this.timer=setInterval(t=>{this.getData()},this.$store.state.setting.echartsAutoTime)}}},et=(i("8530"),{components:{LeftTop:y,LeftCenter:x,LeftCenterRight:H,LeftBottom:S,CenterMap:L,RightTop:k,RightCenter:j,RightBottom:F,CenterBottom:E,stationone:P,stationtwo:Z,stationthree:X,stationfour:q,passtwo:$,plan:Object(w.a)(tt,(function(){var t=this._self._c;return t("div",{staticClass:"center_bottom"},[t("Echart",{staticClass:"echarts_bottom",attrs:{options:this.options,id:"bottomLeftChart"}})],1)}),[],!1,null,"4a3d7f4a",null).exports},data:()=>({}),filters:{numsFilter:t=>t||0},created(){},mounted(){},methods:{}}),it=(i("99ca"),Object(w.a)(et,(function(){var t=this._self._c;return t("div",{staticClass:"contents"},[t("div",{staticClass:"contetn_left"},[t("div",{staticClass:"pagetab"}),t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",attrs:{title:"成品执行任务统计"}},[t("stationone")],1),t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",attrs:{title:"成品库存属性分布"}},[t("stationtwo")],1),t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",attrs:{title:"成品货位状态信息"}},[t("stationthree")],1)],1),t("div",{staticClass:"contetn_center"},[t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",staticStyle:{height:"66vh"},attrs:{title:"成品任务统计"}},[t("LeftBottom")],1),t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",staticStyle:{padding:"0 10px 16px 10px"},attrs:{title:"成品库存展示信息"}},[t("RightCenter")],1)],1),t("div",{staticClass:"contetn_right"},[t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",staticStyle:{padding:"0 10px 16px 10px"},attrs:{title:"成品产品信息排行"}},[t("passtwo")],1),t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",staticStyle:{padding:"0 10px 16px 10px"},attrs:{title:"成品入库产量统计"}},[t("CenterBottom")],1),t("ItemWrap",{staticClass:"contetn_left-bottom contetn_lr-item",attrs:{title:"成品出库产量统计"}},[t("plan")],1)],1)])}),[],!1,null,"3af10e08",null));e.default=it.exports},e6a7:function(t,e,i){"use strict";i("d0cb")},eb21:function(t,e,i){"use strict";i("28a5")},f3c2:function(t,e,i){"use strict";i("5ad5")},fd3a:function(t,e,i){}}]);