index-legacy-ff8426e4.js 19 KB

1
  1. System.register(["./index.module-legacy-9b80b9d1.js","./index-legacy-d234d07e.js","./index-legacy-14034951.js","./index-legacy-c59cd443.js","./api-legacy-2cda7ebe.js","./index-legacy-19987653.js","./Scrollbar-legacy-b0c8f085.js","./api-legacy-40db74e6.js","./index-legacy-d5c24a74.js","./contants-legacy-3211b531.js","./add-legacy-e7111c9d.js","./index-legacy-48de7c33.js","./index-legacy-e2c92f67.js","./searchs-legacy-3b019a5a.js"],(function(e,l){"use strict";var a,t,s,o,n,i,u,c,d,r,p,g,v,h,m,y,f,b,w,x,C,k,A,R,L,S,I,j,B,G,U,V,N,E,T,W,F,O,P,q,D,M,Y,J,K,$,z,Z,H,Q,_,X;return{setters:[e=>{a=e.s},e=>{t=e.S},e=>{s=e.C},e=>{o=e.P},e=>{n=e.b,i=e.c,u=e.g,c=e.d,d=e.a,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.x,w=e.X,x=e.j,C=e.k,k=e.R,A=e.q,R=e.cl,L=e.l,S=e.cm,I=e.cn,j=e.o,B=e.a$,G=e.u,U=e.W,V=e.Z,N=e._,E=e.$,T=e.F,W=e.z,F=e.cc,O=e.ck,P=e.B},e=>{q=e.N},e=>{D=e.u,M=e.q,Y=e.c,J=e.l,K=e.b},e=>{$=e.u},e=>{z=e.g,Z=e.c},e=>{H=e.a},e=>{Q=e.g,_=e.s},e=>{X=e.T},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 ee=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}),o=v(),i=h(),u=g({currentGradeNum:null,currentClass:null});return()=>m("div",{class:[a.addClass]},[m(y,{"label-placement":"left",model:u,ref:i},{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(x,{round:!0,onClick:()=>l("close")},{default:()=>[C("取消")]}),m(x,{round:!0,loading:t.uploading,onClick:()=>{i.value.validate((async e=>{if(console.log(u),console.log(e),!e)try{await n({...u}),o.success("新增成功"),l("close"),l("getList")}catch(a){console.log(a)}}))},type:"primary"},{default:()=>[C("保存")]})]})])}});function le(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!B(e)}const ae=p({props:{activeRow:{type:Object,default:()=>({id:""})}},name:"RestStudentBox",emits:["close","getList"],setup(e,{emit:l}){const s=v(),o=g({uploading:!1});h([]),h([]),h();const n=h([]);console.log(e.activeRow,"activeRow");const d=g({name:"",id:""}),r=h([]),p=h([]),y=h(null),f=h([]),B=h([]),G=h(null),U=h([]),V=async e=>await u({page:1,rows:999,classGroupId:e}),N=k((()=>(p.value||[]).filter((e=>-1!=e.label.indexOf(y.value||""))))),E=k((()=>(B.value||[]).filter((e=>-1!=e.label.indexOf(G.value||"")))));return A((async()=>{(async()=>{try{const l=await i({page:1,rows:9999});n.value=l.data.rows.map((l=>({label:l.name,key:l.id,disabled:l.id==e.activeRow.id}))),n.value[0].disabled?(d.name=n.value[1].label,d.id=n.value[1].key):(d.name=n.value[0].label,d.id=n.value[0].key);const a=await V(d.id);B.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 i,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,[C("(当前班级)")])]),m("div",{class:a.listCore},[m(R,{class:a.chioseCheckAllBox},{default:()=>[m(L,{onUpdateChecked:e=>{N.value.length===r.value.length?r.value=[]:r.value=N.value.map((e=>e.value))},checked:N.value.length===r.value.length,indeterminate:r.value.length>0&&N.value.length!==r.value.length,label:"全选"},null)]}),m(R,null,{default:()=>[m(t,b({placeholder:"请输入学生姓名"},{class:a.searchInput,searchWord:y.value,onChangeValue:e=>y.value=e}),null)]}),m(q,{style:"max-height: 204px;min-height: 204px;margin-top:14px;"},{default:()=>[m(S,{value:r.value,"onUpdate:value":e=>r.value=e},le(i=N.value.map((e=>m(R,{class:a.chioseCheckBox},{default:()=>[m(L,{value:e.value,label:e.label},null)]}))))?i:{default:()=>[i]})]})]),m("div",{class:[a.bottomLeft,a.bottom]},[m("div",{class:a.bottomWrap},[C("共"),p.value.length,C("名学生")])])]),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:d.id})));U.value=U.value.filter((e=>!l.some((l=>l.value===e.value)))),U.value=U.value.concat(l)}p.value=p.value.filter((l=>!e.some((e=>e.value===l.value)))),e.forEach((e=>{B.value.push(e)})),r.value=[]})()},null),m("div",{class:a.chioseBtn,onClick:()=>(()=>{const l=B.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})));U.value=U.value.filter((e=>!a.some((l=>l.value===e.value)))),U.value=U.value.concat(a)}B.value=B.value.filter((e=>!l.some((l=>l.value===e.value)))),l.forEach((e=>{p.value.push(e)})),f.value=[],console.log(U.value," submitList.value===>")})()},null)]),m("div",{class:a.studentRight},[m("div",{class:a.listTop},[d.id?m(I,{key:"111",value:d.id,"onUpdate:value":e=>d.id=e,options:n.value,onSelect:e=>{(async e=>{n.value.forEach((l=>{l.key==e&&(d.name=l.label,d.id=l.key)}));const l=await V(e);B.value=l.data.rows.map((e=>({label:e.nickname+"("+e.id+")",value:e.id}))),console.log(U.value,"submitList.value"),B.value=B.value.filter((e=>!U.value.some((l=>l.value===e.value)))),U.value.forEach((e=>{e.toClassId==d.id&&(console.log(e.toClassId,e),B.value.push({label:e.label,value:e.value}))}))})(e)},scrollable:!0},{default:()=>[m("div",null,[d.name,m(j,{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(R,{class:a.chioseCheckAllBox},{default:()=>[m(L,{onUpdateChecked:e=>{E.value.length===f.value.length?f.value=[]:f.value=E.value.map((e=>e.value))},checked:E.value.length===f.value.length,indeterminate:f.value.length>0&&E.value.length!==f.value.length,label:"全选"},null)]}),m(R,null,{default:()=>[m(t,b({placeholder:"请输入学生姓名"},{class:a.searchInput,searchWord:G.value,onChangeValue:e=>G.value=e}),null)]}),m(q,{style:"max-height: 204px;min-height: 204px;margin-top:14px;"},{default:()=>[m(S,{value:f.value,"onUpdate:value":e=>f.value=e},le(u=E.value.map((e=>m(R,{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},[C("共"),B.value.length,C("名学生")])])])])]),m(w,{class:a.btnGroup,justify:"center"},{default:()=>[m(x,{round:!0,onClick:()=>l("close")},{default:()=>[C("取消")]}),m(x,{round:!0,loading:o.uploading,type:"primary",onClick:()=>{(async()=>{if(n.value.length<2)s.error("当前只有一个班级,无法调整");else if(U.value<1)l("close");else try{await c(U.value),l("close"),l("getList")}catch(e){console.log(e)}})()}},{default:()=>[C("保存")]})]})])}}}),te=p({name:"train-update",emits:["close"],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:[]}),s=G(),o=D(),n=v(),i=h(),u=$((()=>c()),500),c=async()=>{if(t.category=null,t.unit=null,t.category=null,t.chapter=null,t.loading=!0,t.bookVersionId)try{const{data:e}=await J({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 o.getSubjects(),t.subjectList=o.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(U,{placeholder:"选择教材版本",clearable:!0,options:[...t.musicTagList],labelField:"name",valueField:"id",value:t.bookVersionId,"onUpdate:value":[e=>t.bookVersionId=e,()=>u()]},null)]}),m(f,{path:"category",rule:[{required:!0,message:"请选择册别"}]},{default:()=>[m(U,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 d(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(U,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(U,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(U,b({options:[...t.subjectList],placeholder:"选择乐器",clearable:!0},{value:t.subjectId,"onUpdate:value":e=>t.subjectId=e}),null)]}),m(w,{class:a.updateBtnGroup},{default:()=>[m(x,{strong:!0,type:"default",round:!0,onClick:()=>l("close")},{default:()=>[C("取消")]}),m(x,{strong:!0,type:"primary",round:!0,onClick:()=>{i.value.validate((async a=>{if(a)return;const{data:o}=await M({coursewareDetailKnowledgeId:t.chapter,subjectId:t.subjectId,page:1,rows:99});if(console.log(e.activeRow.id,"props.activeRow.id"),await Y({lessonCoursewareKnowledgeDetailId:t.chapter,classGroupId:e.activeRow.id}),o.rows&&o.rows.length>0){const{href:a}=s.resolve({path:"/attend-class",query:{type:"class",classGroupId:e.activeRow.id,subjectId:t.subjectId,detailId:t.chapter}});l("close"),window.open(a,+new Date+"")}else n.error("当前章节暂无课件,请重新选择")}))}},{default:()=>[C("确认")]})]})]})])}}),se=p({name:"coai-guide",emits:["close"],setup(e,{emit:l}){const a=g({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:Q("class1.png"),handStyle:{top:"0.91rem"},imgStyle:{left:"-294px",width:"648px",height:"227px"},btnsStyle:{bottom:"30px",left:"-90px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:Q("class2.png"),imgStyle:{top:"100%",left:"-283px",width:"515px",height:"227px"},btnsStyle:{bottom:"30px",left:V(-90)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:Q("class3.png"),imgStyle:{width:"437px",height:"227px",left:"-282px"},btnsStyle:{bottom:"30px",left:"-130px"},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 o=()=>{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,o=a.steps[a.step].eleRectPadding?.width||0,n=a.steps[a.step].eleRectPadding?.height||0;a.box={left:l.x-t+"px",top:l.y-s+"px",width:l.width+o+"px",height:l.height+n+"px"},console.log(`coai-${a.step}`,a.box)}};A((()=>{o()}));const n=()=>{a.step>=4?i():(a.step=a.step+1,o())},i=()=>{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(T,null,[t.value?N(m("div",{"onUpdate:show":e=>t.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[m("div",{class:_.content,onClick:()=>n()},[m("div",{class:_.backBtn,onClick:e=>{e.stopPropagation(),i()}},[C("跳过")]),m("div",{class:_.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:_.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:_.img,style:e.imgStyle,src:e.img},null),m("div",{class:_.btns,style:e.btnsStyle},[a.step+1==a.steps.length?m(T,null,[m("div",{class:[_.endBtn],onClick:()=>i()},[C("完成")]),m("div",{class:_.nextBtn,onClick:()=>{a.step=0,o()}},[C("再看一遍")])]):m("div",{class:_.btn,onClick:()=>n()},[C("下一步 ("),a.step+1,C("/"),a.steps.length,C(")")])])])))])])]),[[E,t.value,"show"]]):null])}}),oe="_showContentWidth_1uy1t_1",ne=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(T,null,[m(W,{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:oe},[e.content]),default:()=>e.tipsContent||e.content})])});e("default",p({name:"class-classList",setup(e,{emit:l}){const n=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:{}}),u=h();F();const c=v(),d=G(),p=()=>{n.pagination.page=1,S(),console.log("search",n)},k=h(!1);n.gradeNumList=z();const R=()=>{n.searchForm={keyword:null,currentClass:null,currentGradeNum:null},S()},L=async()=>{try{await r({ids:n.removeRow.id}),S(),c.success("删除成功"),n.removeVisiable=!1}catch(e){console.log(e)}},S=async()=>{n.loading=!0;try{const e=await i({...n.searchForm,...n.pagination});n.tableList=e.data.rows,n.pagination.pageTotal=e.data.total,n.loading=!1,setTimeout((()=>{n.tableList.length>0&&(k.value=!0)}),500)}catch(e){n.loading=!1,console.log(e)}console.log("getList")},I=e=>{n.activeRow=e,n.studentVisible=!0},B=e=>{n.activeRow=e,n.goCourseVisiable=!0};return A((()=>{S()})),()=>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:n.searchForm.keyword,onChangeValue:e=>n.searchForm.keyword=e}),null)]}),m(f,null,{default:()=>[m(s,b({options:n.gradeNumList,placeholder:"选择年级",clearable:!0,inline:!0},{value:n.searchForm.currentGradeNum,"onUpdate:value":e=>n.searchForm.currentGradeNum=e}),null)]}),m(f,null,{default:()=>[m(s,b({options:Z,placeholder:"选择班级",clearable:!0,inline:!0},{value:n.searchForm.currentClass,"onUpdate:value":e=>n.searchForm.currentClass=e}),null)]}),m(f,null,{default:()=>[m(w,{justify:"end"},{default:()=>[m(x,{type:"primary",class:"searchBtn",onClick:p},{default:()=>[C("搜索")]}),m(x,{type:"primary",ghost:!0,class:"resetBtn",onClick:R},{default:()=>[C("重置")]})]})]})]})]),m(x,{class:a.addBtn,type:"primary",onClick:()=>n.showaddClass=!0},{default:()=>[C("创建班级")],icon:()=>m(T,null,[m(j,{class:a.addBtnIcon,previewDisabled:!0,src:H},null)])}),m("div",{class:a.tableWrap},[m(O,{class:a.classTable,loading:n.loading,columns:[{title:"班级名称",key:"name"},{title:"学生人数",key:"preStudentNum"},{title:"上次学习",key:"lastStudy",render:e=>m(ne,{content:e.lastStudy?e.lastStudy:"--"},null)},{title:"操作",key:"id",render:(e,l)=>m("div",null,[m(w,null,{default:()=>[0==l?m("div",{id:"class-0"},[m(x,{type:"primary",text:!0,onClick:()=>{d.push({path:"/classDetail",query:{name:e.name,id:e.id}})}},{default:()=>[C("详情")]})]):m(x,{type:"primary",text:!0,onClick:()=>{d.push({path:"/classDetail",query:{name:e.name,id:e.id}})}},{default:()=>[C("详情")]}),m(x,0==l?b({type:"primary"},{id:"class-1"},{text:!0,onClick:()=>{I(e)}}):{type:"primary",text:!0,onClick:()=>{I(e)}},{default:()=>[C("学生调整")]}),m(x,0==l?b({id:"class-2"},{disabled:!(e.preStudentNum>0),type:"primary",text:!0,onClick:()=>B(e)}):{disabled:!(e.preStudentNum>0),type:"primary",text:!0,onClick:()=>B(e)},{default:()=>[C("开始上课")]}),e.preStudentNum>0?null:m("p",{style:{color:"#EA4132",cursor:"pointer"},onClick:()=>{n.removeVisiable=!0,n.removeRow=e}},[C("删除")])]})])}],data:n.tableList},{empty:()=>m(X,null,null)}),m(o,{page:n.pagination.page,"onUpdate:page":e=>n.pagination.page=e,pageSize:n.pagination.rows,"onUpdate:pageSize":e=>n.pagination.rows=e,pageTotal:n.pagination.pageTotal,"onUpdate:pageTotal":e=>n.pagination.pageTotal=e,onList:S,sync:!0,saveKey:"orchestraRegistration-key"},null)]),m(P,{show:n.studentVisible,"onUpdate:show":e=>n.studentVisible=e,preset:"card",class:["modalTitle background",a.studentVisible],title:"学员调整"},{default:()=>[m(ae,{activeRow:n.activeRow,onClose:()=>n.studentVisible=!1,onGetList:()=>S()},null)]}),m(P,{show:n.showaddClass,"onUpdate:show":e=>n.showaddClass=e,style:{width:"500px"},preset:"card",class:["modalTitle background"],title:"创建班级"},{default:()=>[m(ee,{gradeNumList:n.gradeNumList,classArray:Z,onGetList:()=>S(),onClose:()=>n.showaddClass=!1},null)]}),m(P,{show:n.goCourseVisiable,"onUpdate:show":e=>n.goCourseVisiable=e,preset:"card",class:["modalTitle background",a.chioseModel],title:"选择课件"},{default:()=>[m(te,{activeRow:n.activeRow,onClose:()=>n.goCourseVisiable=!1},null)]}),m(P,{show:n.removeVisiable,"onUpdate:show":e=>n.removeVisiable=e,preset:"card",class:["modalTitle",a.removeVisiable],title:"删除班级"},{default:()=>[m("div",{class:a.studentRemove},[m("p",null,[C("确定要删除班级么?"),m("span",null,[C("删除后该班级所有学生的年级、班级信息将会清空")]),C(",重新加入班级后同步更新。")]),m(w,{class:a.btnGroup,justify:"center"},{default:()=>[m(x,{round:!0,type:"primary",onClick:L},{default:()=>[C("确定")]}),m(x,{round:!0,onClick:()=>n.removeVisiable=!1},{default:()=>[C("取消")]})]})])]}),k.value?m(se,null,null):null])}}))}}}));