index-legacy-b6e20b06.js 20 KB

1
  1. System.register(["./index.module-legacy-f2b0f9bd.js","./index-legacy-08ec88e6.js","./index-legacy-cfe70610.js","./index-legacy-e820232f.js","./api-legacy-ce2d3dc8.js","./index-legacy-c6234cef.js","./contants-legacy-7677866e.js","./isCollaose-legacy-ae2e64bd.js","./index-legacy-e74c4292.js","./contants-legacy-3c3b91a9.js","./add-legacy-e7111c9d.js","./index-legacy-185a55a4.js","./index-legacy-c2d4d831.js","./index-legacy-79edadd6.js","./state-legacy-eeb879a6.js","./Slider-legacy-89d5d510.js","./index-legacy-49f2b336.js","./index-legacy-7aa0d4a9.js","./index-legacy-c6fac78d.js","./index-legacy-c2dc9f0c.js","./index-legacy-ff08deab.js","./urlUtils-legacy-b652a21b.js","./closeAble-legacy-35a88db9.js"],(function(e,l){"use strict";var a,t,s,n,i,o,u,d,c,r,p,g,v,h,m,y,f,b,w,C,x,k,A,j,L,R,S,I,U,B,G,V,E,N,T,W,P,F,O,q,M,D,J,Y,z,K,H,Q,Z,_,$,X,ee,le,ae;return{setters:[e=>{a=e.s},e=>{t=e.S},e=>{s=e.C},e=>{n=e.P},e=>{i=e.b,o=e.c,u=e.a,d=e.d,c=e.g,r=e.e},e=>{p=e.d,g=e.e,v=e.b,h=e.r,m=e.f,y=e.N,f=e.g,b=e.w,w=e.v,C=e.j,x=e.k,k=e._,A=e.n,j=e.cl,L=e.l,R=e.cm,S=e.cn,I=e.y,U=e.b3,B=e.u,G=e.J,V=e.L,E=e.a2,N=e.a3,T=e.a4,W=e.F,P=e.H,F=e.m,O=e.ck,q=e.t},e=>{M=e.N},e=>{D=e.u,J=e.q,Y=e.c,z=e.l,K=e.b},e=>{H=e.u},e=>{Q=e.g,Z=e.c},e=>{_=e.a},e=>{$=e.g,X=e.s},e=>{ee=e.T},e=>{le=e.P},e=>{ae=e.s},null,null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent="._showContentWidth_1uy1t_1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n",document.head.appendChild(l);const te=p({props:{activeRow:{type:Object,default:()=>({id:""})},gradeNumList:{type:Array,default:()=>[]},classArray:{type:Array,default:()=>[]}},name:"resetStudent",emits:["close","getList"],setup(e,{emit:l}){const t=g({uploading:!1}),n=v(),o=h(),u=g({currentGradeNum:null,currentClass:null});return()=>m("div",{class:[a.addClass]},[m(y,{"label-placement":"left",model:u,ref:o},{default:()=>[m(f,{path:"currentGradeNum",rule:[{required:!0,message:"请选择年级"}]},{default:()=>[m(s,b({style:{width:"400px"},options:e.gradeNumList,placeholder:"选择年级",clearable:!0},{value:u.currentGradeNum,"onUpdate:value":e=>u.currentGradeNum=e}),null)]}),m(f,{path:"currentClass",rule:[{required:!0,message:"请选择班级"}]},{default:()=>[m(s,b({style:{width:"400px"},options:e.classArray,placeholder:"选择班级",clearable:!0},{value:u.currentClass,"onUpdate:value":e=>u.currentClass=e}),null)]})]}),m(w,{class:a.btnGroup,justify:"center"},{default:()=>[m(C,{round:!0,onClick:()=>l("close")},{default:()=>[x("取消")]}),m(C,{round:!0,loading:t.uploading,onClick:()=>(t.uploading=!0,void o.value.validate((async e=>{if(console.log(u),console.log(e),!e)try{await i({...u}),n.success("新增成功"),l("close"),l("getList"),t.uploading=!1}catch(a){t.uploading=!1,console.log(a)}}))),type:"primary"},{default:()=>[x("保存")]})]})])}});function se(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!U(e)}const ne=p({props:{activeRow:{type:Object,default:()=>({id:""})}},name:"RestStudentBox",emits:["close","getList"],setup(e,{emit:l}){const s=v(),n=g({uploading:!1});h([]),h([]),h();const i=h([]);console.log(e.activeRow,"activeRow");const c=g({name:"",id:""}),r=h([]),p=h([]),y=h(null),f=h([]),U=h([]),B=h(null),G=h([]),V=async e=>await u({page:1,rows:999,classGroupId:e}),E=k((()=>(p.value||[]).filter((e=>-1!=e.label.indexOf(y.value||""))))),N=k((()=>(U.value||[]).filter((e=>-1!=e.label.indexOf(B.value||"")))));return A((async()=>{(async()=>{try{const l=await o({page:1,rows:9999});i.value=l.data.rows.map((l=>({label:l.name,key:l.id,disabled:l.id==e.activeRow.id}))),i.value[0].disabled?(c.name=i.value[1].label,c.id=i.value[1].key):(c.name=i.value[0].label,c.id=i.value[0].key);const a=await V(c.id);U.value=a.data.rows.map((e=>({label:e.nickname+"("+e.id+")",value:e.id})))}catch(l){console.log(l)}})();const l=await V(e.activeRow.id);p.value=l.data.rows.map((e=>({label:e.nickname+"("+e.id+")",value:e.id})))})),()=>{let o,u;return m("div",{class:[a.container,a.resetStudentWrap]},[m("div",{class:a.studentTransfer},[m("div",{class:a.studentTransferList},[m("div",{class:a.studentLeft},[m("div",{class:a.listTop},[m("p",null,[e.activeRow.name]),m("span",null,[x("(当前班级)")])]),m("div",{class:a.listCore},[m(j,{class:a.chioseCheckAllBox},{default:()=>[m(L,{onUpdateChecked:e=>{E.value.length===r.value.length?r.value=[]:r.value=E.value.map((e=>e.value))},checked:E.value.length===r.value.length,indeterminate:r.value.length>0&&E.value.length!==r.value.length,label:"全选"},null)]}),m(j,null,{default:()=>[m(t,b({placeholder:"请输入学生姓名"},{class:a.searchInput,searchWord:y.value,onChangeValue:e=>y.value=e}),null)]}),m(M,{style:"max-height: 204px;min-height: 204px;margin-top:14px;"},{default:()=>[m(R,{value:r.value,"onUpdate:value":e=>r.value=e},se(o=E.value.map((e=>m(j,{class:a.chioseCheckBox},{default:()=>[m(L,{value:e.value,label:e.label},null)]}))))?o:{default:()=>[o]})]})]),m("div",{class:[a.bottomLeft,a.bottom]},[m("div",{class:a.bottomWrap},[x("共"),p.value.length,x("名学生")])])]),m("div",{class:a.chioseBox},[m("div",{class:[a.chioseBtn,a.chioseBtnRight],onClick:()=>(()=>{const e=p.value.filter((e=>-1!=r.value.indexOf(e.value)));if(e.length>0){const l=e.map((e=>({...e,studentId:e.value,toClassId:c.id})));G.value=G.value.filter((e=>!l.some((l=>l.value===e.value)))),G.value=G.value.concat(l)}p.value=p.value.filter((l=>!e.some((e=>e.value===l.value)))),e.forEach((e=>{U.value.push(e)})),r.value=[]})()},null),m("div",{class:a.chioseBtn,onClick:()=>(()=>{const l=U.value.filter((e=>-1!=f.value.indexOf(e.value)));if(l.length>0){const a=l.map((l=>({...l,studentId:l.value,toClassId:e.activeRow.id})));G.value=G.value.filter((e=>!a.some((l=>l.value===e.value)))),G.value=G.value.concat(a)}U.value=U.value.filter((e=>!l.some((l=>l.value===e.value)))),l.forEach((e=>{p.value.push(e)})),f.value=[],console.log(G.value," submitList.value===>")})()},null)]),m("div",{class:a.studentRight},[m("div",{class:a.listTop},[c.id?m(S,{key:"111",value:c.id,"onUpdate:value":e=>c.id=e,options:i.value,onSelect:e=>{(async e=>{i.value.forEach((l=>{l.key==e&&(c.name=l.label,c.id=l.key)}));const l=await V(e);U.value=l.data.rows.map((e=>({label:e.nickname+"("+e.id+")",value:e.id}))),console.log(G.value,"submitList.value"),U.value=U.value.filter((e=>!G.value.some((l=>l.value===e.value)))),G.value.forEach((e=>{e.toClassId==c.id&&(console.log(e.toClassId,e),U.value.push({label:e.label,value:e.value}))}))})(e)},scrollable:!0},{default:()=>[m("div",null,[c.name,m(I,{class:a.smallArrow,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAATRJREFUSEtjZKAxYKSx+QyjFhAM4dEgGiRBZGxszPr+/Xuue/fufSToJAIKJCQkRF+8ePEapoxRWlpa+Oev31cYGBj4/zP8L337+vVUciwRFxfn/vvv36r//xm8GJkYZ7959SoNZA6jsLi4E8Pff3thhjIxMuW/fv1yEimWQA3f9v8/gx1U35O3b17Lgi1oaGhgmjJ12sH////bkGMJFsMZGBkY09+8eTULbAGIEBUV5fnPwLidVEuwG85U9ObNy354HMAYpFpCjOFwH5BqCbGGY1hATHCRYjhWC/BZwsTEMPfvv3/IqYWBkQE1zNFTH87CDlucMDIy3Pn/n0EFEYH4DcfpA3xxQorhBC2ABdc/BsbdDP//W5BqOFEWIOKE4cK/fwzyjEyMM9++fpVDbE4f+hUOAC9/xhn8Z6OyAAAAAElFTkSuQmCC",previewDisabled:!0},null)])]}):null]),m("div",{class:a.listCore},[m(j,{class:a.chioseCheckAllBox},{default:()=>[m(L,{onUpdateChecked:e=>{N.value.length===f.value.length?f.value=[]:f.value=N.value.map((e=>e.value))},checked:N.value.length===f.value.length,indeterminate:f.value.length>0&&N.value.length!==f.value.length,label:"全选"},null)]}),m(j,null,{default:()=>[m(t,b({placeholder:"请输入学生姓名"},{class:a.searchInput,searchWord:B.value,onChangeValue:e=>B.value=e}),null)]}),m(M,{style:"max-height: 204px;min-height: 204px;margin-top:14px;"},{default:()=>[m(R,{value:f.value,"onUpdate:value":e=>f.value=e},se(u=N.value.map((e=>m(j,{class:a.chioseCheckBox},{default:()=>[m(L,{value:e.value,label:e.label},null)]}))))?u:{default:()=>[u]})]})]),m("div",{class:[a.bottomRight,a.bottom]},[m("div",{class:a.bottomWrap},[x("共"),U.value.length,x("名学生")])])])])]),m(w,{class:a.btnGroup,justify:"center"},{default:()=>[m(C,{round:!0,onClick:()=>l("close")},{default:()=>[x("取消")]}),m(C,{round:!0,loading:n.uploading,type:"primary",onClick:()=>{(async()=>{if(i.value.length<2)s.error("当前只有一个班级,无法调整");else if(G.value<1)l("close");else try{await d(G.value),l("close"),l("getList")}catch(e){console.log(e)}})()}},{default:()=>[x("保存")]})]})])}}}),ie=p({name:"train-update",emits:["close","preview"],props:{activeRow:{type:Object,default:()=>({id:"",currentGradeNum:""})}},setup(e,{emit:l}){const t=g({bookVersionId:null,classGroupId:null,category:null,chapter:null,subjectId:null,musicTagList:[],loading:!1,list:[],chapterList:[],unit:null,unitList:[],subjectList:[]});B();const s=D(),n=v(),i=h(),o=H((()=>u()),500),u=async()=>{if(t.category=null,t.unit=null,t.category=null,t.chapter=null,t.loading=!0,t.bookVersionId)try{const{data:e}=await z({page:1,rows:99,type:"COURSEWARE",enableFlag:1,bookVersionId:t.bookVersionId});t.list=e.rows.map((e=>({label:e.name,value:e.id})))}catch{}else t.list=[];t.loading=!1};return A((async()=>{await s.getSubjects(),t.subjectList=s.getSubjectList.map((e=>({label:e.name,value:e.id}))),(async()=>{t.unit=null,t.chapter=null;try{const{data:e}=await K({page:1,rows:99,type:"COURSEWARE"});(e.rows||[]).forEach((e=>{t.musicTagList.push({id:e.id,name:e.name})}))}catch{}})()})),()=>m("div",{class:a.trainUpdate},[m(y,{labelAlign:"left",labelPlacement:"left",ref:i,model:t},{default:()=>[m(f,{path:"bookVersionId",rule:[{required:!0,message:"选择教材版本"}]},{default:()=>[m(G,{placeholder:"选择教材版本",clearable:!0,options:[...t.musicTagList],labelField:"name",valueField:"id",value:t.bookVersionId,"onUpdate:value":[e=>t.bookVersionId=e,()=>o()]},null)]}),m(f,{path:"category",rule:[{required:!0,message:"请选择册别"}]},{default:()=>[m(G,b({options:[...t.list],placeholder:"选择册别",clearable:!0},{disabled:!t.bookVersionId,value:t.category,"onUpdate:value":[e=>t.category=e,()=>(async()=>{t.unit=null,t.chapter=null;try{if(t.category){const e=await c(t.category);t.unitList=e.data.lessonList.map((e=>({...e,label:e.name,value:e.id})))}else t.unitList=[]}catch(e){console.log(e)}})()]}),null)]}),m(f,{path:"unit",rule:[{required:!0,message:"请选择单元"}]},{default:()=>[m(G,b({disabled:!t.category},{options:[...t.unitList],placeholder:"选择单元",clearable:!0},{value:t.unit,"onUpdate:value":[e=>t.unit=e,()=>(()=>{if(t.chapter=null,t.unit){const e=t.unitList.find((e=>e.id===t.unit));t.chapterList=e.knowledgeList.map((e=>({...e,label:e.name,value:e.id}))),console.log("getchapterList",e)}else t.chapterList=[];console.log("getchapterList")})()]}),null)]}),m(f,{path:"chapter",rule:[{required:!0,message:"请选择章节"}]},{default:()=>[m(G,b({disabled:!t.unit},{options:[...t.chapterList],placeholder:"选择章节",clearable:!0},{value:t.chapter,"onUpdate:value":e=>t.chapter=e}),null)]}),m(f,{path:"subjectId",rule:[{required:!0,message:"请选择乐器"}]},{default:()=>[m(G,b({options:[...t.subjectList],placeholder:"选择乐器",clearable:!0},{value:t.subjectId,"onUpdate:value":e=>t.subjectId=e}),null)]}),m(w,{class:a.updateBtnGroup},{default:()=>[m(C,{strong:!0,type:"default",round:!0,onClick:()=>l("close")},{default:()=>[x("取消")]}),m(C,{strong:!0,type:"primary",round:!0,onClick:()=>{i.value.validate((async a=>{if(a)return;const{data:s}=await J({coursewareDetailKnowledgeId:t.chapter,subjectId:t.subjectId,page:1,rows:99});s.rows&&s.rows.length>0?(await Y({lessonCoursewareKnowledgeDetailId:t.chapter,classGroupId:e.activeRow.id}),l("close"),l("preview",{type:"class",classGroupId:e.activeRow.id,subjectId:t.subjectId,detailId:t.chapter})):n.error("当前章节暂无课件,请重新选择")}))}},{default:()=>[x("确认")]})]})]})])}}),oe=p({name:"coai-guide",emits:["close"],setup(e,{emit:l}){const a=g({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:$("class1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:V(-4),left:V(-294),width:V(648),height:V(227)},btnsStyle:{bottom:V(30),left:V(-130)},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:$("class2.png"),imgStyle:{top:V(-4),left:V(-276),width:V(515),height:V(227)},btnsStyle:{bottom:V(30),left:V(-110)},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:$("class3.png"),imgStyle:{top:V(-4),width:V(437),height:V(227),left:V(-276)},btnsStyle:{bottom:V(30),left:V(-113)},eleRectPadding:{left:7,top:7,width:14,height:14}}],step:0}),t=h(!1),s=localStorage.getItem("teacher-guideInfo");s&&JSON.parse(s).classGuide?t.value=!1:t.value=!0;const n=()=>{const e=document.getElementById(`class-${a.step}`);if(e){const l=e.getBoundingClientRect(),t=a.steps[a.step].eleRectPadding?.left||0,s=a.steps[a.step].eleRectPadding?.top||0,n=a.steps[a.step].eleRectPadding?.width||0,i=a.steps[a.step].eleRectPadding?.height||0;a.box={left:l.x-t+"px",top:l.y-s+"px",width:l.width+n+"px",height:l.height+i+"px"}}else o()};A((()=>{n(),window.addEventListener("resize",i)}));const i=()=>{n()};E((()=>{window.removeEventListener("resize",i)}));const o=()=>{a.step>=4?u():(a.step=a.step+1,n())},u=()=>{let e=JSON.parse(localStorage.getItem("teacher-guideInfo")||"{}")||null;e?e.classGuide=!0:e={classGuide:!0},localStorage.setItem("teacher-guideInfo",JSON.stringify(e)),t.value=!1};return()=>m(W,null,[t.value?N(m("div",{"onUpdate:show":e=>t.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[m("div",{class:X.content,onClick:()=>o()},[m("div",{class:X.backBtn,onClick:e=>{e.stopPropagation(),u()}},[x("跳过")]),m("div",{class:X.box,style:{...a.box,...a.steps[a.step].boxStyle},id:`modeType-${a.step}`},[a.steps.map(((e,l)=>m("div",{onClick:e=>e.stopPropagation(),class:X.item,style:"bottom"==e.type?{display:l===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`-${e.imgStyle?.height}`}:{display:l===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`${a.box?.height}`}},[m("img",{class:X.img,style:e.imgStyle,src:e.img},null),m("div",{class:X.btns,style:e.btnsStyle},[a.step+1==a.steps.length?m(W,null,[m("div",{class:[X.endBtn],onClick:()=>u()},[x("完成")]),m("div",{class:X.nextBtn,onClick:()=>{a.step=0,n()}},[x("再看一遍")])]):m("div",{class:X.btn,onClick:()=>o()},[x("下一步 ("),a.step+1,x("/"),a.steps.length,x(")")])])])))])])]),[[T,t.value,"show"]]):null])}}),ue="_showContentWidth_1uy1t_1",de=p({name:"the-tooltip",props:{maxWidth:{type:Number,default:300},showContentWidth:{type:Number,default:120},tipsContent:{type:String,default:""},content:{type:String,default:""},placement:{type:String,default:"top"},showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"}},setup:e=>()=>m(W,null,[m(P,{style:{maxWidth:e.maxWidth+"px"},trigger:e.trigger,placement:e.placement,showArrow:e.showArrow,delay:500},{trigger:()=>m("p",{style:{maxWidth:e.showContentWidth+"px"},class:ue},[e.content]),default:()=>e.tipsContent||e.content})])});e("default",p({name:"class-classList",setup(e,{emit:l}){const i=g({searchForm:{keyword:null,currentClass:null,currentGradeNum:null},orchestraType:null,courseTypeCode:null,loading:!1,pagination:{page:1,rows:10,pageTotal:6},gradeNumList:[],tableList:[],studentVisible:!1,activeRow:null,showaddClass:!1,goCourseVisiable:!1,removeVisiable:!1,removeRow:{},previewModal:!1,previewParams:{}}),u=h();F();const d=v(),c=B(),p=()=>{i.pagination.page=1,R(),console.log("search",i)},k=h(!1);i.gradeNumList=Q();const j=()=>{i.searchForm={keyword:null,currentClass:null,currentGradeNum:null},R()},L=async()=>{try{await r({ids:i.removeRow.id}),R(),d.success("删除成功"),i.removeVisiable=!1}catch(e){console.log(e)}},R=async()=>{i.loading=!0;try{const e=await o({...i.searchForm,...i.pagination});i.tableList=e.data.rows,i.pagination.pageTotal=e.data.total,i.loading=!1,setTimeout((()=>{i.tableList.length>0&&(k.value=!0)}),500)}catch(e){i.loading=!1,console.log(e)}console.log("getList")},S=e=>{i.activeRow=e,i.studentVisible=!0},U=e=>{i.activeRow=e,i.goCourseVisiable=!0};return A((()=>{R()})),()=>m("div",{class:a.listWrap},[m("div",{class:a.searchList},[m(y,{"label-placement":"left",inline:!0,ref:u},{default:()=>[m(f,null,{default:()=>[m(t,b({placeholder:"请输入班级名称"},{class:a.searchInput,searchWord:i.searchForm.keyword,onChangeValue:e=>i.searchForm.keyword=e}),null)]}),m(f,null,{default:()=>[m(s,b({options:i.gradeNumList,placeholder:"选择年级",clearable:!0,inline:!0},{value:i.searchForm.currentGradeNum,"onUpdate:value":e=>i.searchForm.currentGradeNum=e}),null)]}),m(f,null,{default:()=>[m(s,b({options:Z,placeholder:"选择班级",clearable:!0,inline:!0},{value:i.searchForm.currentClass,"onUpdate:value":e=>i.searchForm.currentClass=e}),null)]}),m(f,null,{default:()=>[m(w,{justify:"end"},{default:()=>[m(C,{type:"primary",class:"searchBtn",onClick:p},{default:()=>[x("搜索")]}),m(C,{type:"primary",ghost:!0,class:"resetBtn",onClick:j},{default:()=>[x("重置")]})]})]})]})]),m(C,{class:a.addBtn,type:"primary",onClick:()=>i.showaddClass=!0},{default:()=>[x("创建班级")],icon:()=>m(W,null,[m(I,{class:a.addBtnIcon,previewDisabled:!0,src:_},null)])}),m("div",{class:a.tableWrap},[m(O,{class:a.classTable,loading:i.loading,columns:[{title:"班级名称",key:"name",width:"25%"},{title:"学生人数",key:"preStudentNum",width:"25%"},{title:"上次学习",key:"lastStudy",width:"25%",render:e=>e.lastStudy?m(de,{maxWidth:300,showContentWidth:300,content:e.lastStudy},null):"--"},{title:"操作",key:"id",render:(e,l)=>m("div",null,[m(w,null,{default:()=>[0==l?m("div",{id:"class-0"},[m(C,{type:"primary",text:!0,onClick:()=>{c.push({path:"/classDetail",query:{name:e.name,id:e.id}})}},{default:()=>[x("详情")]})]):m(C,{type:"primary",text:!0,onClick:()=>{c.push({path:"/classDetail",query:{name:e.name,id:e.id}})}},{default:()=>[x("详情")]}),m(C,0==l?b({type:"primary"},{id:"class-1"},{text:!0,onClick:()=>{S(e)}}):{type:"primary",text:!0,onClick:()=>{S(e)}},{default:()=>[x("学生调整")]}),m(C,0==l?b({id:"class-2"},{disabled:!(e.preStudentNum>0),type:"primary",text:!0,onClick:()=>U(e)}):{disabled:!(e.preStudentNum>0),type:"primary",text:!0,onClick:()=>U(e)},{default:()=>[x("开始上课")]}),e.preStudentNum>0?null:m("p",{style:{color:"#EA4132",cursor:"pointer"},onClick:()=>{i.removeVisiable=!0,i.removeRow=e}},[x("删除")])]})])}],data:i.tableList},{empty:()=>m(ee,null,null)}),m(n,{page:i.pagination.page,"onUpdate:page":e=>i.pagination.page=e,pageSize:i.pagination.rows,"onUpdate:pageSize":e=>i.pagination.rows=e,pageTotal:i.pagination.pageTotal,"onUpdate:pageTotal":e=>i.pagination.pageTotal=e,onList:R,sync:!0},null)]),m(q,{show:i.studentVisible,"onUpdate:show":e=>i.studentVisible=e,preset:"card",class:["modalTitle background",a.studentVisible],title:"学员调整"},{default:()=>[m(ne,{activeRow:i.activeRow,onClose:()=>i.studentVisible=!1,onGetList:()=>R()},null)]}),m(q,{show:i.showaddClass,"onUpdate:show":e=>i.showaddClass=e,style:{width:"500px"},preset:"card",class:["modalTitle background"],title:"创建班级"},{default:()=>[m(te,{gradeNumList:i.gradeNumList,classArray:Z,onGetList:()=>R(),onClose:()=>i.showaddClass=!1},null)]}),m(q,{show:i.goCourseVisiable,"onUpdate:show":e=>i.goCourseVisiable=e,preset:"card",class:["modalTitle background",a.chioseModel],title:"选择课件"},{default:()=>[m(ie,{activeRow:i.activeRow,onClose:()=>i.goCourseVisiable=!1,onPreview:e=>{if(ae.application)i.previewModal=!0,i.previewParams={...e};else{const{href:l}=c.resolve({path:"/attend-class",query:{...e}});window.open(l,+new Date+"")}}},null)]}),m(le,{show:i.previewModal,"onUpdate:show":e=>i.previewModal=e,type:"attend",params:i.previewParams},null),m(q,{show:i.removeVisiable,"onUpdate:show":e=>i.removeVisiable=e,preset:"card",class:["modalTitle",a.removeVisiable],title:"删除班级"},{default:()=>[m("div",{class:a.studentRemove},[m("p",null,[x("确定要删除班级么?"),m("span",null,[x("删除班级信息将会清空")]),x("。")]),m(w,{class:a.btnGroup,justify:"center"},{default:()=>[m(C,{round:!0,type:"primary",onClick:L},{default:()=>[x("确定")]}),m(C,{round:!0,onClick:()=>i.removeVisiable=!1},{default:()=>[x("取消")]})]})])]}),k.value?m(oe,null,null):null])}}))}}}));