1 |
- import{d as W,ag as y,c as e,q as w,a5 as E,F as S,r as I,ah as v,R as i,$ as V,Z as q,ai as X,P as T,aj as L,ak as G,m as B,o as b}from"./index.ffe80dbe.js";import{O as J}from"./index.a0ef77e4.js";import{O as _}from"./index.4ddd16f0.js";import{O as K}from"./index.45b38760.js";import{c as x}from"./clock-icon.6fd57365.js";import{L as z}from"./index.cafcb8b5.js";import{D as Z}from"./index.ff4fe619.js";import{P as D}from"./index.777c6c1a.js";import{O as $}from"./index.c7af3af2.js";import{c as R}from"./index.931cf0b8.js";import{s as Q,e as F}from"./success-icon.245b8694.js";import{d as ee}from"./default-icon.11fd2315.js";import{s as te}from"./index.module.9c7e1cd1.js";import{T as ae,a as U}from"./index.466e527a.js";import"./index.1d5c6f70.js";import"./use-tab-status.5a3cd090.js";import"./utils.18cb7a73.js";import"./index.92ec0bf4.js";import"./index.ea031708.js";import"./index.b4b77b5a.js";import"./index.02edecb1.js";const oe="_itemWrap_qnjru_1",se="_itemWrapTop_qnjru_7",re="_itemWrapTopLeft_qnjru_15",ne="_clockWrap_qnjru_20",ce="_leftTimer_qnjru_29",ie="_itemWrapTopRight_qnjru_35",le="_itemWrapBottom_qnjru_39",ue="_passWrap_qnjru_46",me="_goWrap_qnjru_47",pe="_itemBottomMain_qnjru_56",he="_itemBottomSub_qnjru_65";var m={itemWrap:oe,itemWrapTop:se,itemWrapTopLeft:re,clockWrap:ne,leftTimer:ce,itemWrapTopRight:ie,itemWrapBottom:le,passWrap:ue,goWrap:me,itemBottomMain:pe,itemBottomSub:he},de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAADepJREFUeF7tnXmQF8UVxz8NrisKqKiIkMKoiGIUjERco8YiZWmpqSSm8E5CNAlaeMQoahITE83hfcQbYjR44YGIoCBGJYpGWK+AFom6agiJKJcoIpcyqbe/maV//euenpn9zeIUM//s0dM9Pe/b737TrajDFQRBT2Ao0ATsBuwKbAV0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mXLRcTb5rVe731DKx1Wsh5VyEUIHelV1A3b4Z1pYnCjz2H+WsTEktpFz9lhrPBcqfethtDf42Bv1f4f/BZd1GJbXU+La1GP/zz8DYMdl6RJXwalMrYTNOBCmWWox/29quQqJq0nh46UVY+4Ode1EPysmnZVbbR6BeCQ5JbVehAthkQ5cSULfAKWWH75FseVQg1Up4uL3lke0QW8mmYCWkdMSpMzYFU0I52TYvIuVKcFjmtnkOlyQbS5aA0hGnzNxY0gFkTyDZejUiBYt4WPDWqw4oyebERaR0xKmCNyd2ANkRSLbvjkjJIhyWe/tuB5Rkg/siUDrCFNrg/khjjBZuSY+M/dTdby3LUrf9JGDrWYE4AgVidMhm4BxjzGT/PQUC4nCKllEYmWzJWnQY5ZFfbYwZHTRzKCAeUFTQlHBKcXARZ3QLA0OXyAmIA4rE1+NArPaXKw59qnQW6YxLgsRUXh3iv03LsqTo/66uvCp9hOpzMVlTnYwxSgbmHHk5xKPoZRKrQ7IvEK9tafI9Zfl+l9M3ALjPGLMxym1EBsQDjDz6nsBVQN0oF9kGj1FsahQwxBjzVSHPXzAgHmAUkDxfXXpA6yj6qJAb2wqPlfWk/u0ngPHGmBWVeYZKA+K9mJPkageoWUOdnNI5OwOq94z3WhaFU209sBpQB6t0gvr1ZgLTjTFLC58u84z/A8s6fMNbQci+AAAAAElFTkSuQmCC",fe=W({props:["item"],name:"studentAtt-item",setup(s){const o=y(),a=()=>{o.push({path:"/student-att-day",query:{time:s.item.time}})};return()=>e(S,null,[e("div",{class:m.itemWrap,onClick:a},[e("div",{class:m.itemWrapTop},[e("div",{class:m.itemWrapTopLeft},[e("div",{class:m.clockWrap},[e("img",{src:x,alt:""},null)]),e("p",{class:m.leftTimer},[s.item.time,w(" ")])]),e("div",{class:m.itemWrapTopRight},[e(E,{name:"arrow"},null)])]),e("div",{class:m.itemWrapBottom},[e("div",{class:m.passWrap},[e("img",{src:de,alt:""},null),e("div",null,[e("p",{class:m.itemBottomMain},[s.item.leaveNum]),e("p",{class:m.itemBottomSub},[w("\u8BF7\u5047\u4EBA\u6570")])])]),e("div",{class:m.goWrap},[e("img",{src:ve,alt:""},null),e("div",null,[e("p",{class:m.itemBottomMain},[s.item.truancyNum]),e("p",{class:m.itemBottomSub},[w("\u65F7\u8BFE\u4EBA\u6570")])])])])])])}});function ge(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!G(s)}var Ae=W({name:"attend-student",props:{toHeight:{type:Number,default:0}},setup(s,{emit:o}){y();const a=I({showPopoverTime:!1,showPopoverOrchestra:!1,showPopoverSubject:!1,isClick:!1,actions:[],subjects:[],currentDate:[v().format("YYYY"),v().format("MM")]}),l=I({time:a.currentDate[0]+""+a.currentDate[1],timeName:a.currentDate[0]+"\u5E74"+a.currentDate[1]+"\u6708",orchestraId:"",orchestraName:"\u5168\u90E8\u4E50\u56E2",subjectId:"",subjectName:"\u5168\u90E8\u58F0\u90E8",page:1,rows:20}),C=i(s.toHeight),j=i(new Date(v().subtract(10,"year").format("YYYY-MM-DD"))),P=i(new Date(v().add(10,"year").format("YYYY-MM-DD"))),p=i(["year","month"]),h=i(!1),f=i(!1),g=i(!1),d=i(!1),u=i([]),A=async()=>{if(!a.isClick){a.isClick=!0,f.value=!0;try{h.value&&(u.value=[],h.value=!1);const t=await B.post("/api-school/courseScheduleStudentAttendance/studentAttendance",{data:{...l}});if(u.value.length>0&&t.data.pages===1)return;u.value=t.data,d.value=u.value.length>0,f.value=!1,g.value=!0}catch(t){const r=t.message;b(r),d.value=!1,g.value=!0}a.isClick=!1}},k=t=>{l.time=t.selectedValues[0]+t.selectedValues[1],l.timeName=t.selectedValues[0]+"\u5E74"+t.selectedValues[1]+"\u6708",a.showPopoverTime=!1,A()},H=t=>{const r=t.selectedOptions[0]||{};l.orchestraId=r.value,l.orchestraName=r.name,a.showPopoverOrchestra=!1,h.value=!0,A()},O=t=>{const r=t.selectedOptions[0]||{};l.subjectId=r.value,l.subjectName=r.name,a.showPopoverSubject=!1,h.value=!0,A()},N=async()=>{try{const t=await B.post("/api-teacher/orchestra/page",{data:{page:1,rows:9999,status:"DONE"}});a.actions=t.data.rows.map(r=>({name:r.name,value:r.id})),a.actions.unshift({name:"\u5168\u90E8\u4E50\u56E2",value:""})}catch(t){const r=t.message;b(r)}},M=async()=>{try{const t=await B.post("/api-school/subjectBasicConfig/page",{data:{page:1,rows:9999}});a.subjects=t.data.rows.map(r=>({name:r.subjectName,value:r.subjectId})),a.subjects.unshift({name:"\u5168\u90E8\u58F0\u90E8",value:""})}catch(t){const r=t.message;b(r)}};V(()=>{M(),N(),A()}),q(()=>s.toHeight,t=>{C.value=t});const n=()=>{g.value=!1,f.value=!0,A()};return()=>{let t;return e("div",null,[e("div",{class:"searchGroup"},[e("div",{class:["searchItem",a.showPopoverTime&&"searchItem-active"],onClick:()=>{a.showPopoverTime=!0}},[l.timeName,e("i",{class:"arrow"},null)]),e("div",{class:["searchItem",a.showPopoverOrchestra&&"searchItem-active"],onClick:()=>{a.showPopoverOrchestra=!0}},[e("span",null,[l.orchestraName]),e("i",{class:"arrow"},null)]),e("div",{class:["searchItem",a.showPopoverSubject&&"searchItem-active"],onClick:()=>{a.showPopoverSubject=!0}},[l.subjectName,e("i",{class:"arrow"},null)])]),e("div",{style:{overflowY:"auto",height:"calc(100vh - var(--van-tabs-line-height) - var(--header-height) - 1.17333rem)"}},[d.value?e(K,{modelValue:h.value,"onUpdate:modelValue":r=>h.value=r,onRefresh:n,style:"min-height: calc(100vh - var(--van-tabs-line-height) - var(--header-height) - 1.17333rem);"},{default:()=>[e(z,{"loading-text":" ",finished:g.value,"finished-text":" ",style:{paddingTop:"12px"},onLoad:A},ge(t=u.value.map(r=>e(fe,{item:r},null)))?t:{default:()=>[t]})]}):e(X,{tips:"\u6682\u65E0\u8003\u52E4"},null)]),e(T,{show:a.showPopoverTime,"onUpdate:show":r=>a.showPopoverTime=r,position:"bottom",round:!0,teleport:"body",class:"popupBottomSearch"},{default:()=>[e(Z,{onCancel:()=>{a.showPopoverTime=!1},onConfirm:k,modelValue:a.currentDate,"onUpdate:modelValue":r=>a.currentDate=r,formatter:L,minDate:j.value,maxDate:P.value,columnsType:p.value},null)]}),e(T,{show:a.showPopoverOrchestra,"onUpdate:show":r=>a.showPopoverOrchestra=r,position:"bottom",round:!0,teleport:"body",class:"popupBottomSearch"},{default:()=>[e(D,{columns:a.actions,onCancel:()=>a.showPopoverOrchestra=!1,onConfirm:r=>H(r),columnsFieldNames:{text:"name",value:"value"}},null)]}),e(T,{show:a.showPopoverSubject,"onUpdate:show":r=>a.showPopoverSubject=r,position:"bottom",round:!0,teleport:"body",class:"popupBottomSearch"},{default:()=>[e(D,{columns:a.subjects,onCancel:()=>a.showPopoverSubject=!1,onConfirm:r=>O(r),columnsFieldNames:{text:"name",value:"value"}},null)]})])}}});const we="_chioseWrap_1n0dz_1",Te="_orchestraBand_1n0dz_12",Be="_searchInput_1n0dz_26";var be={chioseWrap:we,orchestraBand:Te,searchInput:Be};const Ie="_itemWrap_1d6rq_1",We="_itemWrapTop_1d6rq_7",ye="_itemWrapTopLeft_1d6rq_15",De="_clockWrap_1d6rq_20",Se="_leftTimer_1d6rq_29",Ce="_itemWrapTopRight_1d6rq_35",je="_itemWrapBottom_1d6rq_39",Pe="_courseInfo_1d6rq_42",ke="_headImgs_1d6rq_48",He="_infoMsg_1d6rq_55",Oe="_infoMsgMain_1d6rq_55",Ne="_infoMsgSub_1d6rq_61",Me="_attInfo_1d6rq_72",Re="_attInfoDot_1d6rq_78",Qe="_attInfoDotTitle_1d6rq_83",Fe="_signTime_1d6rq_97",Ue="_passWrap_1d6rq_105",Ye="_goWrap_1d6rq_106",Ee="_itemBottomMain_1d6rq_123",Ve="_itemBottomSub_1d6rq_131";var c={itemWrap:Ie,itemWrapTop:We,itemWrapTopLeft:ye,clockWrap:De,leftTimer:Se,itemWrapTopRight:Ce,itemWrapBottom:je,courseInfo:Pe,headImgs:ke,infoMsg:He,infoMsgMain:Oe,infoMsgSub:Ne,attInfo:Me,attInfoDot:Re,attInfoDotTitle:Qe,signTime:Fe,passWrap:Ue,goWrap:Ye,itemBottomMain:Ee,itemBottomSub:Ve},qe=W({props:["item"],name:"teacherAtt-item",setup(s){const o=y(),a=()=>{o.push({path:"/teacher-attendDetail",query:{courseScheduleId:s.item.courseScheduleId}})};return()=>e(S,null,[e("div",{class:c.itemWrap,onClick:a},[e("div",{class:c.itemWrapTop},[e("div",{class:c.itemWrapTopLeft},[e("div",{class:c.clockWrap},[e("img",{src:x,alt:""},null)]),e("p",{class:c.leftTimer},[v(s.item.startTime).format("YYYY-MM-DD HH:mm"),"~",v(s.item.endTime).format("HH:mm")])]),e("div",{class:c.itemWrapTopRight},[e(E,{name:"arrow"},null)])]),e("div",{class:c.itemWrapBottom},[e("div",{class:c.courseInfo},[e("img",{class:c.headImgs,src:ee,alt:""},null),e("div",{class:c.infoMsg},[e("p",{class:c.infoMsgMain},[s.item.classGroupName,w("-"),s.item.teacherName]),e("p",{class:c.infoMsgSub},[s.item.orchestraName])])]),e("div",{class:c.attInfo},[e("div",{class:s.item.signInStatus==="NORMAL"?c.passWrap:c.goWrap},[e("div",{class:c.attInfoDot},[e("div",{class:c.attInfoDotTitle},[e("span",null,[w("\u7B7E\u5230\u72B6\u6001")]),e("img",{src:s.item.signInStatus==="NORMAL"?Q:F,alt:""},null)]),e("p",{class:c.signTime},[s.item.signInStatus==="NORMAL"?"\u6B63\u5E38":e("span",{style:{color:"#F44541"}},[w("\u5F02\u5E38")])])])]),e("div",{class:s.item.signOutStatus==="NORMAL"?c.passWrap:c.goWrap},[e("div",{class:c.attInfoDot},[e("div",{class:c.attInfoDotTitle},[e("span",null,[w("\u7B7E\u9000\u72B6\u6001")]),e("img",{src:s.item.signOutStatus==="NORMAL"?Q:F,alt:""},null)]),e("p",{class:c.signTime},[s.item.signOutStatus==="NORMAL"?"\u6B63\u5E38":e("span",{style:{color:"#F44541"}},[w("\u5F02\u5E38")])])])])])])])])}});function Xe(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!G(s)}var Le=W({name:"attend-student",props:{toHeight:{type:Number,default:0}},setup(s){y();const o=I({showPopoverTime:!1,showPopoverOrchestra:!1,showPopoverSubject:!1,isClick:!1,actions:[],courseList:[],currentDate:[v().format("YYYY"),v().format("MM")]}),a=I({time:o.currentDate[0]+"-"+o.currentDate[1],timeName:o.currentDate[0]+"\u5E74"+o.currentDate[1]+"\u6708",keyword:"",orchestraId:"",orchestraName:"\u5168\u90E8\u4E50\u56E2",courseType:"",courseTypeName:"\u6240\u6709\u8BFE\u7A0B",page:1,rows:20}),l=i(s.toHeight),C=i(new Date(v().subtract(10,"year").format("YYYY-MM-DD"))),j=i(new Date(v().add(10,"year").format("YYYY-MM-DD"))),P=i(["year","month"]),p=i(!1),h=i(!1),f=i(!1),g=i(!1),d=i([]),u=async()=>{if(!o.isClick){o.isClick=!0,h.value=!0;try{p.value&&(a.page=1,d.value=[],p.value=!1);const n=await B.post("/api-school/courseSchedule/teacherAttendance",{data:{...a}});if(d.value.length>0&&n.data.pages===1)return;a.page=n.data.current+1,d.value=d.value.concat(n.data.rows||[]),g.value=d.value.length>0,h.value=!1,f.value=n.data.current>=n.data.pages}catch(n){const t=n.message;b(t),g.value=!1,f.value=!0}o.isClick=!1}},A=()=>{o.courseList=[];for(const n in R)o.courseList.push({name:R[n],value:n});o.courseList.unshift({name:"\u5168\u90E8\u8BFE\u7A0B",value:""})},k=n=>{a.time=n.selectedValues[0]+"-"+n.selectedValues[1],a.timeName=n.selectedValues[0]+"\u5E74"+n.selectedValues[1]+"\u6708",o.showPopoverTime=!1,p.value=!0,u()},H=n=>{const t=n.selectedOptions[0]||{};a.orchestraId=t.value,a.orchestraName=t.name,o.showPopoverOrchestra=!1,p.value=!0,u()},O=n=>{const t=n.selectedOptions[0]||{};a.courseType=t.value,a.courseTypeName=t.name,o.showPopoverSubject=!1,p.value=!0,u()},N=async()=>{try{const n=await B.post("/api-school/orchestra/page",{data:{page:1,rows:9999,status:"DONE"}});o.actions=n.data.rows.map(t=>({name:t.name,value:t.id})),o.actions.unshift({name:"\u5168\u90E8\u4E50\u56E2",value:""})}catch(n){const t=n.message;b(t)}};q(()=>s.toHeight,n=>{l.value=n,console.log(l.value,"\u8001\u5E08\u7684")}),V(()=>{N(),u(),A()});const M=()=>{f.value=!1,h.value=!0,u()};return()=>{let n;return e("div",null,[e(S,null,[e($,{placeholder:"\u8BF7\u8F93\u5165\u4F34\u5B66\u6307\u5BFC\u59D3\u540D",class:be.searchInput,onSearch:t=>{console.log(t,"onSearch"),a.keyword=t,p.value=!0,u()}},null),e("div",{class:"searchGroup"},[e("div",{class:["searchItem",o.showPopoverTime&&"searchItem-active"],onClick:()=>{o.showPopoverTime=!0}},[a.timeName,e("i",{class:"arrow"},null)]),e("div",{class:["searchItem",o.showPopoverOrchestra&&"searchItem-active"],onClick:()=>{o.showPopoverOrchestra=!0}},[e("span",null,[a.orchestraName]),e("i",{class:"arrow"},null)]),e("div",{class:["searchItem",o.showPopoverSubject&&"searchItem-active"],onClick:()=>{o.showPopoverSubject=!0}},[a.courseTypeName,e("i",{class:"arrow"},null)])])]),e("div",{style:{overflowY:"auto",height:"calc(100vh - var(--van-tabs-line-height) - var(--header-height) - 2.61334rem)"}},[g.value?e(K,{modelValue:p.value,"onUpdate:modelValue":t=>p.value=t,onRefresh:M,style:"min-height: calc(100vh - var(--van-tabs-line-height) - var(--header-height) - 2.61334rem)"},{default:()=>[e(z,{"loading-text":" ",finished:f.value,"finished-text":" ",onLoad:u,style:{paddingTop:"12px"}},Xe(n=d.value.map(t=>e(qe,{item:t},null)))?n:{default:()=>[n]})]}):e(X,{tips:"\u6682\u65E0\u8003\u52E4"},null)]),e(T,{show:o.showPopoverTime,"onUpdate:show":t=>o.showPopoverTime=t,position:"bottom",round:!0,teleport:"body",class:"popupBottomSearch"},{default:()=>[e(Z,{onCancel:()=>{o.showPopoverTime=!1},onConfirm:k,modelValue:o.currentDate,"onUpdate:modelValue":t=>o.currentDate=t,formatter:L,minDate:C.value,maxDate:j.value,columnsType:P.value},null)]}),e(T,{show:o.showPopoverOrchestra,"onUpdate:show":t=>o.showPopoverOrchestra=t,position:"bottom",round:!0,teleport:"body",class:"popupBottomSearch"},{default:()=>[e(D,{columns:o.actions,onCancel:()=>o.showPopoverOrchestra=!1,onConfirm:t=>H(t),columnsFieldNames:{text:"name",value:"value"}},null)]}),e(T,{show:o.showPopoverSubject,"onUpdate:show":t=>o.showPopoverSubject=t,position:"bottom",round:!0,teleport:"body",class:"popupBottomSearch"},{default:()=>[e(D,{columns:o.courseList,onCancel:()=>o.showPopoverSubject=!1,onConfirm:t=>O(t),columnsFieldNames:{text:"name",value:"value"}},null)]})])}}});const Y=i("student");var ht=W({name:"school-attendance",setup(){y();const s=I({heightV:0}),o=i(),a=l=>{s.heightV=l,console.log(s.heightV,"\u83B7\u53D6\u9AD8\u5EA6"),document.documentElement.style.setProperty("--header-height",l+"px")};return()=>e(S,null,[e(_,{position:"top",background:"#F8F8F8",onGetHeight:a,ref:o},{default:()=>[e(J,{border:!1},null)]}),e(ae,{active:Y.value,"onUpdate:active":l=>Y.value=l,sticky:!0,swipeable:!0,offsetTop:s.heightV,lineHeight:4,lineWidth:16,class:te.stickyAttendance},{default:()=>[e(U,{name:"student",title:"\u5B66\u751F\u8003\u52E4"},{default:()=>[e(Ae,{toHeight:s.heightV},null)]}),e(U,{name:"teacher",title:"\u4F34\u5B66\u6307\u5BFC\u8003\u52E4"},{default:()=>[e(Le,{toHeight:s.heightV},null)]})]})])}});export{ht as default};
|