| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e362768"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function s(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function a(e,t,n){var a=r(),o=e-a,u=20,l=0;t="undefined"===typeof t?500:t;var c=function e(){l+=u;var r=Math.easeInOutQuad(l,a,o,t);s(r),l<t?i(e):n&&"function"===typeof n&&n()};c()}},"475f":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-form",{ref:"quitForm",attrs:{model:e.quitForm,"label-width":"150px",rules:e.quitRules}},[e.activeRow.cloudTeacherAmount>0?n("el-form-item",{attrs:{label:"退还云教练费用",prop:"isCloudTeacherAmount"}},[n("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(" "),n("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?n("el-form-item",{attrs:{label:"退还云教练金额",prop:"cloudTeacherAmount"}},[n("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"}},[n("template",{slot:"append"},[e._v("元")])],2)],1):e._e(),e._v(" "),n("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[n("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(" "),n("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(" "),n("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[n("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(" "),n("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(" "),n("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[n("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(" "),n("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?n("el-form-item",{attrs:{label:"退还乐保费用",prop:"isMaintenanceFee"}},[n("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(" "),n("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?n("el-form-item",{attrs:{label:"退还乐保金额",prop:"maintenanceFee"}},[n("el-input",{staticStyle:{width:"180px"},attrs:{type:"number"},model:{value:e.quitForm.maintenanceFee,callback:function(t){e.$set(e.quitForm,"maintenanceFee",t)},expression:"quitForm.maintenanceFee"}},[n("template",{slot:"append"},[e._v("元")])],2)],1):e._e(),e._v(" "),n("el-form-item",{attrs:{label:"退团原因",prop:"reason"}},[n("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)],1)},s=[],r={props:["quitForm","activeRow"],data:function(){return{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:"请填写退团退费原因"}]}}}},a=r,o=n("2877"),u=Object(o["a"])(a,i,s,!1,null,"5db26d2e",null);t["a"]=u.exports},f636:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-container"},[e._m(0),e._v(" "),n("div",{staticClass:"m-core"},[n("save-form",{attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[n("el-form-item",[n("el-input",{attrs:{clearable:"",placeholder:"乐团名称、编号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),n("el-form-item",[n("el-input",{attrs:{placeholder:"学员姓名、编号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"organId"}},[n("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"isActive"}},[n("el-select",{staticClass:"multiple",attrs:{clearable:"",placeholder:"会员是否过期"},model:{value:e.searchForm.isActive,callback:function(t){e.$set(e.searchForm,"isActive","string"===typeof t?t.trim():t)},expression:"searchForm.isActive"}},[n("el-option",{attrs:{label:"是",value:"true"}}),e._v(" "),n("el-option",{attrs:{label:"否",value:"false"}})],1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"isActive"}},[n("el-select",{staticClass:"multiple",attrs:{clearable:"",placeholder:"会员是否即将过期"},model:{value:e.searchForm.isActive,callback:function(t){e.$set(e.searchForm,"isActive","string"===typeof t?t.trim():t)},expression:"searchForm.isActive"}},[n("el-option",{attrs:{label:"是",value:"true"}}),e._v(" "),n("el-option",{attrs:{label:"否",value:"false"}})],1)],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),n("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")])],1)],1),e._v(" "),n("div",{staticClass:"tableWrap"},[n("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学员编号"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学员姓名"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"所属分部"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"所属乐团"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"会员是否过期"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"会员有效期剩余天数"}}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"studentId",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[n("auth",{attrs:{auths:"musicGroupQuit/directQuitMusicGroup4463"}},[n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.quitTeam(t.row)}}},[e._v("退团退费")])],1),e._v(" "),n("auth",{attrs:{auths:"musicGroupQuit/directQuitMusicGroup4462"}},[n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.quieTeams(t.row)}}},[e._v("退团")])],1)],1)]}}])})],1),e._v(" "),n("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)],1),e._v(" "),n("el-dialog",{attrs:{title:"退团信息确认",width:"640px",visible:e.quitVisible},on:{"update:visible":function(t){e.quitVisible=t}}},[n("quiteTeam",{ref:"quitForm",attrs:{quitForm:e.quitForm,activeRow:e.activeRow}}),e._v(" "),n("span",{staticClass:"dialog-footer question",attrs:{slot:"footer"},slot:"footer"},[n("div",[n("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[n("div",{staticClass:"popoverWrap"},[n("p",[e._v("乐团退团退费规则:")]),e._v(" "),n("p",[e._v("退还乐器练习云教练费用:报名缴费时缴费的乐器练习云教练费用")]),e._v(" "),n("p",[e._v("退还课程费用:缴费总额-已结束课时单价之和")]),e._v(" "),n("p",[e._v("退还乐器费用:报名缴费时缴纳的乐器费用(团购、租金)")]),e._v(" "),n("p",[e._v("退还教辅费用:报名缴费时缴费的教辅费用")]),e._v(" "),n("p",[e._v("退还乐保费用:报名缴费时缴费的乐保费用")])]),e._v(" "),n("el-button",{staticStyle:{color:"red"},attrs:{slot:"reference",type:"text",icon:"el-icon-question"},slot:"reference"},[e._v("退团退费说明")])],1)],1),e._v(" "),n("div",[n("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.chioseType}},[e._v("确 定")])],1)])],1)],1)},s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h2",[n("div",{staticClass:"squrt"}),e._v("\n 乐团会员列表\n ")])}],r=(n("bc3a"),n("5f87"),n("333d")),a=n("475f"),o=n("1cc7"),u=(n("3908"),{components:{pagination:r["a"],quiteTeam:a["a"]},data:function(){return{searchForm:{search:null},tableList:[{}],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},quitForm:{isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,isMaintenanceFee:null,cloudTeacherAmount:null,isCloudTeacherAmount:null,maintenanceFee:0,reason:""},quitVisible:!1,activeRow:null}},created:function(){},mounted:function(){this.$store.dispatch("setBranchs"),this.init()},methods:{init:function(){},getList:function(){},search:function(){this.rules.page=1,this.getList()},onReSet:function(){},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(n){Object(o["b"])({musicGroupId:t.id,userId:e.studentId,reason:n.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"].$refs["quitForm"].validate((function(t){t&&e.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e.activeRow,n={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?n.cloudTeacherAmount=e.quitForm.cloudTeacherAmount:n.cloudTeacherAmount=0,Object(o["b"])(n).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(){}))}))}}}),l=u,c=n("2877"),m=Object(c["a"])(l,i,s,!1,null,"e197dd7a",null);t["default"]=m.exports}}]);
|