1 |
- !function(){function n(n,e,l,t,a,r,s){try{var o=n[r](s),i=o.value}catch(_){return void l(_)}o.done?e(i):Promise.resolve(i).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.90c82f08.js","./index-legacy.84457c4c.js","./date-legacy.ceea55a9.js","./index-legacy.e153d66c.js","./index-legacy.f3e5e283.js"],(function(e){"use strict";var l,t,a,r,s,o,i,_,c,u,p,m,d,g,f,q,h,v;return{setters:[function(n){l=n.d,t=n.ah,a=n.r,r=n.R,s=n.$,o=n._,i=n.an,_=n.c,c=n.aj,u=n.q,p=n.F,m=n.m,d=n.g},function(n){g=n.O},function(n){f=n.r,q=n.a},function(n){h=n.C,v=n.a},function(){}],execute:function(){var A="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=",b="_attCollapseWrap_qq31t_1",C="_collapseTitle_qq31t_41",w="_dot_qq31t_48",x="_mainMsg_qq31t_55",W="_clockIcon_qq31t_67",k="_textWrap_qq31t_72",y="_sticky_qq31t_92",S="_collapseWrap_qq31t_95";e("default",l({name:"attendance-rule",setup:function(){var e=t(),l=a({activeNames:"",wrapHeight:0}),G=r(),E=a({}),F=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,m.get(d.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,r){var s=l.apply(e,t);function o(e){n(s,a,r,o,i,"next",e)}function i(e){n(s,a,r,o,i,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();return s((function(){F(),o((function(){setTimeout((function(){console.log(G.value);var n=i(G.value),e=n.height,t=n.top;l.wrapHeight=e+t+45}),100)}))})),function(){return _(p,null,[_(g,{position:"top",background:"#F8F8F8"},{default:function(){return[_(c,null,null)]}}),_("div",{class:b,ref:G},[_(h,{modelValue:l.activeNames,"onUpdate:modelValue":function(n){return l.activeNames=n},accordion:!0},{default:function(){return[_(v,{name:"1",border:!1},{default:function(){return[_("div",{class:S,style:{height:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[_("div",{class:x},[_("img",{src:A,alt:"",class:W},null),_("p",null,[u("以课程时间12:00:00 ~ 13:00:00为例")])]),_("div",{class:k},[_("h4",null,[u("可签到时间范围:")]),_("p",null,[u("课程"),_("span",null,[u("开始前"),E.normal_sign_in_start?E.normal_sign_in_start:0,u("分钟")]),u("至课程"),_("span",null,[u("结束前")])]),_("p",null,[u("时间段:"),f("12:00:00",E.normal_sign_in_start),u(" ~13:00:00")," "])]),_("div",{class:k},[_("h4",null,[u("正常签到:")]),_("p",null,[u("课程"),_("span",null,[u("开始前"),E.normal_sign_in_start?E.normal_sign_in_start:0,u("分钟")]),u("至课程"),_("span",null,[u("开始前"),E.normal_sign_in_end?E.normal_sign_in_end:0,u("分钟")]),u("签到 "),_("br",null,null),u("GPS定位点在教学点"),_("span",null,[E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),_("p",null,[u("时间段:"),f("12:00:00",E.normal_sign_in_start),u(" ~")," ",f("12:00:00",E.normal_sign_in_end)])]),_("div",{class:k},[_("h4",null,[u("异常签到:")]),_("p",null,[u("课程"),_("span",null,[u("开始前"),E.normal_sign_in_end?E.normal_sign_in_end:0,u("分钟")]),u("后至课程"),_("span",null,[u("开始前")]),u("签到"),_("br",null,null),u("GPS定位点在教学点"),_("span",null,[E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),_("p",null,[u("时间段:"),f("12:00:00",E.abnormal_sign_in),u(" ~ 12:00:00")])]),_("div",{class:k},[_("h4",null,[u("迟到:")]),_("p",null,[u("课程"),_("span",null,[u("开始后"),E.absence_sign_in?E.absence_sign_in:0,u("分钟")]),u("内签到")]),_("p",null,[u("时间段:12:00:00 ~ "),q("12:00:00",E.absence_sign_in)])]),_("div",{class:k},[_("h4",null,[u("旷课:")]),_("p",null,[u("课程"),_("span",null,[u("开始后"),E.absence_sign_in?E.absence_sign_in:0,u("分钟")]),u("至课程"),_("span",null,[u("结束前")]),u("签到")]),_("p",null,[u("时间段:"),q("12:00:00",E.absence_sign_in),u("后签到(含"),q("12:00:00",E.absence_sign_in),u(")")])]),_("div",{class:k},[_("h4",null,[u("未签到:")]),_("p",null,[u("未进行【签到】操作")])])])]},title:function(){return _("div",{class:C},[_("span",{class:w},null),u("签到规则")])}}),_(v,{name:"2",border:!1,class:y},{default:function(){return[_("div",{class:S,style:{height:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[_("div",{class:x},[_("img",{src:A,alt:"",class:W},null),_("p",null,[u("以课程时间12:00:00 ~ 13:00:00为例")])]),_("div",{class:k},[_("h4",null,[u("可签退时间范围:")]),_("p",null,[u("课程"),_("span",null,[u("结束后")]),u("至课程当天24点前")]),_("p",null,[u("时间段:12:00:00 ~ 23:59:59")])]),_("div",{class:k},[_("h4",null,[u("正常签退:")]),_("p",null,[u("课程"),_("span",null,[u("结束后")]),u("至课程"),_("span",null,[u("结束后"),E.normal_sign_out?E.normal_sign_out:0,u("分钟")]),u("签退 "),_("br",null,null),u("GPS定位点在教学点"),_("span",null,[E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),_("p",null,[u("时间段:13:00:00 ~ "),q("13:00:00",E.normal_sign_out)])]),_("div",{class:k},[_("h4",null,[u("早退:")]),_("p",null,[u("课程"),_("span",null,[u("结束前"),E.premise_sign_out?E.premise_sign_out:0,u("分钟")]),u("内签退")]),_("p",null,[u("时间段:"),f("13:00:00",E.premise_sign_out),u("前签退(含"),f("13:00:00",E.premise_sign_out),u(")")," "])]),_("div",{class:k},[_("h4",null,[u("异常签退:")]),_("p",null,[u("课程"),_("span",null,[u("结束前"),E.abnormal_sign_out?E.abnormal_sign_out:0,u("分钟")]),u("至"),_("span",null,[u("课程结束前")]),_("br",null,null),u(" 或GPS定位点在教学点"),_("span",null,[" ",E.scope_of_attendance?E.scope_of_attendance:0,u("米内")])]),_("p",null,[u("时间段:"),f("13:00:00",E.abnormal_sign_out),u(" ~ 12:59:59")])]),_("div",{class:k},[_("h4",null,[u("未签退:")]),_("p",null,[u("未进行【签退】操作")])])])]},title:function(){return _("div",{class:C},[_("span",{class:w},null),u("签退规则")])}}),_(v,{name:"3",border:!1},{default:function(){return[_("div",{class:S,style:{maxHeight:"calc(100vh - ".concat(l.wrapHeight,"px)")}},[_("div",{class:k},[_("p",null,[_("span",null,[u("若签到时间在正常范围内"),_("br",null,null),u(" 但同时GPS定位在教学点"),E.scope_of_attendance?E.scope_of_attendance:0,u("米外")])])]),_("div",{class:k},[_("p",null,[_("span",null,[u("若签退时间在正常范围内 "),_("br",null,null),u(" 但同时GPS定位在教学点"),E.scope_of_attendance?E.scope_of_attendance:0,u("米外")])])])])]},title:function(){return _("div",{class:C},[_("span",{class:w},null),u("GPS定位")])}})]}})])])}}}))}}}))}();
|