index-legacy-4e5f0067.js 20 KB

1
  1. System.register(["./index.module-legacy-7b43c8af.js","./index-legacy-9b92eb9c.js","./index-legacy-82aa4d19.js","./index-legacy-0a44d9ba.js","./api-legacy-736117fb.js","./index-legacy-30222f26.js","./contants-legacy-0299c031.js","./isCollaose-legacy-89a0393b.js","./index-legacy-d883099e.js","./contants-legacy-51c338a8.js","./add-legacy-e7111c9d.js","./index-legacy-c744553f.js","./index-legacy-bb796666.js","./index-legacy-8dd9d1ef.js","./state-legacy-a8c46e96.js","./Slider-legacy-cbe87137.js","./index-legacy-45553104.js","./index-legacy-e7b65839.js","./index-legacy-b8dc5b29.js","./index-legacy-6c6f9353.js","./index-legacy-ffa7e9fa.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,te=document.createElement("style");return te.textContent="._showContentWidth_1uy1t_1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n",document.head.appendChild(te),{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(){const l=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 te(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!U(e)}const se=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},te(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},te(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("保存")]})]})])}}}),ne=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("确认")]})]})]})])}}),ie=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])}}),oe="_showContentWidth_1uy1t_1",ue=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:oe},[e.content]),default:()=>e.tipsContent||e.content})])});e("default",p({name:"class-classList",setup(e,{emit:i}){const u=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:{}}),d=h();F();const c=v(),p=B(),k=()=>{u.pagination.page=1,S(),console.log("search",u)},j=h(!1);u.gradeNumList=Q();const L=()=>{u.searchForm={keyword:null,currentClass:null,currentGradeNum:null},S()},R=async()=>{try{await r({ids:u.removeRow.id}),S(),c.success("删除成功"),u.removeVisiable=!1}catch(e){console.log(e)}},S=async()=>{u.loading=!0;try{const e=await o({...u.searchForm,...u.pagination});u.tableList=e.data.rows,u.pagination.pageTotal=e.data.total,u.loading=!1,setTimeout((()=>{u.tableList.length>0&&(j.value=!0)}),500)}catch(e){u.loading=!1,console.log(e)}console.log("getList")},U=e=>{u.activeRow=e,u.studentVisible=!0},G=e=>{u.activeRow=e,u.goCourseVisiable=!0};return A((()=>{S()})),()=>m("div",{class:a.listWrap},[m("div",{class:a.searchList},[m(y,{"label-placement":"left",inline:!0,ref:d},{default:()=>[m(f,null,{default:()=>[m(t,b({placeholder:"请输入班级名称"},{class:a.searchInput,searchWord:u.searchForm.keyword,onChangeValue:e=>u.searchForm.keyword=e}),null)]}),m(f,null,{default:()=>[m(s,b({options:u.gradeNumList,placeholder:"选择年级",clearable:!0,inline:!0},{value:u.searchForm.currentGradeNum,"onUpdate:value":e=>u.searchForm.currentGradeNum=e}),null)]}),m(f,null,{default:()=>[m(s,b({options:Z,placeholder:"选择班级",clearable:!0,inline:!0},{value:u.searchForm.currentClass,"onUpdate:value":e=>u.searchForm.currentClass=e}),null)]}),m(f,null,{default:()=>[m(w,{justify:"end"},{default:()=>[m(C,{type:"primary",class:"searchBtn",onClick:k},{default:()=>[x("搜索")]}),m(C,{type:"primary",ghost:!0,class:"resetBtn",onClick:L},{default:()=>[x("重置")]})]})]})]})]),m(C,{class:a.addBtn,type:"primary",onClick:()=>u.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:u.loading,columns:[{title:"班级名称",key:"name",width:"25%"},{title:"学生人数",key:"preStudentNum",width:"25%"},{title:"上次学习",key:"lastStudy",width:"25%",render:e=>e.lastStudy?m(ue,{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:()=>{p.push({path:"/classDetail",query:{name:e.name,id:e.id}})}},{default:()=>[x("详情")]})]):m(C,{type:"primary",text:!0,onClick:()=>{p.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:()=>{U(e)}}):{type:"primary",text:!0,onClick:()=>{U(e)}},{default:()=>[x("学生调整")]}),m(C,0==l?b({id:"class-2"},{disabled:!(e.preStudentNum>0),type:"primary",text:!0,onClick:()=>G(e)}):{disabled:!(e.preStudentNum>0),type:"primary",text:!0,onClick:()=>G(e)},{default:()=>[x("开始上课")]}),e.preStudentNum>0?null:m("p",{style:{color:"#EA4132",cursor:"pointer"},onClick:()=>{u.removeVisiable=!0,u.removeRow=e}},[x("删除")])]})])}],data:u.tableList},{empty:()=>m(ee,null,null)}),m(n,{page:u.pagination.page,"onUpdate:page":e=>u.pagination.page=e,pageSize:u.pagination.rows,"onUpdate:pageSize":e=>u.pagination.rows=e,pageTotal:u.pagination.pageTotal,"onUpdate:pageTotal":e=>u.pagination.pageTotal=e,onList:S,sync:!0},null)]),m(q,{show:u.studentVisible,"onUpdate:show":e=>u.studentVisible=e,preset:"card",class:["modalTitle background",a.studentVisible],title:"学员调整"},{default:()=>[m(se,{activeRow:u.activeRow,onClose:()=>u.studentVisible=!1,onGetList:()=>S()},null)]}),m(q,{show:u.showaddClass,"onUpdate:show":e=>u.showaddClass=e,style:{width:"500px"},preset:"card",class:["modalTitle background"],title:"创建班级"},{default:()=>[m(l,{gradeNumList:u.gradeNumList,classArray:Z,onGetList:()=>S(),onClose:()=>u.showaddClass=!1},null)]}),m(q,{show:u.goCourseVisiable,"onUpdate:show":e=>u.goCourseVisiable=e,preset:"card",class:["modalTitle background",a.chioseModel],title:"选择课件"},{default:()=>[m(ne,{activeRow:u.activeRow,onClose:()=>u.goCourseVisiable=!1,onPreview:e=>{if(ae.application)u.previewModal=!0,u.previewParams={...e};else{const{href:l}=p.resolve({path:"/attend-class",query:{...e}});window.open(l,+new Date+"")}}},null)]}),m(le,{show:u.previewModal,"onUpdate:show":e=>u.previewModal=e,type:"attend",params:u.previewParams},null),m(q,{show:u.removeVisiable,"onUpdate:show":e=>u.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:R},{default:()=>[x("确定")]}),m(C,{round:!0,onClick:()=>u.removeVisiable=!1},{default:()=>[x("取消")]})]})])]}),j.value?m(ie,null,null):null])}}))}}}));