create.b709bdbe.js 32 KB

1
  1. import{S as Q,d as S,y as m,g as v,j as t,A as a,F as p,B as b,C as H,D as R,N as F,T as E,n as O,$ as Z,aS as x}from"./ResizeObserver.es.39b48a47.js";import{G as J,a as V}from"./index.5416c7b0.js";import{S as C}from"./index.608320e9.js";import{C as r}from"./index.f6c41ddf.js";import{C as f}from"./index.867583ad.js";import{C as w}from"./index.a0f53d9f.js";import{C as G}from"./index.c6490fa7.js";import{v as X}from"./toolsValidate.add49407.js";import{R as D,C as L}from"./index.16ffd6ad.js";import"./index.db115763.js";import{F as n}from"./index.428ab1a8.js";import{S as _}from"./index.565ba66d.js";import{C as B}from"./index.970ad07b.js";import{F as M}from"./index.45e4ca3e.js";import{C as $}from"./index.c32ce48b.js";import{S as ee}from"./index.e10a1ae2.js";import{M as te}from"./index.25ff6681.js";import{S as se}from"./index.fbd2c321.js";import{L as T}from"./index.6c529ad4.js";import"./index.0e35d2fb.js";import{T as oe,a as I}from"./index.5d4d28cc.js";import{T as le}from"./index.e90d2179.js";import{U as ae}from"./index.4c32c83c.js";import{S as N}from"./index.f11db230.js";import{C as ie}from"./index.a177d001.js";import{i as ue,T as re}from"./index.f8ad93b3.js";import"./index.fcbcb027.js";import"./index.fe852f14.js";import"./use-id.b004ff17.js";import"./index.0a093430.js";import"./index.3c44a6d7.js";import"./index.bb84a3aa.js";import"./checkbox_default.69f49af8.js";import"./index.a256e876.js";import"./icon-xin.797feb04.js";import"./icon_uploader.21a85a4d.js";import"./icon_album.4957b8e0.js";import"./icon_album_active.cb923735.js";import"./icon_exquisite.01ddc5aa.js";import"./icon_music_active.f55820b3.js";import"./icon-play.bc9e7aab.js";import"./use-tab-status.bcc0c503.js";import"./use-refs.07204da6.js";import"./index.dc19bc54.js";import"./index.9f5e14d1.js";import"./icon_teacher.40b6f077.js";import"./icon_timer2.5fb1750d.js";import"./index.34ac729a.js";import"./bars.4f1962a6.js";const ne="_gridName_15lgn_1",ce="_active_15lgn_8",de="_gridColumn_15lgn_11",me="_iconQuestion_15lgn_32",pe="_tipPopup_15lgn_37";var c={"video-create":"_video-create_15lgn_1",gridName:ne,active:ce,gridColumn:de,iconQuestion:me,tipPopup:pe};const he="_classInfo_19al9_1",ge="_infoField_19al9_1",fe="_boxStyle_19al9_14",be="_radioGroup_19al9_34",Ae="_radio_19al9_34",ve="_active_19al9_52",Se="_imgContainer_19al9_57",Ce="_btnGroup_19al9_71",ye="_photoTip_19al9_84";var i={classInfo:he,infoField:ge,boxStyle:fe,radioGroup:be,radio:Ae,active:ve,imgContainer:Se,btnGroup:Ce,"class-info-tip":"_class-info-tip_19al9_75",photoTip:ye};const s=Q({groupId:0,active:1,tabIndex:1,loadingStatus:!1,rate:0,video_account_period:0,subjectList:[],templateList:["https://oss.dayaedu.com/video-course/1657853010619green.png","https://oss.dayaedu.com/video-course/1657853051064gray.png","https://oss.dayaedu.com/video-course/1657853062314yellow.png","https://oss.dayaedu.com/video-course/1657853076136linear.png"],lessonGroup:{id:null,lessonName:"",lessonSubject:null,lessonDesc:"",payType:"PAY",lessonPrice:null,lessonCoverUrl:"",relationType:"RECOMMEND",lessonCoverTemplateUrl:""},lessonList:[{videoTitle:"",videoContent:"",videoUrl:"",coverUrl:"",relationList:[],posterUrl:""}]});var Le=S({name:"ClassInfo",data(){return{subjectStatus:!1,checked:!1}},computed:{choiceSubjectIds(){const e=s.lessonGroup.lessonSubject?Number(s.lessonGroup.lessonSubject):null;return console.log(e),e?[e]:[]},subjectList(){return s.subjectList||[]},lessonSubjectName(){let e="";return this.subjectList.forEach(o=>{this.choiceSubjectIds.includes(o.id)&&(e=o.name)}),e},calcRatePrice(){const e=s.rate||0,o=s.lessonGroup.lessonPrice||0;return(o-e/100*o).toFixed(2)}},async mounted(){try{if(s.subjectList.length<=0){const o=await m.post("/api-teacher/teacher/querySubject");s.subjectList=o.data||[]}const e=await m.post("/api-teacher/open/appVersion",{data:{platform:v.platformType==="STUDENT"?"ios-student":"ios-teacher",version:v.version}});this.checked=!!e.data.check,this.checked&&(s.lessonGroup.lessonPrice=0,s.lessonGroup.payType="PAY")}catch{}},methods:{onChoice(e){e!=s.lessonGroup.lessonSubject&&s.lessonList.forEach(o=>{o.relationList=[]}),s.lessonGroup.lessonSubject=e,this.subjectStatus=!1},onFormatter(e){return X(e)},tabChange(e){this.$refs.form.resetValidation("lessonCoverTemplateUrl"),this.$refs.form.resetValidation("lessonCoverUrl"),s.tabIndex=e},selectImg(e){s.lessonGroup.lessonCoverUrl="",s.lessonGroup.lessonCoverTemplateUrl=e}},render(){return s.loadingStatus?t("div",null,null):t(M,{class:i.classInfo,ref:"form",onSubmit:()=>s.active=2,onFailed:e=>console.log(e),scrollToError:!0},{default:()=>[t(f,null,{default:()=>[t(r,{title:"\u8BFE\u7A0B\u540D\u79F0",required:!0},{default:()=>[t(n,{modelValue:s.lessonGroup.lessonName,"onUpdate:modelValue":e=>s.lessonGroup.lessonName=e,name:"lessonName",maxlength:50,placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u540D\u79F0"}]},null)]}),t(r,{title:"\u8BFE\u7A0B\u58F0\u90E8",required:!0},{default:()=>[t(n,{modelValue:this.lessonSubjectName,name:"lessonSubjectName",readonly:!0,isLink:!0,onClick:()=>{this.subjectStatus=!0},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BFE\u7A0B\u58F0\u90E8"}],placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B\u58F0\u90E8"},null)]})]}),t(f,null,{default:()=>[t(r,{title:"\u8BFE\u7A0B\u4ECB\u7ECD",required:!0,border:!1},{default:()=>[t(n,{modelValue:s.lessonGroup.lessonDesc,"onUpdate:modelValue":e=>s.lessonGroup.lessonDesc=e,name:"lessonDesc",placeholder:"\u8BF7\u8F93\u5165\u8BFE\u7A0B\u4ECB\u7ECD",rows:"3",maxlength:200,showWordLimit:!0,autosize:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BFE\u7A0B\u4ECB\u7ECD"}],type:"textarea"},null)]})]}),!this.checked&&t(f,null,{default:()=>[t(r,{title:"\u6536\u8D39\u65B9\u5F0F",required:!0,border:!1},{default:()=>[t("div",{class:i.radioGroup},[t("div",{onClick:()=>{s.lessonGroup.payType="PAY"},class:[i.radio,s.lessonGroup.payType==="PAY"?i.active:null]},[a("\u8D2D\u4E70")]),t("div",{onClick:()=>{s.lessonGroup.payType="VIP"},class:[i.radio,s.lessonGroup.payType==="VIP"?i.active:null]},[a("\u4F1A\u5458")])])]})]}),s.lessonGroup.payType==="PAY"&&!this.checked&&t(p,null,[t(f,null,{default:()=>[t(r,{title:"\u8BFE\u7A0B\u7EC4\u552E\u4EF7",required:!0},{default:()=>[t(n,{modelValue:s.lessonGroup.lessonPrice,"onUpdate:modelValue":e=>s.lessonGroup.lessonPrice=e,name:"lessonPrice",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u7EC4\u552E\u4EF7",formatter:this.onFormatter,type:"number",maxlength:8,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u7EC4\u552E\u4EF7"}]},{button:()=>t("span",null,[a("\u5143")])})]})]}),t("div",{class:i["class-info-tip"]},[t("p",null,[a("\u6263\u9664\u624B\u7EED\u8D39\u540E\u60A8\u7684\u8BFE\u7A0B\u9884\u8BA1\u6536\u5165\u4E3A\uFF1A")]),t("p",null,[a("\u8BFE\u7A0B\u7EC4\u603B\u6536\u5165"),t("span",null,[this.calcRatePrice]),a("\u5143/\u4EBA")]),t("p",null,[a("\u60A8\u7684\u8BFE\u7A0B\u6536\u5165\u5C06\u5728\u5B66\u5458\u8D2D\u4E70"),s.video_account_period,a("\u5929\u540E\u7ED3\u7B97\u5230\u60A8\u7684\u8D26\u6237\u4E2D")])])]),t(f,null,{default:()=>[t(r,{required:!0,border:!1},{default:()=>[t("p",{class:i.photoTip},[a("\u6A21\u677F\u56FE\u7247\u5C06\u4F5C\u4E3A\u8BE5\u8BFE\u7A0B\u5C01\u9762\u4E3A\u5B66\u5458\u5C55\u793A")]),t(n,{name:"lessonCoverUrl",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u81EA\u5B9A\u4E49\u6A21\u677F"}]},{input:()=>t(D,{justify:"space-between",style:{width:"100%"}},{default:()=>[t(L,{span:12,class:i.imgContainer},{default:()=>[t(G,{cropper:!0,bucket:"video-course",options:{fixedNumber:[1.77,1],autoCropWidth:750,autoCropHeight:424},onUploadChange:e=>{e&&(s.lessonGroup.lessonCoverTemplateUrl="")},modelValue:s.lessonGroup.lessonCoverUrl,"onUpdate:modelValue":e=>s.lessonGroup.lessonCoverUrl=e,class:i.imgContainer},null)]}),t(L,{span:24},{default:()=>[t("p",{class:i.photoTip,style:{color:"#ff4e19",padding:"0"}},[a("\u56FE\u7247\u5C3A\u5BF8\u4E3A750*424\u80FD\u8FBE\u5230\u6700\u4F73\u663E\u793A\u6548\u679C")])]})]})})],title:()=>t("p",null,[a("\u8BF7\u4E0A\u4F20\u81EA\u5B9A\u4E49\u6A21\u677F")])})]}),t(C,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:["btnGroup"]},[t(b,{block:!0,round:!0,type:"primary","native-type":"submit"},{default:()=>[a("\u4E0B\u4E00\u6B65")]})])]}),t(w,{modelValue:this.subjectStatus,"onUpdate:modelValue":e=>this.subjectStatus=e,destroy:!0,zIndex:9999999},{default:()=>[t(B,null,null),t(_,{selectType:"Radio",single:!0,subjectList:s.subjectList,choiceSubjectIds:this.choiceSubjectIds,onChoice:this.onChoice},null)]})]})}});const Be="_upload_1784h_1",Fe="_disabled_1784h_7",Ue="_titleSection_1784h_10",Ee="_title_1784h_10",Ve="_createVideoTips_1784h_47";var d={"class-content":"_class-content_1784h_1",upload:Be,disabled:Fe,titleSection:Ue,title:Ee,"add-item":"_add-item_1784h_32",createVideoTips:Ve};const Te="_musicAlbum_1md18_1",Ie="_musicSong_1md18_6",Ne="_musicName_1md18_10",We="_author_1md18_13",we="_musicGrid_1md18_16";var g={musicAlbum:Te,musicSong:Ie,musicName:Ne,author:We,musicGrid:we},Ge=S({name:"music-album",props:{offsetTop:{type:Number,default:0},subjectId:{type:Number,required:!0},onSelect:{type:Function,default:e=>{}}},data(){return{tabVal:"music",dataShow:!0,lockLoading:!1,musicState:{loading:!1,finished:!1},musicList:[],musicParams:{myself:!1,auditStatus:"PASS",page:1,rows:20,idAndName:"",subjectIds:this.subjectId},albumState:{loading:!1,finished:!1},albumList:[],albumParams:{page:1,rows:20,idAndName:"",subjectIds:this.subjectId}}},async mounted(){await this.getMusicList()},methods:{onSearch(e){this.musicParams.idAndName=e,this.albumParams.idAndName=e,this.tabVal==="music"?(this.musicParams.page=1,this.musicList=[],this.getMusicList()):this.tabVal==="album"&&(this.albumParams.page=1,this.albumList=[],this.getAlbumList())},async getMusicList(){try{if(this.lockLoading)return;this.lockLoading=!0,this.dataShow=!0;const e=await m.post(`${v.platformApi}/music/sheet/list`,{data:{...this.musicParams}});this.lockLoading=!1,this.musicState.loading=!1;const o=e.data||{};this.musicList=this.musicList.concat(o.rows||[]),this.musicState.finished=o.pageNo>=o.totalPage,this.musicParams.page=o.pageNo+1,this.dataShow=this.musicList.length>0}catch{this.dataShow=!1,this.musicState.finished=!0,this.lockLoading=!1}},async getAlbumList(){try{if(this.lockLoading)return;this.lockLoading=!0,this.dataShow=!0;const e=await m.post(`${v.platformApi}/music/album/list`,{data:{...this.albumParams}});this.lockLoading=!1,this.albumState.loading=!1;const o=e.data||{};this.albumList=this.albumList.concat(o.rows||[]),this.albumState.finished=o.pageNo>=o.totalPage,this.albumParams.page=o.pageNo+1,this.dataShow=this.albumList.length>0}catch{this.dataShow=!1,this.albumState.finished=!0,this.lockLoading=!1}}},render(){return t("div",{class:g.musicAlbum},[t(C,{position:"top",offsetTop:this.offsetTop||0},{default:()=>[t(ee,{onSearch:this.onSearch,placeholder:"\u8BF7\u8F93\u5165\u66F2\u76EE\u6216\u4E13\u8F91\u540D\u79F0"},null),t(oe,{active:this.tabVal,"onUpdate:active":e=>this.tabVal=e,color:"var(--van-primary)",lineWidth:25,onChange:e=>{e==="music"?(this.musicParams.page=1,this.musicList=[],this.getMusicList()):e==="album"&&(this.albumParams.page=1,this.albumList=[],this.getAlbumList())}},{default:()=>[t(I,{title:"\u66F2\u76EE",name:"music"},null),t(I,{title:"\u4E13\u8F91",name:"album"},null)]})]}),t("div",{class:g.container},[this.dataShow&&this.tabVal==="music"&&t(T,{loading:this.musicState.loading,"onUpdate:loading":e=>this.musicState.loading=e,finished:this.musicState.finished,finishedText:" ",onLoad:this.getMusicList,immediateCheck:!1},{default:()=>[t("div",{class:g.musicSong},[t(se,{list:this.musicList,musicNameClass:g.musicName,authorClass:g.author,showPlay:!1,onDetail:e=>{this.onSelect({selectType:"MUSIC",...e})}},null)])]}),this.dataShow&&this.tabVal==="album"&&t(T,{loading:this.albumState.loading,"onUpdate:loading":e=>this.albumState.loading=e,finished:this.albumState.finished,finishedText:" ",onLoad:this.getAlbumList,immediateCheck:!1},{default:()=>[t("div",{class:g.musicGrid},[t(te,{list:this.albumList,onGoto:e=>{this.onSelect({selectType:"ALBUM",...e})}},null)])]}),!this.dataShow&&t(H,{btnStatus:!1,classImgSize:"SMALL",tips:"\u6682\u65E0\u6570\u636E"},null)])])}}),De=S({name:"ClassContent",data(){return{url:"",checked:null,musicStatus:!1,selectItem:{},heightV:0}},methods:{onSubmit(e){s.active=3},addItem(){s.lessonList.push({videoTitle:"",videoContent:"",videoUrl:"",coverUrl:"",relationList:[],posterUrl:""})},removeItem(e){s.lessonList.length<=1||R.confirm({title:"\u64CD\u4F5C",message:"\u786E\u5B9A\u5220\u9664\u8BE5\u6761\u6570\u636E\u5417\uFF1F",confirmButtonColor:"#2DC7AA"}).then(()=>{s.lessonList.splice(e,1)})},getName(e){const o=e.relationList.length>0?e.relationList[0]:null;return o?(o.relationMusicAlbum==="ALBUM"?"\u4E13\u8F91\uFF1A":"\u66F2\u76EE\uFF1A")+o.musicAlbumName:""}},render(){return t(M,{class:d["class-content"],onSubmit:this.onSubmit,scrollToError:!0},{default:()=>[t("div",{class:d.createVideoTips},[a("\u60A8\u53EF\u4E3A\u6BCF\u4E2A\u89C6\u9891\u5173\u8054\u66F2\u76EE\u6216\u4E13\u8F91\u4F5C\u4E3A\u672C\u8BFE\u7A0B\u6559\u5B66\u5185\u5BB9\u63A8\u8350")]),s.lessonList.map((e,o)=>t(p,null,[t("div",{class:d.titleSection},[t("span",{class:d.title},[a("\u7B2C"),o+1,a("\u8BFE")]),t(F,{name:"delete-o",style:{fontWeight:600},class:s.lessonList.length<=1?d.disabled:null,onClick:()=>this.removeItem(o),size:20},null)]),t(f,null,{default:()=>[t(r,{title:"\u8BFE\u7A0B\u6807\u9898",required:!0},{default:()=>[t(n,{modelValue:e.videoTitle,"onUpdate:modelValue":l=>e.videoTitle=l,maxlength:50,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BFE\u7A0B\u6807\u9898"}],name:"videoTitle",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u6807\u9898"},null)]}),t(r,{title:"\u8BFE\u7A0B\u5185\u5BB9",required:!0},{default:()=>[t(n,{modelValue:e.videoContent,"onUpdate:modelValue":l=>e.videoContent=l,type:"textarea",rows:"2",autosize:!0,showWordLimit:!0,maxlength:200,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BFE\u7A0B\u5185\u5BB9"}],name:"videoContent",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u5185\u5BB9"},null)]}),t(r,{title:"\u8BFE\u7A0B\u89C6\u9891\u53CA\u89C6\u9891\u5C01\u9762",required:!0,border:!1},{default:()=>[t(D,{justify:"space-between",style:{width:"100%",paddingTop:"12px"}},{default:()=>[t(L,{span:12},{default:()=>[t(n,{style:{padding:0},name:"videoUrl",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u7A0B\u89C6\u9891"}]},{input:()=>t($,{bucket:"video-course",modelValue:e.videoUrl,"onUpdate:modelValue":l=>e.videoUrl=l,posterUrl:e.posterUrl,"onUpdate:posterUrl":l=>e.posterUrl=l,class:d.upload,tips:"\u70B9\u51FB\u4E0A\u4F20\u89C6\u9891"},null)})]}),t(L,{span:12},{default:()=>[t(n,{style:{padding:0},name:"coverUrl",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u7A0B\u5C01\u9762"}],error:!0},{input:()=>t(G,{class:d.upload,cropper:!0,bucket:"video-course",options:{fixedNumber:[1.77,1],autoCropWidth:750,autoCropHeight:424},modelValue:e.coverUrl,"onUpdate:modelValue":l=>e.coverUrl=l,tips:"\u70B9\u51FB\u4E0A\u4F20\u89C6\u9891\u5C01\u9762"},null)})]})]})]}),t(r,{title:"\u5173\u8054\u66F2\u76EE\u6216\u4E13\u8F91"},{default:()=>[t(n,{modelValue:e.relationList.length>0&&e.relationList[0].musicAlbumId?this.getName(e):"",readonly:!0,isLink:!0,clickable:!1,clearable:!0,rightIcon:e.relationList.length>0&&e.relationList[0].musicAlbumId?"clear":"","onClick-right-icon":l=>{l.stopPropagation(),e.relationList[0].musicAlbumId=0,e.relationList[0].musicAlbumName=""},onClick:()=>{this.selectItem=e,this.musicStatus=!0},placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u66F2\u76EE\u6216\u4E13\u8F91"},null)]})]})])),t(b,{class:d["add-item"],block:!0,icon:"add-o",onClick:this.addItem},{default:()=>[a("\u6DFB\u52A0\u8BFE\u7A0B")]}),t(C,{offsetBottom:0,position:"bottom",zIndex:999999},{default:()=>[t("div",{class:["btnGroup","btnMore"]},[t(b,{block:!0,round:!0,type:"primary",plain:!0,onClick:()=>{s.active=1}},{default:()=>[a("\u4E0A\u4E00\u6B65")]}),t(b,{block:!0,round:!0,type:"primary","native-type":"submit"},{default:()=>[a("\u63D0\u4EA4")]})])]}),t(w,{modelValue:this.musicStatus,"onUpdate:modelValue":e=>this.musicStatus=e,zIndex:999999},{default:()=>[t(le,{position:"top",onBarHeight:e=>{this.heightV=e}},{default:()=>[t(B,{border:!1},null)]}),t(Ge,{offsetTop:this.heightV,subjectId:s.lessonGroup.lessonSubject,onSelect:e=>{this.musicStatus=!1,this.selectItem.relationList.length>0?(this.selectItem.relationList[0].musicAlbumId=e.id,this.selectItem.relationList[0].musicAlbumName=e.selectType==="ALBUM"?e.albumName:e.musicSheetName,this.selectItem.relationList[0].relationMusicAlbum=e.selectType):this.selectItem.relationList=[{musicAlbumId:e.id,musicAlbumName:e.selectType==="ALBUM"?e.albumName:e.musicSheetName,relationMusicAlbum:e.selectType,useRelationType:"RECOMMEND"}]}},null)]})]})}}),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAADHl1ErAAAAAXNSR0IArs4c6QAACOhJREFUeNrtnFtTFEcUx/cpVXnKR0i+QKqSF5MoIHhBjBoBxYdUHkxSlVipinn1IWWlNErMg9GoiUnlIYm5VfmSRMAbchHBeAMWQa67y2UZWMC7sCPLbuecnntPz+zC9OKCQ9W/dpddZnp/9Dl9+vTpDgSewc8IIS9KJFEQTcofSwn5sDQnV40m5aCUlMNSMj4Jz2UUPsff0ffgM/hZ+jfwt3iNwHL+GSMzK8aST/dKc/GG0bm4DCIeJeO18Jp47WUBKRKPvxJNxj8fTcR7BQByF9wD74X3XHKgRsns61JKPg1fJJl1UHYl6b2hDTkPKkpmX4PGVkGjU88AFKsUtgXblHOgQuTeS+Ccj4ISOQDKImwTtg3bmBOwpLmZMmiQlGugOOAkbOszA0UIeUHtValch2WClsI2Y9sXt1eR+MtSKn5jqYCygYO243dYFFjjT5++Gp2Ljy5VWJrwO+B3yW7PSsTzo3Mz95c6LAPazH38TlmDBTeZWS6wTJoRDk0xw+XTs3g9TZh5onNcDj4rE5/meSCgocMSHg0XMnp6CjkwZnleYJlitaNeIvjUcwgsNe8ZgTo3lJ43WOZp1LzmnqJM8eL0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vCBay95zTrWQSmxUltsNKbLgW1xuuJbb0S2wamdiWdIFufDsmcePbscWx8W20H4utlYvUByw6zVsr82f8HR8TD1sr/w8G6m2Ad+vtrQAAAABJRU5ErkJggg==";const je="_createSubmit_j95ns_1",Ye="_introduction_j95ns_1";var W={createSubmit:je,introduction:Ye};function ze(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Z(e)}var qe=S({name:"CreateSubmit",computed:{userInfo(){const e=s.lessonGroup,o=v.user.data||{};return{username:o.username||`\u6E38\u5BA2${o.id||""}`,headUrl:o.headUrl,lessonName:e.lessonName,buyNum:0,payType:e.payType,type:"video",lessonDesc:e.lessonDesc,lessonPrice:e.lessonPrice,lessonCoverUrl:e.lessonCoverTemplateUrl||e.lessonCoverUrl,lessonNum:s.lessonList.length,auditVersion:0}},lessonList(){return(s.lessonList||[]).forEach(o=>{const l=o.relationList,A=[];l.forEach(u=>{u.musicAlbumId&&A.push(u)}),o.relationList=A}),s.lessonList||[]},groupId(){return this.$route.query.groupId||""}},methods:{async onSubmit(){try{const e=s.lessonGroup,o={lessonList:this.lessonList,lessonGroup:{...e,lessonPrice:e.payType==="VIP"?0:e.lessonPrice,lessonCoverUrl:e.lessonCoverTemplateUrl||e.lessonCoverUrl}};s.groupId?(await m.post("/api-teacher/videoLessonGroup/update",{data:o}),E.success("\u4FEE\u6539\u6210\u529F")):(await m.post("/api-teacher/videoLessonGroup/add",{data:o}),E.success("\u521B\u5EFA\u6210\u529F")),setTimeout(()=>{O({api:"back"})},1e3)}catch{}}},render(){let e;return t("div",{class:[W.createSubmit]},[t(B,null,null),t(ae,{userInfo:this.userInfo},null),t(N,null,{default:()=>[t("p",{class:W.introduction},[this.userInfo.lessonDesc])]}),t(N,{title:"\u8BFE\u7A0B\u5217\u8868",icon:"courseList",class:"mb12"},ze(e=this.lessonList.map(o=>{const A=(o.relationList||[]).map(u=>({relationMusicAlbum:u.relationMusicAlbum,musicAlbumName:u.musicAlbumName,musicAlbumId:u.musicAlbumId}));return t(ie,{musicAlbumInfos:A,detail:{title:o.videoTitle,content:o.videoContent,imgUrl:o.coverUrl}},null)}))?e:{default:()=>[e]}),t(C,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:["btnGroup","btnMore"]},[t(b,{block:!0,round:!0,type:"primary",plain:!0,onClick:()=>{s.active=2}},{default:()=>[a("\u8FD4\u56DE\u7F16\u8F91")]}),t(b,{block:!0,round:!0,type:"primary",onClick:this.onSubmit},{default:()=>[this.groupId?"\u4FEE\u6539\u5B8C\u6210":"\u521B\u5EFA\u5B8C\u6210"]})])]})])}}),zt=S({name:"Create",data(){return{tipStatus:!1}},async created(){const e=this.$route.query;if(s.groupId=Number(e.groupId)||0,!s.groupId)return!1;try{document.title="\u4FEE\u6539\u89C6\u9891\u8BFE",s.loadingStatus=!0;const l=(await m.get("/api-teacher/videoLessonGroup/selectVideoLesson",{params:{groupId:s.groupId}})).data,{auditStatus:A,lessonCoverUrl:u,lessonPrice:P,lessonDesc:k,payType:j,lessonSubject:Y,lessonName:z,relationType:Ke,id:q,...Qe}=l.lessonGroup,U=!!s.templateList.includes(u);s.lessonGroup={id:q,lessonName:z,lessonSubject:Y,lessonDesc:k,payType:j,lessonPrice:P,relationType:"RECOMMEND",lessonCoverTemplateUrl:U?u:"",lessonCoverUrl:U?"":u},s.lessonList=[],l.detailList&&l.detailList.forEach(h=>{const K=(h.musicAlbumInfos||[]).map(y=>({relationMusicAlbum:y.relationType,musicAlbumName:y.name,musicAlbumId:y.musicAlbumId,relationId:y.id,useRelationType:"RECOMMEND"}));s.lessonList.push({videoTitle:h.videoTitle,videoContent:h.videoContent,videoUrl:h.videoUrl,coverUrl:h.coverUrl,relationList:K,posterUrl:h.posterUrl})}),s.loadingStatus=!1}catch{}s.lessonGroup.lessonCoverUrl&&!s.templateList.includes(s.lessonGroup.lessonCoverUrl)?s.tabIndex=2:s.tabIndex=1},async mounted(){try{m.get("/api-teacher/sysConfig/queryByParamNameList",{params:{paramNames:"video_lesson_service_fee,video_account_period"}}).then(e=>{console.log(e,"res"),(e.data||[]).forEach(l=>{l.paramName==="video_lesson_service_fee"?s.rate=l.paramValue:l.paramName==="video_account_period"&&(s.video_account_period=l.paramValue)})})}catch{}},render(){return t("div",{class:c["video-create"]},[s.active<=2?t(C,{position:"top",offsetTop:0,zIndex:999999},{default:()=>[t(B,{border:!1,isFixed:!1},{right:()=>t("img",{src:ue,class:c.iconQuestion,onClick:()=>this.tipStatus=!0},null)}),t(J,{border:!1,style:{paddingTop:"15px"},direction:"horizontal",columnNum:"2",class:c.gridColumn},{default:()=>[t(V,null,{default:()=>t(p,null,[t(F,{name:Me,size:38},null),t("span",{class:[c.gridName,s.active>=1?c.active:null]},[a("\u8BFE\u7A0B\u4FE1\u606F")])])}),t(V,null,{default:()=>t(p,null,[t(F,{name:s.active===2?ke:Pe,size:38},null),t("span",{class:[c.gridName,s.active===2?c.active:null]},[a("\u8BFE\u7A0B\u5185\u5BB9")])])})]})]}):null,s.active===1?t(p,null,[t(Le,null,null)]):null,s.active===2?t(p,null,[t(De,null,null)]):null,s.active===3?t(p,null,[t(qe,null,null)]):null,t(x,{show:this.tipStatus,class:c.tipPopup,closeable:!0,onClose:()=>this.tipStatus=!1},{default:()=>[t(re,{onClose:()=>this.tipStatus=!1,title:"\u4EC0\u4E48\u662F\u89C6\u9891\u8BFE\uFF1F",content:"\u89C6\u9891\u8BFE\u662F\u7531\u6559\u5E08\u4E8B\u5148\u7CBE\u5FC3\u51C6\u5907\u5E76\u5F55\u5236\u7684\u8BFE\u7A0B\u5185\u5BB9\u3002\u6559\u5E08\u4F9D\u636E\u6559\u5B66\u5927\u7EB2\u548C\u76EE\u6807\uFF0C\u7CFB\u7EDF\u89C4\u5212\u6BCF\u4E00\u8282\u89C6\u9891\u7684\u4E3B\u9898\u4E0E\u5185\u5BB9\uFF0C\u786E\u4FDD\u6559\u5B66\u7684\u8FDE\u8D2F\u6027\u548C\u5B8C\u6574\u6027\u3002\u5728\u5F55\u5236\u8FC7\u7A0B\u4E2D\uFF0C\u91C7\u7528\u4E13\u4E1A\u8BBE\u5907\u5982\u9AD8\u6E05\u6444\u50CF\u673A\u548C\u5F55\u5C4F\u8F6F\u4EF6\uFF0C\u4FDD\u969C\u89C6\u9891\u753B\u8D28\u6E05\u6670\u3001\u97F3\u9891\u8D28\u91CF\u4F18\u826F\u3002\u89C6\u9891\u8BFE\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E86\u6781\u5927\u7684\u5B66\u4E60\u7075\u6D3B\u6027\uFF0C\u4ED6\u4EEC\u53EF\u4EE5\u4F9D\u636E\u4E2A\u4EBA\u7684\u65F6\u95F4\u5B89\u6392\u81EA\u7531\u9009\u62E9\u5B66\u4E60\u65F6\u95F4\uFF0C\u4E0D\u53D7\u5730\u70B9\u9650\u5236\u3002\u7279\u522B\u9002\u7528\u4E8E\u7CFB\u7EDF\u5316\u5B66\u4E60\u4F53\u7CFB\u7684\u5185\u5BB9\uFF0C\u89C6\u9891\u8BFE\u80FD\u591F\u5E2E\u52A9\u5B66\u751F\u6309\u90E8\u5C31\u73ED\u5730\u638C\u63E1\u77E5\u8BC6\uFF0C\u5B9E\u73B0\u81EA\u4E3B\u9AD8\u6548\u5B66\u4E60\u3002"},null)]})])}});export{zt as default};