(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a2dbc81","chunk-770fa607","chunk-398e6ef3","chunk-e6533012"],{"0464":function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{model:e.list}},[s("el-table",{staticStyle:{width:"100%","text-alogn":"center"},attrs:{data:e.form,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[s("el-table-column",{key:"courseType",attrs:{label:"课程类型",prop:"courseType",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".courseType",rules:{required:!0,message:"请选择课程类型",trigger:"change"}}},[s("el-select",{staticStyle:{width:"90%!important"},attrs:{size:"small",placeholder:"课程类型",clearable:"",disabled:e.isDisabled},on:{change:function(s){return e.courseItemChange(t.row,t.$index)}},model:{value:e.list.form[t.$index].courseType,callback:function(s){e.$set(e.list.form[t.$index],"courseType",s)},expression:"list.form[scope.$index].courseType"}},e._l(e.courseUnitPriceSettingsByType,(function(t,a){return s("el-option",{key:a,attrs:{disabled:e.isOptionDisabled(a),label:e.courseType[a],value:a}})})),1)],1)]}}])}),e._v(" "),e.isCommon?s("el-table-column",{key:"isStudentOptional",attrs:{label:"是否可选",prop:"isStudentOptional",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".isStudentOptional",rules:{required:!0,message:"请选择是否可选",trigger:"change"}}},[s("el-select",{staticStyle:{width:"90%!important"},attrs:{size:"small",placeholder:"是否可选",disabled:e.isDisabled,clearable:""},model:{value:e.list.form[t.$index].isStudentOptional,callback:function(s){e.$set(e.list.form[t.$index],"isStudentOptional",s)},expression:"list.form[scope.$index].isStudentOptional"}},e._l(e.boolOptionsOptions,(function(e,t){return s("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)]}}],null,!1,629554011)}):e._e(),e._v(" "),s("el-table-column",{key:"courseTotalMinuties",attrs:{label:"课程时长(分钟)",prop:"courseTotalMinuties",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".courseTotalMinuties",rules:[{required:!0,message:"请输入课程时长",trigger:"blur"}]}},[s("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:0,min:0,disabled:e.isDisabled,placeholder:"课程时长"},on:{change:function(s){return e.$listeners.priceChange(t.row,t.$index)}},model:{value:e.list.form[t.$index].courseTotalMinuties,callback:function(s){e.$set(e.list.form[t.$index],"courseTotalMinuties",s)},expression:"list.form[scope.$index].courseTotalMinuties"}})],1)]}}])}),e._v(" "),s("el-table-column",{key:"courseCurrentPrice",attrs:{label:"现价(元)",prop:"courseCurrentPrice",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".courseCurrentPrice",rules:{required:!0,message:"请输入现价",trigger:"blur"}}},[s("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:0,min:0,placeholder:"请输入现价"},on:{change:e.change},model:{value:e.list.form[t.$index].courseCurrentPrice,callback:function(s){e.$set(e.list.form[t.$index],"courseCurrentPrice",s)},expression:"list.form[scope.$index].courseCurrentPrice"}})],1)]}}])},[s("template",{slot:"header"},[s("p",{staticStyle:{position:"relative"}},[e._v("\n 现价(元)\n "),s("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[s("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),s("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)])],2),e._v(" "),s("el-table-column",{key:"courseOriginalPrice",attrs:{prop:"courseOriginalPrice",label:"原价(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".courseOriginalPrice",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[s("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:0,min:0,placeholder:"请输入原价"},model:{value:e.list.form[t.$index].courseOriginalPrice,callback:function(s){e.$set(e.list.form[t.$index],"courseOriginalPrice",s)},expression:"list.form[scope.$index].courseOriginalPrice"}})],1)]}}])}),e._v(" "),e.clearable?s("el-table-column",{key:"close",attrs:{prop:"close",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.form.length>1?s("i",{staticClass:"el-icon-circle-close",staticStyle:{"margin-bottom":"24px",cursor:"pointer"},on:{click:function(s){e.$listeners.remove&&e.$listeners.remove(t.$index)}}}):e._e()]}}],null,!1,4278559538)}):e._e()],1),e._v(" "),!e.isCommon&&e.$listeners.create?s("el-button",{staticStyle:{width:"100%",margin:"20px 0"},attrs:{icon:"el-icon-circle-plus-outline",plain:"",type:"info",size:"small"},on:{click:e.$listeners.create}},[e._v("新增课程类型")]):e._e()],1)},i=[],r=(s("6762"),s("2fdb"),s("267e")),n=s("ed08"),o=s("92e3"),c=s("6612"),l=s.n(c),u=(s("704d"),{props:["form","isCommon","isDisabled","isUserType","courseUnitPriceSettingsByType","clearable"],data:function(){return{courseType:r["courseType"],courseTypeOptions:this.courseUnitPriceSettingsByType,boolOptionsOptions:Object(n["b"])(r["boolOptions"])}},computed:{list:function(){return{form:this.form}},classTimeList:function(){return Object(o["b"])(o["h"])}},methods:{change:function(e){this.$listeners.moneyChange()},isOptionDisabled:function(e){var t=this.form.map((function(e){return e.courseType}));return t.includes(e)},getOldMoney:function(e){return l()(this.list.form[e].courseTotalMinuties*this.list.form[e].unitPrice).format("0,0.00")},courseItemChange:function(e,t){this.$listeners.priceChange(e,t),this.$refs.form.validateField("form.".concat(t,".courseTotalMinuties"))},validatorCourseTotalMinuties:function(e){var t=this;return function(s,a,i){var r=t.list.form[e].courseType;r&&a>1&&t.classTimeList[r]&&a0?[a("div",{staticClass:"yunTrain",staticStyle:{"margin-top":"12px"}},[a("img",{attrs:{src:e.trainBg}}),e._v(" "),a("div",{staticClass:"toolText"},[a("p",{staticClass:"toolTitle"},[e._v("服务")]),e._v(" "),e.serviceValidDate?a("p",{staticClass:"toolDate"},[e._v("服务有效期:"+e._s(e.serviceValidDate))]):e._e()])])]:e._e(),e._v(" "),0==e.courseViewType?a("h2",{staticClass:"titles",staticStyle:{"margin-top":"12px"}},[a("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),a("span",[e._v("乐团课程")])]):e._e(),e._v(" "),[e.courseShowStatus&&1==e.courseViewType?a("div",{staticClass:"section"},e._l(e.courseShowInfo,(function(t,s){return a("el-row",{key:s,staticClass:"option-row",class:[t.isStudentOptional?"":"disabled"],nativeOn:{click:function(s){return e.onCourseChange(t)}}},[a("el-col",{attrs:{span:16}},[a("i",{staticClass:"check_default",class:[t.isStatus?"check_active":""]}),e._v(" "),a("span",{staticStyle:{display:"flex","align-items":"center"}},["PROJECT"==t.courseType?[e._v(e._s(e.chargeTypeName)+" ")]:[e._v(e._s(e._f("coursesType")(t.courseType)))]],2),e._v(" "),"PROJECT"==t.courseType?a("el-icon",{staticClass:"el-icon-question",nativeOn:{click:function(t){return e.onQuestions("amr")}}}):e._e()],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.courseCurrentPrice)))])])],1)})),1):e._e(),e._v(" "),2==e.courseViewType?a("div",{staticClass:"section"},e._l(e.toolsPackage,(function(t,s){return a("div",{key:s},[a("el-row",{staticClass:"option-row",staticStyle:{"padding-top":"0"},nativeOn:{click:function(s){return e.onTrainChange(t)}}},[a("el-col",{attrs:{span:18}},[a("i",{staticClass:"check_default",class:[t.isStatus?"check_active":""]}),e._v(" "),a("span",{staticStyle:{display:"flex","align-items":"center"}},[[e._v(e._s(t.name))]],2)]),e._v(" "),a("el-col",{attrs:{span:6}},[a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(e.cloudTeacherFee)))])])],1),e._v(" "),t.childGoodsList?a("el-row",{staticStyle:{"padding-left":".24rem"}},e._l(t.childGoodsList,(function(s,i){return a("el-col",{key:s.name},[a("span",{staticStyle:{"font-size":"12px",color:"#808080"}},[e._v(e._s(s.name)+" "+e._s(t.childGoodsList.length-1==i?"":"、"))])])})),1):e._e()],1)})),0):e._e(),e._v(" "),0==e.courseViewType?a("div",{staticClass:"section"},[0==e.courseViewType?a("el-row",{staticClass:"title-row"},[a("el-col",{attrs:{span:12}},[e._v("课程类型")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:11,offset:1}},[e._v("现价")])],1):e._e(),e._v(" "),e._l(e.courseInfo,(function(t,s){return a("el-row",{key:s,staticClass:"option-row",nativeOn:{click:function(s){return e.onCourseChange(t)}}},[a("el-col",{attrs:{span:12}},[a("i",{staticClass:"check_default",class:[t.isStatus?"check_active":"",t.isStudentOptional?"":"disabled"]}),"PROJECT"==t.courseType?[e._v(e._s(t.name))]:[e._v(e._s(e._f("coursesType")(t.courseType)))]],2),e._v(" "),a("el-col",{attrs:{span:11,offset:1}},[a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.courseCurrentPrice)))])])],1)}))],2):e._e()],e._v(" "),e.courseInfo&&e.courseInfo.length>0&&e.isClickStatus&&1==e.courseViewType?a("div",{staticClass:"section"},[a("h2",{staticClass:"title"},[e._v(e._s("乐团课程"))]),e._v(" "),a("el-row",{staticClass:"title-row"},[a("el-col",{attrs:{span:12}},[e._v("课程类型")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:11,offset:1}},[e._v("现价")])],1),e._v(" "),e._l(e.courseInfo,(function(t,s){return[t.isStudentOptional?a("el-row",{key:s,staticClass:"option-row",nativeOn:{click:function(s){return e.onCourseChange(t)}}},[a("el-col",{attrs:{span:12}},[a("i",{staticClass:"check_default",class:[t.isStatus?"check_active":"",t.isStudentOptional?"":"disabled"]}),"PROJECT"==t.courseType?[e._v(e._s(t.name))]:[e._v(e._s(e._f("coursesType")(t.courseType)))]],2),e._v(" "),a("el-col",{attrs:{span:11,offset:1}},[a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.courseCurrentPrice)))])])],1):e._e()]}))],2):e._e(),e._v(" "),e.instrumentResultList&&e.instrumentResultList.length>0?a("h2",{staticClass:"titles"},[a("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),a("span",[e._v("乐器")])]):e._e(),e._v(" "),e.instrumentResultList&&e.instrumentResult.length>0?a("div",{staticClass:"section"},e._l(e.instrumentResultList,(function(t,s){return a("div",{key:s},[e.leBaoStatus&&"owned"==t[0].kitType?[a("el-row",{staticClass:"option-row",staticStyle:{"padding-bottom":"10px","margin-top":"8px","border-top":"1px solid #F0F0F0"},nativeOn:{click:function(t){return e.onLeBao(t)}}},[a("el-col",{attrs:{span:12}},[a("i",{staticClass:"check_default",class:[e.buyMaintenance?"check_active":""]}),e._v("乐器保养(一年)"),a("el-icon",{staticStyle:{"padding-left":"0"},attrs:{name:"question"},nativeOn:{click:function(t){return t.stopPropagation(),e.onQuestions("instrument")}}})],1),e._v(" "),a("el-col",{attrs:{span:11,offset:1}},[a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(300)))])])],1)]:e._e(),e._v(" "),a("el-row",{staticClass:"title-row"},[a("el-col",{attrs:{span:12}},["GROUP"==t[0]["kitType"]?[e._v("\n\t\t\t\t\t\t\t团购乐器"+e._s(2==e.courseViewType?"(赠送辅件一套)":null)+"\n\t\t\t\t\t\t")]:e._e(),e._v(" "),"LEASE"==t[0]["kitType"]?[e._v("\n\t\t\t\t\t\t\t乐器租赁"+e._s(2==e.courseViewType?"(请自行购买辅件)":null)+"\n\t\t\t\t\t\t")]:e._e(),e._v(" "),"FREE"==t[0]["kitType"]?[e._v("\n\t\t\t\t\t\t\t免费乐器"+e._s(2==e.courseViewType?"(请自行购买辅件)":null)+"\n\t\t\t\t\t\t")]:e._e(),e._v(" "),"owned"==t[0]["kitType"]?[e._v("\n\t\t\t\t\t\t\t自备乐器"+e._s(2==e.courseViewType?"(请自行购买辅件)":null)+"\n\t\t\t\t\t\t")]:e._e()],2),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5,offset:1}},[["GROUP","LEASE","FREE"].includes(t[0]["kitType"])?[e._v("原价")]:e._e()],2),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5,offset:1}},[["GROUP","FREE"].includes(t[0]["kitType"])?[e._v("现价")]:e._e(),e._v(" "),"LEASE"==t[0]["kitType"]?[e._v("租赁押金")]:e._e()],2)],1),e._v(" "),e._l(t,(function(t,s){return a("div",{key:s,on:{click:function(s){return e.instrumentF(t)}}},[a("el-row",{staticClass:"option-row"},[a("el-col",{attrs:{span:12}},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]}),e._v(" "),a("div",[e._v("\n "+e._s(t.name)+"\n "),t.goodsList?a("div",{staticStyle:{"font-size":"12px",color:"#808080"}},[e._v("\n "+e._s(t.goodsList[0].specification)+"\n ")]):e._e()])]),e._v(" "),a("el-col",{attrs:{span:6}},["owned"!=t.kitType?a("del",{staticStyle:{color:"#808080","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.marketPrice)))]):e._e()]),e._v(" "),a("el-col",{attrs:{span:6}},["LEASE"==t.kitType?a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(Number((t.depositFee-t.coupon).toFixed(2)))))]):e._e(),e._v(" "),"FREE"==t.kitType?a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(0)))]):e._e(),e._v(" "),"GROUP"==t.kitType?a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(Number((t.price-t.coupon).toFixed(2)))))]):e._e()])],1),e._v(" "),t.childGoodsList&&"GROUP"==t.kitType?a("el-row",{staticStyle:{padding:"8px 0px 8px 24px","border-top":"1px solid rgb(240, 240, 240)"}},[a("el-col",{staticStyle:{"font-size":"14px",color:"#1A1A1A","padding-bottom":"3px"},attrs:{span:24}},[e._v("赠送辅件")]),e._v(" "),a("el-col",[a("span",{staticStyle:{"font-size":"12px",color:"#808080"}},[e._v("\n "+e._s(t.childGoodsNames)+"\n ")])])],1):e._e()],1)}))],2)})),0):e._e(),e._v(" "),e.accessOries.length>0&&e.accessIsShowStatus?a("h2",{staticClass:"titles"},[a("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),a("span",[e._v("辅件")])]):e._e(),e._v(" "),e.accessOries.length>0&&e.accessIsShowStatus?a("div",{key:"accessOries",staticClass:"section"},[a("el-row",{staticClass:"title-row"},[a("el-col",{attrs:{span:12}},[e._v("服务项目")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5,offset:1}},[e._v("原价")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5,offset:1}},[e._v("现价")])],1),e._v(" "),e._l(e.accessOries,(function(t,s){return a("div",{key:s},[a("el-row",{staticClass:"option-row",nativeOn:{click:function(s){return e.onAuxiliarie(t)}}},[a("el-col",{attrs:{span:12}},[a("i",{staticClass:"check_default",class:[t.checked?"check_active":""]}),e._v(e._s(t.name)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:6}},[a("del",{staticStyle:{color:"#808080","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.goodsList[0]?t.goodsList[0].marketPrice:0)))])]),e._v(" "),a("el-col",{attrs:{span:6}},[0==t.price?a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("免费")]):a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.price)))])])],1),e._v(" "),t.childGoodsList?a("el-row",{staticStyle:{"padding-left":"24px"}},[a("el-col",e._l(t.childGoodsList,(function(s,i){return a("span",{key:s.id,staticStyle:{"font-size":"12px",color:"#808080"}},[e._v(e._s(s.name)+" "+e._s(t.childGoodsList.length-1==i?"":","))])})),0)],1):e._e()],1)}))],2):e._e(),e._v(" "),a("div",{staticClass:"buy"},[a("div",{staticClass:"price"},[a("p",{staticClass:"oldprice"},[a("del",{staticClass:"text"},[e._v("原价")]),e._v(" "),a("del",{staticStyle:{"font-size":"13px"}},[e._v("¥"+e._s(e._f("moneyFormat")(e.orderInfo.marketPrice)))])]),e._v(" "),a("p",{staticClass:"now_price"},[a("span",{staticClass:"text"},[e._v("仅需支付")]),e._v(" "),a("span",{staticStyle:{"font-weight":"bold"}},[e._v("¥"+e._s(e._f("moneyFormat")(e.needPrice)))])])]),e._v(" "),a("a",{staticClass:"btn-submit"},[e._v("购买")])]),e._v(" "),a("el-dialog",{staticClass:"videoDialog",attrs:{title:"视屏",visible:e.videoStatus,"modal-append-to-body":!1,"append-to-body":!0,width:"30%"},on:{"update:visible":function(t){e.videoStatus=t}}},[e.videoStatus?a("video",{staticClass:"ql-video",staticStyle:{width:"100%"},attrs:{controls:"controls",src:"https://daya.ks3-cn-beijing.ksyun.com/202105/SWmqmvW.mp4",poster:s("df4f")}}):e._e()])],2)},w=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"noticeInfo"},[e._v("\n 1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;"),s("br"),e._v("\n\t\t\t2、为避免因部分已注册家长放弃名额导致乐团声部失衡,系统设定各声部限额放大20%比例开放注册,系统自动按照完全完成注册的先后顺序确认录取名单,因此,超员后有可能出现无法注册的情况,请您理解。如果其他声部仍有名额,在您孩子的身体条件适合该乐器的前提下,我们将优先予以调配。\n\t\t")])}],k=(s("c5f6"),s("456d"),s("7f7f"),s("ac6a"),s("ec8a")),x={0:"按月",1:"按学期",2:"一次性"},C={props:["subjectId","calenderId"],data:function(){var e=this.$route.query;return{videoStatus:!1,trainBg:s("31f0"),trainSmallBg:s("9214"),musicGroupId:e.id,result:{},instrument:{},baseInfo:{},money:580,balance:0,needPrice:0,payType:!1,cloudTeacherFee:0,orderInfo:{marketPrice:0,amount:0,groupPurchasePrice:0,goodsGroupIds:null,goodsIds:null,contractGoodsIds:null,couponPrice:0,musicClassFee:0,musicMarketClassFee:0,accessPrice:0,accessMarketPrice:0,goodsPrice:0,goodsMarketPrice:0},toolsPackage:[{isStatus:!0,name:"练习系统(六个月)",childGoodsList:[{name:"同步乐团训练教程,五线谱跟播、演奏指法跟播、任选小节循环播放、演奏速度自定义、原音/伴奏一键切换等。"}]}],courseInfo:null,musicGroupSubject:null,instrumentResult:[],accessOries:[],agreeStatus:!0,authStatus:!1,buyList:[],ids:[],instrumentResultList:[],chargeTypeId:null,paymentStatus:null,paymentPattern:null,serviceValidDate:null,courseShowStatus:!1,chargeTypeList:[],chargeTypeName:null,courseViewType:0,leBaoStatus:!1,buyMaintenance:!1,isClickStatus:!1,accessStatus:!1,accessIsShowStatus:!1}},mounted:function(){this.__init()},methods:{__init:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={musicGroupId:this.musicGroupId,subjectId:this.subjectId,calenderId:this.calenderId},e.next=3,Object(p["Rb"])().then((function(e){var t=e.data;200==e.code&&(s.chargeTypeList=t.rows||[])}));case 3:return e.next=5,Object(p["Hb"])(t).then((function(e){var t=e;if(200==t.code){var a=t.data;s.courseViewType=a.musicGroup.courseViewType||0,s.cloudTeacherFee=a.cloudTeacherFee||0,s.paymentPattern=2,a.musicGroupPaymentCalender&&(s.paymentPattern=a.musicGroupPaymentCalender.paymentPattern,s.serviceValidDate=c()(a.musicGroupPaymentCalender.paymentValidStartDate).format("YYYY/MM/DD")+"~"+c()(a.musicGroupPaymentCalender.paymentValidEndDate).format("YYYY/MM/DD"));var i=a.musicGroupPaymentCalender?a.musicGroupPaymentCalender.musicGroupPaymentCalenderCourseSettingsList:null;if(i&&i.length>0){var r={courseCurrentPrice:0,courseOriginalPrice:0,courseType:null,name:"器乐练习系统"};i.forEach((function(e){e.isStudentOptional||(s.courseShowStatus=!0,r={courseCurrentPrice:e.courseCurrentPrice+r.courseCurrentPrice,courseOriginalPrice:e.courseCurrentPrice+r.courseCurrentPrice,courseType:"PROJECT",isStatus:!0,name:"器乐练习系统"})})),s.courseShowInfo=[r],s.courseInfo=i}else s.courseInfo=[{id:-1,courseCurrentPrice:0,courseOriginalPrice:0,isStudentOptional:!1,courseType:"MUSIC"}];s.isClickStatus=!1,s.courseInfo.forEach((function(e){e.isStudentOptional?(e.isStatus=!1,s.isClickStatus=!0):e.isStatus=!0})),s.musicGroupSubject=a.musicGroupSubjectPlan;var n={},o=[];if(a.musicGroupSubjectGoodsGroupList.forEach((function(e){if("INSTRUMENT"==e.type){var t=e.kitGroupPurchaseTypeJson?JSON.parse(e.kitGroupPurchaseTypeJson):{},a=function(a){var i=Object.assign({},e);i.marketPrice=i.goodsList[0].marketPrice,i.kitType=a,i.coupon=t[a],n.id?(i.checked=!1,"GROUP"==a?("GROUP"==n.kitType&&n.price0&&(i.childGoodsList.forEach((function(e){"INSTRUMENT"!=e.type&&"OTHER"!=e.type&&r.push(e.name)})),i.childGoodsNames=r.join("、")),s.instrumentResult.push(i),o.push(i)};for(var i in t)a(i)}else"ACCESSORIES"==e.type&&(e.checked=!0,s.accessOries.push(e))})),s.instrumentResult.length>0){var l={id:-1,kitType:"owned",name:"自备乐器",price:0,marketPrice:0,checked:!1};o.push(l),s.instrumentResult.push(l);var u=s.groupBy(o,(function(e){return[e.kitType]}));console.log(u),s.instrumentResultList=u,s.chargeTypeList.forEach((function(e){e.id==a.musicGroup.chargeTypeId&&(s.chargeTypeName=e.description)}));var p=!1;s.accessOries.forEach((function(e){e.childGoodsList&&e.childGoodsList.length>0&&e.childGoodsList.forEach((function(e){76==e.id&&(p=!0)})),76==e.goodsIdList&&(p=!0)})),s.accessStatus=p,23==s.subjectId&&(s.accessStatus=!0,p=!0),s.instrumentResult.forEach((function(e){e.checked&&"owned"!=e.kitType&&!p&&(s.leBaoStatus=!0,s.buyMaintenance=!0),e.checked&&"GROUP"!=e.kitType&&2==s.courseViewType&&(s.accessIsShowStatus=!0),2!=s.courseViewType&&(s.accessIsShowStatus=!0)}))}}s.calcPrice()}));case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),onLeBao:function(){this.buyMaintenance=!this.buyMaintenance,this.calcPrice()},groupBy:function(e,t){var s={};return e.forEach((function(e){var a=JSON.stringify(t(e));s[a]=s[a]||[],s[a].push(e)})),Object.keys(s).map((function(e){return s[e]}))},onQuestions:function(e){"amr"==e?this.$alert("革命性的“AMR器乐练习系统”
它的诞生是基于世界上最优秀的华人管乐指导专家唐嘉宏先生的教育理念,创新开发的一种新型“音乐感官植入程序”,这个程序抛弃了传统的“数线式识谱、机械式节奏、死记式乐理”,它营造出沉浸式可变速演奏过程,采用画面与音乐刺激序列组合而成的特定场景,在趣味性挑战的反复刺激中逐步促进器乐演奏的三核心:“音质→音准→音型”,从而达成演奏各环节水准的均匀提高,产生永久性条件反射式大脑记忆,将多板块知识融会贯通,让抽象的音乐知识刻入脑海里!

本练习系统的特点:
1.轻松快速掌握要点,让练习者沉浸其中,远离枯燥!
2.不假思索就能瞬间唤起反射式记忆,演奏识谱不再慢吞吞!
3.真正的实践记忆,摆脱纸上谈兵,与实际演奏紧密结合!
4.思维+肌肉的双重强化!无缝整合复习系统!
5.每条练习都经过严谨的编曲,你以为你只是在练习旋律线?其实是整个乐团在为你伴奏!","AMR器乐练习系统",{confirmButtonText:"确定",dangerouslyUseHTMLString:!0,callback:function(e){}}):"instrument"==e&&this.$alert('

1.乐器保养是管乐迷针对乐团学员提供的乐器检查、保养及维修优惠特权;
2.该特权为包年制,从开通特权之日起365天内有效;
3.特权用户可享受管乐迷提供专业的高级乐器维修技师一年不低于两次下校检查乐器使用情况;
4.特权有效期内凭该特权绑定的乐器编号可享受保养人工费减免、非返厂维修人工费优惠等特权;
感谢您的信任和支持!

',"乐器保养特权",{confirmButtonText:"确定",dangerouslyUseHTMLString:!0,callback:function(e){}})},onCourseChange:function(e){e.isStudentOptional&&(e.isStatus=!e.isStatus,this.calcPrice())},onTrainChange:function(e){e.isStatus=!e.isStatus;var t=this.courseShowInfo;t.forEach((function(t){t.isStatus=e.isStatus}));var s=this.courseInfo;s.forEach((function(t){t.isStudentOptional||(t.isStatus=e.isStatus)})),this.calcPrice()},onClickCheckbox:function(){this.payType?this.needPrice=this.orderInfo.amount:this.orderInfo.amount>=this.balance?this.needPrice=Number((this.orderInfo.amount-this.balance).toFixed(2)):this.needPrice=0,this.payType=!this.payType},onAuxiliarie:function(e){e.checked=!e.checked,this.calcPrice()},instrumentF:function(e){this.instrumentResult.forEach((function(e){e.checked=!1})),e.checked=!0,this.accessStatus||("owned"!=e.kitType?(this.leBaoStatus=!0,this.buyMaintenance=!0):(this.leBaoStatus=!1,this.buyMaintenance=!1)),2==this.courseViewType&&("GROUP"!=e.kitType?this.accessIsShowStatus=!0:this.accessIsShowStatus=!1),this.calcPrice()},calcPrice:function(){var e=this,t=[],s=[],a=0,i=0,r=0,n=0,o={},l=[],u=0,p=[],d=0,m=0,h=0,f=0,y=0,v=0,b="",g=this.musicGroupSubject,_=this.courseInfo;if(2==this.courseViewType&&this.toolsPackage[0].isStatus&&(m+=parseFloat(this.cloudTeacherFee),i+=parseFloat(this.cloudTeacherFee)),g){var S=this.courseShowInfo;if(S.length>0&&1==this.courseViewType){var w=0;S.forEach((function(e){w+=parseFloat(e.courseCurrentPrice)})),i+=parseFloat(w),t.unshift({name:this.chargeTypeName,type:x[this.paymentPattern],price:Number(w.toFixed(2))})}_.forEach((function(t){t.isStatus&&(2!=e.courseViewType&&(m+=parseFloat(t.courseCurrentPrice)),t.id>0&&l.push(t.id),t.isStudentOptional?i+=parseFloat(t.courseCurrentPrice):v+=parseFloat(t.courseCurrentPrice),0!=e.courseViewType||t.isStudentOptional||(i+=parseFloat(t.courseCurrentPrice)))}))}var k=this.instrumentResult;k.length>0&&k.forEach((function(e){e.checked&&("自备乐器"!=e.name&&(b+=e.goodsIdList),"FREE"==e.kitType?(a+=0,u=0):"LEASE"==e.kitType?(u=e.coupon,"自备乐器"!=e.name?(a+=e.depositFee,r+=e.depositFee):a+=0):(a+=parseFloat(e.price),r+=parseFloat(e.price),u=e.coupon?e.coupon:0),"LEASE"==e.kitType?"自备乐器"!=e.name&&(i+=parseFloat(e.marketPrice),n+=e.depositFee):(i+=parseFloat(e.marketPrice),n+=parseFloat(e.marketPrice)),e.id&&(o[e.id]=e.kitType),"LEASE"==e.kitType?t.push({name:e.name,type:"租赁",price:e.depositFee}):"GROUP"==e.kitType?t.push({name:e.name,type:"团购",price:parseFloat(e.price-u)}):"FREE"==e.kitType&&t.push({name:e.name,type:"免费",price:0}),"GROUP"==e.kitType&&1==e.groupRemissionCourseFee&&(m=parseFloat(m-v)))})),this.leBaoStatus&&this.buyMaintenance&&(i+=300,a+=300,t.push({name:"乐器保养",time:c()().format("YYYY/MM/DD")+"~"+c()().add(365,"day").format("YYYY/MM/DD"),type:"包年",price:300})),a+=parseFloat(d+m),parseFloat(d+m)>0&&0==this.courseViewType&&t.unshift({name:"乐团课",type:x[this.paymentPattern],price:Number((d+m).toFixed(2))}),this.accessOries.length>0&&this.accessOries.forEach((function(s){s.checked&&e.accessIsShowStatus&&(f+=parseFloat(s.price),a+=parseFloat(s.price),s.goodsList&&s.goodsList.length>0&&s.goodsList.forEach((function(e){y+=parseFloat(e.marketPrice),i+=parseFloat(e.marketPrice)})),o[s.id]="ACCESSORIES",t.push({name:s.name,type:"团购",price:s.price}))}));var C=a;if(a-u>=0?(a=Number((a-u).toFixed(2)),this.errorPrice=!1):(a=0,this.errorPrice=!0),this.ids=s,this.payType){var T=Number((a-this.balance).toFixed(2));this.needPrice=T>0?T:0}else this.needPrice=Number(a.toFixed(2));this.buyList=t,this.orderInfo={amount:Number(a.toFixed(2)),marketPrice:Number(i.toFixed(2)),groupPurchasePrice:C,couponPrice:u,goodsGroupIds:o,goodsIds:p.join(","),contractGoodsIds:b,courseKeys:l,musicClassFee:m,musicMarketClassFee:h,accessMarketPrice:y,accessPrice:f,goodsPrice:r,goodsMarketPrice:n}},permission:function(e){return Object(k["a"])(e)}}},T=C,F=(s("7f99"),s("2877")),P=Object(F["a"])(T,S,w,!1,null,"71799c66",null),O=P.exports,I=s("267e"),j=s("ed08"),L=s("92e3"),D={props:["isNewGropu"],components:{pagination:n["a"],setStudentFee:f["default"],userPayForm:y["a"],schoolPayForm:b["a"],QrCode:l["a"],review:g["a"],reviewDetail:_["a"],"pay-items":v["a"],subjectPreview:O},data:function(){return{team_status:"",musicGroupStu:[],payFormType:"user",userVisible:!1,schoolVisible:!1,itemsVisible:!1,reviewVisible:!1,organizationCourseUnitPriceSettings:[],searchForm:{paymentType:null},viewDetail:null,tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},isInit:!1,diTitle:"新增缴费",payVisible:!1,payForm:{startPaymentDate:null,deadlinePaymentDate:null,paymentPattern:null,paymentValidStartDate:null,paymentValidEndDate:null,type:null,memo:null},isNew:!1,activeRow:null,pickerOptions:{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()+864e5<=(new Date).getTime()}},qrcodeStatus:!1,codeUrl:null,chioseStudentVisible:!1,chioseStudentList:[],clearStduent:!0,batchNo:"",musicGroupPaymentCalenderId:"",teamType:this.$route.query.type,payOrderTypeLists:L["v"],dialogSubjectVisible:!1,dialogSubjectList:[],activeName:null,dialogCalenderId:null,baseInfo:null}},created:function(){},mounted:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(m["r"])({rows:9999});case 3:t=e.sent,this.organizationCourseUnitPriceSettings=t.data.rows,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:this.init();case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),computed:{payOrderTypeList:function(){return Object(j["b"])(I["userPaymentType"])},payFormTitle:function(){return this.isNew?"user"===this.payFormType?"新增学员缴费":"新增学校缴费":"user"===this.payFormType?"修改学员缴费":"修改学校缴费"},teamStatus:function(){var e=this.$route.query.team_status;return"PRE_BUILD_FEE"==e||"PROGRESS"==e}},methods:{init:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.team_status=this.$route.query.team_status,e.prev=1,e.next=4,Object(h["a"])({musicGroupId:this.$route.query.id});case 4:e.sent,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](1);case 9:Object(p["Lb"])({musicGroupId:this.$route.query.id}).then((function(e){200==e.code&&(t.baseInfo=e.data)})),this.getList();case 11:case"end":return e.stop()}}),e,this,[[1,7]])})));function t(){return e.apply(this,arguments)}return t}(),newUserPay:function(){this.payFormType="user",this.isNew=!0,this.activeRow=null,this.userVisible=!0},newSchoolPay:function(){this.payFormType="school",this.isNew=!0,this.activeRow=null,this.userVisible=!0},getList:function(){var e=this,t=this.$route.query.id;return Object(d["c"])({page:this.rules.page,rows:this.rules.limit,search:t,payUserType:"STUDENT",paymentType:this.searchForm.paymentType}).then((function(t){200==t.code&&(e.rules.total=t.data.total,e.tableList=t.data.rows)}))},paymentPatternChange:function(e){},onCreateQRCode:function(e){this.qrcodeStatus=!0,this.codeUrl=Object(u["d"])()+"/#/musicGroupRenew?calenderId="+e.id+"&id="+this.$route.query.id},chioseStudent:function(e){this.chioseStudentList=e},newPay:function(){this.diTitle="新增缴费",this.isNew=!0,this.payVisible=!0},resetPay:function(e){this.diTitle="修改缴费",this.isNew=!1,this.activeRow=e,this.payFormType="SCHOOL"===e.payUserType?"school":"user",this.userVisible=!0},changeActive:function(e){this.$listeners.changeActive&&this.$listeners.changeActive(e)},chioseStudentSubmited:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$confirm("缴费创建完成, 是否立即排课?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:this.$listeners.changeActive&&this.$listeners.changeActive({name:"5"}),e.next=8;break;case 6:e.prev=6,e.t0=e["catch"](0);case 8:case"end":return e.stop()}}),e,this,[[0,6]])})));function t(){return e.apply(this,arguments)}return t}(),detelePay:function(e){var t=this,s=e.id;this.$confirm("确定删除该缴费周期?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(p["y"])({id:s}).then((function(e){200==e.code&&(t.$message.success("删除成功"),t.getList())}))})).catch((function(){}))},lookList:function(e){this.viewDetail=e,this.itemsVisible=!0},lookDetail:function(e){var t=this.$route.query;this.$route.query.paymentId=e.id,this.viewDetail=e,"SCHOOL"===e.payUserType?this.reviewVisible=!0:this.$router.push({path:"/business/strudentPayInfo",query:t})},removeBatchNo:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$confirm("是否确认删除该缴费批次?","提示",{type:"warning"});case 3:return e.next=5,Object(h["d"])({batchNo:t.batchNo});case 5:this.$message.success("删除成功"),this.getList(),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(t){return e.apply(this,arguments)}return t}(),newPayInfo:function(){var e=this;this.$refs["payForm"].validate((function(t){t&&(e.chioseStudentVisible=!0)}))},submitNewPay:function(){var e=this;if(this.chioseStudentList.length<1)this.$message.error("请至少选择一名学员");else{var t={};t.userIdList=this.chioseStudentList.map((function(e){return e.userId})),t.batchNo=this.batchNo,Object(h["e"])(t).then((function(t){200==t.code&&(e.$message.success("添加成功"),e.$refs.setStudentFee.clearTable(),e.payVisible=!1,e.chioseStudentVisible=!1,e.getList())}))}},resetPayDate:function(){var e=this;Object(p["nc"])({id:this.activeRow.id,startPaymentDate:this.payForm.startPaymentDate,deadlinePaymentDate:this.payForm.deadlinePaymentDate,paymentValidStartDate:this.payForm.paymentValidStartDate?c()(this.payForm.paymentValidStartDate).format("YYYY-MM-DD"):this.payForm.paymentValidStartDate,paymentValidEndDate:this.payForm.paymentValidEndDate?c()(this.payForm.paymentValidEndDate).format("YYYY-MM-DD"):this.payForm.paymentValidEndDate,paymentPattern:this.payForm.paymentPattern}).then((function(t){200==t.code&&(e.$message.success("修改成功"),e.payVisible=!1,e.getList())}))},changeStartTime:function(e){this.payForm.deadlinePaymentDate=this.dateAddDays(e,3)},changePaymentStartTime:function(e){this.payForm.paymentValidEndDate=null},dateAddDays:function(e,t){var s=e,a=new Date(s.replace(/-/g,"/"));a=new Date(1e3*(a/1e3+86400*t));var i=a.getFullYear()+"-"+(a.getMonth()+1)+"-"+a.getDate();return i},beginDate:function(e){return{firstDayOfWeek:1,disabledDate:function(t){return e?new Date(e).getTime()-864e5>=t.getTime():t.getTime()+864e50&&t.data[0].paranValue&&(e.holidayList=JSON.parse(t.data[0].paranValue))}))},changeActiveChioseSound:function(e){this.activeChioseSound=e},getList:function(){var e=this;this.teamid=this.$route.query.id,Object(c["nb"])({groupType:"MUSIC",musicGroupId:this.teamid,type:this.searchForm.classType,page:this.rules.page,rows:this.rules.limit}).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)}))},changeClassGetList:function(e){this.getList()},newClass:function(){this.isSetSalary?this.$message.error("课酬确认后无法编辑"):(this.newClassVisible=!0,this.isStudentRemove=!1)},newClassSecond:function(){var e=this;this.$refs["newClassForm"].validate((function(t){if(t){e.isNewClass=!0;var s=e.newClassForm.type;e.isSearch=!0,e.getNoClassStudent(s,null),e.studentVisible=!0}}))},newClassHight:function(){var e=this;if("HIGH_ONLINE"==this.newClassForm.type&&(this.newClassForm.expectStudentNum>6||this.newClassForm.expectStudentNum<3))return this.$message.error("班级人数必须为3-6人");this.$refs["newClassForm"].validate((function(t){if(t){var s,a={};if(a.musicGroupId=e.teamid,a.name=e.newClassForm.className,a.type=e.newClassForm.type,a.groupType="MUSIC",a.expectStudentNum=e.newClassForm.expectStudentNum,a.teacherMapperList=[],a.teacherMapperList.push({userId:e.newClassForm.bishop,teacherRole:"BISHOP"}),"HIGH_ONLINE"==e.newClassForm.type)s=e.newClassForm.subjectId,e.newClassForm.memo.length>0&&(a.memo=e.newClassForm.memo.join(","));else{for(var i in s=e.newClassForm.memo.length>0?e.newClassForm.memo.join(","):null,e.newClassForm.teaching)a.teacherMapperList.push({userId:e.newClassForm.teaching[i],teacherRole:"TEACHING"});a.memo=s}a.subjectIdList=s,Object(c["w"])(a).then((function(t){200==t.code&&(e.$message.success("创建成功"),e.resetClassFrom(),e.getList(),e.newClassVisible=!1)}))}}))},resetClassFrom:function(){this.newClassForm={className:null,type:null,subjectIdList:[],subjectId:"",expectStudentNum:null,bishop:null,teaching:[],memo:[]},this.changeMemo([])},removeStudent:function(e){var t=this;Object(l["q"])({classGroupId:this.activeClass,userId:e.row.userId}).then((function(s){200==s.code&&(t.$message.success("删除成功"),e.isVisible=!1,t.getList(t.activeMixClass),Object(l["g"])({classGroupId:t.activeClass}).then((function(e){200==e.code&&(t.activeListStudent=e.data,t.getNoClassStudent(t.activeType))})),"HIGH_ONLINE"!=t.activeType&&"HIGH"!=t.activeType||(e._self.$refs[e.$index].doClose(),Object(l["g"])({classGroupId:t.activeClass}).then((function(e){200==e.code&&(t.classList=e.data)}))))}))},addSomeStudent:function(e){var t=this;e.length<=0&&!this.isStudentRemove?this.$message.error("至少添加一名学员"):"HIGH_ONLINE"==this.activeType?Object(c["Gc"])({classGroupId:this.activeClass}).then((function(s){if(200==s.code){var a=s.data.rows[0].expectStudentNum;if(e.length>a)return void t.$message.error("超过预计招生人数");Object(o["c"])({classGroupId:t.activeClass,studentIds:e.join(",")}).then((function(e){if(200==e.code)return t.studentVisible=!1,t.$message.success("添加成功"),void t.getList()}))}})):Object(o["c"])({classGroupId:this.activeClass,studentIds:e.join(",")}).then((function(e){200==e.code&&(t.studentVisible=!1,t.$message.success("添加成功"),t.getList())}))},temporaryRemoveStudent:function(e){for(var t in this.activeListStudent)this.activeListStudent[t].userId==e.userId&&this.activeListStudent.splice(t,1);for(var s in this.studentList)this.studentList[s].userId==e.userId&&this.$refs["temporaryStudentList"].toggleRowSelection(e,!1)},objArrayRemoval:function(e,t){var s={},a=[];for(var i in e)s[e[i][t]]||(a.push(e[i]),s[e[i][t]]=!0);return a},NewselectionStudent:function(e){this.chioseStudent=e,this.chioseStudent.length>0?this.chioseStudent=this.chioseStudent.concat(e):this.chioseStudent=e,this.activeListStudent=this.activeListStudent.concat(this.chioseStudent),this.activeListStudent=this.objArrayRemoval(this.activeListStudent,"userId")},getNoClassStudent:function(e,t){var s=this;if(!t);Object(c["sb"])({musicGroupId:this.teamid,type:e,actualSubjectId:t}).then((function(e){200==e.code&&(s.studentList=e.data)}))},searchStudent:function(e){this.getNoClassStudent(this.newClassForm.type,e)},submited:function(e){this.isNewClass?this.createMusiceClass((null===e||void 0===e?void 0:e.seleched)||[]):this.addSomeStudent((null===e||void 0===e?void 0:e.seleched)||[])},createMusiceClass:function(e){var t=this,s=null;e.length>0&&(s=e.join(","));var a,i={};for(var r in i.musicGroupId=this.teamid,i.name=this.newClassForm.className,i.type=this.newClassForm.type,i.groupType="MUSIC",i.userIds=s,i.teacherMapperList=[],i.expectStudentNum=this.newClassForm.expectStudentNum,a="HIGH_ONLINE"==this.newClassForm.type?this.newClassForm.subjectIdList:"MIX"==this.newClassForm.type?null:this.newClassForm.subjectIdList.length>0?this.newClassForm.subjectIdList.join(","):null,i.subjectIdList=a,i.teacherMapperList.push({userId:this.newClassForm.bishop,teacherRole:"BISHOP"}),this.newClassForm.teaching)i.teacherMapperList.push({userId:this.newClassForm.teaching[r],teacherRole:"TEACHING"});Object(c["w"])(i).then((function(e){200==e.code&&(t.$message.success("创建成功"),t.getList(),t.resetClassFrom(),t.studentVisible=!1,t.newClassVisible=!1)}))},classAdjustment:function(e){if(this.isSetSalary)this.$message.error("课酬确认后无法编辑");else{for(var t in this.activeType=e.type,this.activeClass=e.id,this.setType(e.type),this.isNewClass=!1,this.teacherForm.assistant=[],e.teacherMapperList)"BISHOP"==e.teacherMapperList[t].teacherRole&&(this.teacherForm.coreTeacher=e.teacherMapperList[t].userId),"TEACHING"==e.teacherMapperList[t].teacherRole&&this.teacherForm.assistant.push(e.teacherMapperList[t].userId);console.log(this.teacherForm),this.infoVisible=!0}},removeWeek:function(e){for(var t in this.weekList)this.weekList[t].id==e.id&&this.weekList.splice(t,1)},setType:function(e){switch(e){case"NORMAL":this.courseTypeList=[{value:"SINGLE",label:"声部课"},{value:"TRAINING_SINGLE",label:"集训声部课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}];break;case"MIX":this.courseTypeList=[{value:"MIX",label:"合奏课"},{value:"TRAINING_MIX",label:"集训合奏课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}];break;case"HIGH":this.courseTypeList=[{value:"HIGH",label:"基础技能课"}];break;case"HIGH_ONLINE":this.courseTypeList=[{value:"HIGH_ONLINE",label:"线上基础技能课"}];break;case"SNAP":this.courseTypeList=[{value:"SINGLE",label:"声部课"},{value:"MIX",label:"合奏课"},{value:"TRAINING_SINGLE",label:"集训声部课"},{value:"TRAINING_MIX",label:"集训合奏课"},{value:"HIGH",label:"基础技能课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}]}},removeClass:function(e){var t=this;this.isSetSalary?this.$message.error("课酬确认后无法编辑"):Object(c["kc"])({classGroupId:e.row.id}).then((function(s){200==s.code?(t.$message.success("删除成功"),e._self.$refs[e.$index].doClose(),t.getList()):(t.$message.error(s.msg),e._self.$refs[e.$index].doClose())})).catch((function(t){e._self.$refs[e.$index].doClose()}))},setAssistant:function(e){for(var t in e)e[t]==this.teacherForm.coreTeacher&&e.splice(t,1)},setAssistant1:function(e){for(var t in e)e[t]==this.newClassForm.bishop&&e.splice(t,1)},SelectionStudent:function(e){this.chioseStudent=e},addWeek:function(){this.weekList.push({dayOfWeek:"",startClassTime:"",endClassTime:"",id:new Date})},submitTemporary:function(e){var t=this;this.isTemporary=1==e,this.$refs["teacherForm"].validate((function(s){if(s){var a=t.weekList;if("onlyUpdateTeacher"==t.teacherForm.isAdd||a[0]&&a[0].startClassTime&&a[0].endClassTime&&a[0].dayOfWeek){var i=t.className,r=[{userId:t.teacherForm.coreTeacher,teacherRole:"BISHOP"}];for(var n in t.teacherForm.assistant)r.push({userId:t.teacherForm.assistant[n],teacherRole:"TEACHING"});var o=t.teamid,l=t.teacherForm.courseTime,u=t.teacherForm.courseType,p=t.teacherForm.courseNum;if(p<=0&&"onlyUpdateTeacher"!=t.teacherForm.isAdd)t.$message.error("请至少排一节课");else{var d=t.activeListStudent.map((function(e){return e.userId})),m=t.teacherForm.checked,h=[];for(var f in t.weekList)h.push(t.weekList[f]);if(h.length<=0&&"onlyUpdateTeacher"!=t.teacherForm.isAdd)t.$message.error("新增班级至少排一节课");else{"onlyUpdateTeacher"==t.teacherForm.isAdd&&(l=null,u=null,d=null,m=null,p=null,h=null,y=null);var y=t.activeType,v={classGroupName:i,classGroupTeacherMapperList:r,musicGroupId:o,startDate:l,courseType:u,students:d,holiday:m,courseTimes:p,courseTimeDtoList:h,type:y,courseAddType:t.teacherForm.isAdd};1==e?revisionClassGroup(v).then((function(e){200==e.code&&(t.$message.success("修改成功"),t.infoVisible=!1,t.studentVisible=!1,t.getList())})):2==e?revisionAddClassGroup(v).then((function(e){200==e.code&&(t.$message.success("修改成功"),t.infoVisible=!1,t.studentVisible=!1,t.getList())})):3==e&&(v.classGroupId=t.activeClass,Object(c["r"])([v]).then((function(e){200==e.code&&(t.$message.success("修改成功"),t.infoVisible=!1,t.getList())})))}}}else t.$message.error("至少排一节课")}else t.$message.error("请填写必要信息")}))},resetClass:function(e){var t=this;this.isSetSalary?this.$message.error("课酬确认后无法编辑"):(this.isNewClass=!1,this.className=e.name,this.studentVisible=!0,this.activeClass=e.id,this.isSearch=!1,this.activeType=e.type,this.isStudentRemove=!0,this.newClassForm.type=e.type,this.activeChioseSound=null,Object(l["g"])({classGroupId:e.id}).then((function(e){200==e.code&&(t.activeListStudent=e.data.map((function(e){return e.isVisible=!1,e})))})),this.activeSoundList=this.soundList,this.getNoClassStudent(e.type))},arrangeStart:function(){if(this.isSetSalary)this.$message.error("课酬确认后无法编辑");else if(this.chioseTab.length<1)this.$message.error("请至少选择一个班级");else{var e=this.chioseTab[0].type,t=this.chioseTab.every((function(t){return t.type==e}));if(!t)return this.$message.error("请选择相同类型的班级"),!1;this.setType(this.chioseTab[0].type),this.arrangeForm.courseType=this.courseTypeList[0].value,this.arrangeVisible=!0,"HIGH_ONLINE"==this.arrangeForm.courseType?this.arrangeForm.teachMode="ONLINE":this.arrangeForm.teachMode="OFFLINE",this.arrangeForm.classNum=this.chioseTab.length}},selectionTable:function(e){this.chioseTab=e,this.arrangeForm.classNum=e.length},arrangeFormSubmit:function(){var e=this;this.weekList.length<0||!this.weekList[0].dayOfWeek?this.$message.error("请设置排课周期"):this.arrangeForm.courseNum>this.maxMun||this.arrangeForm.courseNum<1?this.$message.error("排课数量必须大于1或小于".concat(this.maxMun)):this.$refs["arrangeForm"].validate((function(t){if(t){var s=e.arrangeForm.courseTime,a=e.arrangeForm.courseNum,i=e.weekList,r=e.arrangeForm.courseType,n=e.arrangeForm.teachMode;e.classCardList=[],e.workOut(s,a,i,r,n)}}))},workOut:function(e,t,s,a,i){var r=this,n=s.every((function(e){return e.dayOfWeek&&e.startClassTime&&e.endClassTime}));if(n){while(t&&t>0){for(var o in s){var l=new Date(e.getTime()),u=void 0;u=s[o].dayOfWeek-e.getDay()>=0?s[o].dayOfWeek-e.getDay():s[o].dayOfWeek-e.getDay()+7;var p=this.getThinkDate(e,u),d=this.getThinkDate(l,u);if(!this.arrangeForm.checked||-1==this.holidayList.indexOf(d)){var m=s[o].startClassTime,h=s[o].endClassTime;for(var f in this.chioseTab)this.classCardList.push({classDate:p,classGroupId:this.chioseTab[f].id,startClassTimeStr:m,endClassTimeStr:h,type:a,weekNum:s[o].dayOfWeek,teachMode:i,option:1});if(t--,0==t)break}}e.setDate(e.getDate()+7)}Object(c["Sc"])({musicGroupID:this.teamid,courseSchedules:this.classCardList}).then((function(e){200==e.code&&(r.$message.success("恭喜您排课成功"),r.classCardList=[],r.arrangeVisible=!1,r.getList())})).catch((function(e){console.log("排课来了"),r.classCardList=[],r.resetTime()}))}else this.$message.error("请保证循环周期信息完整")},getThinkDate:function(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=new Date(e.getTime());a.setDate(a.getDate()+parseInt(t));var i=a.getFullYear(),r=a.getMonth()+1,n="";n=r<10?"0"+r:r+"";var o=a.getDate(),c="";return c=o<10?"0"+o:o+"",2==s?n+c:i+"-"+n+"-"+c},resetTime:function(){this.arrangeForm.courseTime=null,this.weekList=[{week:"",startTime:"",endTime:"",id:(new Date).getTime()}]},chioseHightype:function(e){this.changeMemo([]),"HIGH_ONLINE"==e&&(this.newClassForm.teaching=[]),this.newClassForm.subjectId="",this.$set(this.newClassForm,"subjectIdList",[]),this.$set(this.newClassForm,"memo",[])},lookDeatil:function(e){var t=this;console.log(e),this.lookDeatilVisible=!0,this.activeClass=e.id,this.activeType=e.type,Object(l["g"])({classGroupId:this.activeClass}).then((function(e){200==e.code&&(t.classList=e.data)}))},addstudentBtn:function(e){var t=this;this.activeClass=e.id;var s=e.type;Object(c["sb"])({musicGroupId:this.teamid,type:s}).then((function(e){200==e.code&&(t.studentList=e.data,t.addStudentVisible=!0)}))},selectStudent:function(e){this.activeStudentList=e},addStudnt:function(){var e=this,t=this.activeClass,s=this.activeStudentList.map((function(e){return e.userId})).join(",");Object(l["b"])({userIdsStr:s,classGroupId:t}).then((function(t){200==t.code&&(e.$message.success("添加成功"),e.activeStudentList=[],e.addStudentVisible=!1,e.$refs.studentList.clearSelection(),e.getList())}))},changeMemo:function(e){},checkSubject:function(e){}},computed:{},filters:{getBishopName:function(e){var t="";if(e&&e.length>0)for(var s in e)"BISHOP"==e[s].teacherRole&&(t=e[s].userName);return t},getTeachingNum:function(e){var t=0;if(e&&e.length>0)for(var s in e)"TEACHING"==e[s].teacherRole&&t++;return t}},watch:{"newClassForm.type":function(){"HIGH_ONLINE"===this.newClassForm.type&&this.$set(this.newClassForm,"expectStudentNum",6)},newClassVisible:function(e){e||(this.newClassForm={className:null,type:null,subjectIdList:[],subjectId:"",expectStudentNum:null,bishop:null,teaching:null,memo:[]},this.resetClassFrom())},studentVisible:function(e){e||(this.newClassVisible=!1,this.activeListStudent=[])},infoVisible:function(e){e||(this.teacherForm={isAdd:"onlyUpdateTeacher",coreTeacher:"",assistant:[],courseType:"",courseTime:"",checked:!0,courseNum:"",mixClassGroupId:""},this.$refs["teacherForm"].resetFields())},arrangeVisible:function(e){e||(this.arrangeForm={courseNum:null,classNum:null,courseType:null,courseTime:null,teachMode:null,checked:!0},this.$refs["arrangeForm"].resetFields(),this.weekList=[{week:"",startTime:"",endTime:"",id:(new Date).getTime()}])}}},d=p,m=(s("472b"),s("2877")),h=Object(m["a"])(d,a,i,!1,null,"8888a26a",null);t["a"]=h.exports},2666:function(e,t,s){"use strict";s("1a3f")},"2a71":function(e,t,s){},"2e3a":function(e,t,s){},3004:function(e,t,s){},3078:function(e,t,s){"use strict";s.d(t,"e",(function(){return i})),s.d(t,"a",(function(){return r})),s.d(t,"b",(function(){return n})),s.d(t,"c",(function(){return o})),s.d(t,"d",(function(){return c})),s.d(t,"f",(function(){return l})),s.d(t,"g",(function(){return u})),s.d(t,"h",(function(){return p}));var a=s("829b"),i=function(e){return Object(a["a"])({url:"/api-web/studentRegistration/getMusicGroupStuReBack",params:e,method:"get"})},r=function(e){return Object(a["a"])({url:"/api-web/musicGroup/addMusicGroupRegs",data:e,method:"post",requestType:"json"})},n=function(e){return Object(a["a"])({url:"/api-web/studentRegistration/batchDel",data:e,method:"post",requestType:"json"})},o=function(e){return Object(a["a"])({url:"/api-web/musicGroup/closeMusicGroup",data:e,method:"post",requestType:"json"})},c=function(e){return Object(a["a"])({url:"/api-web/musicGroup/finishPreApply",data:e,method:"post",requestType:"form"})},l=function(e){return Object(a["a"])({url:"/api-web/studentRegistration/queryPreApplyList",params:e,method:"get",requestType:"json"})},u=function(e){return Object(a["a"])({url:"/api-web/studentRegistration/queryPreApplySubjectList",params:e,method:"get",requestType:"json"})},p=function(e){return Object(a["a"])({url:"/api-web/musicGroup/sendParentMeetingNotice",data:e,method:"post",requestType:"form"})}},"31f0":function(e,t,s){e.exports=s.p+"static/img/yunTrain_bg.ff0ffe89.png"},"346a":function(e,t,s){"use strict";s("67c9")},3683:function(e,t,s){"use strict";s("2a71")},3762:function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.musicGroupPaymentCalenders[0]&&"ADD_STUDENT"===e.musicGroupPaymentCalenders[0].paymentType?s("el-alert",{staticClass:"alert",attrs:{title:"学员信息",closable:!1,type:"info"}}):e._e(),e._v(" "),e.musicGroupPaymentCalenders[0]&&"ADD_STUDENT"===e.musicGroupPaymentCalenders[0].paymentType?s("descriptions",{attrs:{column:2}},[s("descriptions-item",{attrs:{label:"学员姓名:"}},[e._v(e._s(e.username))]),e._v(" "),s("descriptions-item",{attrs:{label:"手机号码:"}},[e._v(e._s(e.phone))])],1):e._e(),e._v(" "),s("el-alert",{staticClass:"alert",attrs:{title:"申请信息",closable:!1,type:"info"}}),e._v(" "),s("descriptions",{attrs:{column:2}},[s("descriptions-item",{attrs:{label:"分部名称:"}},[e._v(e._s(e.auditDto.organName))]),e._v(" "),s("descriptions-item",{attrs:{label:"乐团名称:"}},[s("overflow-text",{attrs:{text:e.auditDto.musicGroupName,width:"100%"}})],1),e._v(" "),s("descriptions-item",{attrs:{label:"乐团编号:"}},[s("copy-text",[e._v(e._s(e.auditDto.musicGroupId))])],1),e._v(" "),s("descriptions-item",{attrs:{label:"申请时间:"}},[e._v(e._s(e.auditDto.createTime))]),e._v(" "),s("descriptions-item",{attrs:{label:"申请类型:"}},[e._v(e._s(e._f("userPaymentTypeFormat")(e.auditDto.paymentType)))]),e._v(" "),s("descriptions-item",{attrs:{label:"订单类型:"}},[e._v(e._s(e._f("payUserTypeFormat")(e.auditDto.payUserType)))]),e._v(" "),s("descriptions-item",{attrs:{span:3,label:"备注:"}},[s("span",{staticStyle:{display:"inline-block","max-width":"100%"}},[s("overflow-text",{attrs:{text:e.musicGroupPaymentCalenders[0]?e.musicGroupPaymentCalenders[0].memo:null}})],1)])],1),e._v(" "),s("el-alert",{staticClass:"alert",attrs:{title:"课程信息",closable:!1,type:"info"}}),e._v(" "),e.musicGroupPaymentCalenderCourseSettingName?s("descriptions",{attrs:{column:3}},[s("descriptions-item",{attrs:{span:2,label:"收费标准:"}},[e._v(e._s(e.musicGroupPaymentCalenderCourseSettingName))])],1):e._e(),e._v(" "),e.musicGroupPaymentCalenderCourseSettings.length?s("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{data:e.musicGroupPaymentCalenderCourseSettings,stripe:""}},[s("el-table-column",{attrs:{prop:"courseType",label:"课程类型",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("courseTypeFormat")(t.row.courseType))+"\n ")]}}],null,!1,3837642631)}),e._v(" "),s("el-table-column",{attrs:{prop:"isStudentOptional",label:"是否可选",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isStudentOptional?"是":"否"))]}}],null,!1,2601841068)}),e._v(" "),s("el-table-column",{attrs:{prop:"courseTotalMinuties",label:"课程总时长(分钟)"}}),e._v(" "),s("el-table-column",{attrs:{prop:"courseCurrentPrice",label:"现价(元)"}},[s("template",{slot:"header"},[s("p",{staticStyle:{position:"relative"}},[e._v("\n 现价(元)\n "),s("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[s("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),s("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)])],2),e._v(" "),s("el-table-column",{attrs:{prop:"courseOriginalPrice",label:"原价(元)"}})],1):e._e(),e._v(" "),e.musicGroupPaymentCalenderStudentDetails.length?s("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{data:e.musicGroupPaymentCalenderStudentDetails,stripe:""}},[s("el-table-column",{attrs:{prop:"username",label:"学员姓名"}}),e._v(" "),s("el-table-column",{attrs:{prop:"phone",label:"手机号"}}),e._v(" "),s("el-table-column",{attrs:{prop:"courseType",label:"课程类型",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("courseTypeFormat")(t.row.courseType))+"\n ")]}}],null,!1,3837642631)}),e._v(" "),s("el-table-column",{attrs:{prop:"isStudentOptional",label:"是否可选",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isStudentOptional?"是":"否"))]}}],null,!1,2601841068)}),e._v(" "),s("el-table-column",{attrs:{prop:"courseTime",label:"课程总时长(分钟)"}}),e._v(" "),s("el-table-column",{attrs:{prop:"courseCurrentPrice",label:"现价(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("moneyFormat")(t.row.courseCurrentPrice))+"\n ")])]}}],null,!1,3280898274)},[s("template",{slot:"header"},[s("p",{staticStyle:{position:"relative"}},[e._v("\n 现价(元)\n "),s("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[s("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),s("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)])],2),e._v(" "),s("el-table-column",{attrs:{prop:"courseOriginalPrice",label:"原价(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("moneyFormat")(e.musicGroupPaymentCalenders[0]&&"SPAN_GROUP_CLASS_ADJUST"===e.musicGroupPaymentCalenders[0].paymentType?t.row.masterSubCoursePrice:t.row.courseOriginalPrice))+"\n ")])]}}],null,!1,850581136)})],1):e._e(),e._v(" "),s("el-alert",{staticClass:"alert",attrs:{title:"缴费周期",closable:!1,type:"info"}}),e._v(" "),e._l(e.musicGroupPaymentCalenders,(function(t){return s("descriptions",{key:t.id,attrs:{column:2}},[s("descriptions-item",{attrs:{label:"缴费金额:"}},[e._v(e._s(e.numeral(t.paymentAmount).format("0,0")))]),e._v(" "),s("descriptions-item",{attrs:{label:"缴费方式:"}},[e._v(e._s(e._f("paymentPatternTypeFormat")(t.paymentPattern)))]),e._v(" "),"SCHOOL"!==t.payUserType?s("descriptions-item",{attrs:{span:3,label:"缴费日期:"}},[e._v(e._s(e._f("dayjsFormat")(t.startPaymentDate))+" -\n "+e._s(e._f("dayjsFormat")(t.deadlinePaymentDate)))]):e._e(),e._v(" "),s("descriptions-item",{attrs:{span:3,label:"缴费有效期:"}},[e._v(e._s(e._f("dayjsFormat")(t.paymentValidStartDate))+" -\n "+e._s(e._f("dayjsFormat")(t.paymentValidEndDate)))])],1)})),e._v(" "),s("el-dialog",{attrs:{visible:e.payVisible,"close-on-click-modal":!1,"append-to-body":"",width:"600px",title:"查看学员"},on:{"update:visible":function(t){e.payVisible=t}}},[s("el-table",{attrs:{data:e.simpleUserDto}},[s("el-table-column",{attrs:{prop:"userId",label:"用户ID",width:"180"}}),e._v(" "),s("el-table-column",{attrs:{prop:"userName",label:"姓名",width:"180"}}),e._v(" "),s("el-table-column",{attrs:{prop:"subjectNames",label:"声部",width:"180"}})],1),e._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.payVisible=!1}}},[e._v("关 闭")])],1)],1)],2)},i=[],r=(s("96cf"),s("1da1")),n=(s("7f7f"),s("5530")),o=s("2b0e"),c=s("6612"),l=s.n(c),u=s("1672"),p=s("ddec"),d=s("837c");o["default"].use(p["a"]);var m={auditDto:{},musicGroupPaymentCalenderCourseSettings:[],musicGroupPaymentCalenderStudentDetails:[],simpleUserDto:[],musicGroupPaymentCalenders:[],studentNum:0,phone:"",username:""},h={components:{Item:d["a"]},props:["detail"],data:function(){return Object(n["a"])({payVisible:!1},m)},computed:{musicGroupPaymentCalenderCourseSettingName:function(){var e=this.musicGroupPaymentCalenderCourseSettings[0];return e?e.name:""}},mounted:function(){this.init()},methods:{numeral:l.a,init:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(u["g"])({batchNo:this.detail.batchNo,musicGroupId:this.detail.musicGroupId});case 3:for(s in t=e.sent,m)m.hasOwnProperty(s)&&(this[s]=t.data[s]);e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()}},f=h,y=(s("3683"),s("2877")),v=Object(y["a"])(f,a,i,!1,null,"c199f174",null);t["a"]=v.exports},"3c3d":function(e,t,s){},4e3:function(e,t,s){"use strict";s("3004")},"44d1":function(e,t,s){},"472b":function(e,t,s){"use strict";s("6bfc")},5137:function(e,t,s){"use strict";s.d(t,"n",(function(){return o})),s.d(t,"e",(function(){return c})),s.d(t,"d",(function(){return l})),s.d(t,"f",(function(){return u})),s.d(t,"t",(function(){return p})),s.d(t,"o",(function(){return d})),s.d(t,"s",(function(){return m})),s.d(t,"m",(function(){return h})),s.d(t,"r",(function(){return f})),s.d(t,"j",(function(){return y})),s.d(t,"l",(function(){return v})),s.d(t,"a",(function(){return b})),s.d(t,"g",(function(){return g})),s.d(t,"b",(function(){return _})),s.d(t,"q",(function(){return S})),s.d(t,"i",(function(){return w})),s.d(t,"v",(function(){return k})),s.d(t,"u",(function(){return x})),s.d(t,"k",(function(){return C})),s.d(t,"p",(function(){return T})),s.d(t,"w",(function(){return F})),s.d(t,"c",(function(){return P})),s.d(t,"x",(function(){return O})),s.d(t,"y",(function(){return I})),s.d(t,"h",(function(){return j}));var a=s("b775"),i=s("4328"),r=s.n(i),n="/api-web";function o(e){return Object(a["a"])({url:n+"/studentManage/queryStudentList",method:"get",params:e})}function c(e){return Object(a["a"])({url:n+"/studentManage/findStudentVipGroupClass",method:"get",params:e})}function l(e){return Object(a["a"])({url:n+"/studentManage/findStudentMusicGroups",method:"get",params:e})}function u(e){return Object(a["a"])({url:n+"/studentManage/findStudentVipGroups",method:"get",params:e})}function p(e){return Object(a["a"])({url:n+"/studentWithdraw/queryPage",method:"get",params:e})}function d(e){return Object(a["a"])({url:n+"/studentManage/queryStudentPayment",method:"get",params:e})}function m(e){return Object(a["a"])({url:n+"/order/queryPage",method:"get",params:e})}function h(e){return Object(a["a"])({url:n+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:e})}function f(e){return Object(a["a"])({url:n+"/studentRegistration/batchUpdateSubject",method:"post",data:r.a.stringify(e)})}function y(e){return Object(a["a"])({url:n+"/studentRegistration/queryFeeDetail",method:"get",params:e})}function v(e){return Object(a["a"])({url:n+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:e})}function b(e){return Object(a["a"])({url:n+"/studentRegistration/insertStudent",method:"POST",data:e})}function g(e){return Object(a["a"])({url:n+"/classGroupStudent/findAllStudent",method:"POST",data:r.a.stringify(e)})}function _(e){return Object(a["a"])({url:n+"/classGroupStudent/addStudents",method:"POST",data:r.a.stringify(e)})}function S(e){return Object(a["a"])({url:n+"/classGroupStudent/del",method:"POST",data:r.a.stringify(e)})}function w(e){return Object(a["a"])({url:n+"/studentManage/queryStudentClassGroup",method:"get",params:e})}function k(e){return Object(a["a"])({url:n+"/userCashAccount/updateCourseBalance",method:"post",data:r.a.stringify(e)})}function x(e){return Object(a["a"])({url:n+"/userCashAccount/updateBalance",method:"post",data:r.a.stringify(e)})}function C(e){return Object(a["a"])({url:n+"/studentManage/queryUserByPhone",method:"get",params:e})}function T(e){return Object(a["a"])({url:n+"/studentManage/register",method:"post",data:r.a.stringify(e)})}function F(e){return Object(a["a"])({url:n+"/studentManage/studentUpdate",method:"post",data:r.a.stringify(e)})}function P(e){return Object(a["a"])({url:n+"/coursesGroupController/findStudentCourseGroupsWithWeb",method:"get",params:e})}function O(e){return Object(a["a"])({url:n+"/userCashAccountDetail/queryPage",method:"get",params:e})}function I(e){return Object(a["a"])({url:n+"/userCoursesAccount/queryPage",method:"get",params:e})}function j(e){return Object(a["a"])({url:n+"/sysUserContracts/getLatest",method:"get",params:e})}},"5b65":function(e,t,s){"use strict";s("b4ed")},6193:function(e,t,s){"use strict";s("aa6f")},6243:function(e,t,s){},"62f6":function(e,t,s){"use strict";s("9112")},"67c9":function(e,t,s){},"6bfc":function(e,t,s){},"6ca4":function(e,t,s){"use strict";s("c477")},"6cc5":function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px"}},[s("el-form-item",{attrs:{label:"原乐器",prop:"name"}},[s("span",[e._v(e._s(e.originalMusicalGoods||"无"))])]),e._v(" "),s("el-form-item",{attrs:{label:"原教辅",prop:"name"}},[s("span",[e._v(e._s(e.originalAccessoriesGoods||"无"))])]),e._v(" "),s("el-form-item",{attrs:{label:"更改声部",prop:"subjectId",rules:[{required:!0,message:"请选择更改声部",trigger:"change"}]}},[e.changeInfo?s("span",[e._v(e._s(e.changeSubjectName))]):s("el-select",{staticStyle:{width:"100% !important"},attrs:{clearable:"",placeholder:"请选择声部"},on:{change:e.subjectChange},model:{value:e.form.subjectId,callback:function(t){e.$set(e.form,"subjectId",t)},expression:"form.subjectId"}},e._l(e.filterVoiceList,(function(e){return s("el-option",{key:e.subjectId,attrs:{label:e.subjectName,value:e.subjectId}})})),1)],1),e._v(" "),s("el-form-item",{attrs:{label:"更改乐器",prop:"musicalGoods",rules:[{required:!0,message:"请选择更改乐器",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.changeMusicalGoods?s("span",[e._v(e._s(e.changeInfo.changeMusicalGoods.name))]):e._e():s("el-select",{staticStyle:{width:"100% !important"},attrs:{clearable:"",placeholder:"请选择乐器"},on:{change:e.musicalGoodsChange},model:{value:e.form.musicalGoods,callback:function(t){e.$set(e.form,"musicalGoods",t)},expression:"form.musicalGoods"}},[s("el-option",{attrs:{label:"自备乐器",value:"OWNED"}}),e._v(" "),e._l(e.musicalGoods,(function(e){return s("el-option",{key:e.goodsIdList,attrs:{label:e.name,value:e.goodsIdList}})}))],2)],1),e._v(" "),e.changeInfo||e.form.musicalGoods&&e.musicalGoodsById[e.form.musicalGoods]&&e.musicalGoodsById[e.form.musicalGoods].kitGroupPurchaseTypeJsonParse?s("el-form-item",{attrs:{label:"乐器提供方式",prop:"type",rules:[{required:!0,message:"请选择乐器提供方式",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.kitGroupPurchaseType?s("span",[e._v(e._s(e.kitGroupPurchaseTypeFormater[e.changeInfo.kitGroupPurchaseType]))]):e._e():s("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.musicalGoodsById[e.form.musicalGoods].kitGroupPurchaseTypeJsonParse,(function(t,a){return s("el-radio",{key:a,attrs:{label:a}},[e._v(e._s(e.kitGroupPurchaseTypeFormater[a]+" "+((e.musicalGoodsById[e.form.musicalGoods][e.typeAndprice[a]]||0)>0?e.musicalGoodsById[e.form.musicalGoods][e.typeAndprice[a]]+"元":"免费")))])})),1)],1):e._e(),e._v(" "),e.activeAccessories.length||e.groupList.length||e.changeInfo?s("el-form-item",{attrs:{label:"更换教辅",prop:"name"}},[e.changeInfo?e.changeInfo?s("span",[e._v(e._s(e.changeAccessoriesGoods))]):e._e():s("accessories",{attrs:{list:e.activeAccessories,groupList:e.groupList},on:{"update:list":function(t){e.activeAccessories=t},"update:groupList":function(t){e.groupList=t},"update:group-list":function(t){e.groupList=t},change:e.accessoriesChange}})],1):e._e(),e._v(" "),e.changeInfo?s("el-form-item",{attrs:{label:"查看链接",prop:"name"}},[s("div",{staticClass:"viewlink"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.copyLink,placement:"top"}},[s("span",{staticClass:"link"},[e._v(e._s(e.copyLink))])]),e._v(" "),s("el-popover",{attrs:{placement:"top",width:"220",trigger:"click"}},[s("div",{staticClass:"left-code"},[s("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),e._v(" "),e.copyLink?s("p",{staticClass:"code-url"},[e._v("\n "+e._s(e.copyLink)+"\n "),s("el-link",{staticClass:"linkbtn",attrs:{type:"primary"},on:{click:function(t){return e.copyUrl(e.copyLink)}}},[e._v("复制")])],1):e._e()]),e._v(" "),s("el-button",{staticClass:"btn",attrs:{slot:"reference",type:"primary"},on:{click:e.onCreateQRCode},slot:"reference"},[e._v("二维码")])],1)],1)]):e._e(),e._v(" "),s("el-form-item",{attrs:{label:"支付差价",prop:"name"}},[e.changeInfo?s("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.editSpread))+"元")]):s("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.spread))+"元")])])],1),e._v(" "),s("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.$listeners.close}},[e._v("取 消")]),e._v(" "),e.changeInfo&&1!==e.changeInfo.status?s("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/cancel",expression:"'subjectChange/cancel'"}],attrs:{type:"danger"},on:{click:e.cancel}},[e._v("取消订单")]):e._e(),e._v(" "),e.changeInfo?e._e():s("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/add",expression:"'subjectChange/add'"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确 定")])],1)],1)},i=[],r=(s("96cf"),s("1da1")),n=(s("7f7f"),s("5530")),o=(s("ac6a"),s("456d"),s("b85c")),c=s("d044"),l=s.n(c),u=s("f904"),p=s.n(u),d=(s("6612"),s("1cc7")),m=s("61f7"),h=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]),e._v(" "),e.groupOptions.length?s("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.groupOptions,(function(t){return s("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[s("strong",[s("span",[e._v(e._s(t.name))]),e._v(" "),s("span",[e._v(e._s(e._f("moneyFormat")(t.price))+"元")])]),e._v(" "),e._l(t.subs,(function(t){return s("p",{key:t},[e._v(e._s(t))])}))],2)})),1):s("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.list,(function(t){return s("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[s("strong",[s("span",[e._v(e._s(t.name))]),e._v(" "),t.groupPurchasePrice>0?s("span",[e._v(e._s(e._f("moneyFormat")(t.groupPurchasePrice))+" 元")]):s("span",[e._v("免费")])])])})),1)],1)},f=[],y=s("2909"),v={props:["list","groupList"],data:function(){return{type:"list",checkAll:!1,checkeds:[],accessoriesByid:{},groupListById:{},selectMoney:0,isIndeterminate:!1}},watch:{checkeds:function(e){"list"===this.type?this.accessoriesByid:this.groupListById;var t=0;if("list"===this.type){var s,a=Object(o["a"])(e);try{for(a.s();!(s=a.n()).done;){var i=s.value,r=this.accessoriesByid[i];r&&(t+=parseFloat(r.groupPurchasePrice))}}catch(b){a.e(b)}finally{a.f()}}else{var n,c=Object(o["a"])(e);try{for(c.s();!(n=c.n()).done;){var l=n.value,u=this.groupListById[l];u&&(t+=parseFloat(u.price))}}catch(b){c.e(b)}finally{c.f()}}var p=[];if("list"!==this.type){var d,m=Object(o["a"])(e);try{for(m.s();!(d=m.n()).done;){var h=d.value,f=this.groupListById[h];if(f){var v=this.groupListById[h].goodsList;p=p.concat((v||[]).map((function(e){return e.id})))}}}catch(b){m.e(b)}finally{m.f()}}else p=Object(y["a"])(e);this.$listeners.change(p,t)}},mounted:function(){var e=this;this.$nextTick((function(){var t,s={},a=Object(o["a"])(e.list);try{for(a.s();!(t=a.n()).done;){var i=t.value;s[i.id]=i}}catch(u){a.e(u)}finally{a.f()}var r,n={},c=Object(o["a"])(e.groupList);try{for(c.s();!(r=c.n()).done;){var l=r.value;n[l.id]=l}}catch(u){c.e(u)}finally{c.f()}e.accessoriesByid=s,e.groupListById=n}))},computed:{groupOptions:function(){var e=this.groupList.map((function(e){return{name:e.name,price:e.price,id:e.id,subs:e.childGoodsList?e.childGoodsList.map((function(e){return e.name})):[]}}));return e.length&&(this.type="group"),e}},methods:{handleCheckAllChange:function(e){var t="list"===this.type?this.list:this.groupOptions,s=t.map((function(e){return e.id}));this.checkeds=e?s:[],this.isIndeterminate=!1},optionChange:function(e){var t="list"===this.type?this.list:this.groupOptions,s=e.length;this.checkAll=s===t.length,this.isIndeterminate=s>0&&s=t.getTime():t.getTime()+864e5new Date(e.paymentExpireDate.replace(/-/g,"/")).getTime()}}},extendTime:function(e){this.isPay=e,this.extendForm.expireDate=e?this.paymentExpireDate:this.applyExpireDate,this.extendPaymentStatus=!0},onExtendPayment:function(e,t){var s=this;this.$refs[e].validate((function(e){e&&(t?Object(o["D"])({musicGroupId:s.teamid,expireDate:s.extendForm.expireDate}).then((function(e){200==e.code?(s.$message.success("延长缴费成功"),s.extendPaymentStatus=!1,Object(o["Lb"])({musicGroupId:s.teamid}).then((function(e){200==e.code&&(s.paymentExpireDate=e.data.musicGroup.paymentExpireDate)}))):s.$message.error(e.msg)})):Object(o["C"])({musicGroupId:s.teamid,expireDate:s.extendForm.expireDate}).then((function(e){200==e.code?(s.$message.success("延长报名成功"),s.extendPaymentStatus=!1,Object(o["Lb"])({musicGroupId:s.teamid}).then((function(e){200==e.code&&(s.applyExpireDate=e.data.musicGroup.applyExpireDate,s.setBase(e))}))):s.$message.error(e.msg)})))}))},onCreateQRCode:function(e){var t=this.teamid;if(this.codeStatus=!0,"payment"==e)this.codeTitle="学员报名链接",this.qrCodeUrl=Object(y["d"])()+"/#/login?musicGroupId="+t;else if("detail"==e){var s=this.$route.query.name;this.codeTitle="报名缴费详情",this.qrCodeUrl=Object(y["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s}else"rePayment"==e&&(this.codeTitle="学生报名链接(无乐器)",this.qrCodeUrl=Object(y["d"])()+"/#/login?musicGroupId="+t+"&instrument=1")},gotoStudentList:function(){this.$router.push({query:d()(this.$route.query,{tabrouter:7})})},setBase:function(e){this.topFrom.name=e.data.musicGroup.name,this.$emit("getName",this.topFrom.name),this.topFrom.time=e.data.musicGroup.applyExpireDate,this.topFrom.type=e.data.musicGroup.chargeTypeId,this.topFrom.startClass=e.data.musicGroup.enrollClasses.split(","),this.topFrom.paymentPattern=e.data.musicGroup.paymentPattern,this.topFrom.paymentValidStartDate=e.data.musicGroup.paymentValidStartDate,this.topFrom.paymentValidEndDate=e.data.musicGroup.paymentValidEndDate,this.topFrom.section=e.data.musicGroup.organId,this.topFrom.courseViewType=e.data.musicGroup.courseViewType,this.topFrom.school=e.data.musicGroup.cooperationOrganId,this.topFrom.teacher=e.data.musicGroup.educationalTeacherId,this.topFrom.boss=e.data.musicGroup.teamTeacherId,this.topFrom.address=e.data.musicGroup.schoolId,this.topFrom.salary=e.data.musicGroup.settlementType,this.topFrom.head=e.data.musicGroup.directorUserId?e.data.musicGroup.directorUserId:null,this.topFrom.isClass=e.data.musicGroup.isClassroomLessons,this.topFrom.startTime=e.data.musicGroup.expectStartGroupDate,this.topFrom.ownershipType=e.data.musicGroup.ownershipType,this.topFrom.repairUserId=e.data.musicGroup.repairUserId?e.data.musicGroup.repairUserId:null,this.topFrom.feeType=e.data.musicGroup.feeType?e.data.musicGroup.feeType:null,this.paymentExpireDate=e.data.musicGroup.paymentExpireDate,this.applyExpireDate=e.data.musicGroup.applyExpireDate,localStorage.setItem("".concat(this.teamid,"base"),JSON.stringify(this.topFrom))},changeType:function(e){e&&localStorage.removeItem("".concat(this.teamid,"sound"))}},computed:{startClassString:function(){var e=this;return this.topFrom.startClass.map((function(t){for(var s in e.classStatus)if(t==e.classStatus[s].value)return e.classStatus[s].label})).join(",")},showNext:function(){var e=this.teamStatus;return"newTeam"==e||"teamDraft"==e||"teamAudit"==e||"feeAudit"==e}}},g=b,_=(s("6193"),s("5b65"),s("2877")),S=Object(_["a"])(g,a,i,!1,null,"75e6b3ad",null);t["a"]=S.exports},"85c2":function(e,t,s){},"86e8":function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div")},i=[],r={},n=r,o=s("2877"),c=Object(o["a"])(n,a,i,!1,null,"21abf8f1",null);t["a"]=c.exports},8790:function(e,t,s){"use strict";s("7994")},"879d":function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"merge-music"},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.visible=!0}}},[e._v("选择乐团")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.studentsVisible=!0}}},[e._v("学员列表")]),e._v(" "),e.isEmpty?s("empty",{attrs:{desc:"暂未选择乐团"}}):s("el-collapse",{staticClass:"items",on:{change:e.changeActive},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(e.items,(function(t,a){return s("el-collapse-item",{key:a,staticClass:"item",attrs:{name:a},scopedSlots:e._u([{key:"title",fn:function(){return[s("div",{staticClass:"header"},[s("span",{staticClass:"title"},[s("span",[e._v(e._s(t.name))])]),e._v(" "),s("span",{staticStyle:{width:"20%"}},[s("span",[e._v("学员人数:已选"+e._s(t.num)+"人")]),e._v(" "),s("i",{staticClass:"icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.remove(a)}}})])])]},proxy:!0}],null,!0)},[e._v(" "),s("selectItem",{attrs:{active:e.active,id:t.id},on:{selected:e.selected}})],1)})),1),e._v(" "),s("div",{staticClass:"btns"},[s("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("关闭")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.merge}},[e._v("确认合并")])],1),e._v(" "),s("el-dialog",{attrs:{title:"选择乐团",visible:e.visible,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.visible=t}}},[s("selectMusic",{attrs:{visible:e.visible,organId:e.organId},on:{close:function(t){e.visible=!1},submited:e.submited}})],1),e._v(" "),s("el-dialog",{attrs:{title:"查看已合并学生",visible:e.studentsVisible,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.studentsVisible=t}}},[e.studentsVisible?s("mergedStudents",{on:{close:function(t){e.studentsVisible=!1},submited:e.submited}}):e._e()],1)],1)},i=[],r=(s("96cf"),s("1da1")),n=s("5530"),o=s("b85c"),c=(s("ac6a"),s("456d"),s("160b")),l=s("3078"),u=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"container",staticStyle:{width:"100%"}},[s("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[s("el-form-item",{attrs:{prop:"musicGroupName"}},[s("el-input",{attrs:{clearable:"",placeholder:"乐团名称"},model:{value:e.search.musicGroupName,callback:function(t){e.$set(e.search,"musicGroupName","string"===typeof t?t.trim():t)},expression:"search.musicGroupName"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")])],1)],1),e._v(" "),s("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableData},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",selectable:e.checkSelectable,width:"50"}}),e._v(" "),s("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"name",width:"200px",align:"center",label:"乐团名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"cooperationOrganName","max-width":"274",label:"合作单位"}})],1),e._v(" "),s("pagination",{staticStyle:{padding:"10px"},attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size,layout:"prev, pager, next"},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.FetchList}}),e._v(" "),s("div",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.submited}},[e._v("确认")])],1)],1)},p=[],d=(s("386d"),s("7f7f"),s("333d")),m={props:["visible","organId"],components:{pagination:d["a"]},data:function(){return{tableData:[],passed:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},search:{musicGroupName:"",hastimer:""}}},mounted:function(){this.FetchList()},watch:{visible:function(){this.$refs.table.clearSelection(),this.passed=[]}},methods:{submit:function(e){this.rules.page=1,e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.FetchList()},reset:function(e){this.rules.page=1,e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={musicGroupName:"",hastimer:""},this.FetchList()},checkSelectable:function(e){return!0},handleSelectionChange:function(e){var t=[];for(var s in e){var a={};a.id=e[s].id,a.name=e[s].name,t.push(a)}this.passed=t},FetchList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c["b"])(Object(n["a"])({rows:this.rules.limit,page:this.rules.page,organId:this.organId},this.search));case 3:t=e.sent,this.tableData=t.data.rows.filter((function(e){return e.id!==s.$route.query.id})),this.rules.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),submited:function(){this.$emit("close"),this.$emit("submited",this.passed)}}},h=m,f=(s("1aa8"),s("2877")),y=Object(f["a"])(h,u,p,!1,null,"64b6b690",null),v=y.exports,b=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[s("el-form-item",{attrs:{prop:"keyword"}},[s("el-input",{attrs:{clearable:"",placeholder:"学生姓名(手机、编号)"},model:{value:e.search.keyword,callback:function(t){e.$set(e.search,"keyword","string"===typeof t?t.trim():t)},expression:"search.keyword"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")])],1)],1),e._v(" "),s("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.filterlist},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),s("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"name",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"parentsName",align:"center",label:"家长姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.parentsName))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"parentsPhone",align:"center",label:"家长电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.parentsPhone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.subjectName))])]}}])})],1)],1)},g=[],_=(s("6762"),s("2fdb"),s("1672")),S={props:["id","active","name"],data:function(){return{list:[],filterlist:[],passed:[],search:{keyword:"",hastimer:""}}},watch:{active:{immediate:!0,handler:function(){this.active.includes(this.id)&&!this.list.length&&this.FetchDetail()}}},methods:{filter:function(){var e=this.search,t=e.keyword;e.hastimer;this.filterlist=this.list.filter((function(e){var s=!t||(""+e.userId).indexOf(t)>-1||(""+e.parentsName).indexOf(t)>-1||(""+e.parentsPhone).indexOf(t)>-1||(""+e.name).indexOf(t)>-1;return s}))},submit:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.filter()},reset:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={keyword:"",hastimer:""},this.filter()},handleSelectionChange:function(e){var t=[];for(var s in e)t.push(e[s].id);this.passed=t,this.$emit("selected",this.passed,this.id)},FetchDetail:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(_["a"])({musicGroupId:this.id,studentStatus:"NORMAL",paymentStatus:1});case 3:t=e.sent,this.list=t.data,this.filterlist=t.data,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},w=S,k=Object(f["a"])(w,b,g,!1,null,null,null),x=k.exports,C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[s("el-form-item",{attrs:{prop:"keyword"}},[s("el-input",{attrs:{clearable:"",placeholder:"学生姓名(手机、编号)"},model:{value:e.search.keyword,callback:function(t){e.$set(e.search,"keyword","string"===typeof t?t.trim():t)},expression:"search.keyword"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")]),e._v(" "),s("el-button",{attrs:{type:"primary",disabled:!e.passed.length},on:{click:e.removeStuden}},[e._v("删除学员")])],1)],1),e._v(" "),s("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.filterlist},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),s("el-table-column",{attrs:{prop:"realName",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.realName))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"phone",align:"center",label:"手机号码"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.subjectName))])]}}])})],1)],1)},T=[],F=s("1cc7"),P={data:function(){return{id:this.$route.query.id,list:[],filterlist:[],passed:[],search:{keyword:"",hastimer:""}}},mounted:function(){this.FetchDetail()},methods:{filter:function(){var e=this.search,t=e.keyword;e.hastimer;this.filterlist=this.list.filter((function(e){var s=!t||(""+e.userId).indexOf(t)>-1||(""+e.phone).indexOf(t)>-1||(""+e.realName).indexOf(t)>-1;return s}))},submit:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.filter()},reset:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={keyword:"",hastimer:""},this.filter()},handleSelectionChange:function(e){var t=[];for(var s in e)t.push(e[s].userId);this.passed=t},removeStuden:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$confirm("是否确认删除已选择学员?","提示",{type:"warning"});case 3:return e.next=5,Object(l["b"])({musicGroupId:this.id,userIds:this.passed});case 5:this.$message.success("删除成功"),this.FetchDetail(),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),FetchDetail:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(F["Pb"])({musicGroupId:this.id});case 3:t=e.sent,this.list=t.data.rows,this.filterlist=t.data.rows,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},O=P,I=Object(f["a"])(O,C,T,!1,null,null,null),j=I.exports,L={props:["organId"],components:{selectMusic:v,selectItem:x,mergedStudents:j},data:function(){return{active:"",visible:!1,studentsVisible:!1,tableData:[],passed:[],items:{},studentsByMusicId:{}}},computed:{isEmpty:function(){return 0===Object.keys(this.items).length}},mounted:function(){},methods:{changeActive:function(e){this.active=e},submited:function(e){var t,s={},a=Object(o["a"])(e);try{for(a.s();!(t=a.n()).done;){var i=t.value;s[i.id]?s[i.id]=Object(n["a"])(Object(n["a"])({},s[i.id]),i):s[i.id]=Object(n["a"])(Object(n["a"])({},i),{},{num:0})}}catch(r){a.e(r)}finally{a.f()}this.items=s},remove:function(e){var t=Object(n["a"])({},this.items),s=Object(n["a"])({},this.studentsByMusicId);delete t[e],delete s[e],this.items=Object(n["a"])({},t),this.studentsByMusicId=Object(n["a"])({},s)},selected:function(e,t){var s=this.studentsByMusicId;s[t]||(s[t]=[]),s[t]=e,this.items[t].num=e.length,this.items=this.items,this.studentsByMusicId=s},merge:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(s in t=[],this.studentsByMusicId)Object.hasOwnProperty.call(this.studentsByMusicId,s)&&(a=this.studentsByMusicId[s],t=t.concat(a));if(t.length){e.next=5;break}return this.$message.error("请至少选择一个需要合并的学生"),e.abrupt("return");case 5:return e.prev=5,e.next=8,this.$confirm("是否确认合并乐团?","提示",{type:"warning"});case 8:return e.next=10,Object(l["a"])({musicGroupId:this.$route.query.id,registerIds:t});case 10:this.$message.success("合并成功"),this.$emit("close"),this.$emit("submited"),e.next=17;break;case 15:e.prev=15,e.t0=e["catch"](5);case 17:case"end":return e.stop()}}),e,this,[[5,15]])})));function t(){return e.apply(this,arguments)}return t}(),handleSelectionChange:function(e){var t=[];for(var s in e)t.push(e[s].id);this.passed=t},FetchList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c["b"])({organId:this.organId});case 3:t=e.sent,this.tableData=t.data.rows,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()}},D=L,G=(s("f089"),Object(f["a"])(D,a,i,!1,null,"4c59032c",null));t["a"]=G.exports},"8ea54":function(e,t,s){},"8f19":function(e,t,s){"use strict";s("7140")},9112:function(e,t,s){},9214:function(e,t,s){e.exports=s.p+"static/img/yunTrain_small_bg.b5242407.png"},"940a":function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",["SPAN_GROUP_CLASS_ADJUST"!==e.paymentTypeString?s("el-alert",{staticClass:"alert",attrs:{title:"课程信息设置",closable:!1,type:"info"}}):e._e(),e._v(" "),"SPAN_GROUP_CLASS_ADJUST"!==e.paymentTypeString?s("userBaseinfo",{ref:"base",attrs:{form:e.form,isCommon:e.isCommon,isUserType:e.isUserType,typeList:e.typeList,charges:e.charges,rowDetail:e.rowDetail,chargeTypeName:e.chargeTypeName,paymentType:e.paymentType},on:{"update:form":function(t){e.form=t},getCharges:e.getCharges,changeActive:e.changeActive}}):e._e(),e._v(" "),"SPAN_GROUP_CLASS_ADJUST"===e.paymentTypeString?[s("el-alert",{staticClass:"alert",attrs:{title:"加课信息设置",closable:!1,type:"info"}}),e._v(" "),s("extraClassUser",{ref:"eclass",attrs:{form:e.eclassuser,isUserType:e.isUserType,courseUnitPriceSettingsByType:e.organizationCourseUnitPriceSettingsByType,clearable:!0},on:{"update:form":function(t){e.eclassuser=t},priceChange:e.priceChange,moneyChange:e.syncAllMoney}})]:e.isCommon?!e.isCommon&&e.eclass.length||e.isCommon?s("extraClass",{ref:"eclass",attrs:{form:e.eclass,isCommon:e.isCommon,courseUnitPriceSettingsByType:e.organizationCourseUnitPriceSettingsByType,isUserType:e.isUserType,isDisabled:"1"===e.form.leixing||"2"===e.form.leixing||"0"==e.paymentType},on:{create:e.addExtraClass,remove:e.removeExtraClass,moneyChange:e.syncAllMoney}}):e._e():[s("el-alert",{staticClass:"alert",attrs:{title:"加课信息设置",closable:!1,type:"info"}}),e._v(" "),s("extraClass",{ref:"eclass",attrs:{form:e.eclass,isUserType:e.isUserType,courseUnitPriceSettingsByType:e.organizationCourseUnitPriceSettingsByType,clearable:!0},on:{"update:form":function(t){e.eclass=t},create:e.addExtraClass,remove:e.removeExtraClass,priceChange:e.priceChange,moneyChange:e.syncAllMoney}})],e._v(" "),[s("el-alert",{staticClass:"alert",attrs:{title:"缴费设置",closable:!1,type:"info"}}),e._v(" "),s("el-form",{ref:"payment",attrs:{model:e.payment}},[s("el-form-item",{attrs:{"label-width":"160px",label:"缴费方式",prop:"paymentPattern",rules:[{required:!0,message:"请选择缴费方式",trigger:"change"}]}},[s("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择缴费方式"},model:{value:e.payment.paymentPattern,callback:function(t){e.$set(e.payment,"paymentPattern",t)},expression:"payment.paymentPattern"}},e._l(e.paymentPatternTypeOptions,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),e.isMulticycle&&"SPAN_GROUP_CLASS_ADJUST"!==e.paymentTypeString?[s("el-collapse",{attrs:{value:e.collapse},on:{change:e.collapseChange}},e._l(e.cycles,(function(t,a){return s("el-collapse-item",{key:a,attrs:{name:a}},[s("template",{slot:"title"},[s("div",{staticClass:"collapse-title"},[s("span",[e._v("缴费周期 "+e._s(a+1))]),e._v(" "),e.cycles.length>1?s("i",{staticClass:"el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.removeCycle(a)}}}):e._e()])]),e._v(" "),s("paymentCycle",{ref:"cycles",refInFor:!0,attrs:{form:t,hidePaymentPattern:!0,isCommon:e.isCommon,isUserType:e.isUserType,isDisabled:"1"===e.form.leixing||"2"===e.form.leixing||"0"==e.paymentType}})],2)})),1),e._v(" "),s("el-button",{staticStyle:{width:"100%",margin:"20px 0"},attrs:{icon:"el-icon-circle-plus-outline",plain:"",type:"info",size:"small"},on:{click:e.addCycle}},[e._v("新增缴费周期")])]:s("paymentCycle",{ref:"cycle",attrs:{form:e.cycle,isCommon:e.isCommon,hidePaymentPattern:!0,isUserType:e.isUserType,isDisabled:"1"===e.form.leixing||"2"===e.form.leixing||"0"==e.paymentType},on:{"update:form":function(t){e.cycle=t}}})],e._v(" "),s("el-alert",{staticClass:"alert",attrs:{title:"其它",closable:!1,type:"info"}}),e._v(" "),s("otherform",{ref:"other",attrs:{form:e.other}}),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.$listeners.close}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确认")])],1),e._v(" "),s("el-dialog",{attrs:{title:e.nextTitle,visible:e.nextVisible,width:"600px","append-to-body":""},on:{"update:visible":function(t){e.nextVisible=t}}},[s("classrooms",{on:{close:e.closeNext}})],1)],2)},i=[],r=s("15fd"),n=(s("6762"),s("2fdb"),s("2909")),o=s("5530"),c=(s("96cf"),s("1da1")),l=s("b85c"),u=s("d349"),p=(s("1cc7"),s("1672")),d=s("267e"),m=s("ed08"),h=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{"label-width":"160px",model:e.form,"label-suffix":": "}},["undefined"===typeof e.paymentType?s("el-form-item",{attrs:{label:"缴费类型",prop:"leixing",rules:[{required:!0,message:"请选择缴费类型",trigger:"change"}]}},[s("el-radio-group",{staticStyle:{width:"100%"},model:{value:e.form.leixing,callback:function(t){e.$set(e.form,"leixing",t)},expression:"form.leixing"}},[s("el-radio",{attrs:{label:"1"}},[e._v("乐团续费")]),e._v(" "),s("el-radio",{attrs:{label:"2"}},[e._v("临时加课")])],1)],1):e._e(),e._v(" "),e.isCommon&&0!=e.form.musicGroupOrganizationCourseSettingId&&!this.rowDetail?s("el-form-item",{attrs:{label:"收费标准",prop:"musicGroupOrganizationCourseSettingId",rules:[{required:!0,message:"请选择收费标准",trigger:"change"}]}},[s("el-select",{staticStyle:{width:"100%!important"},attrs:{placeholder:"请选择收费标准"},model:{value:e.form.musicGroupOrganizationCourseSettingId,callback:function(t){e.$set(e.form,"musicGroupOrganizationCourseSettingId",t)},expression:"form.musicGroupOrganizationCourseSettingId"}},e._l(e.charges,(function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1):e._e(),e._v(" "),0!=e.paymentType&&e.isCommon&&!e.rowDetail?s("el-alert",{staticStyle:{"margin-left":"160px",width:"auto"},attrs:{closable:!1,type:"warning"},scopedSlots:e._u([{key:"title",fn:function(){return[s("p",[e._v("该乐团为"+e._s(e.chargeTypeName)+"模式,若需创建其他模式的收费标准,请先修改乐团基本信息中的乐团模式\n "),s("strong",{staticStyle:{"font-weight":"600","margin-left":"10px",cursor:"pointer"},on:{click:e.changeActive}},[e._v("立即修改>>")])])]},proxy:!0}],null,!1,465223599)}):e._e()],1)},f=[],y={props:["form","isCommon","isUserType","typeList","charges","paymentType","chargeTypeName","rowDetail"],mounted:function(){},watch:{paymentType:function(){console.log(this.paymentType)}},methods:{changeActive:function(){this.$listeners.changeActive({name:"1"})}}},v=y,b=(s("d0f4"),s("2877")),g=Object(b["a"])(v,h,f,!1,null,"34827ebc",null),_=g.exports,S=s("7a3c"),w=s("0464"),k=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{model:e.list}},[s("el-table",{staticStyle:{width:"100%","text-alogn":"center"},attrs:{data:e.form,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[s("el-table-column",{attrs:{label:"学员姓名",prop:"username"}}),e._v(" "),s("el-table-column",{attrs:{label:"手机号码",prop:"phone"}}),e._v(" "),s("el-table-column",{key:"courseType",attrs:{label:"课程类型",prop:"courseType",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.courseType[e.list.form[t.$index].courseType])+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"课程时长(分钟)",prop:"courseTime",width:"130"}}),e._v(" "),s("el-table-column",{key:"courseCurrentPrice",attrs:{label:"现价(元)",prop:"courseCurrentPrice",width:"140"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".courseCurrentPrice",rules:{required:!0,message:"请输入现价",trigger:"blur"}}},[s("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:0,min:0,placeholder:"请输入现价"},model:{value:e.list.form[t.$index].courseCurrentPrice,callback:function(s){e.$set(e.list.form[t.$index],"courseCurrentPrice",s)},expression:"list.form[scope.$index].courseCurrentPrice"}})],1)]}}])},[s("template",{slot:"header"},[s("p",{staticStyle:{position:"relative"}},[e._v("\n 现价(元)\n "),s("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[s("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),s("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)])],2),e._v(" "),s("el-table-column",{key:"courseOriginalPrice",attrs:{prop:"courseOriginalPrice",label:"原价(元)",width:"140"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("el-form-item",{attrs:{prop:"form."+t.$index+".courseOriginalPrice",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[s("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:0,min:0,placeholder:"请输入原价"},model:{value:e.list.form[t.$index].courseOriginalPrice,callback:function(s){e.$set(e.list.form[t.$index],"courseOriginalPrice",s)},expression:"list.form[scope.$index].courseOriginalPrice"}})],1)]}}])}),e._v(" "),e.clearable&&e.$listeners.remove?s("el-table-column",{key:"close",attrs:{prop:"close",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.form.length>1?s("i",{staticClass:"el-icon-circle-close",staticStyle:{"margin-bottom":"24px",cursor:"pointer"},on:{click:function(s){e.$listeners.remove&&e.$listeners.remove(t.$index)}}}):e._e()]}}],null,!1,4278559538)}):e._e()],1),e._v(" "),!e.isCommon&&e.$listeners.create?s("el-button",{staticStyle:{width:"100%",margin:"20px 0"},attrs:{icon:"el-icon-circle-plus-outline",plain:"",type:"info",size:"small"},on:{click:e.$listeners.create}},[e._v("新增课程类型")]):e._e()],1)},x=[],C=s("92e3"),T=s("6612"),F=s.n(T),P=(s("704d"),{props:["form","isCommon","isDisabled","isUserType","courseUnitPriceSettingsByType","clearable"],data:function(){return{courseType:d["courseType"],courseTypeOptions:this.courseUnitPriceSettingsByType,boolOptionsOptions:Object(m["b"])(d["boolOptions"])}},computed:{list:function(){return{form:this.form}},classTimeList:function(){return Object(C["b"])(C["h"])}},methods:{isOptionDisabled:function(e){var t=this.form.map((function(e){return e.courseType}));return t.includes(e)},getOldMoney:function(e){return F()(this.list.form[e].courseTotalMinuties*this.list.form[e].unitPrice).format("0,0.00")},validatorCourseTotalMinuties:function(e){var t=this;return function(s,a,i){var r=t.list.form[e].courseType;r&&a>1&&t.classTimeList[r]&&a1||"ADD_COURSE"!=t,e&&(this.cycles=i.map((function(e){return{paymentAmount:e.paymentAmount,paymentDate:[null===e||void 0===e?void 0:e.startPaymentDate,null===e||void 0===e?void 0:e.deadlinePaymentDate],paymentValid:[null===e||void 0===e?void 0:e.paymentValidStartDate,null===e||void 0===e?void 0:e.paymentValidEndDate]}})))}return 0==this.payment.paymentPattern&&"2"!==this.form.leixing&&"ADD_COURSE"!==t||0==this.payment.paymentPattern&&e},paymentTypeString:function(){var e="";if(this.viewDetail){var t,s=this.viewDetail.musicGroupPaymentCalenders;e=null===(t=s[0])||void 0===t?void 0:t.paymentType}return e}},watch:{type:function(){this.$set(this.form,"payUserType","user"===this.type?"STUDENT":"SCHOOL")},baseInfo:function(e){this.formatCourse(),this.getCharges()},organizationCourseUnitPriceSettings:function(){this.formatCourse()},"form.leixing":function(e){this.cycles=[{}],this.collapse=[0],this.cycle={},this.$set(this.form,"musicGroupOrganizationCourseSettingId",void 0),this.$set(this.cycle,"paymentAmount",void 0),"1"===e?this.eclass=[]:"2"===e&&(this.eclass=[{}])},"form.musicGroupOrganizationCourseSettingId":function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(t){var s,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t||this.rowDetail){e.next=11;break}return e.prev=1,e.next=4,Object(p["h"])({id:t});case 4:s=e.sent,this.eclass=s.data.filter((function(e){return!e.isStudentOptional||void 0!==a.paymentType}))||[{}],this.syncAllMoney(),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](1);case 11:case"end":return e.stop()}}),e,this,[[1,9]])})));function t(t){return e.apply(this,arguments)}return t}(),"payment.paymentPattern":function(){this.syncAllMoney()}},mounted:function(){this.formatCourse(),this.init()},activated:function(){this.formatCourse(),this.init()},methods:{init:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t,s,a,i,r,n,c,l=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.getCharges(),!this.rowDetail){e.next=22;break}for(t in M)M.hasOwnProperty(t)&&(s=M[t],s===this.rowDetail.paymentType&&(this.paymentType=t));return this.$set(this.other,"isGiveMusicNetwork",this.rowDetail.isGiveMusicNetwork),this.$set(this.other,"memo",this.rowDetail.memo),e.prev=5,e.next=8,Object(p["g"])({musicGroupId:this.musicGroupId,batchNo:this.rowDetail.batchNo});case 8:r=e.sent,this.viewDetail=r.data,n=r.data.musicGroupPaymentCalenders[0]||{},this.eclass=(r.data.musicGroupPaymentCalenderCourseSettings||[]).filter((function(e){return!e.isStudentOptional||void 0!==l.paymentType})),this.eclassuser=r.data.musicGroupPaymentCalenderStudentDetails.map((function(e){return"SPAN_GROUP_CLASS_ADJUST"===l.paymentTypeString?Object(o["a"])(Object(o["a"])({},e),{},{courseOriginalPrice:e.masterSubCoursePrice}):e})),this.$set(this.payment,"paymentPattern",String(null===(a=this.viewDetail.auditDto)||void 0===a?void 0:a.paymentPattern)),this.$refs.cycle&&(this.$set(this.cycle,"paymentPattern",n.paymentPattern+""),c=[n.paymentValidStartDate,n.paymentValidEndDate],this.$set(this.cycle,"paymentDate",[n.startPaymentDate,n.deadlinePaymentDate]),this.$set(this.cycle,"paymentValid",c)),this.studentIds=n.studentIds,this.$set(this.form,"musicGroupOrganizationCourseSettingId",null===(i=r.data.auditDto)||void 0===i?void 0:i.musicGroupOrganizationCourseSettingsId),this.syncAllMoney(),e.next=22;break;case 20:e.prev=20,e.t0=e["catch"](5);case 22:case"end":return e.stop()}}),e,this,[[5,20]])})));function t(){return e.apply(this,arguments)}return t}(),formatCourse:function(){var e,t,s,a=null===(e=this.musicGroup)||void 0===e?void 0:e.organId,i=null===(t=this.musicGroup)||void 0===t?void 0:t.chargeTypeId,r={},n=(this.organizationCourseUnitPriceSettings||[]).filter((function(e){return a&&a==e.organId&&i&&i==e.chargeTypeId})),o=Object(l["a"])(n);try{for(o.s();!(s=o.n()).done;){var c=s.value;r[c.courseType]=c}}catch(u){o.e(u)}finally{o.f()}return this.organizationCourseUnitPriceSettingsByType=r,r},priceChange:function(e,t){var s=Object(n["a"])(this.eclass),a=this.organizationCourseUnitPriceSettingsByType[e.courseType]||{},i=Math.round(F()(a.unitPrice||1).multiply(e.courseTotalMinuties||1).value());e.courseCurrentPrice=i,e.courseOriginalPrice=i,s[t]=e,this.eclass=Object(n["a"])(s),this.syncAllMoney()},syncAllMoney:function(){if("SPAN_GROUP_CLASS_ADJUST"===this.paymentTypeString){var e,t=null===(e=this.viewDetail)||void 0===e?void 0:e.musicGroupPaymentCalenders[0].paymentAmount;return this.$set(this.cycle,"paymentAmount",t),t}var s,a=0,i=0,r=0,n="SPAN_GROUP_CLASS_ADJUST"===this.paymentTypeString?this.eclassuser:this.eclass,c=Object(l["a"])(n);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(a+=u.courseCurrentPrice,this.cycles&&this.cycles.length)if(u.isStudentOptional)i+=u.courseCurrentPrice;else{var p=Math.floor(u.courseCurrentPrice/this.cycles.length),d=u.courseCurrentPrice%this.cycles.length;i+=p+d,r+=p}}}catch(m){c.e(m)}finally{c.f()}return this.cycles&&this.cycles.length&&(this.cycles=this.cycles.map((function(e,t){return Object(o["a"])(Object(o["a"])({},e),{},{paymentAmount:0===t?i:r})}))),this.$set(this.cycle,"paymentAmount",a),a},getChargeTypeList:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(u["h"])({row:9999});case 3:t=e.sent,this.typeList=t.data.rows,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getCharges:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t,s,a,i,r,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=null===(t=this.musicGroup)||void 0===t?void 0:t.organId,r=null===(s=this.musicGroup)||void 0===s?void 0:s.chargeTypeId,this.chargeTypeName=null===(a=this.musicGroup)||void 0===a?void 0:a.chargeTypeName,e.prev=3,e.next=6,Object(u["z"])({row:9999,chargeTypeId:r,organId:i});case 6:n=e.sent,o=n.data.rows.map((function(e){return e.id})),o.includes(this.form.musicGroupOrganizationCourseSettingId)||this.$set(this.form,"musicGroupOrganizationCourseSettingId",null),this.charges=n.data.rows,e.next=14;break;case 12:e.prev=12,e.t0=e["catch"](3);case 14:case"end":return e.stop()}}),e,this,[[3,12]])})));function t(){return e.apply(this,arguments)}return t}(),addExtraClass:function(){this.eclass.push({})},removeExtraClass:function(e){this.eclass[e]=null,this.eclass=this.eclass.filter((function(e){return!!e}))},addCycle:function(){this.cycles.push({}),this.collapse.push(this.cycles.length-1),this.syncAllMoney()},removeCycle:function(e){this.cycles[e]=null,this.cycles=this.cycles.filter((function(e){return!!e})),this.collapse.includes(e)&&(this.collapse.splice(e,1),this.collapse=this.collapse.map((function(t,s){return s-1>=e?t--:t}))),this.syncAllMoney()},collapseChange:function(e){this.collapse=e},closeNext:function(){this.nextVisible=!1},getForms:function(){var e=this.$refs;return[e.base,e.eclass,e.cycle].concat(Object(n["a"])(e.cycles||[]),[e.other,e.payment]).filter((function(e){return!!e})).map((function(e){return e.$refs.form||e}))},changeActive:function(e){this.$listeners.changeActive&&this.$listeners.changeActive(e)},submit:function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t,s,a,i,c,u,d,h,f,y,v,b,g,_,S,w,k,x,C,T,F,P,O,I,j,L;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=this.getForms(),s=[],a=Object(l["a"])(t);try{for(c=function(){var e=i.value;e.validate((function(t){t&&s.push(e)}))},a.s();!(i=a.n()).done;)c()}catch(D){a.e(D)}finally{a.f()}if(!(this.eclass.length<1&&this.eclassuser.length<1)){e.next=6;break}return e.abrupt("return",this.$message.error("请至少选择一条加课信息"));case 6:if(s.length!==t.length){e.next=61;break}v=Object(o["a"])(Object(o["a"])(Object(o["a"])({},this.form),this.other),{},{paymentPattern:this.payment.paymentPattern,musicGroupPaymentDateRangeList:Object(n["a"])(this.cycles.map((function(e){var t=e.paymentDate,s=e.paymentValid,a=Object(r["a"])(e,["paymentDate","paymentValid"]);return Object(o["a"])(Object(o["a"])(Object(o["a"])({},a),Object(m["a"])(t,["startPaymentDate","deadlinePaymentDate"])),Object(m["a"])(s,["paymentValidStartDate","paymentValidEndDate"]))}))),musicGroupPaymentCalenderCourseSettingsList:this.eclass,musicGroupPaymentCalenderStudentDetails:this.eclassuser}),b=v.leixing,g=Object(r["a"])(v,["leixing"]),this.$refs.cycle&&(_=this.cycle,S=_.paymentDate,w=_.paymentValid,k=Object(r["a"])(_,["paymentDate","paymentValid"]),g.musicGroupPaymentDateRangeList=[Object(o["a"])(Object(o["a"])(Object(o["a"])({},k),Object(m["a"])(S,["startPaymentDate","deadlinePaymentDate"])),Object(m["a"])(w,["paymentValidStartDate","paymentValidEndDate"]))]),x=Object(o["a"])(Object(o["a"])({},g),{},{isGiveMusicNetwork:!1,studentIds:this.studentIds,paymentType:M[0==this.paymentType?this.paymentType:b],musicGroupId:this.musicGroupId}),C=null===(u=this.viewDetail)||void 0===u?void 0:u.musicGroupPaymentCalenders[0],C&&"ADD_STUDENT"===(null===(d=this.viewDetail)||void 0===d?void 0:d.auditDto.paymentType)&&(x.attribute1=C.attribute1),T=!1,F=Object(l["a"])(x.musicGroupPaymentCalenderCourseSettingsList),e.prev=14,F.s();case 16:if((P=F.n()).done){e.next=23;break}if(O=P.value,!(O.courseCurrentPrice>0||1==O.isStudentOptional)){e.next=21;break}return T=!0,e.abrupt("break",23);case 21:e.next=16;break;case 23:e.next=28;break;case 25:e.prev=25,e.t0=e["catch"](14),F.e(e.t0);case 28:return e.prev=28,F.f(),e.finish(28);case 31:if(2!=(null===(h=this.baseInfo)||void 0===h||null===(f=h.musicGroup)||void 0===f?void 0:f.courseViewType)||0!=this.paymentType||!T||"user"!==this.type){e.next=34;break}return this.$message.error("报名缴费云教练收费模式课程费用不得大于0且不可选"),e.abrupt("return");case 34:if(null!==(y=this.rowDetail)&&void 0!==y&&y.batchNo){e.next=48;break}return e.prev=35,e.next=38,Object(p["c"])(x);case 38:I=e.sent,"PRE_BUILD_FEE"==this.$route.query.team_status&&(this.$message.success("创建成功"),this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/teamList"})),this.$listeners.close(),this.$listeners.submited(I.data),e.next=46;break;case 44:e.prev=44,e.t1=e["catch"](35);case 46:e.next=61;break;case 48:return e.prev=48,x.batchNo=this.rowDetail.batchNo,x.paymentType=null===(j=this.viewDetail.musicGroupPaymentCalenders[0])||void 0===j?void 0:j.paymentType,e.next=53,Object(p["f"])(x);case 53:L=e.sent,this.$listeners.close(),this.$listeners.submited(L.data),"teamDraft"==this.$route.query.type&&this.$router.push({query:V()(this.$route.query,{type:"feeAudit"})}),e.next=61;break;case 59:e.prev=59,e.t2=e["catch"](48);case 61:case"end":return e.stop()}}),e,this,[[14,25,28,31],[35,44],[48,59]])})));function t(){return e.apply(this,arguments)}return t}()}},U=q,B=(s("e7d6"),Object(b["a"])(U,a,i,!1,null,"538615a5",null));t["a"]=B.exports},"9deb":function(e,t,s){"use strict";s("1af5")},"9fb2":function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"m-container"},[s("h2",[s("el-page-header",{attrs:{content:e.name},on:{back:e.onCancel}})],1),e._v(" "),s("div",{staticClass:"m-core"},[s("tab-router",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeIndex,callback:function(t){e.activeIndex="string"===typeof t?t.trim():t},expression:"activeIndex"}},[s("el-tab-pane",{attrs:{lazy:"",label:"基本信息",name:"1"}},["1"==e.activeIndex?s("baseInfo",{attrs:{teamid:e.teamid}}):e._e()],1),e._v(" "),s("el-tab-pane",{attrs:{lazy:"",label:"声部信息",name:"2"}},["2"==e.activeIndex?s("soundeDetail",{attrs:{teamid:e.teamid}}):e._e()],1),e._v(" "),s("el-tab-pane",{attrs:{lazy:"",label:"预报名信息",name:"5"}},["5"==e.activeIndex?s("forecastName",{attrs:{isedit:"PRE_APPLY"==e.team_status}}):e._e()],1),e._v(" "),"PREPARE"==e.team_status?s("el-tab-pane",{attrs:{lazy:"",label:"班级列表",name:"7"}},["7"==e.activeIndex?s("classSeting",{attrs:{teamid:e.teamid}}):e._e()],1):e._e(),e._v(" "),"PRE_APPLY"!=e.team_status?s("el-tab-pane",{attrs:{lazy:"",label:"学员缴费信息",name:"3"}},["3"==e.activeIndex?s("resetPayList",{attrs:{isNewGropu:"PRE_BUILD_FEE"==e.team_status}}):e._e()],1):e._e(),e._v(" "),"PRE_APPLY"!=e.team_status?s("el-tab-pane",{attrs:{lazy:"",label:"学校缴费信息",name:"4"}},["4"==e.activeIndex?s("resetPayListSchool",{attrs:{isNewGropu:"PRE_BUILD_FEE"==e.team_status}}):e._e()],1):e._e()],1)],1)])},i=[],r=(s("7f7f"),s("80b0")),n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("soundSetCore",{ref:"soundSetCore"}),e._v(" "),"look"!==e.lookType?s("div",{staticClass:"btnWrap",staticStyle:{"margin-top":"30px"}},[s("div",{staticClass:"closeBtn",on:{click:e.getSound}},[e._v("取消")]),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:{child:"musicGroup/updateSubjectInfo",parent:"/resetTeaming/resetSound"},expression:"{child: 'musicGroup/updateSubjectInfo', parent: '/resetTeaming/resetSound'}"}],staticClass:"okBtn",on:{click:e.saveInfo}},[e._v("保存")])]):e._e()],1)},o=[],c=s("ff14"),l={components:{soundSetCore:c["a"]},data:function(){return{lookType:""}},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){this.lookType=this.$route.query.type},saveInfo:function(){this.$refs.soundSetCore.submitInfo()},getSound:function(){this.$refs.soundSetCore.init()}}},u=l,p=s("2877"),d=Object(p["a"])(u,n,o,!1,null,"417cc28b",null),m=d.exports,h=s("070d"),f=s("f610"),y=s("d80b"),v=s("be2e"),b=s("1c0e"),g={data:function(){return{activeIndex:this.$route.query.checkIndex?this.$route.query.checkIndex:"1",teamid:"",name:"",stepImgs:{PROGRESS:s("7a7c"),PAUSE:s("c34d")},team_status:""}},created:function(){this.activeIndex=null,this.init(),this.activeIndex="1"},activated:function(){this.init()},methods:{init:function(){var e=this.$route.query;this.team_status=this.$route.query.team_status,console.log(this.team_status),this.teamid=e.id,this.name=e.name},handleClick:function(e){this.activeIndex=e.name},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/teamList"})},getname:function(e){this.name=e,localStorage.setItem("teamName",e)}},components:{baseInfo:r["a"],soundeDetail:m,resetPayList:h["a"],resetPayListSchool:f["a"],forecastName:y["default"],signupList:v["default"],classSeting:b["a"]}},_=g,S=(s("8790"),Object(p["a"])(_,a,i,!1,null,"7098e715",null));t["default"]=S.exports},a05b:function(e,t,s){},a249:function(e,t,s){"use strict";s("10cc")},a6e9:function(e,t,s){"use strict";s.d(t,"b",(function(){return o})),s.d(t,"c",(function(){return c})),s.d(t,"a",(function(){return l}));var a=s("b775"),i=s("4328"),r=s.n(i),n="/api-web";function o(e){return Object(a["a"])({url:n+"/sysConfig/list",method:"get",params:e})}function c(e){return Object(a["a"])({url:n+"/sysConfig/update",method:"post",data:r.a.stringify(e)})}function l(e){return Object(a["a"])({url:n+"/sysConfig/queryByParamName",method:"get",params:e})}},aa6f:function(e,t,s){},adb21:function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));var a=s("bc3a"),i=s.n(a),r=(s("4328"),s("5f87")),n=s("3908"),o=function(e,t,s){var a=t.url,o={method:t.method?t.method:"get",headers:{Authorization:Object(r["a"])()},url:a,responseType:"blob"};"post"==o.method?o.data=t.params:o.params=t.params,e.$confirm(s||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n["a"].startLoading(),i()(o).then((function(s){var a=new Blob([s.data],{type:"application/vnd.ms-excel;charset=utf-8"}),i=new Response(a).text();i.then((function(s){if(-1!=s.indexOf("code")){var i=JSON.parse(s);e.$message.error(i.msg)}else{var r=URL.createObjectURL(a),n=document.createElement("a"),o=t.fileName||"导出文件.xls";n.href=r,n.setAttribute("download",o),document.body.appendChild(n),n.click()}})),n["a"].endLoading()})).catch((function(t){e.$message.error("下载失败,请联系管理员"),n["a"].endLoading()}))})).catch((function(){}))}},b133:function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-form",{ref:"form",attrs:{"label-width":"160px",model:e.form,"label-suffix":": "}},[s("el-form-item",{attrs:{label:"备注",prop:"memo",rules:[{required:!0,message:"请输入备注",trigger:"blur"}]}},[s("el-input",{attrs:{type:"textarea"},model:{value:e.form.memo,callback:function(t){e.$set(e.form,"memo",t)},expression:"form.memo"}})],1)],1)},i=[],r={props:["form"]},n=r,o=(s("4000"),s("2877")),c=Object(o["a"])(n,a,i,!1,null,"55ad3016",null);t["a"]=c.exports},b38b:function(e,t,s){"use strict";s.d(t,"c",(function(){return o})),s.d(t,"a",(function(){return c})),s.d(t,"b",(function(){return l}));var a=s("b775"),i=s("4328"),r=s.n(i),n="/api-web";function o(e){return Object(a["a"])({url:n+"/musicGroupPaymentCalender/auditList",method:"get",params:e})}function c(e){return Object(a["a"])({url:n+"/musicGroupPaymentCalender/auditPass",method:"post",data:r.a.stringify(e)})}function l(e){return Object(a["a"])({url:n+"/musicGroupPaymentCalender/auditRefuse",method:"post",data:r.a.stringify(e)})}},b3d0:function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"m-core"},[s("el-form",{attrs:{inline:!0,model:e.searchForm}},[s("el-form-item",[s("el-input",{attrs:{clearable:"",placeholder:"学生编号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),s("el-form-item",[s("el-select",{staticStyle:{width:"180px"},attrs:{clearable:"",filterable:"",placeholder:"请选择声部"},model:{value:e.searchForm.subjectId,callback:function(t){e.$set(e.searchForm,"subjectId","string"===typeof t?t.trim():t)},expression:"searchForm.subjectId"}},e._l(e.soundList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[e._v("重置")])],1)],1),e._v(" "),s("div",{staticClass:"tableWrap"},[s("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList,"max-height":"300"},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"userId",label:"学员编号"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"name",label:"学员姓名"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"学员声部"}})],1)],1),e._v(" "),s("el-dialog",{attrs:{visible:e.resetPayVisible,"append-to-body":"",width:"500px",title:"修改缴费金额"},on:{"update:visible":function(t){e.resetPayVisible=t}}},[s("el-form",{ref:"resetPayForm",attrs:{model:e.resetPayForm,inline:!0,"label-width":"120px","label-position":"right"}},[s("el-form-item",{attrs:{label:"应缴金额",rules:[{required:!0,message:"请输入预计缴费金额",trigger:"blur"},{pattern:/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,message:"请输入正确的金额",trigger:"blur"}],prop:"momey"}},[s("el-input",{model:{value:e.resetPayForm.momey,callback:function(t){e.$set(e.resetPayForm,"momey",t)},expression:"resetPayForm.momey"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.resetPayVisible=!1}}},[e._v("取 消")]),e._v(" "),e.isSigan?s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitSigan(!0)}}},[e._v("确 定")]):e._e(),e._v(" "),e.isSigan?e._e():s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitSigan(!1)}}},[e._v("确 定")])],1)],1)],1)},i=[],r=s("5530"),n=s("333d"),o=s("1cc7"),c={components:{pagination:n["a"]},props:["clearStduent","musicGroupPaymentCalenderId","batchNo"],data:function(){return{searchForm:{search:null,subjectId:null},teacherList:[],soundList:[],tableList:[{}],rules:{limit:999,page:1,total:0,page_size:[10,20,40,50]},payVisible:!1,resetPayVisible:!1,pickerOptions:{disabledDate:function(e){return e.getTime()+864e5<=(new Date).getTime()}},payForm:{startDate:null},resetPayForm:{momey:null},activeChiose:[],isSigan:!1}},created:function(){console.log("create")},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){var e=this;this.teamid=this.$route.query.id,Object(o["J"])({musicGroupId:this.teamid}).then((function(t){200==t.code&&(e.soundList=t.data)})),this.getList()},getList:function(){var e=this;this.searchForm.musicGroupId=this.teamid,Object(o["ic"])(Object(r["a"])(Object(r["a"])({},this.searchForm),{},{batchNo:this.batchNo})).then((function(t){200==t.code&&(e.tableList=t.data)}))},search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.searchForm={search:null,subjectId:null},this.getList()},clearTable:function(){this.$refs.multipleTable.clearSelection()},startPay:function(e){},resetPay:function(e){this.activeRow=e,this.resetPayForm.momey=e.courseFee,this.isSigan=!0,this.resetPayVisible=!0},resetPays:function(){this.isSigan=!1,this.activeChiose.length<=0?this.$message.error("请至少勾选一名学生"):this.resetPayVisible=!0},resetTime:function(){this.payVisible=!0},goBack:function(){var e=this.$route.query;localStorage.setItem("resetCode",3),this.$router.push({path:"/business/resetTeaming",query:e})},handleSelectionChange:function(e){this.activeChiose=e,this.$emit("chioseStudent",e)},submitSigan:function(e){var t=this,s={};s.ids=e?this.activeRow.id:this.activeChiose.map((function(e){return e.id})).join(","),Object(o["pc"])(s).then((function(e){200==e.code&&(t.$message.success("修改成功"),t.resetPayVisible=!1,t.getList(),t.$listeners.submited&&t.$listeners.submited())}))}},watch:{resetPayVisible:function(e){e||(this.resetPayForm={momey:null},this.$refs["resetPayForm"].resetFields())}}},l=c,u=(s("b5ca"),s("2877")),p=Object(u["a"])(l,a,i,!1,null,"2547eae8",null);t["default"]=p.exports},b4ac:function(e,t,s){"use strict";s.d(t,"a",(function(){return i})),s.d(t,"c",(function(){return r})),s.d(t,"b",(function(){return n}));var a=s("829b"),i=function(e){return Object(a["a"])({url:"/api-web/classGroup/queryRemainCourseTypeDuration",data:{},params:e,requestType:"form"})},r=function(e){return Object(a["a"])({url:"/api-web/classGroupStudent/updateClassGroupStudents",data:e,method:"post",requestType:"form"})},n=function(e){return Object(a["a"])({url:"/api-web/studentManage/queryStudentSubTotalCourseTimes",params:e,method:"get",requestType:"form"})}},b4ed:function(e,t,s){},b5ca:function(e,t,s){"use strict";s("2e3a")},b7ed:function(e,t,s){"use strict";s("d1aa")},ba13:function(e,t,s){},ba30:function(e,t,s){},be2e:function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"sigup-container"},[s("div",{staticClass:"topWrap"},[s("div",[s("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[s("div",{staticStyle:{display:"flex","margin-bottom":"15px","font-size":"18px","font-weight":"400"}},[e.applyExpireDate?s("p",{staticStyle:{"margin-right":"10px"}},[e._v("\n 报名截止时间:"+e._s(e._f("formatTimer")(e.applyExpireDate))+"\n ")]):e._e(),e._v(" "),e.paymentExpireDate?s("p",[e._v("\n 缴费截止时间:"+e._s(e._f("formatTimer")(e.paymentExpireDate))+"\n ")]):e._e()])]),e._v(" "),s("div",{staticClass:"btnList"},["APPLY"==e.status?s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/openPay",expression:"'musicGroup/openPay'"}],staticClass:"newBand",on:{click:e.payStart}},[e._v("\n 开始缴费\n ")]):e._e(),e._v(" "),"APPLY"==e.status||"PAY"==e.status?s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/found",expression:"'musicGroup/found'"}],staticClass:"newBand",on:{click:e.onGoHome}},[e._v("\n 确认开团\n ")]):e._e(),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionPayment",expression:"'musicGroup/extensionPayment'"},{name:"show",rawName:"v-show",value:"PAY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status,expression:"\n status == 'PAY' || status == 'PROGRESS' || status == 'PREPARE'\n "}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!0)}}},[e._v("\n 延长缴费\n ")]),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionApplyExpireDate",expression:"'musicGroup/extensionApplyExpireDate'"},{name:"show",rawName:"v-show",value:"PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status,expression:"\n status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE'\n "}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!1)}}},[e._v("\n 延长报名\n ")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status)&&e.ischeckCanReg,expression:"\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE') &&\n ischeckCanReg\n "}],staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("payment")}}},[e._v("\n 报名链接\n ")]),e._v(" "),s("div",{staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("detail")}}},[e._v("缴费详情")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.rightList.length>0,expression:"rightList.length > 0"},{name:"permission",rawName:"v-permission",value:"studentRegistration/queryStudentApplyDetailExport",expression:"'studentRegistration/queryStudentApplyDetailExport'"}],staticClass:"newBand",on:{click:e.onDownLoadExecl}},[e._v("\n 报表导出\n ")]),e._v(" "),s("auth",{attrs:{auths:"studentRegistration/queryPreApplyList"}},[s("div",{staticClass:"newBand",staticStyle:{"margin-right":"0"},on:{click:function(t){e.forecastVisible=!0}}},[e._v("\n 预报名名单\n ")])]),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/addMusicGroupRegs",expression:"'musicGroup/addMusicGroupRegs'"},{name:"show",rawName:"v-show",value:("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status)&&e.ischeckCanReg,expression:"\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE') &&\n ischeckCanReg\n "}],staticClass:"newBand",on:{click:function(t){e.mergeVisible=!0}}},[e._v("\n 合并学员\n ")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status)&&e.ischeckCanReg,expression:"\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE') &&\n ischeckCanReg\n "}],staticClass:"newBand",staticStyle:{"background-color":"#f97215",border:"1px solid #f97215"},on:{click:function(t){return e.onCreateQRCode("rePayment")}}},[e._v("\n 报名链接(无乐器)\n ")])],1)]),e._v(" "),s("el-dialog",{attrs:{title:"选择合并乐团",visible:e.mergeVisible,width:"950px"},on:{"update:visible":function(t){e.mergeVisible=t}}},[e.mergeVisible?s("mergeMusic",{staticStyle:{padding:"0 20px"},attrs:{organId:e.organId},on:{close:function(t){e.mergeVisible=!1},submited:e.getList}}):e._e()],1),e._v(" "),s("el-dialog",{attrs:{title:"预报名名单",visible:e.forecastVisible,width:"950px"},on:{"update:visible":function(t){e.forecastVisible=t}}},[e.forecastVisible?s("forecastList",{on:{close:function(t){e.forecastVisible=!1}}}):e._e()],1)],1),e._v(" "),s("div",{staticClass:"searchList"},[s("save-form",{attrs:{inline:!0,model:e.searchFrom},on:{submit:e.search,reset:e.onReset}},[s("el-form-item",[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择专业"},model:{value:e.searchFrom.subject,callback:function(t){e.$set(e.searchFrom,"subject","string"===typeof t?t.trim():t)},expression:"searchFrom.subject"}},e._l(e.soundList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{filterable:"",placeholder:"请选择是否允许调剂",clearable:""},model:{value:e.searchFrom.isAllowAdjust,callback:function(t){e.$set(e.searchFrom,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchFrom.isAllowAdjust"}},[s("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),s("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),s("el-form-item",[s("el-input",{attrs:{placeholder:"请输入用户名或手机号",clearable:""},model:{value:e.searchFrom.name,callback:function(t){e.$set(e.searchFrom,"name","string"===typeof t?t.trim():t)},expression:"searchFrom.name"}})],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请输入年级"},model:{value:e.searchFrom.currentGrade,callback:function(t){e.$set(e.searchFrom,"currentGrade","string"===typeof t?t.trim():t)},expression:"searchFrom.currentGrade"}},e._l(e.gradeList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.label,value:e.label}})})),1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{clearable:"",filterable:"",placeholder:"报名缴费"},model:{value:e.searchFrom.paymentStatus,callback:function(t){e.$set(e.searchFrom,"paymentStatus","string"===typeof t?t.trim():t)},expression:"searchFrom.paymentStatus"}},[s("el-option",{attrs:{label:"未开启缴费",value:"0"}}),e._v(" "),s("el-option",{attrs:{label:"开启缴费",value:"1"}}),e._v(" "),s("el-option",{attrs:{label:"已缴费",value:"2"}})],1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{clearable:"",filterable:"",placeholder:"是否回访"},model:{value:e.searchFrom.visited,callback:function(t){e.$set(e.searchFrom,"visited","string"===typeof t?t.trim():t)},expression:"searchFrom.visited"}},[s("el-option",{attrs:{label:"否",value:"false"}}),e._v(" "),s("el-option",{attrs:{label:"是",value:"true"}})],1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"danger","native-type":"search"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"primary","native-type":"reset"}},[e._v("重置")])],1)],1)],1),e._v(" "),s("div",{staticClass:"sigup-core"},[s("div",{staticClass:"left"},[s("el-table",{staticStyle:{width:"100% !important"},attrs:{data:e.leftList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[s("el-table-column",{attrs:{label:"乐团声部",prop:"subjectName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"计划招生",prop:"expectedStudentNum",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[s("p",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}]},[e._v(e._s(t.row.expectedStudentNum))]),e._v(" "),s("el-input",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],model:{value:t.row.expectedStudentNum,callback:function(s){e.$set(t.row,"expectedStudentNum","string"===typeof s?s.trim():s)},expression:"scope.row.expectedStudentNum"}})],1)]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"已报名",prop:"applyStudentNum",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"已缴费",prop:"payNum",align:"center"}})],1),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/updateExpectedStudentNum",expression:"'musicGroup/updateExpectedStudentNum'"}],staticClass:"btnWrap",staticStyle:{"margin-right":"20px","margin-top":"20px"}},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit&&("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status),expression:"\n !isEdit &&\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE')\n "}],on:{click:function(t){e.isEdit=!0}}},[e._v("编辑")]),e._v(" "),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],on:{click:e.saveIsEdit}},[e._v("保存")])],1)],1),e._v(" "),s("div",{staticClass:"right"},[s("el-table",{ref:"multipleTable",attrs:{data:e.rightList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"55",selectable:e.checkboxSelect}}),e._v(" "),s("el-table-column",{attrs:{label:"学员姓名",prop:"studentName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"家长姓名",prop:"parentsName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"入团年份"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.createTime,"YYYY年"))+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"年级班级",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(t.row.currentGrade+t.row.currentClass)+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"性别",prop:"gender",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("sex")(t.row.gender))+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"服从调剂",prop:"isAllowAdjust",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("isAllowAdjust")(t.row.isAllowAdjust))+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"报名专业",prop:"subjectName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"调剂专业",prop:"actualSubjectName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"联系电话",prop:"parentsPhone",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"是否回访",prop:"paymentStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(t.row.visitNum?"是":"否")+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"报名缴费状态",fixed:"right",prop:"paymentStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("paymentStatus")(t.row.paymentStatus))+"\n ")])]}}])}),e._v(" "),"PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status?s("el-table-column",{attrs:{label:"操作",fixed:"right",width:"240",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[s("auth",{attrs:{auths:"studentRegistration/batchUpdateSubject"}},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:2!=t.row.paymentStatus,expression:"scope.row.paymentStatus != 2"}],attrs:{type:"text"},on:{click:function(s){return e.resetSubject(t.row)}}},[e._v("修改专业")])],1),e._v(" "),s("el-popover",{directives:[{name:"show",rawName:"v-show",value:t.row.remark,expression:"scope.row.remark"}],attrs:{placement:"top-start",title:"备注",width:"200",trigger:"hover",content:t.row.remark}},[s("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("备注")])],1),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"studentRegistration/queryFeeDetail"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.lookdetail(t.row)}}},[e._v("查看")])],1),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"musicGroupQuit/directQuitMusicGroup2"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.quitTeam(t.row)}}},[e._v("退团退费")])],1),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"musicGroupQuit/directQuitMusicGroup3"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.quieTeams(t.row)}}},[e._v("退团")])],1),e._v(" "),t.row.visitNum<=0?s("auth",{attrs:{auths:"visit/add/teamSignupList"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.addVisit(t.row)}}},[e._v("新增回访")])],1):e._e(),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"subjectChange/getStudentOriginal"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.openChangeVoice(t.row)}}},[e._v("更改声部")])],1)],1)]}}],null,!1,3106520180)}):e._e()],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status,expression:"\n status == 'APPLY' || status == 'PROGRESS' || status == 'PREPARE'\n "}],staticStyle:{"margin-top":"10px","margin-bottom":"10px"}},[s("el-button",{on:{click:e.onSelectAll}},[e._v("全选/取消")]),e._v(" "),s("auth",{attrs:{auths:"studentRegistration/openPayment"}},[s("el-button",{staticStyle:{"background-color":"#14928a",border:"1px solid #14928a"},attrs:{type:"primary"},on:{click:e.onPartPayment}},[e._v("开启缴费")])],1)],1),e._v(" "),s("pagination",{attrs:{sync:"",total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)]),e._v(" "),s("el-dialog",{attrs:{title:"修改专业",visible:e.subjectVisible,width:"400px"},on:{"update:visible":function(t){e.subjectVisible=t}}},[s("el-form",{attrs:{model:e.maskForm}},[s("el-form-item",{attrs:{label:"选择专业"}},[s("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.subject,callback:function(t){e.$set(e.maskForm,"subject","string"===typeof t?t.trim():t)},expression:"maskForm.subject"}},e._l(e.soundList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.subjectVisible=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.okReset}},[e._v("确 定")])],1)],1),e._v(" "),s("el-dialog",{attrs:{title:e.isPay?"延长缴费":"延长报名",visible:e.extendPaymentStatus,"destroy-on-close":"",width:"400px"},on:{"update:visible":function(t){e.extendPaymentStatus=t}}},[s("el-form",{ref:"extendForm",attrs:{model:e.extendForm,rules:e.extendRule}},[e.isPay?s("el-form-item",{attrs:{label:"延长缴费时间",prop:"expireDate"}},[s("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":e.payDate(),placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1):s("el-form-item",{attrs:{label:"延长报名时间",prop:"expireDate"}},[s("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":e.applyDates,placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.extendPaymentStatus=!1}}},[e._v("取 消")]),e._v(" "),(e.isPay,s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onExtendPayment("extendForm",e.isPay)}}},[e._v("确 定")]))],1)],1),e._v(" "),s("el-dialog",{attrs:{title:"订单详情",visible:e.orderVisible,width:"600px"},on:{"update:visible":function(t){e.orderVisible=t}}},[s("el-form",{attrs:{model:e.orderForm,inline:!0}},[s("el-form-item",{attrs:{label:"学员姓名"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.name,callback:function(t){e.$set(e.orderForm,"name","string"===typeof t?t.trim():t)},expression:"orderForm.name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"实缴金额"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.totalAmount,callback:function(t){e.$set(e.orderForm,"totalAmount","string"===typeof t?t.trim():t)},expression:"orderForm.totalAmount"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"实际专业"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subject,callback:function(t){e.$set(e.orderForm,"subject","string"===typeof t?t.trim():t)},expression:"orderForm.subject"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"课程费用"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subjectFee,callback:function(t){e.$set(e.orderForm,"subjectFee","string"===typeof t?t.trim():t)},expression:"orderForm.subjectFee"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"选择乐器"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axe,callback:function(t){e.$set(e.orderForm,"axe","string"===typeof t?t.trim():t)},expression:"orderForm.axe"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"乐器价格"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axePrice,callback:function(t){e.$set(e.orderForm,"axePrice","string"===typeof t?t.trim():t)},expression:"orderForm.axePrice"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"教辅组合"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.others,callback:function(t){e.$set(e.orderForm,"others","string"===typeof t?t.trim():t)},expression:"orderForm.others"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"组合价格"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.othersPrice,callback:function(t){e.$set(e.orderForm,"othersPrice","string"===typeof t?t.trim():t)},expression:"orderForm.othersPrice"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.orderVisible=!1}}},[e._v("确 定")])],1)],1),e._v(" "),s("el-dialog",{attrs:{title:"开始缴费",visible:e.paymentStatus,width:"400px","destroy-on-close":""},on:{"update:visible":function(t){e.paymentStatus=t}}},[s("el-form",{ref:"paymentForm",staticClass:"paymentForm",attrs:{model:e.paymentForm,"label-position":"top",rules:e.paymentRules}},[s("el-form-item",{attrs:{label:"请设置缴费截止日期",prop:"paymentExpireDate"}},[s("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd","picker-options":e.payDate(),placeholder:"选择日期"},model:{value:e.paymentForm.paymentExpireDate,callback:function(t){e.$set(e.paymentForm,"paymentExpireDate","string"===typeof t?t.trim():t)},expression:"paymentForm.paymentExpireDate"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.paymentStatus=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onStartPayment("paymentForm")}}},[e._v("确 定")])],1)],1),e._v(" "),s("qr-code",{attrs:{title:e.codeTitle,codeUrl:e.qrCodeUrl},model:{value:e.codeStatus,callback:function(t){e.codeStatus=t},expression:"codeStatus"}}),e._v(" "),s("el-dialog",{attrs:{title:"退团信息确认","destroy-on-close":!0,width:"640px",visible:e.quitVisible},on:{"update:visible":function(t){e.quitVisible=t}}},[s("el-form",{ref:"quitForm",attrs:{model:e.quitForm,"label-width":"150px",rules:e.quitRules}},[e.activeRow.cloudTeacherAmount>0?s("el-form-item",{attrs:{label:"退还云教练费用",prop:"isCloudTeacherAmount"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isCloudTeacherAmount,callback:function(t){e.$set(e.quitForm,"isCloudTeacherAmount","string"===typeof t?t.trim():t)},expression:"quitForm.isCloudTeacherAmount"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isCloudTeacherAmount,callback:function(t){e.$set(e.quitForm,"isCloudTeacherAmount","string"===typeof t?t.trim():t)},expression:"quitForm.isCloudTeacherAmount"}},[e._v("否")])],1):e._e(),e._v(" "),e.quitForm.isCloudTeacherAmount?s("el-form-item",{attrs:{label:"退还云教练金额",prop:"cloudTeacherAmount"}},[s("el-input",{staticStyle:{width:"180px"},attrs:{type:"number"},model:{value:e.quitForm.cloudTeacherAmount,callback:function(t){e.$set(e.quitForm,"cloudTeacherAmount","string"===typeof t?t.trim():t)},expression:"quitForm.cloudTeacherAmount"}},[s("template",{slot:"append"},[e._v("元")])],2)],1):e._e(),e._v(" "),s("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("否")])],1),e._v(" "),s("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("否")])],1),e._v(" "),s("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("否")])],1),e._v(" "),e.activeRow.hasMaintenance?s("el-form-item",{attrs:{label:"退还乐保费用",prop:"isMaintenanceFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isMaintenanceFee,callback:function(t){e.$set(e.quitForm,"isMaintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.isMaintenanceFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isMaintenanceFee,callback:function(t){e.$set(e.quitForm,"isMaintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.isMaintenanceFee"}},[e._v("否")])],1):e._e(),e._v(" "),e.quitForm.isMaintenanceFee?s("el-form-item",{attrs:{label:"退还乐保金额",prop:"maintenanceFee"}},[s("el-input",{staticStyle:{width:"180px"},attrs:{type:"number"},model:{value:e.quitForm.maintenanceFee,callback:function(t){e.$set(e.quitForm,"maintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.maintenanceFee"}},[s("template",{slot:"append"},[e._v("元")])],2)],1):e._e(),e._v(" "),s("el-form-item",{attrs:{label:"退团原因",prop:"reason"}},[s("el-input",{attrs:{type:"textarea"},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason","string"===typeof t?t.trim():t)},expression:"quitForm.reason"}})],1)],1),e._v(" "),s("span",{staticClass:"dialog-footer question",attrs:{slot:"footer"},slot:"footer"},[s("div",[s("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[s("div",{staticClass:"popoverWrap"},[s("p",[e._v("乐团退团退费规则:")]),e._v(" "),s("p",[e._v("退还乐器练习云教练费用:报名缴费时缴费的乐器练习云教练费用")]),e._v(" "),s("p",[e._v("退还课程费用:缴费总额-已结束课时单价之和")]),e._v(" "),s("p",[e._v("退还乐器费用:报名缴费时缴纳的乐器费用(团购、租金)")]),e._v(" "),s("p",[e._v("退还教辅费用:报名缴费时缴费的教辅费用")]),e._v(" "),s("p",[e._v("退还乐保费用:报名缴费时缴费的乐保费用")])]),e._v(" "),s("el-button",{staticStyle:{color:"red"},attrs:{slot:"reference",type:"text",icon:"el-icon-question"},slot:"reference"},[e._v("退团退费说明")])],1)],1),e._v(" "),s("div",[s("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.chioseType}},[e._v("确 定")])],1)])],1),e._v(" "),s("el-dialog",{attrs:{title:"新增回访",width:"500px","destroy-on-close":"","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[e.visitVisiable&&e.detail?s("visit",{attrs:{detail:e.detail},on:{close:function(t){e.visitVisiable=!1},submited:e.getList}}):e._e()],1),e._v(" "),e.changeVoiceVisible?s("el-dialog",{attrs:{title:"更改声部",visible:e.changeVoiceVisible,width:"600px"},on:{"update:visible":function(t){e.changeVoiceVisible=t}}},[s("changeVoice",{attrs:{detail:e.rowDetail,musicGroupId:e.id,voiceList:e.leftList},on:{close:e.closeChangeVoice,submited:e.getList,"update:detail":function(t){e.rowDetail=t}}})],1):e._e()],1)},i=[],r=s("5530"),n=s("b85c"),o=(s("ac6a"),s("7f7f"),s("96cf"),s("1da1")),c=s("333d"),l=s("641c"),u=s("1cc7"),p=s("879d"),d=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"forecastName"},[s("div",{staticClass:"m-core"},[s("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{reset:e.onReSet,submit:e.search}},[s("el-form-item",[s("el-input",{attrs:{clearable:"",placeholder:"学生编号/姓名/手机号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name","string"===typeof t?t.trim():t)},expression:"searchForm.name"}})],1),e._v(" "),s("el-form-item",{attrs:{prop:"isAllowAdjust"}},[s("el-select",{attrs:{clearable:"",placeholder:"是否允许调剂"},model:{value:e.searchForm.isAllowAdjust,callback:function(t){e.$set(e.searchForm,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchForm.isAllowAdjust"}},[s("el-option",{attrs:{label:"是",value:1}}),e._v(" "),s("el-option",{attrs:{label:"否",value:0}})],1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{clearable:"",placeholder:"所选专业"},model:{value:e.searchForm.subjectId,callback:function(t){e.$set(e.searchForm,"subjectId",t)},expression:"searchForm.subjectId"}},e._l(e.selects.subjects,(function(e){return s("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"danger","native-type":"seach"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),s("div",{staticClass:"tableWrap"},[s("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[s("el-table-column",{attrs:{align:"center",prop:"userId",label:"学员编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.userId))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"userName",label:"学员姓名"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"gender",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.gender?"男":"女")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"phone",label:"联系电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"年级班级"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.currentGrade)+e._s(t.row.currentClass)+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"subjectFirstName",label:"选报声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subjectFirstName?t.row.subjectFirstName:null)+"\n "+e._s(t.row.subjectFirstName||999!=t.row.subjectFirst?null:"听从老师安排")+",\n "+e._s(t.row.subjectSecondName?t.row.subjectSecondName:null)+"\n "+e._s(t.row.subjectSecondName||999!=t.row.subjectSecond?null:"听从老师安排")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"isAllowAdjust",label:"是否服从调剂"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isAllowAdjust?"是":"否")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"realName",label:"乐器准备方式"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("instrumentType")(t.row.kitPurchaseMethod))+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"isRegistered",label:"是否已报名"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isRegistered?"是":"否")+"\n ")]}}])})],1),e._v(" "),s("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)])},m=[],h=(s("386d"),s("3078")),f={name:"forecastName",components:{pagination:c["a"]},data:function(){var e=this.$route.query;return{musicGroupId:e.id,searchForm:{name:null,subjectId:null,isAllowAdjust:null},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.$store.dispatch("setSubjects"),this.getList()},methods:{onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()},getList:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(h["f"])(Object(r["a"])(Object(r["a"])({},this.searchForm),{},{musicGroupId:this.musicGroupId,page:this.pageInfo.page,rows:this.pageInfo.limit}));case 3:t=e.sent,this.tableList=t.data.rows,this.pageInfo.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},y=f,v=s("2877"),b=Object(v["a"])(y,d,m,!1,null,"51cef9a9",null),g=b.exports,_=s("5137"),S=s("61f7"),w=s("46f6"),k=s("d044"),x=s.n(k),C=s("92e3"),T=s("bc3a"),F=s.n(T),P=s("5f87"),O=s("3908"),I=s("4328"),j=s.n(I),L=s("ec8a"),D=s("e3eb"),G=s.n(D),A=s("6cc5"),N=s("4edf"),E={name:"signupList",components:{pagination:c["a"],qrCode:l["a"],changeVoice:A["a"],mergeMusic:p["a"],forecastList:g,visit:N["a"]},data:function(){return{multipleSelection:[],forecastVisible:!1,isEdit:!1,rowDetail:null,mergeVisible:!1,changeVoiceVisible:!1,subjectVisible:!1,orderVisible:!1,quitVisible:!1,leftList:[],rightList:[],searchFrom:{name:"",subject:"",isAllowAdjust:"",currentGrade:null,paymentStatus:"",visited:""},quitForm:{isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},stepImgs:{APPLY:s("cd89"),PAY:s("0e73")},status:"",id:"",rules:{limit:10,page:1,total:0,page_size:[10,20,30,40]},teamName:"",maskForm:{subject:""},activeId:"",soundList:[],orderForm:{name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""},paymentStatus:!1,paymentForm:{paymentExpireDate:null},paymentRules:{paymentExpireDate:[{required:!0,message:"请设置缴费截止日期",trigger:"blur"}]},paymentNum:0,qrcodeStatus:!1,qrcodes:!0,qrcode:null,codeUrl:null,qrcodeStatus2:!1,qrcodes2:!0,qrcode2:null,codeUrl2:null,codeStatus:!1,codeTitle:null,qrCodeUrl:null,organId:"",extendPaymentStatus:!1,extendForm:{expireDate:null},extendRule:{expireDate:[{required:!0,message:"请选择延长时间",trigger:"change"}]},quitRules:{isCloudTeacherAmount:[{required:!0,message:"请输入云教练费用"}],cloudTeacherAmount:[{required:!0,message:"请输入云教练金额",trigger:"blur"}],isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"选择是否退还教辅费用"}],isMaintenanceFee:[{required:!0,message:"选择是否退还乐保费用"}],maintenanceFee:[{required:!0,message:"请输入退还乐保金额"}],reason:[{required:!0,message:"请填写退团退费原因"}]},applyExpireDate:"",paymentExpireDate:"",activeRow:{hasMaintenance:!1},visitVisiable:!1,visitForm:{musicGroupId:"",overview:"",purpose:"",studentId:"",type:"",visitTime:"",visitType:"",feedback:"",studentName:""},visitChiose:C["F"],visitRules:{overview:[{required:!0,message:"请输入学生近况"}],feedback:[{required:!0,message:"请输入家长反馈"}],visitTime:[{required:!0,message:"请输入回访时间"}],visitType:[{required:!0,message:"请选择回访类型"}]},isPay:!1,applyDates:this.applyDate(),detail:null,gradeList:[],ischeckCanReg:!1}},created:function(){},mounted:function(){this.init()},activated:function(){this.init()},methods:{permission:function(e){return Object(L["a"])(e)},init:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.status=this.$route.query.team_status,this.id=this.$route.query.id,this.teamName=this.$route.query.name,this.pickerOptions=this.beginDate(new Date),e.prev=4,e.next=7,Object(u["o"])({musicGroupId:this.id});case 7:return e.next=9,e.sent.data;case 9:this.ischeckCanReg=e.sent,console.log(this.ischeckCanReg),e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](4),console.log(e.t0);case 16:Object(u["ob"])({musicGroupId:this.id}).then((function(e){var s=e.data;if(200==e.code&&s)for(var a in s)t.gradeList.push({value:a,label:s[a]})})),Object(u["Lb"])({musicGroupId:this.id}).then((function(e){200==e.code&&(t.organId=e.data.musicGroup.organId,t.applyExpireDate=e.data.musicGroup.applyExpireDate,t.paymentExpireDate=e.data.musicGroup.paymentExpireDate)})),Object(u["J"])({musicGroupId:this.id}).then((function(e){200==e.code&&(t.soundList=e.data)})),this.getList();case 20:case"end":return e.stop()}}),e,this,[[4,13]])})));function t(){return e.apply(this,arguments)}return t}(),search:function(){this.rules.page=1,this.getList()},onReset:function(){this.rules.page=1,this.rules.limit=10,this.searchFrom={name:null,subject:null,isAllowAdjust:null,currentGrade:null,paymentStatus:null,visited:null},this.getList()},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/teamList"})},payStart:function(){var e=this;this.paymentStatus=!0,Object(u["Lb"])({musicGroupId:this.id}).then((function(t){200==t.code&&(e.applyExpireDate=t.data.musicGroup.applyExpireDate,e.paymentExpireDate=t.data.musicGroup.paymentExpireDate)}))},getList:function(){var e=this,t={musicGroupId:this.id,actualSubjectId:this.searchFrom.subject||null,isAllowAdjust:this.searchFrom.isAllowAdjust||null,name:this.searchFrom.name||null,currentGrade:this.searchFrom.currentGrade||null,paymentStatus:this.searchFrom.paymentStatus||null,visited:this.searchFrom.visited||null,page:this.rules.page,rows:this.rules.limit};return Object(u["Tb"])({musicGroupId:this.id}).then((function(t){200==t.code&&(e.leftList=t.data)})),Object(u["Bb"])(t).then((function(t){if(200==t.code)return t.data.rows.forEach((function(t){2==t.paymentStatus&&(e.paymentNum+=1)})),e.rightList=t.data.rows,e.rules.total=t.data.total,t}))},onStartPayment:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Object(u["Yb"])({musicGroupId:t.id,expireDate:t.paymentForm.paymentExpireDate}).then((function(e){200==e.code&&(t.$message.success("开启成功"),t.paymentStatus=!1,t.$store.dispatch("delVisitedViews",t.$route),t.$router.push({path:"/teamList"}),t.status="PAY",t.paymentExpireDate=t.paymentForm.paymentExpireDate,t.getList())}))}))},onSelectAll:function(){this.$refs.multipleTable.toggleAllSelection()},onPartPayment:function(){var e=this,t=this.multipleSelection;if(t.length<=0)return this.$message.error("您还没有选择学生"),!1;var s=[];t.forEach((function(e){s.push(e.id)})),this.$confirm("是否确认开启缴费?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(u["ac"])({ids:s.join(",")}).then((function(t){200==t.code?(e.$message.success("开启成功"),e.getList()):e.$message.error(t.msg)}))})).catch((function(){}))},onCreateQRCode:function(e){var t=this.id;if(this.codeStatus=!0,"payment"==e)this.codeTitle="学员报名链接",this.qrCodeUrl=Object(S["d"])()+"/#/login?musicGroupId="+t;else if("detail"==e){var s=this.$route.query.name;this.codeTitle="报名缴费详情",this.qrCodeUrl=Object(S["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s}else"rePayment"==e&&(this.codeTitle="学生报名链接(无乐器)",this.qrCodeUrl=Object(S["d"])()+"/#/login?musicGroupId="+t+"&instrument=1")},onCreateQRCode2:function(){var e=this;this.qrcodeStatus2=!0;var t=this.id,s=this.$route.query.name;setTimeout((function(){document.getElementById("qrcode2").innerHTML="",e.qrcode2=new x.a("qrcode2",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:x.a.CorrectLevel.H}),e.qrcode2.makeCode(Object(S["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s),e.codeUrl2=Object(S["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s}),500)},onDownLoadExecl:function(){var e=this,t="/api-web/studentRegistration/queryStudentApplyDetailExport",s={musicGroupId:this.$route.query.id,page:1,rows:9999},a={method:"POST",headers:{Authorization:Object(P["a"])()},data:j.a.stringify(s),url:t,responseType:"blob"};this.$confirm("您确定导出吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){O["a"].startLoading(),F()(a).then((function(t){var s=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),a=new Response(s).text();a.then((function(t){if(-1!=t.indexOf("code")){var a=JSON.parse(t);e.$message.error(a.msg)}else{var i=URL.createObjectURL(s),r=document.createElement("a"),n=new Date,o=n.getFullYear()+""+(n.getMonth()+1)+n.getDate()+n.getHours()+n.getMinutes(),c=e.$route.query.id+"-"+o+".xls";r.href=i,r.setAttribute("download",c),document.body.appendChild(r),r.click()}})),O["a"].endLoading()})).catch((function(t){e.$message.error("导出数据失败,请联系管理员"),O["a"].endLoading()}))})).catch((function(){}))},onGoHome:function(){var e=this;this.paymentNum<=0?this.$message.error("当前缴费人数为0,无法开团"):this.$confirm("是否确认开团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(u["Xb"])({musicGroupId:e.$route.query.id}).then((function(t){200==t.code&&e.onCancel()}))})).catch((function(){}))},onClose:function(){var e=this;this.$confirm("您确定停止乐团吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(u["n"])({musicGroupId:e.$route.query.id}).then((function(t){200==t.code&&(e.$message.success("停止成功"),e.$store.dispatch("delVisitedViews",e.$route),e.$router.push({path:"/teamList"}))}))})).catch((function(){}))},handleSelectionChange:function(e){this.multipleSelection=e},resetSubject:function(e){console.log(e),this.activeId=e.studentId,this.maskForm.subject=e.actualSubjectId,this.subjectVisible=!0},okReset:function(){var e=this;this.maskForm.subject?Object(_["r"])({musicGroupId:this.id,userId:this.activeId,subId:this.maskForm.subject}).then((function(t){200==t.code&&(e.$message.success("修改成功"),e.subjectVisible=!1,e.maskForm.subject="",Object(u["Tb"])({musicGroupId:e.id}).then((function(t){200==t.code&&(e.leftList=t.data)})),e.getList())})):this.$message.error("请选择调剂专业")},onExtendPayment:function(e,t){var s=this;this.$refs[e].validate((function(e){e&&(t?Object(u["D"])({musicGroupId:s.id,expireDate:s.extendForm.expireDate}).then((function(e){200==e.code?(s.$message.success("延长缴费成功"),s.extendPaymentStatus=!1,Object(u["Lb"])({musicGroupId:s.id}).then((function(e){200==e.code&&(s.paymentExpireDate=e.data.musicGroup.paymentExpireDate)}))):s.$message.error(e.msg)})):Object(u["C"])({musicGroupId:s.id,expireDate:s.extendForm.expireDate}).then((function(e){200==e.code?(s.$message.success("延长报名成功"),s.extendPaymentStatus=!1,Object(u["Lb"])({musicGroupId:s.id}).then((function(e){200==e.code&&(s.applyExpireDate=e.data.musicGroup.applyExpireDate)}))):s.$message.error(e.msg)})))}))},lookdetail:function(e){var t=this;this.orderVisible=!0,this.activeId=e.studentId,this.orderForm.name=e.studentName,this.orderForm.subject=e.subjectName,Object(_["j"])({musicGroupId:this.id,studentId:e.studentId}).then((function(e){if(200==e.code&&e.data){t.orderForm.totalAmount=e.data.totalAmount;var s="",a=0,i="",r=0;for(var n in e.data.goods)"INSTRUMENT"==e.data.goods[n].goodsType?(s+=e.data.goods[n].goodsName+",",a+=parseFloat(e.data.goods[n].musicalFee)):"ACCESSORIES"==e.data.goods[n].goodsType?(i+=e.data.goods[n].goodsName+",",r+=parseFloat(e.data.goods[n].musicalFee)):"COURSE"==e.data.goods[n].goodsType&&(t.orderForm.subjectFee=e.data.goods[n].musicalFee);t.orderForm.others=i.substring(0,i.length-1),t.orderForm.othersPrice=r,t.orderForm.axe=s.substring(0,s.length-1),t.orderForm.axePrice=a}}))},saveIsEdit:function(){this.isEdit=!1,Object(u["sc"])(this.leftList).then((function(e){}))},quitTeam:function(e){this.activeRow=e,this.quitVisible=!0,this.quitForm.cloudTeacherAmount=e.cloudTeacherAmount},quieTeams:function(e){var t=this;this.$prompt("请输入退团原因","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"请输入退团原因",type:"warning"}).then((function(s){Object(u["b"])({musicGroupId:t.id,userId:e.studentId,reason:s.value,isRefundCourseFee:!1,isRefundInstrumentFee:!1,isRefundTeachingAssistantsFee:!1}).then((function(e){t.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},200==e.code&&(t.$message.success("退团成功"),t.getList(),t.quitVisible=!1)}))})).catch((function(){}))},chioseType:function(){var e=this;this.$refs["quitForm"].validate((function(t){t&&e.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e.activeRow,s={musicGroupId:e.id,userId:t.studentId,reason:e.quitForm.reason,isRefundCourseFee:e.quitForm.isRefundCourseFee,isRefundInstrumentFee:e.quitForm.isRefundInstrumentFee,isRefundTeachingAssistantsFee:e.quitForm.isRefundTeachingAssistantsFee,maintenanceFee:e.quitForm.maintenanceFee};e.quitForm.isCloudTeacherAmount?s.cloudTeacherAmount=e.quitForm.cloudTeacherAmount:s.cloudTeacherAmount=0,Object(u["b"])(s).then((function(t){e.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},200==t.code&&(e.$message.success("退团成功"),e.getList(),e.quitVisible=!1)}))})).catch((function(){}))}))},addVisit:function(e){e.userId=e.studentId,this.detail=e,this.detail.musicGroupId=this.$route.query.id,this.visitVisiable=!0},openChangeVoice:function(e){var t=this;this.getList().then((function(s){var a,i=Object(n["a"])(s.data.rows);try{for(i.s();!(a=i.n()).done;){var o=a.value;o.id===e.id&&(t.rowDetail=Object(r["a"])(Object(r["a"])({},o),{},{userId:o.studentId}),t.changeVoiceVisible=!0)}}catch(c){i.e(c)}finally{i.f()}}))},closeChangeVoice:function(){this.changeVoiceVisible=!1},handleChange:function(e){this.visitForm.type=e[0],this.visitForm.purpose=e[1]},submitAddVisit:function(){var e=this;this.$refs.visitForm.validate((function(t){t&&(e.visitForm.visitType=null,e.visitForm.musicGroupId=e.id,Object(w["a"])(G()(e.visitForm)).then((function(t){200===t.code&&(e.$message.success("新增成功"),e.visitVisiable=!1)})))}))},beginDate:function(e){return{firstDayOfWeek:1,disabledDate:function(t){return t.getTime()>=e.getTime()}}},extendTime:function(e){this.isPay=e,this.extendForm.expireDate=e?this.paymentExpireDate:this.applyExpireDate,this.extendPaymentStatus=!0},payDate:function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()+864e5<(new Date).getTime()}}},applyDate:function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()+864e5<(new Date).getTime()}}},checkboxSelect:function(e){return 0==e.paymentStatus}},watch:{"quitForm.isMaintenanceFee":function(e){this.quitForm.maintenanceFee=e?300:0},orderVisible:function(e){e||(this.orderForm={name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""})},qrcodeStatus:function(e){e||this.qrcode.clear()},qrcodeStatus2:function(e){e||this.qrcode2.clear()},paymentStatus:function(e){e||(this.paymentForm={paymentExpireDate:null})},quitVisible:function(e){e||(this.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},this.$refs["quitForm"].resetFields())}}},R=E,$=(s("13a2"),Object(v["a"])(R,a,i,!1,null,"55cb7cdc",null));t["default"]=$.exports},c34d:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACM1JREFUeAHlnH9oVVUcwHtvm27kjwoXKkKspBGRuswEmTO1/pBI8UeWkKV/RGqipMU2Z7HAH5urkQqa+UeUQWiuhH6QYMtyQyxdKKKMyKW2TRtb+CNm7lef72Pn8fbe/fnuefdu88Dl3Ht+fL/f87nnfO859573Qnf5GHp6ekIlJSWPdnV1TQiHw7lcy5ETCoVGYMZwObjuIb5B2k3ia1w2cF7PeT3x6a1bt57j3LcQSrWm4uLibHQs6O7unkUDZ9JguU46IOMqMn4E8JGhQ4d+VVpa2pa0MAcVUwIIo4fcunVrHvqXcsyhQekObHFdBFi3qfQtx77MzMyv0dvpWohNBa2AKisrs1paWl6lt7yF3nE2urVmA+tPBJaPHTv24zVr1vynS7gWQAcOHEirq6tbSU95G8Pu12VcMnIA1Uy9UnzVXs7Fn3kKngHhY6YCZjdHnidLNFcGzgn81KotW7bUeRGdNKA9e/ZkXLhwoQzlb3AkLceL8XZ1gdTNUZaXl/fO4sWLu+zKG+Un1TAe1Q/wqN5Pr5lqJLS/pQHpWFpa2pLNmzc3urXNNaDCwsICFB4Czr1ulQVZHptbOJ7DN51wY0fYTeGioqL5KDk80OBIG7E5m6N6w4YNc9y0Oc1pYZzxchTso/wQp3X6YbkMbHqhoKDg92PHjp11Yp+jISY9BzhfINAxUCfKAyzTwUiYW1ZW9r2dDbaA6DkzmPgdRtBQO2EDLP9fpgGz7XySJaCNGzfmdHR0yDzingHWeEfmiuNmiTKJJUqTWQVTJy3znM7Ozv2DFY4AEcfNmvFzWQm4BsQkcBsCpphVHCzptLGAZdK7Zu0xHGJMBKfRe2qoZJhvJmwAp3cx3KbgtH+Lb0PCEJPuxix51x0ER5jIEJP1ZEKHSBh748ePX0vBV6TWHRbGVVdXN9bU1PRZ3PbpQRUVFXfzSC/xCobu2skj9HniD73KclC/kjJL0dXtoKxlEdpeumPHjj7TmT5v+tra2l5DwihLKTaZAociLzK/qKInVjGPkqfFCptqyWZXlpeXr5fKrBHvQvcn6Opz010KHtvc3LyMOntUveiYE3JNTU0NKBijMt3GCg7OrkrVRV4ISLuIdUOKwlG6gPSSBkgNWVlZD6vXt1HajY2NC73AwcgejFsSC0cMJ62H3rSKWOdwS4AjuuhNn6FnmZx7CDnt7e3PqvpRQCS8rBKTjEOM4clGdTVDMoSj9HKTn1DnHuIoi8gQ4xXAGB7tlxGY8FRLQkkZd7LYqJ6G4WYJh0X1dnSsMdLtJo0bKl9LRjMa/on0IOAsIkEHHLGjCF+wVU7ig8ee5AscsRnI8kpnvpxHAGH4bLnQGHRD8g2OYgCkCJMw3jrMxQyVoTHWBcl3OMKATjMzEjNuJwPopEYw8aK8+KRA4KgGMNl9JAypCSohRXGyPckOzgfcWM8O2arNyJ8owyvXqpCmPLeQnMBZq8k2UzHCxi9AYoRTSP0CTi+13BA+6DSkUj3MYu+SpU+SqUBs4dhzbJVhlfKeo3Riy3F5zI9QCT7Flj3JzAa/4fTaMVIAyc4uv4MpJCNDAoIjE8ZhQQESDo4gBQVHDGSIDY/MpOUioGD5lZY7KGtF+RoaWBBANwLSbvm0EpvEYfOqZDWxvCMPItwMCpAtHEUjYEg3BNB1ZYwfMQ1+X70mdaovKEgM8esCqMGpoV7LCRzesbxpJgeHvJNji1F+EJDQ2SAz6Xojg3SnOYGDLas5iu0gYdtu3faZyKuXxWrKATmFo4y0g0QvfN0PSKzm68Ps3TujDEtF7BaOskEgWb2Z9AMSgE6HJ06cKN+jrynDdMbJwomxwXQyieyeVEJC/tVNmzadD8v2WC5+ijFKy6kGOMqOoCBViwHyFJMJ2Q8S6woa4SiTfIekmEQA8auZgyR4/rYtrUkBHN8h0Qb57HNIFEcAyRY0nKLnXpRCOFFITAFkd39CQLc2nwSL71jitIqSCKBebZ8maHWXIJ+eZdOVYZBJIIpXG2a6SERGoRUkRJna4FQN7YiyiALig/1BBFxxKsSgnHx6PsCjeV58ni44Sq4ZJPQsoUy0caq8mxg4F3Nycr5RdaJfU48ePdo5ffp0AfaMykwiFnkL8/Pzz9TW1kYmoLrhxNiUj71ZbHg6ImkCB3D7OI22Kaas41MAlSAr+nOFyLd5VRtfNIydDRe5vk+lJRl3MMlajMGzOTwPKysbaFA5+fJeXQecZrYFPwiHW0pnH0CSCL31KHtPFfAQy8v3BPke5FlV1aIL2CuZfPbZphP1QUo7BLdT8Ky69hD7BUdM9KyLNv9K2z+Kb6+hYHaETcfh/hxfeLBeA6ebNelUfk92Mr6Nhg4Nx3cJBziKwk/GVxiM1wDaxrzH8OmXMMQUALqbbI6sU9eDNQZOLW3daNY+wyGmCvNjlofYcV+H0/b746IyIaUxcFoZWnkMrctmikx7kFRguf8Hj+sFCJK1yWAL7bRrnhUcabChD4olwS/zGpj4yf9mLCTdssfF1uvP57RFNrovwu/Yrj9tAUlDcdrngHQFwbI9dqBDkp+HL2e+I0sr2+AIkEgB0ikgnZduyaXjerYW+FugHXWL+OzkCI6Y5ro3MNOehdP+krojRcAACm0Mq7kMq1o3Nls6aSNBdM3qjIyMyfSkU0b5/TENW49jV55bONIW14CkkjzdmDtM447s5NJ0w5OUDTjIO6oKbC1gWF1KxhbXQyxeCe9/8kmTzQWPxecFfF2Xnp6+ksf4L17sSKoHxSrkztTwsu1xetN67lbkNWVsfgDnf6NzNTZN8QpHbPfcg2IByA/yWltbV+DE5fv76Ng8H87/4iZVZGdn7123bp08rbQErYCURbxwyuTn1vLzqqWkPc2RkmkBPbYTHYeJ5S+65P/MtM/4UwJIgZK495dEizidxfEUh9c/KWhDxlGOIwyjKqDIkEpZSDmgWMtpTPj27duTeNc0gTufy51P+JvA3vKy602Oa5SL/E0gZSN/E4hfOc25b0/O/wFGCwAhyqFeLQAAAABJRU5ErkJggg=="},c477:function(e,t,s){},c78f:function(e,t,s){},c82e:function(e,t,s){},cd32:function(e,t,s){"use strict";var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.detail?s("div",[e.detail?s("reviewDetail",{attrs:{detail:e.detail}}):e._e(),e._v(" "),"AUDITING"==e.detail.status?s("el-alert",{staticClass:"alert",staticStyle:{margin:"20px 0"},attrs:{title:"审核意见",closable:!1,type:"info"}}):e._e(),e._v(" "),"AUDITING"==e.detail.status?s("el-input",{attrs:{type:"textarea",autosize:{minRows:2,maxRows:4},placeholder:"请输入审核意见"},model:{value:e.remark,callback:function(t){e.remark=t},expression:"remark"}}):e._e(),e._v(" "),"AUDITING"==e.detail.status?s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e.permission(e.getFullPermission("musicGroupPaymentCalender/auditPass"))?s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submit(1)}}},[e._v("审核通过")]):e._e(),e._v(" "),e.permission(e.getFullPermission("musicGroupPaymentCalender/auditRefuse"))?s("el-button",{attrs:{type:"danger"},on:{click:function(t){return e.submit(0)}}},[e._v("驳回")]):e._e(),e._v(" "),s("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("关 闭")])],1):s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{type:"primary"},on:{click:e.$listeners.close}},[e._v("关闭")])],1)],1):e._e()},i=[],r=(s("96cf"),s("1da1")),n=s("ec8a"),o=s("3762"),c=s("b38b"),l={props:["detail"],components:{reviewDetail:o["a"]},data:function(){return{remark:""}},methods:{submit:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.remark){e.next=2;break}return e.abrupt("return",this.$message.error("请输入审核意见"));case 2:if(!t){e.next=14;break}return e.prev=3,e.next=6,this.$confirm("是否确认审核通过","提示",{type:"warning"});case 6:return e.next=8,Object(c["a"])({batchNo:this.detail.batchNo,auditMemo:this.remark}).then((function(e){200==e.code&&(s.$message.success("审核通过"),s.$emit("close"))}));case 8:e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](3);case 12:e.next=23;break;case 14:return e.prev=14,e.next=17,this.$confirm("是否确认驳回","提示",{type:"warning"});case 17:return e.next=19,Object(c["b"])({batchNo:this.detail.batchNo,auditMemo:this.remark}).then((function(e){200==e.code&&(s.$message.success("驳回成功"),s.$emit("close"))}));case 19:e.next=23;break;case 21:e.prev=21,e.t1=e["catch"](14);case 23:case"end":return e.stop()}}),e,this,[[3,10],[14,21]])})));function t(t){return e.apply(this,arguments)}return t}(),permission:function(e){return Object(n["a"])(e)}}},u=l,p=(s("346a"),s("2877")),d=Object(p["a"])(u,a,i,!1,null,"59fb2832",null);t["a"]=d.exports},cd89:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAADMElEQVRYR82YO2gUYRDH//897y74Ju52KmgsFKwEG43BQrSwSKUoNoKiEYx4p4KWKbRRkkDEVxEsDIpWESwUwSiJIEErwTQ+ULu7CCEG7na5/cuud/HyutvHgbftzsz3Y2a+mfmGCPnp4ppNxVLyAIl2CNtEbiSwyjMjYJrSdxCfJIymE85z3pj6GuYIBhF+fAiJzvXmIYFnCewCEUgPggS8JXRz+Gf+yeEnKNU7r65h5/y6fSWDAwS31jNW67+giYSr7mT/5MtacksC6ThanFazX+KpwB6pRyyI1L3kr/x53kdhMfFFgaa7V1qpZMszgDvrnRHtv8Ztp3Bw1cDv3Hz9BUBlmDcIF6KZsuEVwQE1YTuFjvlQc4C8MNmtpgcTyjMJqNMDKYHDwYH8ezme+pXvqA7fHCA7a94ReDqcUcCQ9no6LjkSVpfQ3VRvvquiNwvk3SaXxosoCRwHyCsNhtz9ldvnA/l1ZoP5MWTezDojFpBfUDXx9Ed+u1enfKBixjwC8mFYd1fk4wL5dqSj6b78Ix/IzlqjAnb/TyACY6neXDu93mSXUp+j5E5jPQSlEnYbCxmzi+TtqN7x9BoSMj9qOkM7az4QeKwZgAgN0c6Y70XuaAog6QPtrJUTYDYFEJBnMWt5XTcdF8gtlSaRWPYOxPIYtooNAQLUk+rN9xTPWVuwDIME2iNCFVnIWjnGDJl3OKFXruucTK+d+uZMW91ycS2st+SFrBFJXdUYfwPu5WTv5K1iZnWbwfSggD2BvfU3qeNf+wVDljTiyjmR7p/6VsxY3QZxVUCAWUlDDSmMS3hgRq57Jd0/eROX1mx2SslBgR21vOUXxka0jlqHEHrtOs6J9MDUF+eCeV3ihUXlVW4d3s9CxholozfXADkyI6nHINqWGgAljLX05dobMn4EAKovUj1+xB3Q6p9WW2LBgOaJxxlhYwEtNsJWDEYd8uMALTnk+1NkxGdQdKA6zyDPcMSHYgSmAA/FitWmekpXoJpq2VDtf//2GRyI+mb7Z0sTRpx1TDVUZWFF8qwUbmFF4q3UwIXV/GytrPSM8koP5EaVV3oEplFe6bkRV3p/ABNMtOh7n8IQAAAAAElFTkSuQmCC"},d0f4:function(e,t,s){"use strict";s("0964")},d1aa:function(e,t,s){},d349:function(e,t,s){"use strict";s.d(t,"e",(function(){return l})),s.d(t,"d",(function(){return u})),s.d(t,"f",(function(){return p})),s.d(t,"c",(function(){return d})),s.d(t,"s",(function(){return m})),s.d(t,"G",(function(){return h})),s.d(t,"H",(function(){return f})),s.d(t,"h",(function(){return y})),s.d(t,"l",(function(){return v})),s.d(t,"g",(function(){return b})),s.d(t,"m",(function(){return g})),s.d(t,"v",(function(){return _})),s.d(t,"t",(function(){return S})),s.d(t,"u",(function(){return w})),s.d(t,"i",(function(){return k})),s.d(t,"j",(function(){return x})),s.d(t,"p",(function(){return C})),s.d(t,"k",(function(){return T})),s.d(t,"w",(function(){return F})),s.d(t,"I",(function(){return P})),s.d(t,"n",(function(){return O})),s.d(t,"x",(function(){return I})),s.d(t,"A",(function(){return j})),s.d(t,"y",(function(){return L})),s.d(t,"z",(function(){return D})),s.d(t,"r",(function(){return G})),s.d(t,"b",(function(){return A})),s.d(t,"F",(function(){return N})),s.d(t,"q",(function(){return E})),s.d(t,"E",(function(){return R})),s.d(t,"a",(function(){return $})),s.d(t,"o",(function(){return V})),s.d(t,"C",(function(){return M})),s.d(t,"B",(function(){return q})),s.d(t,"D",(function(){return U}));var a=s("15fd"),i=s("b775"),r=s("829b"),n=s("4328"),o=s.n(n),c="/api-web";function l(e){return Object(i["a"])({url:c+"/organization/queryPage",method:"get",params:e})}function u(e){return Object(i["a"])({url:c+"/organization/add",method:"post",data:o.a.stringify(e)})}function p(e){return Object(i["a"])({url:c+"/organization/update",method:"post",data:o.a.stringify(e)})}function d(e){return Object(i["a"])({url:c+"/area/queryChild",method:"get",params:e})}function m(e){return Object(i["a"])({url:c+"/area/getParentArea/".concat(e.id),method:"get"})}function h(e){return Object(i["a"])({url:c+"/subject/queryPageTree",method:"get",params:e})}function f(e){return Object(i["a"])({url:c+"/subject/upset",method:"post",data:e})}function y(e){return Object(i["a"])({url:c+"/chargeType/queryPage",method:"get",params:e})}function v(e){return Object(i["a"])({url:c+"/chargeType/upSet",method:"post",data:e})}function b(e){return Object(i["a"])({url:c+"/chargeType/del/".concat(e),method:"post"})}function g(e){return Object(i["a"])({url:c+"/courseHomeworkTemplate/queryPage",method:"post",data:e})}function _(e){return Object(i["a"])({url:c+"/courseHomeworkTemplate/update",method:"post",data:o.a.stringify(e)})}function S(e){return Object(i["a"])({url:c+"/courseHomeworkTemplate/add",method:"post",data:o.a.stringify(e)})}function w(e){return Object(i["a"])({url:c+"/courseHomeworkTemplate/del/".concat(e),method:"post"})}function k(e){return Object(i["a"])({url:c+"/chargeTypeOrganizationFee/add",method:"post",data:o.a.stringify(e)})}function x(e){return Object(i["a"])({url:c+"/chargeTypeOrganizationFee/update",method:"post",data:o.a.stringify(e)})}function C(e){return Object(i["a"])({url:c+"/employee/findEducationTeacher",method:"get",params:e})}function T(e){return Object(r["a"])({url:c+"/chargeTypeSubjectMapper/queryPage",method:"get",data:{},params:e,requestType:"form"})}function F(e){return Object(r["a"])({url:c+"/chargeTypeSubjectMapper/insert",method:"post",data:e})}function P(e){return Object(r["a"])({url:c+"/chargeTypeSubjectMapper/update",method:"post",data:e})}function O(e){var t=e.id,s=Object(a["a"])(e,["id"]);return Object(r["a"])({url:c+"/chargeTypeSubjectMapper/del/"+t,method:"post",params:s})}function I(e){return Object(r["a"])({url:c+"/musicGroupOrganizationCourseSettings/add",method:"post",data:e})}function j(e){return Object(r["a"])({url:c+"/musicGroupOrganizationCourseSettings/update",method:"post",data:e})}function L(e){return Object(r["a"])({url:c+"/musicGroupOrganizationCourseSettings/delSetting",method:"post",data:{},params:e,requestType:"form"})}function D(e){return Object(r["a"])({url:c+"/musicGroupOrganizationCourseSettings/queryPage",method:"get",data:{},params:e,requestType:"form"})}function G(e){return Object(r["a"])({url:c+"/organizationCourseUnitPriceSettings/queryPage",method:"get",params:e,data:{},requestType:"form"})}function A(e){return Object(r["a"])({url:c+"/organizationCourseUnitPriceSettings/insert",method:"post",data:e})}function N(e){return Object(r["a"])({url:c+"/organizationCourseUnitPriceSettings/update",method:"post",data:e})}function E(e){return Object(r["a"])({url:c+"/organizationCourseDurationSettings/queryPage",method:"get",data:{},params:e})}function R(e){return Object(r["a"])({url:c+"/organizationCourseDurationSettings/update",method:"post",params:e})}function $(e){return Object(r["a"])({url:c+"/organizationCourseDurationSettings/insert",method:"post",params:e})}function V(e){return Object(r["a"])({url:c+"/organizationCourseDurationSettings/del",method:"post",data:e})}function M(e){return Object(r["a"])({url:c+"/organizationCloudTeacherFee/queryPage",method:"get",params:e})}function q(e){return Object(r["a"])({url:c+"/organizationCloudTeacherFee/add",method:"post",requestType:"form",data:e})}function U(e){return Object(r["a"])({url:c+"/organizationCloudTeacherFee/update",method:"post",requestType:"form",data:e})}},d80b:function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"forecastName"},[s("div",{staticClass:"btnList"},[e.isedit?s("auth",{attrs:{auths:["forecastName/forecastLink"]}},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.codeStatus=!0}}},[e._v("预报名链接")])],1):e._e(),e._v(" "),e.isedit?s("auth",{attrs:{auths:["musicGroup/sendParentMeetingNotice"]}},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.extendPaymentStatus=!0}}},[e._v("家长会通知")])],1):e._e(),e._v(" "),s("auth",{attrs:{auths:["musicGroup/finishPreApply"]}},[e.isedit?s("el-button",{attrs:{type:"primary"},on:{click:e.onPaymentGroup}},[e._v("乐团缴费")]):e._e()],1),e._v(" "),e.isedit?s("auth",{attrs:{auths:["musicGroup/finishPreApply/item"]}},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onPaymentGroup(1)}}},[e._v("特色乐团缴费")])],1):e._e(),e._v(" "),s("auth",{attrs:{auths:["studentRegistration/preRegisterExport"]}},[s("el-button",{attrs:{type:"primary"},on:{click:e.downloadFile}},[e._v("导出")])],1),e._v(" "),s("auth",{attrs:{auths:["studentRegistration/queryPreApplySubjectList"]}},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.subjectVisible=!0}}},[e._v("意向统计")])],1)],1),e._v(" "),s("div",{staticClass:"m-core"},[s("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{reset:e.onReSet,submit:e.search}},[s("el-form-item",{attrs:{prop:"name"}},[s("el-input",{attrs:{clearable:"",placeholder:"学生编号/姓名/手机号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name","string"===typeof t?t.trim():t)},expression:"searchForm.name"}})],1),e._v(" "),s("el-form-item",{attrs:{prop:"isAllowAdjust"}},[s("el-select",{attrs:{clearable:"",placeholder:"是否允许调剂"},model:{value:e.searchForm.isAllowAdjust,callback:function(t){e.$set(e.searchForm,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchForm.isAllowAdjust"}},[s("el-option",{attrs:{label:"是",value:1}}),e._v(" "),s("el-option",{attrs:{label:"否",value:0}})],1)],1),e._v(" "),s("el-form-item",{attrs:{prop:"subjectId"}},[s("el-select",{attrs:{clearable:"",placeholder:"所选专业"},model:{value:e.searchForm.subjectId,callback:function(t){e.$set(e.searchForm,"subjectId",t)},expression:"searchForm.subjectId"}},e._l(e.selects.subjects,(function(e){return s("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"danger","native-type":"seach"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),s("div",{staticClass:"tableWrap"},[s("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[s("el-table-column",{attrs:{align:"center",prop:"userId",label:"学员编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.userId))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"userName",label:"学员姓名"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"gender",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.gender?"男":"女")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"phone",label:"联系电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"年级班级"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.currentGrade)+e._s(t.row.currentClass)+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"subjectFirstName",label:"选报声部1"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subjectFirstName?t.row.subjectFirstName:null)+"\n "+e._s(t.row.subjectFirstName||999!=t.row.subjectFirst?null:"听从老师安排")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"subjectSecondName",label:"选报声部2"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subjectSecondName?t.row.subjectSecondName:null)+"\n "+e._s(t.row.subjectSecondName||999!=t.row.subjectSecond?null:"听从老师安排")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"isAllowAdjust",label:"是否服从调剂"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isAllowAdjust?"是":"否")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"realName",label:"乐器准备方式"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("instrumentType")(t.row.kitPurchaseMethod))+"\n ")]}}])}),e._v(" "),e.isedit?s("el-table-column",{attrs:{align:"center",prop:"courseScheduleId",width:"150",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("auth",{attrs:{auths:["visit/add/teamForecastName"]}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.addVisited(t.row)}}},[e._v("新增回访")])],1)]}}],null,!1,3377006125)}):e._e()],1),e._v(" "),s("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1),e._v(" "),s("qr-code",{attrs:{title:"预报名二维码",codeUrl:e.codeUrl},model:{value:e.codeStatus,callback:function(t){e.codeStatus=t},expression:"codeStatus"}}),e._v(" "),s("el-dialog",{attrs:{title:"发送家长会通知",visible:e.extendPaymentStatus,width:"400px"},on:{"update:visible":function(t){e.extendPaymentStatus=t},close:function(t){return e.onClose("extendForm")}}},[s("el-form",{ref:"extendForm",attrs:{"label-width":"110px",model:e.extendForm,rules:e.extendRule}},[s("el-form-item",{attrs:{label:"家长会时间",prop:"meetingDate"}},[s("el-date-picker",{staticStyle:{width:"100% !important"},attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime","picker-options":e.applyDates,placeholder:"请选择家长会时间"},model:{value:e.extendForm.meetingDate,callback:function(t){e.$set(e.extendForm,"meetingDate","string"===typeof t?t.trim():t)},expression:"extendForm.meetingDate"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"家长会地址",prop:"address"}},[s("el-input",{attrs:{placeholder:"请输入家长会地址"},model:{value:e.extendForm.address,callback:function(t){e.$set(e.extendForm,"address",t)},expression:"extendForm.address"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.extendPaymentStatus=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onExtendPayment("extendForm")}}},[e._v("确 定")])],1)],1),e._v(" "),s("el-dialog",{attrs:{title:"新增回访",width:"600px","destroy-on-close":"","close-on-click-modal":!1,visible:e.visitVisible},on:{"update:visible":function(t){e.visitVisible=t}}},[e.visitVisible?s("visit-model",{attrs:{detail:e.visitDetail},on:{close:function(t){e.visitVisible=!1},submited:e.getList}}):e._e()],1),e._v(" "),s("el-dialog",{attrs:{title:"意向列表",width:"600px","destroy-on-close":"","close-on-click-modal":!1,visible:e.subjectVisible},on:{"update:visible":function(t){e.subjectVisible=t}}},[e.subjectVisible?s("intention-model",{on:{close:function(t){e.subjectVisible=!1}}}):e._e()],1)],1)},i=[],r=(s("96cf"),s("1da1")),n=s("5530"),o=(s("386d"),s("7f7f"),s("333d")),c=s("641c"),l=s("ec8a"),u=s("61f7"),p=s("adb21"),d=s("4edf"),m=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.list}},[s("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"}}),e._v(" "),s("el-table-column",{attrs:{prop:"firstSubjectNum",align:"center",label:"首选人数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.firstSubjectNum)+"人\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"secondSubjectNum",align:"center",label:"次选人数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.secondSubjectNum)+"人\n ")]}}])})],1)],1)},h=[],f=s("3078"),y={data:function(){var e=this.$route.query;return{list:[],musicGroupId:e.id}},mounted:function(){this.FetchList()},methods:{FetchList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["g"])({musicGroupId:this.musicGroupId});case 2:t=e.sent,this.list=t.data;case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}},v=y,b=(s("9deb"),s("2877")),g=Object(b["a"])(v,m,h,!1,null,"1a2dbaa6",null),_=g.exports,S={name:"forecastName",components:{pagination:o["a"],qrCode:c["a"],visitModel:d["a"],intentionModel:_},props:["isedit"],data:function(){var e=this.$route.query;return{teamName:e.name||null,codeStatus:!1,musicGroupId:e.id,codeUrl:Object(u["d"])()+"/project/forecastName/index.html?musicGroupId="+e.id,searchForm:{name:null,subjectId:null,isAllowAdjust:null},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},visitVisible:!1,subjectVisible:!1,visitDetail:null,extendPaymentStatus:!1,extendForm:{meetingDate:null,address:null},extendRule:{meetingDate:[{required:!0,message:"请选择家长会时间",trigger:"change"}],address:[{required:!0,message:"请输入家长会地址",trigger:"blur"}]}}},mounted:function(){this.$store.dispatch("setSubjects"),this.getList()},methods:{permission:l["a"],onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/teamList"})},downloadFile:function(){var e=this.searchForm;Object(p["a"])(this,{url:"/api-web/studentRegistration/preRegisterExport",params:Object(n["a"])(Object(n["a"])({},e),{},{musicGroupId:this.musicGroupId}),fileName:"预报名列表.xls"},"是否确认导出报表?")},getList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(f["f"])(Object(n["a"])(Object(n["a"])({},this.searchForm),{},{musicGroupId:this.musicGroupId,page:this.pageInfo.page,rows:this.pageInfo.limit}));case 3:t=e.sent,this.tableList=t.data.rows,this.pageInfo.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),onPaymentGroup:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{this.$confirm("您是否确定开启乐团缴费?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["d"])({isCheckStudentNum:1!=t,musicGroupId:s.musicGroupId});case 2:e.sent,s.$store.dispatch("delVisitedViews",s.$route),s.$router.push({path:"/teamList"});case 5:case"end":return e.stop()}}),e)}))))}catch(a){}case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),addVisited:function(e){this.visitVisible=!0,this.visitDetail={musicGroupId:e.musicGroupId,overview:"",purpose:"",userId:e.userId,type:"",visitTime:"",visitType:"",feedback:"",realName:e.userName}},onClose:function(e){this.$refs[e].resetFields()},onExtendPayment:function(e){var t=this;this.$refs[e].validate(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(s){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!s){e.next=12;break}return e.prev=1,e.next=4,t.$confirm("您是否确定发送家长会通知?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 4:return e.next=6,Object(f["h"])(Object(n["a"])(Object(n["a"])({},t.extendForm),{},{musicGroupId:t.musicGroupId}));case 6:t.$message.success("家长会通知已发送"),t.extendPaymentStatus=!1,e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](1);case 12:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}())},applyDates:function(){return{firstDayOfWeek:1,disabledDate:function(e){return end?new Date(end).getTime()-864e5>=e.getTime():e.getTime()+864e5=t.getTime():t.getTime()+864e5-1||t.subjectName.indexOf(e)>-1||t.gender.indexOf(e)>-1},renderFunc:function(e,t){return e("div",{class:"line"},[e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"top","open-delay":300}},[e("span",{slot:"content"},[t.name]),e("span",{class:"select-item"},[t.name])]),e("span",[t.gender]),e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"top","open-delay":300}},[e("span",{slot:"content"},[t.subjectName]),e("span",{class:"select-item"},[t.subjectName])])])},change:function(e){this.$listeners.changeActiveChioseSound(e),this.$listeners.searchStudent()},submit:function(){var e=this;return!this.isOnlyChangeUser&&"HIGH_ONLINE"==this.activeType&&(this.seleched.length<3||this.seleched.length>5)?this.$message.error("线上技能班必须为3-5人"):"MUSIC_NETWORK"==this.activeType&&this.seleched.length<1&&!this.isStudentRemove?this.$message.error("请选择一名学生"):"MUSIC_NETWORK"==this.activeType&&this.seleched.length>1?this.$message.error("乐团网管课仅可添加一名学生"):void this.$refs.form.validate(function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(s){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!s){t.next=15;break}if(!e.isOnlyChangeUser||"change"===e.type){t.next=14;break}return t.prev=2,t.next=5,Object(l["c"])({classGroupId:e.classGroupId,studentIds:e.seleched.join(",")});case 5:e.$message.success("提交成功"),t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](2);case 10:e.$listeners.submited(),e.$listeners.close(),t.next=15;break;case 14:e.$listeners.submited(Object(r["a"])(Object(r["a"])({seleched:e.seleched},e.form),{},{soundList:e.sound}));case 15:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}())}}},d=p,m=(s("8f19"),s("2877")),h=Object(m["a"])(d,a,i,!1,null,"791703d4",null);t["a"]=h.exports},fa7d:function(e,t,s){"use strict";s.d(t,"b",(function(){return i})),s.d(t,"c",(function(){return r})),s.d(t,"a",(function(){return n})),s.d(t,"d",(function(){return o}));var a=s("5530"),i=(s("a481"),s("5a0c"),function(e){var t=new Date(e.replace(/-/g,"/")).getTime(),s=new Date(e);0==s.getDay()&&(t-=6048e5);var a=t-24*(s.getDay()-1)*60*60*1e3,i=new Date(a),r=i.getFullYear(),n=i.getMonth()+1<10?"0"+(i.getMonth()+1):i.getMonth()+1,o=i.getDate()<10?"0"+i.getDate():i.getDate(),c=r+"-"+n+"-"+o;return c}),r=function(e){var t=new Date(e.replace(/-/g,"/")).getTime(),s=new Date(e),a=7-s.getDay();7==a&&(a=0);var i=t+24*a*60*60*1e3,r=new Date(i),n=r.getFullYear(),o=r.getMonth()+1<10?"0"+(r.getMonth()+1):r.getMonth()+1,c=r.getDate()<10?"0"+r.getDate():r.getDate(),l=n+"-"+o+"-"+c;return l},n=function(e){var t=[];switch(e){case"NORMAL":t=[{value:"SINGLE",label:"声部课"},{value:"TRAINING_SINGLE",label:"集训声部课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}];break;case"MIX":t=[{value:"MIX",label:"合奏课"},{value:"TRAINING_MIX",label:"集训合奏课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}];break;case"HIGH":t=[{value:"HIGH",label:"基础技能课"}];break;case"HIGH_ONLINE":t=[{value:"HIGH_ONLINE",label:"线上基础技能课"}];break;case"MUSIC_NETWORK":t=[{value:"MUSIC_NETWORK",label:"乐团网管课"}];break;case"SNAP":t=[{value:"SINGLE",label:"声部课"},{value:"MIX",label:"合奏课"},{value:"TRAINING_SINGLE",label:"集训声部课"},{value:"TRAINING_MIX",label:"集训合奏课"},{value:"HIGH",label:"基础技能课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}]}return t},o=function(e,t){e.$router.replace({query:Object(a["a"])(Object(a["a"])({},e.$route.query),t)})}},fc1a:function(e,t,s){"use strict";s("ba30")},ff14:function(e,t,s){"use strict";var a,i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.basdisabled?e._e():s("div",{class:e.isField?"soundBtnWrap":"soundBtnFixed"},["resetTeam"==e.teamStatus||e.basdisabled?e._e():s("el-button",{attrs:{type:"primary"},on:{click:e.allin}},[e._v("全选")]),e._v(" "),"resetTeam"==e.teamStatus||e.basdisabled?e._e():s("el-button",{attrs:{type:"danger"},on:{click:e.deleteRow}},[e._v("删除")]),e._v(" "),e.basdisabled?e._e():s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.soundVisible=!0}}},[e._v("添加")])],1),e._v(" "),e.basdisabled?e._e():s("div",{staticClass:"wall"}),e._v(" "),s("div",{staticClass:"coreWrap"},[s("el-checkbox-group",{on:{change:e.lookCheck},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},[s("el-collapse",{model:{value:e.chioseActiveSound,callback:function(t){e.chioseActiveSound=t},expression:"chioseActiveSound"}},e._l(e.activeSoundList,(function(t,a){return s("el-collapse-item",{key:a,attrs:{name:t.id}},[s("template",{slot:"title"},[s("div",{staticClass:"coreItemTitle"},[s("el-checkbox",{attrs:{label:t.id,disabled:e.basdisabled}},[e._v(e._s(t.sound))])],1)]),e._v(" "),s("div",{staticClass:"coreItem"},[s("div",{staticClass:"coreItemRow"},[s("p",{staticClass:"title"},[e._v("计划招生人数:")]),e._v(" "),s("el-input",{staticStyle:{width:"180px"},attrs:{disabled:e.basdisabled},model:{value:t.expectedStudentNum,callback:function(s){e.$set(t,"expectedStudentNum",s)},expression:"item.expectedStudentNum"}})],1)]),e._v(" "),s("el-divider"),e._v(" "),s("chioseMusic",{attrs:{activeSoundList:e.activeSoundList,item:t,basdisabled:e.basdisabled},on:{lookMusic:e.lookMusic}}),e._v(" "),s("div",{staticClass:"coreItemRow"},[s("p",{staticClass:"title"},[e._v("教辅:")]),e._v(" "),s("select-all",{staticStyle:{width:"558px !important"},attrs:{disabled:e.basdisabled,clearable:"",filterable:"",multiple:""},model:{value:t.markChioseList,callback:function(s){e.$set(t,"markChioseList",s)},expression:"item.markChioseList"}},e._l(t.markList,(function(t,a){return s("el-option",{key:a,attrs:{label:t.name,value:t.id}},[s("span",{staticStyle:{float:"left"}},[e._v(e._s(t.name))]),e._v(" "),s("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px","padding-right":"20px"}},[e._v(e._s(e._f("moneyFormat")(t.groupPurchasePrice))+"元")])])})),1)],1)],2)})),1)],1)],1),e._v(" "),e.soundVisible?s("el-dialog",{attrs:{title:"声部选择",visible:e.soundVisible},on:{"update:visible":function(t){e.soundVisible=t}}},[s("chioseSoundList",{attrs:{soundList:e.soundList,activeSound:e.activeSound},on:{chioseSound:e.chioseSound}})],1):e._e()],1)},r=[],n=s("5530"),o=(s("7f7f"),s("6762"),s("2fdb"),s("5df3"),s("4f7f"),s("2909")),c=(s("456d"),s("28a5"),s("ac6a"),s("ade3")),l=(s("4360"),s("fa7d"),s("1cc7")),u=(s("5a0c"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"soundWrap"},[s("el-checkbox-group",{model:{value:e.activeSoundList,callback:function(t){e.activeSoundList="string"===typeof t?t.trim():t},expression:"activeSoundList"}},[s("div",{staticClass:"itemList"},e._l(e.soundList,(function(t){return s("div",{key:t.id,staticClass:"categroy"},[s("p",[e._v(e._s(t.name))]),e._v(" "),e._l(t.subjects,(function(t,a){return s("el-checkbox",{key:a,attrs:{label:t.id,disabled:e.activeSound.includes(t.id)},on:{change:e.changeCheck}},[e._v(e._s(t.name))])}))],2)})),0)])],1),e._v(" "),s("p",{staticClass:"soundSubP"},[e._v("当前选择声部数:"+e._s(e.activeSoundList.length))]),e._v(" "),s("div",{staticClass:"btnWraps"},[s("el-button",{attrs:{type:"primary"},on:{click:e.generates}},[e._v("\n 确定\n ")])],1)])}),p=[],d={props:["soundList","childSoundList","activeSound"],data:function(){return{chioseSoundNum:"",activeSoundList:this.activeSound||[]}},mounted:function(){console.log(this.soundList)},activated:function(){},methods:{generates:function(){this.$emit("chioseSound",this.activeSoundList)},changeCheck:function(){}}},m=d,h=(s("e323"),s("2877")),f=Object(h["a"])(m,u,p,!1,null,"6021a80f",null),y=f.exports,v=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e._l(e.item.chioseMusic,(function(t,a){return s("div",{key:a},[s("div",{staticClass:"chioseMusic"},[s("div",{staticClass:"flexRow"},[s("p",{staticClass:"title"},[e._v("可选乐器"+e._s(a+1)+":")]),e._v(" "),s("el-select",{staticStyle:{width:"180px"},attrs:{disabled:e.basdisabled},on:{change:function(s){e.chioseMusic(s,t)}},model:{value:t.musical,callback:function(s){e.$set(t,"musical",s)},expression:"music.musical"}},e._l(e.item.goodsList,(function(t,a){return s("el-option",{key:a,attrs:{label:t.name,value:t.id,disabled:e.checkDisabled(t)}})})),1)],1),e._v(" "),s("div",{staticClass:"flexRow"},[s("p",{staticClass:"title"},[e._v("乐器提供方式:")]),e._v(" "),s("el-checkbox-group",{staticClass:"marginLeft10",model:{value:t.type,callback:function(s){e.$set(t,"type",s)},expression:"music.type"}},[s("el-checkbox",{attrs:{disabled:e.basdisabled,label:"GROUP"}},[e._v("团购")]),e._v(" "),s("el-checkbox",{attrs:{disabled:e.basdisabled,label:"LEASE"}},[e._v("租赁")]),e._v(" "),s("el-checkbox",{attrs:{disabled:e.basdisabled,label:"FREE"}},[e._v("免费")])],1)],1),e._v(" "),s("div",{staticClass:"flexRow"},[s("p",{directives:[{name:"show",rawName:"v-show",value:!!(t.type&&t.type.length>0)&&t.type.includes("GROUP"),expression:"\n music.type && music.type.length > 0\n ? music.type.includes('GROUP')\n : false\n "}],staticClass:"title"},[e._v("\n 团购价:\n ")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!!(t.type&&t.type.length>0)&&t.type.includes("GROUP"),expression:"\n music.type && music.type.length > 0\n ? music.type.includes('GROUP')\n : false\n "}],staticStyle:{width:"180px"}},[s("el-input",{attrs:{type:"number",disabled:""},model:{value:t.groupPrice,callback:function(s){e.$set(t,"groupPrice",s)},expression:"music.groupPrice"}},[s("template",{slot:"append"},[e._v("元")])],2)],1),e._v(" "),s("p",{directives:[{name:"show",rawName:"v-show",value:!!(t.type&&t.type.length>0)&&t.type.includes("LEASE"),expression:"\n music.type && music.type.length > 0\n ? music.type.includes('LEASE')\n : false\n "}],staticClass:"title"},[e._v("\n 租赁押金:\n ")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!!(t.type&&t.type.length>0)&&t.type.includes("LEASE"),expression:"\n music.type && music.type.length > 0\n ? music.type.includes('LEASE')\n : false\n "}],staticStyle:{width:"180px"}},[s("el-input",{attrs:{type:"number",disabled:e.basdisabled},model:{value:t.borrowPrice,callback:function(s){e.$set(t,"borrowPrice",s)},expression:"music.borrowPrice"}},[s("template",{slot:"append"},[e._v("元")])],2)],1),e._v(" "),e.item.chioseMusic.length>1&&!e.basdisabled&&(t.type.includes("LEASE")||t.type.includes("GROUP"))?s("i",{staticClass:"el-icon-close marginLeft10",staticStyle:{"font-size":"20px",cursor:"pointer"},on:{click:function(s){return e.deleteMusic(t)}}}):e._e()]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!!(t.type&&t.type.length>0)&&t.type.includes("GROUP"),expression:"\n music.type && music.type.length > 0\n ? music.type.includes('GROUP')\n : false\n "}],staticStyle:{"margin-top":"5px"}},[s("div",{staticClass:"flexRow"},[s("p",{staticClass:"title"},[e._v("团购乐器减免课程费用:")]),e._v(" "),s("el-radio-group",{directives:[{name:"show",rawName:"v-show",value:!!(t.type&&t.type.length>0)&&t.type.includes("GROUP"),expression:"\n music.type && music.type.length > 0\n ? music.type.includes('GROUP')\n : false\n "}],model:{value:t.groupRemissionCourseFee,callback:function(s){e.$set(t,"groupRemissionCourseFee",s)},expression:"music.groupRemissionCourseFee"}},[s("el-radio",{attrs:{disabled:e.basdisabled,label:!0}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{disabled:e.basdisabled,label:!1}},[e._v("否")])],1)],1)])]),e._v(" "),s("el-divider")],1)})),e._v(" "),e.basdisabled?e._e():s("div",{staticClass:"coreItemRow"},[s("p",{staticClass:"title"}),e._v(" "),s("el-button",{staticStyle:{width:"558px"},attrs:{type:"info",plain:"",size:"mini",icon:"el-icon-plus"},on:{click:e.addMusic}},[e._v("新增可选乐器")])],1)],2)},b=[],g={props:["item","basdisabled","activeSoundList"],data:function(){return{radio:"",goods:""}},created:function(){},mounted:function(){},methods:{chioseMusic:function(e,t){this.item.goodsList.map((function(s,a){s.id==e&&(t.groupPrice=s.groupPurchasePrice)}))},addMusic:function(){this.item.chioseMusic.push({musical:"",type:["GROUP"],groupPrice:null,borrowPrice:1500,groupRemissionCourseFee:0}),this.$emit("lookMusic")},deleteMusic:function(e){var t=this;this.item.chioseMusic.forEach((function(s,a){s.musical==e.musical&&t.item.chioseMusic.splice(a,1)}))},checkDisabled:function(e){var t=!1;return this.activeSoundList.forEach((function(s){s.chioseMusic.forEach((function(s){e.id==s.musical&&(t=!0)}))})),t},changeFee:function(e,t){this.$set(t,"groupRemissionCourseFee",e)}}},_=g,S=(s("eb49"),Object(h["a"])(_,v,b,!1,null,"15b4cece",null)),w=S.exports,k=s("2ef0"),x=(s("6612"),a={components:{chioseSoundList:y,chioseMusic:w},data:function(){var e;return e={soundList:[],soundVisible:!1,childSoundList:[],activeSoundList:[],activeSound:null,chioseActiveSound:[]},Object(c["a"])(e,"soundList",[]),Object(c["a"])(e,"childSoundList",[]),Object(c["a"])(e,"teamStatus",""),Object(c["a"])(e,"checkList",[]),Object(c["a"])(e,"basdisabled",!1),Object(c["a"])(e,"teamid",""),Object(c["a"])(e,"isField",!0),e},mounted:function(){var e=this;this.$route.query.id&&(this.teamid=this.$route.query.id),window.addEventListener("scroll",this.getScroll),this.$nextTick((function(t){e.init()}))},deactivated:function(){window.removeEventListener("scroll",this.getScroll)},beforeDestroy:function(){this.setStore(),window.removeEventListener("scroll",this.getScroll)},activated:function(){(this.teamid&&this.teamid!=this.$route.query.id||this.teamStatus!=this.$route.query.type||!this.teamid&&this.activeSoundList.length<1)&&this.init(),this.teamStatus=this.$route.query.type,"look"==this.teamStatus||"teamAudit"==this.teamStatus||"feeAudit"==this.teamStatus||"teamCanceled"==this.teamStatus?this.basdisabled=!0:this.basdisabled=!1}},Object(c["a"])(a,"deactivated",(function(){this.activeSoundList=[]})),Object(c["a"])(a,"methods",{setStore:function(){localStorage.setItem("".concat(this.teamid,"sound"),JSON.stringify(this.activeSoundList))},init:function(){var e=this;this.topfor=JSON.parse(localStorage.getItem("".concat(this.$route.query.id,"base")))||this.$store.getters.topinfo,this.teamStatus=this.$route.query.type,"look"==this.teamStatus||"teamAudit"==this.teamStatus||"feeAudit"==this.teamStatus||"teamCanceled"==this.teamStatus?this.basdisabled=!0:this.basdisabled=!1;var t=JSON.parse(localStorage.getItem("".concat(this.$route.query.id,"sound")));Object(l["zb"])({tenantId:1}).then((function(s){var a;if(200==s.code)if(e.soundList=s.data.rows,t&&null!==(a=t[0])&&void 0!==a&&a.id){e.activeSoundList=t;var i=[];e.activeSoundList.forEach((function(e){i.push(e.id)})),e.chioseActiveSound=i,e.activeSound=i,e.changeActiveSound(i.join(","))}else"newTeam"==e.teamStatus?e.getDefaultSubject():(e.teamid=e.$route.query.id,e.teamid&&Object(l["H"])({musicGroupId:e.teamid}).then((function(t){var s,a;if(200==t.code)if((null===(s=t.data)||void 0===s||null===(a=s.musicGroupSubjectPlans)||void 0===a?void 0:a.length)>0){var i,r=[];e.activeSoundList=null===(i=t.data)||void 0===i?void 0:i.musicGroupSubjectPlans.map((function(e){return r.push(e.subjectId),{id:parseInt(e.subjectId),sound:e.subName,expectedStudentNum:e.expectedStudentNum,chioseMusic:[],markChioseList:[],goodsList:[],markList:[]}})),e.activeSound=r,e.chioseActiveSound=r,e.changeActiveSound(r.join(",")),t.data.musicGroupSubjectGoodsGroups.forEach((function(t){var s=Object(k["findIndex"])(e.activeSoundList,(function(e){return e.id==t.subjectId}));if(-1!=s)if("ACCESSORIES"==t.type)t.goodsIdList.split(",").forEach((function(t){e.activeSoundList[s].markChioseList.push(parseInt(t))}));else if("INSTRUMENT"==t.type){var a=Object.keys(JSON.parse(t.kitGroupPurchaseTypeJson));e.activeSoundList[s].chioseMusic.push({musical:parseInt(t.goodsIdList),type:a,groupPrice:t.price,borrowPrice:t.depositFee,groupRemissionCourseFee:Boolean(t.groupRemissionCourseFee)})}}))}else e.getDefaultSubject()})))})),Object(l["Eb"])({tenantId:1}).then((function(t){200==t.code&&(e.childSoundList=t.data)}))},getDefaultSubject:function(){var e=this,t=this.topfor.type,s=this.topfor.section;Object(l["db"])({chargeTypeId:t,organId:s,number:1}).then((function(t){if(200==t.code){var s=[];e.activeSoundList=t.data.map((function(t){return s.push(t.id),e.initSound(t)})),e.activeSound=s,e.chioseActiveSound=s,e.changeActiveSound(s.join(","))}}))},lookCheck:function(e){this.checkList=Object(o["a"])(new Set(e))},chioseSound:function(e){this.activeSound=Object(o["a"])(new Set(e));var t=[];for(var s in this.childSoundList)this.activeSound.includes(this.childSoundList[s].id)&&t.push(this.initSound(this.childSoundList[s]));var a=this.activeSoundList.map((function(e){return e.id}));for(var i in t){var r,n=a.indexOf(null===(r=t[i])||void 0===r?void 0:r.id);n>-1&&(t[i]=this.activeSoundList[n])}this.activeSoundList=t;var c=[];this.activeSoundList.forEach((function(e){c.push(e.id)})),this.activeSound=c,this.chioseActiveSound=c,this.changeActiveSound(c.join(",")),this.soundVisible=!1},initSound:function(e){var t={id:e.id,sound:e.name,expectedStudentNum:e.expectedStudentNum,chioseMusic:[{musical:"",type:["GROUP"],groupPrice:0,borrowPrice:1500,groupRemissionCourseFee:Boolean(e.groupRemissionCourseFee)}],markChioseList:[],goodsList:[],markList:[]};return t},changeActiveSound:function(e){var t=this;Object(l["Fb"])({subjectIds:e,chargeTypeId:this.topfor.type,musicGroupId:this.teamid}).then((function(e){if(200==e.code&&e.data){var s=Object.keys(e.data);t.activeSoundList.forEach((function(t){if(-1!=s.indexOf(t.id+"")){var a=[],i=[];e.data[t.id].forEach((function(e){"INSTRUMENT"==e.type?a.push(e):"ACCESSORIES"==e.type&&i.push(e)})),t.goodsList=a,t.markList=i}}))}}))},lookMusic:function(){},submitInfo:function(e){var t=this;if(this.activeSoundList.length<=0)this.$message.error("请至少设置一个声部");else{var s=!0;if(this.activeSoundList.forEach((function(e){var a;return e.expectedStudentNum?null!==(a=e.chioseMusic[0])&&void 0!==a&&a.musical?void e.chioseMusic.forEach((function(a){-1!=a.type.indexOf("LEASE")&&(!a.borrowPrice||parseFloat(a.borrowPrice)<=0)&&(t.$message.error("请填写正确的".concat(e.sound,"租赁押金")),s=!1)})):(t.$message.error("请至少一个选择".concat(e.sound,"的可选乐器")),void(s=!1)):(t.$message.error("请填写".concat(e.sound,"的预计招生人数")),void(s=!1))})),s){var a={musicGroupSubjectGoodsGroups:[],musicGroupSubjectPlans:[]};this.activeSoundList.forEach((function(e){var t={expectedStudentNum:e.expectedStudentNum,subName:e.sound,subjectId:e.id};a.musicGroupSubjectPlans.push(t),e.chioseMusic.forEach((function(t){var s,i=null,r=t.borrowPrice,n=t.groupPrice;s=-1!=t.type.indexOf("GROUP")?1*t.groupRemissionCourseFee:0;var o=Object(k["findIndex"])(e.goodsList,(function(e){return e.id==t.musical}));-1!=o&&(i=e.goodsList[o]);var c={};if(t.type.forEach((function(e){c[e]=0})),c=JSON.stringify(c),i){var l={subjectId:e.id,type:"INSTRUMENT",goodsIdList:t.musical,name:i.name,kitGroupPurchaseTypeJson:c,depositFee:r,price:n,groupRemissionCourseFee:s};a.musicGroupSubjectGoodsGroups.push(l)}})),e.markChioseList.forEach((function(t){var s=Object(k["findIndex"])(e.markList,(function(e){return e.id==t})),i=null;if(-1!=s&&(i=e.markList[s]),i){var r={subjectId:e.id,type:"ACCESSORIES",goodsIdList:t,name:i.name,price:i.groupPurchasePrice};a.musicGroupSubjectGoodsGroups.push(r)}}))})),"newTeam"==this.teamStatus||(a.musicGroupId=this.teamid,a.musicGroupStatus=e?"AUDIT":"DRAFT",2==e?this.$confirm("是否提交审核?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["Qc"])(a).then((function(e){200==e.code&&(t.$message.success("提交成功"),t.$store.dispatch("delVisitedViews",t.$route),t.$router.push({path:"/teamList"}))}))})).catch((function(){})):Object(l["Qc"])(a).then((function(s){if(200==s.code)if(t.setStore(),1==e){t.$message.success("已提交审核");var a=t.$route.query;t.$store.dispatch("delVisitedViews",t.$route),t.$router.push({path:"/teamList",query:Object(n["a"])({},a)})}else t.$message.success("保存成功")})))}}},deleteRow:function(){var e=this;this.checkList.length<1?this.$message.error("请至少勾选一个"):this.$confirm("确定删除选中声部?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){for(var t=0;t=210?this.isField=!1:this.isField=!0}}),Object(c["a"])(a,"watch",{activeSoundList:{immediate:!0,deep:!0,handler:function(e){var t=0,s=0;this.activeSoundList;if(e){var a=0;if(e.length>0)for(var i in e){var r;a+=parseInt(null===(r=e[i])||void 0===r?void 0:r.expectedStudentNum)||0}t=e.length,s=a,this.$emit("getNumber",t,s)}}}}),a),C=x,T=(s("b7ed"),Object(h["a"])(C,i,r,!1,null,"02b3b190",null));t["a"]=T.exports}}]);