1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-263aa15a"],{"054c":function(e,t,s){},"0e73":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACWVJREFUeAHtXFmMFFUUfff1hgTihhITIGREwETFJf64TpwZkMU4MzAkRkUTjYn44Y9xCRKNS2LUDxMTPlw+EKMmo9NGlpFZgLh84QdEEwkgUcbEDQUCRLp7up7nVk/1VHe9qq6qrq6eBl+mp1/dt9x7T913394kYgxKKcqvWX4tGePXK6LFQhmLwb5NKXEhEc1EnD8cTiHvKSJxEvEjguQBUuqAksl96U8Hv0deZeaK4R81mofqW3ZJYby4Ghp1Qum7wG9WXTyJ/oLQu/EZSSUTn1H/zn/qqq9G4YYApPr6ErniiZV46w+B/yoAk64hR6hkWFIeBbfBGjdnEhdtp/7+YqiKPApFCpB67LFU4djP6wzDeFYItcCDbwOS6LCU8rXUrPkf0DvvFKJiEBlA+d6uBw1DvQJg5kUlXLh66CgJ2pD5fPjDcOUrS9UNUK6n82o42U0Apr2y6mY/0R44+fWZ7MiP9UgiwxbmHinX0/UMgNk/9cBhrfiFqf0sI8saVs9QBVVPx6XwjltgOcvDMo6zHCxpEL3Eg5Qd/Tso38AA5XqWXqOUsQNvZ25QZs3NT2NEckUmO/RDEDkCNbFCT+dtQhW/bj1wGBK8UMhu6hAAId8AnV3dtcIQaggDvosC1D+lsrLsrAPr4lcwX02MUTfBUeICvxVP5XzwSf9KQUtT2ZFvaslZEyD2OWyarWw5OhCg+AlBidtr+SRPgLi3ygmxTygxR8ek9Wk0liF1g1fv5uqDeOzAXfm5Cw6/XjW3NFxxHye5ApTvXfp0q4xz6rFk1pF1datD28R4+gB096Nwyq3guUSH08bklpbopiVaCwIwm84XcPhFs66ss+6lOwDiWTmKtOsyh6YRvSspeX0imbgVb2okdD0oiJn6Gfx7Ep9FlKA1oIzVU99kWdWe6+56YPK5FKtoYryek/vzyGEAFNmSBYb3mzPZ4YctxryYlh8//hE6gbUWze83gyMlLUsNDH9rlTnb07EQSuyDBUQwRqOjmcvbFtjXkyosiBe7ogSHlZBCvWcpw9+86pe+rO0BKLXVTq8Vh584K5N0rx0cLjMtO3oQHe5Xtcr7S1fzShhM5i4DxG/WUMXnJpOiiRWJLqmuid9Qem66z29zYyeKgWpf6tPh0eq6+BnpDh66fH5ovBrKWFh5ywDB7FdhzHOllRDVNynjZTB0mD+9PZjLzJTd0K7cXHQ8se5chB3eD0vZpkvPdXeuRXO9WZcWjqYW8Hq6VbYMEAhoXtEH+IbrcoXjW7UgbRk6k5meWgHf8p2OM5oh1uPpUfiwfl362e6ly0H/QJdWD21is8GswnTSvDWTHy/+hjfRkN2HkrA0mkldfA980L/VwpcW4GgP+F9jT5NSPJEeGNV2vwwOCSOrhMrYy0QR592SdDJxBW8pmRZk7ls1FBwWW3W4WhJW+tLJdBcEO1RWkOjpZoBjSgosGBOOmwDBAXaWBWtoxAOk/h2/pzOyA+ObX+B0X5qWHXlDJ0ojLcfOz8JEwqzR5MwdT3t6A+MeIH0yNIb2clMmO/qCToC4wGHejAljQ7nVd1+nigXsTMQd3H2STpI4wbH4UyK1JElG4QaYU+QB/sTAe9iJXuAgRiqIOwO60y5Qv3CmVFLQA87AMOQO1LUJPZ4tUUnIvhD1L8PbtvfItjzho3zIIqlILsIpi/C1aEpCBUirVqayo19qkgOT0POdRiHXQWzJuorbAZYdvcB8qgvwCRToYR5BqU6r6xnLT7ujAsePINM+Hxpknn7yBsoDbNgs2wIV8pEZzeCYj2yRZgHPwJuCPgRoQy8mLvSRMVAWmHq7erg7tu0h5gWedwYS0kdmxgb7653H4OAu9ZE/UBY46b1K0osZKQ+KAvtSj5Ca8ceEnylnYscsCqdnlwm6SMqgnGEsJEO9CB0inI+VmEGHv5OIWsfedCKEppkCF9X2XLF2B0DjJ+8Do0/szPLjJ1cpUfzYTnPEJ04BeaPvKBWEMDPyrjEI91bIywCdagVBmyTjKZ5q/A+QC/qMTRITw5Pw1pEH1Hsao7b3MXQ7KAzvY7uppHM9KA1aoUDrPQWTGP0osRDiPwIdZnjmDZHI2LCTPoLPkhDlXYtgTJITSXFLun/ke9dMNRKwFoPNA8GfmiHX1/k+FcTeBqwNHcEhB3mgpgTBM4xm6gAnKLsJXtr16qB1VeQHNpJPsFcQI3lQ2PKOO0TPk7GRfLy/Aap0qN7lcxpQr7bKCV4d2sQ6iIwNL5bxaPpP1DOrjrqcRUn8ijn9myIhDiWwl+LMMElJUnI/Dez8bZKC5YDeZVeMq3FP31jEyXFRFFdhNeWpyE+h4MpDZmB4NnoxUgBoF4AKvNNpV8gRN88UGW9BAf7zDDi95hxJK3UneibvkbQ1Sm9EL8z3QYCNOZJGdzziqUEzEmHZzWBr8bQwMQEyb82ULoZY6c3/jvHKU7WysJw8Y8L0kgWVrhRpdy6rC58nz9usa1YmQKw0lhc3Tynlm9jE7FiUAeL7VljS9TVyjQXIpjUxOlzCoqRlGSA+lsL3rWJRfgozYQwYC0vEMkBM4MtosKKjVuL5901HSxhMal4BEJ/bwQmu5yeTmxhrgg/CJHuD/XQZa18BEBPSA8NbYEV7OB5XgLtxnKYlifWAWAPt0d1SdADEMmEdZD0+Eyu+MUhpqBsdXHQ0R6ZoCKwr66yrTQtQ6byw3Kgr0AgaZgqPF3o67rbq5jjTrOfGf8uNujPSzNd1OM+T2Hxv53bMh/gUV1zh5wlG8+NiCMsZTA+MrOR5l46n1oI4IxdIT5u+DrExXcEG0eajXv7EFGjMvKrpAg4L4QoQJ9LHW4/xNUaY2Ql+PpcC62TqVuMeqydADAjfp5JE98AUHWcLWxUw1oV1qnVXjPWrCRBn4pt5Sso15wJIrAPr4ue2Ievu6qQ5sTqYVzOV2gpvFtvBhGoZ6nnmZsWW4xcc5uXLgiyhzIpxjTFmx22xr/MbnQ1kDwIOMwwEEBfgdmteY0T3yM+tENCsBllmPz6nWp9ATcxeuDRO4pt6uGowRS/eARjMBuTG9MDQ627jHLtOunhogKzK+HYiAMJpeNVu0abGdzQ/blI3QBYYfBkNW7+vAqh5Fq0539H+PE5gH+SmNM+E+TKalIlH0Tf+5JavYXTwZN4sg25WHpZvZBZkFwDH5/7/iS47IF7xyH/kTQhMf2gX3mzr/sibG2Bmz9diPxP4H3WSoubemWpzAAAAAElFTkSuQmCC"},"160b":function(e,t,s){"use strict";s.d(t,"b",(function(){return a})),s.d(t,"a",(function(){return o}));var n=s("b775"),i=s("829b"),r="/api-web";function a(e){return Object(i["a"])({url:r+"/musicGroup/queryPage",method:"post",data:e,requestType:"form"})}function o(e){return Object(n["a"])({url:r+"/chargeType/queryPage",method:"get",params:e})}},1672:function(e,t,s){"use strict";s.d(t,"c",(function(){return i})),s.d(t,"g",(function(){return r})),s.d(t,"a",(function(){return a})),s.d(t,"e",(function(){return o})),s.d(t,"f",(function(){return u})),s.d(t,"d",(function(){return c})),s.d(t,"h",(function(){return l})),s.d(t,"b",(function(){return d})),s.d(t,"i",(function(){return p}));var n=s("829b"),i=function(e){return Object(n["a"])({url:"/api-web/musicGroupPaymentCalender/add",data:e,method:"post"})},r=function(e){return Object(n["a"])({url:"/api-web/musicGroupPaymentCalender/auditListDetail",data:{},params:e,method:"get"})},a=function(e){return Object(n["a"])({url:"/api-web/studentRegistration/getMusicGroupStu",data:{},params:e,method:"get"})},o=function(e){return Object(n["a"])({url:"/api-web/musicGroupPaymentCalenderDetail/batchAdd",data:e,method:"post"})},u=function(e){return Object(n["a"])({url:"/api-web/musicGroupPaymentCalender/update",data:e,method:"post"})},c=function(e){return Object(n["a"])({url:"/api-web/musicGroupPaymentCalender/delByBatchNo",params:e,method:"post"})},l=function(e){return Object(n["a"])({url:"/api-web/musicGroupOrganizationCourseSettingsDetail/queryByMusicGroupOrganizationCourseSettingsId",data:{},params:e,method:"get"})},d=function(e){return Object(n["a"])({url:"/api-web/musicGroupPaymentCalender/makesureSchoolePaid",data:e,method:"post",requestType:"form"})},p=function(e){return Object(n["a"])({url:"/api-web/organizationCourseDurationSettings/queryByOrganId",data:{},params:e,method:"get",requestType:"form"})}},"1aa8":function(e,t,s){"use strict";s("7619")},3078:function(e,t,s){"use strict";s.d(t,"e",(function(){return i})),s.d(t,"a",(function(){return r})),s.d(t,"b",(function(){return a})),s.d(t,"c",(function(){return o})),s.d(t,"d",(function(){return u})),s.d(t,"f",(function(){return c})),s.d(t,"g",(function(){return l})),s.d(t,"h",(function(){return d}));var n=s("829b"),i=function(e){return Object(n["a"])({url:"/api-web/studentRegistration/getMusicGroupStuReBack",params:e,method:"get"})},r=function(e){return Object(n["a"])({url:"/api-web/musicGroup/addMusicGroupRegs",data:e,method:"post",requestType:"json"})},a=function(e){return Object(n["a"])({url:"/api-web/studentRegistration/batchDel",data:e,method:"post",requestType:"json"})},o=function(e){return Object(n["a"])({url:"/api-web/musicGroup/closeMusicGroup",data:e,method:"post",requestType:"json"})},u=function(e){return Object(n["a"])({url:"/api-web/musicGroup/finishPreApply",data:e,method:"post",requestType:"form"})},c=function(e){return Object(n["a"])({url:"/api-web/studentRegistration/queryPreApplyList",params:e,method:"get",requestType:"json"})},l=function(e){return Object(n["a"])({url:"/api-web/studentRegistration/queryPreApplySubjectList",params:e,method:"get",requestType:"json"})},d=function(e){return Object(n["a"])({url:"/api-web/musicGroup/sendParentMeetingNotice",data:e,method:"post",requestType:"form"})}},"4f9d":function(e,t,s){"use strict";s("ae1b")},5137:function(e,t,s){"use strict";s.d(t,"o",(function(){return o})),s.d(t,"n",(function(){return u})),s.d(t,"e",(function(){return c})),s.d(t,"d",(function(){return l})),s.d(t,"f",(function(){return d})),s.d(t,"u",(function(){return p})),s.d(t,"p",(function(){return m})),s.d(t,"t",(function(){return h})),s.d(t,"m",(function(){return f})),s.d(t,"s",(function(){return v})),s.d(t,"j",(function(){return b})),s.d(t,"l",(function(){return g})),s.d(t,"a",(function(){return y})),s.d(t,"g",(function(){return _})),s.d(t,"b",(function(){return w})),s.d(t,"r",(function(){return F})),s.d(t,"i",(function(){return x})),s.d(t,"w",(function(){return k})),s.d(t,"v",(function(){return j})),s.d(t,"k",(function(){return A})),s.d(t,"q",(function(){return P})),s.d(t,"x",(function(){return S})),s.d(t,"c",(function(){return I})),s.d(t,"y",(function(){return C})),s.d(t,"z",(function(){return O})),s.d(t,"h",(function(){return R}));var n=s("b775"),i=s("4328"),r=s.n(i),a="/api-web";function o(e){return Object(n["a"])({url:a+"/studentManage/queryStudentList",method:"get",params:e})}function u(e){return Object(n["a"])({url:a+"/studentManage/queryOrganStudentList",method:"get",params:e})}function c(e){return Object(n["a"])({url:a+"/studentManage/findStudentVipGroupClass",method:"get",params:e})}function l(e){return Object(n["a"])({url:a+"/studentManage/findStudentMusicGroups",method:"get",params:e})}function d(e){return Object(n["a"])({url:a+"/studentManage/findStudentVipGroups",method:"get",params:e})}function p(e){return Object(n["a"])({url:a+"/studentWithdraw/queryPage",method:"get",params:e})}function m(e){return Object(n["a"])({url:a+"/studentManage/queryStudentPayment",method:"get",params:e})}function h(e){return Object(n["a"])({url:a+"/order/queryPage",method:"get",params:e})}function f(e){return Object(n["a"])({url:a+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:e})}function v(e){return Object(n["a"])({url:a+"/studentRegistration/batchUpdateSubject",method:"post",data:r.a.stringify(e)})}function b(e){return Object(n["a"])({url:a+"/studentRegistration/queryFeeDetail",method:"get",params:e})}function g(e){return Object(n["a"])({url:a+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:e})}function y(e){return Object(n["a"])({url:a+"/studentRegistration/insertStudent",method:"POST",data:e})}function _(e){return Object(n["a"])({url:a+"/classGroupStudent/findAllStudent",method:"POST",data:r.a.stringify(e)})}function w(e){return Object(n["a"])({url:a+"/classGroupStudent/addStudents",method:"POST",data:r.a.stringify(e)})}function F(e){return Object(n["a"])({url:a+"/classGroupStudent/del",method:"POST",data:r.a.stringify(e)})}function x(e){return Object(n["a"])({url:a+"/studentManage/queryStudentClassGroup",method:"get",params:e})}function k(e){return Object(n["a"])({url:a+"/userCashAccount/updateCourseBalance",method:"post",data:r.a.stringify(e)})}function j(e){return Object(n["a"])({url:a+"/userCashAccount/updateBalance",method:"post",data:r.a.stringify(e)})}function A(e){return Object(n["a"])({url:a+"/studentManage/queryUserByPhone",method:"get",params:e})}function P(e){return Object(n["a"])({url:a+"/studentManage/register",method:"post",data:r.a.stringify(e)})}function S(e){return Object(n["a"])({url:a+"/studentManage/studentUpdate",method:"post",data:r.a.stringify(e)})}function I(e){return Object(n["a"])({url:a+"/coursesGroupController/findStudentCourseGroupsWithWeb",method:"get",params:e})}function C(e){return Object(n["a"])({url:a+"/userCashAccountDetail/queryPage",method:"get",params:e})}function O(e){return Object(n["a"])({url:a+"/userCoursesAccount/queryPage",method:"get",params:e})}function R(e){return Object(n["a"])({url:a+"/sysUserContracts/getLatest",method:"get",params:e})}},"6ca4":function(e,t,s){"use strict";s("c477")},"6cc5":function(e,t,s){"use strict";var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"110px"}},[s("el-form-item",{attrs:{label:"原乐器",prop:"name"}},[s("span",[e._v(e._s(e.originalMusicalGoods||"无"))])]),e._v(" "),s("el-form-item",{attrs:{label:"原教辅",prop:"name"}},[s("span",[e._v(e._s(e.originalAccessoriesGoods||"无"))])]),e._v(" "),s("el-form-item",{attrs:{label:"更改声部",prop:"subjectId",rules:[{required:!0,message:"请选择更改声部",trigger:"change"}]}},[e.changeInfo?s("span",[e._v(e._s(e.changeSubjectName))]):s("el-select",{staticStyle:{width:"100% !important"},attrs:{clearable:"",placeholder:"请选择声部"},on:{change:e.subjectChange},model:{value:e.form.subjectId,callback:function(t){e.$set(e.form,"subjectId",t)},expression:"form.subjectId"}},e._l(e.filterVoiceList,(function(e){return s("el-option",{key:e.subjectId,attrs:{label:e.subjectName,value:e.subjectId}})})),1)],1),e._v(" "),s("el-form-item",{attrs:{label:"更改乐器",prop:"musicalGoods",rules:[{required:!0,message:"请选择更改乐器",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.changeMusicalGoods?s("span",[e._v(e._s(e.changeInfo.changeMusicalGoods.name))]):e._e():s("el-select",{staticStyle:{width:"100% !important"},attrs:{clearable:"",placeholder:"请选择乐器"},on:{change:e.musicalGoodsChange},model:{value:e.form.musicalGoods,callback:function(t){e.$set(e.form,"musicalGoods",t)},expression:"form.musicalGoods"}},[s("el-option",{attrs:{label:"自备乐器",value:"OWNED"}}),e._v(" "),e._l(e.musicalGoods,(function(e){return s("el-option",{key:e.goodsIdList,attrs:{label:e.name,value:e.goodsIdList}})}))],2)],1),e._v(" "),e.changeInfo||e.form.musicalGoods&&e.musicalGoodsById[e.form.musicalGoods]&&e.musicalGoodsById[e.form.musicalGoods].kitGroupPurchaseTypeJsonParse?s("el-form-item",{attrs:{label:"乐器提供方式",prop:"type",rules:[{required:!0,message:"请选择乐器提供方式",trigger:"change"}]}},[e.changeInfo?e.changeInfo&&e.changeInfo.kitGroupPurchaseType?s("span",[e._v(e._s(e.kitGroupPurchaseTypeFormater[e.changeInfo.kitGroupPurchaseType]))]):e._e():s("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.musicalGoodsById[e.form.musicalGoods].kitGroupPurchaseTypeJsonParse,(function(t,n){return s("el-radio",{key:n,attrs:{label:n}},[e._v(e._s(e.kitGroupPurchaseTypeFormater[n]+" "+((e.musicalGoodsById[e.form.musicalGoods][e.typeAndprice[n]]||0)>0?e.musicalGoodsById[e.form.musicalGoods][e.typeAndprice[n]]+"元":"免费")))])})),1)],1):e._e(),e._v(" "),e.activeAccessories.length||e.groupList.length||e.changeInfo?s("el-form-item",{attrs:{label:"更换教辅",prop:"name"}},[e.changeInfo?e.changeInfo?s("span",[e._v(e._s(e.changeAccessoriesGoods))]):e._e():s("accessories",{attrs:{list:e.activeAccessories,groupList:e.groupList},on:{"update:list":function(t){e.activeAccessories=t},"update:groupList":function(t){e.groupList=t},"update:group-list":function(t){e.groupList=t},change:e.accessoriesChange}})],1):e._e(),e._v(" "),e.changeInfo?s("el-form-item",{attrs:{label:"查看链接",prop:"name"}},[s("div",{staticClass:"viewlink"},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.copyLink,placement:"top"}},[s("span",{staticClass:"link"},[e._v(e._s(e.copyLink))])]),e._v(" "),s("el-popover",{attrs:{placement:"top",width:"220",trigger:"click"}},[s("div",{staticClass:"left-code"},[s("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),e._v(" "),e.copyLink?s("p",{staticClass:"code-url"},[e._v("\n "+e._s(e.copyLink)+"\n "),s("el-link",{staticClass:"linkbtn",attrs:{type:"primary"},on:{click:function(t){return e.copyUrl(e.copyLink)}}},[e._v("复制")])],1):e._e()]),e._v(" "),s("el-button",{staticClass:"btn",attrs:{slot:"reference",type:"primary"},on:{click:e.onCreateQRCode},slot:"reference"},[e._v("二维码")])],1)],1)]):e._e(),e._v(" "),s("el-form-item",{attrs:{label:"支付差价",prop:"name"}},[e.changeInfo?s("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.editSpread))+"元")]):s("span",{staticStyle:{color:"red"}},[e._v(e._s(e._f("moneyFormat")(e.spread))+"元")])])],1),e._v(" "),s("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:e.$listeners.close}},[e._v("取 消")]),e._v(" "),e.changeInfo&&1!==e.changeInfo.status?s("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/cancel",expression:"'subjectChange/cancel'"}],attrs:{type:"danger"},on:{click:e.cancel}},[e._v("取消订单")]):e._e(),e._v(" "),e.changeInfo?e._e():s("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"subjectChange/add",expression:"'subjectChange/add'"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确 定")])],1)],1)},i=[],r=(s("96cf"),s("1da1")),a=(s("7f7f"),s("5530")),o=(s("ac6a"),s("456d"),s("b85c")),u=s("d044"),c=s.n(u),l=s("f904"),d=s.n(l),p=(s("6612"),s("1cc7")),m=s("61f7"),h=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]),e._v(" "),e.groupOptions.length?s("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.groupOptions,(function(t){return s("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[s("strong",[s("span",[e._v(e._s(t.name))]),e._v(" "),s("span",[e._v(e._s(e._f("moneyFormat")(t.price))+"元")])]),e._v(" "),e._l(t.subs,(function(t){return s("p",{key:t},[e._v(e._s(t))])}))],2)})),1):s("el-checkbox-group",{staticClass:"options",on:{change:e.optionChange},model:{value:e.checkeds,callback:function(t){e.checkeds=t},expression:"checkeds"}},e._l(e.list,(function(t){return s("el-checkbox",{key:t.id,staticClass:"option",attrs:{label:t.id}},[s("strong",[s("span",[e._v(e._s(t.name))]),e._v(" "),t.groupPurchasePrice>0?s("span",[e._v(e._s(e._f("moneyFormat")(t.groupPurchasePrice))+" 元")]):s("span",[e._v("免费")])])])})),1)],1)},f=[],v=s("2909"),b={props:["list","groupList"],data:function(){return{type:"list",checkAll:!1,checkeds:[],accessoriesByid:{},groupListById:{},selectMoney:0,isIndeterminate:!1}},watch:{checkeds:function(e){"list"===this.type?this.accessoriesByid:this.groupListById;var t=0;if("list"===this.type){var s,n=Object(o["a"])(e);try{for(n.s();!(s=n.n()).done;){var i=s.value,r=this.accessoriesByid[i];r&&(t+=parseFloat(r.groupPurchasePrice))}}catch(g){n.e(g)}finally{n.f()}}else{var a,u=Object(o["a"])(e);try{for(u.s();!(a=u.n()).done;){var c=a.value,l=this.groupListById[c];l&&(t+=parseFloat(l.price))}}catch(g){u.e(g)}finally{u.f()}}var d=[];if("list"!==this.type){var p,m=Object(o["a"])(e);try{for(m.s();!(p=m.n()).done;){var h=p.value,f=this.groupListById[h];if(f){var b=this.groupListById[h].goodsList;d=d.concat((b||[]).map((function(e){return e.id})))}}}catch(g){m.e(g)}finally{m.f()}}else d=Object(v["a"])(e);this.$listeners.change(d,t)}},mounted:function(){var e=this;this.$nextTick((function(){var t,s={},n=Object(o["a"])(e.list);try{for(n.s();!(t=n.n()).done;){var i=t.value;s[i.id]=i}}catch(l){n.e(l)}finally{n.f()}var r,a={},u=Object(o["a"])(e.groupList);try{for(u.s();!(r=u.n()).done;){var c=r.value;a[c.id]=c}}catch(l){u.e(l)}finally{u.f()}e.accessoriesByid=s,e.groupListById=a}))},computed:{groupOptions:function(){var e=this.groupList.map((function(e){return{name:e.name,price:e.price,id:e.id,subs:e.childGoodsList?e.childGoodsList.map((function(e){return e.name})):[]}}));return e.length&&(this.type="group"),e}},methods:{handleCheckAllChange:function(e){var t="list"===this.type?this.list:this.groupOptions,s=t.map((function(e){return e.id}));this.checkeds=e?s:[],this.isIndeterminate=!1},optionChange:function(e){var t="list"===this.type?this.list:this.groupOptions,s=e.length;this.checkAll=s===t.length,this.isIndeterminate=s>0&&s<t.length}}},g=b,y=(s("6ca4"),s("2877")),_=Object(y["a"])(g,h,f,!1,null,"72a63fe6",null),w=_.exports,F=s("267e"),x=function(e,t){var s=[],n={},i=[],r={},u=[],c={},l={};if(e){var d,p=e.musicGroupSubjectGoodsGroupList,m={},h=Object(o["a"])(p);try{for(h.s();!(d=h.n()).done;){var f=d.value;m[f.type]||(m[f.type]=[]),m[f.type].push(f)}}catch(C){h.e(C)}finally{h.f()}for(var v=Object.keys(m),b=0,g=v;b<g.length;b++){var y,_=g[b],w=Object(o["a"])(m[_]);try{for(w.s();!(y=w.n()).done;){var F=y.value;if("INSTRUMENT"===_){var x={},k={};try{x=JSON.parse(F.kitGroupPurchaseTypeJson)}catch(O){}try{k=JSON.parse(F.coursePurchaseTypeJson)}catch(O){}var j=Object(a["a"])(Object(a["a"])({},F),{},{kitGroupPurchaseTypeJsonParse:x,kitGroupPurchaseTypePrice:x[t]||0,coursePurchaseTypeJsonTypePrice:k[t]||0,_calculated_price:"FREE"===t?0:"LEASE"===t?F.depositFee:F.price});if(i.push(j),r[F.goodsIdList]=j,!m.ACCESSORIES){l[F.goodsIdList]||(l[F.goodsIdList]=[]);var A,P=F.goodsList[0].goodsList?F.goodsList[0].goodsList:[],S=Object(o["a"])(P);try{for(S.s();!(A=S.n()).done;){var I=A.value;l[F.goodsIdList].push(I),n[I.id]=I}}catch(C){S.e(C)}finally{S.f()}}}else"ACCESSORIES"===F.type&&(u.push(F),c[F.id]=F)}}catch(C){w.e(C)}finally{w.f()}}}return{accessories:s,accessoriesById:n,musicalGoods:i,musicalGoodsById:r,groupList:u,groupListById:c,accessoriesByGoods:l}},k={GROUP:"price",LEASE:"depositFee"},j={props:["detail","musicGroupId","voiceList"],components:{accessories:w},data:function(){return{typeAndprice:k,kitGroupPurchaseTypeFormater:F["kitGroupPurchaseType"],changeInfo:null,oldAllMoney:0,accessories:[],accessoriesByid:{},musicalGoods:[],musicalGoodsById:{},groupList:[],groupListById:{},accessoriesByGoods:{},selectAccessories:[],selectAccessoriesMoney:0,kitGroupPurchaseTypePrice:0,coursePurchaseTypeJsonTypePrice:0,form:{subjectId:"",accessories:"",musicalGoods:"",type:""},rules:{},item:{},originalMusicalGoods:"",originalAccessoriesGoods:"",originalAccessoriesPrice:0,originalMusicalPrice:0,originalCourseFee:0,musicGroupSubjectPlanFee:0,musicalPrice:0}},watch:{detail:function(){this.detail&&this.fetchDetail()},"form.musicalGoods":function(){this.$set(this.form,"type","")},"form.type":function(){this.musicalGoodsChange(this.form.musicalGoods)}},computed:{copyLink:function(){return this.changeInfo?Object(m["d"])()+"/#/change-voice?id="+this.changeInfo.id:""},filterVoiceList:function(){var e=this;return this.voiceList.filter((function(t){return t.subjectId!=e.detail.actualSubjectId}))},activeAccessories:function(){var e=this.form||{},t=e.musicalGoods;return t&&this.accessoriesByGoods[t]||[]},changeSubjectName:function(){var e="";if(this.item.changeSubjectId){var t,s=Object(o["a"])(this.voiceList);try{for(s.s();!(t=s.n()).done;){var n=t.value;if(n.subjectId===this.item.changeSubjectId){e=n.subjectName;break}}}catch(i){s.e(i)}finally{s.f()}}return e},changeAccessoriesGoods:function(){var e=this.changeInfo||{},t=(e.changeAccessoriesGoods||[]).map((function(e){return e.name})).join(",");return t||"未选择教辅"},editSpread:function(){var e=this.changeInfo||{},t=(e.originalAccessoriesPrice||0)+(e.originalCourseFee||0)+(e.originalMusicalPrice||0);return(e.changeMusicalPrice||0)+(e.changeAccessoriesPrice||0)+(e.changeCourseFee||0)-t},spread:function(){var e=this.numFormat(this.musicalPrice+this.selectAccessoriesMoney+this.musicGroupSubjectPlanFee-this.originalAccessoriesPrice-this.originalMusicalPrice-this.originalCourseFee-this.coursePurchaseTypeJsonTypePrice-this.kitGroupPurchaseTypePrice);return e}},mounted:function(){console.log(this.detail),this.detail&&this.detail.userId&&this.fetchDetail()},methods:{copyUrl:function(e){d()(e),this.$message.success("复制成功")},fetchDetail:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=function(e){var t=e.data;s.item=t||{},t&&(s.$set(s.form,"type",s.item.kitGroupPurchaseType),s.originalAccessoriesPrice=t.originalAccessoriesPrice,s.originalMusicalPrice=t.originalMusicalPrice,s.originalCourseFee=t.originalCourseFee,s.originalMusicalGoods=t.originalMusicalGoods&&t.originalMusicalGoods.name,s.originalAccessoriesGoods=(t.originalAccessoriesGoods||[]).map((function(e){return e.name})).join())},!this.detail.subjectChange){e.next=6;break}return e.next=4,Object(p["S"])({id:this.detail.subjectChange.id}).then((function(e){t(e),s.changeInfo=e.data}));case 4:e.next=9;break;case 6:return this.changeInfo=this.detail.subjectChange,e.next=9,Object(p["Cb"])({musicGroupId:this.musicGroupId,studentId:this.detail.studentId}).then(t);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),subjectChange:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s,n,i,r,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.$set(this.form,"musicalGoods",""),s=null,!t){e.next=7;break}return e.next=5,Object(p["Gb"])({musicGroupId:this.musicGroupId,subjectId:t}).then((function(e){s=e.data,a.musicGroupSubjectPlanFee=e.data.musicGroupSubjectPlan.fee}));case 5:e.next=8;break;case 7:this.musicGroupSubjectPlanFee=0;case 8:for(i in n=x(s,this.item.kitGroupPurchaseType),n)n.hasOwnProperty(i)&&(r=n[i],this[i]=r);this.musicalGoodsChange();case 11:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),musicalGoodsChange:function(e){var t=this.musicalGoodsById[e];t?(this.musicalPrice=this.numFormat(t[k[this.form.type]]||0),this.coursePurchaseTypeJsonTypePrice=this.numFormat(t.coursePurchaseTypeJsonTypePrice),this.types=t.kitGroupPurchaseTypeJsonParse):(this.musicalPrice=0,this.coursePurchaseTypeJsonTypePrice=0,this.$set(this.form,"type",""))},accessoriesChange:function(e,t){this.selectAccessories=e,this.selectAccessoriesMoney=t},numFormat:function(e){var t=parseFloat(e);return isNaN(t)&&(t=0),parseFloat(t.toFixed(2))},onCreateQRCode:function(){var e=this;setTimeout((function(){e.$refs.qrCodeUrl.innerHTML="",e.qrcode=new c.a(e.$refs.qrCodeUrl,{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:c.a.CorrectLevel.H}),e.qrcode.makeCode(e.copyLink),e.codeUrl=e.copyLink}),500)},submit:function(){var e=this;this.$refs["form"].validate((function(t){var s;(e.detail.subjectId,t)&&Object(p["Dc"])({changeCourseFee:e.numFormat(e.musicGroupSubjectPlanFee-e.coursePurchaseTypeJsonTypePrice),changeAccessories:e.selectAccessories.join(",")||null,changeAccessoriesPrice:e.numFormat(e.selectAccessoriesMoney),changeMusicalPrice:e.numFormat(e.musicalPrice),originalCourseFee:e.originalCourseFee,originalMusicalPrice:e.originalMusicalPrice,originalMusical:e.item.originalMusical,originalAccessories:e.item.originalAccessories,originalAccessoriesPrice:e.originalAccessoriesPrice,cooperationOrganId:e.item.cooperationOrganId,kitGroupPurchaseType:"OWNED"===e.form.musicalGoods?e.form.musicalGoods:e.form.type,musicGroupId:e.musicGroupId,studentId:e.detail.studentId,changeMusical:"OWNED"===e.form.musicalGoods?0:e.form.musicalGoods,originalCost:e.item.originalCost,organId:e.item.organId,originalSubjectId:null===(s=e.detail)||void 0===s?void 0:s.actualSubjectId,changeSubjectId:e.form.subjectId}).then((function(t){e.$listeners.close(),e.$listeners.submited(),e.$message.success("提交成功!")}))}))},cancel:function(){var e=this;this.$confirm("是否确认取消订单?","提示",{onfirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(p["Ec"])({id:e.detail.subjectChange.id}).then((function(t){e.$listeners.close(),e.$listeners.submited(),e.$message.success("取消成功!")}))}))}}},A=j,P=(s("ebaf"),Object(y["a"])(A,n,i,!1,null,"f23a05fa",null));t["a"]=P.exports},7619:function(e,t,s){},"879d":function(e,t,s){"use strict";var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"merge-music"},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.visible=!0}}},[e._v("选择乐团")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.studentsVisible=!0}}},[e._v("学员列表")]),e._v(" "),e.isEmpty?s("empty",{attrs:{desc:"暂未选择乐团"}}):s("el-collapse",{staticClass:"items",on:{change:e.changeActive},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},e._l(e.items,(function(t,n){return s("el-collapse-item",{key:n,staticClass:"item",attrs:{name:n},scopedSlots:e._u([{key:"title",fn:function(){return[s("div",{staticClass:"header"},[s("span",{staticClass:"title"},[s("span",[e._v(e._s(t.name))])]),e._v(" "),s("span",{staticStyle:{width:"20%"}},[s("span",[e._v("学员人数:已选"+e._s(t.num)+"人")]),e._v(" "),s("i",{staticClass:"icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.remove(n)}}})])])]},proxy:!0}],null,!0)},[e._v(" "),s("selectItem",{attrs:{active:e.active,id:t.id},on:{selected:e.selected}})],1)})),1),e._v(" "),s("div",{staticClass:"btns"},[s("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("关闭")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.merge}},[e._v("确认合并")])],1),e._v(" "),s("el-dialog",{attrs:{title:"选择乐团",visible:e.visible,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.visible=t}}},[s("selectMusic",{attrs:{visible:e.visible,organId:e.organId},on:{close:function(t){e.visible=!1},submited:e.submited}})],1),e._v(" "),s("el-dialog",{attrs:{title:"查看已合并学生",visible:e.studentsVisible,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.studentsVisible=t}}},[e.studentsVisible?s("mergedStudents",{on:{close:function(t){e.studentsVisible=!1},submited:e.submited}}):e._e()],1)],1)},i=[],r=(s("96cf"),s("1da1")),a=s("5530"),o=s("b85c"),u=(s("ac6a"),s("456d"),s("160b")),c=s("3078"),l=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"container",staticStyle:{width:"100%"}},[s("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[s("el-form-item",{attrs:{prop:"musicGroupName"}},[s("el-input",{attrs:{clearable:"",placeholder:"乐团名称"},model:{value:e.search.musicGroupName,callback:function(t){e.$set(e.search,"musicGroupName","string"===typeof t?t.trim():t)},expression:"search.musicGroupName"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")])],1)],1),e._v(" "),s("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableData},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",selectable:e.checkSelectable,width:"50"}}),e._v(" "),s("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"name",width:"200px",align:"center",label:"乐团名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"cooperationOrganName","max-width":"274",label:"合作单位"}})],1),e._v(" "),s("pagination",{staticStyle:{padding:"10px"},attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size,layout:"prev, pager, next"},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.FetchList}}),e._v(" "),s("div",{staticClass:"footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.submited}},[e._v("确认")])],1)],1)},d=[],p=(s("386d"),s("7f7f"),s("333d")),m={props:["visible","organId"],components:{pagination:p["a"]},data:function(){return{tableData:[],passed:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},search:{musicGroupName:"",hastimer:""}}},mounted:function(){this.FetchList()},watch:{visible:function(){this.$refs.table.clearSelection(),this.passed=[]}},methods:{submit:function(e){this.rules.page=1,e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.FetchList()},reset:function(e){this.rules.page=1,e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={musicGroupName:"",hastimer:""},this.FetchList()},checkSelectable:function(e){return!0},handleSelectionChange:function(e){var t=[];for(var s in e){var n={};n.id=e[s].id,n.name=e[s].name,t.push(n)}this.passed=t},FetchList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(u["b"])(Object(a["a"])({rows:this.rules.limit,page:this.rules.page,organId:this.organId},this.search));case 3:t=e.sent,this.tableData=t.data.rows.filter((function(e){return e.id!==s.$route.query.id})),this.rules.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}(),submited:function(){this.$emit("close"),this.$emit("submited",this.passed)}}},h=m,f=(s("1aa8"),s("2877")),v=Object(f["a"])(h,l,d,!1,null,"64b6b690",null),b=v.exports,g=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[s("el-form-item",{attrs:{prop:"keyword"}},[s("el-input",{attrs:{clearable:"",placeholder:"学生姓名(手机、编号)"},model:{value:e.search.keyword,callback:function(t){e.$set(e.search,"keyword","string"===typeof t?t.trim():t)},expression:"search.keyword"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")])],1)],1),e._v(" "),s("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.filterlist},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),s("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"name",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"parentsName",align:"center",label:"家长姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.parentsName))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"parentsPhone",align:"center",label:"家长电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.parentsPhone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.subjectName))])]}}])})],1)],1)},y=[],_=(s("6762"),s("2fdb"),s("1672")),w={props:["id","active","name"],data:function(){return{list:[],filterlist:[],passed:[],search:{keyword:"",hastimer:""}}},watch:{active:{immediate:!0,handler:function(){this.active.includes(this.id)&&!this.list.length&&this.FetchDetail()}}},methods:{filter:function(){var e=this.search,t=e.keyword;e.hastimer;this.filterlist=this.list.filter((function(e){var s=!t||(""+e.userId).indexOf(t)>-1||(""+e.parentsName).indexOf(t)>-1||(""+e.parentsPhone).indexOf(t)>-1||(""+e.name).indexOf(t)>-1;return s}))},submit:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.filter()},reset:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={keyword:"",hastimer:""},this.filter()},handleSelectionChange:function(e){var t=[];for(var s in e)t.push(e[s].id);this.passed=t,this.$emit("selected",this.passed,this.id)},FetchDetail:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(_["a"])({musicGroupId:this.id,studentStatus:"NORMAL",paymentStatus:1});case 3:t=e.sent,this.list=t.data,this.filterlist=t.data,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},F=w,x=Object(f["a"])(F,g,y,!1,null,null,null),k=x.exports,j=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("el-form",{ref:"search",attrs:{model:e.search,inline:""},nativeOn:{submit:function(t){return t.stopPropagation(),e.submit(t)},reset:function(t){return t.stopPropagation(),e.reset(t)}}},[s("el-form-item",{attrs:{prop:"keyword"}},[s("el-input",{attrs:{clearable:"",placeholder:"学生姓名(手机、编号)"},model:{value:e.search.keyword,callback:function(t){e.$set(e.search,"keyword","string"===typeof t?t.trim():t)},expression:"search.keyword"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary","native-type":"submit"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"danger","native-type":"reset"}},[e._v("重置")]),e._v(" "),s("el-button",{attrs:{type:"primary",disabled:!e.passed.length},on:{click:e.removeStuden}},[e._v("删除学员")])],1)],1),e._v(" "),s("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.filterlist},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"50"}}),e._v(" "),s("el-table-column",{attrs:{prop:"realName",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.realName))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"phone",align:"center",label:"手机号码"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.subjectName))])]}}])})],1)],1)},A=[],P=s("1cc7"),S={data:function(){return{id:this.$route.query.id,list:[],filterlist:[],passed:[],search:{keyword:"",hastimer:""}}},mounted:function(){this.FetchDetail()},methods:{filter:function(){var e=this.search,t=e.keyword;e.hastimer;this.filterlist=this.list.filter((function(e){var s=!t||(""+e.userId).indexOf(t)>-1||(""+e.phone).indexOf(t)>-1||(""+e.realName).indexOf(t)>-1;return s}))},submit:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.filter()},reset:function(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.search={keyword:"",hastimer:""},this.filter()},handleSelectionChange:function(e){var t=[];for(var s in e)t.push(e[s].userId);this.passed=t},removeStuden:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$confirm("是否确认删除已选择学员?","提示",{type:"warning"});case 3:return e.next=5,Object(c["b"])({musicGroupId:this.id,userIds:this.passed});case 5:this.$message.success("删除成功"),this.FetchDetail(),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),FetchDetail:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(P["Pb"])({musicGroupId:this.id});case 3:t=e.sent,this.list=t.data.rows,this.filterlist=t.data.rows,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},I=S,C=Object(f["a"])(I,j,A,!1,null,null,null),O=C.exports,R={props:["organId"],components:{selectMusic:b,selectItem:k,mergedStudents:O},data:function(){return{active:"",visible:!1,studentsVisible:!1,tableData:[],passed:[],items:{},studentsByMusicId:{}}},computed:{isEmpty:function(){return 0===Object.keys(this.items).length}},mounted:function(){},methods:{changeActive:function(e){this.active=e},submited:function(e){var t,s={},n=Object(o["a"])(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;s[i.id]?s[i.id]=Object(a["a"])(Object(a["a"])({},s[i.id]),i):s[i.id]=Object(a["a"])(Object(a["a"])({},i),{},{num:0})}}catch(r){n.e(r)}finally{n.f()}this.items=s},remove:function(e){var t=Object(a["a"])({},this.items),s=Object(a["a"])({},this.studentsByMusicId);delete t[e],delete s[e],this.items=Object(a["a"])({},t),this.studentsByMusicId=Object(a["a"])({},s)},selected:function(e,t){var s=this.studentsByMusicId;s[t]||(s[t]=[]),s[t]=e,this.items[t].num=e.length,this.items=this.items,this.studentsByMusicId=s},merge:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t,s,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(s in t=[],this.studentsByMusicId)Object.hasOwnProperty.call(this.studentsByMusicId,s)&&(n=this.studentsByMusicId[s],t=t.concat(n));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(c["a"])({musicGroupId:this.$route.query.id,registerIds:t});case 10:this.$message.success("合并成功"),this.$emit("close"),this.$emit("submited"),e.next=17;break;case 15:e.prev=15,e.t0=e["catch"](5);case 17:case"end":return e.stop()}}),e,this,[[5,15]])})));function t(){return e.apply(this,arguments)}return t}(),handleSelectionChange:function(e){var t=[];for(var s in e)t.push(e[s].id);this.passed=t},FetchList:function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(u["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}()}},G=R,E=(s("f089"),Object(f["a"])(G,n,i,!1,null,"4c59032c",null));t["a"]=E.exports},a05b:function(e,t,s){},ae1b:function(e,t,s){},be2e:function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"sigup-container"},[s("div",{staticClass:"topWrap"},[s("div",[s("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[s("div",{staticStyle:{display:"flex","margin-bottom":"15px","font-size":"18px","font-weight":"400"}},[e.applyExpireDate?s("p",{staticStyle:{"margin-right":"10px"}},[e._v("\n 报名截止时间:"+e._s(e._f("formatTimer")(e.applyExpireDate))+"\n ")]):e._e(),e._v(" "),e.paymentExpireDate?s("p",[e._v("\n 缴费截止时间:"+e._s(e._f("formatTimer")(e.paymentExpireDate))+"\n ")]):e._e()])]),e._v(" "),s("div",{staticClass:"btnList"},["APPLY"==e.status?s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/openPay",expression:"'musicGroup/openPay'"}],staticClass:"newBand",on:{click:e.payStart}},[e._v("\n 开始缴费\n ")]):e._e(),e._v(" "),"APPLY"==e.status||"PAY"==e.status?s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/found",expression:"'musicGroup/found'"}],staticClass:"newBand",on:{click:e.onGoHome}},[e._v("\n 确认开团\n ")]):e._e(),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionPayment",expression:"'musicGroup/extensionPayment'"},{name:"show",rawName:"v-show",value:"PAY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status,expression:"\n status == 'PAY' || status == 'PROGRESS' || status == 'PREPARE'\n "}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!0)}}},[e._v("\n 延长缴费\n ")]),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/extensionApplyExpireDate",expression:"'musicGroup/extensionApplyExpireDate'"},{name:"show",rawName:"v-show",value:"PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status,expression:"\n status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE'\n "}],staticClass:"newBand",on:{click:function(t){return e.extendTime(!1)}}},[e._v("\n 延长报名\n ")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status)&&e.ischeckCanReg,expression:"\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE') &&\n ischeckCanReg\n "}],staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("payment")}}},[e._v("\n 报名链接\n ")]),e._v(" "),s("div",{staticClass:"newBand",on:{click:function(t){return e.onCreateQRCode("detail")}}},[e._v("缴费详情")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:e.rightList.length>0,expression:"rightList.length > 0"},{name:"permission",rawName:"v-permission",value:"studentRegistration/queryStudentApplyDetailExport",expression:"'studentRegistration/queryStudentApplyDetailExport'"}],staticClass:"newBand",on:{click:e.onDownLoadExecl}},[e._v("\n 报表导出\n ")]),e._v(" "),s("auth",{attrs:{auths:"studentRegistration/queryPreApplyList/4263"}},[s("div",{staticClass:"newBand",staticStyle:{"margin-right":"0"},on:{click:function(t){e.forecastVisible=!0}}},[e._v("\n 预报名名单\n ")])]),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/addMusicGroupRegs",expression:"'musicGroup/addMusicGroupRegs'"},{name:"show",rawName:"v-show",value:("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status)&&e.ischeckCanReg,expression:"\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE') &&\n ischeckCanReg\n "}],staticClass:"newBand",on:{click:function(t){e.mergeVisible=!0}}},[e._v("\n 合并学员\n ")]),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status)&&e.ischeckCanReg,expression:"\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE') &&\n ischeckCanReg\n "}],staticClass:"newBand",staticStyle:{"background-color":"#f97215",border:"1px solid #f97215"},on:{click:function(t){return e.onCreateQRCode("rePayment")}}},[e._v("\n 报名链接(无乐器)\n ")])],1)]),e._v(" "),s("el-dialog",{attrs:{title:"选择合并乐团",visible:e.mergeVisible,width:"950px"},on:{"update:visible":function(t){e.mergeVisible=t}}},[e.mergeVisible?s("mergeMusic",{staticStyle:{padding:"0 20px"},attrs:{organId:e.organId},on:{close:function(t){e.mergeVisible=!1},submited:e.getList}}):e._e()],1),e._v(" "),s("el-dialog",{attrs:{title:"预报名名单",visible:e.forecastVisible,width:"1100px"},on:{"update:visible":function(t){e.forecastVisible=t}}},[e.forecastVisible?s("forecastList",{on:{close:function(t){e.forecastVisible=!1}}}):e._e()],1)],1),e._v(" "),s("div",{staticClass:"searchList"},[s("save-form",{attrs:{inline:!0,model:e.searchFrom},on:{submit:e.search,reset:e.onReset}},[s("el-form-item",[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择专业"},model:{value:e.searchFrom.subject,callback:function(t){e.$set(e.searchFrom,"subject","string"===typeof t?t.trim():t)},expression:"searchFrom.subject"}},e._l(e.soundList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{filterable:"",placeholder:"请选择是否允许调剂",clearable:""},model:{value:e.searchFrom.isAllowAdjust,callback:function(t){e.$set(e.searchFrom,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchFrom.isAllowAdjust"}},[s("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),s("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),s("el-form-item",[s("el-input",{attrs:{placeholder:"请输入用户名或手机号",clearable:""},model:{value:e.searchFrom.name,callback:function(t){e.$set(e.searchFrom,"name","string"===typeof t?t.trim():t)},expression:"searchFrom.name"}})],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请输入年级"},model:{value:e.searchFrom.currentGrade,callback:function(t){e.$set(e.searchFrom,"currentGrade","string"===typeof t?t.trim():t)},expression:"searchFrom.currentGrade"}},e._l(e.gradeList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.label,value:e.label}})})),1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{clearable:"",filterable:"",placeholder:"报名缴费"},model:{value:e.searchFrom.paymentStatus,callback:function(t){e.$set(e.searchFrom,"paymentStatus","string"===typeof t?t.trim():t)},expression:"searchFrom.paymentStatus"}},[s("el-option",{attrs:{label:"未开启缴费",value:"0"}}),e._v(" "),s("el-option",{attrs:{label:"开启缴费",value:"1"}}),e._v(" "),s("el-option",{attrs:{label:"已缴费",value:"2"}})],1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{clearable:"",filterable:"",placeholder:"是否回访"},model:{value:e.searchFrom.visited,callback:function(t){e.$set(e.searchFrom,"visited","string"===typeof t?t.trim():t)},expression:"searchFrom.visited"}},[s("el-option",{attrs:{label:"否",value:"false"}}),e._v(" "),s("el-option",{attrs:{label:"是",value:"true"}})],1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"danger","native-type":"search"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{type:"primary","native-type":"reset"}},[e._v("重置")])],1)],1)],1),e._v(" "),s("div",{staticClass:"sigup-core"},[s("div",{staticClass:"left"},[s("el-table",{staticStyle:{width:"100% !important"},attrs:{data:e.leftList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[s("el-table-column",{attrs:{label:"乐团声部",prop:"subjectName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"计划招生",prop:"expectedStudentNum",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[s("p",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit,expression:"!isEdit"}]},[e._v(e._s(t.row.expectedStudentNum))]),e._v(" "),s("el-input",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],model:{value:t.row.expectedStudentNum,callback:function(s){e.$set(t.row,"expectedStudentNum","string"===typeof s?s.trim():s)},expression:"scope.row.expectedStudentNum"}})],1)]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"已报名",prop:"applyStudentNum",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"已缴费",prop:"payNum",align:"center"}})],1),e._v(" "),s("div",{directives:[{name:"permission",rawName:"v-permission",value:"musicGroup/updateExpectedStudentNum",expression:"'musicGroup/updateExpectedStudentNum'"}],staticClass:"btnWrap",staticStyle:{"margin-right":"20px","margin-top":"20px"}},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:!e.isEdit&&("PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status),expression:"\n !isEdit &&\n (status == 'PAY' ||\n status == 'APPLY' ||\n status == 'PROGRESS' ||\n status == 'PREPARE')\n "}],on:{click:function(t){e.isEdit=!0}}},[e._v("编辑")]),e._v(" "),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isEdit,expression:"isEdit"}],on:{click:e.saveIsEdit}},[e._v("保存")])],1)],1),e._v(" "),s("div",{staticClass:"right"},[s("el-table",{ref:"multipleTable",attrs:{data:e.rightList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":e.handleSelectionChange}},[s("el-table-column",{attrs:{type:"selection",width:"55",selectable:e.checkboxSelect}}),e._v(" "),s("el-table-column",{attrs:{label:"学员姓名",prop:"studentName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"家长姓名",prop:"parentsName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"入团年份"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.createTime,"YYYY年"))+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"年级班级",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(t.row.currentGrade+t.row.currentClass)+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"性别",prop:"gender",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("sex")(t.row.gender))+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"服从调剂",prop:"isAllowAdjust",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("isAllowAdjust")(t.row.isAllowAdjust))+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"报名专业",prop:"subjectName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"调剂专业",prop:"actualSubjectName",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"联系电话",prop:"parentsPhone",align:"center"}}),e._v(" "),s("el-table-column",{attrs:{label:"是否回访",prop:"paymentStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(t.row.visitNum?"是":"否")+"\n ")])]}}])}),e._v(" "),s("el-table-column",{attrs:{label:"报名缴费状态",fixed:"right",prop:"paymentStatus",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[e._v("\n "+e._s(e._f("paymentStatus")(t.row.paymentStatus))+"\n ")])]}}])}),e._v(" "),"PAY"==e.status||"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status?s("el-table-column",{attrs:{label:"操作",fixed:"right",width:"240",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("div",[s("auth",{attrs:{auths:"studentRegistration/batchUpdateSubject"}},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:2!=t.row.paymentStatus,expression:"scope.row.paymentStatus != 2"}],attrs:{type:"text"},on:{click:function(s){return e.resetSubject(t.row)}}},[e._v("修改专业")])],1),e._v(" "),s("el-popover",{directives:[{name:"show",rawName:"v-show",value:t.row.remark,expression:"scope.row.remark"}],attrs:{placement:"top-start",title:"备注",width:"200",trigger:"hover",content:t.row.remark}},[s("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("备注")])],1),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"studentRegistration/queryFeeDetail"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.lookdetail(t.row)}}},[e._v("查看")])],1),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"musicGroupQuit/directQuitMusicGroup2"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.quitTeam(t.row)}}},[e._v("退团退费")])],1),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"musicGroupQuit/directQuitMusicGroup3"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.quieTeams(t.row)}}},[e._v("退团")])],1),e._v(" "),t.row.visitNum<=0?s("auth",{attrs:{auths:"visit/add/teamSignupList"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.addVisit(t.row)}}},[e._v("新增回访")])],1):e._e(),e._v(" "),s("auth",{directives:[{name:"show",rawName:"v-show",value:2==t.row.paymentStatus,expression:"scope.row.paymentStatus == 2"}],attrs:{auths:"subjectChange/getStudentOriginal"}},[s("el-button",{attrs:{type:"text"},on:{click:function(s){return e.openChangeVoice(t.row)}}},[e._v("更改声部")])],1)],1)]}}],null,!1,3106520180)}):e._e()],1),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:"APPLY"==e.status||"PROGRESS"==e.status||"PREPARE"==e.status,expression:"\n status == 'APPLY' || status == 'PROGRESS' || status == 'PREPARE'\n "}],staticStyle:{"margin-top":"10px","margin-bottom":"10px"}},[s("el-button",{on:{click:e.onSelectAll}},[e._v("全选/取消")]),e._v(" "),s("auth",{attrs:{auths:"studentRegistration/openPayment"}},[s("el-button",{staticStyle:{"background-color":"#14928a",border:"1px solid #14928a"},attrs:{type:"primary"},on:{click:e.onPartPayment}},[e._v("开启缴费")])],1)],1),e._v(" "),s("pagination",{attrs:{sync:"",total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)]),e._v(" "),s("el-dialog",{attrs:{title:"修改专业",visible:e.subjectVisible,width:"400px"},on:{"update:visible":function(t){e.subjectVisible=t}}},[s("el-form",{attrs:{model:e.maskForm}},[s("el-form-item",{attrs:{label:"选择专业"}},[s("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.subject,callback:function(t){e.$set(e.maskForm,"subject","string"===typeof t?t.trim():t)},expression:"maskForm.subject"}},e._l(e.soundList,(function(e,t){return s("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.subjectVisible=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.okReset}},[e._v("确 定")])],1)],1),e._v(" "),s("el-dialog",{attrs:{title:e.isPay?"延长缴费":"延长报名",visible:e.extendPaymentStatus,"destroy-on-close":"",width:"400px"},on:{"update:visible":function(t){e.extendPaymentStatus=t}}},[s("el-form",{ref:"extendForm",attrs:{model:e.extendForm,rules:e.extendRule}},[e.isPay?s("el-form-item",{attrs:{label:"延长缴费时间",prop:"expireDate"}},[s("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":e.payDate(),placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1):s("el-form-item",{attrs:{label:"延长报名时间",prop:"expireDate"}},[s("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date","picker-options":e.applyDates,placeholder:"选择日期"},model:{value:e.extendForm.expireDate,callback:function(t){e.$set(e.extendForm,"expireDate","string"===typeof t?t.trim():t)},expression:"extendForm.expireDate"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.extendPaymentStatus=!1}}},[e._v("取 消")]),e._v(" "),(e.isPay,s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onExtendPayment("extendForm",e.isPay)}}},[e._v("确 定")]))],1)],1),e._v(" "),s("el-dialog",{attrs:{title:"订单详情",visible:e.orderVisible,width:"600px"},on:{"update:visible":function(t){e.orderVisible=t}}},[s("el-form",{attrs:{model:e.orderForm,inline:!0}},[s("el-form-item",{attrs:{label:"学员姓名"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.name,callback:function(t){e.$set(e.orderForm,"name","string"===typeof t?t.trim():t)},expression:"orderForm.name"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"实缴金额"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.totalAmount,callback:function(t){e.$set(e.orderForm,"totalAmount","string"===typeof t?t.trim():t)},expression:"orderForm.totalAmount"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"实际专业"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subject,callback:function(t){e.$set(e.orderForm,"subject","string"===typeof t?t.trim():t)},expression:"orderForm.subject"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"课程费用"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.subjectFee,callback:function(t){e.$set(e.orderForm,"subjectFee","string"===typeof t?t.trim():t)},expression:"orderForm.subjectFee"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"选择乐器"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axe,callback:function(t){e.$set(e.orderForm,"axe","string"===typeof t?t.trim():t)},expression:"orderForm.axe"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"乐器价格"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.axePrice,callback:function(t){e.$set(e.orderForm,"axePrice","string"===typeof t?t.trim():t)},expression:"orderForm.axePrice"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"教辅组合"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.others,callback:function(t){e.$set(e.orderForm,"others","string"===typeof t?t.trim():t)},expression:"orderForm.others"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"组合价格"}},[s("el-input",{attrs:{disabled:""},model:{value:e.orderForm.othersPrice,callback:function(t){e.$set(e.orderForm,"othersPrice","string"===typeof t?t.trim():t)},expression:"orderForm.othersPrice"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{type:"primary"},on:{click:function(t){e.orderVisible=!1}}},[e._v("确 定")])],1)],1),e._v(" "),s("el-dialog",{attrs:{title:"开始缴费",visible:e.paymentStatus,width:"400px","destroy-on-close":""},on:{"update:visible":function(t){e.paymentStatus=t}}},[s("el-form",{ref:"paymentForm",staticClass:"paymentForm",attrs:{model:e.paymentForm,"label-position":"top",rules:e.paymentRules}},[s("el-form-item",{attrs:{label:"请设置缴费截止日期",prop:"paymentExpireDate"}},[s("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd","picker-options":e.payDate(),placeholder:"选择日期"},model:{value:e.paymentForm.paymentExpireDate,callback:function(t){e.$set(e.paymentForm,"paymentExpireDate","string"===typeof t?t.trim():t)},expression:"paymentForm.paymentExpireDate"}})],1)],1),e._v(" "),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(t){e.paymentStatus=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onStartPayment("paymentForm")}}},[e._v("确 定")])],1)],1),e._v(" "),s("qr-code",{attrs:{title:e.codeTitle,codeUrl:e.qrCodeUrl},model:{value:e.codeStatus,callback:function(t){e.codeStatus=t},expression:"codeStatus"}}),e._v(" "),s("el-dialog",{attrs:{title:"退团信息确认","destroy-on-close":!0,width:"640px",visible:e.quitVisible},on:{"update:visible":function(t){e.quitVisible=t}}},[s("el-form",{ref:"quitForm",attrs:{model:e.quitForm,"label-width":"150px",rules:e.quitRules}},[e.activeRow.cloudTeacherAmount>0?s("el-form-item",{attrs:{label:"退还云教练费用",prop:"isCloudTeacherAmount"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isCloudTeacherAmount,callback:function(t){e.$set(e.quitForm,"isCloudTeacherAmount","string"===typeof t?t.trim():t)},expression:"quitForm.isCloudTeacherAmount"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isCloudTeacherAmount,callback:function(t){e.$set(e.quitForm,"isCloudTeacherAmount","string"===typeof t?t.trim():t)},expression:"quitForm.isCloudTeacherAmount"}},[e._v("否")])],1):e._e(),e._v(" "),e.quitForm.isCloudTeacherAmount?s("el-form-item",{attrs:{label:"退还云教练金额",prop:"cloudTeacherAmount"}},[s("el-input",{staticStyle:{width:"180px"},attrs:{type:"number"},model:{value:e.quitForm.cloudTeacherAmount,callback:function(t){e.$set(e.quitForm,"cloudTeacherAmount","string"===typeof t?t.trim():t)},expression:"quitForm.cloudTeacherAmount"}},[s("template",{slot:"append"},[e._v("元")])],2)],1):e._e(),e._v(" "),s("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("否")])],1),e._v(" "),s("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("否")])],1),e._v(" "),s("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("否")])],1),e._v(" "),e.activeRow.hasMaintenance?s("el-form-item",{attrs:{label:"退还乐保费用",prop:"isMaintenanceFee"}},[s("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isMaintenanceFee,callback:function(t){e.$set(e.quitForm,"isMaintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.isMaintenanceFee"}},[e._v("是")]),e._v(" "),s("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isMaintenanceFee,callback:function(t){e.$set(e.quitForm,"isMaintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.isMaintenanceFee"}},[e._v("否")])],1):e._e(),e._v(" "),e.quitForm.isMaintenanceFee?s("el-form-item",{attrs:{label:"退还乐保金额",prop:"maintenanceFee"}},[s("el-input",{staticStyle:{width:"180px"},attrs:{type:"number"},model:{value:e.quitForm.maintenanceFee,callback:function(t){e.$set(e.quitForm,"maintenanceFee","string"===typeof t?t.trim():t)},expression:"quitForm.maintenanceFee"}},[s("template",{slot:"append"},[e._v("元")])],2)],1):e._e(),e._v(" "),s("el-form-item",{attrs:{label:"退团原因",prop:"reason"}},[s("el-input",{attrs:{type:"textarea"},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason","string"===typeof t?t.trim():t)},expression:"quitForm.reason"}})],1)],1),e._v(" "),s("span",{staticClass:"dialog-footer question",attrs:{slot:"footer"},slot:"footer"},[s("div",[s("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[s("div",{staticClass:"popoverWrap"},[s("p",[e._v("乐团退团退费规则:")]),e._v(" "),s("p",[e._v("退还乐器练习云教练费用:报名缴费时缴费的乐器练习云教练费用")]),e._v(" "),s("p",[e._v("退还课程费用:缴费总额-已结束课时单价之和")]),e._v(" "),s("p",[e._v("退还乐器费用:报名缴费时缴纳的乐器费用(团购、租金)")]),e._v(" "),s("p",[e._v("退还教辅费用:报名缴费时缴费的教辅费用")]),e._v(" "),s("p",[e._v("退还乐保费用:报名缴费时缴费的乐保费用")])]),e._v(" "),s("el-button",{staticStyle:{color:"red"},attrs:{slot:"reference",type:"text",icon:"el-icon-question"},slot:"reference"},[e._v("退团退费说明")])],1)],1),e._v(" "),s("div",[s("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:e.chioseType}},[e._v("确 定")])],1)])],1),e._v(" "),s("el-dialog",{attrs:{title:"新增回访",width:"500px","destroy-on-close":"","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[e.visitVisiable&&e.detail?s("visit",{attrs:{detail:e.detail},on:{close:function(t){e.visitVisiable=!1},submited:e.getList}}):e._e()],1),e._v(" "),e.changeVoiceVisible?s("el-dialog",{attrs:{title:"更改声部",visible:e.changeVoiceVisible,width:"600px"},on:{"update:visible":function(t){e.changeVoiceVisible=t}}},[s("changeVoice",{attrs:{detail:e.rowDetail,musicGroupId:e.id,voiceList:e.leftList},on:{close:e.closeChangeVoice,submited:e.getList,"update:detail":function(t){e.rowDetail=t}}})],1):e._e()],1)},i=[],r=s("5530"),a=s("b85c"),o=(s("ac6a"),s("7f7f"),s("96cf"),s("1da1")),u=s("333d"),c=s("641c"),l=s("1cc7"),d=s("879d"),p=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"forecastName"},[s("div",{staticClass:"m-core"},[s("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{reset:e.onReSet,submit:e.search}},[s("el-form-item",[s("el-input",{attrs:{clearable:"",placeholder:"学生编号/姓名/手机号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.name,callback:function(t){e.$set(e.searchForm,"name","string"===typeof t?t.trim():t)},expression:"searchForm.name"}})],1),e._v(" "),s("el-form-item",{attrs:{prop:"isAllowAdjust"}},[s("el-select",{attrs:{clearable:"",placeholder:"是否允许调剂"},model:{value:e.searchForm.isAllowAdjust,callback:function(t){e.$set(e.searchForm,"isAllowAdjust","string"===typeof t?t.trim():t)},expression:"searchForm.isAllowAdjust"}},[s("el-option",{attrs:{label:"是",value:1}}),e._v(" "),s("el-option",{attrs:{label:"否",value:0}})],1)],1),e._v(" "),s("el-form-item",[s("el-select",{attrs:{clearable:"",placeholder:"所选专业"},model:{value:e.searchForm.subjectId,callback:function(t){e.$set(e.searchForm,"subjectId",t)},expression:"searchForm.subjectId"}},e._l(e.selects.subjects,(function(e){return s("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1),e._v(" "),s("el-form-item",{attrs:{prop:"cloudTeacherMethod"}},[s("el-select",{attrs:{clearable:"",placeholder:"系统意向"},model:{value:e.searchForm.cloudTeacherMethod,callback:function(t){e.$set(e.searchForm,"cloudTeacherMethod","string"===typeof t?t.trim():t)},expression:"searchForm.cloudTeacherMethod"}},[s("el-option",{attrs:{label:"团购",value:"GROUP"}}),e._v(" "),s("el-option",{attrs:{label:"自备",value:"OWNED"}})],1)],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"danger","native-type":"seach"}},[e._v("搜索")]),e._v(" "),s("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),s("div",{staticClass:"tableWrap"},[s("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[s("el-table-column",{attrs:{align:"center",prop:"userId",label:"学员编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.userId))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"userName",label:"学员姓名"}}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"gender",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.gender?"男":"女")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"phone",label:"联系电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("copy-text",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"年级班级"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.currentGrade)+e._s(t.row.currentClass)+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"subjectFirstName",label:"选报声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.subjectFirstName?t.row.subjectFirstName:null)+"\n "+e._s(t.row.subjectFirstName||999!=t.row.subjectFirst?null:"听从老师安排")+",\n "+e._s(t.row.subjectSecondName?t.row.subjectSecondName:null)+"\n "+e._s(t.row.subjectSecondName||999!=t.row.subjectSecond?null:"听从老师安排")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"isAllowAdjust",label:"是否服从调剂"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isAllowAdjust?"是":"否")+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"realName",label:"乐器准备方式"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("instrumentType")(t.row.kitPurchaseMethod))+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"系统意向"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("instrumentType")(t.row.cloudTeacherMethod))+"\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{align:"center",prop:"isRegistered",label:"是否已报名"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isRegistered?"是":"否")+"\n ")]}}])})],1),e._v(" "),s("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)])},m=[],h=(s("386d"),s("3078")),f={name:"forecastName",components:{pagination:u["a"]},data:function(){var e=this.$route.query;return{musicGroupId:e.id,searchForm:{name:null,subjectId:null,isAllowAdjust:null,cloudTeacherMethod:null},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.$store.dispatch("setSubjects"),this.getList()},methods:{onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()},getList:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(h["f"])(Object(r["a"])(Object(r["a"])({},this.searchForm),{},{musicGroupId:this.musicGroupId,page:this.pageInfo.page,rows:this.pageInfo.limit}));case 3:t=e.sent,this.tableList=t.data.rows,this.pageInfo.total=t.data.total,e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:case"end":return e.stop()}}),e,this,[[0,8]])})));function t(){return e.apply(this,arguments)}return t}()}},v=f,b=s("2877"),g=Object(b["a"])(v,p,m,!1,null,"2d426373",null),y=g.exports,_=s("5137"),w=s("61f7"),F=s("46f6"),x=s("d044"),k=s.n(x),j=s("92e3"),A=s("bc3a"),P=s.n(A),S=s("5f87"),I=s("3908"),C=s("4328"),O=s.n(C),R=s("ec8a"),G=s("e3eb"),E=s.n(G),T=s("6cc5"),q=s("4edf"),D={name:"signupList",components:{pagination:u["a"],qrCode:c["a"],changeVoice:T["a"],mergeMusic:d["a"],forecastList:y,visit:q["a"]},data:function(){return{multipleSelection:[],forecastVisible:!1,isEdit:!1,rowDetail:null,mergeVisible:!1,changeVoiceVisible:!1,subjectVisible:!1,orderVisible:!1,quitVisible:!1,leftList:[],rightList:[],searchFrom:{name:"",subject:"",isAllowAdjust:"",currentGrade:null,paymentStatus:"",visited:""},quitForm:{isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},stepImgs:{APPLY:s("cd89"),PAY:s("0e73")},status:"",id:"",rules:{limit:10,page:1,total:0,page_size:[10,20,30,40]},teamName:"",maskForm:{subject:""},activeId:"",soundList:[],orderForm:{name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""},paymentStatus:!1,paymentForm:{paymentExpireDate:null},paymentRules:{paymentExpireDate:[{required:!0,message:"请设置缴费截止日期",trigger:"blur"}]},paymentNum:0,qrcodeStatus:!1,qrcodes:!0,qrcode:null,codeUrl:null,qrcodeStatus2:!1,qrcodes2:!0,qrcode2:null,codeUrl2:null,codeStatus:!1,codeTitle:null,qrCodeUrl:null,organId:"",extendPaymentStatus:!1,extendForm:{expireDate:null},extendRule:{expireDate:[{required:!0,message:"请选择延长时间",trigger:"change"}]},quitRules:{isCloudTeacherAmount:[{required:!0,message:"请输入云教练费用"}],cloudTeacherAmount:[{required:!0,message:"请输入云教练金额",trigger:"blur"}],isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"选择是否退还教辅费用"}],isMaintenanceFee:[{required:!0,message:"选择是否退还乐保费用"}],maintenanceFee:[{required:!0,message:"请输入退还乐保金额"}],reason:[{required:!0,message:"请填写退团退费原因"}]},applyExpireDate:"",paymentExpireDate:"",activeRow:{hasMaintenance:!1},visitVisiable:!1,visitForm:{musicGroupId:"",overview:"",purpose:"",studentId:"",type:"",visitTime:"",visitType:"",feedback:"",studentName:""},visitChiose:j["F"],visitRules:{overview:[{required:!0,message:"请输入学生近况"}],feedback:[{required:!0,message:"请输入家长反馈"}],visitTime:[{required:!0,message:"请输入回访时间"}],visitType:[{required:!0,message:"请选择回访类型"}]},isPay:!1,applyDates:this.applyDate(),detail:null,gradeList:[],ischeckCanReg:!1}},created:function(){},mounted:function(){this.init()},activated:function(){this.init()},methods:{permission:function(e){return Object(R["a"])(e)},init:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.status=this.$route.query.team_status,this.id=this.$route.query.id,this.teamName=this.$route.query.name,this.pickerOptions=this.beginDate(new Date),e.prev=4,e.next=7,Object(l["o"])({musicGroupId:this.id});case 7:return e.next=9,e.sent.data;case 9:this.ischeckCanReg=e.sent,console.log(this.ischeckCanReg),e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](4),console.log(e.t0);case 16:Object(l["ob"])({musicGroupId:this.id}).then((function(e){var s=e.data;if(200==e.code&&s)for(var n in s)t.gradeList.push({value:n,label:s[n]})})),Object(l["Lb"])({musicGroupId:this.id}).then((function(e){200==e.code&&(t.organId=e.data.musicGroup.organId,t.applyExpireDate=e.data.musicGroup.applyExpireDate,t.paymentExpireDate=e.data.musicGroup.paymentExpireDate)})),Object(l["J"])({musicGroupId:this.id}).then((function(e){200==e.code&&(t.soundList=e.data)})),this.getList();case 20:case"end":return e.stop()}}),e,this,[[4,13]])})));function t(){return e.apply(this,arguments)}return t}(),search:function(){this.rules.page=1,this.getList()},onReset:function(){this.rules.page=1,this.rules.limit=10,this.searchFrom={name:null,subject:null,isAllowAdjust:null,currentGrade:null,paymentStatus:null,visited:null},this.getList()},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push({path:"/teamList"})},payStart:function(){var e=this;this.paymentStatus=!0,Object(l["Lb"])({musicGroupId:this.id}).then((function(t){200==t.code&&(e.applyExpireDate=t.data.musicGroup.applyExpireDate,e.paymentExpireDate=t.data.musicGroup.paymentExpireDate)}))},getList:function(){var e=this,t={musicGroupId:this.id,actualSubjectId:this.searchFrom.subject||null,isAllowAdjust:this.searchFrom.isAllowAdjust||null,name:this.searchFrom.name||null,currentGrade:this.searchFrom.currentGrade||null,paymentStatus:this.searchFrom.paymentStatus||null,visited:this.searchFrom.visited||null,page:this.rules.page,rows:this.rules.limit};return Object(l["Tb"])({musicGroupId:this.id}).then((function(t){200==t.code&&(e.leftList=t.data)})),Object(l["Bb"])(t).then((function(t){if(200==t.code)return t.data.rows.forEach((function(t){2==t.paymentStatus&&(e.paymentNum+=1)})),e.rightList=t.data.rows,e.rules.total=t.data.total,t}))},onStartPayment:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Object(l["Yb"])({musicGroupId:t.id,expireDate:t.paymentForm.paymentExpireDate}).then((function(e){200==e.code&&(t.$message.success("开启成功"),t.paymentStatus=!1,t.$store.dispatch("delVisitedViews",t.$route),t.$router.push({path:"/teamList"}),t.status="PAY",t.paymentExpireDate=t.paymentForm.paymentExpireDate,t.getList())}))}))},onSelectAll:function(){this.$refs.multipleTable.toggleAllSelection()},onPartPayment:function(){var e=this,t=this.multipleSelection;if(t.length<=0)return this.$message.error("您还没有选择学生"),!1;var s=[];t.forEach((function(e){s.push(e.id)})),this.$confirm("是否确认开启缴费?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["ac"])({ids:s.join(",")}).then((function(t){200==t.code?(e.$message.success("开启成功"),e.getList()):e.$message.error(t.msg)}))})).catch((function(){}))},onCreateQRCode:function(e){var t=this.id;if(this.codeStatus=!0,"payment"==e)this.codeTitle="学员报名链接",this.qrCodeUrl=Object(w["d"])()+"/#/login?musicGroupId="+t;else if("detail"==e){var s=this.$route.query.name;this.codeTitle="报名缴费详情",this.qrCodeUrl=Object(w["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s}else"rePayment"==e&&(this.codeTitle="学生报名链接(无乐器)",this.qrCodeUrl=Object(w["d"])()+"/#/login?musicGroupId="+t+"&instrument=1")},onCreateQRCode2:function(){var e=this;this.qrcodeStatus2=!0;var t=this.id,s=this.$route.query.name;setTimeout((function(){document.getElementById("qrcode2").innerHTML="",e.qrcode2=new k.a("qrcode2",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:k.a.CorrectLevel.H}),e.qrcode2.makeCode(Object(w["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s),e.codeUrl2=Object(w["e"])()+"/#/order?musicGroupId="+t+"&musicGroupName="+s}),500)},onDownLoadExecl:function(){var e=this,t="/api-web/studentRegistration/queryStudentApplyDetailExport",s={musicGroupId:this.$route.query.id,page:1,rows:9999},n={method:"POST",headers:{Authorization:Object(S["a"])()},data:O.a.stringify(s),url:t,responseType:"blob"};this.$confirm("您确定导出吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){I["a"].startLoading(),P()(n).then((function(t){var s=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),n=new Response(s).text();n.then((function(t){if(-1!=t.indexOf("code")){var n=JSON.parse(t);e.$message.error(n.msg)}else{var i=URL.createObjectURL(s),r=document.createElement("a"),a=new Date,o=a.getFullYear()+""+(a.getMonth()+1)+a.getDate()+a.getHours()+a.getMinutes(),u=e.$route.query.id+"-"+o+".xls";r.href=i,r.setAttribute("download",u),document.body.appendChild(r),r.click()}})),I["a"].endLoading()})).catch((function(t){e.$message.error("导出数据失败,请联系管理员"),I["a"].endLoading()}))})).catch((function(){}))},onGoHome:function(){var e=this;this.paymentNum<=0?this.$message.error("当前缴费人数为0,无法开团"):this.$confirm("是否确认开团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["Xb"])({musicGroupId:e.$route.query.id}).then((function(t){200==t.code&&e.onCancel()}))})).catch((function(){}))},onClose:function(){var e=this;this.$confirm("您确定停止乐团吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["n"])({musicGroupId:e.$route.query.id}).then((function(t){200==t.code&&(e.$message.success("停止成功"),e.$store.dispatch("delVisitedViews",e.$route),e.$router.push({path:"/teamList"}))}))})).catch((function(){}))},handleSelectionChange:function(e){this.multipleSelection=e},resetSubject:function(e){console.log(e),this.activeId=e.studentId,this.maskForm.subject=e.actualSubjectId,this.subjectVisible=!0},okReset:function(){var e=this;this.maskForm.subject?Object(_["s"])({musicGroupId:this.id,userId:this.activeId,subId:this.maskForm.subject}).then((function(t){200==t.code&&(e.$message.success("修改成功"),e.subjectVisible=!1,e.maskForm.subject="",Object(l["Tb"])({musicGroupId:e.id}).then((function(t){200==t.code&&(e.leftList=t.data)})),e.getList())})):this.$message.error("请选择调剂专业")},onExtendPayment:function(e,t){var s=this;this.$refs[e].validate((function(e){e&&(t?Object(l["D"])({musicGroupId:s.id,expireDate:s.extendForm.expireDate}).then((function(e){200==e.code?(s.$message.success("延长缴费成功"),s.extendPaymentStatus=!1,Object(l["Lb"])({musicGroupId:s.id}).then((function(e){200==e.code&&(s.paymentExpireDate=e.data.musicGroup.paymentExpireDate)}))):s.$message.error(e.msg)})):Object(l["C"])({musicGroupId:s.id,expireDate:s.extendForm.expireDate}).then((function(e){200==e.code?(s.$message.success("延长报名成功"),s.extendPaymentStatus=!1,Object(l["Lb"])({musicGroupId:s.id}).then((function(e){200==e.code&&(s.applyExpireDate=e.data.musicGroup.applyExpireDate)}))):s.$message.error(e.msg)})))}))},lookdetail:function(e){var t=this;this.orderVisible=!0,this.activeId=e.studentId,this.orderForm.name=e.studentName,this.orderForm.subject=e.subjectName,Object(_["j"])({musicGroupId:this.id,studentId:e.studentId}).then((function(e){if(200==e.code&&e.data){t.orderForm.totalAmount=e.data.totalAmount;var s="",n=0,i="",r=0;for(var a in e.data.goods)"INSTRUMENT"==e.data.goods[a].goodsType?(s+=e.data.goods[a].goodsName+",",n+=parseFloat(e.data.goods[a].musicalFee)):"ACCESSORIES"==e.data.goods[a].goodsType?(i+=e.data.goods[a].goodsName+",",r+=parseFloat(e.data.goods[a].musicalFee)):"COURSE"==e.data.goods[a].goodsType&&(t.orderForm.subjectFee=e.data.goods[a].musicalFee);t.orderForm.others=i.substring(0,i.length-1),t.orderForm.othersPrice=r,t.orderForm.axe=s.substring(0,s.length-1),t.orderForm.axePrice=n}}))},saveIsEdit:function(){this.isEdit=!1,Object(l["sc"])(this.leftList).then((function(e){}))},quitTeam:function(e){this.activeRow=e,this.quitVisible=!0,this.quitForm.cloudTeacherAmount=e.cloudTeacherAmount},quieTeams:function(e){var t=this;this.$prompt("请输入退团原因","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPattern:/\S/,inputErrorMessage:"请输入退团原因",type:"warning"}).then((function(s){Object(l["b"])({musicGroupId:t.id,userId:e.studentId,reason:s.value,isRefundCourseFee:!1,isRefundInstrumentFee:!1,isRefundTeachingAssistantsFee:!1}).then((function(e){t.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},200==e.code&&(t.$message.success("退团成功"),t.getList(),t.quitVisible=!1)}))})).catch((function(){}))},chioseType:function(){var e=this;this.$refs["quitForm"].validate((function(t){t&&e.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e.activeRow,s={musicGroupId:e.id,userId:t.studentId,reason:e.quitForm.reason,isRefundCourseFee:e.quitForm.isRefundCourseFee,isRefundInstrumentFee:e.quitForm.isRefundInstrumentFee,isRefundTeachingAssistantsFee:e.quitForm.isRefundTeachingAssistantsFee,maintenanceFee:e.quitForm.maintenanceFee};e.quitForm.isCloudTeacherAmount?s.cloudTeacherAmount=e.quitForm.cloudTeacherAmount:s.cloudTeacherAmount=0,Object(l["b"])(s).then((function(t){e.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},200==t.code&&(e.$message.success("退团成功"),e.getList(),e.quitVisible=!1)}))})).catch((function(){}))}))},addVisit:function(e){e.userId=e.studentId,this.detail=e,this.detail.musicGroupId=this.$route.query.id,this.visitVisiable=!0},openChangeVoice:function(e){var t=this;this.getList().then((function(s){var n,i=Object(a["a"])(s.data.rows);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.id===e.id&&(t.rowDetail=Object(r["a"])(Object(r["a"])({},o),{},{userId:o.studentId}),t.changeVoiceVisible=!0)}}catch(u){i.e(u)}finally{i.f()}}))},closeChangeVoice:function(){this.changeVoiceVisible=!1},handleChange:function(e){this.visitForm.type=e[0],this.visitForm.purpose=e[1]},submitAddVisit:function(){var e=this;this.$refs.visitForm.validate((function(t){t&&(e.visitForm.visitType=null,e.visitForm.musicGroupId=e.id,Object(F["a"])(E()(e.visitForm)).then((function(t){200===t.code&&(e.$message.success("新增成功"),e.visitVisiable=!1)})))}))},beginDate:function(e){return{firstDayOfWeek:1,disabledDate:function(t){return t.getTime()>=e.getTime()}}},extendTime:function(e){this.isPay=e,this.extendForm.expireDate=e?this.paymentExpireDate:this.applyExpireDate,this.extendPaymentStatus=!0},payDate:function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()+864e5<(new Date).getTime()}}},applyDate:function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()+864e5<(new Date).getTime()}}},checkboxSelect:function(e){return 0==e.paymentStatus}},watch:{"quitForm.isMaintenanceFee":function(e){this.quitForm.maintenanceFee=e?300:0},orderVisible:function(e){e||(this.orderForm={name:"",totalAmount:"",subject:"",subjectFee:"",axe:"",axePrice:"",others:"",othersPrice:""})},qrcodeStatus:function(e){e||this.qrcode.clear()},qrcodeStatus2:function(e){e||this.qrcode2.clear()},paymentStatus:function(e){e||(this.paymentForm={paymentExpireDate:null})},quitVisible:function(e){e||(this.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},this.$refs["quitForm"].resetFields())}}},L=D,M=(s("4f9d"),Object(b["a"])(L,n,i,!1,null,"4c37ddc4",null));t["default"]=M.exports},c477:function(e,t,s){},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"},ebaf:function(e,t,s){"use strict";s("a05b")},f089:function(e,t,s){"use strict";s("054c")}}]);
|