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