1 |
- import{d as A,ah as E,r as p,R as g,$ as d,_ as m,an as f,c as u,aj as D,q as n,F as C,m as h,g as v}from"./index.1c621181.js";import{O as b}from"./index.b491c24a.js";import{r as s,a as F}from"./date.8db87560.js";import{C as q,a as i}from"./index.b9bf0df2.js";import"./index.fd5ae97b.js";var c="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=";const x="_attCollapseWrap_qq31t_1",W="_collapseTitle_qq31t_41",k="_dot_qq31t_48",y="_mainMsg_qq31t_55",M="_clockIcon_qq31t_67",N="_textWrap_qq31t_72",O="_sticky_qq31t_92",S="_collapseWrap_qq31t_95";var e={attCollapseWrap:x,collapseTitle:W,dot:k,mainMsg:y,clockIcon:M,textWrap:N,sticky:O,collapseWrap:S},I=A({name:"attendance-rule",setup(){const r=E(),t=p({activeNames:"",wrapHeight:0}),o=g(),l=p({}),B=async()=>{try{const{data:a}=await h.get(v.platformApi+"/courseSchedule/getAttendanceConfig",{params:{courseScheduleId:r.query.courseScheduleId,group:"ATTENDANCE"}});a&&a.forEach(_=>{l[_.paramName]=_.paramValue}),console.log(l)}catch(a){console.log(a)}};return d(()=>{B(),m(()=>{setTimeout(()=>{console.log(o.value);const{height:a,top:_}=f(o.value);t.wrapHeight=a+_+45},100)})}),()=>u(C,null,[u(b,{position:"top",background:"#F8F8F8"},{default:()=>[u(D,null,null)]}),u("div",{class:e.attCollapseWrap,ref:o},[u(q,{modelValue:t.activeNames,"onUpdate:modelValue":a=>t.activeNames=a,accordion:!0},{default:()=>[u(i,{name:"1",border:!1},{default:()=>[u("div",{class:e.collapseWrap,style:{height:`calc(100vh - ${t.wrapHeight}px)`}},[u("div",{class:e.mainMsg},[u("img",{src:c,alt:"",class:e.clockIcon},null),u("p",null,[n("\u4EE5\u8BFE\u7A0B\u65F6\u95F412:00:00 ~ 13:00:00\u4E3A\u4F8B")])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u53EF\u7B7E\u5230\u65F6\u95F4\u8303\u56F4\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u524D"),l.normal_sign_in_start?l.normal_sign_in_start:0,n("\u5206\u949F")]),n("\u81F3\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u524D")])]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A"),s("12:00:00",l.normal_sign_in_start),n(" ~13:00:00")," "])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u6B63\u5E38\u7B7E\u5230\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u524D"),l.normal_sign_in_start?l.normal_sign_in_start:0,n("\u5206\u949F")]),n("\u81F3\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u524D"),l.normal_sign_in_end?l.normal_sign_in_end:0,n("\u5206\u949F")]),n("\u7B7E\u5230 "),u("br",null,null),n("GPS\u5B9A\u4F4D\u70B9\u5728\u6559\u5B66\u70B9"),u("span",null,[l.scope_of_attendance?l.scope_of_attendance:0,n("\u7C73\u5185")])]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A"),s("12:00:00",l.normal_sign_in_start),n(" ~")," ",s("12:00:00",l.normal_sign_in_end)])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u5F02\u5E38\u7B7E\u5230\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u524D"),l.normal_sign_in_end?l.normal_sign_in_end:0,n("\u5206\u949F")]),n("\u540E\u81F3\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u524D")]),n("\u7B7E\u5230"),u("br",null,null),n("GPS\u5B9A\u4F4D\u70B9\u5728\u6559\u5B66\u70B9"),u("span",null,[l.scope_of_attendance?l.scope_of_attendance:0,n("\u7C73\u5185")])]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A"),s("12:00:00",l.abnormal_sign_in),n(" ~ 12:00:00")]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.abnormal_sign_in_fee?l.abnormal_sign_in_fee:0,l.abnormal_sign_in_fee_type=="MONEY"?"\u5143":"%"])])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u8FDF\u5230\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u540E"),l.absence_sign_in?l.absence_sign_in:0,n("\u5206\u949F")]),n("\u5185\u7B7E\u5230")]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A12:00:00 ~ "),F("12:00:00",l.absence_sign_in)]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.late_sign_in_fee?l.late_sign_in_fee:0,l.late_sign_in_fee_type=="MONEY"?"\u5143":"%"])])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u65F7\u8BFE\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u5F00\u59CB\u540E"),l.absence_sign_in?l.absence_sign_in:0,n("\u5206\u949F")]),n("\u81F3\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u524D")]),n("\u7B7E\u5230")]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A"),F("12:00:00",l.absence_sign_in),n("\u540E\u7B7E\u5230\uFF08\u542B"),F("12:00:00",l.absence_sign_in),n("\uFF09")]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.absence_sign_in_fee?l.absence_sign_in_fee:0,l.absence_sign_in_fee_type=="MONEY"?"\u5143":"%"])])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u672A\u7B7E\u5230\uFF1A")]),u("p",null,[n("\u672A\u8FDB\u884C\u3010\u7B7E\u5230\u3011\u64CD\u4F5C")]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.not_sign_in_fee?l.not_sign_in_fee:0," ",l.not_sign_in_fee_type=="MONEY"?"\u5143":"%"])])])])],title:()=>u("div",{class:e.collapseTitle},[u("span",{class:e.dot},null),n("\u7B7E\u5230\u89C4\u5219")])}),u(i,{name:"2",border:!1,class:e.sticky},{default:()=>[u("div",{class:e.collapseWrap,style:{height:`calc(100vh - ${t.wrapHeight}px)`}},[u("div",{class:e.mainMsg},[u("img",{src:c,alt:"",class:e.clockIcon},null),u("p",null,[n("\u4EE5\u8BFE\u7A0B\u65F6\u95F412:00:00 ~ 13:00:00\u4E3A\u4F8B")])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u53EF\u7B7E\u9000\u65F6\u95F4\u8303\u56F4\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u540E")]),n("\u81F3\u8BFE\u7A0B\u5F53\u592924\u70B9\u524D")]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A12:00:00 ~ 23:59:59")])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u6B63\u5E38\u7B7E\u9000\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u540E")]),n("\u81F3\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u540E"),l.normal_sign_out?l.normal_sign_out:0,n("\u5206\u949F")]),n("\u7B7E\u9000 "),u("br",null,null),n("GPS\u5B9A\u4F4D\u70B9\u5728\u6559\u5B66\u70B9"),u("span",null,[l.scope_of_attendance?l.scope_of_attendance:0,n("\u7C73\u5185")])]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A13:00:00 ~ "),F("13:00:00",l.normal_sign_out)])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u65E9\u9000\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u524D"),l.premise_sign_out?l.premise_sign_out:0,n("\u5206\u949F")]),n("\u5185\u7B7E\u9000")]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A"),s("13:00:00",l.premise_sign_out),n("\u524D\u7B7E\u9000\uFF08\u542B"),s("13:00:00",l.premise_sign_out),n("\uFF09")," "]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.premise_sign_out_fee?l.premise_sign_out_fee:0,l.premise_sign_out_fee_type=="MONEY"?"\u5143":"%"])])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u5F02\u5E38\u7B7E\u9000\uFF1A")]),u("p",null,[n("\u8BFE\u7A0B"),u("span",null,[n("\u7ED3\u675F\u524D"),l.abnormal_sign_out?l.abnormal_sign_out:0,n("\u5206\u949F")]),n("\u81F3"),u("span",null,[n("\u8BFE\u7A0B\u7ED3\u675F\u524D")]),u("br",null,null),n(" \u6216GPS\u5B9A\u4F4D\u70B9\u5728\u6559\u5B66\u70B9"),u("span",null,[" ",l.scope_of_attendance?l.scope_of_attendance:0,n("\u7C73\u5185")])]),u("p",null,[n("\u65F6\u95F4\u6BB5\uFF1A"),s("13:00:00",l.abnormal_sign_out),n(" ~ 12:59:59")]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.abnormal_sign_out_fee?l.abnormal_sign_out_fee:0," ",l.abnormal_sign_out_fee_type=="MONEY"?"\u5143":"%"])])]),u("div",{class:e.textWrap},[u("h4",null,[n("\u672A\u7B7E\u9000\uFF1A")]),u("p",null,[n("\u672A\u8FDB\u884C\u3010\u7B7E\u9000\u3011\u64CD\u4F5C")]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("-"),l.not_sign_out_fee?l.not_sign_out_fee:0,l.not_sign_out_fee_type=="MONEY"?"\u5143":"%"])])])])],title:()=>u("div",{class:e.collapseTitle},[u("span",{class:e.dot},null),n("\u7B7E\u9000\u89C4\u5219")])}),u(i,{name:"3",border:!1},{default:()=>[u("div",{class:e.collapseWrap,style:{maxHeight:`calc(100vh - ${t.wrapHeight}px)`}},[u("div",{class:e.textWrap},[u("p",null,[u("span",null,[n("\u82E5\u7B7E\u5230\u65F6\u95F4\u5728\u6B63\u5E38\u8303\u56F4\u5185"),u("br",null,null),n(" \u4F46\u540C\u65F6GPS\u5B9A\u4F4D\u5728\u6559\u5B66\u70B9"),l.scope_of_attendance?l.scope_of_attendance:0,n("\u7C73\u5916")])]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("- "),l.sign_in_attendance?l.sign_in_attendance:0,l.sign_in_attendance_type=="MONEY"?"\u5143":"%"])])]),u("div",{class:e.textWrap},[u("p",null,[u("span",null,[n("\u82E5\u7B7E\u9000\u65F6\u95F4\u5728\u6B63\u5E38\u8303\u56F4\u5185 "),u("br",null,null),n(" \u4F46\u540C\u65F6GPS\u5B9A\u4F4D\u5728\u6559\u5B66\u70B9"),l.scope_of_attendance?l.scope_of_attendance:0,n("\u7C73\u5916")])]),u("p",null,[n("\u6263\u9664\u8BAD\u7EC3\u8865\u52A9\uFF1A"),u("span",null,[n("- "),l.sign_out_attendance?l.sign_out_attendance:0,l.sign_out_attendance_type=="MONEY"?"\u5143":"%"])])])])],title:()=>u("div",{class:e.collapseTitle},[u("span",{class:e.dot},null),n("GPS\u5B9A\u4F4D")])})]})])])}});export{I as default};
|