index-992db78a.js 19 KB

1
  1. import{s}from"./index.module-ef7421dc.js";import{S as M}from"./index-4492a26c.js";import{C as U}from"./index-e55eeb06.js";import{P as le}from"./index-f17c0a8e.js";import{b as se,c as Q,g as ue,d as oe,a as ne,e as re}from"./api-68f15300.js";import{d as N,e as B,b as W,r as y,f as t,N as z,g as k,x as S,X as I,j as f,k as r,R as Y,q as P,cn as F,l as G,co as $,cp as ie,o as H,b5 as ce,u as _,W as T,Z as de,$ as pe,a0 as ge,F as j,z as he,ce as ve,cm as me,B as V}from"./index-7bba3724.js";import{N as J}from"./Scrollbar-ebccdcc9.js";import{u as fe,q as ye,c as be,l as Ce,b as we}from"./api-d07c8407.js";import{u as xe}from"./index-d33f85c4.js";import{g as Ae,c as K}from"./contants-8d937ad8.js";import{a as Se}from"./add-efe8238e.js";import{g as q,s as L}from"./index-500ba9cd.js";import{T as ke}from"./index-fbfc330e.js";import"./searchs-1f038725.js";const Le=N({props:{activeRow:{type:Object,default:()=>({id:""})},gradeNumList:{type:Array,default:()=>[]},classArray:{type:Array,default:()=>[]}},name:"resetStudent",emits:["close","getList"],setup(d,{emit:x}){const e=B({uploading:!1}),b=W(),v=y(),i=B({currentGradeNum:null,currentClass:null}),m=()=>{v.value.validate(async h=>{if(console.log(i),console.log(h),!h)try{const C=await se({...i});b.success("新增成功"),x("close"),x("getList")}catch(C){console.log(C)}})};return()=>t("div",{class:[s.addClass]},[t(z,{"label-placement":"left",model:i,ref:v},{default:()=>[t(k,{path:"currentGradeNum",rule:[{required:!0,message:"请选择年级"}]},{default:()=>[t(U,S({style:{width:"400px"},options:d.gradeNumList,placeholder:"选择年级",clearable:!0},{value:i.currentGradeNum,"onUpdate:value":h=>i.currentGradeNum=h}),null)]}),t(k,{path:"currentClass",rule:[{required:!0,message:"请选择班级"}]},{default:()=>[t(U,S({style:{width:"400px"},options:d.classArray,placeholder:"选择班级",clearable:!0},{value:i.currentClass,"onUpdate:value":h=>i.currentClass=h}),null)]})]}),t(I,{class:s.btnGroup,justify:"center"},{default:()=>[t(f,{round:!0,onClick:()=>x("close")},{default:()=>[r("取消")]}),t(f,{round:!0,loading:e.uploading,onClick:()=>m(),type:"primary"},{default:()=>[r("保存")]})]})])}}),Ee="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";function Z(d){return typeof d=="function"||Object.prototype.toString.call(d)==="[object Object]"&&!ce(d)}const Re=N({props:{activeRow:{type:Object,default:()=>({id:""})}},name:"RestStudentBox",emits:["close","getList"],setup(d,{emit:x}){const e=W(),b=B({uploading:!1});y([]),y([]),y();const v=y([]);console.log(d.activeRow,"activeRow");const i=B({name:"",id:""}),m=y([]),h=y([]),C=y(null),o=y([]),p=y([]),A=y(null),g=y([]),u=async()=>{try{const n=await Q({page:1,rows:9999});v.value=n.data.rows.map(l=>({label:l.name,key:l.id,disabled:l.id==d.activeRow.id})),v.value[0].disabled?(i.name=v.value[1].label,i.id=v.value[1].key):(i.name=v.value[0].label,i.id=v.value[0].key);const c=await a(i.id);p.value=c.data.rows.map(l=>({label:l.nickname+"("+l.id+")",value:l.id}))}catch(n){console.log(n)}},a=async n=>await ue({page:1,rows:999,classGroupId:n}),w=async n=>{v.value.forEach(l=>{l.key==n&&(i.name=l.label,i.id=l.key)});const c=await a(n);p.value=c.data.rows.map(l=>({label:l.nickname+"("+l.id+")",value:l.id})),console.log(g.value,"submitList.value"),p.value=p.value.filter(l=>!g.value.some(D=>D.value===l.value)),g.value.forEach(l=>{l.toClassId==i.id&&(console.log(l.toClassId,l),p.value.push({label:l.label,value:l.value}))})},E=Y(()=>(h.value||[]).filter(l=>l.label.indexOf(C.value||"")!=-1)),R=Y(()=>(p.value||[]).filter(l=>l.label.indexOf(A.value||"")!=-1)),O=()=>{E.value.length===m.value.length?m.value=[]:m.value=E.value.map(n=>n.value)},X=()=>{R.value.length===o.value.length?o.value=[]:o.value=R.value.map(n=>n.value)},ee=()=>{const n=h.value.filter(c=>m.value.indexOf(c.value)!=-1);if(n.length>0){const c=n.map(l=>({...l,studentId:l.value,toClassId:i.id}));g.value=g.value.filter(l=>!c.some(D=>D.value===l.value)),g.value=g.value.concat(c)}h.value=h.value.filter(c=>!n.some(l=>l.value===c.value)),n.forEach(c=>{p.value.push(c)}),m.value=[]},te=()=>{const n=p.value.filter(c=>o.value.indexOf(c.value)!=-1);if(n.length>0){const c=n.map(l=>({...l,studentId:l.value,toClassId:d.activeRow.id}));g.value=g.value.filter(l=>!c.some(D=>D.value===l.value)),g.value=g.value.concat(c)}p.value=p.value.filter(c=>!n.some(l=>l.value===c.value)),n.forEach(c=>{h.value.push(c)}),o.value=[],console.log(g.value," submitList.value===>")},ae=async()=>{if(v.value.length<2){e.error("当前只有一个班级,无法调整");return}if(g.value<1){x("close");return}try{const n=await oe(g.value);x("close"),x("getList")}catch(n){console.log(n)}};return P(async()=>{u();const n=await a(d.activeRow.id);h.value=n.data.rows.map(c=>({label:c.nickname+"("+c.id+")",value:c.id}))}),()=>{let n,c;return t("div",{class:[s.container,s.resetStudentWrap]},[t("div",{class:s.studentTransfer},[t("div",{class:s.studentTransferList},[t("div",{class:s.studentLeft},[t("div",{class:s.listTop},[t("p",null,[d.activeRow.name]),t("span",null,[r("(当前班级)")])]),t("div",{class:s.listCore},[t(F,{class:s.chioseCheckAllBox},{default:()=>[t(G,{onUpdateChecked:l=>{O()},checked:E.value.length===m.value.length,indeterminate:m.value.length>0&&E.value.length!==m.value.length,label:"全选"},null)]}),t(F,null,{default:()=>[t(M,S({placeholder:"请输入学生姓名"},{class:s.searchInput,searchWord:C.value,onChangeValue:l=>C.value=l}),null)]}),t(J,{style:"max-height: 204px;min-height: 204px;margin-top:14px;"},{default:()=>[t($,{value:m.value,"onUpdate:value":l=>m.value=l},Z(n=E.value.map(l=>t(F,{class:s.chioseCheckBox},{default:()=>[t(G,{value:l.value,label:l.label},null)]})))?n:{default:()=>[n]})]})]),t("div",{class:[s.bottomLeft,s.bottom]},[t("div",{class:s.bottomWrap},[r("共"),h.value.length,r("名学生")])])]),t("div",{class:s.chioseBox},[t("div",{class:[s.chioseBtn,s.chioseBtnRight],onClick:()=>ee()},null),t("div",{class:s.chioseBtn,onClick:()=>te()},null)]),t("div",{class:s.studentRight},[t("div",{class:s.listTop},[i.id?t(ie,{key:"111",value:i.id,"onUpdate:value":l=>i.id=l,options:v.value,onSelect:l=>{w(l)},scrollable:!0},{default:()=>[t("div",null,[i.name,t(H,{class:s.smallArrow,src:Ee,previewDisabled:!0},null)])]}):null]),t("div",{class:s.listCore},[t(F,{class:s.chioseCheckAllBox},{default:()=>[t(G,{onUpdateChecked:l=>{X()},checked:R.value.length===o.value.length,indeterminate:o.value.length>0&&R.value.length!==o.value.length,label:"全选"},null)]}),t(F,null,{default:()=>[t(M,S({placeholder:"请输入学生姓名"},{class:s.searchInput,searchWord:A.value,onChangeValue:l=>A.value=l}),null)]}),t(J,{style:"max-height: 204px;min-height: 204px;margin-top:14px;"},{default:()=>[t($,{value:o.value,"onUpdate:value":l=>o.value=l},Z(c=R.value.map(l=>t(F,{class:s.chioseCheckBox},{default:()=>[t(G,{value:l.value,label:l.label},null)]})))?c:{default:()=>[c]})]})]),t("div",{class:[s.bottomRight,s.bottom]},[t("div",{class:s.bottomWrap},[r("共"),p.value.length,r("名学生")])])])])]),t(I,{class:s.btnGroup,justify:"center"},{default:()=>[t(f,{round:!0,onClick:()=>x("close")},{default:()=>[r("取消")]}),t(f,{round:!0,loading:b.uploading,type:"primary",onClick:()=>{ae()}},{default:()=>[r("保存")]})]})])}}}),Be=N({name:"train-update",emits:["close"],props:{activeRow:{type:Object,default:()=>({id:"",currentGradeNum:""})}},setup(d,{emit:x}){const e=B({bookVersionId:null,classGroupId:null,category:null,chapter:null,subjectId:null,musicTagList:[],loading:!1,list:[],chapterList:[],unit:null,unitList:[],subjectList:[]}),b=_(),v=fe(),i=W(),m=()=>{h.value.validate(async u=>{if(u)return;const{data:a}=await ye({coursewareDetailKnowledgeId:e.chapter,subjectId:e.subjectId,page:1,rows:99});if(console.log(d.activeRow.id,"props.activeRow.id"),await be({lessonCoursewareKnowledgeDetailId:e.chapter,classGroupId:d.activeRow.id}),a.rows&&a.rows.length>0){const{href:w}=b.resolve({path:"/attend-class",query:{type:"class",classGroupId:d.activeRow.id,subjectId:e.subjectId,detailId:e.chapter}});x("close"),window.open(w,+new Date+"","fullscreen=yes")}else i.error("当前章节暂无课件,请重新选择")})},h=y(),C=xe(()=>o(),500),o=async()=>{if(e.category=null,e.unit=null,e.category=null,e.chapter=null,e.loading=!0,e.bookVersionId)try{const{data:u}=await Ce({page:1,rows:99,type:"COURSEWARE",enableFlag:1,bookVersionId:e.bookVersionId});e.list=u.rows.map(a=>({label:a.name,value:a.id}))}catch(u){}else e.list=[];e.loading=!1},p=async()=>{e.unit=null,e.chapter=null;try{const{data:u}=await we({page:1,rows:99,type:"COURSEWARE"});(u.rows||[]).forEach(w=>{e.musicTagList.push({id:w.id,name:w.name})})}catch(u){}},A=async()=>{e.unit=null,e.chapter=null;try{if(e.category){const u=await ne(e.category);e.unitList=u.data.lessonList.map(a=>({...a,label:a.name,value:a.id}))}else e.unitList=[]}catch(u){console.log(u)}},g=()=>{if(e.chapter=null,e.unit){const u=e.unitList.find(a=>a.id===e.unit);e.chapterList=u.knowledgeList.map(a=>({...a,label:a.name,value:a.id})),console.log("getchapterList",u)}else e.chapterList=[];console.log("getchapterList")};return P(async()=>{await v.getSubjects(),e.subjectList=v.getSubjectList.map(u=>({label:u.name,value:u.id})),p()}),()=>t("div",{class:s.trainUpdate},[t(z,{labelAlign:"left",labelPlacement:"left",ref:h,model:e},{default:()=>[t(k,{path:"bookVersionId",rule:[{required:!0,message:"选择教材版本"}]},{default:()=>[t(T,{placeholder:"选择教材版本",clearable:!0,options:[...e.musicTagList],labelField:"name",valueField:"id",value:e.bookVersionId,"onUpdate:value":[u=>e.bookVersionId=u,()=>C()]},null)]}),t(k,{path:"category",rule:[{required:!0,message:"请选择册别"}]},{default:()=>[t(T,S({options:[...e.list],placeholder:"选择册别",clearable:!0},{disabled:!e.bookVersionId,value:e.category,"onUpdate:value":[u=>e.category=u,()=>A()]}),null)]}),t(k,{path:"unit",rule:[{required:!0,message:"请选择单元"}]},{default:()=>[t(T,S({disabled:!e.category},{options:[...e.unitList],placeholder:"选择单元",clearable:!0},{value:e.unit,"onUpdate:value":[u=>e.unit=u,()=>g()]}),null)]}),t(k,{path:"chapter",rule:[{required:!0,message:"请选择章节"}]},{default:()=>[t(T,S({disabled:!e.unit},{options:[...e.chapterList],placeholder:"选择章节",clearable:!0},{value:e.chapter,"onUpdate:value":u=>e.chapter=u}),null)]}),t(k,{path:"subjectId",rule:[{required:!0,message:"请选择乐器"}]},{default:()=>[t(T,S({options:[...e.subjectList],placeholder:"选择乐器",clearable:!0},{value:e.subjectId,"onUpdate:value":u=>e.subjectId=u}),null)]}),t(I,{class:s.updateBtnGroup},{default:()=>[t(f,{strong:!0,type:"default",round:!0,onClick:()=>x("close")},{default:()=>[r("取消")]}),t(f,{strong:!0,type:"primary",round:!0,onClick:()=>m()},{default:()=>[r("确认")]})]})]})])}}),Fe=N({name:"coai-guide",emits:["close"],setup(d,{emit:x}){const e=B({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:de(-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}),b=y(!1),v=localStorage.getItem("teacher-guideInfo");v&&JSON.parse(v).classGuide?b.value=!1:b.value=!0;const i=()=>{var p,A,g,u;const o=document.getElementById(`class-${e.step}`);if(o){const a=o.getBoundingClientRect(),w=((p=e.steps[e.step].eleRectPadding)==null?void 0:p.left)||0,E=((A=e.steps[e.step].eleRectPadding)==null?void 0:A.top)||0,R=((g=e.steps[e.step].eleRectPadding)==null?void 0:g.width)||0,O=((u=e.steps[e.step].eleRectPadding)==null?void 0:u.height)||0;e.box={left:a.x-w+"px",top:a.y-E+"px",width:a.width+R+"px",height:a.height+O+"px"},console.log(`coai-${e.step}`,e.box)}};P(()=>{i(),window.addEventListener("resize",m)});const m=()=>{i()};onUnmounted(()=>{window.removeEventListener("resize",m)});const h=()=>{if(e.step>=4){C();return}e.step=e.step+1,i()},C=()=>{let o=JSON.parse(localStorage.getItem("teacher-guideInfo")||"{}")||null;o?o.classGuide=!0:o={classGuide:!0},localStorage.setItem("teacher-guideInfo",JSON.stringify(o)),b.value=!1};return()=>t(j,null,[b.value?pe(t("div",{"onUpdate:show":o=>b.value=o,class:["n-modal-mask","n-modal-mask-guide"]},[t("div",{class:L.content,onClick:()=>h()},[t("div",{class:L.backBtn,onClick:o=>{o.stopPropagation(),C()}},[r("跳过")]),t("div",{class:L.box,style:{...e.box,...e.steps[e.step].boxStyle},id:`modeType-${e.step}`},[e.steps.map((o,p)=>{var A,g,u,a;return t("div",{onClick:w=>w.stopPropagation(),class:L.item,style:o.type=="bottom"?{display:p===e.step?"":"none",left:`${(A=o.eleRect)==null?void 0:A.left}px`,top:`-${(g=o.imgStyle)==null?void 0:g.height}`}:{display:p===e.step?"":"none",left:`${(u=o.eleRect)==null?void 0:u.left}px`,top:`${(a=e.box)==null?void 0:a.height}`}},[t("img",{class:L.img,style:o.imgStyle,src:o.img},null),t("div",{class:L.btns,style:o.btnsStyle},[e.step+1==e.steps.length?t(j,null,[t("div",{class:[L.endBtn],onClick:()=>C()},[r("完成")]),t("div",{class:L.nextBtn,onClick:()=>{e.step=0,i()}},[r("再看一遍")])]):t("div",{class:L.btn,onClick:()=>h()},[r("下一步 ("),e.step+1,r("/"),e.steps.length,r(")")])])])})])])]),[[ge,b.value,"show"]]):null])}}),Ie="_showContentWidth_1uy1t_1",Ne={showContentWidth:Ie},De=N({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(d){return()=>t(j,null,[t(he,{style:{maxWidth:d.maxWidth+"px"},trigger:d.trigger,placement:d.placement,showArrow:d.showArrow,delay:500},{trigger:()=>t("p",{style:{maxWidth:d.showContentWidth+"px"},class:Ne.showContentWidth},[d.content]),default:()=>d.tipsContent||d.content})])}}),Ke=N({name:"class-classList",setup(d,{emit:x}){const e=B({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:{}}),b=y();ve();const v=W(),i=_(),m=()=>{e.pagination.page=1,p(),console.log("search",e)},h=y(!1);e.gradeNumList=Ae();const C=()=>{e.searchForm={keyword:null,currentClass:null,currentGradeNum:null},p()},o=async()=>{try{await re({ids:e.removeRow.id}),p(),v.success("删除成功"),e.removeVisiable=!1}catch(a){console.log(a)}},p=async()=>{e.loading=!0;try{const a=await Q({...e.searchForm,...e.pagination});e.tableList=a.data.rows,e.pagination.pageTotal=a.data.total,e.loading=!1,setTimeout(()=>{e.tableList.length>0&&(h.value=!0)},500)}catch(a){e.loading=!1,console.log(a)}console.log("getList")},A=()=>[{title:"班级名称",key:"name"},{title:"学生人数",key:"preStudentNum"},{title:"上次学习",key:"lastStudy",render(a){return t(De,{content:a.lastStudy?a.lastStudy:"--"},null)}},{title:"操作",key:"id",render(a,w){return t("div",null,[t(I,null,{default:()=>[w==0?t("div",{id:"class-0"},[t(f,{type:"primary",text:!0,onClick:()=>{i.push({path:"/classDetail",query:{name:a.name,id:a.id}})}},{default:()=>[r("详情")]})]):t(f,{type:"primary",text:!0,onClick:()=>{i.push({path:"/classDetail",query:{name:a.name,id:a.id}})}},{default:()=>[r("详情")]}),w==0?t(f,S({type:"primary"},{id:"class-1"},{text:!0,onClick:()=>{g(a)}}),{default:()=>[r("学生调整")]}):t(f,{type:"primary",text:!0,onClick:()=>{g(a)}},{default:()=>[r("学生调整")]}),w==0?t(f,S({id:"class-2"},{disabled:!(a.preStudentNum>0),type:"primary",text:!0,onClick:()=>u(a)}),{default:()=>[r("开始上课")]}):t(f,{disabled:!(a.preStudentNum>0),type:"primary",text:!0,onClick:()=>u(a)},{default:()=>[r("开始上课")]}),a.preStudentNum>0?null:t("p",{style:{color:"#EA4132",cursor:"pointer"},onClick:()=>{e.removeVisiable=!0,e.removeRow=a}},[r("删除")])]})])}}],g=a=>{e.activeRow=a,e.studentVisible=!0},u=a=>{e.activeRow=a,e.goCourseVisiable=!0};return P(()=>{p()}),()=>t("div",{class:s.listWrap},[t("div",{class:s.searchList},[t(z,{"label-placement":"left",inline:!0,ref:b},{default:()=>[t(k,null,{default:()=>[t(M,S({placeholder:"请输入班级名称"},{class:s.searchInput,searchWord:e.searchForm.keyword,onChangeValue:a=>e.searchForm.keyword=a}),null)]}),t(k,null,{default:()=>[t(U,S({options:e.gradeNumList,placeholder:"选择年级",clearable:!0,inline:!0},{value:e.searchForm.currentGradeNum,"onUpdate:value":a=>e.searchForm.currentGradeNum=a}),null)]}),t(k,null,{default:()=>[t(U,S({options:K,placeholder:"选择班级",clearable:!0,inline:!0},{value:e.searchForm.currentClass,"onUpdate:value":a=>e.searchForm.currentClass=a}),null)]}),t(k,null,{default:()=>[t(I,{justify:"end"},{default:()=>[t(f,{type:"primary",class:"searchBtn",onClick:m},{default:()=>[r("搜索")]}),t(f,{type:"primary",ghost:!0,class:"resetBtn",onClick:C},{default:()=>[r("重置")]})]})]})]})]),t(f,{class:s.addBtn,type:"primary",onClick:()=>e.showaddClass=!0},{default:()=>[r("创建班级")],icon:()=>t(j,null,[t(H,{class:s.addBtnIcon,previewDisabled:!0,src:Se},null)])}),t("div",{class:s.tableWrap},[t(me,{class:s.classTable,loading:e.loading,columns:A(),data:e.tableList},{empty:()=>t(ke,null,null)}),t(le,{page:e.pagination.page,"onUpdate:page":a=>e.pagination.page=a,pageSize:e.pagination.rows,"onUpdate:pageSize":a=>e.pagination.rows=a,pageTotal:e.pagination.pageTotal,"onUpdate:pageTotal":a=>e.pagination.pageTotal=a,onList:p,sync:!0,saveKey:"orchestraRegistration-key"},null)]),t(V,{show:e.studentVisible,"onUpdate:show":a=>e.studentVisible=a,preset:"card",class:["modalTitle background",s.studentVisible],title:"学员调整"},{default:()=>[t(Re,{activeRow:e.activeRow,onClose:()=>e.studentVisible=!1,onGetList:()=>p()},null)]}),t(V,{show:e.showaddClass,"onUpdate:show":a=>e.showaddClass=a,style:{width:"500px"},preset:"card",class:["modalTitle background"],title:"创建班级"},{default:()=>[t(Le,{gradeNumList:e.gradeNumList,classArray:K,onGetList:()=>p(),onClose:()=>e.showaddClass=!1},null)]}),t(V,{show:e.goCourseVisiable,"onUpdate:show":a=>e.goCourseVisiable=a,preset:"card",class:["modalTitle background",s.chioseModel],title:"选择课件"},{default:()=>[t(Be,{activeRow:e.activeRow,onClose:()=>e.goCourseVisiable=!1},null)]}),t(V,{show:e.removeVisiable,"onUpdate:show":a=>e.removeVisiable=a,preset:"card",class:["modalTitle",s.removeVisiable],title:"删除班级"},{default:()=>[t("div",{class:s.studentRemove},[t("p",null,[r("确定要删除班级么?"),t("span",null,[r("删除后该班级所有学生的年级、班级信息将会清空")]),r(",重新加入班级后同步更新。")]),t(I,{class:s.btnGroup,justify:"center"},{default:()=>[t(f,{round:!0,type:"primary",onClick:o},{default:()=>[r("确定")]}),t(f,{round:!0,onClick:()=>e.removeVisiable=!1},{default:()=>[r("取消")]})]})])]}),h.value?t(Fe,null,null):null])}});export{Ke as default};