1 |
- var i=(e,a,t)=>new Promise((b,d)=>{var g=n=>{try{o(t.next(n))}catch(l){d(l)}},Y=n=>{try{o(t.throw(n))}catch(l){d(l)}},o=n=>n.done?b(n.value):Promise.resolve(n.value).then(g,Y);o((t=t.apply(e,a)).next())});import{a as p,o as r,t as I}from"./data.config-76f5e4f3.js";import{f as D,__tla as h}from"./index-f35bbafa.js";import{bG as s,b5 as c,__tla as x}from"./index-b5895273.js";let m,u,f,P,_=Promise.all([(()=>{try{return h}catch(e){}})(),(()=>{try{return x}catch(e){}})()]).then(()=>i(void 0,null,function*(){P=[{title:"\u6559\u5E08\u59D3\u540D",dataIndex:"teacherName",align:"left"},{title:"\u624B\u673A\u53F7\u7801",dataIndex:"mobile",align:"left"},{title:"\u8003\u52E4\u72B6\u6001",dataIndex:"status",align:"left"},{title:"\u8003\u52E4\u65F6\u95F4",dataIndex:"recordTime",align:"left"},{title:"\u8003\u52E4\u65B9\u5F0F",dataIndex:"attendanceMode",align:"left",customRender:({record:e})=>{var a;return(a=p.find(t=>t.value===e.attendanceMode))==null?void 0:a.label}},{title:"\u8F66\u724C\u53F7",dataIndex:"carNumber",align:"left"}],m=[{title:"\u6559\u5E08\u59D3\u540D",dataIndex:"name",align:"left"},{title:"\u6027\u522B",dataIndex:"gender",align:"left",width:70},{title:"\u624B\u673A\u53F7\u7801",dataIndex:"phone",align:"left",width:120},{title:"\u8BB0\u5F55\u65F6\u95F4",dataIndex:"recordTime",align:"left",width:150},{title:"\u8BB0\u5F55\u7167\u7247",dataIndex:"facePhoto",align:"left",width:140},{title:"\u8FDB\u51FA\u5C5E\u6027",dataIndex:"status",align:"left",width:80,customRender:({record:e})=>{var a;return(a=r.find(t=>t.value===e.status))==null?void 0:a.label}}],f=[{field:"date",label:"\u65E5\u671F",component:"DatePicker",colProps:{span:8},defaultValue:s(new Date),componentProps:{showTime:!1,format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",getPopupContainer:()=>document.body,disabledDate:e=>e&&e>c().endOf("day")}},{field:"timePeriod",label:"\u65F6\u95F4\u6BB5",component:"Select",defaultValue:1,componentProps:{getPopupContainer:()=>document.body,options:I.filter(e=>e.value===1||e.value===2)},colProps:{span:8}},{field:"attendanceStatus",label:"\u8003\u52E4\u72B6\u6001",component:"Select",componentProps:{getPopupContainer:()=>document.body,api:D,params:{code:"attendance_status"}},colProps:{span:8}},{field:"name",label:"\u59D3\u540D",component:"Input",colProps:{span:8}},{field:"attendanceMode",label:"\u8003\u52E4\u65B9\u5F0F",component:"Select",componentProps:{getPopupContainer:()=>document.body,options:p},colProps:{span:8}},{field:"carNumber",label:"\u8F66\u724C\u53F7",component:"Input",colProps:{span:8}}],u=[{field:"startTime",label:"\u65E5\u671F",component:"DatePicker",colProps:{span:8},defaultValue:s(new Date),componentProps:{showTime:!1,format:"YYYY-MM-DD",valueFormat:"YYYY-MM-DD",getPopupContainer:()=>document.body,disabledDate:e=>e&&e>c().endOf("day")}},{field:"name",label:"\u59D3\u540D",component:"Input",colProps:{span:8}},{field:"status",label:"\u8FDB\u51FA\u5C5E\u6027",component:"Select",componentProps:{getPopupContainer:()=>document.body,options:r},colProps:{span:8}}]}));export{_ as __tla,m as a,u as b,f as s,P as t};
|