1 |
- !function(){function l(l,n,t,e,a,r,s){try{var u=l[r](s),i=u.value}catch(o){return void t(o)}u.done?n(i):Promise.resolve(i).then(e,a)}var n=document.createElement("style");n.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(n),System.register(["./index-legacy.48c8d62c.js","./index-legacy.fcc49457.js","./index-legacy.087e0425.js"],(function(n){"use strict";var t,e,a,r,s,u,i,o,p,c,_,m,d;return{setters:[function(l){t=l.ah,e=l.d,a=l.r,r=l.R,s=l.$,u=l._,i=l.am,o=l.c,p=l.q,c=l.F,_=l.m},function(l){m=l.C,d=l.a},function(){}],execute:function(){var q="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=",g="_attCollapseWrap_qq31t_1",f="_collapseTitle_qq31t_41",h="_dot_qq31t_48",v="_mainMsg_qq31t_55",A="_clockIcon_qq31t_67",b="_textWrap_qq31t_72",w="_sticky_qq31t_92",C="_collapseWrap_qq31t_95";function W(l){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=t("2021-12-17 "+l).add(n,"minute");return e.format("HH:mm:ss")}function k(l){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=t("2021-12-17 "+l).subtract(n,"minute");return e.format("HH:mm:ss")}n("default",e({name:"attendance-rule",setup:function(){var n=a({activeNames:"",wrapHeight:0}),t=r(),e=a({}),x=function(){var n,t=(n=regeneratorRuntime.mark((function l(){var n,t;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,_.post("/api-backend/sysParamConfig/page",{data:{page:1,rows:999,group:"ATTENDANCE"}});case 3:n=l.sent,(t=n.data).rows&&t.rows.forEach((function(l){e[l.id]=l.paramValue})),console.log(e),l.next=12;break;case 9:l.prev=9,l.t0=l.catch(0),console.log(l.t0);case 12:case"end":return l.stop()}}),l,null,[[0,9]])})),function(){var t=this,e=arguments;return new Promise((function(a,r){var s=n.apply(t,e);function u(n){l(s,a,r,u,i,"next",n)}function i(n){l(s,a,r,u,i,"throw",n)}u(void 0)}))});return function(){return t.apply(this,arguments)}}();return s((function(){x(),u((function(){setTimeout((function(){console.log(t.value);var l=i(t.value),e=l.height,a=l.top;n.wrapHeight=e+a+45}),100)}))})),function(){return o(c,null,[o("div",{class:g,ref:t},[o(m,{modelValue:n.activeNames,"onUpdate:modelValue":function(l){return n.activeNames=l},accordion:!0},{default:function(){return[o(d,{name:"1",border:!1},{default:function(){return[o("div",{class:C,style:{height:"calc(100vh - ".concat(n.wrapHeight,"px)")}},[o("div",{class:v},[o("img",{src:q,alt:"",class:A},null),o("p",null,[p("以课程时间12:00:00 ~ 13:00:00为例")])]),o("div",{class:b},[o("h4",null,[p("可签到时间范围:")]),o("p",null,[p("课程"),o("span",null,[p("开始前"),e[15]?e[15]:0,p("分钟")]),p("至课程"),o("span",null,[p("结束前")])]),o("p",null,[p("时间段:"),k("12:00:00",e[15]),p(" ~13:00:00 ")])]),o("div",{class:b},[o("h4",null,[p("正常签到:")]),o("p",null,[p("课程"),o("span",null,[p("开始前"),e[15]?e[15]:0,p("分钟")]),p("至课程"),o("span",null,[p("开始前"),e[16]?e[16]:0,p("分钟")]),p("签到 "),o("br",null,null),p("GPS定位点在教学点"),o("span",null,[e[10]?e[10]:0,p("米内")])]),o("p",null,[p("时间段:"),k("12:00:00",e[15]),p(" ~")," ",k("12:00:00",e[16])])]),o("div",{class:b},[o("h4",null,[p("异常签到:")]),o("p",null,[p("课程"),o("span",null,[p("开始前"),e[17]?e[17]:0,p("分钟")]),p("后至课程"),o("span",null,[p("开始前")]),p("签到"),o("br",null,null),p("GPS定位点在教学点"),o("span",null,[e[10]?e[10]:0,p("米内")])]),o("p",null,[p("时间段:"),k("12:00:00",e[17]),p(" ~ 12:00:00")]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[18]?e[18]:0,"MONEY"==e[19]?"元":"%"])])]),o("div",{class:b},[o("h4",null,[p("迟到:")]),o("p",null,[p("课程"),o("span",null,[p("开始后"),e[20]?e[20]:0,p("分钟")]),p("内签到")]),o("p",null,[p("时间段:12:00:00 ~ "),W("12:00:00",e[20])]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[21]?e[21]:0,"MONEY"==e[22]?"元":"%"])])]),o("div",{class:b},[o("h4",null,[p("旷课:")]),o("p",null,[p("课程"),o("span",null,[p("开始后"),e[23]?e[23]:0,p("分钟")]),p("至课程"),o("span",null,[p("结束前")]),p("签到")]),o("p",null,[p("时间段:"),W("12:00:00",e[23]),p("后签到(含"),W("12:00:00",e[23]),p(")")]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[24]?e[24]:0,"MONEY"==e[25]?"元":"%"])])]),o("div",{class:b},[o("h4",null,[p("未签到:")]),o("p",null,[p("未进行【签到】操作")]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[26]?e[26]:0,p(" "),"MONEY"==e[27]?"元":"%"])])])])]},title:function(){return o("div",{class:f},[o("span",{class:h},null),p("签到规则")])}}),o(d,{name:"2",border:!1,class:w},{default:function(){return[o("div",{class:C,style:{height:"calc(100vh - ".concat(n.wrapHeight,"px)")}},[o("div",{class:v},[o("img",{src:q,alt:"",class:A},null),o("p",null,[p("以课程时间12:00:00 ~ 13:00:00为例")])]),o("div",{class:b},[o("h4",null,[p("可签退时间范围:")]),o("p",null,[p("课程"),o("span",null,[p("结束后")]),p("至课程当天24点前")]),o("p",null,[p("时间段:12:00:00 ~ 23:59:59")])]),o("div",{class:b},[o("h4",null,[p("正常签退:")]),o("p",null,[p("课程"),o("span",null,[p("结束后")]),p("至课程"),o("span",null,[p("结束后"),e[28]?e[28]:0,p("分钟")]),p("签退 "),o("br",null,null),p("GPS定位点在教学点"),o("span",null,[e[10]?e[10]:0,p("米内")])]),o("p",null,[p("时间段:13:00:00 ~ "),W("13:00:00",e[28])])]),o("div",{class:b},[o("h4",null,[p("早退:")]),o("p",null,[p("课程"),o("span",null,[p("结束前"),e[32]?e[32]:0,p("分钟")]),p("内签退")]),o("p",null,[p("时间段:"),k("13:00:00",e[32]),p("前签退(含"),k("13:00:00",e[32]),p(")")," "]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[33]?e[33]:0,"MONEY"==e[34]?"元":"%"])])]),o("div",{class:b},[o("h4",null,[p("异常签退:")]),o("p",null,[p("课程"),o("span",null,[p("结束前"),e[29]?e[29]:0,p("分钟")]),p("至"),o("span",null,[p("课程结束前")]),o("br",null,null),p(" 或GPS定位点在教学点"),o("span",null,[p(" "),e[10]?e[10]:0,p("米内")])]),o("p",null,[p("时间段:"),k("13:00:00",e[29]),p(" ~ 12:59:59")]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[30]?e[30]:0,p(" "),"MONEY"==e[31]?"元":"%"])])]),o("div",{class:b},[o("h4",null,[p("未签退:")]),o("p",null,[p("未进行【签退】操作")]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("-"),e[45]?e[45]:0,"MONEY"==e[38]?"元":"%"])])])])]},title:function(){return o("div",{class:f},[o("span",{class:h},null),p("签退规则")])}}),o(d,{name:"3",border:!1},{default:function(){return[o("div",{class:C,style:{maxHeight:"calc(100vh - ".concat(n.wrapHeight,"px)")}},[o("div",{class:b},[o("p",null,[o("span",null,[p("若签到时间在正常范围内"),o("br",null,null),p(" 但同时GPS定位在教学点"),e[10]?e[10]:0,p("米外")])]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("- "),e[11]?e[11]:0,"MONEY"==e[12]?"元":"%"])])]),o("div",{class:b},[o("p",null,[o("span",null,[p("若签退时间在正常范围内 "),o("br",null,null),p(" 但同时GPS定位在教学点"),e[10]?e[10]:0,p("米外")])]),o("p",null,[p("扣除训练补助:"),o("span",null,[p("- "),e[13]?e[13]:0,"MONEY"==e[14]?"元":"%"])])])])]},title:function(){return o("div",{class:f},[o("span",{class:h},null),p("GPS定位")])}})]}})])])}}}))}}}))}();
|