(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0581a43f"],{"054c":function(e,t,a){},"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,a,s){return e/=s/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var s=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,a){var r=n(),o=e-r,u=20,l=0;t="undefined"===typeof t?500:t;var c=function e(){l+=u;var n=Math.easeInOutQuad(l,r,o,t);i(n),l1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(i["a"])(t,2),n=a[0],r=a[1],o={};if(e&&e.length){var u,l=Object(s["a"])(e);try{for(l.s();!(u=l.n()).done;){var c=u.value;o[c[n]]=c[r]}}catch(d){l.e(d)}finally{l.f()}}return o}},"95c6":function(e,t,a){},be2e:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"sigup-container"},[a("div",{staticClass:"topWrap"},[a("div",[a("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[a("div",[a("h2",[a("el-page-header",{attrs:{content:e.teamName+"报名详情"},on:{back:e.onCancel}})],1),e._v(" "),a("p",{staticStyle:{"margin-bottom":"15px","font-size":"18px","font-weight":"400"}},[e._v("\n 报名截止时间:"+e._s(e._f("formatTimer")(e.applyExpireDate))+" 缴费截止时间:"+e._s(e._f("formatTimer")(e.paymentExpireDate))+"\n ")])]),e._v(" "),a("p",{staticClass:"msg",class:"PAY"==e.status?"pay":""},[a("img",{attrs:{src:"APPLY"==e.status?e.stepImgs.APPLY:e.stepImgs.PAY,alt:""}}),e._v("\n "+e._s("APPLY"==e.status?"报名中":"缴费中")+"\n ")])]),e._v(" "),a("div",{staticClass:"btnList"},[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/openPay",expression:"'musicGroup/openPay'"},{name:"show",rawName:"v-show",value:"APPLY"==e.status,expression:"status == 'APPLY'"}],staticClass:"newBand",on:{click:e.payStart}},[e._v("\n 开始缴费\n ")]),e._v(" "),a("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/found",expression:"'musicGroup/found'"}],staticClass:"newBand",on:{click:e.onGoHome}},[e._v("\n 确认开团\n ")]),e._v(" "),a("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionPayment",expression:"'musicGroup/extensionPayment'"},{name:"show",rawName:"v-show",value:"PAY"==e.status,expression:"status == 'PAY'"}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!0)}}},[e._v("\n 延长缴费\n ")]),e._v(" "),a("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionApplyExpireDate",expression:"'musicGroup/extensionApplyExpireDate'"}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!1)}}},[e._v("\n 延长报名\n ")]),e._v(" "),a("div",{staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("payment")}}},[e._v("报名链接")]),e._v(" "),a("div",{staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("rePayment")}}},[e._v("报名链接(无乐器)")]),e._v(" "),a("div",{staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("detail")}}},[e._v("缴费详情")]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.rightList.length>0,expression:"rightList.length > 0"},{name:"permission",rawName:"v-permission",value:"studentRegistration/queryStudentApplyDetailExport",expression:"'studentRegistration/queryStudentApplyDetailExport'"}],staticClass:"newBand",on:{click:e.onDownLoadExecl}},[e._v("\n 报表导出\n ")]),e._v(" "),a("auth",{attrs:{auths:"studentRegistration/queryPreApplyList",router:["/business/signupList"]}},[a("div",{staticClass:"newBand",staticStyle:{"margin-right":"0"},on:{click:function(t){e.forecastVisible=!0}}},[e._v("\n 预报名名单\n ")])]),e._v(" "),a("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/addMusicGroupRegs",expression:"'musicGroup/addMusicGroupRegs'"}],staticClass:"newBand",on:{click:function(t){e.mergeVisible=!0}}},[e._v("\n 合并学员\n ")])],1)]),e._v(" "),a("el-dialog",{attrs:{title:"选择合并乐团",visible:e.mergeVisible,width:"950px"},on:{"update:visible":function(t){e.mergeVisible=t}}},[e.mergeVisible?a("mergeMusic",{staticStyle:{padding:"0 20px"},attrs:{organId:e.organId},on:{close:function(t){e.mergeVisible=!1},submited:e.getList}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:"预报名名单",visible:e.forecastVisible,width:"950px"},on:{"update:visible":function(t){e.forecastVisible=t}}},[e.forecastVisible?a("forecastList",{on:{close:function(t){e.forecastVisible=!1}}}):e._e()],1)],1),e._v(" "),a("div",{staticClass:"searchList"},[a("save-form",{attrs:{inline:!0,model:e.searchFrom},on:{submit:e.search,reset:e.onReset}},[a("el-form-item",{attrs:{label:"专业"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.searchFrom.subject,callback:function(t){e.$set(e.searchFrom,"subject","string"===typeof t?t.trim():t)},expression:"searchFrom.subject"}},e._l(e.soundList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"是否允许调剂"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.searchFrom.isAllowAdjust,callback:function(t){e.$set(e.searchFrom,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchFrom.isAllowAdjust"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"用户名或手机号"}},[a("el-input",{attrs:{clearable:""},model:{value:e.searchFrom.name,callback:function(t){e.$set(e.searchFrom,"name","string"===typeof t?t.trim():t)},expression:"searchFrom.name"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger","native-type":"search"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"primary","native-type":"reset"}},[e._v("重置")])],1)],1)],1),e._v(" "),a("div",{staticClass:"sigup-core"},[a("div",{staticClass:"left"},[a("el-table",{attrs:{data:e.leftList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"乐团声部",prop:"subjectName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"计划招生",prop:"expectedStudentNum",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("p",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}]},[e._v(e._s(t.row.expectedStudentNum))]),e._v(" "),a("el-input",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],model:{value:t.row.expectedStudentNum,callback:function(a){e.$set(t.row,"expectedStudentNum","string"===typeof a?a.trim():a)},expression:"scope.row.expectedStudentNum"}})],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"已报名",prop:"applyStudentNum",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"已缴费",prop:"payNum",align:"center"}})],1),e._v(" "),a("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/updateExpectedStudentNum",expression:"'musicGroup/updateExpectedStudentNum'"}],staticClass:"btnWrap",staticStyle:{"margin-right":"20px","margin-top":"20px"}},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}],on:{click:function(t){e.isEdit=!0}}},[e._v("编辑")]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],on:{click:e.saveIsEdit}},[e._v("保存")])],1)],1),e._v(" "),a("div",{staticClass:"right"},[a("el-table",{ref:"multipleTable",attrs:{data:e.rightList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{label:"学员姓名",prop:"studentName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"家长姓名",prop:"parentsName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"年级班级",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.currentGrade+t.row.currentClass)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"性别",prop:"gender",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("sex")(t.row.gender))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"服从调剂",prop:"isAllowAdjust",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("isAllowAdjust")(t.row.isAllowAdjust))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"报名专业",prop:"subjectName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"调剂专业",prop:"actualSubjectName",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"联系电话",prop:"parentsPhone",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"报名缴费状态",fixed:"right",prop:"paymentStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("paymentStatus")(t.row.paymentStatus))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",fixed:"right",width:"240",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/batchUpdateSubject",expression:"'studentRegistration/batchUpdateSubject'"},{name:"show",rawName:"v-show",value:2!=t.row.paymentStatus,expression:"scope.row.paymentStatus != 2"}],attrs:{type:"text"},on:{click:function(a){return e.resetSubject(t.row)}}},[e._v("修改专业")]),e._v(" "),a("el-popover",{directives:[{name:"show",rawName:"v-show",value:t.row.remark,expression:"scope.row.remark"}],attrs:{placement:"top-start",title:"备注",width:"200",trigger:"hover",content:t.row.remark}},[a("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("备注")])],1),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/queryFeeDetail",expression:"'studentRegistration/queryFeeDetail'"},{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{type:"text"},on:{click:function(a){return e.lookdetail(t.row)}}},[e._v("查看")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroupQuit/directQuitMusicGroup2",expression:"'musicGroupQuit/directQuitMusicGroup2'"},{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{type:"text"},on:{click:function(a){return e.quitTeam(t.row)}}},[e._v("退团退费")]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:e.permission("musicGroupQuit/directQuitMusicGroup3")&&2==t.row.paymentStatus,expression:"\n permission('musicGroupQuit/directQuitMusicGroup3') &&\n scope.row.paymentStatus == 2\n "}],attrs:{type:"text"},on:{click:function(a){return e.quieTeams(t.row)}}},[e._v("退团")]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:e.permission("visit/add"),expression:"permission('visit/add')"}],attrs:{type:"text"},on:{click:function(a){return e.addVisit(t.row)}}},[e._v("新增回访")]),e._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"},{name:"permission",rawName:"v-permission",value:"subjectChange/getStudentOriginal",expression:"'subjectChange/getStudentOriginal'"}],attrs:{type:"text"},on:{click:function(a){return e.openChangeVoice(t.row)}}},[e._v("更改声部")])],1)]}}])})],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:"APPLY"==e.status,expression:"status == 'APPLY'"}],staticStyle:{"margin-top":"10px","margin-bottom":"10px"}},[a("el-button",{on:{click:e.onSelectAll}},[e._v("全选/取消")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/openPayment",expression:"'studentRegistration/openPayment'"}],staticStyle:{"background-color":"#14928a",border:"1px solid #14928a"},attrs:{type:"primary"},on:{click:e.onPartPayment}},[e._v("提前缴费")])],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)]),e._v(" "),a("el-dialog",{attrs:{title:"修改专业",visible:e.subjectVisible,width:"400px"},on:{"update:visible":function(t){e.subjectVisible=t}}},[a("el-form",{attrs:{model:e.maskForm}},[a("el-form-item",{attrs:{label:"选择专业"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.subject,callback:function(t){e.$set(e.maskForm,"subject","string"===typeof t?t.trim():t)},expression:"maskForm.subject"}},e._l(e.soundList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.subjectVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.okReset}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:e.isPay?"延长缴费":"延长报名",visible:e.extendPaymentStatus,"destroy-on-close":"",width:"400px"},on:{"update:visible":function(t){e.extendPaymentStatus=t}}},[a("el-form",{ref:"extendForm",attrs:{model:e.extendForm,rules:e.extendRule}},[e.isPay?a("el-form-item",{attrs:{label:"延长缴费时间",prop:"expireDate"}},[a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":{firstDayOfWeek:1},placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1):a("el-form-item",{attrs:{label:"延长报名时间",prop:"expireDate"}},[a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":e.applyDates,placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.extendPaymentStatus=!1}}},[e._v("取 消")]),e._v(" "),(e.isPay,a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onExtendPayment("extendForm",e.isPay)}}},[e._v("确 定")]))],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"订单详情",visible:e.orderVisible,width:"600px"},on:{"update:visible":function(t){e.orderVisible=t}}},[a("el-form",{attrs:{model:e.orderForm,inline:!0}},[a("el-form-item",{attrs:{label:"学员姓名"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.name,callback:function(t){e.$set(e.orderForm,"name","string"===typeof t?t.trim():t)},expression:"orderForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"实缴金额"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.totalAmount,callback:function(t){e.$set(e.orderForm,"totalAmount","string"===typeof t?t.trim():t)},expression:"orderForm.totalAmount"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"实际专业"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subject,callback:function(t){e.$set(e.orderForm,"subject","string"===typeof t?t.trim():t)},expression:"orderForm.subject"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"课程费用"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subjectFee,callback:function(t){e.$set(e.orderForm,"subjectFee","string"===typeof t?t.trim():t)},expression:"orderForm.subjectFee"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"选择乐器"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axe,callback:function(t){e.$set(e.orderForm,"axe","string"===typeof t?t.trim():t)},expression:"orderForm.axe"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"乐器价格"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axePrice,callback:function(t){e.$set(e.orderForm,"axePrice","string"===typeof t?t.trim():t)},expression:"orderForm.axePrice"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"教辅组合"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.others,callback:function(t){e.$set(e.orderForm,"others","string"===typeof t?t.trim():t)},expression:"orderForm.others"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"组合价格"}},[a("el-input",{attrs:{disabled:""},model:{value:e.orderForm.othersPrice,callback:function(t){e.$set(e.orderForm,"othersPrice","string"===typeof t?t.trim():t)},expression:"orderForm.othersPrice"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.orderVisible=!1}}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"开始缴费",visible:e.paymentStatus,width:"400px","destroy-on-close":""},on:{"update:visible":function(t){e.paymentStatus=t}}},[a("el-form",{ref:"paymentForm",staticClass:"paymentForm",attrs:{model:e.paymentForm,"label-position":"top",rules:e.paymentRules}},[a("el-form-item",{attrs:{label:"请设置缴费截止日期",prop:"paymentExpireDate"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd","picker-options":e.payDate(),placeholder:"选择日期"},model:{value:e.paymentForm.paymentExpireDate,callback:function(t){e.$set(e.paymentForm,"paymentExpireDate","string"===typeof t?t.trim():t)},expression:"paymentForm.paymentExpireDate"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.paymentStatus=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onStartPayment("paymentForm")}}},[e._v("确 定")])],1)],1),e._v(" "),a("qr-code",{attrs:{title:e.codeTitle,codeUrl:e.qrCodeUrl},model:{value:e.codeStatus,callback:function(t){e.codeStatus=t},expression:"codeStatus"}}),e._v(" "),a("el-dialog",{attrs:{title:"退团信息确认","destroy-on-close":!0,width:"640px",visible:e.quitVisible},on:{"update:visible":function(t){e.quitVisible=t}}},[a("el-form",{ref:"quitForm",attrs:{model:e.quitForm,rules:e.quitRules}},[a("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退团原因",prop:"reason"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason","string"===typeof t?t.trim():t)},expression:"quitForm.reason"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer question",attrs:{slot:"footer"},slot:"footer"},[a("div",[a("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[a("div",{staticClass:"popoverWrap"},[a("p",[e._v("乐团退团退费规则:")]),e._v(" "),a("p",[e._v("退还课程费用:缴费总额-已结束课时单价之和")]),e._v(" "),a("p",[e._v("退还乐器费用:报名缴费时缴纳的乐器费用(团购、租金)")]),e._v(" "),a("p",[e._v("退还教辅费用:报名缴费时缴费的教辅费用")])]),e._v(" "),a("el-button",{staticStyle:{color:"red"},attrs:{slot:"reference",type:"text",icon:"el-icon-question"},slot:"reference"},[e._v("退团退费说明")])],1)],1),e._v(" "),a("div",[a("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.chioseType}},[e._v("确 定")])],1)])],1),e._v(" "),a("el-dialog",{attrs:{title:"新增回访",width:"500px","destroy-on-close":"","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[e.visitVisiable&&e.detail?a("visit",{attrs:{detail:e.detail},on:{close:function(t){e.visitVisiable=!1},submited:e.getList}}):e._e()],1),e._v(" "),a("el-dialog",{attrs:{title:"更改声部",visible:e.changeVoiceVisible,"destroy-on-close":!0,width:"600px"},on:{"update:visible":function(t){e.changeVoiceVisible=t},close:e.closeChangeVoice}},[a("changeVoice",{attrs:{detail:e.rowDetail,musicGroupId:e.id,voiceList:e.leftList},on:{close:e.closeChangeVoice,submited:e.getList,"update:detail":function(t){e.rowDetail=t}}})],1)],1)},i=[],n=(a("a481"),a("b85c")),r=a("5530"),o=(a("ac6a"),a("7f7f"),a("333d")),u=a("641c"),l=a("1cc7"),c=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"merge-music"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.visible=!0}}},[e._v("选择乐团")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.studentsVisible=!0}}},[e._v("学员列表")]),e._v(" "),e.isEmpty?a("empty",{attrs:{desc:"暂未选择乐团"}}):a("el-collapse",{staticClass:"items",on:{change:e.changeActive},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(e.items,(function(t,s){return a("el-collapse-item",{key:s,staticClass:"item",attrs:{name:s},scopedSlots:e._u([{key:"title",fn:function(){return[a("div",{staticClass:"header"},[a("span",{staticClass:"title"},[a("span",[e._v(e._s(t.name))])]),e._v(" "),a("span",{staticStyle:{width:"20%"}},[a("span",[e._v("学员人数:已选"+e._s(t.num)+"人")]),e._v(" "),a("i",{staticClass:"icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.remove(s)}}})])])]},proxy:!0}],null,!0)},[e._v(" "),a("selectItem",{attrs:{active:e.active,id:t.id},on:{selected:e.selected}})],1)})),1),e._v(" "),a("div",{staticClass:"btns"},[a("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("关闭")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.merge}},[e._v("确认合并")])],1),e._v(" "),a("el-dialog",{attrs:{title:"选择乐团",visible:e.visible,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.visible=t}}},[a("selectMusic",{attrs:{visible:e.visible,organId:e.organId},on:{close:function(t){e.visible=!1},submited:e.submited}})],1),e._v(" "),a("el-dialog",{attrs:{title:"查看已合并学生",visible:e.studentsVisible,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.studentsVisible=t}}},[e.studentsVisible?a("mergedStudents",{on:{close:function(t){e.studentsVisible=!1},submited:e.submited}}):e._e()],1)],1)},d=[],p=(a("96cf"),a("1da1")),m=(a("456d"),a("160b")),f=a("3078"),h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"container",staticStyle:{width:"100%"}},[a("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[a("el-form-item",{attrs:{prop:"musicGroupName"}},[a("el-input",{attrs:{clearable:"",placeholder:"乐团名称"},model:{value:e.search.musicGroupName,callback:function(t){e.$set(e.search,"musicGroupName","string"===typeof t?t.trim():t)},expression:"search.musicGroupName"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableData},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",selectable:e.checkSelectable,width:"50"}}),e._v(" "),a("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",width:"200px",align:"center",label:"乐团名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"cooperationOrganName","max-width":"274",label:"合作单位"}})],1),e._v(" "),a("pagination",{staticStyle:{padding:"10px"},attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size,layout:"prev, pager, next"},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.FetchList}}),e._v(" "),a("div",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submited}},[e._v("确认")])],1)],1)},v=[],b=(a("386d"),{props:["visible","organId"],components:{pagination:o["a"]},data:function(){return{tableData:[],passed:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},search:{musicGroupName:"",hastimer:""}}},mounted:function(){this.FetchList()},watch:{visible:function(){this.$refs.table.clearSelection(),this.passed=[]}},methods:{submit:function(e){this.rules.page=1,e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.FetchList()},reset:function(e){this.rules.page=1,e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={musicGroupName:"",hastimer:""},this.FetchList()},checkSelectable:function(e){return!0},handleSelectionChange:function(e){var t=[];for(var a in e){var s={};s.id=e[a].id,s.name=e[a].name,t.push(s)}this.passed=t},FetchList:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(m["b"])(Object(r["a"])({rows:this.rules.limit,page:this.rules.page,organId:this.organId},this.search));case 3:t=e.sent,this.tableData=t.data.rows.filter((function(e){return e.id!==a.$route.query.id})),this.rules.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),submited:function(){this.$emit("close"),this.$emit("submited",this.passed)}}}),g=b,y=(a("1aa8"),a("2877")),_=Object(y["a"])(g,h,v,!1,null,"64b6b690",null),w=_.exports,x=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[a("el-form-item",{attrs:{prop:"keyword"}},[a("el-input",{attrs:{clearable:"",placeholder:"学生姓名(手机、编号)"},model:{value:e.search.keyword,callback:function(t){e.$set(e.search,"keyword","string"===typeof t?t.trim():t)},expression:"search.keyword"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.filterlist},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),a("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"name",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"parentsName",align:"center",label:"家长姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.parentsName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"parentsPhone",align:"center",label:"家长电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.parentsPhone))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.subjectName))])]}}])})],1)],1)},I=[],A=(a("6762"),a("2fdb"),a("1672")),F={props:["id","active","name"],data:function(){return{list:[],filterlist:[],passed:[],search:{keyword:"",hastimer:""}}},watch:{active:{immediate:!0,handler:function(){this.active.includes(this.id)&&!this.list.length&&this.FetchDetail()}}},methods:{filter:function(){var e=this.search,t=e.keyword;e.hastimer;this.filterlist=this.list.filter((function(e){var a=!t||(""+e.userId).indexOf(t)>-1||(""+e.parentsName).indexOf(t)>-1||(""+e.parentsPhone).indexOf(t)>-1||(""+e.name).indexOf(t)>-1;return a}))},submit:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.filter()},reset:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={keyword:"",hastimer:""},this.filter()},handleSelectionChange:function(e){var t=[];for(var a in e)t.push(e[a].id);this.passed=t,this.$emit("selected",this.passed,this.id)},FetchDetail:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(A["a"])({musicGroupId:this.id,studentStatus:"NORMAL",paymentStatus:1});case 3:t=e.sent,this.list=t.data,this.filterlist=t.data,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},j=F,k=Object(y["a"])(j,x,I,!1,null,null,null),S=k.exports,C=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[a("el-form-item",{attrs:{prop:"keyword"}},[a("el-input",{attrs:{clearable:"",placeholder:"学生姓名(手机、编号)"},model:{value:e.search.keyword,callback:function(t){e.$set(e.search,"keyword","string"===typeof t?t.trim():t)},expression:"search.keyword"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")]),e._v(" "),a("el-button",{attrs:{type:"primary",disabled:!e.passed.length},on:{click:e.removeStuden}},[e._v("删除学员")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.filterlist},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),a("el-table-column",{attrs:{prop:"realName",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.realName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"phone",align:"center",label:"手机号码"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.subjectName))])]}}])})],1)],1)},E=[],P={data:function(){return{id:this.$route.query.id,list:[],filterlist:[],passed:[],search:{keyword:"",hastimer:""}}},mounted:function(){this.FetchDetail()},methods:{filter:function(){var e=this.search,t=e.keyword;e.hastimer;this.filterlist=this.list.filter((function(e){var a=!t||(""+e.userId).indexOf(t)>-1||(""+e.phone).indexOf(t)>-1||(""+e.realName).indexOf(t)>-1;return a}))},submit:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.filter()},reset:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={keyword:"",hastimer:""},this.filter()},handleSelectionChange:function(e){var t=[];for(var a in e)t.push(e[a].userId);this.passed=t},removeStuden:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$confirm("是否确认删除已选择学员?","提示",{type:"warning"});case 3:return e.next=5,Object(f["b"])({musicGroupId:this.id,userIds:this.passed});case 5:this.$message.success("删除成功"),this.FetchDetail(),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),FetchDetail:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(l["Mb"])({musicGroupId:this.id});case 3:t=e.sent,this.list=t.data.rows,this.filterlist=t.data.rows,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},O=P,G=Object(y["a"])(O,C,E,!1,null,null,null),T=G.exports,R={props:["organId"],components:{selectMusic:w,selectItem:S,mergedStudents:T},data:function(){return{active:"",visible:!1,studentsVisible:!1,tableData:[],passed:[],items:{},studentsByMusicId:{}}},computed:{isEmpty:function(){return 0===Object.keys(this.items).length}},mounted:function(){},methods:{changeActive:function(e){this.active=e},submited:function(e){var t,a={},s=Object(n["a"])(e);try{for(s.s();!(t=s.n()).done;){var i=t.value;a[i.id]?a[i.id]=Object(r["a"])(Object(r["a"])({},a[i.id]),i):a[i.id]=Object(r["a"])(Object(r["a"])({},i),{},{num:0})}}catch(o){s.e(o)}finally{s.f()}this.items=a},remove:function(e){var t=Object(r["a"])({},this.items),a=Object(r["a"])({},this.studentsByMusicId);delete t[e],delete a[e],this.items=Object(r["a"])({},t),this.studentsByMusicId=Object(r["a"])({},a)},selected:function(e,t){var a=this.studentsByMusicId;a[t]||(a[t]=[]),a[t]=e,this.items[t].num=e.length,this.items=this.items,this.studentsByMusicId=a},merge:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){var t,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(a in t=[],this.studentsByMusicId)Object.hasOwnProperty.call(this.studentsByMusicId,a)&&(s=this.studentsByMusicId[a],t=t.concat(s));if(t.length){e.next=5;break}return this.$message.error("请至少选择一个需要合并的学生"),e.abrupt("return");case 5:return e.prev=5,e.next=8,this.$confirm("是否确认合并乐团?","提示",{type:"warning"});case 8:return e.next=10,Object(f["a"])({musicGroupId:this.$route.query.id,registerIds:t});case 10:this.$message.success("合并成功"),this.$emit("close"),this.$emit("submited"),e.next=17;break;case 15:e.prev=15,e.t0=e["catch"](5);case 17:case"end":return e.stop()}}),e,this,[[5,15]])})));function t(){return e.apply(this,arguments)}return t}(),handleSelectionChange:function(e){var t=[];for(var a in e)t.push(e[a].id);this.passed=t},FetchList:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(m["b"])({organId:this.organId});case 3:t=e.sent,this.tableData=t.data.rows,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()}},L=R,D=(a("f089"),Object(y["a"])(L,c,d,!1,null,"4c59032c",null)),N=D.exports,q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"forecastName"},[a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{reset:e.onReSet,submit:e.search}},[a("el-form-item",[a("el-input",{attrs:{clearable:"",placeholder:"学生编号/姓名/手机号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name","string"===typeof t?t.trim():t)},expression:"searchForm.name"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"isAllowAdjust"}},[a("el-select",{attrs:{clearable:"",placeholder:"是否允许调剂"},model:{value:e.searchForm.isAllowAdjust,callback:function(t){e.$set(e.searchForm,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchForm.isAllowAdjust"}},[a("el-option",{attrs:{label:"是",value:1}}),e._v(" "),a("el-option",{attrs:{label:"否",value:0}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",placeholder:"所选专业"},model:{value:e.searchForm.subjectId,callback:function(t){e.$set(e.searchForm,"subjectId",t)},expression:"searchForm.subjectId"}},e._l(e.selects.subjects,(function(e){return a("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger","native-type":"seach"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"userId",label:"学员编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.userId))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"userName",label:"学员姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"gender",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.gender?"男":"女")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"联系电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"年级班级"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.currentGrade)+e._s(t.row.currentClass)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectFirstName",label:"选报声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subjectFirstName?t.row.subjectFirstName:null)+"\n "+e._s(t.row.subjectFirstName||999!=t.row.subjectFirst?null:"听从老师安排")+",\n "+e._s(t.row.subjectSecondName?t.row.subjectSecondName:null)+"\n "+e._s(t.row.subjectSecondName||999!=t.row.subjectSecond?null:"听从老师安排")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isAllowAdjust",label:"是否服从调剂"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isAllowAdjust?"是":"否")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"realName",label:"乐器准备方式"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.kitPurchaseMethod?"参与团购":"自行准备")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isRegistered",label:"是否已报名"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isRegistered?"是":"否")+"\n ")]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)])},M=[],B={name:"forecastName",components:{pagination:o["a"]},data:function(){var e=this.$route.query;return{musicGroupId:e.id,searchForm:{name:null,subjectId:null,isAllowAdjust:null},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.$store.dispatch("setSubjects"),this.getList()},methods:{onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()},getList:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(f["f"])(Object(r["a"])(Object(r["a"])({},this.searchForm),{},{musicGroupId:this.musicGroupId,page:this.pageInfo.page,rows:this.pageInfo.limit}));case 3:t=e.sent,this.tableList=t.data.rows,this.pageInfo.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},U=B,V=Object(y["a"])(U,q,M,!1,null,"753e44a4",null),$=V.exports,Y=a("5137"),W=a("61f7"),Q=a("46f6"),H=a("d044"),z=a.n(H),J=a("92e3"),X=a("bc3a"),K=a.n(X),Z=a("5f87"),ee=a("3908"),te=a("4328"),ae=a.n(te),se=a("ec8a"),ie=a("e3eb"),ne=a.n(ie),re=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px"}},[a("el-form-item",{attrs:{label:"原乐器",prop:"name"}},[a("span",[e._v(e._s(e.originalMusicalGoods||"无"))])]),e._v(" "),a("el-form-item",{attrs:{label:"原教辅",prop:"name"}},[a("span",[e._v(e._s(e.originalAccessoriesGoods||"无"))])]),e._v(" "),a("el-form-item",{attrs:{label:"更改声部",prop:"subjectId",rules:[{required:!0,message:"请选择更改声部",trigger:"change"}]}},[e.changeInfo?a("span",[e._v(e._s(e.changeSubjectName))]):a("el-select",{staticStyle:{width:"100%!important"},attrs:{clearable:"",placeholder:"请选择声部"},on:{change:e.subjectChange},model:{value:e.form.subjectId,callback:function(t){e.$set(e.form,"subjectId",t)},expression:"form.subjectId"}},e._l(e.filterVoiceList,(function(e){return a("el-option",{key:e.subjectId,attrs:{label:e.subjectName,value:e.subjectId}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"更改乐器",prop:"musicalGoods",rules:[{required:!0,message:"请选择更改乐器",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.changeMusicalGoods?a("span",[e._v(e._s(e.changeInfo.changeMusicalGoods.name))]):e._e():a("el-select",{staticStyle:{width:"100%!important"},attrs:{clearable:"",placeholder:"请选择乐器"},on:{change:e.musicalGoodsChange},model:{value:e.form.musicalGoods,callback:function(t){e.$set(e.form,"musicalGoods",t)},expression:"form.musicalGoods"}},[a("el-option",{attrs:{label:"自备乐器",value:"OWNED"}}),e._v(" "),e._l(e.musicalGoods,(function(e){return a("el-option",{key:e.goodsIdList,attrs:{label:e.name,value:e.goodsIdList}})}))],2)],1),e._v(" "),e.changeInfo||e.form.musicalGoods&&e.musicalGoodsById[e.form.musicalGoods]&&e.musicalGoodsById[e.form.musicalGoods].kitGroupPurchaseTypeJsonParse?a("el-form-item",{attrs:{label:"乐器提供方式",prop:"type",rules:[{required:!0,message:"请选择乐器提供方式",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.kitGroupPurchaseType?a("span",[e._v(e._s(e.kitGroupPurchaseTypeFormater[e.changeInfo.kitGroupPurchaseType]))]):e._e():a("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.musicalGoodsById[e.form.musicalGoods].kitGroupPurchaseTypeJsonParse,(function(t,s){return a("el-radio",{key:s,attrs:{label:s}},[e._v(e._s(e.kitGroupPurchaseTypeFormater[s]+" "+((e.musicalGoodsById[e.form.musicalGoods][e.typeAndprice[s]]||0)>0?e.musicalGoodsById[e.form.musicalGoods][e.typeAndprice[s]]+"元":"免费")))])})),1)],1):e._e(),e._v(" "),e.activeAccessories.length||e.groupList.length||e.changeInfo?a("el-form-item",{attrs:{label:"更换教辅",prop:"name"}},[e.changeInfo?e.changeInfo?a("span",[e._v(e._s(e.changeAccessoriesGoods))]):e._e():a("accessories",{attrs:{list:e.activeAccessories,groupList:e.groupList},on:{"update:list":function(t){e.activeAccessories=t},"update:groupList":function(t){e.groupList=t},"update:group-list":function(t){e.groupList=t},change:e.accessoriesChange}})],1):e._e(),e._v(" "),e.changeInfo?a("el-form-item",{attrs:{label:"查看链接",prop:"name"}},[a("div",{staticClass:"viewlink"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.copyLink,placement:"top"}},[a("span",{staticClass:"link"},[e._v(e._s(e.copyLink))])]),e._v(" "),a("el-popover",{attrs:{placement:"top",width:"220",trigger:"click"}},[a("div",{staticClass:"left-code"},[a("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),e._v(" "),e.copyLink?a("p",{staticClass:"code-url"},[e._v(e._s(e.copyLink)+" "),a("el-link",{staticClass:"linkbtn",attrs:{type:"primary"},on:{click:function(t){return e.copyUrl(e.copyLink)}}},[e._v("复制")])],1):e._e()]),e._v(" "),a("el-button",{staticClass:"btn",attrs:{slot:"reference",type:"primary"},on:{click:e.onCreateQRCode},slot:"reference"},[e._v("二维码")])],1)],1)]):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"支付差价",prop:"name"}},[e.changeInfo?a("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.editSpread))+"元")]):a("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.spread))+"元")])])],1),e._v(" "),a("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.$listeners.close}},[e._v("取 消")]),e._v(" "),e.changeInfo&&1!==e.changeInfo.status?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/cancel",expression:"'subjectChange/cancel'"}],attrs:{type:"danger"},on:{click:e.cancel}},[e._v("取消订单")]):e._e(),e._v(" "),e.changeInfo?e._e():a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/add",expression:"'subjectChange/add'"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确 定")])],1)],1)},oe=[],ue=a("f904"),le=a.n(ue),ce=(a("6612"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]),e._v(" "),e.groupOptions.length?a("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.groupOptions,(function(t){return a("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[a("strong",[a("span",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(e._f("moneyFormat")(t.price))+"元")])]),e._v(" "),e._l(t.subs,(function(t){return a("p",{key:t},[e._v(e._s(t))])}))],2)})),1):a("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.list,(function(t){return a("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[a("strong",[a("span",[e._v(e._s(t.name))]),e._v(" "),t.groupPurchasePrice>0?a("span",[e._v(e._s(e._f("moneyFormat")(t.groupPurchasePrice))+" 元")]):a("span",[e._v("免费")])])])})),1)],1)}),de=[],pe=a("2909"),me={props:["list","groupList"],data:function(){return{type:"list",checkAll:!1,checkeds:[],accessoriesByid:{},groupListById:{},selectMoney:0,isIndeterminate:!1}},watch:{checkeds:function(e){"list"===this.type?this.accessoriesByid:this.groupListById;var t=0;if("list"===this.type){var a,s=Object(n["a"])(e);try{for(s.s();!(a=s.n()).done;){var i=a.value,r=this.accessoriesByid[i];r&&(t+=parseFloat(r.groupPurchasePrice))}}catch(b){s.e(b)}finally{s.f()}}else{var o,u=Object(n["a"])(e);try{for(u.s();!(o=u.n()).done;){var l=o.value,c=this.groupListById[l];c&&(t+=parseFloat(c.price))}}catch(b){u.e(b)}finally{u.f()}}var d=[];if("list"!==this.type){var p,m=Object(n["a"])(e);try{for(m.s();!(p=m.n()).done;){var f=p.value,h=this.groupListById[f];if(h){var v=this.groupListById[f].goodsList;d=d.concat((v||[]).map((function(e){return e.id})))}}}catch(b){m.e(b)}finally{m.f()}}else d=Object(pe["a"])(e);this.$listeners.change(d,t)}},mounted:function(){var e=this;this.$nextTick((function(){var t,a={},s=Object(n["a"])(e.list);try{for(s.s();!(t=s.n()).done;){var i=t.value;a[i.id]=i}}catch(c){s.e(c)}finally{s.f()}var r,o={},u=Object(n["a"])(e.groupList);try{for(u.s();!(r=u.n()).done;){var l=r.value;o[l.id]=l}}catch(c){u.e(c)}finally{u.f()}e.accessoriesByid=a,e.groupListById=o}))},computed:{groupOptions:function(){var e=this.groupList.map((function(e){return{name:e.name,price:e.price,id:e.id,subs:e.goodsList?e.goodsList.map((function(e){return e.name})):[]}}));return e.length&&(this.type="group"),e}},methods:{handleCheckAllChange:function(e){var t="list"===this.type?this.list:this.groupOptions,a=t.map((function(e){return e.id}));this.checkeds=e?a:[],this.isIndeterminate=!1},optionChange:function(e){var t="list"===this.type?this.list:this.groupOptions,a=e.length;this.checkAll=a===t.length,this.isIndeterminate=a>0&&a=e.getTime()}}},extendTime:function(e){this.isPay=e,this.extendForm.expireDate=e?this.paymentExpireDate:this.applyExpireDate,this.extendPaymentStatus=!0},applyDate:function(){var e=this;return{firstDayOfWeek:1,disabledDate:function(t){return!!e.paymentExpireDate&&t.getTime()>new Date(e.paymentExpireDate.replace(/-/g,"/")).getTime()}}},payDate:function(){var e=this;return{firstDayOfWeek:1,disabledDate:function(t){return!!e.applyExpireDate&&t.getTime()<=new Date(e.applyExpireDate.replace(/-/g,"/")).getTime()}}}},watch:{orderVisible:function(e){e||(this.orderForm={name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""})},qrcodeStatus:function(e){e||this.qrcode.clear()},qrcodeStatus2:function(e){e||this.qrcode2.clear()},paymentStatus:function(e){e||(this.paymentForm={paymentExpireDate:null})},quitVisible:function(e){e||(this.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},this.$refs["quitForm"].resetFields())}}},je=Fe,ke=(a("d145"),Object(y["a"])(je,s,i,!1,null,"385c8c1c",null));t["default"]=ke.exports},cd89:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAADMElEQVRYR82YO2gUYRDH//897y74Ju52KmgsFKwEG43BQrSwSKUoNoKiEYx4p4KWKbRRkkDEVxEsDIpWESwUwSiJIEErwTQ+ULu7CCEG7na5/cuud/HyutvHgbftzsz3Y2a+mfmGCPnp4ppNxVLyAIl2CNtEbiSwyjMjYJrSdxCfJIymE85z3pj6GuYIBhF+fAiJzvXmIYFnCewCEUgPggS8JXRz+Gf+yeEnKNU7r65h5/y6fSWDAwS31jNW67+giYSr7mT/5MtacksC6ThanFazX+KpwB6pRyyI1L3kr/x53kdhMfFFgaa7V1qpZMszgDvrnRHtv8Ztp3Bw1cDv3Hz9BUBlmDcIF6KZsuEVwQE1YTuFjvlQc4C8MNmtpgcTyjMJqNMDKYHDwYH8ezme+pXvqA7fHCA7a94ReDqcUcCQ9no6LjkSVpfQ3VRvvquiNwvk3SaXxosoCRwHyCsNhtz9ldvnA/l1ZoP5MWTezDojFpBfUDXx9Ed+u1enfKBixjwC8mFYd1fk4wL5dqSj6b78Ix/IzlqjAnb/TyACY6neXDu93mSXUp+j5E5jPQSlEnYbCxmzi+TtqN7x9BoSMj9qOkM7az4QeKwZgAgN0c6Y70XuaAog6QPtrJUTYDYFEJBnMWt5XTcdF8gtlSaRWPYOxPIYtooNAQLUk+rN9xTPWVuwDIME2iNCFVnIWjnGDJl3OKFXruucTK+d+uZMW91ycS2st+SFrBFJXdUYfwPu5WTv5K1iZnWbwfSggD2BvfU3qeNf+wVDljTiyjmR7p/6VsxY3QZxVUCAWUlDDSmMS3hgRq57Jd0/eROX1mx2SslBgR21vOUXxka0jlqHEHrtOs6J9MDUF+eCeV3ihUXlVW4d3s9CxholozfXADkyI6nHINqWGgAljLX05dobMn4EAKovUj1+xB3Q6p9WW2LBgOaJxxlhYwEtNsJWDEYd8uMALTnk+1NkxGdQdKA6zyDPcMSHYgSmAA/FitWmekpXoJpq2VDtf//2GRyI+mb7Z0sTRpx1TDVUZWFF8qwUbmFF4q3UwIXV/GytrPSM8koP5EaVV3oEplFe6bkRV3p/ABNMtOh7n8IQAAAAAElFTkSuQmCC"},d145:function(e,t,a){"use strict";a("59e4")},ed08:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o}));var s=a("ade3"),i=(a("c5f6"),a("28a5"),a("a481"),a("6b54"),a("53ca"),a("5a0c")),n=a.n(i);var r=function(e){var t=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a],i=a.toLocaleUpperCase();t.push({label:s,value:"TRUE"===i||"FALSE"===i?"TRUE"===i:a})}return t},o=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?(t={},Object(s["a"])(t,a[0]||"start",n()(e[0]).isValid()?n()(e[0]).format(i):""),Object(s["a"])(t,a[1]||"end",n()(e[1]).isValid()?n()(e[1]).format(i):""),t):{}}},f089:function(e,t,a){"use strict";a("054c")}}]);