create.94eac297.js 43 KB

1
  1. import{S as x,d as P,i as t,F as S,N as C,A as u,e as b,s as g,B as p,x as i,a6 as O,aF as F,aT as M,b2 as G,$ as q,T as L,p as k,D as N,b7 as V}from"./index.7994470a.js";import{a as B,G as K}from"./index.ab866de2.js";import{C as T,a as v}from"./index.f9e55fe3.js";import{C as J}from"./index.895996db.js";import{S as Y}from"./index.cb7569ce.js";import{A as X}from"./index.e11930ae.js";import{C as y}from"./index.777f4790.js";import{F as m}from"./index.3dd26d27.js";import{S as D}from"./index.6449f9de.js";import{v as H,a as R}from"./toolsValidate.add49407.js";import{F as I}from"./index.a241f507.js";import{R as U,C as E}from"./index.80389b79.js";import{R as Z,a as W}from"./index.9dc8689d.js";import"./index.c9af17c2.js";import"./index.889feca1.js";import{T as _,a as $}from"./index.a28173c9.js";import{I as ee}from"./index.2fbdc579.js";import"./index.b5726455.js";import{C as te}from"./index.d0ffcdfc.js";import{a as ae,i as se}from"./icon_checkbox_default.2fe5d57e.js";import{D as re}from"./index.e89aa9d7.js";import{C as ue}from"./index.32c681a9.js";import{S as j}from"./index.363c593b.js";import{U as le}from"./index.b2bac310.js";import{C as ie}from"./index.26e5e8f6.js";import{T as oe}from"./index.0262b810.js";import"./index.570461cd.js";import"./index.29eb1675.js";import"./checkbox_default.8d9b037b.js";import"./index.2e766b01.js";import"./use-id.117b75b2.js";import"./use-tab-status.00d7316c.js";import"./use-refs.ad5f4144.js";import"./index.01765498.js";import"./utils.4585c89d.js";import"./index.7273768c.js";import"./index.549cf3f7.js";import"./plyr.623e6d1e.js";import"./index.9cdb5783.js";import"./icon_teacher.40b6f077.js";import"./icon_timer2.5fb1750d.js";import"./icon-jiaozi.20e415ca.js";import"./use-height.ffa5a0f3.js";var ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAB4xJREFUaN7VmnlMFHcUx9dqUtOkSf9o0ib9z+hf/b8t3kdBEAQRUNRqtZroP00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0GnWBOqUVY/QV77lz4zNeQ47Dn4y4LHUOrRxFnEx1FWNXkCNpAOYrUU46jnrIVqaPDmiCiZUN+Rp6yIHwL544nHTzu4klR1LdMvdKtpw5/eNylTIqithsv97fK8jyxjjzGXVEK8tjhdacZGfTM4kTzv52NRMDM4XFXFI0S9k9mojubx10zbU4T0oS+z8j7jOztp9KxDfmE2I9mPDFGdpNTEWKFo5PRg8ddPCniIcu0jaGRsflXFpP+kYDQ1BeTIh6y8HxiCiHauHZ6YtkxnQcPWXg+wa197opPYPFOJcyjFB9Txc7UoUQ4dMW5oQzJ4TYmdwC5ecZ9J27ZcLeDGwVcJynb0yk8/gOn8jT3jdG3qAAAAABJRU5ErkJggg==",ce=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"})),de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAB0hJREFUaN7VmslvG3UUx11aqRVSJQ5IReJWlRN3UK9I/AUIiSuIAzekSj2iShUSnNpTb+VQShLbWZw4XhLbcRLHSSnNHi/ZF2dPs9ceLxP6eN+fPeOJneU3jrMw0lMm7ozz+/ze+nuvFkuVrkyG7qbSuR9TSu6ZklYDipKbTSnqJt9nWdJ8v5FUcpOptOpWMuoTRTn4jojuWK7CxYv/jBf2WEnnphmAKpD3LIOKoj5IJpOfXDgA7/aXvMPOwkKoSpJljT7nzbl3AQD0Ke+evYqLP0pU3qgnbHa3zwUinT74nk1o/5whdGG/Wkqn1a+qBsA7c4sB/rwogBI5YB98xGu4dlaIj3hnQpcEUZRU7gWv5UbFEOzQw5cOoZlaRnXwmq5XYE5XQBOlks79YS46XZ5PnK4ZRX0oBcHUP1xViILkGOb+6XniAkNspYJSh83/5gkgZ0t2K6sbtJBYOnkRqSxNTE7T+sbWGSNZ9pcTyo6z7dTfr19TV1cX7Sczxz6zur5J3rY2etM/cFbNJPeJPi73jXztJPUlm9t7ND0zR/H4BMXi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sBCOG4J9zL9x15CM7gCLOdXd2iJAGUFqUQdv3wJ94EgNgMJgVt1FqtQoOy60Lz0IKuuDRINH5klFpcKpbdsH8tUu3sJovlPz8DCPgIikbtc5xXDkGwNmqsdaZAstns52j93JE9i0QYRNMGIHyFynZoeISWltdYVsUxVtRTbFKwc0DifPFmYFCAwLxQ+aKMhw8F2FStbFJ1dhuDWIU2BEhUFkRdM5wOc4NyIDHdpI6sbAsmJfzCcFhyFHIG/AJFIcwpn/g0k7LpJgWIv2prxaZJ9rpeGJsOD2RBjk983kJlm8/euoMbE5+obIvZu8yk6hiirpZe1tZIm1YyqX6tg2DIIuYTp7w0OTVjKEMORylXWRlSWp4XyxA7g8DBrSJKFf3CCDLDhzgJkAS7xgeljbnnp724vfNORKWjDks6xKETX/GwZAy19tIopWmDTeplTQ01MDROmhKJ8Oejxmj3MGQ5tfmwuCzM6xCEaCK49JzRfKxJNR5tUta8JgCCZ5ZX1qWcfGWFPjyutyWVUxBWpzjyINPDKccgkRiNQrjdMyIkQsOjELSBxjiyjQoZ5Ag3ODTCraARUZ70CxkSP1G67+2l5HPHCV3425gUXfWWKUv41OEPxl1iUnRlIdSd3UzmrmRHXn10RUHeK0r2GzODnmsYd/1vZyMlMDcw7ro6ENnfzjIMvY5x1+WbUwWaOGZu8tDM2b6ajm3KJyRh7ps5TVYjxEpHpwpM7SYmRRiynKMW1pDszvyfBGQuTIowZMF8oooQCdROx5Yd53lhyIL5BFr76IpXsvs4T6AUL6tiL+tChENXHA1l3tmnaGOiA4jmGfpOaNmg24FGAUxHHE+reP0HsjP72OJ+3yMAAAAASUVORK5CYII=",me=Object.freeze(Object.defineProperty({__proto__:null,default:de},Symbol.toStringTag,{value:"Module"})),pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAtZQTFRFAAAAzP//8f//6P//6//16v/44/j45vz15fz25fz55v345//45f345v345v345vz45vz35f345Pz35f335v335vz45fz35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OutbL3R2IQXB1QL9faZjLebiZ8fUIzqb3Ge3WoOdU5Af/EJLrLVA2tBTz+Gyxf748ny8HRAfW0Hc2znWt0NqFceY649XqnzgOF4E5fY5ng4K3ow3sHltrabTjIUo6v4Y2dUnGRY/BlXs+cPgAqo6nxz2j2a3tWgas/qp44CWPqp3YnvvvpN5magGxpN5IY3X3tpev7CPkqUswT6/OEfspCBoZRkhTvs/vuP2hQlSizM+u3PTVGSg5DDvUiSBfXh4YnD9gJK9Gf4f2fIaQLckgtJDgHcbdqGQ9nLSm4kE3uSpKoUK/WMDEdqMfWqQT4vJJbeHuc/jT++B8zGbut6mSGCFH593B3BG+HkbBwGVT5ycumb0U1AoCRI1PcMKpufqsoDQm6faYJkaGBPFaITyqa6V3VZwAwKJIRgrgCpYA6p7GRAEvjKiiRRgiTp6wcZIKDrT7lefqvXyfnGp1ROTqV3i2Zz1O1QI4lZEV7lNCWI2x+/KFISRVG6L+QZWHW4kJH0w7Ynd3qQSmQolFURVV4RJLh7guQC5RLByKtWlTr3YOC7qwC0/8lDOCmFisgCUmUbWzlxpnt3AQA3Xn9ABkIKKdpCN6yKJr+H5F/cXRIAfwQKDko5pCYqWAYpOf76wN0YCqeEEJW3hqHE5Ha7XAQsuZuOG+K4BNK1NKX+CUpwhmnVDQGJIiiJFELCc8tTREQJTG5NA5bfUaIZRHmQFIPy6H00OBGKyRki+/XLX/bNZDB5cnOZ3bz36rMZkRUAinnSkMvK3zrmVh2uXcV/7UBTuk9765f7r+/ZTB+Odu9c5n9n96gjivV4vgStT8msHenhM/NEYm3v6IzsDkZzZPcw/Q/C/u+fDv/hcXLMbYN++/yxdOb58w/v1CGk8S38dAAAAABJRU5ErkJggg==",ve=Object.freeze(Object.defineProperty({__proto__:null,default:pe},Symbol.toStringTag,{value:"Module"})),fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABo1JREFUaN7lWtlTW3UUzov/gA/O+K7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ic5v5Dfvc5l+IZB5p0s/oxgAAAABJRU5ErkJggg==",Ae=Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"})),ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAtxQTFRFAAAA////////////9fX/+Pj/8fH49fX59vb59vb89fj6+Pj99vb79vj79vj79ff79vf79fb69fb69vf69fb79ff79fb69fb69vf79fb69fb69vf7o6Wlo6alpKampKempaenpainpqinpqiopqmop6mpp6qpqKqpqKqqqKuqqaurqayrqqyrqqysqq2sq62sq62tq66tq66urK6trK6ura6ura+ura+vra+wrrCvrrCwrrGwrrGxr7Cwr7Gwr7GxsLGxsLKxsLKysLOysbKysbOysbOzsrOzsrSzsrS0s7S0s7W0s7W1tLW1tLa1tLa2tLa3tba2tbe2tbe3tre3tri3tri4t7i4t7m4t7m6uLm4uLm5uLq5uLq6ubq5ubq6ubu6ubu7ubu8uru6uru7ury8u7y7u7y8u7y9vL28vL29vL2+vL+/vb29vb69vb6+vb6/vr6+vr++vr+/vr/AvsDBv7+/v8C/v8DAv8DCwMDAwMDBwMHBwMHCwMLDwcHBwcLBwcLCwcLDwcPDwcPEwsLCwsPCwsPDwsPEwsTFw8PDw8PEw8TEw8TFxMTFxMXFxMXGxMbHxcXFxcbGxcbHxcfIxsbGxsfIxsfJxsjJx8fHx8jIx8jJyMjJyMnJyMnKycnKycrLycvMysrLyszMyszNy8vMy8zNy83OzMzNzM3Pzc7Pzc7Qzc/Qzs7PztDSz8/Qz9DSz9HT0NHS0NLT0dHS0tPV09TW09TX1NXX1NXY1NbX1dbY1dfZ1tfZ19ja19nb2Nnb2drd2dvd29ze293f3d7g3d7h3t/h3+Di3+Dj3+Hj4OHk4OLk4eLl4ePl4uPl4uPm4uTm4+Pm4+Tm4+Tn5OXo5Obo5ebp5ubp5ufp5+jr5+ns6Ons6Ort6ert6uru6uvu6uvv6+zv6+zw7O7x7e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WiEUmUgsYgWEC+3pk4ALH681X3cR3LrM+dMFgIkkItJu7kjD7DU7/4SceoP5K89GsjB+YdM9unB2VxKa7UEyxs+1aRFZXz1ybJtDlu5WW6MFGd/RQrIqjaVDiXX2drenD92NucPi5za6faKY1odjzG50BlS0Mj5MJKY3u3tkt1wbIrvt/H8Q9n8/OvyH4WSb28qlYvzRfM/48w9kRUkZZJ+ZowAAAABJRU5ErkJggg==",be=Object.freeze(Object.defineProperty({__proto__:null,default:ge},Symbol.toStringTag,{value:"Module"})),he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAuJQTFRFAAAAzP//8f//6P//6//16v/44/j45vz15fz25fz55v345//45f345v345v345vz45vz35f345Pz35f335v335vz45fz35fz35f345fz35fz35v34OM+1Oc+1Oc+2Os+2OtC2OtC3O9C3O9C4O9G4PNC3PNG4PNG5PdK5PdK6PtK6PtO6PtO7P9C3P9O7P9O8P9S8QNS8QNS9QdS9QdW9QdW+QtG4QtW+QtW/Qta/Q9a/Q9bARNbARNfARNfBRdS+RdfBRdjBRdjCRtK6RtO7RtfBRtjCRtjDR9jCR9jDR9nDR9nESNnESNrESNrFSdrFStjCStnDStrFStrGStvGS9vHS9zHTNfCTNzITdjCTdzITd3ITd3JTtjDTtnETt3JTt3KTt7KT9jDT9nET9rFT97KT97LT9/LUNrFUN/LUN/MUd/MUd/NUeDNUuDNUuDOUuHOU9vIU+HOU+HPVOHPVOLQVeLQVeLRVePRVtzIVuPRV+LQWtvIW9zJXNzJXN3KXN7LXd3KXd7LXtnDYNvHYdvIYdzIYtzJY93KY93LY+XUaODOaOLSad/MaeHPaePSaeTTauTTa+PSa+TUa+XVbOXVbObVbebWbebXcOLScefYcuHRc+PTc+jZdOXVdd/OdePTeN/NeeTUeenbe+TUe+nbf+TUf+TVf+ncgOPUgeLTg+TVhObYiOXWjOTVjOXXjurckObYk+nclObZlOjblO3ilundluvfoOzhpe7kqu/k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UmwAlGbVd4QRxb93Xyu09T1JaBwpS+OVgkwOg7T/SNJv2c5OCwDxR16CtTjH1CclS4xQ/MRpRv/ic3eSpEQXq+RPPKBUzUXkJaqaWBDlhDSojx0wLTRhSCIS8oxGgXIac8jlErA2RQCLMy0DMS85l+gSCIkC9FZJuAkRgOlqLmwvRZAOo+QuyfNakFZeKBvFFAiA5S6Sl69JEEwEIFC5+bM3LpYO7LhU+sYv39//yykn6XTQk0vXVleHs1L5b8V4N5Zyn+2tn79+fS/W/eFofPW89VfHR8eaYn8wvwWtjyczXbS7NC+O0d7RibbbWZjTdg+z/6Gx//enwxM8TnJt67Sr50/MTjx//gF0x3o7ajPvOgAAAABJRU5ErkJggg==",Se=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"})),Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAApdQTFRFAAAA////////////9fX/+Pj/8fH49fX59vb59vb89fj6+Pj99vb79vj79vj79ff79vf79fb69fb69vf69fb79ff79fb69fb69vf79fb69fb69vf7o6alo6ampKampKempKenpaenpainpaiopqiopqmop6mpp6qpp6qqqKqqqKuqqauqqaurqayrqqyrqqysqq2sqq2tq62sq62tq66trK6trK6ura+ura+vrbCvrq+vrrCvrrCwr7Cwr7Gwr7GxsLGxsLKxsLKysbKysbOysbOzsrOzsrSzsrS0s7S0s7W0s7W1tLW1tLa1tLa2tba2tbe2tbe3tbe4tre3tri3t7i4t7m4uLm4uLm5uLq5ubq5ubq6ubu6ubu7uru6uru7uru8ury7u7y7u7y8u728u729vLy8vL28vL29vL69vL6+vb29vb69vb6+vb++vr6+vr++vr+/vsC/v7+/v8C/v8DAwMDAwMHAwMHBwMLBwcHBwcLBwcLCwcPEwsLCwsPDwsTEw8PDw8TDw8TEw8TFxMTExMXFxcXFxcbFxcbGxsbGxsfIx8fIx8jJyMjKyMnJyMnKycnJycnKycrLycvKycvMysvLysvMy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3JdIhWlIjIuZTRWKFZusFjB3StxNzJgXnk/pITmv6zmvF7/33ZKLByJM8bZbN5BSgnj429Cd/+K0FA/5eEhrNt5lyDqeFMPmpJ6Z0/0slS0FZtjqVzZA5KtZcgGWEbduiYdugbfh8BUjIMFovzs+EXPSTKIGiKMIKVqyH9REyaFh7oGgZtCQV/W4Deqti4KGQAaOrAICLlwmYdkE2YBC2JJ1brxbFCMiAKF2svaSQzYJcTIC0rP77z1YOYpYq4+HDB3/8JTocUtBh9FfffPH8Yar8p2S8myq6n+xtnG2/sZem+2E8uHaW/bXBeGYp9pZOX0Ebg+GhLTq/eFoea3vjI2u30z9l7R5M/ofF/u+fDv/hcVJwW6ddP3/S5Mjz529eTa3KiYF61gAAAABJRU5ErkJggg==",Te=Object.freeze(Object.defineProperty({__proto__:null,default:Pe},Symbol.toStringTag,{value:"Module"}));const Q={plan:"",startTime:"",endTime:"",classNum:1},e=x({subjectList:[],active:1,rate:0,minutes:[],tabIndex:1,templateList:["https://ks3-cn-beijing.ksyuncs.com/video-course/1657853010619green.png","https://ks3-cn-beijing.ksyuncs.com/video-course/1657853051064gray.png","https://ks3-cn-beijing.ksyuncs.com/video-course/1657853062314yellow.png","https://ks3-cn-beijing.ksyuncs.com/video-course/1657853076136linear.png"],selectCourseList:[],coursePlanStatus:!1,live:{teacherId:"",courseGroupId:"",name:"",subjectId:null,courseIntroduce:"",courseNum:null,singleCourseMinutes:0,singleMins:null,freeMinutes:0,coursePrice:null,salesStartDate:"",salesEndDate:"",mixStudentNum:null,backgroundPic:"",backgroundPicTemplate:"",coursePlanList:[{...Q}]}}),De="_steps_18zf0_1",Ce="_gridName_18zf0_5",Be="_active_18zf0_12";var A={steps:De,gridName:Ce,active:Be};const h=a=>{const s=`../images/${a}`;return{"../images/icon_arrange_active.png":ce,"../images/icon_arrange_default.png":me,"../images/icon_course_active.png":ve,"../images/icon_plan_active.png":Ae,"../images/icon_plan_default.png":be,"../images/icon_start_active.png":Se,"../images/icon_start_default.png":Te}[s].default};var ye=P({name:"steps",render(){return t(K,{class:A.steps,border:!1,columnNum:"4"},{default:()=>[t(B,null,{default:()=>t(S,null,[t(C,{name:h("icon_course_active.png"),size:24},null),t("span",{class:[A.gridName,e.active>=1?A.active:null]},[u("\u8BFE\u7A0B\u4FE1\u606F")])])}),t(B,null,{default:()=>t(S,null,[t(C,{name:e.active>=2?h("icon_plan_active.png"):h("icon_plan_default.png"),size:24},null),t("span",{class:[A.gridName,e.active>=2?A.active:null]},[u("\u6559\u5B66\u8BA1\u5212")])])}),t(B,null,{default:()=>t(S,null,[t(C,{name:e.active>=3?h("icon_arrange_active.png"):h("icon_arrange_default.png"),size:24},null),t("span",{class:[A.gridName,e.active>=3?A.active:null]},[u("\u8BFE\u7A0B\u5B89\u6392")])])}),t(B,null,{default:()=>t(S,null,[t(C,{name:e.active>=4?h("icon_start_active.png"):h("icon_start_default.png"),size:24},null),t("span",{class:[A.gridName,e.active>=4?A.active:null]},[u("\u5F00\u8BFE\u6761\u4EF6")])])})]})}});const Ee="_classInfo_o3lf6_1",Le="_btnGroup_o3lf6_10";var w={classInfo:Ee,"class-info-tip":"_class-info-tip_o3lf6_1",btnGroup:Le};const Ne=a=>(console.log(a),Number(a)<=0?"\u8BFE\u7A0B\u7EC4\u552E\u4EF7\u5FC5\u987B\u5927\u4E8E0":!0);var Ie=P({name:"course",data(){return{subjectStatus:!1,classTimeStatus:!1,checked:!1}},computed:{choiceSubjectIds(){let a=e.live.subjectId?Number(e.live.subjectId):null;return a?[a]:[]},subjectList(){return e.subjectList||[]},lessonSubjectName(){let a="";return this.subjectList.forEach(s=>{this.choiceSubjectIds.includes(s.id)&&(a=s.name)}),a},calcSingleRatePrice(){let a=e.rate||0,s=e.live.courseNum,r=e.live.coursePrice||0;return s?(r/s*(1-a/100)).toFixed(2):0},calcRatePrice(){let a=e.rate||0,s=e.live.coursePrice||0;return(s-a/100*s).toFixed(2)},disabled(){return!!e.live.courseGroupId}},async mounted(){try{const a=await b.post("/api-teacher/open/appVersion",{data:{platform:g.platformType==="STUDENT"?"ios-student":"ios-teacher",version:g.version}});this.checked=!!a.data.check,this.checked&&(e.live.coursePrice=0)}catch{}},methods:{onChoice(a){e.live.subjectId=a,this.subjectStatus=!1},onFormatter(a){return H(a)},onFormatterInt(a){return a&&a>=1?R(a):""},onSelect(a){e.live.singleCourseMinutes=Number(a.name||0)+Number(a.freeMinutes||0),e.live.singleMins=Number(a.name||0),e.live.freeMinutes=Number(a.freeMinutes||0)}},render(){return t(I,{class:w.classInfo,onSubmit:()=>e.active=2,scrollToError:!0},{default:()=>[t(T,null,{default:()=>[t(v,{title:"\u8BFE\u7A0B\u540D\u79F0",required:!0},{default:()=>[t(m,{modelValue:e.live.name,"onUpdate:modelValue":a=>e.live.name=a,name:"name",maxlength:20,placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u540D\u79F0"}],disabled:this.disabled},null)]}),t(v,{title:"\u8BFE\u7A0B\u58F0\u90E8",required:!0},{default:()=>[t(m,{modelValue:this.lessonSubjectName,name:"subjectId",readonly:!0,isLink:!0,disabled:this.disabled,onClick:()=>{e.live.courseGroupId||(this.subjectStatus=!0)},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BFE\u7A0B\u58F0\u90E8"}],placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B\u58F0\u90E8"},null)]}),t(v,{title:"\u8BFE\u7A0B\u4ECB\u7ECD",required:!0,border:!1},{default:()=>[t(m,{modelValue:e.live.courseIntroduce,"onUpdate:modelValue":a=>e.live.courseIntroduce=a,name:"courseIntroduce",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)]})]}),t(T,null,{default:()=>[t(v,{title:"\u8BFE\u65F6\u6570",required:!0},{default:()=>[t(m,{modelValue:e.live.courseNum,"onUpdate:modelValue":a=>e.live.courseNum=a,name:"courseNum",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u65F6\u6570",formatter:this.onFormatterInt,type:"number",maxlength:2,disabled:this.disabled,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u65F6\u6570"}]},{button:()=>t("span",null,[u("\u8BFE\u65F6")])})]}),t(v,{title:"\u5355\u8BFE\u65F6\u65F6\u957F",required:!0},{default:()=>[t(m,{modelValue:e.live.singleMins,name:"singleMins",readonly:!0,disabled:this.disabled,isLink:!0,onClick:()=>{e.live.courseGroupId||(this.classTimeStatus=!0)},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u8BFE\u65F6\u65F6\u957F"}],placeholder:"\u8BF7\u9009\u62E9\u5355\u8BFE\u65F6\u65F6\u957F"},null)]}),!this.checked&&t(v,{title:"\u8BFE\u7A0B\u7EC4\u552E\u4EF7",required:!0},{default:()=>[t(m,{modelValue:e.live.coursePrice,"onUpdate:modelValue":a=>e.live.coursePrice=a,name:"coursePrice",placeholder:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u7EC4\u552E\u4EF7",formatter:this.onFormatter,type:"number",maxlength:8,disabled:this.disabled,rules:[{required:!0,validator:Ne,message:"\u8BF7\u8F93\u5165\u60A8\u7684\u8BFE\u7A0B\u7EC4\u552E\u4EF7"}]},{button:()=>t("span",null,[u("\u5143")])})]})]}),t("div",{class:w["class-info-tip"]},[t("p",null,[u("\u6263\u9664\u624B\u7EED\u8D39\u540E\u60A8\u7684\u8BFE\u7A0B\u9884\u8BA1\u6536\u5165\u4E3A\uFF1A")]),t("p",null,[u("\u5355\u8BFE\u65F6"),t("span",null,[this.calcSingleRatePrice]),u("\u5143/\u4EBA")]),t("p",null,[u("\u8BFE\u7A0B\u7EC4\u603B\u6536\u5165"),t("span",null,[this.calcRatePrice]),u("\u5143/\u4EBA")]),t("p",null,[u("\u60A8\u7684\u8BFE\u7A0B\u6536\u5165\u5C06\u5728\u8BFE\u7A0B\u7ED3\u675F\u540E\u7ED3\u7B97\u5230\u60A8\u7684\u8D26\u6237\u4E2D")])]),t(D,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:"btnGroup"},[t(p,{block:!0,round:!0,type:"primary","native-type":"submit"},{default:()=>[u("\u4E0B\u4E00\u6B65")]})])]}),t(J,{modelValue:this.subjectStatus,"onUpdate:modelValue":a=>this.subjectStatus=a},{default:()=>[t(Y,{selectType:"Radio",single:!0,subjectList:e.subjectList,choiceSubjectIds:this.choiceSubjectIds,onChoice:this.onChoice},null)]}),t(X,{show:this.classTimeStatus,"onUpdate:show":a=>this.classTimeStatus=a,actions:e.minutes,cancelText:"\u53D6\u6D88",closeOnClickAction:!0,onSelect:this.onSelect},null)]})}});const Oe="_coursePlan_fxipm_1",Fe="_courseTime_fxipm_1";var ke={coursePlan:Oe,courseTime:Fe},Ue=P({name:"course-plan",data(){return{}},async mounted(){let a=e.live.coursePlanList,s=a.length||0;if(console.log(a),e.live.courseNum>s)for(let r=0;r<e.live.courseNum-s;r++)await this.addPlan();else if(e.live.courseNum<s)for(let r=0;r<s-e.live.courseNum;r++)await this.delPlan()},methods:{async addPlan(){let a=e.live.coursePlanList||[];a.push({plan:"",startTime:"",endTime:"",classNum:a.length+1}),e.live.coursePlanList=a},async delPlan(a){let s=e.live.coursePlanList||[];s.splice(a||s.length-1,1),e.live.coursePlanList=s}},render(){return t(I,{class:ke.coursePlan,onSubmit:()=>e.active=3},{default:()=>[e.live.coursePlanList&&e.live.coursePlanList.map(a=>t(T,null,{default:()=>[t(v,{title:`\u7B2C${a.classNum}\u8BFE`,required:!0,border:!1},{default:()=>[t(m,{modelValue:a.plan,"onUpdate:modelValue":s=>a.plan=s,name:"plan",placeholder:"\u8BF7\u8F93\u5165\u8BFE\u7A0B\u8BA1\u5212",rows:"3",maxlength:200,showWordLimit:!0,autosize:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BFE\u7A0B\u8BA1\u5212"}],type:"textarea"},null)]})]})),t(D,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:["btnGroup","btnMore"]},[t(p,{block:!0,round:!0,type:"primary",plain:!0,onClick:()=>{e.active=1,e.live.courseGroupId||(e.live.coursePlanList=[{...Q}])}},{default:()=>[u("\u4E0A\u4E00\u6B65")]}),t(p,{block:!0,round:!0,type:"primary","native-type":"submit"},{default:()=>[u("\u4E0B\u4E00\u6B65")]})])]})]})}});const je="_courseStart_8590s_1",we="_infoField_8590s_1",ze="_photoTip_8590s_14",Me="_boxStyle_8590s_20",Re="_imgContainer_8590s_40",Qe="_stepTips_8590s_54";var f={courseStart:je,infoField:we,photoTip:ze,boxStyle:Me,imgContainer:Re,stepTips:Qe};function xe(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!q(a)}var Ge=P({name:"course-start",data(){return{typeDateTime:"start",dateStatus:!1,currentDate:new Date,minDate:i().toDate(),maxDate:new Date}},computed:{disabled(){return!!e.live.courseGroupId}},mounted(){var a;(a=e.selectCourseList[0])!=null&&a.startTime&&(this.maxDate=i(e.selectCourseList[0].startTime).subtract(1,"day").toDate()),e.live.salesStartDate=e.live.salesStartDate||i(this.minDate).format("YYYY-MM-DD"),e.live.salesEndDate=e.live.salesEndDate||i(this.maxDate).format("YYYY-MM-DD")},methods:{tabChange(a){e.tabIndex=a},selectImg(a){e.live.backgroundPic="",e.live.backgroundPicTemplate=a},onFormatterInt(a){return a&&a>=1?R(a):""},onConfirm(a){this.typeDateTime==="start"?(e.live.salesStartDate=i(a).format("YYYY-MM-DD"),e.live.salesEndDate&&i(e.live.salesStartDate).isAfter(i(e.live.salesEndDate))&&(e.live.salesEndDate="")):this.typeDateTime==="end"&&(e.live.salesEndDate=i(a).format("YYYY-MM-DD")),this.dateStatus=!1}},render(){return t(I,{class:f.courseStart,onSubmit:()=>e.active=5,scrollToError:!0},{default:()=>[t(T,null,{default:()=>[t(v,{title:"\u5F00\u552E\u65E5\u671F",required:!0},{default:()=>[t(m,{modelValue:e.live.salesStartDate,"onUpdate:modelValue":a=>e.live.salesStartDate=a,name:"salesStartDate",readonly:!0,isLink:!0,placeholder:"\u8BF7\u9009\u62E9\u5F00\u552E\u65E5\u671F",disabled:this.disabled,onClick:()=>{e.live.courseGroupId||(this.minDate=i().toDate(),this.currentDate=i(e.live.salesStartDate).toDate(),this.typeDateTime="start",this.dateStatus=!0)},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u552E\u65E5\u671F"}]},null)]}),t(v,{title:"\u505C\u552E\u65E5\u671F",required:!0},{default:()=>[t(m,{modelValue:e.live.salesEndDate,"onUpdate:modelValue":a=>e.live.salesEndDate=a,name:"salesEndDate",readonly:!0,isLink:!0,disabled:this.disabled,onClick:()=>{e.live.courseGroupId||(this.minDate=i(e.live.salesStartDate).toDate(),this.currentDate=i(e.live.salesEndDate).toDate(),this.typeDateTime="end",this.dateStatus=!0)},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u505C\u552E\u65E5\u671F"}],placeholder:"\u8BF7\u9009\u62E9\u505C\u552E\u65E5\u671F"},null)]})]}),t(T,null,{default:()=>[t(v,{title:"\u6700\u4F4E\u5F00\u8BFE\u4EBA\u6570",required:!0,style:{marginBottom:"10px"}},{default:()=>[t(m,{modelValue:e.live.mixStudentNum,"onUpdate:modelValue":a=>e.live.mixStudentNum=a,name:"mixStudentNum",placeholder:"\u8BF7\u8F93\u5165\u6700\u4F4E\u5F00\u8BFE\u4EBA\u6570",type:"number",maxlength:8,disabled:this.disabled,formatter:this.onFormatterInt,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6700\u4F4E\u5F00\u8BFE\u4EBA\u6570"}]},{button:()=>t("span",null,[u("\u4EBA")])})]}),t("div",{class:f.stepTips},[u("\u8BFE\u7A0B\u505C\u552E\u65F6\u4ED8\u8D39\u5B66\u5458\u8FBE\u5230\u8BE5\u4EBA\u6570\u53EF\u5F00\u8BFE\uFF0C\u82E5\u672A\u8FBE\u5230\u8BE5\u4EBA\u6570\u8BFE\u7A0B\u5C06\u4F1A\u5931\u6548\uFF0C\u5DF2\u4ED8\u8D39\u5B66\u5458\u5C06\u81EA\u52A8\u9000\u6B3E")])]}),t(T,null,{default:()=>[t(v,{required:!0,border:!1},{default:()=>[t("p",{class:f.photoTip},[u("\u6A21\u677F\u56FE\u7247\u5C06\u4F5C\u4E3A\u8BE5\u8BFE\u7A0B\u5C01\u9762\u4E3A\u5B66\u5458\u5C55\u793A")]),O(t(m,{name:"backgroundPicTemplate",border:!1,rules:[{required:e.tabIndex===1&&!e.live.backgroundPic,message:"\u8BF7\u9009\u62E9\u56FE\u7247\u6A21\u677F"}]},{input:()=>{let a;return t(Z,{modelValue:e.live.backgroundPicTemplate,"onUpdate:modelValue":s=>e.live.backgroundPicTemplate=s},{default:()=>[t(U,{justify:"space-between",style:{width:"100%"}},xe(a=e.templateList.map(s=>t(E,{span:12,class:f.imgContainer,onClick:()=>this.selectImg(s)},{default:()=>[t(ee,{class:f.imgContainer,src:s},null),t(W,{name:s},{icon:r=>t(C,{class:f.boxStyle,name:r.checked?ae:se,size:"18"},null)})]})))?a:{default:()=>[a]})]})}}),[[F,e.tabIndex===1]]),O(t(m,{name:"backgroundPic",border:!1,rules:[{required:e.tabIndex==2,message:"\u8BF7\u4E0A\u4F20\u81EA\u5B9A\u4E49\u6A21\u677F"}]},{input:()=>t(U,{justify:"space-between",style:{width:"100%"}},{default:()=>[t(E,{span:12,class:f.imgContainer},{default:()=>[t(te,{cropper:!0,bucket:"live-rewind",options:{fixedNumber:[1.77,1],autoCropWidth:750,autoCropHeight:424},onUploadChange:a=>{a&&(e.live.backgroundPicTemplate="")},modelValue:e.live.backgroundPic,"onUpdate:modelValue":a=>e.live.backgroundPic=a,class:f.imgContainer},null)]}),t(E,{span:24},{default:()=>[t("p",{class:f.photoTip,style:{color:"#ff4e19",padding:"0"}},[u("\u56FE\u7247\u5C3A\u5BF8\u4E3A750*424\u80FD\u8FBE\u5230\u6700\u4F73\u663E\u793A\u6548\u679C")])]})]})}),[[F,e.tabIndex==2]])],title:()=>t(_,{active:e.tabIndex,"onUpdate:active":a=>e.tabIndex=a,class:f.infoField,onChange:this.tabChange,shrink:!0,color:"var(--van-primary)",lineWidth:20},{default:()=>[t($,{title:"\u81EA\u5B9A\u4E49\u6A21\u677F",name:2},null)]})})]}),t(D,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:["btnGroup","btnMore"]},[t(p,{block:!0,round:!0,type:"primary",plain:!0,onClick:()=>{e.active=3,e.live.courseGroupId||(e.live.salesStartDate="",e.live.salesEndDate="",e.live.backgroundPic="",e.live.backgroundPicTemplate="",e.live.mixStudentNum=null)}},{default:()=>[u("\u4E0A\u4E00\u6B65")]}),t(p,{block:!0,round:!0,type:"primary","native-type":"submit"},{default:()=>[u("\u4E0B\u4E00\u6B65")]})])]}),t(M,{show:this.dateStatus,position:"bottom",round:!0},{default:()=>[t(re,{type:"date",modelValue:this.currentDate,"onUpdate:modelValue":a=>this.currentDate=a,minDate:this.minDate,maxDate:this.maxDate,formatter:G,onCancel:()=>{this.dateStatus=!1},onConfirm:this.onConfirm},null)]})]})}}),z={},qe=P({name:"detail",computed:{userInfo(){var r,l,o;const a=e.live.coursePlanList[0].startTime,s=e.live.coursePlanList[0].endTime;return{headUrl:(r=g.user.data)==null?void 0:r.heardUrl,username:((l=g.user.data)==null?void 0:l.username)||`\u6E38\u5BA2${((o=g.user.data)==null?void 0:o.userId)||""}`,startTime:`${i(a).format("YYYY-MM-DD")} ${i(a).format("HH:mm")}~${i(s).format("HH:mm")}`||"",buyNum:0,lessonPrice:e.live.coursePrice,lessonNum:e.live.courseNum,lessonDesc:e.live.courseIntroduce,lessonCoverUrl:e.live.backgroundPic||e.live.backgroundPicTemplate,lessonName:e.live.name,auditVersion:0}},courseInfo(){const a=[];return(e.live.coursePlanList||[]).forEach(r=>{a.push({courseTime:`${i(r.startTime).format("YYYY-MM-DD")} ${i(r.startTime).format("HH:mm")}~${i(r.endTime).format("HH:mm")}`,roomUid:r.roomUid,liveState:r.liveState,coursePlan:r.plan,id:r.courseId})}),a||[]}},methods:{async onSubmit(){var a;try{const s={...e.live,startTime:e.live.coursePlanList[0].startTime,backgroundPic:e.live.backgroundPic||e.live.backgroundPicTemplate,teacherId:(a=g.user.data)==null?void 0:a.userId};await b.post("/api-teacher/courseGroup/addLiveCourse",{data:s}),L.success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{k({api:"back"})},1e3)}catch(s){const r=s.message;N.alert({title:"\u63D0\u793A",confirmButtonColor:"var(--van-primary)",message:r}).then(()=>{e.active=3,e.selectCourseList=[],e.live.salesStartDate="",e.live.salesEndDate="",e.live.mixStudentNum=null,e.live.backgroundPic="",e.live.backgroundPicTemplate="",e.coursePlanStatus=!1})}},async onUpdate(){const a={id:e.live.courseGroupId,...e.live,startTime:e.live.coursePlanList[0].startTime,backgroundPic:e.live.backgroundPic||e.live.backgroundPicTemplate};console.log({...a}),await b.post("/api-teacher/courseGroup/updateLiveCourse",{data:a}),L({type:"success",message:"\u7F16\u8F91\u6210\u529F",duration:1e3,onClose:()=>{k({api:"back"})}})}},render(){return t("div",{class:[z.detail]},[t(le,{userInfo:this.userInfo},null),t(j,null,{default:()=>[t("p",{class:z.introduction},[this.userInfo.lessonDesc])]}),t(j,{title:"\u8BFE\u7A0B\u5B89\u6392",icon:"courseList",titleShow:!1,class:"mb12",contentStyle:{paddingTop:"0"}},{default:()=>[t(ue,{courseInfo:this.courseInfo},null)]}),t(D,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:["btnGroup","btnMore"]},[t(p,{block:!0,round:!0,type:"primary",plain:!0,onClick:()=>{e.active=4}},{default:()=>[u("\u8FD4\u56DE\u7F16\u8F91")]}),e.live.courseGroupId?t(p,{block:!0,round:!0,type:"primary",onClick:this.onUpdate},{default:()=>[u("\u786E\u8BA4\u4FEE\u6539")]}):t(p,{block:!0,round:!0,type:"primary",onClick:this.onSubmit},{default:()=>[u("\u521B\u5EFA\u6210\u529F")]})])]})])}});const Ve="_arrange_ci227_1",Ke="_arrangeCell_ci227_4",Je="_rTitle_ci227_10",Ye="_rTag_ci227_26",Xe="_tag_ci227_29",He="_selectPopup_ci227_33",Ze="_selectContainer_ci227_38",We="_selectPopupContent_ci227_44",_e="_desc_ci227_47",$e="_times_ci227_48",et="_selectBtn_ci227_59",tt="_btn_ci227_64";var c={arrange:Ve,arrangeCell:Ke,rTitle:Je,rTag:Ye,tag:Xe,selectPopup:He,selectContainer:Ze,selectPopupContent:We,desc:_e,times:$e,selectBtn:et,btn:tt},at=P({name:"arrange",data(){return{selectStatus:!1,calendarList:{},calendarDate:new Date}},computed:{showSelectList(){let a=[...e.selectCourseList];return a.forEach(s=>{s.title=i(s.startTime).format("YYYY-MM-DD")+" "+V(i(s.startTime).day())+" "+s.start+"~"+s.end}),a},selectType(){return e.selectCourseList.length<e.live.courseNum?"noEnough":"enough"}},async mounted(){const a=i().add(1,"day").toDate();await this.getList(a),e.coursePlanStatus&&(this.selectStatus=!0)},methods:{async getList(a){var r;let s={day:i(a||new Date).format("DD"),month:i(a||new Date).format("MM"),year:i(a||new Date).format("YYYY")};try{const o=(await b.post("/api-teacher/courseSchedule/createLiveCourseCalendar",{data:{...s,singleCourseMinutes:e.live.singleMins,freeCourseMinutes:e.live.freeMinutes,teacherId:(r=g.user.data)==null?void 0:r.userId}})).data||[];let n={};o.forEach(d=>{n[d.date]=d}),this.calendarList=n}catch{}},onSelectDay(a){const s=a||[];let r=[...e.selectCourseList];s.forEach(o=>{!r.some(d=>d.startTime===o.startTime)&&r.push({...o})});let l=[];r.forEach(o=>{s.some(d=>d.startTime===o.startTime)&&l.push(o)}),l.sort((o,n)=>o.startTime>n.startTime?1:o.startTime<n.startTime?-1:0),e.selectCourseList=[...l]},onCloseTag(a){N.confirm({title:"\u63D0\u793A",message:"\u60A8\u662F\u5426\u8981\u5220\u9664\u8BE5\u9009\u62E9\u7684\u8BFE\u7A0B\uFF1F",confirmButtonColor:"var(--van-primary)"}).then(()=>{const s=e.selectCourseList.findIndex(r=>r.startTime===a.startTime);e.selectCourseList.splice(s,1)})},async onSubmit(){if(this.$route.query.groupId){e.active=4;return}if(e.selectCourseList.length<=0){L("\u8BF7\u9009\u62E9\u8BFE\u7A0B\u65F6\u95F4");return}if(e.selectCourseList.length<e.live.courseNum){this.selectStatus=!0;return}await this._lookCourse()},async _lookCourse(a){var s;try{let r=[];e.selectCourseList.forEach(n=>{r.push({startTime:n.startTime,endTime:n.endTime})}),((await b.post("/api-teacher/courseGroup/lockCourseToCache",{data:{courseNum:e.live.courseNum,courseType:"LIVE",loop:this.selectType==="noEnough"?1:0,teacherId:(s=g.user.data)==null?void 0:s.userId,timeList:[...r]}})).data||[]).forEach((n,d)=>{e.live.coursePlanList[d]={...e.live.coursePlanList[d],startTime:n.startTime,endTime:n.endTime,classNum:d+1}}),e.coursePlanStatus=!0,this.selectStatus=!0,a&&a()}catch(r){const l=r.message;N.alert({title:"\u63D0\u793A",confirmButtonColor:"var(--van-primary)",message:l}).then(()=>{this.getList(this.calendarDate||new Date),e.selectCourseList=[],this.selectStatus=!1})}},async _unLookCourse(){var a;try{await b.get("/api-teacher/courseGroup/unlockCourseToCache",{params:{teacherId:(a=g.user.data)==null?void 0:a.userId}}),this.selectStatus=!1,setTimeout(()=>{e.live.coursePlanList.forEach(s=>{s.startTime="",s.endTime=""})},500)}catch{}},async onReset(){e.coursePlanStatus||this.selectType==="enough"?await this._unLookCourse():this.selectType==="noEnough"&&(this.selectStatus=!1),e.live.coursePlanList.forEach(a=>{a.startTime="",a.endTime=""}),setTimeout(()=>{e.coursePlanStatus=!1},500)},async onSure(){console.log(this.selectType,e.coursePlanStatus,e.live.coursePlanList);let a=0;if(e.live.coursePlanList.forEach(r=>{r.startTime&&a++}),this.selectType==="enough"||a>0){this.selectStatus=!1,e.active=4;return}const s=e.coursePlanStatus;await this._lookCourse(()=>{s&&(this.selectStatus=!1,e.active=4)})}},render(){const a=this.$route.query.groupId;return t("div",{class:c.arrange},[a?t(S,null,[t(y,{class:[c.arrangeCell,"mb12"]},{title:()=>t("div",{class:c.rTitle},[t("span",null,[u("\u5DF2\u9009\u62E9\u8BFE\u7A0B\u65F6\u95F4")])])}),e.live.coursePlanList.map(s=>t(y,{title:`${s.startTime} ~ ${s.endTime}`},null)),t("div",{class:["mb12"]},null)]):t(S,null,[t(ie,{selectList:e.selectCourseList,list:this.calendarList,maxDays:e.live.courseNum||0,nextMonth:s=>this.getList(s),prevMonth:s=>this.getList(s),selectDay:this.onSelectDay,calendarDate:this.calendarDate,"onUpdate:calendarDate":s=>this.calendarDate=s},null),t(y,{class:[c.arrangeCell,"mb12"]},{title:()=>t("div",{class:c.rTitle},[t("span",null,[u("\u5DF2\u9009\u62E9\u8BFE\u7A0B\u65F6\u95F4")])]),label:()=>t("div",{class:c.rTag},[this.showSelectList.map(s=>t(S,null,[t(oe,{plain:!0,round:!0,closeable:!0,size:"large",type:"primary",class:c.tag,onClose:()=>this.onCloseTag(s)},{default:()=>[s.title]}),t("br",null,null)]))])})]),t(D,{offsetBottom:0,position:"bottom"},{default:()=>[t("div",{class:["btnGroup","btnMore"]},[t(p,{block:!0,round:!0,type:"primary",plain:!0,onClick:()=>{e.active=2,e.selectCourseList=[]}},{default:()=>[u("\u4E0A\u4E00\u6B65")]}),t(p,{block:!0,round:!0,type:"primary",onClick:this.onSubmit},{default:()=>[u("\u4E0B\u4E00\u6B65")]})])]}),t(M,{show:this.selectStatus,class:c.selectPopup},{default:()=>[t("div",{class:c.selectContainer},[t("div",{class:c.rTitle},[t("span",null,[u("\u63D0\u793A")])]),t("div",{class:c.selectPopupContent},[t("p",{class:c.desc},[this.selectType==="noEnough"&&!e.coursePlanStatus?"\u60A8\u6240\u9009\u62E9\u7684\u4E0A\u8BFE\u65F6\u95F4\u672A\u8FBE\u5230\u60A8\u8F93\u5165\u7684\u8BFE\u65F6\u6570\uFF0C\u7CFB\u7EDF\u6839\u636E\u5DF2\u9009\u65F6\u95F4\u5C06\u81EA\u52A8\u6309\u5468\u987A\u5EF6\u6392\u8BFE\u3002":"\u60A8\u5DF2\u9009\u62E9\u4EE5\u4E0B\u4E0A\u8BFE\u65F6\u95F4\u6BB5\uFF0C\u65F6\u95F4\u6BB5\u4F1A\u6682\u65F6\u9501\u5B9A\uFF0C\u9501\u5B9A\u671F\u95F4\u5B66\u5458\u4E0D\u53EF\u8D2D\u4E70\u8BE5\u65F6\u95F4\u6BB5\u8BFE\u7A0B\u3002"]),e.live.coursePlanList&&e.live.coursePlanList.length>0&&e.coursePlanStatus&&t("p",{class:c.times},[e.live.coursePlanList.map(s=>t("span",null,[i(s.startTime||new Date).format("YYYY-MM-DD")," ",i(s.startTime||new Date).format("HH:mm"),u("~"),i(s.endTime||new Date).format("HH:mm")]))])]),t("div",{class:c.selectBtn},[t(p,{class:c.btn,type:"primary",round:!0,block:!0,plain:!0,onClick:this.onReset},{default:()=>[this.selectType==="noEnough"?"\u7EE7\u7EED\u9009\u62E9":"\u91CD\u65B0\u9009\u62E9"]}),t(p,{class:c.btn,type:"primary",round:!0,block:!0,onClick:this.onSure},{default:()=>[u("\u786E\u8BA4")]})])])]})])}}),st={"live-create":"_live-create_1ip6h_1"},Yt=P({name:"LiveCreate",async mounted(){try{((await b.get("/api-teacher/sysConfig/queryByParamNameList",{params:{paramNames:"live_service_rate,live_time_setting"}})).data||[]).forEach(l=>{if(l.paramName==="live_time_setting"){let o=l.paramValue?JSON.parse(l.paramValue):[],n=[];o.forEach(d=>{n.push({...d,name:d.courseMinutes})}),e.minutes=[...n]}l.paramName==="live_service_rate"&&(e.rate=l.paramValue)});let r=await b.post("/api-teacher/teacher/querySubject");e.subjectList=r.data||[]}catch(a){console.log(a)}this.getLiveClassDetail()},methods:{async getLiveClassDetail(){var r;const a=this.$route.query.groupId;if(!a)return;const s=await b.get(`/api-teacher/courseGroup/queryLiveCourseInfo?groupId=${a}`);if(console.log(s,e),s.code==200){const l=s.data;e.live.courseGroupId=l.courseGroupId,e.live.teacherId=l.teacherId,e.live.name=l.courseGroupName,e.live.subjectId=((r=e.subjectList.find(o=>o.name===l.subjectName))==null?void 0:r.id)||"",e.live.courseIntroduce=l.courseIntroduce,e.live.courseNum=l.courseNum,e.live.singleMins=l.singleCourseMinutes,e.live.coursePrice=l.coursePrice,e.live.coursePlanList=l.planList,e.live.salesStartDate=l.salesStartDate,e.live.salesEndDate=l.salesEndDate,e.live.mixStudentNum=l.mixStudentNum,e.live.backgroundPic=l.backgroundPic}}},render(){return t("div",{class:st["live-create"]},[e.active!==5&&t(D,{position:"top",offsetTop:0},{default:()=>[t(ye,{style:{backgroundColor:"#f6f8f9",paddingBottom:"12px"}},null)]}),e.active===1&&t(Ie,null,null),e.active==2&&t(Ue,null,null),e.active==3&&t(at,null,null),e.active==4&&t(Ge,null,null),e.active==5&&t(qe,null,null)])}});export{Yt as default};