index-legacy.0f5d7d8b.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.f6cd85d1.js","./date-legacy.eae9a970.js","./index-legacy.d466e51b.js","./index-legacy.daebca5d.js"],(function(e){"use strict";var l,t,a,_,s,i,r,o,u,c,p,g,m,d,f,q;return{setters:[function(n){l=n.d,t=n.ah,a=n.r,_=n.R,s=n.$,i=n._,r=n.am,o=n.c,u=n.q,c=n.F,p=n.m,g=n.f},function(n){m=n.r,d=n.a},function(n){f=n.C,q=n.a},function(){}],execute:function(){var h="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=",v="_attCollapseWrap_qq31t_1",b="_collapseTitle_qq31t_41",A="_dot_qq31t_48",y="_mainMsg_qq31t_55",C="_clockIcon_qq31t_67",w="_textWrap_qq31t_72",W="_sticky_qq31t_92",x="_collapseWrap_qq31t_95";e("default",l({name:"attendance-rule",setup:function(){var e=t(),l=a({activeNames:"",wrapHeight:0}),k=_(),E=a({}),N=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,p.get(g.platformApi+"/courseSchedule/getAttendanceConfig",{params:{courseScheduleId:e.query.courseScheduleId,group:"ATTENDANCE"}});case 3:l=n.sent,(t=l.data)&&t.forEach((function(n){E[n.paramName]=n.paramValue})),console.log(E),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(){N(),i((function(){setTimeout((function(){console.log(k.value);var n=r(k.value),e=n.height,t=n.top;l.wrapHeight=e+t+45}),100)}))})),function(){return o(c,null,[o("div",{class:v,ref:k},[o(f,{modelValue:l.activeNames,"onUpdate:modelValue":function(n){return l.activeNames=n},accordion:!0},{default:function(){return[o(q,{name:"1",border:!1},{default:function(){return[o("div",{class:x,style:{height:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[o("div",{class:y},[o("img",{src:h,alt:"",class:C},null),o("p",null,[u("以课程时间12:00:00 ~ 13:00:00为例")])]),o("div",{class:w},[o("h4",null,[u("可签到时间范围:")]),o("p",null,[u("课程"),o("span",null,[u("开始前"),E.normal_sign_in_start?E.normal_sign_in_start:0,u("分钟")]),u("至课程"),o("span",null,[u("结束前")])]),o("p",null,[u("时间段:"),m("12:00:00",E.normal_sign_in_start),u(" ~13:00:00")," "])]),o("div",{class:w},[o("h4",null,[u("正常签到:")]),o("p",null,[u("课程"),o("span",null,[u("开始前"),E.normal_sign_in_start?E.normal_sign_in_start:0,u("分钟")]),u("至课程"),o("span",null,[u("开始前"),E.normal_sign_in_end?E.normal_sign_in_end:0,u("分钟")]),u("签到 "),o("br",null,null),u("GPS定位点在教学点"),o("span",null,[E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),o("p",null,[u("时间段:"),m("12:00:00",E.normal_sign_in_start),u(" ~")," ",m("12:00:00",E.normal_sign_in_end)])]),o("div",{class:w},[o("h4",null,[u("异常签到:")]),o("p",null,[u("课程"),o("span",null,[u("开始前"),E.normal_sign_in_end?E.normal_sign_in_end:0,u("分钟")]),u("后至课程"),o("span",null,[u("开始前")]),u("签到"),o("br",null,null),u("GPS定位点在教学点"),o("span",null,[E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),o("p",null,[u("时间段:"),m("12:00:00",E.abnormal_sign_in),u(" ~ 12:00:00")]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.abnormal_sign_in_fee?E.abnormal_sign_in_fee:0,"MONEY"==E.abnormal_sign_in_fee_type?"元":"%"])])]),o("div",{class:w},[o("h4",null,[u("迟到:")]),o("p",null,[u("课程"),o("span",null,[u("开始后"),E.absence_sign_in?E.absence_sign_in:0,u("分钟")]),u("内签到")]),o("p",null,[u("时间段:12:00:00 ~ "),d("12:00:00",E.absence_sign_in)]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.late_sign_in_fee?E.late_sign_in_fee:0,"MONEY"==E.late_sign_in_fee_type?"元":"%"])])]),o("div",{class:w},[o("h4",null,[u("旷课:")]),o("p",null,[u("课程"),o("span",null,[u("开始后"),E.absence_sign_in?E.absence_sign_in:0,u("分钟")]),u("至课程"),o("span",null,[u("结束前")]),u("签到")]),o("p",null,[u("时间段:"),d("12:00:00",E.absence_sign_in),u("后签到(含"),d("12:00:00",E.absence_sign_in),u(")")]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.absence_sign_in_fee?E.absence_sign_in_fee:0,"MONEY"==E.absence_sign_in_fee_type?"元":"%"])])]),o("div",{class:w},[o("h4",null,[u("未签到:")]),o("p",null,[u("未进行【签到】操作")]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.not_sign_in_fee?E.not_sign_in_fee:0," ","MONEY"==E.not_sign_in_fee_type?"元":"%"])])])])]},title:function(){return o("div",{class:b},[o("span",{class:A},null),u("签到规则")])}}),o(q,{name:"2",border:!1,class:W},{default:function(){return[o("div",{class:x,style:{height:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[o("div",{class:y},[o("img",{src:h,alt:"",class:C},null),o("p",null,[u("以课程时间12:00:00 ~ 13:00:00为例")])]),o("div",{class:w},[o("h4",null,[u("可签退时间范围:")]),o("p",null,[u("课程"),o("span",null,[u("结束后")]),u("至课程当天24点前")]),o("p",null,[u("时间段:12:00:00 ~ 23:59:59")])]),o("div",{class:w},[o("h4",null,[u("正常签退:")]),o("p",null,[u("课程"),o("span",null,[u("结束后")]),u("至课程"),o("span",null,[u("结束后"),E.normal_sign_out?E.normal_sign_out:0,u("分钟")]),u("签退 "),o("br",null,null),u("GPS定位点在教学点"),o("span",null,[E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),o("p",null,[u("时间段:13:00:00 ~ "),d("13:00:00",E.normal_sign_out)])]),o("div",{class:w},[o("h4",null,[u("早退:")]),o("p",null,[u("课程"),o("span",null,[u("结束前"),E.premise_sign_out?E.premise_sign_out:0,u("分钟")]),u("内签退")]),o("p",null,[u("时间段:"),m("13:00:00",E.premise_sign_out),u("前签退(含"),m("13:00:00",E.premise_sign_out),u(")")," "]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.premise_sign_out_fee?E.premise_sign_out_fee:0,"MONEY"==E.premise_sign_out_fee_type?"元":"%"])])]),o("div",{class:w},[o("h4",null,[u("异常签退:")]),o("p",null,[u("课程"),o("span",null,[u("结束前"),E.abnormal_sign_out?E.abnormal_sign_out:0,u("分钟")]),u("至"),o("span",null,[u("课程结束前")]),o("br",null,null),u(" 或GPS定位点在教学点"),o("span",null,[" ",E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),o("p",null,[u("时间段:"),m("13:00:00",E.abnormal_sign_out),u(" ~ 12:59:59")]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.abnormal_sign_out_fee?E.abnormal_sign_out_fee:0," ","MONEY"==E.abnormal_sign_out_fee_type?"元":"%"])])]),o("div",{class:w},[o("h4",null,[u("未签退:")]),o("p",null,[u("未进行【签退】操作")]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("-"),E.not_sign_out_fee?E.not_sign_out_fee:0,"MONEY"==E.not_sign_out_fee_type?"元":"%"])])])])]},title:function(){return o("div",{class:b},[o("span",{class:A},null),u("签退规则")])}}),o(q,{name:"3",border:!1},{default:function(){return[o("div",{class:x,style:{maxHeight:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[o("div",{class:w},[o("p",null,[o("span",null,[u("若签到时间在正常范围内"),o("br",null,null),u(" 但同时GPS定位在教学点"),E.scope_of_attendance?E.scope_of_attendance:0,u("米外")])]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("- "),E.sign_in_attendance?E.sign_in_attendance:0,"MONEY"==E.sign_in_attendance_type?"元":"%"])])]),o("div",{class:w},[o("p",null,[o("span",null,[u("若签退时间在正常范围内 "),o("br",null,null),u(" 但同时GPS定位在教学点"),E.scope_of_attendance?E.scope_of_attendance:0,u("米外")])]),o("p",null,[u("扣除训练补助:"),o("span",null,[u("- "),E.sign_out_attendance?E.sign_out_attendance:0,"MONEY"==E.sign_out_attendance_type?"元":"%"])])])])]},title:function(){return o("div",{class:b},[o("span",{class:A},null),u("GPS定位")])}})]}})])])}}}))}}}))}();