Files
starRiverProperty/frontend/attendancepc/static/js/chunk-75bd0e25.82e814ae.js
反编译工作区 0c56a3e599 chore(frontend): add static frontend build artifacts (portal, front_acs, etc.)
Made-with: Cursor

Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
2026-04-27 13:40:23 +08:00

1 line
14 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp_smart-attendance"]=window["webpackJsonp_smart-attendance"]||[]).push([["chunk-75bd0e25"],{5899:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),i=n("5899"),a="["+i+"]",s=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),u=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(o,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",a="week",s="month",o="quarter",u="year",c=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},h={s:l,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+l(r,2,"0")+":"+l(i,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,s),i=e-r<0,a=t.clone().add(n+(i?-1:1),s);return Number(-(n+(e-r)/(i?r-a:a-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return{M:s,y:u,w:a,d:i,h:r,m:n,s:e,ms:t,Q:o}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},p="en",m={};m[p]=d;var y=function(t){return t instanceof v},b=function(t,e,n){var r;if(!t)return p;if("string"==typeof t)m[t]&&(r=t),e&&(m[t]=e,r=t);else{var i=t.name;m[i]=t,r=i}return n||(p=r),r},$=function(t,e,n){if(y(t))return t.clone();var r=e?"string"==typeof e?{format:e,pl:n}:e:{};return r.date=t,new v(r)},g=h;g.l=b,g.i=y,g.w=function(t,e){return $(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var v=function(){function l(t){this.$L=this.$L||b(t.locale,null,!0),this.parse(t)}var h=l.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(g.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(c);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(e)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return g},h.isValid=function(){return!("Invalid Date"===this.$d.toString())},h.isSame=function(t,e){var n=$(t);return this.startOf(e)<=n&&n<=this.endOf(e)},h.isAfter=function(t,e){return $(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<$(t)},h.$g=function(t,e,n){return g.u(t)?this[e]:this.set(n,t)},h.year=function(t){return this.$g(t,"$y",u)},h.month=function(t){return this.$g(t,"$M",s)},h.day=function(t){return this.$g(t,"$W",i)},h.date=function(t){return this.$g(t,"$D","date")},h.hour=function(t){return this.$g(t,"$H",r)},h.minute=function(t){return this.$g(t,"$m",n)},h.second=function(t){return this.$g(t,"$s",e)},h.millisecond=function(e){return this.$g(e,"$ms",t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,o){var c=this,f=!!g.u(o)||o,l=g.p(t),h=function(t,e){var n=g.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return f?n:n.endOf(i)},d=function(t,e){return g.w(c.toDate()[t].apply(c.toDate(),(f?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},p=this.$W,m=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(l){case u:return f?h(1,0):h(31,11);case s:return f?h(1,m):h(0,m+1);case a:var $=this.$locale().weekStart||0,v=(p<$?p+7:p)-$;return h(f?y-v:y+(6-v),m);case i:case"date":return d(b+"Hours",0);case r:return d(b+"Minutes",1);case n:return d(b+"Seconds",2);case e:return d(b+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(a,o){var c,f=g.p(a),l="set"+(this.$u?"UTC":""),h=(c={},c[i]=l+"Date",c.date=l+"Date",c[s]=l+"Month",c[u]=l+"FullYear",c[r]=l+"Hours",c[n]=l+"Minutes",c[e]=l+"Seconds",c[t]=l+"Milliseconds",c)[f],d=f===i?this.$D+(o-this.$W):o;if(f===s||f===u){var p=this.clone().set("date",1);p.$d[h](d),p.init(),this.$d=p.set("date",Math.min(this.$D,p.daysInMonth())).toDate()}else h&&this.$d[h](d);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[g.p(t)]()},h.add=function(t,o){var c,f=this;t=Number(t);var l=g.p(o),h=function(e){var n=$(f);return g.w(n.date(n.date()+Math.round(e*t)),f)};if(l===s)return this.set(s,this.$M+t);if(l===u)return this.set(u,this.$y+t);if(l===i)return h(1);if(l===a)return h(7);var d=(c={},c[n]=6e4,c[r]=36e5,c[e]=1e3,c)[l]||1,p=this.$d.getTime()+t*d;return g.w(p,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=g.z(this),i=this.$locale(),a=this.$H,s=this.$m,o=this.$M,u=i.weekdays,c=i.months,l=function(t,r,i,a){return t&&(t[r]||t(e,n))||i[r].substr(0,a)},h=function(t){return g.s(a%12||12,t,"0")},d=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:g.s(o+1,2,"0"),MMM:l(i.monthsShort,o,c,3),MMMM:c[o]||c(this,n),D:this.$D,DD:g.s(this.$D,2,"0"),d:String(this.$W),dd:l(i.weekdaysMin,this.$W,u,2),ddd:l(i.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(a),HH:g.s(a,2,"0"),h:h(1),hh:h(2),a:d(a,s,!0),A:d(a,s,!1),m:String(s),mm:g.s(s,2,"0"),s:String(this.$s),ss:g.s(this.$s,2,"0"),SSS:g.s(this.$ms,3,"0"),Z:r};return n.replace(f,(function(t,e){return e||p[t]||r.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(t,c,f){var l,h=g.p(c),d=$(t),p=6e4*(d.utcOffset()-this.utcOffset()),m=this-d,y=g.m(this,d);return y=(l={},l[u]=y/12,l[s]=y,l[o]=y/3,l[a]=(m-p)/6048e5,l[i]=(m-p)/864e5,l[r]=m/36e5,l[n]=m/6e4,l[e]=m/1e3,l)[h]||m,f?y:g.a(y)},h.daysInMonth=function(){return this.endOf(s).$D},h.$locale=function(){return m[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=b(t,e,!0);return r&&(n.$L=r),n},h.clone=function(){return g.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},l}();return $.prototype=v.prototype,$.extend=function(t,e){return t(e,v,$),$},$.locale=b,$.isDayjs=y,$.unix=function(t){return $(1e3*t)},$.en=m[p],$.Ls=m,$}))},"5a5a":function(t,e,n){},8653:function(t,e,n){},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),a=n("94ca"),s=n("6eeb"),o=n("5135"),u=n("c6b6"),c=n("7156"),f=n("c04e"),l=n("d039"),h=n("7c73"),d=n("241c").f,p=n("06cf").f,m=n("9bf2").f,y=n("58a8").trim,b="Number",$=i[b],g=$.prototype,v=u(h(g))==b,M=function(t){var e,n,r,i,a,s,o,u,c=f(t,!1);if("string"==typeof c&&c.length>2)if(c=y(c),e=c.charCodeAt(0),43===e||45===e){if(n=c.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=c.slice(2),s=a.length,o=0;o<s;o++)if(u=a.charCodeAt(o),u<48||u>i)return NaN;return parseInt(a,r)}return+c};if(a(b,!$(" 0o1")||!$("0b1")||$("+0x1"))){for(var O,w=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof w&&(v?l((function(){g.valueOf.call(n)})):u(n)!=b)?c(new $(M(e)),n,w):M(e)},S=r?d($):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;S.length>x;x++)o($,O=S[x])&&!o(w,O)&&m(w,O,p($,O));w.prototype=g,g.constructor=w,s(i,b,w)}},c148:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("MonthStatisticsMine",{attrs:{isMine:""}})},i=[],a=(n("d3b7"),n("4ae1"),n("25f0"),n("276c")),s=n("920b"),o=n("e1a7"),u=n("f20d"),c=n("9ab4"),f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CwMainLayout",{staticClass:"month-statistics",attrs:{loading:t.loading},scopedSlots:t._u([{key:"op-header",fn:function(){return[n("CwHeaderLayout",{scopedSlots:t._u([{key:"op",fn:function(){return[n("CwOp",{attrs:{items:t.opItems}})]},proxy:!0}])},[n("HeadText",{attrs:{text:"我的月报表",hidden:t.isMine}},[n("CwSearchForm",{attrs:{formItems:t.formItems,options:t.options,ruleForm:t.searchList}})],1)],1)]},proxy:!0}])},[n("InTable",{attrs:{query:t.searchList,data:t.tableData,columns:t.columns,paginationAttrs:t.paginationAttrs},on:{"row-click":t.rowClick,"pagination-change":function(e){return t.getList(!1)}},scopedSlots:t._u([{key:"endStatus",fn:function(e){var r=e.row;return[n("DataIcon",{attrs:{type:r.endStatusIsNormal?"default":"danger",label:r.endStatusObj.label,hiddenIcon:r.initStatusIsNormal||!r.endStatusIsNormal},on:{iconClick:function(e){return t.viewClick({row:r})}}})]}}])})],1)},l=[],h=(n("99af"),n("a9e3"),n("d0ff")),d=n("f3f3"),p=(n("96cf"),n("c964")),m=n("e954"),y=n("4d8e"),b=n("eb9a"),$=n("3782"),g=n("13de"),v=n("5a0c"),M=n.n(v),O=n("60a3");function w(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var S=function(t){Object(s["a"])(n,t);var e=w(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.tableData=[],t.searchList={time:(new Date).getTime(),timeRange:""},t.options={},t}return Object(m["a"])(n,[{key:"created",value:function(){this.getList(),this.isMine||this.getOrgIds()}},{key:"getData",value:function(){var t=Object(p["a"])(regeneratorRuntime.mark((function t(e){var n,r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.timeRange=this.formatMonth(e.time),t.next=3,$["a"].monthAttend(e,{isMine:this.isMine,_this:this,loading:"loading"});case 3:n=t.sent,r=n.total,i=n.datas,this.paginationAttrs.total=r,this.tableData=i;case 8:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"exportClick",value:function(){var t=Object(d["a"])({},this.searchList,{timeRange:this.formatMonth(this.searchList.time)});$["a"].monthExport(t,{isMine:this.isMine})}},{key:"formatMonth",value:function(t){return[M()(t).startOf("month").valueOf(),M()(t).endOf("month").valueOf()]}},{key:"rowClick",value:function(t){if(!this.isMine){var e=this.formatMonth(Number(t.month));this.$router.push({path:"/attendance/record/month/detail",query:{timeRange:e,personName:t.personName,attendMonth:t.attendMonth,personId:t.personId}})}}},{key:"opItems",get:function(){return[{type:"button",command:"export",label:"导出",btnAttrs:{type:"primary"}}]}},{key:"formItems",get:function(){return[{type:"date",name:"time",itemAttrs:{label:"选择月份"},contentAttrs:{clearable:!1,"value-format":"timestamp",type:"month",placeholder:"请选择月份",pickerOptions:{disabledDate:function(t){var e=t.getTime(),n=Date.now();return e>n||e<n-31536e6}}}}].concat(Object(h["a"])(this.isMine?[]:this.deviceFormItems))}},{key:"columns",get:function(){return[{type:"index",column:{fixed:!0}},{type:"text",column:{prop:"month",label:"月份",fixed:!0,width:100},filter:{name:"GLdateFormat",params:["YYYY-MM"]}},{type:"text",column:{prop:"personName",label:"姓名",fixed:!0}},{type:"text",column:{prop:"orgName",label:"组织",fixed:!0}},{type:"text",column:{prop:"ruleName",label:"考勤规则名称",fixed:!0}},{type:"text",hidden:this.isMine,column:{prop:"labelNamesStr",label:"标签",fixed:!0}},{type:"text",column:{prop:"ruleTypeObj.label",label:"考勤类型",fixed:!0}},{type:"text",column:{prop:"shouldSign",label:"应考勤次数",width:80}},{type:"text",column:{prop:"normal",label:"正常天数",width:80}},{type:"text",column:{prop:"abnormal",label:"异常天数",width:80}},{type:"text",column:{prop:"correct",label:"更正次数",width:80}},{type:"text",column:{prop:"vacation",label:"请假",width:80}},{type:"text",column:{prop:"businessTrip",label:"出差",width:80}},{type:"text",column:{prop:"goOut",label:"外出",width:80}},{type:"text",column:{prop:"paidLeave",label:"调休",width:80}},{type:"text",column:{prop:"forget",label:"忘记打卡",width:80}},{type:"text",column:{prop:"machineException",label:"打卡机异常",width:80}}]}}]),n}(Object(O["c"])(Object(y["tableMixin"])(),Object(b["a"])({name:"searchList",byLoginUser:!0,isGetOrgId:!1,label:!1})));Object(c["a"])([Object(O["e"])({default:!1,type:Boolean})],S.prototype,"isMine",void 0),S=Object(c["a"])([Object(O["a"])({components:{HeadText:g["a"]}})],S);var x=S,D=x,I=(n("dd6e"),n("2877")),_=Object(I["a"])(D,f,l,!1,null,"b9dde1c6",null),N=_.exports;function k(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var j=function(t){Object(s["a"])(n,t);var e=k(n);function n(){return Object(a["a"])(this,n),e.apply(this,arguments)}return n}(O["h"]);j=Object(c["a"])([Object(O["a"])({components:{MonthStatisticsMine:N}})],j);var A=j,L=A,T=(n("d2bd"),Object(I["a"])(L,r,i,!1,null,"548bac58",null));e["default"]=T.exports},d2bd:function(t,e,n){"use strict";var r=n("8653"),i=n.n(r);i.a},dd6e:function(t,e,n){"use strict";var r=n("5a5a"),i=n.n(r);i.a}}]);