(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-182e80d8"],{"03e5":function(e,t,r){"use strict";r("d062")},"07c5":function(e,t,r){},1672:function(e,t,r){"use strict";r.d(t,"l",(function(){return i})),r.d(t,"r",(function(){return s})),r.d(t,"q",(function(){return n})),r.d(t,"s",(function(){return o})),r.d(t,"p",(function(){return l})),r.d(t,"k",(function(){return c})),r.d(t,"i",(function(){return u})),r.d(t,"n",(function(){return m})),r.d(t,"o",(function(){return d})),r.d(t,"m",(function(){return p})),r.d(t,"w",(function(){return f})),r.d(t,"t",(function(){return h})),r.d(t,"j",(function(){return b})),r.d(t,"u",(function(){return v})),r.d(t,"g",(function(){return g})),r.d(t,"e",(function(){return y})),r.d(t,"h",(function(){return S})),r.d(t,"f",(function(){return _})),r.d(t,"v",(function(){return C})),r.d(t,"b",(function(){return w})),r.d(t,"c",(function(){return T})),r.d(t,"d",(function(){return P})),r.d(t,"a",(function(){return k}));var a=r("829b"),i=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/add",data:e,method:"post"})},s=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/createCalender",data:e,method:"post"})},n=function(e){return Object(a["a"])({url:"/api-web/musicGroupCalenderRefundPeriod/batchUpdate",data:e,method:"post"})},o=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/updateCalender",data:e,method:"post"})},l=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/getDetail",data:{},params:e,method:"get"})},c=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/auditListDetail",data:{},params:e,method:"get"})},u=function(e){return Object(a["a"])({url:"/api-web/studentRegistration/getMusicGroupStu",data:{},params:e,method:"get"})},m=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalenderDetail/batchAdd",data:e,method:"post"})},d=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/update",data:e,method:"post"})},p=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/delByBatchNo",params:e,method:"post"})},f=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/revoke",data:{},params:e,method:"post"})},h=function(e){return Object(a["a"])({url:"/api-web/musicGroupOrganizationCourseSettingsDetail/queryByMusicGroupOrganizationCourseSettingsId",data:{},params:e,method:"get"})},b=function(e){return Object(a["a"])({url:"/api-web/musicGroupPaymentCalender/makesureSchoolePaid",data:e,method:"post",requestType:"form"})},v=function(e){return Object(a["a"])({url:"/api-web/organizationCourseDurationSettings/queryByOrganId",data:{},params:e,method:"get",requestType:"form"})},g=function(e){return Object(a["a"])({url:"/api-web/memberFeeSetting/findByRankId",data:{},params:e,method:"get",requestType:"form"})},y=function(e){return Object(a["a"])({url:"/api-web/memberRankSetting/findAll",method:"get",params:e})},S=function(e){return Object(a["a"])({url:"/api-web/memberRankSetting/queryTree",method:"get",params:e})},_=function(e){return Object(a["a"])({url:"/api-web/tenantConfig/autoActivationFlag",method:"get",params:e})},C=function(e){return Object(a["a"])({url:"/api-web/cloudTeacherOrder/queryInactive",method:"post",data:e})},w=function(e){return Object(a["a"])({url:"/api-web/cloudTeacherOrder/cancelInactive",method:"post",data:e})},T=function(e){return Object(a["a"])({url:"/api-web/cloudTeacherOrder/pay",method:"post",data:e})},P=function(e){return Object(a["a"])({url:"/api-web/cloudTeacherOrder/payCheck",method:"get",hideLoading:!0,params:e})},k=function(e){return Object(a["a"])({url:"/api-web/goods/queryPage",method:"get",params:e})}},"23f0":function(e,t,r){},"2aa7":function(e,t,r){e.exports=r.p+"static/img/checkIcon4.372e4e6a.png"},"31f0":function(e,t,r){e.exports=r.p+"static/img/yunTrain_bg.ff0ffe89.png"},"33b0":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container1"},[a("el-page-header",{staticStyle:{padding:"20px"},attrs:{content:"SCHOOL"==e.$route.query.payUserType?"学校缴费":"学员缴费"},on:{back:e.goback}}),e._v(" "),a("div",{staticClass:"payInfoWrap"},[a("div",{staticClass:"left"},[a("div",{staticClass:"m-core1"},[a("el-form",{ref:"form",attrs:{inline:!0,model:e.form,"label-width":"120px"}},[a("div",{class:e.isField?"baseWrapFixed":"baseWrap"},[a("div",{staticClass:"payTitle"},[a("div",{staticClass:"squrt"}),e._v(" "),a("p",[e._v("基础项目配置")]),e._v(" "),a("div",{staticClass:"payContext"},[e._v("请选择您需要的课程配置")]),e._v(" "),"SCHOOL"==e.$route.query.payUserType?a("el-form-item",{staticClass:"vertical",attrs:{label:"计价标准",prop:"isShowMusicInsuranceForPay"}},[a("el-select",{attrs:{size:"mini",placeholder:"请选择计价标准"},model:{value:e.form.calenderFeeType,callback:function(t){e.$set(e.form,"calenderFeeType",t)},expression:"form.calenderFeeType"}},[a("el-option",{attrs:{label:"按学生",value:"STUDENT"}}),e._v(" "),a("el-option",{attrs:{label:"按老师",value:"TEACHER",disabled:!e.teamCourse}})],1)],1):e._e()],1),e._v(" "),a("div",{staticClass:"checkWrap"},[a("div",{staticClass:"checkBtn",class:[e.teamCourse?"active":"",e.teamCourseDisabled?"disabled":""],style:{opacity:e.teamCourseDisabled?"0.5":"1"},on:{click:function(t){return t.preventDefault(),function(){e.teamCourseDisabled||(e.teamCourse=!e.teamCourse,e.teamCourse&&e.form.eclass.length<0&&(e.form.eclass=[],e.form.eclass.push({})),e.teamCourse||(e.form.calenderFeeType="STUDENT"),2==e.courseViewType&&"PROGRESS"==e.$route.query.team_status&&(e.member=!1,e.memberDisabled=!1,e.teamCourse&&(e.member=!0,e.memberDisabled=!0,e.member&&e.form.memberList.length<0&&(e.form.memberList=[],e.form.memberList.push({})))))}()}}},[a("div",{staticClass:"checkLeft"},[a("img",{attrs:{src:r("d16e"),alt:""}})]),e._v(" "),a("div",{staticClass:"checkRight"},[a("p",[e._v("乐团课")]),e._v(" "),a("p",{staticClass:"checkSubTitle"},[e._v("创建课程类型标准")])]),e._v(" "),e.teamCourse?a("div",{staticClass:"checTriangle"},[a("img",{attrs:{src:r("4071"),alt:""}})]):e._e()]),e._v(" "),a("div",{staticClass:"checkBtn",class:[e.member?"active":"",e.memberDisabled?"disabled":""],style:{opacity:e.memberDisabled?"0.5":"1"},on:{click:function(t){return t.preventDefault(),function(){e.addShowMember()}()}}},[a("div",{staticClass:"checkLeft"},[a("img",{attrs:{src:r("f1a4"),alt:""}})]),e._v(" "),a("div",{staticClass:"checkRight"},[a("p",[e._v("学练宝")]),e._v(" "),a("p",{staticClass:"checkSubTitle"},[e._v("乐团练习工具")])]),e._v(" "),e.member?a("div",{staticClass:"checTriangle"},[a("img",{attrs:{src:r("4071"),alt:""}})]):e._e()]),e._v(" "),e.isShowLeBao&&1==e.tenantId&&"PROGRESS"!=e.$route.query.team_status?a("div",{staticClass:"checkBtn",class:[e.leBao?"active":"",e.leBaoDisabled?"disabled":""],style:{opacity:e.leBaoDisabled?"0.5":"1"},on:{click:function(t){return t.preventDefault(),function(){e.leBaoDisabled||(e.leBao=!e.leBao,e.leBao&&e.form.leBaoList.length<0&&(e.form.leBaoList=[],e.form.leBaoList.push({})))}()}}},[a("div",{staticClass:"checkLeft"},[a("img",{attrs:{src:r("5187"),alt:""}})]),e._v(" "),a("div",{staticClass:"checkRight"},[a("p",[e._v("乐保")]),e._v(" "),a("p",{staticClass:"checkSubTitle"},[e._v("乐器维修保养")])]),e._v(" "),e.leBao?a("div",{staticClass:"checTriangle"},[a("img",{attrs:{src:r("4071"),alt:""}})]):e._e()]):e._e(),e._v(" "),a("div",{staticClass:"checkBtn",class:[e.teamActive?"active":"",e.teamActiveDisabled?"disabled":""],style:{opacity:e.teamActiveDisabled?"0.5":"1"},on:{click:function(t){return t.preventDefault(),function(){e.teamActiveDisabled||(e.teamActive=!e.teamActive,e.teamActive&&e.form.activeList.length<0&&(e.form.activeList=[],e.form.activeList.push({})))}()}}},[a("div",{staticClass:"checkLeft"},[a("img",{attrs:{src:r("2aa7"),alt:""}})]),e._v(" "),a("div",{staticClass:"checkRight"},[a("p",[e._v("小课")]),e._v(" "),a("p",{staticClass:"checkSubTitle"},[e._v("创建活动课程方案")])]),e._v(" "),e.teamActive?a("div",{staticClass:"checTriangle"},[a("img",{attrs:{src:r("4071"),alt:""}})]):e._e()])])]),e._v(" "),e.isField?a("div",{staticClass:"wall",staticStyle:{height:"184px"}}):e._e(),e._v(" "),a("div",{staticClass:"coreList"},[e.teamCourse?a("payTeamCourse",{attrs:{form:e.form,charges:e.charges,courseUnitPriceSettingsByType:e.organizationCourseUnitPriceSettingsByType},on:{create:e.addExtraClass,remove:e.removeExtraClass,moneyChange:e.syncAllMoney,priceChange:e.priceChange,priceChange2:e.priceChange2}}):e._e(),e._v(" "),e.member?a("payMember",{ref:"payMember",attrs:{memberRankList:e.memberRankList,rulesForm:e.rulesForm,organId:e.organId,showAutoActivationFlag:e.showAutoActivationFlag,form:e.form},on:{create:e.addPayMember,remove:e.removePayMember,moneyChange:e.syncAllMoney,priceChange:e.priceChange}}):e._e(),e._v(" "),e.leBao?a("payLeBao",{attrs:{form:e.form,leBaoInfo:e.leBaoInfo}}):e._e(),e._v(" "),e.teamActive?a("payTeamActive",{attrs:{form:e.form,activeList:e.activeList},on:{create:e.addActive,remove:e.removeActive}}):e._e(),e._v(" "),"SCHOOL"==e.$route.query.payUserType?a("paySchoolInfo",{attrs:{form:e.form,courseUnitPriceSettingsByType:e.organizationCourseUnitPriceSettingsByType,teamCourse:e.teamCourse,member:e.member,teamActive:e.teamActive,leBao:e.leBao},on:{setAllTotal:e.setAllTotal,checkType:e.checkType}}):e._e(),e._v(" "),"SCHOOL"==e.$route.query.payUserType&&e.form.currentTotalAmount>0?a("backMoney",{attrs:{form:e.form}}):e._e()],1),e._v(" "),"STUDENT"==e.$route.query.payUserType?a("div",{staticClass:"teamCourseList coreList"},[a("div",{staticClass:"coreTitle"},[a("p",[e._v("基础信息设置")])]),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{staticStyle:{width:"430px"}},[a("el-form-item",{ref:"paymentDate",attrs:{prop:"paymentDate",rules:[{required:!0,message:"请选择缴费时间",trigger:"blur"}]}},[a("template",{slot:"label"},[a("p",{staticStyle:{position:"relative"}},[a("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 缴费时间\n "),a("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("在该时间段内学员才可缴费")]),e._v(" "),a("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",position:"relative",top:"2px"}})])],1)]),e._v(" "),a("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"daterange","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.paymentDate,callback:function(t){e.$set(e.form,"paymentDate",t)},expression:"form.paymentDate"}})],2)],1),e._v(" "),a("el-col",{staticStyle:{width:"430px"}},[a("el-form-item",{ref:"isShowSalePrice",attrs:{prop:"isShowSalePrice"}},[a("template",{slot:"label"},[a("p",{staticStyle:{position:"relative"}},[e._v("\n 是否展示售价\n ")])]),e._v(" "),a("el-select",{model:{value:e.form.isShowSalePrice,callback:function(t){e.$set(e.form,"isShowSalePrice",t)},expression:"form.isShowSalePrice"}},[a("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),a("el-option",{attrs:{label:"否",value:!1}})],1)],2)],1)],1),e._v(" "),a("el-row",[a("el-col",{staticClass:"memoWrap"},[a("el-form-item",{ref:"memo",staticClass:"memoWrapItem",attrs:{prop:"memo",rules:[{required:!0,message:"请输入备注",trigger:"blur"}]}},[a("template",{slot:"label"},[a("p",{staticStyle:{position:"relative"}},[a("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 备注\n "),a("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("本次缴费的内容描述")]),e._v(" "),a("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",position:"relative",top:"2px"}})])],1)]),e._v(" "),a("el-input",{staticStyle:{width:"100%"},attrs:{rows:3,type:"textarea",maxlength:"50","show-word-limit":""},model:{value:e.form.memo,callback:function(t){e.$set(e.form,"memo",t)},expression:"form.memo"}})],2)],1)],1)],1):e._e()]),e._v(" "),e.teamCourse||e.member||e.leBao||e.teamActive||"PROGRESS"!=e.$route.query.team_status?a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{staticClass:"submitBtn",on:{click:e.submitForm}},[e._v("确认")])],1):a("div",[a("empty",{attrs:{desc:"暂无缴费项目配置"}})],1)],1)])]),e._v(" "),e.dialogSubjectVisible?a("el-dialog",{staticClass:"subjectPreview",attrs:{title:"报名声部预览",visible:e.dialogSubjectVisible,width:"400px"},on:{"update:visible":function(t){e.dialogSubjectVisible=t}}},[a("el-tabs",{attrs:{type:"card"},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},e._l(e.dialogSubjectList,(function(t,r){return a("el-tab-pane",{key:r,staticStyle:{"max-height":"500px","overflow-y":"auto"},attrs:{label:t.subName,lazy:"",name:t.subjectId.toString()}},[a("subject-preview",{attrs:{subjectId:t.subjectId,preViewData:e.preViewData}})],1)})),1),e._v(" "),a("div",[a("el-button",{staticStyle:{width:"100%","border-radius":"0","line-height":"30px"},attrs:{size:"medium",type:"primary"},on:{click:e.onSubmit}},[e._v("确认提交")])],1)],1):e._e()],1)},i=[],s=r("15fd"),n=(r("7f7f"),r("6b54"),r("6762"),r("2fdb"),r("2909")),o=r("b85c"),l=r("c7eb"),c=r("5530"),u=(r("ac6a"),r("96cf"),r("1da1")),m=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"teamCourseList"},[r("p",{staticClass:"coreTitle"},[e._v("\n 乐团课\n "),r("el-form-item",{staticClass:"titleFormItem",attrs:{label:"加课方式",prop:"leixing",rules:[{required:!0,message:"请选择加课方式",trigger:"change"}]}},[r("el-radio-group",{staticStyle:{width:"100%"},model:{value:e.form.leixing,callback:function(t){e.$set(e.form,"leixing",t)},expression:"form.leixing"}},[r("el-radio",{attrs:{label:"1"}},[e._v("标准课程")]),e._v(" "),r("el-radio",{attrs:{label:"2"}},[e._v("自定义课程")])],1)],1),e._v(" "),1==e.form.leixing?r("el-form-item",{staticClass:"titleFormItem",attrs:{label:"收费标准",prop:"musicGroupOrganizationCourseSettingId",rules:[{required:!0,message:"请选择收费标准",trigger:"change"}]}},[r("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择收费标准",size:"mini"},model:{value:e.form.musicGroupOrganizationCourseSettingId,callback:function(t){e.$set(e.form,"musicGroupOrganizationCourseSettingId",t)},expression:"form.musicGroupOrganizationCourseSettingId"}},e._l(e.charges,(function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1):e._e(),e._v(" "),0==e.allCourseCurrentPrice?r("el-form-item",{staticClass:"titleFormItem",attrs:{label:"是否展示",prop:"isShowMusicCourseForPay"}},[r("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择是否展示乐团费用",size:"mini"},model:{value:e.form.isShowMusicCourseForPay,callback:function(t){e.$set(e.form,"isShowMusicCourseForPay",t)},expression:"form.isShowMusicCourseForPay"}},[r("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),r("el-option",{attrs:{label:"否",value:!1}})],1)],1):e._e(),e._v(" "),e.isDisabled?e._e():r("el-button",{staticClass:"addBtn",attrs:{icon:"el-icon-plus",size:"mini",plain:""},on:{click:e.$listeners.create}},[e._v("新增课程类型")])],1),e._v(" "),r("el-table",{staticClass:"courseTable",staticStyle:{width:"100% !important",background:"#f9f9f9"},attrs:{data:e.form.eclass,"header-cell-style":{background:"#F9F9F9",color:"#444"}}},[r("el-table-column",{key:"courseType",attrs:{label:"课程类型",prop:"courseType",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"eclass."+t.$index+".courseType",rules:{required:!0,message:"请选择课程类型",trigger:"change"}}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{placeholder:"课程类型",clearable:"",disabled:e.isDisabled},on:{change:function(r){return e.courseItemChange(t.row,t.$index)}},model:{value:e.form.eclass[t.$index].courseType,callback:function(r){e.$set(e.form.eclass[t.$index],"courseType",r)},expression:"form.eclass[scope.$index].courseType"}},e._l(e.courseUnitPriceSettingsByType,(function(t,a){return r("el-option",{key:a,attrs:{disabled:e.isOptionDisabled(a),label:e.courseType[a],value:a}})})),1)],1)]}}])}),e._v(" "),r("el-table-column",{key:"courseTotalMinuties",attrs:{label:"课程时长(分钟)",prop:"courseTotalMinuties",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"eclass."+t.$index+".courseTotalMinuties",rules:[{required:!0,message:"请输入课程时长",trigger:"blur"}]}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,disabled:e.isDisabled,placeholder:"课程时长"},on:{change:function(r){return e.$listeners.priceChange(t.row,t.$index)}},model:{value:e.form.eclass[t.$index].courseTotalMinuties,callback:function(r){e.$set(e.form.eclass[t.$index],"courseTotalMinuties",r)},expression:"form.eclass[scope.$index].courseTotalMinuties"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"courseCurrentPrice",attrs:{label:"售价(元)",prop:"courseCurrentPrice",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"eclass."+t.$index+".courseCurrentPrice",rules:{required:!0,message:"请输入售价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,placeholder:"请输入售价"},on:{change:function(r){return e.$listeners.priceChange2(t.row,t.$index)}},model:{value:e.form.eclass[t.$index].courseCurrentPrice,callback:function(r){e.$set(e.form.eclass[t.$index],"courseCurrentPrice",r)},expression:"form.eclass[scope.$index].courseCurrentPrice"}})],1)]}}])},[r("template",{slot:"header"},[r("p",{},[e._v("\n 售价(元)\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),r("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",top:"2px",position:"relative"}})])],1)])],2),e._v(" "),r("el-table-column",{key:"courseOriginalPrice",attrs:{prop:"courseOriginalPrice",label:"原价(元)",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"eclass."+t.$index+".courseOriginalPrice",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,disabled:!1,placeholder:"请输入原价"},on:{change:function(r){return e.$listeners.priceChange2(t.row,t.$index)}},model:{value:e.form.eclass[t.$index].courseOriginalPrice,callback:function(r){e.$set(e.form.eclass[t.$index],"courseOriginalPrice",r)},expression:"form.eclass[scope.$index].courseOriginalPrice"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"close",attrs:{prop:"close"},scopedSlots:e._u([{key:"default",fn:function(t){return[!e.isDisabled&&e.form.eclass.length>1?r("div",{staticStyle:{color:"#fa6400",cursor:"pointer",display:"inline-block"},on:{click:function(r){e.$listeners.remove&&e.$listeners.remove(t.$index)}}},[r("i",{staticClass:"el-icon-error"}),e._v("\n 删除\n ")]):e._e()]}}])})],1)],1)},d=[],p=r("267e"),f=r("ed08"),h={props:["form","charges","courseUnitPriceSettingsByType"],data:function(){return{clearable:!1,courseType:p["courseType"],courseTypeOptions:this.courseUnitPriceSettingsByType,boolOptionsOptions:Object(f["e"])(p["boolOptions"]),showisMusicGroupFee:!1}},mounted:function(){console.log(this.courseUnitPriceSettingsByType,"courseUnitPriceSettingsByType")},methods:{courseItemChange:function(e,t){if(2==this.form.leixing){var r=this.courseUnitPriceSettingsByType[e.courseType];this.form.eclass[t].unitPrice=r.unitPrice||0}},priceChange:function(e,t){},isOptionDisabled:function(e){var t=this.form.eclass.map((function(e){return e.courseType}));return t.includes(e)},change:function(){}},computed:{isDisabled:function(){return 1==this.form.leixing},allCourseCurrentPrice:function(){var e=0;return this.form.eclass.forEach((function(t){e+=t.courseCurrentPrice})),e>0&&(this.form.isShowMusicCourseForPay=!0),e}}},b=h,v=(r("3422"),r("2877")),g=Object(v["a"])(b,m,d,!1,null,"1c70c88c",null),y=g.exports,S=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"teamCourseList"},[r("p",{staticClass:"coreTitle"},[e._v("\n 管乐AI学练宝\n "),0==e.allCourseCurrentPrice?r("el-form-item",{staticClass:"titleFormItem",attrs:{label:"是否展示",prop:"isShowMemberForPay"}},[r("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择是否展示学练宝费用",size:"mini"},model:{value:e.form.isShowMemberForPay,callback:function(t){e.$set(e.form,"isShowMemberForPay",t)},expression:"form.isShowMemberForPay"}},[r("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),r("el-option",{attrs:{label:"否",value:!1}})],1)],1):e._e(),e._v(" "),e.isDisabled?e._e():r("el-button",{staticClass:"addBtn",attrs:{icon:"el-icon-plus",size:"mini",plain:""},on:{click:e.$listeners.create}},[e._v("新增学练宝")])],1),e._v(" "),r("el-table",{staticClass:"courseTable",staticStyle:{width:"100% !important",background:"#f9f9f9"},attrs:{data:e.form.memberList,"header-cell-style":{background:"#F9F9F9",color:"#444"}}},[r("el-table-column",{key:"memberRankSettingId",attrs:{width:"170px",label:"学练宝版本",prop:"memberRankSettingId"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".memberRankSettingId",rules:{required:!0,message:"请选择学练宝版本",trigger:"change"}}},[r("el-cascader",{staticStyle:{width:"90% !important"},attrs:{filterable:"",clearable:"",placeholder:"请选择学练宝版本",options:e.memberRankList,props:{value:"id",label:"name"}},on:{change:function(r){return e.changeMember(r,t.$index)},"visible-change":function(r){return e.onVisibleChange(r,e.form.memberList[t.$index].memberRankSettingId)}},model:{value:e.form.memberList[t.$index].memberRankSettingId,callback:function(r){e.$set(e.form.memberList[t.$index],"memberRankSettingId",r)},expression:"form.memberList[scope.$index].memberRankSettingId"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"optionalFlag",attrs:{label:"是否必选",prop:"optionalFlag",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".optionalFlag",rules:{required:!0,message:"请选择是否必选",trigger:"change"}}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{placeholder:"是否必选",disabled:!(e.form.memberList[t.$index].memberRankSettingId&&e.form.memberList[t.$index].memberRankSettingId.length>0),clearable:""},model:{value:e.form.memberList[t.$index].optionalFlag,callback:function(r){e.$set(e.form.memberList[t.$index],"optionalFlag",r)},expression:"form.memberList[scope.$index].optionalFlag"}},e._l(e.boolOptionsOptions,(function(e,t){return r("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)]}}])}),e._v(" "),r("el-table-column",{key:"autoActivationFlag",attrs:{label:"自动激活",prop:"autoActivationFlag",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".autoActivationFlag",rules:{required:!0,message:"请选择是否自动激活",trigger:"change"}}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{placeholder:"请选择是否自动激活",disabled:!(e.form.memberList[t.$index].memberRankSettingId&&e.form.memberList[t.$index].memberRankSettingId.length>0)||!(e.form.memberList[t.$index].memberRankSettingId&&e.showAutoActivationFlag[e.form.memberList[t.$index].memberRankSettingId[e.form.memberList[t.$index].memberRankSettingId.length-1]]),clearable:""},model:{value:e.form.memberList[t.$index].autoActivationFlag,callback:function(r){e.$set(e.form.memberList[t.$index],"autoActivationFlag",r)},expression:"form.memberList[scope.$index].autoActivationFlag"}},e._l(e.boolOptionsOptions,(function(e,t){return r("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)]}}])}),e._v(" "),r("el-table-column",{key:"num",attrs:{label:"会员周期",prop:"num",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".num",rules:[{required:!0,message:"请选择会员周期",trigger:"blur"}]}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:1,placeholder:"会员周期",disabled:!(e.form.memberList[t.$index].memberRankSettingId&&e.form.memberList[t.$index].memberRankSettingId.length>0)},on:{change:function(r){return e.changeMemberperiodEnum(e.form.memberList[t.$index].period,t.$index)}},model:{value:e.form.memberList[t.$index].num,callback:function(r){e.$set(e.form.memberList[t.$index],"num",r)},expression:"form.memberList[scope.$index].num"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"period",attrs:{label:"周期单位",prop:"period",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".period",rules:[{required:!0,message:"请选择周期单位",trigger:"blur"}]}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{disabled:!(e.form.memberList[t.$index].memberRankSettingId&&e.form.memberList[t.$index].memberRankSettingId.length>0)},on:{change:function(r){return e.changeMemberperiodEnum(r,t.$index)}},model:{value:e.form.memberList[t.$index].period,callback:function(r){e.$set(e.form.memberList[t.$index],"period",r)},expression:"form.memberList[scope.$index].period"}},e._l(e.memberEnumList,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)]}}])}),e._v(" "),"TEACHER"!=e.form.calenderFeeType?r("el-table-column",{key:"actualAmount",attrs:{label:"售价(元)",prop:"actualAmount",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".actualAmount",rules:[{required:!0,message:"请输入售价",trigger:"blur"},{validator:e.validateMember,index:t.$index,trigger:"blur"}]}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,disabled:!e.form.memberList[t.$index].period||!e.form.memberList[t.$index].num,placeholder:"请输入售价"},on:{change:e.change},model:{value:e.form.memberList[t.$index].actualAmount,callback:function(r){e.$set(e.form.memberList[t.$index],"actualAmount",r)},expression:"form.memberList[scope.$index].actualAmount"}})],1)]}}],null,!1,870079807)},[r("template",{slot:"header"},[r("p",{staticStyle:{position:"relative"}},[e._v("\n 售价(元)\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),r("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",top:"2px",position:"relative"}})])],1)])],2):e._e(),e._v(" "),r("el-table-column",{key:"originalAmount",attrs:{label:"原价(元)",prop:"originalAmount",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"memberList."+t.$index+".originalAmount",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,disabled:!0,placeholder:"请输入原价"},on:{change:e.change},model:{value:e.form.memberList[t.$index].originalAmount,callback:function(r){e.$set(e.form.memberList[t.$index],"originalAmount",r)},expression:"form.memberList[scope.$index].originalAmount"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"close",attrs:{prop:"close"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.form.memberList.length>1?r("div",{staticStyle:{color:"#fa6400",cursor:"pointer",display:"inline-block"},on:{click:function(){return e.onRemove(t.$index)}}},[r("i",{staticClass:"el-icon-error"}),e._v("\n 删除\n ")]):e._e()]}}])})],1)],1)},_=[],C=(r("c5f6"),r("92e3")),w=r("1672"),T={props:["form","memberRankList","organId","rulesForm","showAutoActivationFlag"],data:function(){return{charges:[],clearable:!1,isDisabled:!1,courseUnitPriceSettingsByType:[],boolOptionsOptions:Object(f["e"])(p["boolOptions"]),memberEnumList:C["G"],memberPrice:{},memberPriceList:[],getMemberFeeFlag:!0}},mounted:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t=this;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.form.memberList.forEach(function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(r,a){return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.changeMember(r.memberRankSettingId,a);case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{onVisibleChange:function(e,t){if(e){var r=t?t[t.length-1]:null,a=[];this.form.memberList.forEach((function(e){var t=e.memberRankSettingId?e.memberRankSettingId[e.memberRankSettingId.length-1]:null;t!==r&&a.push(t)})),this.memberRankList.forEach((function(e){a.includes(e.id)?e.disabled=!0:e.disabled=!1,e.children&&e.children.length>0&&e.children.forEach((function(e){a.includes(e.id)?e.disabled=!0:e.disabled=!1}))})),this.$forceUpdate()}},changeMemberperiodEnum:function(e,t){"DAY"==e&&(this.$set(this.form.memberList[t],"actualAmount",this.memberPriceList[t].groupPurchaseDayFee*this.form.memberList[t].num),this.$set(this.form.memberList[t],"originalAmount",this.memberPriceList[t].originalDayFee*this.form.memberList[t].num)),"MONTH"==e&&(this.$set(this.form.memberList[t],"actualAmount",this.memberPriceList[t].groupPurchaseMonthFee*this.form.memberList[t].num),this.$set(this.form.memberList[t],"originalAmount",this.memberPriceList[t].originalMonthFee*this.form.memberList[t].num)),"QUARTERLY"==e&&(this.$set(this.form.memberList[t],"actualAmount",this.memberPriceList[t].groupPurchaseQuarterlyFee*this.form.memberList[t].num),this.$set(this.form.memberList[t],"originalAmount",this.memberPriceList[t].originalQuarterlyFee*this.form.memberList[t].num)),"YEAR_HALF"==e&&(this.$set(this.form.memberList[t],"actualAmount",this.memberPriceList[t].groupPurchaseHalfYearFee*this.form.memberList[t].num),this.$set(this.form.memberList[t],"originalAmount",this.memberPriceList[t].originalHalfYearFee*this.form.memberList[t].num)),"YEAR"==e&&(this.$set(this.form.memberList[t],"actualAmount",this.memberPriceList[t].groupPurchaseYearFee*this.form.memberList[t].num),this.$set(this.form.memberList[t],"originalAmount",this.memberPriceList[t].originalYearFee*this.form.memberList[t].num))},changeMember:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(t,r){var a;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t&&t.length>0)){e.next=18;break}if(!this.getMemberFeeFlag){e.next=18;break}return this.getMemberFeeFlag=!1,e.prev=3,e.next=6,Object(w["g"])({rankId:t[t.length-1],organId:this.organId});case 6:if(a=e.sent,this.memberPriceList[r]=a.data,this.getMemberFeeFlag=!0,a.data){e.next=12;break}return this.$bus.$emit("showguide",["memberList"]),e.abrupt("return");case 12:e.next=18;break;case 14:e.prev=14,e.t0=e["catch"](3),console.log(e.t0),this.getMemberFeeFlag=!0;case 18:case"end":return e.stop()}}),e,this,[[3,14]])})));function t(t,r){return e.apply(this,arguments)}return t}(),validateMember:function(e,t,r){var a,i=Number(t),s=0,n=0;switch(null===(a=this.form.memberList[e.index])||void 0===a?void 0:a.period){case"MONTH":s=Number(this.rulesForm.minMonthFee)*this.form.memberList[e.index].num,n=Number(this.rulesForm.maxMonthFee)*this.form.memberList[e.index].num;break;case"QUARTERLY":s=Number(this.rulesForm.minQuarterlyFee)*this.form.memberList[e.index].num,n=Number(this.rulesForm.maxQuarterlyFee)*this.form.memberList[e.index].num;break;case"YEAR_HALF":s=Number(this.rulesForm.minHalfYearFee)*this.form.memberList[e.index].num,n=Number(this.rulesForm.maxHalfYearFee)*this.form.memberList[e.index].num;break;case"YEAR":s=Number(this.rulesForm.minYearFee)*this.form.memberList[e.index].num,n=Number(this.rulesForm.maxYearFee)*this.form.memberList[e.index].num;break}return i>=s&&i<=n?r():r(new Error("定价应在".concat(s,"-").concat(n,"之间")))},onRemove:function(e){this.memberPriceList.splice(e,1),this.$forceUpdate(),this.$listeners.remove&&this.$listeners.remove(e)}},computed:{allCourseCurrentPrice:function(){var e=0;return this.form.memberList.forEach((function(t){e+=t.actualAmount})),e>0&&(this.form.isShowMemberForPay=!0),e}}},P=T,k=(r("ec48"),Object(v["a"])(P,S,_,!1,null,"66946393",null)),x=k.exports,L=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"teamCourseList"},[r("p",{staticClass:"coreTitle"},[e._v("\n 乐保\n\n "),0==e.allCourseCurrentPrice?r("el-form-item",{staticClass:"titleFormItem",attrs:{label:"是否展示",prop:"isShowMusicInsuranceForPay"}},[r("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择是否展乐保费用",size:"mini"},model:{value:e.form.isShowMusicInsuranceForPay,callback:function(t){e.$set(e.form,"isShowMusicInsuranceForPay",t)},expression:"form.isShowMusicInsuranceForPay"}},[r("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),r("el-option",{attrs:{label:"否",value:!1}})],1)],1):e._e()],1),e._v(" "),r("el-table",{staticClass:"courseTable",staticStyle:{width:"100% !important",background:"#f9f9f9"},attrs:{data:e.form.leBaoList,"header-cell-style":{background:"#F9F9F9",color:"#444"}}},[r("el-table-column",{attrs:{width:"170px",label:"乐器保养"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("p",[e._v("乐器保养")])]}}])}),e._v(" "),r("el-table-column",{key:"num",attrs:{label:"年限",prop:"num",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"leBaoList."+t.$index+".num",rules:[{required:!0,message:"请输入年限",trigger:"blur"}]}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,placeholder:"请输入年限"},on:{change:e.changeYear},model:{value:e.form.leBaoList[t.$index].num,callback:function(r){e.$set(e.form.leBaoList[t.$index],"num",r)},expression:"form.leBaoList[scope.$index].num"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"actualAmount",attrs:{label:"售价(元)",prop:"actualAmount",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"leBaoList."+t.$index+".actualAmount",rules:{required:!0,message:"请输入售价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,disabled:!0,placeholder:"请输入售价"},on:{change:e.change},model:{value:e.form.leBaoList[t.$index].actualAmount,callback:function(r){e.$set(e.form.leBaoList[t.$index],"actualAmount",r)},expression:"form.leBaoList[scope.$index].actualAmount"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"originalAmount",attrs:{prop:"originalAmount",label:"原价(元)",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"leBaoList."+t.$index+".originalAmount",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,disabled:!0,placeholder:"请输入原价"},model:{value:e.form.leBaoList[t.$index].originalAmount,callback:function(r){e.$set(e.form.leBaoList[t.$index],"originalAmount",r)},expression:"form.leBaoList[scope.$index].originalAmount"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"close",attrs:{prop:"close"},scopedSlots:e._u([{key:"default",fn:function(e){}}])})],1)],1)},A=[],O={props:["form","leBaoInfo"],data:function(){return{charges:[],clearable:!1,isDisabled:!1,courseUnitPriceSettingsByType:[],boolOptionsOptions:[]}},methods:{changeYear:function(e){var t=this;this.leBaoInfo.forEach((function(r){"189"==r.id&&t.$set(t.form.leBaoList[0],"actualAmount",e*r.paranValue),"202"==r.id&&t.$set(t.form.leBaoList[0],"originalAmount",e*r.paranValue)}))},change:function(){}},computed:{allCourseCurrentPrice:function(){var e=0;return this.form.leBaoList.forEach((function(t){e+=t.actualAmount})),e>0&&(this.form.isShowMusicInsuranceForPay=!0),e}}},F=O,I=(r("e3fe"),Object(v["a"])(F,L,A,!1,null,"d76f90a6",null)),$=I.exports,E=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"teamCourseList"},[r("p",{staticClass:"coreTitle"},[e._v("乐团小课\n "),0==e.allCourseCurrentPrice?r("el-form-item",{staticClass:"titleFormItem",attrs:{label:"是否展示",prop:"isShowVipCourseForPay"}},[r("el-select",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请选择是否展乐团小课",size:"mini"},on:{change:e.changeMusic},model:{value:e.form.isShowVipCourseForPay,callback:function(t){e.$set(e.form,"isShowVipCourseForPay",t)},expression:"form.isShowVipCourseForPay"}},[r("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),r("el-option",{attrs:{label:"否",value:!1}})],1)],1):e._e(),e._v(" "),r("el-button",{staticClass:"addBtn",attrs:{size:"mini",icon:"el-icon-plus",plain:""},on:{click:e.$listeners.create}},[e._v("新增活动")])],1),e._v(" "),r("el-table",{staticClass:"courseTable",staticStyle:{width:"100% !important",background:"#f9f9f9"},attrs:{data:e.form.activeList,"header-cell-style":{background:"#F9F9F9",color:"#444"}}},[r("el-table-column",{key:"activityId",attrs:{label:"活动方案",prop:"activityId",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"activeList."+t.$index+".activityId",rules:{required:!0,message:"请选择活动方案",trigger:"change"}}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{placeholder:"活动方案",clearable:"",disabled:e.isDisabled},on:{change:function(r){return e.courseItemChange(t.row,t.$index,e.form.activeList[t.$index].activityId)}},model:{value:e.form.activeList[t.$index].activityId,callback:function(r){e.$set(e.form.activeList[t.$index],"activityId",r)},expression:"form.activeList[scope.$index].activityId"}},e._l(e.activeList,(function(t,a){return r("el-option",{key:a,attrs:{disabled:e.isOptionDisabled(t.id),label:t.name,value:t.id}})})),1)],1)]}}])}),e._v(" "),r("el-table-column",{key:"optionalFlag",attrs:{label:"是否必选",prop:"optionalFlag",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"activeList."+t.$index+".optionalFlag",rules:{required:!0,message:"请选择是必选",trigger:"change"}}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{placeholder:"是否必选",disabled:e.isDisabled,clearable:""},model:{value:e.form.activeList[t.$index].optionalFlag,callback:function(r){e.$set(e.form.activeList[t.$index],"optionalFlag",r)},expression:"form.activeList[scope.$index].optionalFlag"}},e._l(e.boolOptionsOptions,(function(e,t){return r("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"活动课程",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-input",{staticStyle:{width:"90% !important"},attrs:{disabled:!0},model:{value:e.form.activeList[t.$index].vipGroupCategoryNames,callback:function(r){e.$set(e.form.activeList[t.$index],"vipGroupCategoryNames",r)},expression:"form.activeList[scope.$index].vipGroupCategoryNames"}})]}}])}),e._v(" "),r("el-table-column",{key:"courseTotalMinuties",attrs:{label:"课时数",prop:"courseTotalMinuties",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-input",{staticStyle:{width:"90% !important"},attrs:{disabled:!0},model:{value:e.form.activeList[t.$index].num,callback:function(r){e.$set(e.form.activeList[t.$index],"num",r)},expression:"form.activeList[scope.$index].num"}})]}}])}),e._v(" "),"TEACHER"!=e.form.calenderFeeType?r("el-table-column",{key:"actualAmount",attrs:{label:"售价(元)",prop:"actualAmount",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"activeList."+t.$index+".actualAmount",rules:{required:!0,message:"请输入售价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,placeholder:"请输入售价"},on:{change:e.change},model:{value:e.form.activeList[t.$index].actualAmount,callback:function(r){e.$set(e.form.activeList[t.$index],"actualAmount",r)},expression:"form.activeList[scope.$index].actualAmount"}})],1)]}}],null,!1,1588739945)},[r("template",{slot:"header"},[r("p",{staticStyle:{position:"relative"}},[e._v("\n 售价(元)\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("学生实际缴费金额")]),e._v(" "),r("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",top:"2px",position:"relative"}})])],1)])],2):e._e(),e._v(" "),r("el-table-column",{key:"originalAmount",attrs:{prop:"originalAmount",label:"原价(元)",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"activeList."+t.$index+".originalAmount",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:0,placeholder:"请输入原价",disabled:!0},model:{value:e.form.activeList[t.$index].originalAmount,callback:function(r){e.$set(e.form.activeList[t.$index],"originalAmount",r)},expression:"form.activeList[scope.$index].originalAmount"}})],1)]}}])}),e._v(" "),r("el-table-column",{key:"close",attrs:{prop:"close"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.form.activeList.length>1?r("div",{staticStyle:{color:"#fa6400",cursor:"pointer"},on:{click:function(r){e.$listeners.remove&&e.$listeners.remove(t.$index)}}},[r("i",{staticClass:"el-icon-error"}),e._v("\n 删除\n ")]):e._e()]}}])})],1)],1)},R=[],j={props:["form","activeList"],data:function(){return{charges:[],clearable:!1,isDisabled:!1,courseUnitPriceSettingsByType:[],boolOptionsOptions:Object(f["e"])(p["boolOptions"])}},methods:{courseItemChange:function(e,t,r){var a=this;this.activeList.forEach((function(e){r==e.id&&("PRACTICE"==e.courseType?a.$set(a.form.activeList[t],"vipGroupCategoryNames","网管课"):a.$set(a.form.activeList[t],"vipGroupCategoryNames",e.vipGroupCategoryNames),a.$set(a.form.activeList[t],"num",e.maxCourseNum),a.$set(a.form.activeList[t],"actualAmount",e.marketPrice),a.$set(a.form.activeList[t],"originalAmount",e.originalPrice))})),console.log(e,t)},isOptionDisabled:function(e){var t=this.form.activeList.map((function(e){return e.activityId}));return t.includes(e)},change:function(){},changeMusic:function(e){console.log(e,this.form)}},computed:{allCourseCurrentPrice:function(){var e=0;return this.form.activeList.forEach((function(t){e+=t.actualAmount})),e>0&&(this.form.isShowVipCourseForPay=!0),e}}},M=j,N=(r("e9e5"),Object(v["a"])(M,E,R,!1,null,"f750513e",null)),G=N.exports,D=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"teamCourseList"},[r("p",{staticClass:"coreTitle"},[e._v("\n 费用信息\n\n ")]),e._v(" "),r("div",{staticClass:"infoWrap"},["STUDENT"==e.form.calenderFeeType?r("el-form-item",{staticClass:"vertical",attrs:{label:"学生人数",prop:"isShowMusicInsuranceForPay"}},[r("el-input-number",{attrs:{controls:!1,min:0,type:"number"},model:{value:e.form.calenderFeeJson.sutdentNumber,callback:function(t){e.$set(e.form.calenderFeeJson,"sutdentNumber",t)},expression:"form.calenderFeeJson.sutdentNumber"}})],1):e._e(),e._v(" "),"TEACHER"==e.form.calenderFeeType?r("div",[r("el-table",{staticClass:"courseTable",staticStyle:{width:"100% !important",background:"#f9f9f9"},attrs:{data:e.form.teacherFeeList,"header-cell-style":{background:"#F9F9F9",color:"#444"}}},[r("el-table-column",{key:"courseType",attrs:{label:"课程类型",prop:"courseType",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"teacherFeeList."+t.$index+".courseType",rules:{required:!0,message:"请选择课程类型",trigger:"change"}}},[r("el-select",{staticStyle:{width:"90% !important"},attrs:{placeholder:"课程类型",clearable:"",disabled:!0},model:{value:e.form.teacherFeeList[t.$index].courseType,callback:function(r){e.$set(e.form.teacherFeeList[t.$index],"courseType",r)},expression:"form.teacherFeeList[scope.$index].courseType"}},e._l(e.courseUnitPriceSettingsByType,(function(t,a){return r("el-option",{key:a,attrs:{label:e.courseType[a],value:a}})})),1)],1)]}}],null,!1,352616143)}),e._v(" "),r("el-table-column",{key:"teacherNumber",attrs:{label:"老师人数",prop:"teacherNumber",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"teacherFeeList."+t.$index+".teacherNumber",rules:[{required:!0,message:"老师人数",trigger:"blur"}]}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:1,disabled:e.isDisabled,placeholder:"老师人数"},model:{value:e.form.teacherFeeList[t.$index].teacherNumber,callback:function(r){e.$set(e.form.teacherFeeList[t.$index],"teacherNumber",r)},expression:"form.teacherFeeList[scope.$index].teacherNumber"}})],1)]}}],null,!1,3044597605)}),e._v(" "),r("el-table-column",{key:"courseNumber",attrs:{label:"课时数",prop:"courseNumber",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"teacherFeeList."+t.$index+".courseNumber",rules:{required:!0,message:"请输入课时数",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:0,min:1,placeholder:"请输入课时数"},model:{value:e.form.teacherFeeList[t.$index].courseNumber,callback:function(r){e.$set(e.form.teacherFeeList[t.$index],"courseNumber",r)},expression:"form.teacherFeeList[scope.$index].courseNumber"}})],1)]}}],null,!1,42925583)},[r("template",{slot:"header"},[r("p",{},[e._v("课时数")])])],2),e._v(" "),r("el-table-column",{key:"courseCurrentPrice",attrs:{prop:"courseCurrentPrice",label:"单课时售价(元)",width:"170px"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-form-item",{attrs:{prop:"teacherFeeList."+t.$index+".courseCurrentPrice",rules:{required:!0,message:"单课时售价(元)",trigger:"blur"}}},[r("el-input-number",{staticClass:"number-input",staticStyle:{width:"90% !important"},attrs:{controls:!1,precision:2,min:1,placeholder:"单课时售价(元)"},model:{value:e.form.teacherFeeList[t.$index].courseCurrentPrice,callback:function(r){e.$set(e.form.teacherFeeList[t.$index],"courseCurrentPrice",r)},expression:"form.teacherFeeList[scope.$index].courseCurrentPrice"}})],1)]}}],null,!1,513736909)}),e._v(" "),r("el-table-column")],1)],1):e._e(),e._v(" "),r("div",[r("el-form-item",{staticClass:"vertical",attrs:{label:"总金额",prop:"isShowMusicInsuranceForPay"}},[r("el-input-number",{attrs:{value:e.allTotal,controls:!1,min:0,precision:2,disabled:!0,type:"number"}})],1),e._v(" "),r("el-form-item",{staticClass:"vertical",attrs:{label:"优惠金额",prop:"isShowMusicInsuranceForPay"}},[r("el-input-number",{attrs:{controls:!1,min:0,max:e.allTotal,precision:2,type:"number"},model:{value:e.form.calenderFeeJson.discountTotal,callback:function(t){e.$set(e.form.calenderFeeJson,"discountTotal",t)},expression:"form.calenderFeeJson.discountTotal"}})],1),e._v(" "),r("el-form-item",{staticClass:"vertical",attrs:{label:"付款金额",prop:"isShowMusicInsuranceForPay"}},[r("el-input-number",{attrs:{controls:!1,min:0,precision:2,disabled:!0},model:{value:e.form.currentTotalAmount,callback:function(t){e.$set(e.form,"currentTotalAmount",t)},expression:"form.currentTotalAmount"}})],1)],1),e._v(" "),r("el-row",[r("el-form-item",{ref:"paymentDate",attrs:{prop:"paymentDate",rules:[{required:!0,message:"请选择缴费时间",trigger:"blur"}]}},[r("template",{slot:"label"},[r("p",{staticStyle:{position:"relative"}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 缴费时间\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("在该时间段内学员才可缴费")]),e._v(" "),r("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",position:"relative",top:"2px"}})])],1)]),e._v(" "),r("el-date-picker",{staticStyle:{width:"280px"},attrs:{type:"daterange","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.paymentDate,callback:function(t){e.$set(e.form,"paymentDate",t)},expression:"form.paymentDate"}})],2)],1),e._v(" "),r("el-row",[r("el-form-item",{attrs:{label:"上传合同",prop:"contractUrl",rules:[{required:!0,message:"请上传合同",trigger:"change"}]}},[r("template",{slot:"label"},[r("p",{staticStyle:{position:"relative"}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 上传合同\n ")])]),e._v(" "),r("singe-file-upload",{attrs:{tips:"仅支持上传pdf格式文件",buttonText:"上传合同",accept:".pdf",bucket_name:"contracts"},on:{success:e.checkType},model:{value:e.form.contractUrl,callback:function(t){e.$set(e.form,"contractUrl",t)},expression:"form.contractUrl"}})],2)],1),e._v(" "),r("el-row",[r("el-col",{staticClass:"memoWrap"},[r("el-form-item",{ref:"memo",staticClass:"memoWrapItem",attrs:{prop:"memo",rules:[{required:!0,message:"请输入备注",trigger:"blur"}]}},[r("template",{slot:"label"},[r("p",{staticStyle:{position:"relative"}},[r("span",{staticStyle:{color:"#f56c6c","margin-right":"4px"}},[e._v("*")]),e._v("\n 备注\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("本次缴费的内容描述")]),e._v(" "),r("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c",position:"relative",top:"2px"}})])],1)]),e._v(" "),r("el-input",{staticStyle:{width:"100%"},attrs:{rows:3,type:"textarea",maxlength:"50","show-word-limit":""},model:{value:e.form.memo,callback:function(t){e.$set(e.form,"memo",t)},expression:"form.memo"}})],2)],1)],1)],1)])},B=[],U={props:["form","leBaoInfo","courseUnitPriceSettingsByType","teamCourse","member","teamActive","leBao"],data:function(){return{charges:[],clearable:!1,isDisabled:!1,boolOptionsOptions:[],courseType:p["courseType"]}},methods:{checkType:function(){console.log("来了"),this.$emit("checkType")}},computed:{allTotal:function(){console.log(this.form.calenderFeeJson.sutdentNumber);var e=0;return"STUDENT"==this.form.calenderFeeType?(this.teamCourse&&this.form.eclass.forEach((function(t){e+=t.courseCurrentPrice})),this.member&&this.form.memberList.forEach((function(t){e+=t.actualAmount*t.num})),this.teamActive&&this.form.activeList.forEach((function(t){e+=1*t.actualAmount})),e*=this.form.calenderFeeJson.sutdentNumber):this.form.teacherFeeList.forEach((function(t){e+=t.courseCurrentPrice*t.courseNumber*t.teacherNumber})),this.$emit("setAllTotal",e),e}}},V=U,q=(r("3935"),Object(v["a"])(V,D,B,!1,null,"3dbcc568",null)),z=q.exports,H=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"teamCourseList"},[r("p",{staticClass:"coreTitle"},[e._v("回款设置")]),e._v(" "),r("div",{staticClass:"infoWrap"},[r("div",{staticClass:"payList"},[e._l(e.form.musicGroupCalenderRefundPeriods,(function(t,a){return r("div",{key:a,staticClass:"payRow"},[r("p",{staticClass:"subTitle"},[e._v("回款周期"+e._s(a+1))]),e._v(" "),r("el-form-item",{attrs:{label:"回款金额",prop:"musicGroupCalenderRefundPeriods."+a+".refundAmount",rules:[{required:!0,message:"请输入回款金额",trigger:"blur"}]}},[r("el-input",{attrs:{type:"number",autocomplete:"off",placeholder:"请输入回款金额"},model:{value:t.refundAmount,callback:function(r){e.$set(t,"refundAmount","string"===typeof r?r.trim():r)},expression:"item.refundAmount"}},[r("i",{staticClass:"el-input__icon",staticStyle:{"padding-right":"5px"},attrs:{slot:"suffix"},slot:"suffix"},[e._v("元")])])],1),e._v(" "),r("el-form-item",{attrs:{label:"回款时间",prop:"musicGroupCalenderRefundPeriods."+a+".refundDate",rules:[{required:!0,trigger:"blur",message:"请选择回款金额"}]}},[r("el-date-picker",{attrs:{type:"date",placeholder:"回款时间",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:t.refundDate,callback:function(r){e.$set(t,"refundDate",r)},expression:"item.refundDate"}})],1),e._v(" "),e.form.musicGroupCalenderRefundPeriods.length<=1?e._e():r("i",{staticClass:"el-icon-delete delete",on:{click:function(r){return e.deteleRow(t,a)}}})],1)})),e._v(" "),r("el-row",[r("el-button",{staticClass:"addBackBtn",on:{click:e.addBack}},[e._v("+添加")])],1)],2)])])},Y=[],J={props:["form"],data:function(){return{charges:[],clearable:!1,isDisabled:!1,boolOptionsOptions:[],courseType:p["courseType"]}},methods:{deteleRow:function(e,t){this.form.musicGroupCalenderRefundPeriods.splice(t,1)},addBack:function(){this.form.musicGroupCalenderRefundPeriods.push({refundDate:"",refundAmount:""})}},computed:{}},W=J,Q=(r("47dc"),Object(v["a"])(W,H,Y,!1,null,"3735a0fa",null)),X=Q.exports,K=r("6612"),Z=r.n(K),ee=(r("5a0c"),r("81fd")),te=r("d349"),re=r("a7ba"),ae=r("a6e9"),ie=r("1cc7"),se=r("be41"),ne=r("7e78"),oe=["memberRankSettingId"],le=["memberRankSettingId"],ce={period:"",num:"",name:"",actualAmount:"",memberRankSettingId:"",optionalFlag:null,autoActivationFlag:!1},ue={components:{payTeamCourse:y,payMember:x,payLeBao:$,payTeamActive:G,subjectPreview:ee["a"],paySchoolInfo:z,backMoney:X},data:function(){return{form:{paymentType:"",memo:"",eclass:[{}],memberList:[Object(se["a"])(ce)],leBaoList:[{}],activeList:[{}],teacherFeeList:[],isShowMemberForPay:!0,isShowMusicInsuranceForPay:!0,isShowVipCourseForPay:!0,isShowMusicCourseForPay:!0,leixing:"1",isShowSalePrice:!0,calenderFeeJson:{discountTotal:"",allTotal:"",sutdentNumber:""},calenderFeeType:"STUDENT",musicGroupCalenderRefundPeriods:[{refundDate:"",refundAmount:""}],currentTotalAmount:0,contractUrl:""},teamCourse:!1,member:!1,teamActive:!1,leBao:!1,memberDisabled:!1,teamCourseDisabled:!1,teamActiveDisabled:!1,leBaoDisabled:!1,organizationCourseUnitPriceSettings:null,baseInfo:null,courseViewType:null,charges:null,memberRankList:[],organId:null,leBaoInfo:null,isShowLeBao:!1,isSetCourseSettingsId:!1,activeList:[{}],submitList:[],organizationCourseUnitPriceSettingsByType:null,rulesForm:{minMonthFee:null,maxMonthFee:null,minQuarterlyFee:null,maxQuarterlyFee:null,minHalfYearFee:null,maxHalfYearFee:null,minYearFee:null,maxYearFee:null},dialogSubjectVisible:!1,dialogSubjectList:[],activeName:null,preViewData:{},tenantId:null,isField:!1,showAutoActivationFlag:!1,initDetail:!1}},mounted:function(){var e=sessionStorage.getItem("tenantConfig");e=e?JSON.parse(e):{},e.tenantId&&"undefined"!=e.tenantId&&(this.tenantId=e.tenantId),this.organizationCourseUnitPriceSettings=JSON.parse(localStorage.getItem("organizationCourseUnitPriceSettings")),this.baseInfo=JSON.parse(localStorage.getItem("payMusicBase")),window.addEventListener("scroll",this.getScroll),this.init()},beforeDestroy:function(){window.removeEventListener("scroll",this.getScroll)},methods:{init:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t,r,a,i=this;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.organId=null===(t=this.musicGroup)||void 0===t?void 0:t.organId,this.courseViewType=null===(r=this.baseInfo)||void 0===r||null===(a=r.musicGroup)||void 0===a?void 0:a.courseViewType,2!=this.courseViewType&&"DRAFT"==this.$route.query.team_status?(this.teamCourse=!0,this.form.paymentType="MUSIC_APPLY"):2==this.courseViewType&&"DRAFT"==this.$route.query.team_status?(this.member=!0,this.memberDisabled=!0,this.teamCourse=!0,this.teamCourseDisabled=!0):"PROGRESS"==this.$route.query.team_status&&(this.leBao=!1,this.leBaoDisabled=!0),"SCHOOL"==this.$route.query.payUserType&&(this.leBao=!1,this.leBaoDisabled=!0),e.next=6,this.getCharges();case 6:return e.next=8,this.formatCourse();case 8:return e.next=10,this.getMemberList();case 10:return e.next=12,this.getLeBao();case 12:return e.next=14,this.getActive();case 14:return e.next=16,this.getMemberRules();case 16:return e.next=18,this.getAgreement();case 18:if(!this.$route.query.calenderId){e.next=22;break}return this.initDetail=!0,e.next=22,Object(ie["sb"])({id:this.$route.query.calenderId}).then((function(e){if(200==e.code){var t,r,a,s,n,o,l,u,m,d,p,f,h,b,v,g,y,S,_,C,w,T,P,k,x,L,A,O,F,I,$,E,R,j;if(null!==(t=e.data)&&void 0!==t&&null!==(r=t.calender)&&void 0!==r&&r.musicGroupOrganizationCourseSettingId)i.form.leixing="1",i.form.musicGroupOrganizationCourseSettingId=null===(F=e.data)||void 0===F||null===(I=F.calender)||void 0===I?void 0:I.musicGroupOrganizationCourseSettingId,i.isSetCourseSettingsId=!0;else i.form.leixing="2";if(null!==(a=e.data)&&void 0!==a&&null!==(s=a.calender)&&void 0!==s&&s.startPaymentDate&&null!==(n=e.data)&&void 0!==n&&null!==(o=n.calender)&&void 0!==o&&o.deadlinePaymentDate)i.$set(i.form,"paymentDate",[null===($=e.data)||void 0===$||null===(E=$.calender)||void 0===E?void 0:E.startPaymentDate,null===(R=e.data)||void 0===R||null===(j=R.calender)||void 0===j?void 0:j.deadlinePaymentDate]);if(i.$set(i.form,"contractUrl",null===(l=e.data)||void 0===l||null===(u=l.calender)||void 0===u?void 0:u.contractUrl),i.$set(i.form,"memo",null===(m=e.data)||void 0===m||null===(d=m.calender)||void 0===d?void 0:d.memo),i.$set(i.form,"isShowMemberForPay",null===(p=e.data)||void 0===p||null===(f=p.calender)||void 0===f||null===(h=f.paymentItemShowState)||void 0===h?void 0:h.isShowMemberForPay),i.$set(i.form,"isShowMusicInsuranceForPay",null===(b=e.data)||void 0===b||null===(v=b.calender)||void 0===v||null===(g=v.paymentItemShowState)||void 0===g?void 0:g.isShowMusicInsuranceForPay),i.$set(i.form,"isShowVipCourseForPay",null===(y=e.data)||void 0===y||null===(S=y.calender)||void 0===S||null===(_=S.paymentItemShowState)||void 0===_?void 0:_.isShowVipCourseForPay),i.$set(i.form,"isShowSalePrice",null===(C=e.data)||void 0===C||null===(w=C.calender)||void 0===w?void 0:w.isShowSalePrice),i.$set(i.form,"isShowMusicCourseForPay",null===(T=e.data)||void 0===T||null===(P=T.calender)||void 0===P||null===(k=P.paymentItemShowState)||void 0===k?void 0:k.isShowMusicCourseForPay),e.data.member&&e.data.member.length>0){var M;i.member=!0;var N=(null===(M=e.data)||void 0===M?void 0:M.member)||[];N.forEach((function(e){e.memberRankSettingId=i.formatParentId(e.memberRankSettingId,i.memberRankList)})),i.$set(i.form,"memberList",N)}if(e.data.repair&&(i.leBao=!0,i.$set(i.form,"leBaoList",[Object(c["a"])({},e.data.repair)])),(null===(x=e.data)||void 0===x||null===(L=x.course)||void 0===L?void 0:L.length)>0){var G,D;i.$set(i.form,"calenderFeeType",null===(G=e.data)||void 0===G||null===(D=G.calender)||void 0===D?void 0:D.calenderFeeType),i.$nextTick((function(){var t,r,a,s,n,o;i.teamCourse=!0,i.$set(i.form,"eclass",null===(t=e.data)||void 0===t?void 0:t.course),i.initDetail=!0,i.$set(i.form,"payUserType",null===(r=e.data)||void 0===r||null===(a=r.calender)||void 0===a?void 0:a.payUserType),i.$set(i.form,"musicGroupCalenderRefundPeriods",null===(s=e.data)||void 0===s?void 0:s.calenderRefundPeriods);var l=null===(n=e.data)||void 0===n||null===(o=n.calender)||void 0===o?void 0:o.calenderFeeJson;l&&(l=JSON.parse(l),i.$set(i.form,"calenderFeeJson",l),"TEACHER"==i.form.calenderFeeType&&i.$set(i.form,"teacherFeeList",l.teacherFeeList))}))}else{var B,U,V,q,z;i.$set(i.form,"calenderFeeType",null===(B=e.data)||void 0===B||null===(U=B.calender)||void 0===U?void 0:U.calenderFeeType),i.$set(i.form,"musicGroupCalenderRefundPeriods",null===(V=e.data)||void 0===V?void 0:V.calenderRefundPeriods);var H=null===(q=e.data)||void 0===q||null===(z=q.calender)||void 0===z?void 0:z.calenderFeeJson;H&&(H=JSON.parse(H),i.$set(i.form,"calenderFeeJson",H))}(null===(A=e.data)||void 0===A||null===(O=A.activity)||void 0===O?void 0:O.length)>0&&(i.teamActive=!0,i.$set(i.form,"activeList",e.data.activity),i.form.activeList.forEach((function(e){e.vipGroupCategoryNames=e.categoryName})))}}));case 22:this.submitList.length>0&&this.$bus.$emit("showguide",this.submitList);case 23:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getActive:function(){var e=this;return Object(ne["Y"])({organId:this.organId,rows:10,page:1,status:"PROGRESS",activityChannel:1,enable:!0}).then((function(t){200==t.code&&(e.activeList=t.data.rows,e.activeList.length<=0&&e.submitList.push("teamActive"))}))},getAgreement:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(ie["R"])();case 3:t=e.sent,t.data||this.submitList.push("agreement"),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}(),getMemberRules:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t,r,a=this;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(ae["a"])({group:"DEFAULT"});case 3:t=e.sent,r="cloud_price_range",t.data.forEach((function(e){if(e.paramName==r){var t=e.paranValue?JSON.parse(e.paranValue):null;t&&(a.rulesForm=t)}})),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),addShowMember:function(){this.memberDisabled||(this.member=!this.member,this.member&&this.form.memberList.length<0&&(this.form.memberList=[Object(se["a"])(ce)]))},formatParentId:function(e,t){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=Object(o["a"])(t);try{for(i.s();!(r=i.n()).done;){var s=r.value;if(s.children){var l=this.formatParentId(e,s.children,[].concat(Object(n["a"])(a),[s.id]));if(l.includes(e))return l}if(s.id===e)return[].concat(Object(n["a"])(a),[e])}}catch(c){i.e(c)}finally{i.f()}return a},getLeBao:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t,r=this;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(re["a"])({group:"MUSIC_REPAIR"});case 3:t=e.sent,this.leBaoInfo=t.data,t.data.forEach((function(e){188==e.id&&(r.isShowLeBao=!!e.paranValue)})),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),getMemberList:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t,r,a,i;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.$route.query.id,e.next=4,Object(w["h"])({musicGroupId:t});case 4:return r=e.sent,a=r.data,this.memberRankList=a||[],e.next=9,Object(w["f"])();case 9:i=e.sent,this.showAutoActivationFlag=i.data,e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](0),console.log(e.t0);case 16:case"end":return e.stop()}}),e,this,[[0,13]])})));function t(){return e.apply(this,arguments)}return t}(),getCharges:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t,r,a,i,s,n;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=null===(t=this.musicGroup)||void 0===t?void 0:t.organId,i=null===(r=this.musicGroup)||void 0===r?void 0:r.courseViewType,e.prev=2,e.next=5,Object(te["v"])({row:9999,courseViewType:i,organId:a});case 5:s=e.sent,n=s.data.rows.map((function(e){return e.id})),n.includes(this.form.musicGroupOrganizationCourseSettingId)||this.$set(this.form,"musicGroupOrganizationCourseSettingId",null),this.charges=s.data.rows,this.charges.length<=0?this.submitList.push("teamCourseType"):1==this.form.leixing&&this.teamCourse&&this.$set(this.form,"musicGroupOrganizationCourseSettingId",this.charges[0].id),e.next=14;break;case 12:e.prev=12,e.t0=e["catch"](2);case 14:case"end":return e.stop()}}),e,this,[[2,12]])})));function t(){return e.apply(this,arguments)}return t}(),goback:function(){var e=Object(c["a"])({},this.$route.query);e.calenderId=null,"resetTeam"==e.type||"look"==e.type?(this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/business/resetTeaming",query:e})):"teamDraft"!=e.type&&"feeAudit"!=e.type&&"FEE_AUDIT_FAILED"!=e.type||(this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/business/resetTeaming",query:e}))},formatCourse:function(){var e,t,r,a=null===(e=this.musicGroup)||void 0===e?void 0:e.organId,i=null===(t=this.musicGroup)||void 0===t?void 0:t.courseViewType,s={},n=(this.organizationCourseUnitPriceSettings||[]).filter((function(e){return a&&a==e.organId&&null!=i&&i==e.courseViewType})),l=Object(o["a"])(n);try{for(l.s();!(r=l.n()).done;){var c=r.value;s[c.courseType]=c}}catch(u){l.e(u)}finally{l.f()}return this.organizationCourseUnitPriceSettingsByType=s,s},priceChange:function(e,t){var r=Object(n["a"])(this.form.eclass),a=this.organizationCourseUnitPriceSettingsByType[e.courseType]||{},i=Math.round(Z()(a.unitPrice||1).multiply(e.courseTotalMinuties||1).value());e.courseCurrentPrice=i,e.courseOriginalPrice=i,r[t]=e,this.$set(this.form,"eclass",Object(n["a"])(r)),this.syncAllMoney()},priceChange2:function(e,t){var r=Object(n["a"])(this.form.eclass);r[t]=e,this.$set(this.form,"eclass",Object(n["a"])(r))},syncAllMoney:function(){var e,t=0,r=this.form.eclass,a=Object(o["a"])(r);try{for(a.s();!(e=a.n()).done;){var i=e.value;if(t+=i.courseCurrentPrice,this.cycles&&this.cycles.length)if(i.isStudentOptional)i.courseCurrentPrice;else{var s=Math.floor(i.courseCurrentPrice/this.cycles.length),n=i.courseCurrentPrice%this.cycles.length;s+n,s}}}catch(l){a.e(l)}finally{a.f()}return t},addExtraClass:function(){this.form.eclass.push({})},addActive:function(){this.form.activeList.push({})},addPayMember:function(){this.form.memberList.push(Object(se["a"])(ce))},removeActive:function(e){this.form.activeList[e]=null,this.$set(this.form,"activeList",this.form.activeList.filter((function(e){return!!e})))},removeExtraClass:function(e){this.form.eclass[e]=null,this.$set(this.form,"eclass",this.form.eclass.filter((function(e){return!!e})))},removePayMember:function(e){this.form.memberList[e]=null,this.$set(this.form,"memberList",this.form.memberList.filter((function(e){return!!e})))},onPreview:function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(){var t,r=this;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=this.$route.query.id,e.next=3,Object(ie["K"])({musicGroupId:t}).then((function(e){if(200==e.code){if(r.dialogSubjectList=e.data.musicGroupSubjectPlans,r.dialogSubjectList.length<=0)return void r.$message.error("请先设置声部信息");r.activeName=r.dialogSubjectList[0].subjectId.toString(),r.dialogSubjectVisible=!0}else r.$message.warning("没有可预览的声部")}));case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),checkType:function(){this.$refs.form.validate()},submitForm:function(){var e=this;this.$refs.form.validate(function(){var t=Object(u["a"])(Object(l["a"])().mark((function t(r,a){var i;return Object(l["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=11;break}if("SCHOOL"!=e.$route.query.payUserType){t.next=5;break}e.$confirm(e.$route.query.calenderId?"是否修改缴费":"是否创建缴费?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.onSubmit()})).catch((function(){})),t.next=9;break;case 5:return i=e.formatPreviewData(),e.preViewData=i,t.next=9,e.onPreview();case 9:t.next=12;break;case 11:e.$nextTick((function(){e.scrollView(a)}));case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}())},onSubmit:function(){var e=this;this.$refs.form.validate(function(){var t=Object(u["a"])(Object(l["a"])().mark((function t(r){var a,i,s,n;return Object(l["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!r){t.next=48;break}if(a=e.fommatDate(),"SCHOOL"!=a.payUserType){t.next=8;break}if(i=0,e.form.musicGroupCalenderRefundPeriods.forEach((function(e){i+=1*e.refundAmount})),i==e.form.currentTotalAmount){t.next=8;break}return e.$message.error("付款金额与回款金额不一致,请重新设置"),t.abrupt("return");case 8:if(!e.$route.query.calenderId){t.next=30;break}return a.calenderId=e.$route.query.calenderId,t.prev=10,t.next=13,Object(w["s"])(a);case 13:if(s=t.sent,200==s.code&&(e.$message.success("修改缴费成功"),e.goback()),207!=s.code){t.next=23;break}return t.next=18,e.$confirm(s.msg||"当前乐团存在未排课的缴费项目,请再次确认操作","提示",{type:"warning"});case 18:return a.confirmCreate=!0,t.next=21,Object(w["s"])(a);case 21:e.$message.success("修改缴费成功"),e.goback();case 23:t.next=28;break;case 25:t.prev=25,t.t0=t["catch"](10),console.log(t.t0);case 28:t.next=48;break;case 30:return t.prev=30,t.next=33,Object(w["r"])(a);case 33:if(n=t.sent,200==n.code&&(e.$message.success("创建缴费成功"),e.goback()),207!=n.code){t.next=43;break}return t.next=38,e.$confirm(n.msg||"当前乐团存在未排课的缴费项目,请再次确认操作","提示",{type:"warning"});case 38:return a.confirmCreate=!0,t.next=41,Object(w["r"])(a);case 41:e.$message.success("创建缴费成功"),e.goback();case 43:t.next=48;break;case 45:t.prev=45,t.t1=t["catch"](30),console.log(t.t1);case 48:case"end":return t.stop()}}),t,null,[[10,25],[30,45]])})));return function(e){return t.apply(this,arguments)}}())},scrollView:function(e){for(var t in e){var r=this.$refs[t];"[object Object]"!==Object.prototype.toString.call(r)&&r&&(r=r[0]),r.$el.scrollIntoView({block:"center",behavior:"smooth"});break}},findMemberItem:function(e){var t={};return this.memberRankList.forEach((function(r){Array.isArray(r.children)&&r.children.forEach((function(r){r.id===e&&(t=r)}))})),t},formatPreviewData:function(){var e,t,r,a=this,i=this.form,s=(null===(e=i.activeList)||void 0===e?void 0:e.length)>0?i.activeList:[],n=[];s.length>0&&s.forEach((function(e){e.activityId&&(e.categoryName=e.vipGroupCategoryNames,n.push(e))}));var o=JSON.parse(JSON.stringify(i.memberList)),l=[];o&&o.length>0&&o.forEach((function(e){e.memberRankSettingId=e.memberRankSettingId.length>0?e.memberRankSettingId[e.memberRankSettingId.length-1]:null;var t=a.findMemberItem(e.memberRankSettingId);t&&(e.name=t.name,e.intro=t.intro),e.memberRankSettingId&&l.push(e)}));var u=(null===(t=i.eclass)||void 0===t?void 0:t.length)>0?i.eclass:[],m=[];return u.length>0&&u.forEach((function(e){e.courseType&&(e.isStudentOptional=!0,m.push(e))})),{payUserType:this.$route.query.payUserType,musicGroup:this.musicGroup,paymentCalender:{calender:{isShowSalePrice:i.isShowSalePrice},activity:[].concat(n),course:m,member:l,memberPrivilegesItemList:[],repair:(null===(r=i.leBaoList)||void 0===r?void 0:r.length)>0&&this.isShowLeBao&&"PROGRESS"!=this.$route.query.team_status?Object(c["a"])(Object(c["a"])({},i.leBaoList[0]),{},{optionalFlag:!1}):null},isShowMemberForPay:i.isShowMemberForPay,isShowMusicInsuranceForPay:i.isShowMusicInsuranceForPay,isShowVipCourseForPay:i.isShowVipCourseForPay,isShowMusicCourseForPay:i.isShowMusicCourseForPay}},fommatDate:function(){if("STUDENT"==this.$route.query.payUserType){var e,t,r,a=this.form.memberList||[],i=[];return a.forEach((function(e){var t=e.memberRankSettingId,r=Object(s["a"])(e,oe);t&&i.push(Object(c["a"])(Object(c["a"])({},r),{},{memberRankSettingId:t.length>0?t[t.length-1]:null}))})),{payUserType:this.$route.query.payUserType,musicGroupOrganizationCourseSettingId:this.form.musicGroupOrganizationCourseSettingId||null,memo:this.form.memo,startPaymentDate:this.form.paymentDate[0],deadlinePaymentDate:this.form.paymentDate[1],calenderActivityList:(null===(e=this.form.activeList)||void 0===e?void 0:e.length)>0?this.form.activeList:null,musicRepair:(null===(t=this.form.leBaoList)||void 0===t?void 0:t.length)>0?Object(c["a"])({},this.form.leBaoList[0]):null,calenderMemberList:i.length>0?i:null,musicGroupPaymentCalenderCourseSettingsList:(null===(r=this.form.eclass)||void 0===r?void 0:r.length)>0?this.form.eclass:null,musicGroupId:this.$route.query.id,paymentItemShowState:JSON.stringify({isShowMemberForPay:this.form.isShowMemberForPay,isShowMusicInsuranceForPay:this.form.isShowMusicInsuranceForPay,isShowVipCourseForPay:this.form.isShowVipCourseForPay,isShowMusicCourseForPay:this.form.isShowMusicCourseForPay}),isShowSalePrice:this.form.isShowSalePrice}}var n,o,l,u=this.form.calenderFeeJson;"TEACHER"==this.form.calenderFeeType&&(u.teacherFeeList=this.form.teacherFeeList);var m=this.form.memberList||[],d=[];return m.forEach((function(e){var t=e.memberRankSettingId,r=Object(s["a"])(e,le);t&&d.push(Object(c["a"])(Object(c["a"])({},r),{},{memberRankSettingId:t.length>0?t[t.length-1]:null}))})),{payUserType:this.$route.query.payUserType,musicGroupOrganizationCourseSettingId:this.form.musicGroupOrganizationCourseSettingId||null,memo:this.form.memo,startPaymentDate:this.form.paymentDate[0],deadlinePaymentDate:this.form.paymentDate[1],calenderActivityList:(null===(n=this.form.activeList)||void 0===n?void 0:n.length)>0?this.form.activeList:null,musicRepair:(null===(o=this.form.leBaoList)||void 0===o?void 0:o.length)>0?Object(c["a"])({},this.form.leBaoList[0]):null,calenderMemberList:d.length>0?d:null,musicGroupPaymentCalenderCourseSettingsList:(null===(l=this.form.eclass)||void 0===l?void 0:l.length)>0?this.form.eclass:null,musicGroupId:this.$route.query.id,paymentItemShowState:JSON.stringify({isShowMemberForPay:this.form.isShowMemberForPay,isShowMusicInsuranceForPay:this.form.isShowMusicInsuranceForPay,isShowVipCourseForPay:this.form.isShowVipCourseForPay,isShowMusicCourseForPay:this.form.isShowMusicCourseForPay}),calenderFeeType:this.form.calenderFeeType,calenderFeeJson:JSON.stringify(u),musicGroupCalenderRefundPeriods:this.form.musicGroupCalenderRefundPeriods,currentTotalAmount:this.form.currentTotalAmount,contractUrl:this.form.contractUrl}},getScroll:function(){this.scrollTop=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,this.scrollTop&&this.scrollTop>=70?this.isField=!0:this.isField=!1},setAllTotal:function(e){this.form.calenderFeeJson.allTotal=e,this.form.calenderFeeJson.discountTotal?this.form.currentTotalAmount=this.form.calenderFeeJson.allTotal-this.form.calenderFeeJson.discountTotal:this.form.currentTotalAmount=this.form.calenderFeeJson.allTotal,this.$set(this.form,"currentTotalAmount",this.form.currentTotalAmount)},currentTotalAmount:function(e){this.$set(this.form,"currentTotalAmount",e)}},watch:{teamCourse:function(e){e||(this.$set(this.form,"eclass",[{}]),this.$set(this.form,"leixing","1"),this.$set(this.form,"musicGroupOrganizationCourseSettingId",null))},member:function(e){e||this.$set(this.form,"memberList",[Object(se["a"])(ce)])},teamActive:function(e){e||this.$set(this.form,"activeList",[{}])},leBao:function(e){e||this.$set(this.form,"leBaoList",[{}])},Eclass:{handler:function(e,t){var r=JSON.stringify(Object(c["a"])({},t)),a=JSON.stringify(Object(c["a"])({},e));if(this.initDetail||r==a)this.initDetail=!1;else{var i=[];e.forEach((function(e){i.push({courseType:e.courseType,teacherNumber:0,courseNumber:0,courseCurrentPrice:0})})),this.$set(this.form,"teacherFeeList",i)}},deep:!0},"form.currentTotalAmount":function(e){},"form.calenderFeeType":function(e,t){if("TEACHER"==e&&!this.initDetail){var r=[];this.form.eclass.forEach((function(e){r.push({courseType:e.courseType,teacherNumber:0,courseNumber:0,courseCurrentPrice:0})})),this.$set(this.form,"teacherFeeList",r)}},"form.musicGroupOrganizationCourseSettingId":function(){var e=Object(u["a"])(Object(l["a"])().mark((function e(t){var r;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t||this.isSetCourseSettingsId){e.next=11;break}return e.prev=1,e.next=4,Object(w["t"])({id:t});case 4:r=e.sent,r.data.map((function(e){return Object(c["a"])({},e)})),this.$set(this.form,"eclass",r.data),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](1);case 11:this.isSetCourseSettingsId=!1;case 12:case"end":return e.stop()}}),e,this,[[1,9]])})));function t(t){return e.apply(this,arguments)}return t}(),"form.leixing":function(e){this.cycles=[{}],this.collapse=[0],this.cycle={},"1"!=e&&this.$set(this.form,"musicGroupOrganizationCourseSettingId",void 0),"1"!==e||this.isSetCourseSettingsId?"2"===e&&this.$set(this.form,"eclass",[{}]):this.$set(this.form,"eclass",[]),this.isSetCourseSettingsId=!1,2==this.courseViewType&&"PROGRESS"==this.$route.query.team_status&&(this.memberDisabled=!1,"1"===e&&(this.member=!1,this.teamCourse&&(this.member=!0,this.memberDisabled=!0,this.member&&this.form.memberList.length<0&&(this.form.memberList=[Object(se["a"])(ce)]))))}},computed:{musicGroup:function(){var e;return null===(e=this.baseInfo)||void 0===e?void 0:e.musicGroup},Eclass:function(){return JSON.parse(JSON.stringify(this.form.eclass))}}},me=ue,de=(r("7ceb"),r("87ce"),Object(v["a"])(me,a,i,!1,null,"46b264c7",null));t["default"]=de.exports},3422:function(e,t,r){"use strict";r("cf7a")},3935:function(e,t,r){"use strict";r("9ecf")},4071:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAYAAAB+ZAqzAAAAAXNSR0IArs4c6QAAAnZJREFUWEftlkuoTWEUx39/iYSkZICBMlAmZEKZUG4eV/IqRF2PlEcpoWRAFElCSimKPFJIUgh3IDKQUiIlKUo35BHyyKO/vvrUOeees79zzj373DvwzfZurfX99trrv9YSPfSoh3LRbWC25wLLgEWSvpcmqFvAbC8FjgO9gdvALElfCuGaDmZ7NXAY6FUAch+YLunDv3dNBbO9CdgLZUvoEdAi6U2AaxqY7R3AtoTY2iW1NA3M9n5gQwLqWczYy9zBbIc6OgKsSkA9jlCvc68x20FxJ4HFCahQ+DMkvc9dlbb7AueA2QmoO7FVfM69j9nuD1wCpiagrgPzJH0rZ1dRlbaHAx2SXO3Ysj0IuAJMSvhcDL9Y0s9KdmXBbI8DwhddA1ZK+pOCsz0k+oxP2J4Glkv6nWXXCcz2ROAqMDg6XgCWZH2d7WHATWBMAioodG01f6EIzPYU4DIwoOSCkLn55Yat7ZFAOzAqAbVP0uZU5ju1C9utwHmgXwXnW0FlhcPW9ugINSJx4XZJO6uFKmqwtk8BYepnnXux53y0PRa4AQzNcAjC2SjpQC1QpWChSx8FViSCPIwz70RBHZZzCYJZIynErPmU1lh4PgisrzlSscMvoE3S2XrjVGoXu4CtdQb9ASyUFERU98lqsFuA3TWuRl+BOZKCSrt0Mvcx2+uAQyXbZqULPwGtku52iSg6JxdF223AsbifV7rzHTBN0oNGQBWpMiug7QXAGaBPGbuOuEs9aRRU1WDB0PZMIIynwgb8ImwRkp43EqomsAg3OY6sgcDTCPWq0VA1g0W4CcCe2BLe5gFVF1heIKVxk6psFsh/sK5m+i+TBrwhOwaIQAAAAABJRU5ErkJggg=="},"47dc":function(e,t,r){"use strict";r("8492")},5187:function(e,t,r){e.exports=r.p+"static/img/checkIcon3.69dbba15.png"},"63ce":function(e,t,r){},"7ceb":function(e,t,r){"use strict";r("f981")},"81fd":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{background:"#f3f4f8",overflow:"hidden"}},[a("tips"),e._v(" "),e.mypreViewData&&e.mypreViewData.isShowMusicCourseForPay?a("course-model",{attrs:{isShowSalePrice:e.isShowSalePrice,courseViewType:e.courseViewType,courseShowInfo:e.courseShowInfo,remissionCourseFeeStatus:e.remissionCourseFeeStatus,courseInfo:e.courseInfo,trainSmallBg:e.trainSmallBg,serviceValidDate:e.serviceValidDate,cloudTeacherFee:e.cloudTeacherFee,chargeTypeName:e.chargeTypeName,memberCoursePrice:e.memberCoursePrice,memberCourseShowFlag:e.memberCourseShowFlag},on:{onCourseChange:e.onCheckItem,onQuestions:e.onQuestions}}):e._e(),e._v(" "),e.toolsPackage&&e.toolsPackage.length>0&&e.mypreViewData&&e.mypreViewData.isShowMemberForPay?a("member",{attrs:{isShowSalePrice:e.isShowSalePrice,toolsPackage:e.toolsPackage,isGiveAccessories:e.isGiveAccessories,accessStatus:e.accessOries.length>0},on:{onCheckItem:e.onCheckItem}},[e.toolsPackage.length>0?e._l(e.toolsPackage,(function(t,r){return a("div",{key:r},[a("div",{staticClass:"yunTrain"},[a("img",{attrs:{src:e.trainBg}}),e._v(" "),a("div",{staticClass:"toolText"},[a("p",{staticClass:"toolTitle"},[a("span",{staticClass:"title-name"},[e._v(e._s(t.name))]),e._v(" "),a("span",{staticClass:"lookVideo"},[e._v("查看视频"),a("i",{staticClass:"icon_video",on:{click:function(t){e.videoStatus=!0}}})])]),e._v(" "),a("p",{staticClass:"toolDate"},[e._v("\n 购买后根据教学情况激活使用,详情咨询机构老师\n ")])])]),e._v(" "),a("div",{staticClass:"section"},[a("el-row",{staticClass:"title-row"},[a("el-col",{attrs:{span:12}},[e._v("学练宝版本"+e._s(e.isGiveAccessories&&e.accessStatus?"(赠送辅件一套)":null))]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("时长")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:7}},[e._v("原价")])],1),e._v(" "),a("div",[a("el-row",{key:r,staticClass:"option-row",staticStyle:{cursor:"default"}},[a("el-col",{staticStyle:{"padding-left":"0.05rem"},attrs:{span:12}},[a("span",{staticStyle:{display:"flex","align-items":"center"}},[e._v("\n "+e._s(t.name)+"\n ")])]),e._v(" "),a("el-col",{attrs:{span:5}},[a("span",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v(e._s(t.num)+e._s(e._f("unitFormat")(t.period)))])]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:7}},[a("del",{staticStyle:{color:"#1A1A1A","font-size":"14px",width:"100%"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.originalAmount)))])])],1),e._v(" "),a("el-row",{staticClass:"option-intro"},[a("el-col",{staticStyle:{"padding-left":"0.05rem"},attrs:{span:24}},[e._v("\n "+e._s(t.intro)+"\n ")])],1),e._v(" "),a("div",{staticClass:"paymentSection",on:{click:function(r){return e.onCheckItem(t,"train")}}},[a("i",{staticClass:"check_default",class:[t.isStatus?"check_active":"",t.optionalFlag?"disabled":""]}),e._v(" "),a("div",{staticClass:"paymentPrice"},[a("span",[e._v("优惠价:¥"+e._s(e._f("moneyFormat")(t.actualAmount)))])])])],1)],1)])})):e._e()],2):e._e(),e._v(" "),a("instrument-model",{attrs:{isShowSalePrice:e.isShowSalePrice,instrumentResultList:e.instrumentResultList,buyMaintenance:e.buyMaintenance,trainSmallBg:e.trainSmallBg,courseViewType:e.courseViewType,toolsPackage:e.toolsPackage,organId:e.organId},on:{instrumentF:e.onCheckItem,onQuestions:e.onQuestions}}),e._v(" "),e.instrumentRepair&&e.instrumentRepair.length>0&&e.mypreViewData&&e.mypreViewData.isShowMusicInsuranceForPay?a("div",{staticClass:"courseModel",staticStyle:{"margin-top":"12px"}},[a("h2",{staticClass:"titles"},[a("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),a("span",[e._v("乐器保养")])]),e._v(" "),a("div",{staticClass:"section"},[a("el-row",{staticClass:"title-row"},[a("el-col",{attrs:{span:e.isShowSalePrice?9:14}},[e._v("服务项目")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("时间")]),e._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("原价")]),e._v(" "),e.isShowSalePrice?a("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("售价")]):e._e()],1),e._v(" "),e._l(e.instrumentRepair,(function(t,r){return a("el-row",{key:r,staticClass:"option-row",nativeOn:{click:function(r){return e.onCheckItem(t)}}},[a("el-col",{attrs:{span:e.isShowSalePrice?9:14}},[a("i",{staticClass:"check_default",class:[t.isStatus?"check_active":"",t.optionalFlag?"disabled":"",t.noSelect?"noSelect":""]}),e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:5}},[a("span",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v(e._s(t.num)+"(年)")])]),e._v(" "),a("el-col",{attrs:{span:5}},[a("del",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.originalAmount)))])]),e._v(" "),e.isShowSalePrice?a("el-col",{attrs:{span:5}},[a("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.actualAmount)))])]):e._e()],1)}))],2)]):e._e(),e._v(" "),a("accessories",{attrs:{isShowSalePrice:e.isShowSalePrice,trainSmallBg:e.trainSmallBg,accessOries:e.accessOries,isGiveAccessories:e.giveAccessoriesStatus},on:{onAuxiliarie:e.onCheckItem}}),e._v(" "),e.activityList&&e.activityList.length>0&&e.mypreViewData&&e.mypreViewData.isShowVipCourseForPay?a("activity",{attrs:{isShowSalePrice:e.isShowSalePrice,trainSmallBg:e.trainSmallBg,activityList:e.activityList},on:{onCheckItem:e.onCheckItem}}):e._e(),e._v(" "),a("el-dialog",{staticClass:"videoDialog",attrs:{title:"视频",visible:e.videoStatus,"modal-append-to-body":!1,"append-to-body":!0,width:"576px"},on:{"update:visible":function(t){e.videoStatus=t}}},[e.videoStatus?a("videoTcplayer",{staticClass:"ql-video",staticStyle:{width:"100%"},attrs:{controls:"controls",src:"https://oss.dayaedu.com/daya/202105/SWmqmvW.mp4",poster:r("df4f")}}):e._e()],1)],1)},i=[],s=(r("456d"),r("7f7f"),r("2909")),n=(r("c5f6"),r("ac6a"),r("c7eb")),o=(r("96cf"),r("1da1")),l=r("8793"),c=r("ec8a"),u=r("1cc7"),m=r("5a0c"),d=r.n(m),p=(r("6612"),function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)}),f=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"paymentTips"},[r("h2",{staticClass:"titleTips",staticStyle:{"padding-top":"12px"}},[e._v("注册说明")]),e._v(" "),r("div",{staticClass:"noticeInfo"},[e._v("\n 1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;"),r("br"),e._v("\n 2、为避免因部分已注册家长放弃名额导致乐团声部失衡,系统设定各声部限额放大20%比例开放注册,系统自动按照完全完成注册的先后顺序确认录取名单,因此,超员后有可能出现无法注册的情况,请您理解。如果其他声部仍有名额,在您孩子的身体条件适合该乐器的前提下,我们将优先予以调配。\n ")])])}],h=(r("fc99"),r("2877")),b={},v=Object(h["a"])(b,p,f,!1,null,"338c14ea",null),g=v.exports,y=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"courseModel",staticStyle:{"margin-top":"12px"}},[1==e.courseViewType&&e.courseShowInfo.length>0?[r("div",{staticClass:"yunTrain"},[r("img",{attrs:{src:e.trainBg}}),e._v(" "),r("div",{staticClass:"toolText"},[r("p",{staticClass:"toolTitle"},[e._v("服务")]),e._v(" "),e.serviceValidDate?r("p",{staticClass:"toolDate"},[e._v("\n 服务有效期:"+e._s(e.serviceValidDate)+"\n ")]):e._e()])])]:e._e(),e._v(" "),(0==e.courseViewType||2==e.courseViewType||3==e.courseViewType)&&e.courseInfo.length>0?r("h2",{staticClass:"titles"},[r("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),r("span",[e._v("乐团课程")])]):e._e(),e._v(" "),e.courseInfo?[(0==e.courseViewType||2==e.courseViewType||3==e.courseViewType)&&e.courseInfo.length>0?r("div",{staticClass:"section"},[r("el-row",{staticClass:"title-row"},[r("el-col",{attrs:{span:e.isShowSalePrice?9:14}},[e._v("课程类型")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("时长")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("原价")]),e._v(" "),e.isShowSalePrice?r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("售价")]):e._e()],1),e._v(" "),e._l(e.courseInfo,(function(t,a){return r("el-row",{key:a,staticClass:"option-row",nativeOn:{click:function(r){return e.onCheckItem(t)}}},[r("el-col",{attrs:{span:e.isShowSalePrice?9:14}},[r("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(" "),r("el-col",{attrs:{span:5}},[r("span",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v(e._s(t.courseTotalMinuties)+"(分钟)")])]),e._v(" "),r("el-col",{attrs:{span:5}},[r("del",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.courseOriginalPrice)))])]),e._v(" "),e.isShowSalePrice?r("el-col",{attrs:{span:5}},[r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(e.remissionCourseFeeStatus?0:t.courseCurrentPrice)))])]):e._e()],1)}))],2):e._e(),e._v(" "),1==e.courseViewType&&e.courseShowInfo.length>0?r("div",{staticClass:"section"},e._l(e.courseShowInfo,(function(t,a){return r("el-row",{key:a,staticClass:"option-row",nativeOn:{click:function(r){return e.onCheckItem(t)}}},[r("el-col",{attrs:{span:16}},[r("i",{staticClass:"check_default",class:[t.isStatus?"check_active":"",t.isStudentOptional?"disabled":""]}),e._v(" "),r("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?r("el-icon",{attrs:{name:"question"},on:{click:function(t){return t.stopPropagation(),e.onQuestions("amr")}}}):e._e()],1),e._v(" "),r("el-col",{attrs:{span:8}},[r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.courseCurrentPrice)))])])],1)})),1):e._e(),e._v(" "),e.memberCourseShowFlag&&2==e.courseViewType?r("div",{staticClass:"section"},[r("el-row",{staticClass:"title-row"},[r("el-col",{attrs:{span:12}},[e._v("赠送课程")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5,offset:1}},[e._v("原价")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:6}},[e._v("现价")])],1),e._v(" "),e._l(e.memberCoursePrice,(function(t){return r("el-row",{key:t.name,staticClass:"option-row",staticStyle:{"line-height":"20px","padding-top":"8px","font-size":"12px"}},[r("el-col",{staticStyle:{"padding-left":"24px",color:"#808080",position:"relative"},attrs:{span:12}},[r("i",{staticClass:"small_point"}),e._v(" "+e._s(t.name))]),e._v(" "),r("el-col",{attrs:{span:6}},[r("del",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.price)))])]),e._v(" "),r("el-col",{attrs:{span:6}},[r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(0)))])])],1)}))],2):e._e()]:e._e()],2)},S=[],_={name:"courseModel",props:{courseViewType:[Number,String],courseShowInfo:Array,courseInfo:Array,toolsPackage:Array,trainSmallBg:String,cloudTeacherFee:[Number,String],serviceValidDate:String,chargeTypeName:String,memberCoursePrice:Array,memberCourseShowFlag:Boolean,remissionCourseFeeStatus:Boolean,isShowSalePrice:Boolean},components:{},data:function(){return{trainBg:r("31f0"),videoStatus:!1}},methods:{onCheckItem:function(e){this.$emit("onCourseChange",e)},onQuestions:function(e){this.$emit("onQuestions",e)}}},C=_,w=(r("ef76"),Object(h["a"])(C,y,S,!1,null,"5bf08f6a",null)),T=w.exports,P=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"instrumentModel"},[e.instrumentResultList.length>0?r("h2",{staticClass:"titles"},[r("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),r("span",[e._v("乐器")])]):e._e(),e._v(" "),e.instrumentResultList.length>0?r("div",{staticClass:"section"},e._l(e.instrumentResultList,(function(t,a){return r("div",{key:a},[r("el-row",{staticClass:"title-row"},[r("el-col",{attrs:{span:"LEASE"==t[0]["kitType"]||e.isShowSalePrice?14:19}},["GROUP"==t[0]["kitType"]?[e._v("\n 团购乐器\n ")]:e._e(),e._v(" "),"LEASE"==t[0]["kitType"]?[e._v("\n 乐器租赁\n ")]:e._e(),e._v(" "),"FREE"==t[0]["kitType"]?[e._v("\n 免费乐器\n ")]:e._e(),e._v(" "),"owned"==t[0]["kitType"]?[e._v("\n 自备乐器\n ")]:e._e()],2),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[["GROUP","LEASE","FREE"].includes(t[0]["kitType"])?[e._v("原价")]:e._e()],2),e._v(" "),["GROUP","FREE"].includes(t[0]["kitType"])&&e.isShowSalePrice?r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("\n 售价\n ")]):e._e(),e._v(" "),"LEASE"==t[0]["kitType"]?r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("租赁押金\n ")]):e._e()],1),e._v(" "),e._l(t,(function(t,a){return r("div",{key:a},[r("div",{on:{click:function(r){return e.instrumentF(t)}}},[r("el-row",{staticClass:"option-row"},[r("el-col",{attrs:{span:"LEASE"==t.kitType||e.isShowSalePrice?14:19}},[r("i",{staticClass:"check_default",class:[t.isStatus?"check_active":""]}),e._v(" "),r("div",[e._v("\n "+e._s(t.name)+"\n ")])]),e._v(" "),r("el-col",{attrs:{span:5}},["owned"!=t.kitType?r("del",{staticStyle:{color:"#808080","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.marketPrice)))]):e._e()]),e._v(" "),["FREE","GROUP"].includes(t.kitType)&&e.isShowSalePrice?r("el-col",{attrs:{span:5}},["FREE"==t.kitType?r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(0)))]):e._e(),e._v(" "),"GROUP"==t.kitType?r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(2!=e.courseViewType||55!=e.organId||e.toolsPackages?Number((t.price-t.coupon+t.organShareProfit).toFixed(2)):Number((t.discountPrice-t.coupon+t.organShareProfit).toFixed(2)))))]):e._e()]):e._e(),e._v(" "),"LEASE"==t.kitType?r("el-col",{attrs:{span:5}},[r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(Number((t.depositFee-t.coupon).toFixed(2)))))])]):e._e()],1),e._v(" "),r("el-row",{staticStyle:{"padding-left":"26px","margin-bottom":"5px"}},[r("el-col",{attrs:{span:24}},[r("div",{staticStyle:{display:"flex","align-items":"center"}},[t.goodsList?r("div",{staticStyle:{"font-size":"12px",color:"#808080"}},[e._v("\n "+e._s(t.goodsList[0].specification)+"\n ")]):e._e(),e._v(" "),1==t.groupRemissionCourseFee&&"GROUP"==t.kitType?r("el-tag",{staticStyle:{"margin-left":"10px",color:"#ff4644","border-color":"#ff4644"},attrs:{effect:"plain",size:"mini"},on:{click:function(t){return t.stopPropagation(),e.onLookRule(t)}}},[e._v("课程减免")]):e._e()],1)])],1)],1)])}))],2)})),0):e._e()])},k=[],x={name:"instrumentModel",props:{courseViewType:[Number,String],instrumentResultList:Array,buyMaintenance:Boolean,trainSmallBg:String,toolsPackage:Array,organId:[Number,String,null],isShowSalePrice:Boolean},methods:{instrumentF:function(e){this.$emit("instrumentF",e,"INSTRUMENT")},onQuestions:function(e){this.$emit("onQuestions",e)}},computed:{toolsPackages:function(){var e=!1;return this.toolsPackage.forEach((function(t){t.isStatus&&(e=!0)})),e}}},L=x,A=(r("03e5"),Object(h["a"])(L,P,k,!1,null,"5524106f",null)),O=A.exports,F=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"courseModel",staticStyle:{"margin-top":"12px"}},[e.accessOries.length>0?r("h2",{staticClass:"titles"},[r("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),r("span",[e._v("辅件")])]):e._e(),e._v(" "),e.accessOries.length>0?r("div",{key:"accessOries",staticClass:"section"},[r("el-row",{staticClass:"title-row"},[r("el-col",{attrs:{span:e.isShowSalePrice?14:19}},[e._v("辅件商品")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("原价")]),e._v(" "),e.isShowSalePrice?r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("现价")]):e._e()],1),e._v(" "),e._l(e.accessOries,(function(t,a){return r("div",{key:a},[r("el-row",{staticClass:"option-row",nativeOn:{click:function(r){return e.onAuxiliarie(t)}}},[r("el-col",{attrs:{span:e.isShowSalePrice?14:19}},[r("i",{staticClass:"check_default",class:[t.isStatus?"check_active":""]}),e._v(e._s(t.name)+"\n ")]),e._v(" "),r("el-col",{attrs:{span:5}},[r("del",{staticStyle:{color:"#808080","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.goodsList[0]?t.goodsList[0].marketPrice:0)))])]),e._v(" "),e.isShowSalePrice?r("el-col",{attrs:{span:5}},[0==t.price?r("span",{staticStyle:{color:"#1a1a1a"}},[e._v("免费")]):r("span",{staticStyle:{color:"#1a1a1a"}},[e._v("¥"+e._s(e._f("moneyFormat")(e.isGiveAccessories?0:t.price)))])]):e._e()],1),e._v(" "),t.childGoodsList?r("el-row",{staticStyle:{"padding-left":"24px"}},e._l(t.childGoodsList,(function(a,i){return r("el-col",{key:a.id},[r("span",{staticStyle:{"font-size":"12px",color:"#808080"}},[e._v(e._s(a.name)+"\n "+e._s(t.childGoodsList.length-1==i?"":"、"))])])})),1):e._e()],1)}))],2):e._e()])},I=[],$={name:"courseModel",props:{trainSmallBg:String,accessOries:Array,isGiveAccessories:Boolean,isShowSalePrice:Boolean},data:function(){return{}},methods:{onAuxiliarie:function(e){this.$emit("onAuxiliarie",e)}}},E=$,R=(r("e75c"),Object(h["a"])(E,F,I,!1,null,"70eb5954",null)),j=R.exports,M=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"courseModel",staticStyle:{"margin-top":"12px"}},[r("h2",{staticClass:"titles"},[r("img",{attrs:{src:e.trainSmallBg}}),e._v(" "),r("span",[e._v("小班课")])]),e._v(" "),r("div",{staticClass:"section"},[r("el-row",{staticClass:"title-row"},[r("el-col",{attrs:{span:e.isShowSalePrice?9:14}},[e._v("课程类型")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("课程数")]),e._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("原价")]),e._v(" "),e.isShowSalePrice?r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:5}},[e._v("售价")]):e._e()],1),e._v(" "),e._l(e.activityList,(function(t,a){return r("div",{key:a},[r("el-row",{staticClass:"option-row",nativeOn:{click:function(r){return e.onCourseChange(t)}}},[r("el-col",{attrs:{span:e.isShowSalePrice?9:14}},[r("i",{staticClass:"check_default",class:[t.isStatus?"check_active":"",t.optionalFlag?"disabled":""]}),e._v(" "),r("span",{staticStyle:{display:"flex","align-items":"center"}},[[e._v(e._s(t.categoryName))]],2)]),e._v(" "),r("el-col",{attrs:{span:5}},[r("span",{staticStyle:{color:"#AAA","font-size":"12px"}},[e._v(e._s(t.num)+"(节)")])]),e._v(" "),r("el-col",{attrs:{span:5}},[r("del",{staticStyle:{color:"#808080","font-size":"12px"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.originalAmount)))])]),e._v(" "),e.isShowSalePrice?r("el-col",{attrs:{span:5}},[r("span",{staticStyle:{color:"#1A1A1A"}},[e._v("¥"+e._s(e._f("moneyFormat")(t.actualAmount)))])]):e._e()],1)],1)}))],2)])},N=[],G={name:"courseModel",props:{trainSmallBg:String,activityList:Array,isShowSalePrice:Boolean},methods:{onCourseChange:function(e){this.$emit("onCheckItem",e)}}},D=G,B=(r("ab55"),Object(h["a"])(D,M,N,!1,null,"0965b489",null)),U=B.exports,V=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.toolsPackage.length>0?r("div",{key:"toolsPackage",staticClass:"courseModel",staticStyle:{"margin-top":"12px"}},[e._t("default")],2):e._e()},q=[],z={name:"MemberModal",components:{videoTcplayer:l["a"]},filters:{unitFormat:function(e){var t={YEAR:"年",MONTH:"月",YEAR_HALF:"半年"};return t[e]}},props:{courseViewType:[Number,String],toolsPackage:Array,trainSmallBg:String,isGiveAccessories:Boolean,accessStatus:Boolean,isShowSalePrice:Boolean},data:function(){return{trainBg:r("31f0"),videoStatus:!1}},watch:{toolsPackage:{handler:function(e){console.log(e,"heandler")},immediate:!0,deep:!0}},methods:{onTrainChange:function(e){this.$emit("onCheckItem",e,"train")},onQuestions:function(e){this.$emit("onQuestions",e)}}},H=z,Y=(r("ef5c"),Object(h["a"])(H,V,q,!1,null,"0342998a",null)),J=Y.exports,W={props:["subjectId","calenderId","preViewData"],components:{Tips:g,courseModel:T,InstrumentModel:O,accessories:j,activity:U,member:J,videoTcplayer:l["a"]},data:function(){var e=this.$route.query;return{videoStatus:!1,trainBg:r("31f0"),trainSmallBg:r("9214"),musicGroupId:e.id,organId:null,result:{},instrument:{},baseInfo:{},money:580,balance:0,needPrice:0,payType:!1,cloudTeacherFee:0,cloudTeacherPlusFee: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:[],instrumentRepair:[],activityList:[],courseInfo:[],courseShowInfo:[],musicGroupSubject:null,instrumentResult:[],accessOries:[],agreeStatus:!0,authStatus:!1,ids:[],instrumentResultList:[],paymentStatus:null,paymentPattern:null,serviceValidDate:null,courseShowStatus:!1,chargeTypeList:[],chargeTypeName:null,courseViewType:0,leBaoStatus:!1,buyMaintenance:!1,isClickStatus:!1,accessStatus:!1,accessIsShowStatus:!1,memberCoursePrice:[],memberCourseShowFlag:!1,buyCloudTeacher:!1,remissionCourseFeeStatus:!1,isGiveAccessories:!1,giveAccessoriesStatus:!1,mypreViewData:{isShowMemberForPay:!0,isShowMusicInsuranceForPay:!0,isShowVipCourseForPay:!0,isShowMusicCourseForPay:!0},isShowSalePrice:!0,formatList:[{title:"双师云教程",monthPrice:330,halfYearPrice:1980},{title:"基础云练",monthPrice:114,halfYearPrice:680},{title:"合奏云练",monthPrice:114,halfYearPrice:680},{title:"独奏云练",monthPrice:114,halfYearPrice:680}],tempNum:{YEAR:12,MONTH:1,QUARTERLY:3,YEAR_HALF:6}}},mounted:function(){this.__init()},methods:{__init:function(){var e=Object(o["a"])(Object(n["a"])().mark((function e(){var t,r=this;return Object(n["a"])().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(u["Mb"])(t).then((function(e){var t=e;if(200==t.code){var a=t.data;r.__dataFormat(a)}r.calcPrice()}));case 3:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),__dataFormat:function(e){var t,r=this;this.mypreViewData=this.preViewData&&this.preViewData.paymentCalender?JSON.parse(JSON.stringify(this.preViewData)):{isShowMemberForPay:!0,isShowMusicInsuranceForPay:!0,isShowVipCourseForPay:!0,isShowMusicCourseForPay:!0},console.log(this.preViewData),this.courseViewType=e.musicGroup.courseViewType||0,this.isGiveAccessories=e.musicGroup&&e.musicGroup.isGiveAccessories||!1,this.organId=e.musicGroup.organId;var a=e.musicGroup.status;this.cloudTeacherFee=e.cloudTeacherFee||0,this.cloudTeacherPlusFee=e.cloudTeacherPlusFee||0;var i=e.memberCoursePrice||{};for(var n in i)this.memberCoursePrice.push({name:coursesType[n],price:i[n]});this.memberCourseShowFlag=e.musicGroup.memberCourseShowFlag||!1,this.paymentPattern=2,e.musicGroupPaymentCalender&&(this.paymentPattern=e.musicGroupPaymentCalender.paymentPattern,this.serviceValidDate=d()(e.musicGroupPaymentCalender.paymentValidStartDate).format("YYYY/MM/DD")+"~"+d()(e.musicGroupPaymentCalender.paymentValidEndDate).format("YYYY/MM/DD"));var o=this.mypreViewData&&this.mypreViewData.paymentCalender?this.mypreViewData.paymentCalender:e.paymentCalender||null;if(o&&o.calender&&(this.isShowSalePrice=o.calender.isShowSalePrice||!1,o.calender.paymentItemShowState)){var l=JSON.parse(o.calender.paymentItemShowState);for(var c in l)this.mypreViewData[c]=l[c]}var u=o&&o.course?o.course:[];console.log(o,"paymentCalender");var m=o&&o.member?o.member:[];m.forEach((function(e){e.isStatus=!0})),this.toolsPackage=m;var p=o&&o.repair?o.repair:{};p.name="乐器保养",p.isStatus=!0,this.instrumentRepair=Number(p.actualAmount)?[p]:[];var f=o&&o.activity?o.activity:[];f.map((function(e){e.isStatus=!0})),this.activityList=Object(s["a"])(f),u&&u.length>0&&(u.forEach((function(e){e.isStatus=!0})),this.courseInfo=u),this.musicGroupSubject=e.musicGroupSubjectPlan||[];var h={},b=[],v="SCHOOL"==(null===(t=this.preViewData)||void 0===t?void 0:t.payUserType)||"PROGRESS"==a?[]:e.musicGroupSubjectGoodsGroupList;if(null===v||void 0===v||v.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],i.discountPrice=i.goodsList[0].discountPrice,h.id?(i.isStatus=!1,"GROUP"==a?("GROUP"==h.kitType&&h.price0&&(i.childGoodsList.forEach((function(e){"INSTRUMENT"!=e.type&&"OTHER"!=e.type&&s.push(e.name)})),i.childGoodsNames=s.join("、")),r.instrumentResult.push(i),b.push(i)};for(var i in t)a(i)}else"ACCESSORIES"==e.type&&(e.isStatus=!0,r.accessOries.push(e))})),this.instrumentResult.length>0){var g=this.groupBy(b,(function(e){return[e.kitType]}));this.instrumentResultList=g,this.instrumentGetStatus(),this.setLeBaoStatus()}this.giveAccessoriesSetStatus(),this.calcPrice(),console.log({toolsPackage:this.toolsPackage,instrumentRepair:this.instrumentRepair,activityList:this.activityList,courseInfo:this.courseInfo,instrumentResult:this.instrumentResult,accessOries:this.accessOries,musicGroupSubject:this.musicGroupSubject}),this.$forceUpdate()},groupBy:function(e,t){var r={};return e.forEach((function(e){var a=JSON.stringify(t(e));r[a]=r[a]||[],r[a].push(e)})),Object.keys(r).map((function(e){return r[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){}})},onCheckItem:function(e,t){e.optionalFlag||e.noSelect||("INSTRUMENT"==t&&this.instrumentResultList.forEach((function(t){t.forEach((function(t){(t.id!=e.id||t.id==e.id&&t.kitType!=e.kitType)&&(t.isStatus=!1)}))})),e.isStatus=!e.isStatus,console.log(e.isStatus,"onCheckItem"),"train"==t&&this.giveAccessoriesSetStatus(),this.instrumentGetStatus(),this.setLeBaoStatus(),this.calcPrice(),this.$forceUpdate())},giveAccessoriesSetStatus:function(){var e=!1;this.toolsPackage.forEach((function(t){e=!!t.isStatus})),this.giveAccessoriesStatus=this.isGiveAccessories&&e,this.$forceUpdate()},instrumentGetStatus:function(){var e={};this.instrumentResultList.forEach((function(t){t.forEach((function(t){t.isStatus&&(e=t)}))})),this.remissionCourseFeeStatus="GROUP"==e.kitType&&1==e.groupRemissionCourseFee},setLeBaoStatus:function(){var e=!1;this.instrumentResultList.forEach((function(t){t.forEach((function(t){t.isStatus&&(e=!0)}))})),this.instrumentRepair.forEach((function(t){e?t.noSelect=!1:(t.noSelect=!0,t.isStatus=!1)})),this.$forceUpdate()},calcPrice:function(){var e=this,t=[],r=0,a=0,i=0,s=0,n={},o=[],l=0,c=[],u=[],m=0,d=0,p=0,f=0,h=0,b="",v=this.musicGroupSubject,g=this.courseInfo;v&&g.forEach((function(e){e.isStatus&&(d+=parseFloat(e.courseCurrentPrice),e.id>0&&o.push(e.id),e.isStudentOptional||(h+=parseFloat(e.courseCurrentPrice)),a+=parseFloat(e.courseOriginalPrice))}));var y=this.toolsPackage;y.length>0&&y.forEach((function(t){if(t.isStatus){e.buyCloudTeacher=!0;var i=(e.tempNum[t.period]||1)*t.num,s=0;if(i%6===0){var n=Number(i/6);e.formatList.forEach((function(e){s+=Number(e.halfYearPrice*n)}))}else e.formatList.forEach((function(e){s+=Number(e.monthPrice*i)}));a+=parseFloat(s),r+=parseFloat(t.actualAmount)}else e.buyCloudTeacher=!1}));var S=this.instrumentResult;S.length>0&&S.forEach((function(t){if(t.isStatus){if("自备乐器"!=t.name&&(b+=t.goodsIdList),"FREE"==t.kitType)r+=0,l=0;else if("LEASE"==t.kitType)l=t.coupon,"自备乐器"!=t.name?(r+=t.depositFee,i+=t.depositFee):r+=0;else if("GROUP"==t.kitType){var o=!1;e.toolsPackage.forEach((function(e){e.isStatus&&(o=!0)})),2!=e.courseViewType||55!=e.organId||o?(r+=parseFloat(t.price),i+=parseFloat(t.price),l=t.coupon?t.coupon:0):(r+=parseFloat(t.discountPrice),i+=parseFloat(t.discountPrice),l=t.coupon?t.coupon:0)}"LEASE"==t.kitType?"自备乐器"!=t.name&&(a+=parseFloat(t.marketPrice),s+=t.depositFee):(a+=parseFloat(t.marketPrice),s+=parseFloat(t.marketPrice)),t.id&&(n[t.id]=t.kitType),"GROUP"==t.kitType&&1==t.groupRemissionCourseFee&&(d=parseFloat(d-h))}}));var _=this.instrumentRepair;_.length>0&&_.forEach((function(t){t.isStatus?(e.buyMaintenance=!0,a+=t.originalAmount,r+=parseFloat(t.actualAmount)):e.buyMaintenance=!1})),r+=parseFloat(m+d),this.accessOries.length>0&&this.accessOries.forEach((function(t){t.isStatus&&(p+=e.giveAccessoriesStatus?0:parseFloat(t.price),r+=e.giveAccessoriesStatus?0:parseFloat(t.price),t.goodsList&&t.goodsList.length>0&&t.goodsList.forEach((function(e){f+=parseFloat(e.marketPrice),a+=parseFloat(e.marketPrice)})),n[t.id]="ACCESSORIES")}));var C=this.activityList;C.length>0&&C.forEach((function(e){e.isStatus&&(u.push(e.id),a+=e.originalAmount,r+=parseFloat(e.actualAmount))}));var w=r;this.payCountMoney=r,this.ids=t,this.needPrice=Number(r.toFixed(2)),this.orderInfo={amount:Number(r.toFixed(2)),marketPrice:Number(a.toFixed(2)),groupPurchasePrice:w,couponPrice:l,goodsGroupIds:n,goodsIds:c.join(","),contractGoodsIds:b,buyCalenderActivityId:u,courseKeys:o,musicClassFee:d,accessMarketPrice:f,accessPrice:p,goodsPrice:i,goodsMarketPrice:s}},permission:function(e){return Object(c["a"])(e)}},filters:{unitFormat:function(e){var t={YEAR:"(年)",MONTH:"(月)",YEAR_HALF:"(半年)"};return t[e]}}},Q=W,X=(r("e3d4"),Object(h["a"])(Q,a,i,!1,null,"333021a8",null));t["a"]=X.exports},"834f":function(e,t,r){},8492:function(e,t,r){},"87ce":function(e,t,r){"use strict";r("bb71f")},9214:function(e,t,r){e.exports=r.p+"static/img/yunTrain_small_bg.b5242407.png"},"92e3":function(e,t,r){"use strict";r.d(t,"v",(function(){return l})),r.d(t,"I",(function(){return c})),r.d(t,"t",(function(){return u})),r.d(t,"c",(function(){return m})),r.d(t,"E",(function(){return d})),r.d(t,"bb",(function(){return p})),r.d(t,"Z",(function(){return f})),r.d(t,"d",(function(){return h})),r.d(t,"M",(function(){return b})),r.d(t,"x",(function(){return v})),r.d(t,"db",(function(){return g})),r.d(t,"u",(function(){return y})),r.d(t,"o",(function(){return S})),r.d(t,"cb",(function(){return _})),r.d(t,"Q",(function(){return C})),r.d(t,"fb",(function(){return w})),r.d(t,"gb",(function(){return T})),r.d(t,"P",(function(){return P})),r.d(t,"U",(function(){return k})),r.d(t,"C",(function(){return x})),r.d(t,"l",(function(){return L})),r.d(t,"Y",(function(){return A})),r.d(t,"eb",(function(){return O})),r.d(t,"J",(function(){return F})),r.d(t,"m",(function(){return I})),r.d(t,"w",(function(){return $})),r.d(t,"N",(function(){return E})),r.d(t,"f",(function(){return R})),r.d(t,"e",(function(){return j})),r.d(t,"L",(function(){return M})),r.d(t,"K",(function(){return N})),r.d(t,"T",(function(){return G})),r.d(t,"H",(function(){return D})),r.d(t,"a",(function(){return B})),r.d(t,"y",(function(){return U})),r.d(t,"p",(function(){return V})),r.d(t,"n",(function(){return q})),r.d(t,"q",(function(){return z})),r.d(t,"g",(function(){return H})),r.d(t,"G",(function(){return Y})),r.d(t,"r",(function(){return J})),r.d(t,"D",(function(){return W})),r.d(t,"B",(function(){return Q})),r.d(t,"A",(function(){return X})),r.d(t,"h",(function(){return K})),r.d(t,"k",(function(){return Z})),r.d(t,"i",(function(){return ee})),r.d(t,"j",(function(){return te})),r.d(t,"S",(function(){return re})),r.d(t,"O",(function(){return ae})),r.d(t,"F",(function(){return ie})),r.d(t,"z",(function(){return se})),r.d(t,"R",(function(){return ne})),r.d(t,"V",(function(){return oe})),r.d(t,"X",(function(){return le})),r.d(t,"s",(function(){return ce})),r.d(t,"ab",(function(){return ue})),r.d(t,"W",(function(){return me})),r.d(t,"b",(function(){return pe}));var a=r("b85c"),i=r("3835"),s=r("267e"),n=sessionStorage.getItem("tenantConfig");n=n?JSON.parse(n):{};var o=n.tenantId,l=null,c=null;1==o?(c=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],l=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]):(c=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],l=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]);var u=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],m=[{label:"正常签到",value:1},{label:"异常签到",value:0}],d=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],p=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],f=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],h=[].concat(f,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),b=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"MEMBER",label:"学练宝购买"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"2020双十一活动"},{value:"DOUBLE_ELEVEN2021",label:"2021双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"MALL_BUY",label:"商城销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"ADD_STUDENT",label:"乐团报名"},{value:"REPLACEMENT",label:"乐器置换"},{value:"SCHOOL",label:"学校订单"},{value:"PERSONAL",label:"个人订单"},{value:"OTHER",label:"其他"},{value:"ACTIVITY",label:"活动购买"},{value:"LIVE_BUY",label:"直播购物"},{value:"LIVE_GROUP_BUY",label:"直播课购买"},{value:"SCHOOL_GOODS_PURCHASE",label:"商品采购"},{value:"DIRECTOR_TRAINING_CAMP",label:"乐队指导培训"}],v=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],g=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],y=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],S=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],_=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],C=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],w=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],T=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"续费类回访",label:"续费类回访"},{value:"服务回访",label:"服务回访"},{value:"其他",label:"其他"}]},{value:"学练宝",label:"学练宝",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],P=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],k=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],x=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],L=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],A=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],O=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],F=de(s["musicGroupType"]),I=de(s["classTime"]),$=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],E=de(s["payOrderType"]),R=de(s["auditType"]),j=de(s["auditPaymentType"]),M=de(s["orderServerType"]),N=de(s["orderAuditType"]),G=de(s["rewardModeType"]),D=de(s["musicClassType"]),B=de(s["ProbationPeriodStatus"]),U=de(s["downListType"]),V=de(s["conclusion"]),q=de(s["clientType"]),z=de(s["couponType"]),H=de(s["backType"]),Y=de(s["memberEnum"]),J=de(s["coupontypeDetail"]),W=de(s["issue"]),Q=de(s["feedbackType"]),X=de(s["feedbackTypeDesc"]),K=de(s["campState"]),Z=de(s["catgGoupType"]),ee=de(s["catRole"]),te=de(s["catType"]),re=de(s["quiteReason"]),ae=de(s["payUserType"]),ie=de(s["levelStatus"]),se=de(s["evaluateStatus"]),ne=de(s["problemType"]),oe=de(s["schoolUserType"]),le=de(s["shareLiveType"]),ce=de(s["courseEmnu"]),ue=de(s["suggestionType"]),me=de(s["scoreType"]);function de(e){var t=[];for(var r in e)t.push({label:e[r],value:r});return t}var pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],r=Object(i["a"])(t,2),s=r[0],n=r[1],o={};if(e&&e.length){var l,c=Object(a["a"])(e);try{for(c.s();!(l=c.n()).done;){var u=l.value;o[u[s]]=u[n]}}catch(m){c.e(m)}finally{c.f()}}return o}},"9ecf":function(e,t,r){},a6e9:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return n}));var a=r("b775"),i=(r("4328"),"/api-web");function s(e){return Object(a["a"])({url:i+"/sysConfig/list",method:"get",params:e})}function n(e){return Object(a["a"])({url:i+"/sysConfig/batchUpdate",method:"post",data:e,headers:{"Content-Type":"application/json"}})}},a7ba:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return n}));var a=r("829b"),i=function(e){return Object(a["a"])({url:"/api-web/sysTenantConfig/queryAll",params:e,method:"get"})},s=function(e){return Object(a["a"])({url:"/api-web/questionnaireTopic/queryPage",params:e,method:"get"})},n=function(e){return Object(a["a"])({url:"/api-web/sysTenantConfig/batchUpSet",data:e,method:"post",requestType:"json"})}},ab55:function(e,t,r){"use strict";r("dec2")},b66e:function(e,t,r){},bb71f:function(e,t,r){},be41:function(e,t,r){"use strict";r("5df3"),r("1c4c");var a=r("53ca"),i=(r("456d"),r("ac6a"),function e(t){if(null===t)return null;var r=Object.assign({},t);return Object.keys(r).forEach((function(i){return r[i]="object"===Object(a["a"])(t[i])?e(t[i]):t[i]})),Array.isArray(t)?(r.length=t.length,Array.from(r)):r});t["a"]=i},cf7a:function(e,t,r){},d062:function(e,t,r){},d16e:function(e,t,r){e.exports=r.p+"static/img/checkIcon1.d14a40ae.png"},d349:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"d",(function(){return m})),r.d(t,"f",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"o",(function(){return f})),r.d(t,"D",(function(){return h})),r.d(t,"E",(function(){return b})),r.d(t,"F",(function(){return v})),r.d(t,"i",(function(){return g})),r.d(t,"g",(function(){return y})),r.d(t,"j",(function(){return S})),r.d(t,"r",(function(){return _})),r.d(t,"p",(function(){return C})),r.d(t,"q",(function(){return w})),r.d(t,"h",(function(){return T})),r.d(t,"s",(function(){return P})),r.d(t,"G",(function(){return k})),r.d(t,"k",(function(){return x})),r.d(t,"t",(function(){return L})),r.d(t,"w",(function(){return A})),r.d(t,"u",(function(){return O})),r.d(t,"v",(function(){return F})),r.d(t,"n",(function(){return I})),r.d(t,"b",(function(){return $})),r.d(t,"C",(function(){return E})),r.d(t,"m",(function(){return R})),r.d(t,"B",(function(){return j})),r.d(t,"a",(function(){return M})),r.d(t,"l",(function(){return N})),r.d(t,"y",(function(){return G})),r.d(t,"x",(function(){return D})),r.d(t,"z",(function(){return B})),r.d(t,"A",(function(){return U}));var a=r("15fd"),i=r("b775"),s=r("829b"),n=r("4328"),o=r.n(n),l=["id"],c="/api-web";function u(e){return Object(i["a"])({url:c+"/organization/queryPage",method:"get",params:e})}function m(e){return Object(i["a"])({url:c+"/organization/add",method:"post",data:o.a.stringify(e)})}function d(e){return Object(i["a"])({url:c+"/organization/update",method:"post",data:o.a.stringify(e)})}function p(e){return Object(s["a"])({url:c+"/area/queryChild",method:"get",hideLoading:!0,params:e})}function f(e){return Object(i["a"])({url:c+"/area/getParentArea/".concat(e.id),method:"get"})}function h(e){return Object(i["a"])({url:c+"/subject/queryPageByIdOrName",method:"post",data:o.a.stringify(e)})}function b(e){return Object(i["a"])({url:c+"/subject/queryPageTree",method:"get",params:e})}function v(e){return Object(i["a"])({url:c+"/subject/upset",method:"post",data:e})}function g(e){return Object(i["a"])({url:c+"/chargeType/upSet",method:"post",data:e})}function y(e){return Object(i["a"])({url:c+"/chargeType/del/".concat(e),method:"post"})}function S(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 C(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 T(e){return Object(s["a"])({url:c+"/chargeTypeSubjectMapper/queryPage",method:"get",data:{},params:e,requestType:"form"})}function P(e){return Object(s["a"])({url:c+"/chargeTypeSubjectMapper/insert",method:"post",data:e})}function k(e){return Object(s["a"])({url:c+"/chargeTypeSubjectMapper/update",method:"post",data:e})}function x(e){var t=e.id,r=Object(a["a"])(e,l);return Object(s["a"])({url:c+"/chargeTypeSubjectMapper/del/"+t,method:"post",params:r})}function L(e){return Object(s["a"])({url:c+"/musicGroupOrganizationCourseSettings/add",method:"post",data:e})}function A(e){return Object(s["a"])({url:c+"/musicGroupOrganizationCourseSettings/update",method:"post",data:e})}function O(e){return Object(s["a"])({url:c+"/musicGroupOrganizationCourseSettings/delSetting",method:"post",data:{},params:e,requestType:"form"})}function F(e){return Object(s["a"])({url:c+"/musicGroupOrganizationCourseSettings/queryPage",method:"get",data:{},params:e,requestType:"form"})}function I(e){return Object(s["a"])({url:c+"/organizationCourseUnitPriceSettings/queryPage",method:"get",params:e,data:{},requestType:"form"})}function $(e){return Object(s["a"])({url:c+"/organizationCourseUnitPriceSettings/save",method:"post",data:e})}function E(e){return Object(s["a"])({url:c+"/organizationCourseUnitPriceSettings/update",method:"post",data:e})}function R(e){return Object(s["a"])({url:c+"/organizationCourseDurationSettings/queryPage",method:"get",data:{},params:e})}function j(e){return Object(s["a"])({url:c+"/organizationCourseDurationSettings/update",method:"post",params:e})}function M(e){return Object(s["a"])({url:c+"/organizationCourseDurationSettings/insert",method:"post",params:e})}function N(e){return Object(s["a"])({url:c+"/organizationCourseDurationSettings/del",method:"post",data:e})}function G(e){return Object(s["a"])({url:c+"/organizationCloudTeacherFee/queryPage",method:"get",params:e})}function D(e){return Object(s["a"])({url:c+"/organizationCloudTeacherFee/add",method:"post",requestType:"form",data:e})}function B(e){return Object(s["a"])({url:c+"/organizationCloudTeacherFee/update",method:"post",requestType:"form",data:e})}function U(e,t){return Object(s["a"])({url:c+"/organizationCourseUnitPriceSettings/querySingle/".concat(e,"/").concat(t),method:"get"})}},dec2:function(e,t,r){},df4f:function(e,t,r){e.exports=r.p+"static/img/video_bg.0da9f0a8.png"},e3d4:function(e,t,r){"use strict";r("eb7d")},e3fe:function(e,t,r){"use strict";r("07c5")},e75c:function(e,t,r){"use strict";r("ea7c")},e9e5:function(e,t,r){"use strict";r("834f")},ea7c:function(e,t,r){},eb7d:function(e,t,r){},ec48:function(e,t,r){"use strict";r("63ce")},ef5c:function(e,t,r){"use strict";r("f494c")},ef76:function(e,t,r){"use strict";r("b66e")},f1a4:function(e,t,r){e.exports=r.p+"static/img/checkIcon2.5cef59e4.png"},f494c:function(e,t,r){},f981:function(e,t,r){},fc99:function(e,t,r){"use strict";r("23f0")}}]);