index-legacy.6c7e6d53.js 11 KB

1
  1. !function(){function n(n,e,l,t,a,_,s){try{var i=n[_](s),r=i.value}catch(o){return void l(o)}i.done?e(r):Promise.resolve(r).then(t,a)}var e=document.createElement("style");e.innerHTML="._attCollapseWrap_qq31t_1{margin-top:.32rem}._attCollapseWrap_qq31t_1 .van-collapse{border:none}._attCollapseWrap_qq31t_1 .van-collapse:after{transform:scale(0)}._attCollapseWrap_qq31t_1 .van-collapse-item{margin:0 .34667rem .32rem;width:auto;overflow:hidden;border-radius:.26667rem;border:none;background-color:#fff}._attCollapseWrap_qq31t_1 .van-collapse-item__content{padding:.48rem .4rem;border-top:.02667rem solid #f2f2f2}._attCollapseWrap_qq31t_1 .van-icon{color:#333;font-size:.42667rem}._attCollapseWrap_qq31t_1 .van-cell{padding:0;align-items:center;padding-right:.4rem}._attCollapseWrap_qq31t_1 .van-cell__title{align-items:center;font-size:.48rem;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:.58667rem;padding:.48rem .4rem;border:none}._attCollapseWrap_qq31t_1 ._collapseTitle_qq31t_41{display:flex;flex-direction:row;align-items:center;line-height:.58667rem;font-size:.42667rem}._attCollapseWrap_qq31t_1 ._collapseTitle_qq31t_41 ._dot_qq31t_48{width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._attCollapseWrap_qq31t_1 ._mainMsg_qq31t_55{line-height:1.01333rem;background:#ffeee2;border-radius:.21333rem;display:flex;flex-direction:row;align-items:center;color:#f67146;padding:0 .21333rem;margin-bottom:.48rem;font-size:.4rem}._attCollapseWrap_qq31t_1 ._mainMsg_qq31t_55 ._clockIcon_qq31t_67{width:.48rem;height:.48rem;margin-right:.10667rem}._attCollapseWrap_qq31t_1 ._textWrap_qq31t_72{margin-bottom:.42667rem}._attCollapseWrap_qq31t_1 ._textWrap_qq31t_72 h4{font-size:.4rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.21333rem}._attCollapseWrap_qq31t_1 ._textWrap_qq31t_72 p{font-size:.37333rem;font-weight:400;color:#777;line-height:.56rem;margin-bottom:.21333rem}._attCollapseWrap_qq31t_1 ._textWrap_qq31t_72 p span{color:#f44541}._sticky_qq31t_92{position:sticky}._collapseWrap_qq31t_95{overflow:auto}\n",document.head.appendChild(e),System.register(["./index-legacy.c1f63540.js","./index-legacy.7e71b67e.js","./date-legacy.7660413d.js","./index-legacy.af48aae1.js","./index-legacy.8a8e9c42.js"],(function(e){"use strict";var l,t,a,_,s,i,r,o,u,c,p,g,m,d,f,q,h,v;return{setters:[function(n){l=n.d,t=n.ah,a=n.r,_=n.R,s=n.$,i=n._,r=n.an,o=n.c,u=n.aj,c=n.q,p=n.F,g=n.m,m=n.g},function(n){d=n.O},function(n){f=n.r,q=n.a},function(n){h=n.C,v=n.a},function(){}],execute:function(){var b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAqFJREFUWEfNmD1oU1EUx3/noWYQ4iexbhUc3SuI2jqoARFqqklFEbqIgx0UlTo0rx20frRD3d00CbS4CKKDCi7qJjo4VOrWKGpt0KG1vluSvHz6XnLfe5Hkzeee+3vnnHvu/x6hwz4JwqPM/ghGaBeW2lTwY8gS1vK8mI+++vXrCUhdjIbYvvkYqBhK9QFdLhtnEXkBMsu3n4/l3pNlXUAtIDUdDbEYHkZxqQGE255ZhCm25KZluDlYUyA1ntiPpe4Du3X/0sVuDkOGZDT9qpGfhkDKjOcjcgtYFxCmtHwVuCZmZsrNnyuQMhM3QI20CKTOjdwUM33dybcjkB2ZSS2Yrm44MwIL8/BgQmuJbXTZKVL/ANk181w7TQdOQN+p4h53z8PvJV2oVQw5VF9TNUCF0/Qj/MFTAR+MQe/JIsTkBfi1qAuUt5tja25P9emrBRqLX0Fx24tHggGBcFWSmTulPctAhaa3LfzZc58JCgRZvue6S82zAjQ2GENZM56ikzcODgRiDEgyNZt3VwEy4ykg0RYgSIuZGawHWvCcrlZFCLJiZnaWgZR5NgIrXzxHp3VAwMqOvEoopEyNJ3qw1Ou2AhmyV0bTb4pAZvww8DQwkJsDpWDuHTxs2MmPiJl5FhyoJwpHzzX/F+svTAzBH1dpVAUUJGXrQ7DvOGwsikbnT8Gn9/DxrbtJbcr6I7DBX1E3j42mRVVR23Xk79hrbtfErPbY20D+GmMrgERSkkyfrm2Mfq+OlgA5XR1+L9fgQM6XayFtfuRHUCA3+VEA8iPQggE1Fmj2NZJ/9uhLWP9AzSVsybcnke8fSE/kV6A66BlUF6nOeCiWoTrpKV2G6qRhQ3XNlscxyhoAehuOY+AlYsz8l3GMq6ho98DK/wnXX7kGJrkvNBqHJe0AAAAASUVORK5CYII=",A="_attCollapseWrap_qq31t_1",y="_collapseTitle_qq31t_41",C="_dot_qq31t_48",w="_mainMsg_qq31t_55",x="_clockIcon_qq31t_67",W="_textWrap_qq31t_72",k="_sticky_qq31t_92",E="_collapseWrap_qq31t_95";e("default",l({name:"attendance-rule",setup:function(){var e=t(),l=a({activeNames:"",wrapHeight:0}),N=_(),S=a({}),M=function(){var l,t=(l=regeneratorRuntime.mark((function n(){var l,t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,g.get(m.platformApi+"/courseSchedule/getAttendanceConfig",{params:{courseScheduleId:e.query.courseScheduleId,group:"ATTENDANCE"}});case 3:l=n.sent,(t=l.data)&&t.forEach((function(n){S[n.paramName]=n.paramValue})),console.log(S),n.next=12;break;case 9:n.prev=9,n.t0=n.catch(0),console.log(n.t0);case 12:case"end":return n.stop()}}),n,null,[[0,9]])})),function(){var e=this,t=arguments;return new Promise((function(a,_){var s=l.apply(e,t);function i(e){n(s,a,_,i,r,"next",e)}function r(e){n(s,a,_,i,r,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return s((function(){M(),i((function(){setTimeout((function(){console.log(N.value);var n=r(N.value),e=n.height,t=n.top;l.wrapHeight=e+t+45}),100)}))})),function(){return o(p,null,[o(d,{position:"top",background:"#F8F8F8"},{default:function(){return[o(u,null,null)]}}),o("div",{class:A,ref:N},[o(h,{modelValue:l.activeNames,"onUpdate:modelValue":function(n){return l.activeNames=n},accordion:!0},{default:function(){return[o(v,{name:"1",border:!1},{default:function(){return[o("div",{class:E,style:{height:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[o("div",{class:w},[o("img",{src:b,alt:"",class:x},null),o("p",null,[c("以课程时间12:00:00 ~ 13:00:00为例")])]),o("div",{class:W},[o("h4",null,[c("可签到时间范围:")]),o("p",null,[c("课程"),o("span",null,[c("开始前"),S.normal_sign_in_start?S.normal_sign_in_start:0,c("分钟")]),c("至课程"),o("span",null,[c("结束前")])]),o("p",null,[c("时间段:"),f("12:00:00",S.normal_sign_in_start),c(" ~13:00:00")," "])]),o("div",{class:W},[o("h4",null,[c("正常签到:")]),o("p",null,[c("课程"),o("span",null,[c("开始前"),S.normal_sign_in_start?S.normal_sign_in_start:0,c("分钟")]),c("至课程"),o("span",null,[c("开始前"),S.normal_sign_in_end?S.normal_sign_in_end:0,c("分钟")]),c("签到 "),o("br",null,null),c("GPS定位点在教学点"),o("span",null,[S.scope_of_attendance?S.scope_of_attendance:0,c("米内")])]),o("p",null,[c("时间段:"),f("12:00:00",S.normal_sign_in_start),c(" ~")," ",f("12:00:00",S.normal_sign_in_end)])]),o("div",{class:W},[o("h4",null,[c("异常签到:")]),o("p",null,[c("课程"),o("span",null,[c("开始前"),S.normal_sign_in_end?S.normal_sign_in_end:0,c("分钟")]),c("后至课程"),o("span",null,[c("开始前")]),c("签到"),o("br",null,null),c("GPS定位点在教学点"),o("span",null,[S.scope_of_attendance?S.scope_of_attendance:0,c("米内")])]),o("p",null,[c("时间段:"),f("12:00:00",S.abnormal_sign_in),c(" ~ 12:00:00")]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.abnormal_sign_in_fee?S.abnormal_sign_in_fee:0,"MONEY"==S.abnormal_sign_in_fee_type?"元":"%"])])]),o("div",{class:W},[o("h4",null,[c("迟到:")]),o("p",null,[c("课程"),o("span",null,[c("开始后"),S.absence_sign_in?S.absence_sign_in:0,c("分钟")]),c("内签到")]),o("p",null,[c("时间段:12:00:00 ~ "),q("12:00:00",S.absence_sign_in)]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.late_sign_in_fee?S.late_sign_in_fee:0,"MONEY"==S.late_sign_in_fee_type?"元":"%"])])]),o("div",{class:W},[o("h4",null,[c("旷课:")]),o("p",null,[c("课程"),o("span",null,[c("开始后"),S.absence_sign_in?S.absence_sign_in:0,c("分钟")]),c("至课程"),o("span",null,[c("结束前")]),c("签到")]),o("p",null,[c("时间段:"),q("12:00:00",S.absence_sign_in),c("后签到(含"),q("12:00:00",S.absence_sign_in),c(")")]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.absence_sign_in_fee?S.absence_sign_in_fee:0,"MONEY"==S.absence_sign_in_fee_type?"元":"%"])])]),o("div",{class:W},[o("h4",null,[c("未签到:")]),o("p",null,[c("未进行【签到】操作")]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.not_sign_in_fee?S.not_sign_in_fee:0," ","MONEY"==S.not_sign_in_fee_type?"元":"%"])])])])]},title:function(){return o("div",{class:y},[o("span",{class:C},null),c("签到规则")])}}),o(v,{name:"2",border:!1,class:k},{default:function(){return[o("div",{class:E,style:{height:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[o("div",{class:w},[o("img",{src:b,alt:"",class:x},null),o("p",null,[c("以课程时间12:00:00 ~ 13:00:00为例")])]),o("div",{class:W},[o("h4",null,[c("可签退时间范围:")]),o("p",null,[c("课程"),o("span",null,[c("结束后")]),c("至课程当天24点前")]),o("p",null,[c("时间段:12:00:00 ~ 23:59:59")])]),o("div",{class:W},[o("h4",null,[c("正常签退:")]),o("p",null,[c("课程"),o("span",null,[c("结束后")]),c("至课程"),o("span",null,[c("结束后"),S.normal_sign_out?S.normal_sign_out:0,c("分钟")]),c("签退 "),o("br",null,null),c("GPS定位点在教学点"),o("span",null,[S.scope_of_attendance?S.scope_of_attendance:0,c("米内")])]),o("p",null,[c("时间段:13:00:00 ~ "),q("13:00:00",S.normal_sign_out)])]),o("div",{class:W},[o("h4",null,[c("早退:")]),o("p",null,[c("课程"),o("span",null,[c("结束前"),S.premise_sign_out?S.premise_sign_out:0,c("分钟")]),c("内签退")]),o("p",null,[c("时间段:"),f("13:00:00",S.premise_sign_out),c("前签退(含"),f("13:00:00",S.premise_sign_out),c(")")," "]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.premise_sign_out_fee?S.premise_sign_out_fee:0,"MONEY"==S.premise_sign_out_fee_type?"元":"%"])])]),o("div",{class:W},[o("h4",null,[c("异常签退:")]),o("p",null,[c("课程"),o("span",null,[c("结束前"),S.abnormal_sign_out?S.abnormal_sign_out:0,c("分钟")]),c("至"),o("span",null,[c("课程结束前")]),o("br",null,null),c(" 或GPS定位点在教学点"),o("span",null,[" ",S.scope_of_attendance?S.scope_of_attendance:0,c("米内")])]),o("p",null,[c("时间段:"),f("13:00:00",S.abnormal_sign_out),c(" ~ 12:59:59")]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.abnormal_sign_out_fee?S.abnormal_sign_out_fee:0," ","MONEY"==S.abnormal_sign_out_fee_type?"元":"%"])])]),o("div",{class:W},[o("h4",null,[c("未签退:")]),o("p",null,[c("未进行【签退】操作")]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("-"),S.not_sign_out_fee?S.not_sign_out_fee:0,"MONEY"==S.not_sign_out_fee_type?"元":"%"])])])])]},title:function(){return o("div",{class:y},[o("span",{class:C},null),c("签退规则")])}}),o(v,{name:"3",border:!1},{default:function(){return[o("div",{class:E,style:{maxHeight:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[o("div",{class:W},[o("p",null,[o("span",null,[c("若签到时间在正常范围内"),o("br",null,null),c(" 但同时GPS定位在教学点"),S.scope_of_attendance?S.scope_of_attendance:0,c("米外")])]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("- "),S.sign_in_attendance?S.sign_in_attendance:0,"MONEY"==S.sign_in_attendance_type?"元":"%"])])]),o("div",{class:W},[o("p",null,[o("span",null,[c("若签退时间在正常范围内 "),o("br",null,null),c(" 但同时GPS定位在教学点"),S.scope_of_attendance?S.scope_of_attendance:0,c("米外")])]),o("p",null,[c("扣除训练补助:"),o("span",null,[c("- "),S.sign_out_attendance?S.sign_out_attendance:0,"MONEY"==S.sign_out_attendance_type?"元":"%"])])])])]},title:function(){return o("div",{class:y},[o("span",{class:C},null),c("GPS定位")])}})]}})])])}}}))}}}))}();