webpackJsonp([234],{NUfk:function(e,t,a){"use strict";function n(){function e(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,a,n){var i=t&&t.prototype instanceof r?t:r,o=Object.create(i.prototype),l=new p(n||[]);return v(o,"_invoke",{value:f(e,a,l)}),o}function a(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}function r(){}function i(){}function o(){}function l(t){["next","throw","return"].forEach(function(a){e(t,a,function(e){return this._invoke(a,e)})})}function d(e,t){function n(r,i,o,l){var d=a(e[r],e,i);if("throw"!==d.type){var f=d.arg,c=f.value;return c&&"object"==typeof c&&g.call(c,"__await")?t.resolve(c.__await).then(function(e){n("next",e,o,l)},function(e){n("throw",e,o,l)}):t.resolve(c).then(function(e){f.value=e,o(f)},function(e){return n("throw",e,o,l)})}l(d.arg)}var r;v(this,"_invoke",{value:function(e,a){function i(){return new t(function(t,r){n(e,a,t,r)})}return r=r?r.then(i,i):i()}})}function f(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return x()}for(n.method=i,n.arg=o;;){var l=n.delegate;if(l){var d=c(l,n);if(d){if(d===D)continue;return d}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var f=a(e,t,n);if("normal"===f.type){if(r=n.done?"completed":"suspendedYield",f.arg===D)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(r="completed",n.method="throw",n.arg=f.arg)}}}function c(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,c(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),D;var i=a(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,D;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,D):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,D)}function s(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function u(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(s,this),this.reset(!0)}function y(e){if(e){var t=e[I];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,n=function t(){for(;++a=0;--n){var r=this.tryEntries[n],i=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var o=g.call(r,"catchLoc"),l=g.call(r,"finallyLoc");if(o&&l){if(this.prev=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&g.call(n,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),u(a),D}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;u(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:y(e),resultName:t,nextLoc:a},"next"===this.method&&(this.arg=void 0),D}},m}var r=a("ouCL");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(a("+TWC")),o=a("H/Zg"),l=[{title:"\u5e8f\u53f7",dataIndex:"perId",align:"center",key:"perId",fixed:"left"},{title:"\u59d3\u540d",dataIndex:"name",align:"left",key:"name",fixed:"left"},{title:"\u624b\u673a\u53f7",dataIndex:"mobilePhone",align:"left",fixed:!1,key:"mobilePhone"},{title:"\u90e8\u95e8",dataIndex:"departName",tip:"\u8bf4\u660e\uff1a\u8be5\u4eba\u5458\u6240\u5728\u7684\u90e8\u95e8\uff0c\u82e5\u672c\u6708\u6709\u8c03\u6574\u8fc7\u90e8\u95e8\uff0c\u5219\u4f1a\u751f\u6210\u4e24\u6761\u8bb0\u5f55",align:"left",fixed:!1,key:"departName",width:300},{title:"\u7edf\u8ba1\u65f6\u6bb5",dataIndex:"attendDateSection",tip:"\u8bf4\u660e\uff1a\u8be5\u6761\u6570\u636e\u7edf\u8ba1\u7684\u65f6\u95f4\u8303\u56f4",align:"left",fixed:!1,key:"attendDateSection"},{title:"\u51fa\u52e4\u5929\u6570",dataIndex:"attendDays",tip:"\u8bf4\u660e\uff1a\u6709\u6392\u73ed\u5e76\u4e14\u6253\u5361\u4e00\u6b21\u7684\u5929\u6570",align:"left",fixed:!1,key:"attendDays"},{title:"\u4f11\u606f\u5929\u6570",dataIndex:"restDays",tip:"\u8bf4\u660e\uff1a\u5b89\u6392\u4f11\u606f\u73ed\u7684\u5929\u6570",align:"left",fixed:!1,key:"restDays"},{title:"\u5de5\u4f5c\u603b\u65f6\u957f",dataIndex:"workHours",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u5de5\u4f5c\u65f6\u957f\uff0c\u6bcf\u8f6e\u4e0a\u4e0b\u73ed\u90fd\u6253\u5361\u624d\u4f1a\u8bb0\u5f55\u65f6\u957f\uff0c\u5426\u5219\u8bb00",align:"left",fixed:!1,key:"workHours"},{title:"\u8fdf\u5230\u6b21\u6570",dataIndex:"lateTimes",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u8fdf\u5230\u5361\u6b21\u6570",align:"left",fixed:!1,key:"lateTimes"},{title:"\u8fdf\u5230\u603b\u5206\u949f",dataIndex:"totalLateTime",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u8fdf\u5230\u603b\u5206\u949f\u6570",align:"left",fixed:!1,key:"totalLateTime"},{title:"\u65e9\u9000\u6b21\u6570",dataIndex:"leaveEarlyTimes",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u65e9\u9000\u6b21\u6570",align:"left",fixed:!1,key:"leaveEarlyTimes"},{title:"\u65e9\u9000\u603b\u5206\u949f",dataIndex:"totalLeaveEarlyTime",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u65e9\u9000\u603b\u5206\u949f\u6570",align:"left",fixed:!1,key:"totalLeaveEarlyTime"},{title:"\u6f0f\u5361\u6b21\u6570",dataIndex:"missCardTimes",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u6f0f\u5361\u6b21\u6570",align:"left",fixed:!1,key:"missCardTimes"},{title:"\u7f3a\u52e4\u5929\u6570",dataIndex:"absenteeismDays",tip:"\u8bf4\u660e\uff1a\u6709\u6392\u73ed\u4f46\u672a\u6253\u5361\u4e00\u6b21\u7684\u5929\u6570",align:"left",fixed:!1,key:"absenteeismDays"},{title:"\u7f3a\u52e4\u65f6\u957f",dataIndex:"absenceTime",tip:"\u8bf4\u660e\uff1a\u7f3a\u52e4\u7684\u73ed\u6b21\u603b\u65f6\u957f",align:"left",fixed:!1,key:"absenceTime"},{title:"\u52a0\u73ed\u65f6\u957f\uff08\u5c0f\u65f6\uff09",dataIndex:"workextra",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u52a0\u73ed\u5ba1\u6279\u901a\u8fc7\u7684\u52a0\u73ed\u65f6\u957f",align:"center",fixed:!1,key:"workextra",children:[{title:"\u5de5\u4f5c\u65e5\u52a0\u73ed",dataIndex:"workDayOverTime",tip:!1,align:"left",fixed:!1,key:"workDayOverTime"},{title:"\u4f11\u606f\u65e5\u52a0\u73ed",dataIndex:"restDayOverTime",tip:!1,align:"left",fixed:!1,key:"restDayOverTime"},{title:"\u8282\u5047\u65e5\u52a0\u73ed",dataIndex:"holidayOverTime",tip:!1,align:"left",fixed:!1,key:"holidayOverTime"}]},{title:"\u8bf7\u5047\u65f6\u957f\uff08\u5c0f\u65f6\uff09",dataIndex:"askforleave",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u5185\u52e4\u8bf7\u5047\u5ba1\u6279\u901a\u8fc7\u7684\u5185\u52e4\u8bf7\u5047\u65f6\u957f",align:"center",fixed:!1,key:"askforleave",children:[{title:"\u4e8b\u5047",dataIndex:"absenceLeaveTime",tip:!1,align:"left",fixed:!1,key:"absenceLeaveTime"},{title:"\u75c5\u5047",dataIndex:"sickLeaveTime",tip:!1,align:"left",fixed:!1,key:"sickLeaveTime"},{title:"\u5e74\u5047",dataIndex:"yearLeaveTime",tip:!1,align:"left",fixed:!1,key:"yearLeaveTime"},{title:"\u5a5a\u5047",dataIndex:"marriageLeaveTime",tip:!1,align:"left",fixed:!1,key:"marriageLeaveTime"},{title:"\u8c03\u4f11",dataIndex:"breakOffTime",tip:!1,align:"left",fixed:!1,key:"breakOffTime"},{title:"\u4ea7\u5047",dataIndex:"maternityLeaveTime",tip:!1,align:"left",fixed:!1,key:"maternityLeaveTime"},{title:"\u516c\u5047",dataIndex:"publicLeaveTime",tip:!1,align:"left",fixed:!1,key:"publicLeaveTime"},{title:"\u4e3b\u7ba1\u5047",dataIndex:"chargeLeaveTime",tip:!1,align:"left",fixed:!1,key:"chargeLeaveTime"}]}],d=[{title:"\u5e8f\u53f7",dataIndex:"perId",align:"center",key:"perId",fixed:"left"},{title:"\u59d3\u540d",dataIndex:"name",align:"left",key:"name",fixed:"left"},{title:"\u624b\u673a\u53f7",dataIndex:"mobilePhone",align:"left",fixed:!1,key:"mobilePhone"},{title:"\u90e8\u95e8",dataIndex:"departName",tip:"\u8bf4\u660e\uff1a\u8be5\u4eba\u5458\u6240\u5728\u7684\u90e8\u95e8\uff0c\u82e5\u672c\u6708\u6709\u8c03\u6574\u8fc7\u90e8\u95e8\uff0c\u5219\u4f1a\u751f\u6210\u4e24\u6761\u8bb0\u5f55",align:"left",fixed:!1,key:"departName",width:300},{title:"\u65e5\u671f",dataIndex:"attendDate",align:"left",fixed:!1,key:"attendDate"},{title:"\u5185\u52e4\u7ec4",dataIndex:"attendGroupName",align:"left",fixed:!1,key:"attendGroupName"},{title:"\u7b2c1\u8f6e\u4e0a\u73ed",dataIndex:"firstRoundOnWork",align:"left",fixed:!1,key:"firstRoundOnWork"},{title:"\u7b2c1\u8f6e\u4e0b\u73ed",dataIndex:"firstRoundOffWork",align:"left",fixed:!1,key:"firstRoundOffWork"},{title:"\u7b2c2\u8f6e\u4e0a\u73ed",dataIndex:"secondRoundOnWork",align:"left",fixed:!1,key:"secondRoundOnWork"},{title:"\u7b2c2\u8f6e\u4e0b\u73ed",dataIndex:"secondRoundOffWork",align:"left",fixed:!1,key:"secondRoundOffWork"},{title:"\u7b2c3\u8f6e\u4e0a\u73ed",dataIndex:"thirdRoundOnWork",align:"left",fixed:!1,key:"thirdRoundOnWork"},{title:"\u7b2c3\u8f6e\u4e0b\u73ed",dataIndex:"thirdRoundOffWork",align:"left",fixed:!1,key:"thirdRoundOffWork"},{title:"\u7b2c4\u8f6e\u4e0a\u73ed",dataIndex:"fourthRoundOnWork",align:"left",fixed:!1,key:"fourthRoundOnWork"},{title:"\u7b2c4\u8f6e\u4e0b\u73ed",dataIndex:"fourthRoundOffWork",align:"left",fixed:!1,key:"fourthRoundOffWork"},{title:"\u7b2c5\u8f6e\u4e0a\u73ed",dataIndex:"fifthRoundOnWork",align:"left",fixed:!1,key:"fifthRoundOnWork"},{title:"\u7b2c5\u8f6e\u4e0b\u73ed",dataIndex:"fifthRoundOffWork",align:"left",fixed:!1,key:"fifthRoundOffWork"},{title:"\u51fa\u52e4\u5929\u6570",dataIndex:"attendDays",tip:"\u8bf4\u660e\uff1a\u6709\u6392\u73ed\u5e76\u4e14\u6253\u5361\u4e00\u6b21\u7684\u5929\u6570",align:"left",fixed:!1,key:"attendDays"},{title:"\u4f11\u606f\u5929\u6570",dataIndex:"restDays",tip:"\u8bf4\u660e\uff1a\u5b89\u6392\u4f11\u606f\u73ed\u7684\u5929\u6570",align:"left",fixed:!1,key:"restDays"},{title:"\u5de5\u4f5c\u603b\u65f6\u957f",dataIndex:"workHours",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u5de5\u4f5c\u65f6\u957f\uff0c\u6bcf\u8f6e\u4e0a\u4e0b\u73ed\u90fd\u6253\u5361\u624d\u4f1a\u8bb0\u5f55\u65f6\u957f\uff0c\u5426\u5219\u8bb00",align:"left",fixed:!1,key:"workHours"},{title:"\u8fdf\u5230\u6b21\u6570",dataIndex:"lateTimes",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u8fdf\u5230\u6b21\u6570",align:"left",fixed:!1,key:"lateTimes"},{title:"\u8fdf\u5230\u603b\u5206\u949f",dataIndex:"totalLateTime",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u8fdf\u5230\u603b\u5206\u949f\u6570",align:"left",fixed:!1,key:"totalLateTime"},{title:"\u65e9\u9000\u6b21\u6570",dataIndex:"leaveEarlyTimes",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u65e9\u9000\u6b21\u6570",align:"left",fixed:!1,key:"leaveEarlyTimes"},{title:"\u65e9\u9000\u603b\u5206\u949f",dataIndex:"totalLeaveEarlyTime",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u65e9\u9000\u603b\u5206\u949f\u6570",align:"left",fixed:!1,key:"totalLeaveEarlyTime"},{title:"\u6f0f\u5361\u6b21\u6570",dataIndex:"missCardTimes",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u6f0f\u5361\u6b21\u6570",align:"left",fixed:!1,key:"missCardTimes"},{title:"\u7f3a\u52e4\u5929\u6570",dataIndex:"absenteeismDays",tip:"\u8bf4\u660e\uff1a\u6709\u6392\u73ed\u4f46\u672a\u6253\u5361\u4e00\u6b21\u7684\u5929\u6570",align:"left",fixed:!1,key:"absenteeismDays"},{title:"\u7f3a\u52e4\u65f6\u957f",dataIndex:"absenceTime",tip:"\u8bf4\u660e\uff1a\u7f3a\u52e4\u7684\u73ed\u6b21\u603b\u65f6\u957f",align:"left",fixed:!1,key:"absenceTime"},{title:"\u52a0\u73ed\u65f6\u957f",dataIndex:"workextra",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u52a0\u73ed\u5ba1\u6279\u901a\u8fc7\u7684\u52a0\u73ed\u65f6\u957f",align:"center",fixed:!1,key:"workextra",children:[{title:"\u5de5\u4f5c\u65e5\u52a0\u73ed",dataIndex:"workDayOverTime",tip:!1,align:"left",fixed:!1,key:"workDayOverTime"},{title:"\u4f11\u606f\u65e5\u52a0\u73ed",dataIndex:"restDayOverTime",tip:!1,align:"left",fixed:!1,key:"restDayOverTime"},{title:"\u8282\u5047\u65e5\u52a0\u73ed",dataIndex:"HolidayOverTime",tip:!1,align:"left",fixed:!1,key:"HolidayOverTime"}]},{title:"\u8bf7\u5047\u65f6\u957f",dataIndex:"askforleave",tip:"\u8bf4\u660e\uff1a\u5408\u8ba1\u5185\u52e4\u8bf7\u5047\u5ba1\u6279\u901a\u8fc7\u7684\u5185\u52e4\u8bf7\u5047\u65f6\u957f",align:"center",fixed:!1,key:"askforleave",children:[{title:"\u4e8b\u5047",dataIndex:"absenceLeaveTime",tip:!1,align:"left",fixed:!1,key:"absenceLeaveTime"},{title:"\u75c5\u5047",dataIndex:"sickLeaveTime",tip:!1,align:"left",fixed:!1,key:"sickLeaveTime"},{title:"\u5e74\u5047",dataIndex:"yearLeaveTime",tip:!1,align:"left",fixed:!1,key:"yearLeaveTime"},{title:"\u5a5a\u5047",dataIndex:"marriageLeaveTime",tip:!1,align:"left",fixed:!1,key:"marriageLeaveTime"},{title:"\u8c03\u4f11",dataIndex:"breakOffTime",tip:!1,align:"left",fixed:!1,key:"breakOffTime"},{title:"\u4ea7\u5047",dataIndex:"maternityLeaveTime",tip:!1,align:"left",fixed:!1,key:"maternityLeaveTime"},{title:"\u516c\u5047",dataIndex:"publicLeaveTime",tip:!1,align:"left",fixed:!1,key:"publicLeaveTime"},{title:"\u4e3b\u7ba1\u5047",dataIndex:"chargeLeaveTime",tip:!1,align:"left",fixed:!1,key:"chargeLeaveTime"}]},{title:"\u64cd\u4f5c",dataIndex:"operation",fixed:"right",tip:!1,align:"center",key:"operation"}],f={namespace:"monitor",state:{tags:[],monthStatisticsData:{data:[],columns:l,pagination:{pageNumber:1,pageSize:10,total:0}},dayStatisticsData:{data:[],columns:d,pagination:{pageNumber:1,pageSize:10,total:0}},departmentData:[],detailData:{data:[],avatar:"assets/images/avatar.png",personalInfo:{name:"",attendDate:"",departName:"",attendGroupName:""}}},effects:{fetchTags:function(e,t){var a=t.call,r=t.put;return n().mark(function e(){var t;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,a(o.queryTags);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.log("error",e.t0);case 10:return e.next=12,r({type:"saveTags",payload:t.list});case 12:case"end":return e.stop()}},e,null,[[1,7]])})()},getdayStatisticsData:function(e,t){var a=e.payload,r=t.call,i=t.put;return n().mark(function e(){var t;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,r(o.getdayStatisticsData,a);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.log("error",e.t0);case 10:if(t.data){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,i({type:"dayStatisticsData",payload:t.data});case 14:case"end":return e.stop()}},e,null,[[1,7]])})()},getmonthStatisticsData:function(e,t){var a=e.payload,r=t.call,i=t.put;return n().mark(function e(){var t;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,r(o.getmonthStatisticsData,a);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.log("error",e.t0);case 10:if(t.data){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,i({type:"monthStatisticsData",payload:t.data});case 14:case"end":return e.stop()}},e,null,[[1,7]])})()},getDepartMentData:function(e,t){var a=t.call,r=t.put;return n().mark(function e(){var t;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,a(o.getDepartmentData);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.log("error",e.t0);case 10:if(t.data){e.next=12;break}return e.abrupt("return");case 12:return e.next=14,r({type:"saveDepartmentData",payload:t.data});case 14:case"end":return e.stop()}},e,null,[[1,7]])})()},getAttendRecordDetail:function(e,t){var a=e.payload,r=t.call,i=t.put;return n().mark(function e(){var t,l,d,f,c,s,u;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.perId,l=a.attendGroupId,d=a.attendDate,f=a.name,c=a.departName,s=a.attendGroupName,u={},e.prev=2,e.next=5,r(o.getAttendRecordDetail,{perId:t,attendGroupId:l,attendDate:d});case 5:u=e.sent,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),console.log("error",e.t0);case 11:if(u.data){e.next=13;break}return e.abrupt("return");case 13:return e.next=15,i({type:"saveAttendRecordDetail",payload:{data:u.data,other:{perId:t,attendGroupId:l,name:f,departName:c,attendGroupName:s,attendDate:d}}});case 15:case"end":return e.stop()}},e,null,[[2,8]])})()},changeRecordDetail:function(e,t){var a=e.payload,r=t.call,i=t.put;return n().mark(function e(){var t,l,d,f,c;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.prev=1,e.next=4,r(o.changeRecordDetail,a);case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.log("error",e.t0);case 10:if("0"===t.retType){e.next=12;break}return e.abrupt("return");case 12:return l=a.perId,d=a.attendGroupId,f=a.attendDate,e.next=15,r(o.getAttendRecordDetail,{perId:l,attendGroupId:d,attendDate:f});case 15:if(c=e.sent,c.data){e.next=18;break}return e.abrupt("return");case 18:return e.next=20,i({type:"saveAttendRecordDetail",payload:{data:c.data}});case 20:case"end":return e.stop()}},e,null,[[1,7]])})()}},reducers:{saveTags:function(e,t){return(0,i.default)({},e,{tags:t.payload})},dayStatisticsData:function(e,t){var a=t.payload;return(0,i.default)({},e,{dayStatisticsData:(0,i.default)({},e.dayStatisticsData,{data:a.data,pagination:{pageNumber:a.pageNumber,pageSize:a.pageSize,total:a.total}})})},monthStatisticsData:function(e,t){var a=t.payload;return(0,i.default)({},e,{monthStatisticsData:(0,i.default)({},e.monthStatisticsData,{data:a.data,pagination:{pageNumber:a.pageNumber,pageSize:a.pageSize,total:a.total}})})},saveDepartmentData:function(e,t){var a=t.payload;return(0,i.default)({},e,{departmentData:a})},saveAttendRecordDetail:function(e,t){var a=t.payload;return(0,i.default)({},e,{detailData:(0,i.default)({},e.detailData,{avatar:a.data.photoUrl||"",data:a.data.list,personalInfo:(0,i.default)({},e.detailData.personalInfo,a.other)})})},resetModel:function(){return{tags:[],departmentData:[],monthStatisticsData:{data:[],columns:l,pagination:{pageNumber:1,pageSize:10,total:0}},dayStatisticsData:{data:[],columns:d,pagination:{pageNumber:1,pageSize:10,total:0}},detailData:{data:[],avatar:"",personalInfo:{name:"",attendDate:"",departName:"",attendGroupName:""}}}}}};t.default=f}});