require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/punchclock/punchstatis/monthStatis"],{1741:function(t,n,a){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a("dc92"),c={data:function(){return{arr1:["1","2","3","4","5","6"],arr2:["7","8","9","10","11","12"],current:0,month:1,year:"2022",info:{},chartData:{series:[{data:[{name:"正常",value:50},{name:"异常",value:150}]}]},opts:{title:{name:"打卡",fontSize:10,color:"#666666"},subtitle:{name:"",fontSize:10,color:"#7cb5ec"},extra:{ring:{ringWidth:10}}}}},onLoad:function(t){this.year=t.year;var n=new Date;this.month=n.getMonth()+1,this.month>6?this.current=1:this.current=0,this.getData()},methods:{getData:function(){var t=this,n={month:this.year+"-"+this.month};(0,e.netClockMonthStatis)(n).then((function(n){t.info=n.data;var a={series:[{data:[{name:"正常",value:n.data.normal},{name:"异常",value:n.data.error}]}]};t.chartData=a}))},changeMonth:function(t){this.month=t,this.getData()},toLook:function(n){t.navigateTo({url:"/pagesA/punchclock/punchstatis/dayStatis?month="+this.month+"&type="+n+"&year="+this.year})}}};n.default=c}).call(this,a("543d")["default"])},"25c4":function(t,n,a){},"3d41":function(t,n,a){"use strict";a.r(n);var e=a("6efc"),c=a("f185");for(var r in c)["default"].indexOf(r)<0&&function(t){a.d(n,t,(function(){return c[t]}))}(r);a("ddb6");var i=a("f0c5"),o=Object(i["a"])(c["default"],e["b"],e["c"],!1,null,"40adc0a0",null,!1,e["a"],void 0);n["default"]=o.exports},"6efc":function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return c})),a.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},c=[]},dcc0:function(t,n,a){"use strict";(function(t,n){var e=a("4ea4");a("8886");e(a("66fd"));var c=e(a("3d41"));t.__webpack_require_UNI_MP_PLUGIN__=a,n(c.default)}).call(this,a("bc2e")["default"],a("543d")["createPage"])},ddb6:function(t,n,a){"use strict";var e=a("25c4"),c=a.n(e);c.a},f185:function(t,n,a){"use strict";a.r(n);var e=a("1741"),c=a.n(e);for(var r in e)["default"].indexOf(r)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(r);n["default"]=c.a}},[["dcc0","common/runtime","common/vendor"]]]);