(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-184c27ba"],{"15be":function(t,e,i){},9406:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:"dashboard-container"},[i("div",{class:"scoped-count"},[i("dv-border-box-10",[i("div",{staticClass:"sc-user"},[i("dv-decoration-12",{staticStyle:{width:"150px",height:"150px",display:"block",margin:"0 auto"}}),i("dv-decoration-3",{staticStyle:{width:"300px",height:"30px",display:"inline-block",overflow:"hidden"}}),i("div",{staticClass:"t"},[t._v(t._s(t.timeTips)+t._s(t.sysUser.nickname))]),i("div",{staticClass:"t"},[t._v(t._s(t.curTime))])],1)])],1)])},a=[],n=i("5530"),c=(i("99af"),i("ed08"),i("2f62")),o={name:"Dashboard",components:{},data:function(){return{timeTips:"",numObj:{},isFull:!1,timer:null,curTime:"",curData:{},isAdmin:2}},created:function(){var t=this,e=window.sessionStorage.getItem("fp_user")?JSON.parse(window.sessionStorage.getItem("fp_user")):{},i=2;"admin"===e.username&&(i=1),this.isAdmin=i,this.getData(i),"daping"===e.username&&window.setInterval((function(){t.getData(i)}),36e5)},computed:Object(n["a"])({},Object(c["b"])(["sysUser"])),methods:{getTime:function(){var t=new Date,e=t.getFullYear(),i=t.getMonth()+1;i=i>9?i:"0"+i;var s=t.getDate();s=s>9?s:"0"+s;var a=t.getHours();a=a>9?a:"0"+a;var n=t.getMinutes();n=n>9?n:"0"+n;var c=t.getSeconds();return c=c>9?c:"0"+c,"".concat(e,"-").concat(i,"-").concat(s," ").concat(a,":").concat(n,":").concat(c)},getData:function(t){var e=this;this.timer=null,this.timer=window.setInterval((function(){e.curTime=e.getTime()}),1e3);var i=new Date,s=i.getHours();s<6?this.timeTips="凌晨好！":s<9?this.timeTips="早上好！":s<12?this.timeTips="上午好！":s<14?this.timeTips="中午好！":s<17?this.timeTips="下午好！":s<19?this.timeTips="傍晚好！":s<22&&(this.timeTips="晚上好！")}}},r=o,d=(i("a173"),i("2877")),u=Object(d["a"])(r,s,a,!1,null,"56ffdd94",null);e["default"]=u.exports},a173:function(t,e,i){"use strict";i("15be")}}]);