index-legacy.4c39cc0f.js 22 KB

1
  1. !function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function t(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function r(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(n){a(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n,t,r,a,i,u){try{var o=e[i](u),l=o.value}catch(s){return void t(s)}o.done?n(l):Promise.resolve(l).then(r,a)}function u(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var u=e.apply(n,t);function o(e){i(u,r,a,o,l,"next",e)}function l(e){i(u,r,a,o,l,"throw",e)}o(void 0)}))}}var o=document.createElement("style");o.innerHTML='._attendanceRules_176h5_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}._ruleContainer_176h5_6{overflow:hidden;margin-bottom:.53333rem}._ruleContainer_176h5_6 ._informationBottom_176h5_10 .van-sticky{position:absolute}._ruleContainer_176h5_6 .van-cell{padding:.37333rem .32rem}._ruleContainer_176h5_6 .van-cell:after{transform:scale(1);border-color:#f2f2f2}._ruleContainer_176h5_6 .van-cell-group{margin:.42667rem .34667rem 0;border-radius:.26667rem}._ruleContainer_176h5_6 .van-field__control{text-align:center;font-family:DINA}._ruleContainer_176h5_6 ._ruleTitle_176h5_28{font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._ruleContainer_176h5_6 ._smallRuleTitle_176h5_34{font-size:.37333rem}._ruleContainer_176h5_6 ._ruleContent_176h5_37{font-size:.37333rem;color:#777}._ruleContainer_176h5_6 ._ruleMore_176h5_41{padding:.16rem 0 .21333rem}._ruleContainer_176h5_6 ._red_176h5_44{color:#f44541}._ruleContainer_176h5_6 ._field_176h5_47{background:#f2f2f2;border-radius:.21333rem;height:.93333rem;line-height:.93333rem;padding:0 .21333rem;display:inline-flex}._ruleContainer_176h5_6 ._field_176h5_47 ._unit_176h5_55{position:relative;width:1.06667rem;padding-left:.32rem;display:flex;align-items:center;justify-content:center;height:100%;font-weight:500;font-size:.4rem}._ruleContainer_176h5_6 ._field_176h5_47 ._unit_176h5_55:before{position:absolute;left:0;content:" ";display:inline-block;width:.02667rem;height:.66667rem;background:#e3e3e3;border-radius:.02667rem}._ruleContainer_176h5_6 ._field_176h5_47 ._unit_176h5_55:after{content:" ";display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAARBJREFUKFOV0a1Ow1AUB/D/aQuKmQp4AHgCkDMzQw3Tpvc2JOhqMEt4ABIM09UkpLdNa5gCg0HCE8ADgKgBNdre5SxlgW0d9Jibc+85v/tFAKCUuiCiIQCD8xZRaa0vpZTnxE1JklxprU9bAPNSIhp5nnc2g8Iw3LBte6y1PmyDEdFdnueDIAi+ZhBHHMdbAB4AHPwTewLQE0J8cv0c4iTLsu2iKB4B7P2BvViW1XUc5/277hfEk1EU7RqGwdhOA/ZWVVXX9/3Xn+tLEC+mabpfliVfs7OAfZim2XNd93lxk5VQ/WZ9AGMAm3XTBMBACHG/6qSNUI0dA7iuG0+EEDdNb7cW4ial1BGPUsrbdR8wBQqHTQv5JatLAAAAAElFTkSuQmCC) no-repeat center center;background-size:contain;width:.24rem;height:.13333rem;margin-left:.08rem}._ruleContainer_176h5_6 ._field_176h5_47 ._unit_176h5_55._active_176h5_85:after{transform:rotateX(180deg);margin-top:-.05333rem}._ruleContainer_176h5_6 ._field-m_176h5_89{margin:0 .10667rem}._ruleContainer_176h5_6 ._field-w80_176h5_92{width:2.13333rem}._ruleContainer_176h5_6 ._field-w136_176h5_95{width:3.62667rem}._ruleContainer_176h5_6 ._field-w102_176h5_98{width:2.72rem}._ruleContainer_176h5_6 ._field-w126_176h5_101{width:3.36rem}._ruleContainer_176h5_6 ._ruleRange_176h5_104{display:flex;justify-content:space-between;align-items:center}._ruleContainer_176h5_6 ._ruleTips_176h5_109{margin-top:.32rem;padding:.26667rem;background:#fff3e6;border-radius:.16rem;font-size:.34667rem;color:#333;line-height:.58667rem}._ruleContainer_176h5_6 ._ruleTips_176h5_109 span{color:#f44541;font-weight:500}._ruleContainer_176h5_6 ._ruleDesc_176h5_122{font-size:.37333rem;color:#777;line-height:.64rem}._ruleContainer_176h5_6 ._ruleDesc_176h5_122 span{padding:0 .10667rem;color:#f44541}._ruleContainer_176h5_6 ._ruleExtra_176h5_131{color:#777;font-size:.4rem}._popover_176h5_135{--van-popover-action-width: 2.66667rem}._flexDev_176h5_138{display:flex;align-items:center}\n',document.head.appendChild(o),System.register(["./index-legacy.90c82f08.js","./index-legacy.84457c4c.js","./toolsValidate-legacy.95a8e7c1.js","./index-legacy.55839436.js","./index-legacy.f3e5e283.js","./index-legacy.3c5580aa.js","./date-legacy.ceea55a9.js","./index-legacy.fe10c814.js","./use-tab-status-legacy.bafe466c.js","./index-legacy.64e3b474.js","./index-legacy.f9492e3a.js"],(function(n){"use strict";var t,a,i,o,l,s,_,c,f,p,d,m,g,h,b,v,y,x,k,A,C,w,E,N;return{setters:[function(e){t=e.d,a=e.r,i=e.bH,o=e.$,l=e.c,s=e.q,_=e.aw,c=e.B,f=e.m,p=e.o,d=e.R,m=e.aj},function(e){g=e.O},function(e){h=e.v},function(e){b=e.C},function(e){v=e.C},function(e){y=e.F},function(e){x=e.r,k=e.b,A=e.c,C=e.a,w=e.d},function(e){E=e.T,N=e.a},function(){},function(){},function(){}],execute:function(){var V="_attendanceRules_176h5_1",P="_ruleContainer_176h5_6",T="_ruleTitle_176h5_28",R="_ruleContent_176h5_37",j="_ruleMore_176h5_41",O="_field_176h5_47",B="_field-m_176h5_89",D="_field-w80_176h5_92",G="_field-w102_176h5_98",U="_field-w126_176h5_101",S="_ruleRange_176h5_104",I="_ruleTips_176h5_109",L="_ruleDesc_176h5_122",H="_ruleExtra_176h5_131",z=t({name:"range-model",setup:function(){a({show1:!1,show2:!1});var n=i({}),t=a({}),d=function(){var e=u(regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-school/schoolParamConfig/queryByParamNameList",{params:{paramNames:"scope_of_attendance,sign_in_attendance,sign_in_attendance_type,sign_out_attendance,sign_out_attendance_type"}});case 3:a=e.sent,i=a.data,console.log(i,"data"),(i||[]).forEach((function(e){t[e.paramName]=e.paramValue})),n.value=r({},t),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),m=function(e,n){var t=[];for(var r in e)e[r]!=n[r]&&t.push({paramName:r,paramValue:n[r]});return t||[]},x=function(){var r=u(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t.scope_of_attendance){r.next=3;break}return p("请输入考勤定位范围"),r.abrupt("return");case 3:if(t.sign_in_attendance){r.next=6;break}return p("请输入签到扣减金额"),r.abrupt("return");case 6:if(!(t.sign_in_attendance>100&&"PERCENTAGE"===t.sign_in_attendance_type)){r.next=9;break}return p("签到扣减金额输入有误"),r.abrupt("return");case 9:if(t.sign_out_attendance){r.next=12;break}return p("请输入签退扣减金额"),r.abrupt("return");case 12:if(!(t.sign_out_attendance>100&&"PERCENTAGE"===t.sign_out_attendance_type)){r.next=15;break}return p("签退扣减金额输入有误"),r.abrupt("return");case 15:if(r.prev=15,!((a=m(n.value,t)).length>0)){r.next=20;break}return r.next=20,f.post("/api-school/schoolParamConfig/update",{hideLoading:!1,data:{configs:e(a),group:"ATTENDANCE"}});case 20:setTimeout((function(){p("保存成功")}),200),r.next=25;break;case 23:r.prev=23,r.t0=r.catch(15);case 25:case"end":return r.stop()}}),r,null,[[15,23]])})));return function(){return r.apply(this,arguments)}}();o((function(){d()}));var k=function(e){return e&&e>=0?h(e):""};return function(){return l("div",{class:P},[l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:T},[s("考勤定位范围")])}}),l(v,null,{title:function(){return l("div",{class:R,style:{display:"flex",alignItems:"center"}},[s("签到、签退地点须在学校定位点"),l(y,{class:[O,B,D],autocomplete:"off",formatter:k,type:"number",modelValue:t.scope_of_attendance,"onUpdate:modelValue":function(e){return t.scope_of_attendance=e}},{extra:function(){return l("span",{class:H},[s("米")])}}),s("以内")])}})]}}),l(_,{to:"#app"},{default:function(){return[l(g,{position:"bottom"},{default:function(){return[l("div",{class:"btnGroup"},[l(c,{type:"primary",round:!0,block:!0,onClick:x},{default:function(){return[s("保存设置")]}})])]}})]}})])}}}),M=t({name:"sigin-in-rule",setup:function(){a({show1:!1,show2:!1,show3:!1,show4:!1});var n=i({}),t=a({}),d=function(){var e=u(regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-school/schoolParamConfig/queryByParamNameList",{params:{paramNames:"normal_sign_in_start,normal_sign_in_end,abnormal_sign_in,abnormal_sign_in_fee,abnormal_sign_in_fee_type,late_sign_in,late_sign_in_fee,late_sign_in_fee_type,absence_sign_in,absence_sign_in_fee,absence_sign_in_fee_type,not_sign_in_fee,not_sign_in_fee_type"}});case 3:a=e.sent,i=a.data,console.log(i,"data"),(i||[]).forEach((function(e){t[e.paramName]=e.paramValue})),n.value=r({},t),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),m=function(e,n){var t=[];for(var r in e)e[r]!=n[r]&&t.push({paramName:r,paramValue:n[r]});return t||[]},w=function(){var a=u(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t.normal_sign_in_start){a.next=3;break}return p("请输入签到时间范围"),a.abrupt("return");case 3:if(t.normal_sign_in_end){a.next=6;break}return p("请输入正常签到时间"),a.abrupt("return");case 6:if(console.log(t.normal_sign_in_end,t.normal_sign_in_start),!(t.normal_sign_in_end-t.normal_sign_in_start>0)){a.next=11;break}return console.log(!0),p("正常签到时间不能大于签到时间范围"),a.abrupt("return");case 11:if(t.abnormal_sign_in_fee){a.next=14;break}return p("请输入异常签到扣减金额"),a.abrupt("return");case 14:if(!(t.abnormal_sign_in_fee>100&&"PERCENTAGE"===t.abnormal_sign_in_fee_type)){a.next=17;break}return p("异常签到扣减金额输入有误"),a.abrupt("return");case 17:if(t.late_sign_in){a.next=20;break}return p("请输入迟到时间"),a.abrupt("return");case 20:if(t.late_sign_in_fee){a.next=23;break}return p("请输入迟到扣减金额"),a.abrupt("return");case 23:if(!(t.late_sign_in_fee>100&&"PERCENTAGE"===t.late_sign_in_fee_type)){a.next=26;break}return p("迟到扣减金额输入有误"),a.abrupt("return");case 26:if(t.absence_sign_in_fee){a.next=29;break}return p("请输入旷课扣减金额"),a.abrupt("return");case 29:if(!(t.absence_sign_in_fee>100&&"PERCENTAGE"===t.absence_sign_in_fee_type)){a.next=32;break}return p("旷课扣减金额输入有误"),a.abrupt("return");case 32:if(t.not_sign_in_fee){a.next=35;break}return p("请输入未签到扣减金额"),a.abrupt("return");case 35:if(!(t.not_sign_in_fee>100&&"PERCENTAGE"===t.not_sign_in_fee_type)){a.next=38;break}return p("未签到扣减金额输入有误"),a.abrupt("return");case 38:if(a.prev=38,!((i=m(n.value,t)).length>0)){a.next=44;break}return a.next=43,f.post("/api-school/schoolParamConfig/update",{hideLoading:!1,data:{configs:e(i),group:"ATTENDANCE"}});case 43:n.value=r({},t);case 44:setTimeout((function(){p("保存成功")}),200),a.next=49;break;case 47:a.prev=47,a.t0=a.catch(38);case 49:case"end":return a.stop()}}),a,null,[[38,47]])})));return function(){return a.apply(this,arguments)}}();o((function(){d()}));var E=function(e){return e&&e>=0?h(e):""};return function(){return l("div",{class:P},[l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:T},[s("签到时间范围")])}}),l(v,null,{title:function(){return l("div",{class:R},[l("div",{class:S},[s("课程开始前多少分钟可以签到:"),l(y,{class:[O,G],autocomplete:"off",formatter:E,type:"number",modelValue:t.normal_sign_in_start,"onUpdate:modelValue":function(e){return t.normal_sign_in_start=e}},{extra:function(){return l("span",{class:H},[s("分钟")])}})]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("开始的课程为例,最早"),l("span",null,[x("12:00:00",t.normal_sign_in_start)]),s("可以进行签到")])])}})]}}),l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:T},[s("正常签到")])}}),l(v,null,{title:function(){return l("div",{class:R},[l("div",{class:S},[s("签到时间早于课程开始时间:"),l(y,{class:[O,G],autocomplete:"off",formatter:E,type:"number",modelValue:t.normal_sign_in_end,"onUpdate:modelValue":[function(e){return t.normal_sign_in_end=e},function(e){console.log(e,"value"),t.abnormal_sign_in=e}]},{extra:function(){return l("span",{class:H},[s("分钟")])}})]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("开始的课程为例,在"),l("span",{style:"display: inline-block;"},[x("12:00:00",t.normal_sign_in_start),s("~"),x("12:00:00",t.normal_sign_in_end)]),s("时间范围内签到属于"),l("span",null,[s("正常签到")])])])}})]}}),l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:[T]},[s("异常签到")])}}),l(v,null,{title:function(){return l("div",{class:[R,j]},[l("div",{class:L},[s("签到时间晚于课程开始时间"),l("span",null,[s("前"),t.normal_sign_in_end||0,s("分钟")])," ",l("br",null,null),s("早于课程开始时间时,扣减当日训练补助")]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("开始的课程为例,在"),l("span",{style:"display: inline-block;"},[k("12:00:00",t.normal_sign_in_end),s("~12:00:00")]),s("时间范围内签到属于"),l("span",null,[s("异常签到")])])])}})]}}),l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:[T]},[s("迟到")])}}),l(v,null,{title:function(){return l("div",{class:[R,j]},[l("div",{class:S},[s("签到时间晚于课程开始时间:"),l(y,{class:[O,G],autocomplete:"off",formatter:E,type:"number",modelValue:t.late_sign_in,"onUpdate:modelValue":[function(e){return t.late_sign_in=e},function(e){t.absence_sign_in=e}]},{extra:function(){return l("span",{class:H},[s("分钟")])}})]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("开始的课程为例,在"),l("span",{style:"display: inline-block;"},[A("12:00:00",0),s(" ~")," ",C("12:00:00",t.late_sign_in)]),s("时间范围内签到属于"),l("span",null,[s("迟到")])])])}})]}}),l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:[T]},[s("旷课")])}}),l(v,null,{title:function(){return l("div",{class:[R,j]},[l("div",{class:L},[s("签到时间晚于课程开始时间"),l("span",null,[t.late_sign_in||0,s("分钟")]),s(" "),l("br",null,null),s("扣减当日训练补助")]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("开始的课程为例,在"),l("span",null,[C("12:00:00",t.late_sign_in)]),s("后签到(含"),C("12:00:00",t.late_sign_in),s(") 属于"),l("span",null,[s("旷课")])])])}})]}}),l(_,{to:"#app"},{default:function(){return[l(g,{position:"bottom"},{default:function(){return[l("div",{class:"btnGroup"},[l(c,{type:"primary",round:!0,block:!0,onClick:w},{default:function(){return[s("保存设置")]}})])]}})]}})])}}}),Q=t({name:"sigin-out-rule",setup:function(){a({show1:!1,show2:!1,show3:!1});var n=i({}),t=a({}),d=function(){var e=u(regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.get("/api-school/schoolParamConfig/queryByParamNameList",{params:{paramNames:"normal_sign_out,abnormal_sign_out,abnormal_sign_out_fee,abnormal_sign_out_fee_type,premise_sign_out,premise_sign_out_fee,premise_sign_out_fee_type,not_sign_out_fee,not_sign_out_fee_type"}});case 3:a=e.sent,i=a.data,console.log(i,"data"),(i||[]).forEach((function(e){t[e.paramName]=e.paramValue})),n.value=r({},t),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),m=function(e,n){var t=[];for(var r in e)e[r]!=n[r]&&t.push({paramName:r,paramValue:n[r]});return t||[]},k=function(){var a=u(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t.normal_sign_out){a.next=3;break}return p("请输入正常签退时间"),a.abrupt("return");case 3:if(t.abnormal_sign_out){a.next=6;break}return p("请输入异常签退时间"),a.abrupt("return");case 6:if(t.abnormal_sign_out_fee){a.next=9;break}return p("请输入异常签退扣减金额"),a.abrupt("return");case 9:if(!(t.abnormal_sign_out_fee>100&&"PERCENTAGE"===t.abnormal_sign_out_fee_type)){a.next=12;break}return p("异常签退扣减金额输入有误"),a.abrupt("return");case 12:if(t.premise_sign_out_fee){a.next=15;break}return p("请输入早退扣减金额"),a.abrupt("return");case 15:if(!(t.premise_sign_out_fee>100&&"PERCENTAGE"===t.premise_sign_out_fee_type)){a.next=18;break}return p("早退扣减金额输入有误"),a.abrupt("return");case 18:if(t.not_sign_out_fee){a.next=21;break}return p("请输入未签退扣减金额"),a.abrupt("return");case 21:if(!(t.not_sign_out_fee>100&&"PERCENTAGE"===t.not_sign_out_fee_type)){a.next=24;break}return p("未签退扣减金额输入有误"),a.abrupt("return");case 24:if(a.prev=24,!((i=m(n.value,t)).length>0)){a.next=30;break}return a.next=29,f.post("/api-school/schoolParamConfig/update",{hideLoading:!1,data:{configs:e(i),group:"ATTENDANCE"}});case 29:n.value=r({},t);case 30:setTimeout((function(){p("保存成功")}),200),a.next=35;break;case 33:a.prev=33,a.t0=a.catch(24);case 35:case"end":return a.stop()}}),a,null,[[24,33]])})));return function(){return a.apply(this,arguments)}}();o((function(){d()}));var A=function(e){return e&&e>=0?h(e):""};return function(){return l("div",{class:P},[l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:T},[s("正常签退")])}}),l(v,null,{title:function(){return l("div",{class:R},[l("div",{class:S},[s("签退时间不得晚于课程结束后:"),l(y,{class:[O,G],autocomplete:"off",formatter:A,type:"number",modelValue:t.normal_sign_out,"onUpdate:modelValue":function(e){return t.normal_sign_out=e}},{extra:function(){return l("span",{class:H},[s("分钟")])}})]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("结束的课程为例, 在"),l("span",{style:"display: inline-block;"},[s("12:00:00~"),C("12:00:00",t.normal_sign_out)]),s("时间范围内签退属于"),l("span",null,[s("正常签退")])])])}})]}}),l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:T},[s("异常签退")])}}),l(v,null,{title:function(){return l("div",{class:R},[l("div",{class:S},[s("签退时间早于课程结束时间:"),l(y,{class:[O,U],autocomplete:"off",formatter:A,type:"number",modelValue:t.abnormal_sign_out,"onUpdate:modelValue":[function(e){return t.abnormal_sign_out=e},function(e){t.premise_sign_out=e}]},{extra:function(){return l("span",{class:H},[s("分钟以内")])}})]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("结束的课程为例, 在"),l("span",{style:"display: inline-block;"},[x("12:00:00",t.abnormal_sign_out),s("~"),w("12:00:00",0)]),s("时间范围内签退属于"),l("span",null,[s("异常签退")])])])}})]}}),l(b,{inset:!0},{default:function(){return[l(v,null,{title:function(){return l("div",{class:[T]},[s("早退")])}}),l(v,null,{title:function(){return l("div",{class:[R,j]},[l("div",{class:L},[s("签退时间早于课程结束时间"),l("span",null,[t.abnormal_sign_out||0,s("分钟")]),s("以上")," ",l("br",null,null),s("扣减当日训练补助")]),l("div",{class:I},[s("以"),l("span",null,[s("12:00:00")]),s("结束的课程为例,在"),l("span",null,[x("12:00:00",t.abnormal_sign_out)]),s("前签退 (含"),x("12:00:00",t.abnormal_sign_out),s(") 属于"),l("span",null,[s("早退")])])])}})]}}),l(_,{to:"#app"},{default:function(){return[l(g,{position:"bottom"},{default:function(){return[l("div",{class:"btnGroup"},[l(c,{type:"primary",round:!0,block:!0,onClick:k},{default:function(){return[s("保存设置")]}})])]}})]}})])}}});n("default",t({name:"attendance-rules",setup:function(){var e=a({tabValue:"range",heightV:0}),n=d(),t=function(n){e.heightV=n,console.log(e.heightV,"获取高度"),document.documentElement.style.setProperty("--header-height",n+"px")};return function(){return l("div",{class:V},[l(g,{position:"top",background:"#F8F8F8",onGetHeight:t,ref:n},{default:function(){return[l(m,{border:!1},null)]}}),l(E,{sticky:!0,lineWidth:20,lineHeight:4,offsetTop:e.heightV,swipeable:!0,animated:!0,active:e.tabValue,"onUpdate:active":function(n){return e.tabValue=n}},{default:function(){return[l(N,{title:"考勤范围",name:"range"},{default:function(){return["range"===e.tabValue&&l(z,null,null)]}}),l(N,{title:"签到规则",name:"signin-rule"},{default:function(){return["signin-rule"===e.tabValue&&l(M,null,null)]}}),l(N,{title:"签退规则",name:"signout-rule"},{default:function(){return["signout-rule"===e.tabValue&&l(Q,null,null)]}})]}})])}}}))}}}))}();