index-legacy-3db5079a-1724872791500.js 19 KB

1
  1. System.register(["./index-legacy-508a3c9b-1724872791500.js","./use-async-legacy-3ddebaea-1724872791500.js","./index-legacy-2322d765-1724872791500.js","./index2.module-legacy-977ba012-1724872791500.js","./useECharts-legacy-0ef75d9f-1724872791500.js","./index-legacy-5692c59a-1724872791500.js","./dateFormat-legacy-74bc0a73-1724872791500.js","./api-legacy-d9cc2912-1724872791500.js","./index-legacy-d33e259a-1724872791500.js","./icon-sort-asc-legacy-e919a334-1724872791500.js","./index-legacy-7dba2a59-1724872791500.js","./api-legacy-5675c09e-1724872791500.js","./index-legacy-6b77a396-1724872791500.js"],(function(t,e){"use strict";var a,i,l,s,n,r,o,d,c,p,u,g,m,y,v,h,f,b,T,D,x,w,A,S,I,L,_,k,C,R,O,z,W,U,Y,j,B,P,G,N,E,V,F,q,M,K;return{setters:[t=>{a=t.H,i=t.d,l=t.r,s=t.u,n=t.a,r=t.e,o=t.U,d=t.q,c=t.f,p=t.k,u=t.aG,g=t.F,m=t.j,y=t.x,v=t.S,h=t.V,f=t.$,b=t.C,T=t.T,D=t.a0,x=t.a1,w=t.t,A=t.v,S=t.y},t=>{I=t.g,L=t.a},t=>{_=t.C},t=>{k=t.s},t=>{C=t.u},t=>{R=t.P},t=>{O=t.N,z=t.b,W=t.c,U=t.d,Y=t.g,j=t.a},t=>{B=t.j,P=t.s,G=t.l},t=>{N=t.T},t=>{E=t.i,V=t.a,F=t.b},t=>{q=t.g,M=t.s},t=>{K=t.s},null],execute:function(){var e=document.createElement("style");e.textContent="._listWrap_x49zf_1{min-height:100%;padding:1.66666667vw;background-color:#fff;border-radius:1.04166667vw}._listWrap_x49zf_1 ._customTabs_x49zf_7 .n-tabs-tab--active{font-size:max(.9375rem,14Px)!important;font-weight:600!important;color:#131415!important}._listWrap_x49zf_1 ._customTabs_x49zf_7 .n-tabs-tab{font-size:max(.9375rem,14Px);padding:.41666667vw 0!important;font-weight:400;min-width:2.60416667vw;color:#8b8d98}._listWrap_x49zf_1 ._customTabs_x49zf_7 .n-tabs-tab:hover{color:#198cfe!important}._listWrap_x49zf_1 ._customTabs_x49zf_7 .n-tabs-bar{width:2.60416667vw!important;height:.26041667vw!important;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAKCAYAAABCHPt+AAAAAXNSR0IArs4c6QAAAO5JREFUWEftl00KwjAQhd/rLVqv4VbwAnoYfzaKGxE3th5GLyC49RztLTKSajEW+0OTlUw2oSFvGL6XZibEe8RnmdBgDWIsInG1rnM3AZIFBA+JcCoWvLcpXM7lvpqOdi1OZQPiAJHyW8dQAjQAdsWKx18Rmjl/dLSOweAGSDQ0DdW5BGgQYVr/U7o5v3RMUrkIZKZQwxEgeM1XnLsR+3C2OiaZ5FozwplhI9maki+ZfBnSg7PVqSFhvSij+RmiV1ZwS7yurO5iEzzfPw/oWdQtnVEmWyPYa6fle1ba295mzk7bW6WgD8PhZoR8GD4BToyflz19IOIAAAAASUVORK5CYII=) no-repeat;background-size:2.60416667vw .26041667vw}._searchBtn_x49zf_28{background:#198cfe;border-radius:.41666667vw;font-weight:600!important}._resetBtn_x49zf_33{border-radius:.41666667vw;font-weight:600!important}._resetBtn_x49zf_33,._searchBtn_x49zf_28{--n-padding: 0 1.45833333vw !important}\n",document.head.appendChild(e);const $={listWrap:"_listWrap_x49zf_1",customTabs:"_customTabs_x49zf_7",searchBtn:"_searchBtn_x49zf_28",resetBtn:"_resetBtn_x49zf_33"},Q=i({name:"home-trainData",props:{timer:{type:Array,defaut:()=>[]}},setup(t,{expose:e}){const i=l(null),{setOptions:v}=C(i),h=l(!0),f=l(!0),b=s();n();const T=r({height:"360px",width:"100%",studentNum:0,paymentAmount:0,dateList:[],studentList:[],payInfoList:[]}),D=l({qualifiedRate:0,qualifiedStudentCount:0,submitStudentCount:0,totalStudentCount:0,trainingCount:0,trainingRate:0}),x=r({loading:!1,pagination:{page:1,rows:10,pageTotal:4},tableList:[],goCourseVisiable:!1}),w=o((()=>t.timer)),A=t=>{console.log(t),b.push({path:"/homework-record-detail",query:{id:t.id,name:t.name}})},S=async()=>{try{const e=await(t={...z(w.value,["startTime","endTime"],"YYYY-MM-DD")},a.post("/edu-app/lessonTraining/trainingStat",{data:t}));D.value={...e.data},T.dateList=e.data.trainingStatDetails.map((t=>t.date)),T.payInfoList=e.data.trainingStatDetails.map((t=>t.qualifiedStudentCount)),T.studentList=e.data.trainingStatDetails.map((t=>t.unqualifiedStudentCount)),I()}catch(e){console.log(e)}var t;try{const t=await B({...x.pagination,...z(w.value,["startTime","endTime"],"YYYY-MM-DD")});x.tableList=t.data.rows,x.pagination.pageTotal=t.data.total,x.loading=!1}catch(e){x.loading=!1,console.log(e)}};e({getList:S});const I=()=>{v({tooltip:{trigger:"axis",axisPointer:{lineStyle:{width:2,color:"#A9C7FF"}}},legend:{show:!1,selected:{"合格人数":h.value,"不合格人数":f.value}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{show:!0},data:T.dateList},yAxis:[{type:"value",axisLabel:{formatter:"{value}人"},axisTick:{show:!1},splitArea:{show:!1,areaStyle:{color:["rgba(255,255,255,0.2)"]}},minInterval:1,splitNumber:5}],grid:{left:"1%",right:"1%",top:"2 %",bottom:0,containLabel:!0},series:[{data:T.studentList,symbolSize:10,type:"line",name:"不合格人数",symbol:"circle",smooth:!0,itemStyle:{color:"#FF7AA7",borderColor:"#fff",borderWidth:3},lineStyle:{width:3},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(255, 243, 246, 1)"},{offset:1,color:"rgba(255, 246, 248, 0)"}]}},emphasis:{disabled:!0}},{data:T.payInfoList,type:"line",name:"合格人数",symbolSize:10,symbol:"circle",smooth:!0,itemStyle:{color:"#198CFE",borderColor:"#fff",borderWidth:3},lineStyle:{width:2},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(212, 231, 255, 1)"},{offset:1,color:"rgba(221, 235, 254, 0)"}]}},emphasis:{disabled:!0}}],formatter:t=>Array.isArray(t)?[t[0].axisValueLabel,...t.map((t=>`<br/>${t.marker}<span style="margin-top:10px;margin-left:5px;font-size: 13px;font-weight: 500;\n color: #333333;\n line-height: 18px;">${t.seriesName}: ${t.value}人 </span>`))].join(""):t})};return d((()=>{S()})),()=>c(g,null,[c("div",{class:k.homeTrainData},[c("div",{class:k.TrainDataTop},[c("div",{class:k.TrainDataTopLeft},[c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:D.value.trainingCount},null)]),p("次")])]),c("p",{class:k.TrainDataItemsubTitle},[p("作业次数")])]),c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:D.value.totalStudentCount},null)]),p("人次")])]),c("p",{class:k.TrainDataItemsubTitle},[p("应交总人次")])]),c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:D.value.submitStudentCount},null)]),p("人次")])]),c("p",{class:k.TrainDataItemsubTitle},[p("提交总人次")])]),c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:D.value.qualifiedStudentCount},null)]),p("人次")])]),c("p",{class:k.TrainDataItemsubTitle},[p("合格总人次")])]),c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:D.value.trainingRate},null)]),p("%")])]),c("p",{class:k.TrainDataItemsubTitle},[p("作业提交率")])]),c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:D.value.qualifiedRate},null)]),p("%")])]),c("p",{class:k.TrainDataItemsubTitle},[p("作业合格率")])])]),c("div",{class:k.TrainDataTopRight},[c("div",{onClick:()=>{h.value=!h.value,I()},class:[k.DataTopRightItem,h.value?"":k.DataTopRightItemDis]},[c("div",{class:k.DataTopRightDot},null),c("p",null,[p("合格人数")])]),c("div",{onClick:()=>{f.value=!f.value,I()},class:[k.DataTopRightItem,f.value?"":k.DataTopRightItemDis]},[c("div",{class:[k.DataTopRightDot,k.red]},null),c("p",null,[p("不合格人数")])])])]),c("div",{class:k.chatrs},[c("div",{ref:i,style:{height:T.height,width:T.width}},null)]),c("div",{class:k.tableWrap},[c(u,{class:k.classTable,loading:x.loading,columns:[{title:"布置老师",key:"teacherName"},{title:"布置时间",key:"createTime",render:t=>c(g,null,[t.createTime])},{title:"截止时间",key:"expireDate",render:t=>c(g,null,[t.expireDate])},{title:"训练状态",key:"status",render:t=>0==t.status?c("div",{class:k.indDot},[" ",c("span",null,null),p(" 进行中")]):c("div",{class:k.endDot},[c("span",null,null),p("已结束")])},{title:"布置人数",key:"expectNum"},{title:"提交人数",key:"trainingNum"},{title:"合格人数",key:"standardNum"},{title:"提交率",key:"trainingRate",render:t=>c(g,null,[t.trainingRate,p("%")])},{title:"合格率",key:"qualifiedRate",render:t=>c(g,null,[t.qualifiedRate,p("%")])},{title:"操作",key:"id",render:t=>c(y,null,{default:()=>[c(m,{text:!0,type:"primary",onClick:()=>A(t)},{default:()=>[p("详情")]})]})}],data:x.tableList},{empty:()=>c(N,null,null)}),c(R,{page:x.pagination.page,"onUpdate:page":t=>x.pagination.page=t,pageSize:x.pagination.rows,"onUpdate:pageSize":t=>x.pagination.rows=t,pageTotal:x.pagination.pageTotal,"onUpdate:pageTotal":t=>x.pagination.pageTotal=t,onList:S,sync:!0},null)])])])}}),Z=i({name:"home-practiceData",props:{timer:{type:Array,defaut:()=>[]}},setup(t,{expose:e}){const i=l(null),{setOptions:s}=C(i),n=l(!0),m=r({height:"360px",width:"100%",practiceUserCount:0,paymentAmount:0,practiceDurationAvg:0,practiceDays:0,practiceDurationTotal:0,dateList:[],timeList:[]}),y=r({loading:!1,pagination:{page:1,rows:10,pageTotal:4},tableList:[],goCourseVisiable:!1}),v=o((()=>t.timer)),h=async()=>{try{const e=await P({page:1,rows:999,...z(v.value,["startTime","endTime"],"YYYY-MM-DD")}),i=await(t={page:1,rows:999,...z(v.value,["startTime","endTime"],"YYYY-MM-DD")},a.post("/edu-app/musicPracticeRecordStat/trainingStat",{data:t}));y.tableList=e.data.rows,m.practiceDurationAvg=i.data.practiceDurationAvg,m.practiceUserCount=i.data.practiceUserCount,m.dateList=i.data.trainingStatDetailList.map((t=>t.date)),m.timeList=i.data.trainingStatDetailList.map((t=>t.practiceUserCount)),f()}catch(e){console.log(e)}var t};e({getList:h});const f=()=>{s({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!1,selected:{"练习人数":n.value}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{show:!0},data:m.dateList},yAxis:[{type:"value",axisLabel:{formatter:"{value}人"},axisTick:{show:!1},splitArea:{show:!1,areaStyle:{color:["rgba(255,255,255,0.2)"]}},minInterval:1,splitNumber:5}],grid:{left:"1%",right:"1%",top:"2%",bottom:0,containLabel:!0},series:[{data:m.timeList,symbolSize:10,type:"line",symbol:"circle",smooth:!0,itemStyle:{normal:{barBorderRadius:[8,8,0,0],color:"#3583FA"},emphasis:{color:"#3583FA"}}}],formatter:t=>Array.isArray(t)?[t[0].axisValueLabel,...t.map((t=>`<br/>${t.marker}<span style="margin-top:10px;margin-left:5px;font-size: 13px;font-weight: 500;\n color: #131415;font-weight: 600;\n margin-top:12px\n line-height: 18px;">练习人数: ${t.value}人 </span>`))].join(""):t})};return d((()=>{h()})),()=>c(g,null,[c("div",{class:k.homeTrainData},[c("div",{class:k.TrainDataTop},[c("div",{class:k.TrainDataTopLeft},[c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[c("div",null,[c("span",null,[c(O,{from:0,to:m.practiceUserCount},null)]),p("人")])]),c("p",{class:k.TrainDataItemsubTitle},[p("练习人数")])]),c("div",{class:k.TrainDataItem},[c("p",{class:k.TrainDataItemTitle},[W(m.practiceDurationAvg)>0?c("div",null,[c("span",null,[c(O,{from:0,to:W(m.practiceDurationAvg)},null)]),p("分")]):null,c("div",null,[c("span",null,[c(O,{from:0,to:U(m.practiceDurationAvg)},null)]),p("秒")])]),c("p",{class:k.TrainDataItemsubTitle},[p("平均每天练习时长")])])]),c("div",{class:k.TrainDataTopRight},null)]),c("div",{class:k.chatrs},[c("div",{ref:i,style:{height:m.height,width:m.width}},null)]),c("div",{class:k.tableWrap},[c(u,{class:k.classTable,loading:y.loading,columns:[{title:"日期",key:"date"},{title:"练习人数",key:"practiceUserCount",render:t=>c(g,null,[t.practiceUserCount,p("人")])},{title:"平均每天练习时长",key:"practiceDuration",render:t=>c(g,null,[" ",c(g,null,[t.practiceDuration?W(t.practiceDuration)>0?W(t.practiceDuration)+"分"+U(t.practiceDuration)+"秒":U(t.practiceDuration)+"秒":"0分钟"])])}],data:y.tableList},{empty:()=>c(N,null,null)})])])])}}),J=i({name:"student-studentList",props:{timer:{type:Array,defaut:()=>[]}},setup(t,{emit:e,expose:a}){const i=r({searchWord:"",orchestraType:null,courseTypeCode:null,subjectId:null,classId:null,studentType:null,loading:!1,pagination:{page:1,rows:10,pageTotal:4},tableList:[]}),l=r({ase:0,sortType:1}),s=o((()=>(console.log("ranking===>"),t.timer))),n=async()=>{i.loading=!0;try{const t=await G({...i.pagination,...l,...z(s.value,["startTime","endTime"],"YYYY-MM-DD")});i.tableList=t.data.rows,i.pagination.pageTotal=t.data.total,i.loading=!1}catch(t){i.loading=!1,console.log(t)}};a({getList:n}),d((async()=>{await n(),v((()=>{document.querySelectorAll(".n-data-table-sorter").forEach((t=>{t.style.display="none"}))}))}));const m=t=>{if(t){const e={practiceDuration:1,practiceDays:2,practiceDurationAvg:3};l.sortType=e[t.columnKey],"practiceDuration"==t.columnKey&&(f.sortOrder=t.order,y.sortOrder=!1,b.sortOrder=!1),"practiceDays"==t.columnKey&&(y.sortOrder=t.order,f.sortOrder=!1,b.sortOrder=!1),"practiceDurationAvg"==t.columnKey&&(b.sortOrder=t.order,y.sortOrder=!1,f.sortOrder=!1),l.ase="ascend"==t.order?1:0}else l.ase=0,l.sortType=1,y.sortOrder=!1,f.sortOrder=!1,b.sortOrder=!1;n()},y=r({title:()=>c(h,{showArrow:!1,placement:"top-start"},{trigger:()=>c("div",{class:k.cell},[p("练习天数"),c("img",{class:k.sortIcon,src:"descend"===y.sortOrder?E:"ascend"===y.sortOrder?V:F},null)]),default:"descend"===y.sortOrder?"点击升序":"ascend"===y.sortOrder?"取消排序":"点击降序"}),key:"practiceDays",sorter:!0,sortOrder:!1,render:t=>c(g,null,[t.practiceDays?t.practiceDays:0,p("天")])}),f=r({title:()=>c(h,{showArrow:!1,placement:"top-start"},{trigger:()=>c("div",{class:k.cell},[p("练习总时长"),c("img",{class:k.sortIcon,src:"descend"===f.sortOrder?E:"ascend"===f.sortOrder?V:F},null)]),default:"descend"===f.sortOrder?"点击升序":"ascend"===f.sortOrder?"取消排序":"点击降序"}),key:"practiceDuration",sorter:!0,sortOrder:!1,render:t=>c(g,null,[t.practiceDuration?W(t.practiceDuration)>0?W(t.practiceDuration)+"分"+U(t.practiceDuration)+"秒":U(t.practiceDuration)+"秒":0])}),b=r({title:()=>c(h,{showArrow:!1,placement:"top-start"},{trigger:()=>c("div",{class:k.cell},[p("平均每天练习时长"),c("img",{class:k.sortIcon,src:"descend"===b.sortOrder?E:"ascend"===b.sortOrder?V:F},null)]),default:"descend"===b.sortOrder?"点击升序":"ascend"===b.sortOrder?"取消排序":"点击降序"}),key:"practiceDurationAvg",sorter:!0,sortOrder:!1,render:t=>c(g,null,[t.practiceDurationAvg?W(t.practiceDurationAvg)>0?W(t.practiceDurationAvg)+"分"+U(t.practiceDurationAvg)+"秒":U(t.practiceDurationAvg)+"秒":0])});return()=>c("div",{class:k.listWrap},[c("div",{class:k.tableWrap},[c(u,{class:k.classTable,loading:i.loading,columns:[{title:"姓名",key:"studentName"},{title:"手机号",key:"studentPhone"},y,f,b],data:i.tableList,"onUpdate:sorter":m},{empty:()=>c(N,null,null)}),c(R,{page:i.pagination.page,"onUpdate:page":t=>i.pagination.page=t,pageSize:i.pagination.rows,"onUpdate:pageSize":t=>i.pagination.rows=t,pageTotal:i.pagination.pageTotal,"onUpdate:pageTotal":t=>i.pagination.pageTotal=t,onList:n,sync:!0},null)])])}}),X=i({name:"data-guide",emits:["close"],setup(t,{emit:e}){const a=r({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:q("data1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:f(-4),left:f(-100),width:f(472),height:f(256)},btnsStyle:{bottom:f(30),left:f(-110)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:14,top:14,width:28,height:28}},{ele:"",img:q("data2.png"),imgStyle:{top:f(-4),left:f(-100),width:f(509),height:f(230)},btnsStyle:{bottom:f(30),left:f(-110)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:14,top:14,width:28,height:28}},{ele:"",img:q("data3.png"),imgStyle:{top:"100%",left:f(-105),width:f(438),height:f(230)},btnsStyle:{bottom:f(30),left:f(-115)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:14,top:14,width:28,height:28}}],step:0}),i=l(!1),s=l({});(async()=>{try{const t=localStorage.getItem("teacher-guideInfo");s.value=t?JSON.parse(t)||null:{},s.value&&s.value.dataGuide?i.value=!1:i.value=!0}catch(t){console.log(t)}})();const n=()=>{const t=document.getElementById(`data-${a.step}`);if(t){const e=t.getBoundingClientRect(),i=a.steps[a.step].eleRectPadding?.left||0,l=a.steps[a.step].eleRectPadding?.top||0,s=a.steps[a.step].eleRectPadding?.width||0,n=a.steps[a.step].eleRectPadding?.height||0;a.box={left:e.x-i+"px",top:e.y-l+"px",width:e.width+s+"px",height:e.height+n+"px"}}else m()},o=async t=>{try{if("data-module"!==t)return;s.value?s.value.dataGuide=!1:s.value={dataGuide:!1};try{K({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(s.value)})}catch(e){console.log(e)}a.step=0,n(),i.value=!0}catch{}};d((()=>{n(),window.addEventListener("resize",u),b.on("teacher-guideInfo",o)}));const u=()=>{n()};T((()=>{window.removeEventListener("resize",u),b.off("teacher-guideInfo",o)}));const m=()=>{a.step>=4?y():(a.step=a.step+1,n())},y=async()=>{s.value?s.value.dataGuide=!0:s.value={dataGuide:!0};try{K({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(s.value)})}catch(t){console.log(t)}i.value=!1};return()=>c(g,null,[i.value?D(c("div",{"onUpdate:show":t=>i.value=t,class:["n-modal-mask","n-modal-mask-guide"]},[c("div",{class:M.content,onClick:()=>m()},[c("div",{class:M.backBtn,onClick:t=>{t.stopPropagation(),y()}},[p("跳过")]),c("div",{class:M.box,style:{...a.box,...a.steps[a.step]?.boxStyle},id:`modeType-${a.step}`},[a.steps.map(((t,e)=>c("div",{onClick:t=>t.stopPropagation(),class:M.item,style:"bottom"==t.type?{display:e===a.step?"":"none",left:`${t.eleRect?.left}px`,top:`-${t.imgStyle?.height}`}:{display:e===a.step?"":"none",left:`${t.eleRect?.left}px`,top:`${a.box?.height}`}},[c("img",{class:M.img,style:t.imgStyle,src:t.img},null),c("div",{class:M.btns,style:t.btnsStyle},[a.step+1==a.steps.length?c(g,null,[c("div",{class:[M.endBtn],onClick:()=>y()},[p("完成")]),c("div",{class:M.nextBtn,onClick:()=>{a.step=0,n()}},[p("再看一遍")])]):c("div",{class:M.btn,onClick:()=>m()},[p("下一步 ("),a.step+1,p("/"),a.steps.length,p(")")])])])))])])]),[[x,i.value,"show"]]):null])}});t("default",i({name:"data-module",setup(){const t=l("training"),e=n();I((e=>{e.form.tabName&&(t.value=e.form.tabName)}));const a=l(),i=l(),s=l(),r=l(!1),o=l([Y((new Date).getTime()),j((new Date).getTime())]),u=()=>{console.log(o.value),a.value&&a.value.getList(),i.value&&i.value.getList(),s.value&&s.value.getList()};return d((()=>{setTimeout((()=>{r.value=!0}),800)})),()=>c("div",null,[c("div",{class:$.listWrap},[c(w,{"onUpdate:value":[t=>(t=>{L(t,"tabName",e)})(t),e=>t.value=e],class:$.customTabs,value:t.value,size:"large",animated:!1,"pane-wrapper-style":"margin: 0 -4px","pane-style":"padding-left: 4px; padding-right: 4px; box-sizing: border-box;"},{default:()=>[c(A,{name:"training",tab:"作业统计"},{default:()=>[c(Q,{ref:a,timer:o.value},null)],tab:()=>c("span",{id:"data-0"},[p("作业统计")])}),c(A,{name:"practice",tab:"学练数据"},{default:()=>[c(Z,{ref:i,timer:o.value},null)],tab:()=>c("span",{id:"data-1"},[p("学练数据")])}),c(A,{name:"ranking",tab:"学练排行"},{default:()=>[c(J,{ref:s,timer:o.value},null)],tab:()=>c("span",{id:"data-2"},[p("学练排行")])})],suffix:()=>c(g,null,[c("div",{class:$.homeStudyInfoDate},[c(y,null,{default:()=>[c(_,S({clearable:!1},{value:o.value,"onUpdate:value":t=>o.value=t,separator:"-",type:"daterange",timerValue:o.value}),null),c(m,{type:"primary",class:$.searchBtn,onClick:()=>u()},{default:()=>[p("搜索")]}),c(m,{type:"primary",onClick:()=>(console.log("点击重置"),o.value=[Y((new Date).getTime()),j((new Date).getTime())],void v((()=>{u()}))),ghost:!0,class:$.resetBtn},{default:()=>[p("重置")]})]})])])}),r.value?c(X,null,null):null])])}}))}}}));