1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d53cf59"],{"09f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,n){var i=o(),u=e-i,s=20,l=0;t="undefined"===typeof t?500:t;var c=function e(){l+=s;var o=Math.easeInOutQuad(l,i,u,t);a(o),l<t?r(e):n&&"function"===typeof n&&n()};c()}},"0f2f":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"m-container"},[n("h2",[n("div",{staticClass:"squrt"}),e._v("\n 乐团管理 "),n("filter-search",{attrs:{moreKeys:["organId"],keys:["searchType"]},on:{reload:e.reloadSearch}})],1),e._v(" "),n("div",{staticClass:"m-core"},[n("div",{staticClass:"btnList",staticStyle:{"margin-bottom":"20px"}},[e.permission("musicGroup/createGroup")?n("el-button",{attrs:{type:"primary"},on:{click:e.createNewTeam}},[e._v("新建乐团")]):e._e()],1),e._v(" "),n("save-form",{ref:"topForm",staticClass:"topForm",attrs:{inline:!0,model:e.topForm},on:{submit:e.search,reset:e.reset}},[n("el-form-item",{attrs:{prop:"teamName"}},[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.topForm.teamName,callback:function(t){e.$set(e.topForm,"teamName","string"===typeof t?t.trim():t)},expression:"topForm.teamName"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"orgin"}},[n("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.topForm.orgin,callback:function(t){e.$set(e.topForm,"orgin","string"===typeof t?t.trim():t)},expression:"topForm.orgin"}},e._l(e.organList,(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:"status"}},[n("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择乐团状态"},model:{value:e.topForm.status,callback:function(t){e.$set(e.topForm,"status","string"===typeof t?t.trim():t)},expression:"topForm.status"}},e._l(e.nowStatus,(function(e,t){return n("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),n("el-form-item",{attrs:{prop:"payType"}},[n("el-select",{attrs:{filterable:"",placeholder:"请选择收费类型",clearable:""},model:{value:e.topForm.payType,callback:function(t){e.$set(e.topForm,"payType","string"===typeof t?t.trim():t)},expression:"topForm.payType"}},e._l(e.typeList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"danger","native-type":"submit"}},[e._v("搜索")])],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary","native-type":"reset"}},[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.tableData},on:{"selection-change":e.handleSelectionChange}},[n("el-table-column",{attrs:{prop:"organName",align:"center",label:"所属分部"}}),e._v(" "),n("el-table-column",{attrs:{prop:"id",width:"100",align:"center",label:"乐团编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("copy-text",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"name",width:"200px",align:"center",label:"乐团名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",width:"200px",prop:"cooperationOrganName","max-width":"274",label:"合作单位"}}),e._v(" "),n("el-table-column",{attrs:{prop:"status",align:"center",label:"乐团状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("musicGroupType")(t.row.status))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",prop:"chargeTypeName",label:"收费类型"}}),e._v(" "),n("el-table-column",{attrs:{prop:"educationalTeacherName",align:"center",label:"乐团主管"}}),e._v(" "),n("el-table-column",{attrs:{prop:"teamTeacherName",align:"center",label:"运营主管"}}),e._v(" "),n("el-table-column",{attrs:{prop:"groupMemberNum",align:"center",label:"成团人数"}}),e._v(" "),n("el-table-column",{attrs:{prop:"payNum",align:"center",label:"在读人数"}}),e._v(" "),n("el-table-column",{attrs:{prop:"createTime",width:"100px",align:"center",label:"申请时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("formatTimer")(t.row.createTime))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",width:"100px",label:"成团时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(e._f("formatTimer")(t.row.billStartDate))+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",width:"100px",label:"清单状况"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[e._v("\n "+e._s(t.row.hasVerifyMusicalList?"已确认":"未确认")+"\n ")])]}}])}),e._v(" "),n("el-table-column",{attrs:{align:"center",width:"220px",fixed:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",["AUDIT"==t.row.status&&e.permission("musicGroup/auditSuccess")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.lookTeamDetail(t.row)}}},[e._v("审核")]):e._e(),e._v(" "),"DRAFT"==t.row.status&&e.permission("musicGroup/update")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.lookTeamDetail(t.row)}}},[e._v("编辑")]):e._e(),e._v(" "),"AUDIT_FAILED"==t.row.status&&e.permission("musicGroup/update")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.lookTeamDetail(t.row)}}},[e._v("编辑")]):e._e(),e._v(" "),"PRE_APPLY"!=t.row.status&&"PAUSE"!=t.row.status&&"PRE_BUILD_FEE"!=t.row.status&&"PROGRESS"!=t.row.status&&"CANCELED"!=t.row.status&&"APPLY"!=t.row.status&&"PAY"!=t.row.status&&"PREPARE"!=t.row.status&&"CLOSE"!=t.row.status&&"FEE_AUDIT"!=t.row.status||!e.permission("/resetTeaming")?e._e():n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.lookTeamDetail(t.row)}}},[e._v("详情")]),e._v(" "),"PROGRESS"==t.row.status&&e.permission("musicGroup/closeMusicGroup")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.closeTeamDetail(t.row)}}},[e._v("关闭")]):e._e(),e._v(" "),"DRAFT"!=t.row.status&&"AUDIT"!=t.row.status&&"FEE_AUDIT"!=t.row.status&&"APPLY"!=t.row.status&&"PAY"!=t.row.status||!e.permission("musicGroup/cancelMusicGroup")?e._e():n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.stopTeam(t.row)}}},[e._v("取消乐团")]),e._v(" "),"PREPARE"==t.row.status&&e.permission("musicGroup/action")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.startTeam(t.row)}}},[e._v("确认成团")]):e._e(),e._v(" "),"PAUSE"==t.row.status&&e.permission("musicGroup/resumeMusicGroup")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.onTeamOpeation("start",t.row)}}},[e._v("启动")]):e._e(),e._v(" "),"PROGRESS"==t.row.status&&e.permission("musicGroup/pauseMusicGroup")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.onTeamOpeation("pause",t.row)}}},[e._v("暂停")]):e._e(),e._v(" "),"CANCELED"==t.row.status&&e.permission("musicGroup/deleteMusicGroup")?n("el-button",{attrs:{type:"text"},on:{click:function(n){return e.deteleTeaming(t.row)}}},[e._v("删除")]):e._e()],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),e._v(" "),n("el-dialog",{attrs:{visible:e.showSteam,width:"500px",title:"乐团流程"},on:{"update:visible":function(t){e.showSteam=t}}},[n("teamSteam",{attrs:{activeId:e.activeId}}),e._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.showSteam=!1}}},[e._v("确 定")])],1)],1),e._v(" "),n("el-dialog",{attrs:{visible:e.closeVisible,title:"确认学员",width:"800px"},on:{"update:visible":function(t){e.closeVisible=t}}},[e.closeVisible?n("closeStudens",{attrs:{detail:e.closeDetail},on:{close:function(t){e.closeVisible=!1},submited:e.getList}}):e._e()],1)],1)])},a=[],o=(n("7f7f"),n("5530")),i=(n("386d"),n("333d")),u=n("160b"),s=n("1cc7"),l=n("92e3"),c=(n("3022"),n("ec8a")),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"process"},[n("el-timeline",{attrs:{reverse:!0}},e._l(e.processList,(function(t,r){return n("el-timeline-item",{key:r},[n("el-card",[n("div",[e._v(e._s(t.realName))]),e._v(" "),n("div",[e._v(e._s(t.createTime))]),e._v(" "),n("div",[e._v(e._s(t.event))])])],1)})),1)],1)},f=[],m=(n("5a0c"),{props:["activeId"],data:function(){return{processList:[]}},mounted:function(){this.getProcess()},methods:{getProcess:function(){var e=this;Object(s["rb"])({musicGroupId:this.activeId}).then((function(t){200==t.code&&(e.processList=t.data)}))}},watch:{activeId:function(e){e&&this.getProcess()}}}),d=m,b=(n("a286"),n("2877")),h=Object(b["a"])(d,p,f,!1,null,"f049a426",null),v=h.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-form",{ref:"form",attrs:{model:e.moneys}},[n("el-table",{staticStyle:{width:"100%"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.list}},[n("el-table-column",{attrs:{prop:"name",align:"center",label:"学员姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("copy-text",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"parentsName",align:"center",label:"家长姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("copy-text",[e._v(e._s(t.row.parentsName))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"parentsPhone",align:"center",label:"手机号码",width:"130"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("copy-text",[e._v(e._s(t.row.parentsPhone))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"classGroupName",align:"center",label:"班级"}}),e._v(" "),n("el-table-column",{attrs:{prop:"subjectName",align:"center",label:"声部"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("copy-text",[e._v(e._s(t.row.subjectName))])]}}])}),e._v(" "),n("el-table-column",{attrs:{prop:"surplusCourseFee",align:"center",label:"退费金额(元)",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{prop:""+t.row.userId,rules:[{required:!0,message:""},{validator:e.validatorMoney(t.row)}]}},[n("el-input-number",{attrs:{size:"mini",controls:!1,precision:2,step:.01,placeholder:"请输入退费金额"},model:{value:e.moneys[t.row.userId],callback:function(n){e.$set(e.moneys,t.row.userId,n)},expression:"moneys[scope.row.userId]"}})],1)]}}])})],1)],1),e._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取 消")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确认")])],1)],1)},g=[],_=n("b85c"),w=(n("96cf"),n("1da1")),T=n("3078"),E={props:["detail"],mounted:function(){this.FetchList()},data:function(){return{list:[],moneys:{}}},methods:{FetchList:function(){var e=Object(w["a"])(regeneratorRuntime.mark((function e(){var t,n,r,a,o,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(T["e"])({musicGroupId:null===(t=this.detail)||void 0===t?void 0:t.id});case 2:n=e.sent,this.list=n.data,r={},a=Object(_["a"])(n.data);try{for(a.s();!(o=a.n()).done;)i=o.value,r[i.userId]=i.surplusCourseFee}catch(u){a.e(u)}finally{a.f()}this.moneys=r;case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),submit:function(){var e=Object(w["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:try{this.$refs.form.validate(function(){var e=Object(w["a"])(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!n){e.next=10;break}return e.next=3,t.$confirm("是否确认关闭乐团","提示",{type:"warning"});case 3:return e.next=5,Object(T["c"])({musicGroupId:null===(r=t.detail)||void 0===r?void 0:r.id,userReBack:t.moneys});case 5:t.$message.success("关闭成功"),t.$emit("submited"),t.$emit("close"),e.next=11;break;case 10:t.$$message.error("请填写完成退费金额");case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}catch(n){}case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),validatorMoney:function(e){return function(t,n,r){e.surplusCourseFee<n||n<0?r(new Error("最大退费金额: ".concat(e.surplusCourseFee))):r()}}}},S=E,O=(n("ec46"),Object(b["a"])(S,y,g,!1,null,"0dcea96b",null)),I=O.exports,A={name:"teamList",data:function(){return{closeDetail:{},closeVisible:!1,topForm:{teamName:"",status:"",payType:"",word:"",orgin:""},organList:[],typeList:[],nowStatus:l["r"],searchLsit:[],tableData:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},passed:[],showSteam:!1,activeId:null}},components:{pagination:i["a"],teamSteam:v,closeStudens:I},mounted:function(){var e=this.$route.query;e.organId&&(this.topForm.orgin=e.organId),e.search&&(this.topForm.teamName=e.search),this.init()},activated:function(){this.init()},methods:{reloadSearch:function(){this.rules.page=1,this.getList()},init:function(){var e=this;localStorage.setItem("resetCode","1"),Object(s["eb"])().then((function(t){200==t.code&&(e.organList=t.data)})),Object(u["a"])().then((function(t){200==t.code&&(e.typeList=t.data.rows)})),this.getList()},permission:function(e){return Object(c["a"])(e)},reset:function(){this.rules.page=1,this.$refs["topForm"].resetFields(),this.getList()},search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this;Object(u["b"])({rows:this.rules.limit,page:this.rules.page,organId:this.topForm.orgin||null,chargeTypeId:this.topForm.payType||null,musicGroupName:this.topForm.teamName||null,musicGroupStatus:this.topForm.status||null,musicGroupId:this.$route.query.search,searchType:this.$route.query.searchType}).then((function(t){200==t.code&&(e.tableData=t.data.rows,e.rules.total=t.data.total)}))},createNewTeam:function(){localStorage.removeItem("newTeambase"),this.$router.push({path:"/resetTeaming",query:{type:"newTeam"}},(function(e){e.meta.title="新建乐团"}))},resetTeam:function(){this.passed&&this.passed.length<=0?this.$message.error("请至少选择一个乐团进行调整"):this.$router.push({path:"/business/teamDraft",query:{type:"teamList",teamList:this.passed}})},resetTeaming:function(e){var t=this;localStorage.removeItem("".concat(e.id,"base")),localStorage.removeItem("".concat(e.id,"sound")),this.$nextTick((function(n){t.$router.push({path:"/resetTeaming",query:{type:"resetTeam",id:e.id}})}))},setSearchList:function(e){if(1==e.type){var t=!1;this.searchLsit=this.searchLsit.map((function(n){return n.id==e.id&&(n=e,t=!0),n})),t||this.searchLsit.push(e)}else{var n=!1;this.searchLsit=this.searchLsit.map((function(t){return t.key==e.key&&(t=e,n=!0),t})),n||this.searchLsit.push(e)}},closeSearch:function(e){if(1==e.type){for(var t in this.searchLsit)this.searchLsit[t].id==e.id&&this.searchLsit.splice(t,1);this.topForm[e.id]=""}else{for(var n=0;n<this.topForm[e.id].length;n++)this.topForm[e.id][n]==e.value&&this.topForm[e.id].splice(n,1);for(var r in this.searchLsit)this.searchLsit[r].value==e.value&&this.searchLsit[r].id==e.id&&this.searchLsit.splice(r,1)}},closeTeamDetail:function(e){this.closeVisible=!0,this.closeDetail=Object(o["a"])({},e)},onTeamOpeation:function(e,t){var n=this;"start"==e?this.$confirm("是否确定开启乐团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["uc"])({musicGroupId:t.id}).then((function(e){200==e.code?(n.$message.success("开启成功"),n.getList()):n.$message.error(e.msg)}))})).catch((function(){})):"pause"==e&&this.$confirm("是否确定暂停乐团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["bc"])({musicGroupId:t.id}).then((function(e){200==e.code?(n.$message.success("暂停成功"),n.getList()):n.$message.error(e.msg)}))})).catch((function(){}))},gotoSearch:function(){this.$refs["topForm"].resetFields(),this.searchLsit=[]},lookTeamCourse:function(e){this.$router.push({path:"/teamListCourse",query:{id:e.id,name:e.name}})},lookTeamDetail:function(e){switch(localStorage.removeItem("".concat(e.id,"base")),localStorage.removeItem("".concat(e.id,"sound")),e.status){case"DRAFT":this.$store.dispatch("draftIndex",0),this.$router.push({path:"/resetTeaming",query:{type:"teamDraft",id:e.id,team_status:e.status}},(function(e){e.meta.title="乐团编辑中"}));break;case"AUDIT":this.$store.dispatch("draftIndex",0),this.$router.push({path:"/resetTeaming",query:{type:"teamAudit",id:e.id,clear:"true",team_status:e.status}},(function(e){e.meta.title="乐团审核中"}));break;case"PRE_BUILD_FEE":this.$router.push({path:"/resetTeaming",query:{type:"look",id:e.id,name:e.name,team_status:"PRE_BUILD_FEE",tabrouter:3}},(function(e){e.meta.title="创建缴费中"}));break;case"FEE_AUDIT":this.$store.dispatch("draftIndex",0),this.$router.push({path:"/resetTeaming",query:{type:"feeAudit",id:e.id,clear:"true",team_status:e.status}},(function(e){e.meta.title="乐团费用审核中"}));break;case"AUDIT_FAILED":this.$store.dispatch("draftIndex",0),this.$router.push({path:"/resetTeaming",query:{type:"teamDraft",id:e.id,clear:"true",team_status:e.status}},(function(e){e.meta.title="乐团审核失败"}));break;case"PRE_APPLY":this.$router.push({path:"/resetTeaming",query:{type:"look",id:e.id,name:e.name,team_status:"PRE_APPLY",tabrouter:9}},(function(e){e.meta.title="乐团预报名"}));break;case"APPLY":this.$router.push({path:"/resetTeaming",query:{status:e.status,id:e.id,name:e.name,team_status:"APPLY",type:"look",tabrouter:11}},(function(e){e.meta.title="乐团报名中"}));break;case"PAY":this.$router.push({path:"/resetTeaming",query:{status:e.status,id:e.id,name:e.name,team_status:"PAY",type:"look",tabrouter:11}},(function(e){e.meta.title="乐团缴费中"}));break;case"PREPARE":this.$router.push({path:"/resetTeaming",query:{type:"look",status:e.status,id:e.id,name:e.name,team_status:e.status,tabrouter:10}},(function(e){e.meta.title="乐团筹备中"}));break;case"PROGRESS":this.$router.push({path:"/resetTeaming",query:{status:e.status,id:e.id,name:e.name,organId:e.organId,type:"resetTeam",team_status:e.status}},(function(e){e.meta.title="乐团进行中"}));break;case"CANCELED":this.$router.push({path:"/resetTeaming",query:{type:"teamCanceled",id:e.id,team_status:e.status}},(function(e){e.meta.title="取消乐团"}));break;case"PAUSE":this.$router.push({path:"/resetTeaming",query:{type:"resetTeam",id:e.id,team_status:e.status}},(function(e){e.meta.title="乐团暂停"}));break;case"CLOSE":this.$router.push({path:"/resetTeaming",query:{status:e.status,id:e.id,name:e.name,team_status:"CLOSE",type:"look"}},(function(e){e.meta.title="乐团关闭"}))}},checkSelectable:function(e){return"PROGRESS"==e.status},handleSelectionChange:function(e){for(var t in this.passed=[],e){var n={};n.id=e[t].id,n.name=e[t].name,this.passed.push(n)}},gotodetailList:function(e){this.$router.push({path:"/teamListedList",query:{id:e.id}})},lookTeamInfo:function(e){localStorage.removeItem("".concat(e.id,"base")),localStorage.removeItem("".concat(e.id,"sound")),this.$router.push({path:"/business/teamLookBase",query:{type:"look",id:e.id,name:e.name,team_status:e.status}})},gotoImprovement:function(e){JSON.stringify(this.topForm),JSON.stringify(this.rules);this.$router.push({path:"/business/setImprovement",query:{id:e.id}})},stopTeam:function(e){var t=this;this.$confirm("您确定取消申请乐团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["n"])({musicGroupId:e.id}).then((function(e){200==e.code&&(t.$message.success("停止成功"),t.getList())}))})).catch((function(){}))},startTeam:function(e){var t=this;this.$confirm("是否确定成团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["Bc"])({musicGroupId:e.id}).then((function(e){200==e.code&&(t.$message.success("开启乐团成功"),t.getList())}))})).catch((function(){}))},deteleTeaming:function(e){var t=this;this.$confirm("您确定删除该乐团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["A"])({musicGroupId:e.id}).then((function(e){200==e.code&&(t.$message.success("删除成功"),t.getList())}))})).catch((function(){}))},lookSteam:function(e){this.activeId=e.id,this.showSteam=!0},gotoSigin:function(e){this.$router.push({path:"/business/remedy",query:{status:e.status,id:e.id,name:e.name}},(function(e){e.meta.title="报名详情"}))}},watch:{showSteam:function(e){e||(this.activeId=null)}}},L=A,R=(n("60b1"),Object(b["a"])(L,r,a,!1,null,"1cadb61a",null));t["default"]=R.exports},"160b":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return u}));var r=n("b775"),a=n("829b"),o="/api-web";function i(e){return Object(a["a"])({url:o+"/musicGroup/queryPage",method:"post",data:e,requestType:"form"})}function u(e){return Object(r["a"])({url:o+"/chargeType/queryPage",method:"get",params:e})}},"28a0":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},3022:function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},a=/%[sdj%]/g;t.format=function(e){if(!T(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,i=String(e).replace(a,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),s=r[n];n<o;s=r[++n])g(s)||!I(s)?i+=" "+s:i+=" "+u(s);return i},t.deprecate=function(n,r){if("undefined"!==typeof e&&!0===e.noDeprecation)return n;if("undefined"===typeof e)return function(){return t.deprecate(n,r).apply(this,arguments)};var a=!1;function o(){if(!a){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),a=!0}return n.apply(this,arguments)}return o};var o,i={};function u(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&t._extend(r,n),S(r.showHidden)&&(r.showHidden=!1),S(r.depth)&&(r.depth=2),S(r.colors)&&(r.colors=!1),S(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),p(r,e,r.depth)}function s(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function l(e,t){return e}function c(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function p(e,n,r){if(e.customInspect&&n&&R(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var a=n.inspect(r,e);return T(a)||(a=p(e,a,r)),a}var o=f(e,n);if(o)return o;var i=Object.keys(n),u=c(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(n)),L(n)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return m(n);if(0===i.length){if(R(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(O(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(A(n))return e.stylize(Date.prototype.toString.call(n),"date");if(L(n))return m(n)}var l,y="",g=!1,_=["{","}"];if(v(n)&&(g=!0,_=["[","]"]),R(n)){var w=n.name?": "+n.name:"";y=" [Function"+w+"]"}return O(n)&&(y=" "+RegExp.prototype.toString.call(n)),A(n)&&(y=" "+Date.prototype.toUTCString.call(n)),L(n)&&(y=" "+m(n)),0!==i.length||g&&0!=n.length?r<0?O(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=g?d(e,n,r,u,i):i.map((function(t){return b(e,n,r,u,t,g)})),e.seen.pop(),h(l,y,_)):_[0]+y+_[1]}function f(e,t){if(S(t))return e.stylize("undefined","undefined");if(T(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return w(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,a){for(var o=[],i=0,u=t.length;i<u;++i)j(t,String(i))?o.push(b(e,t,n,r,String(i),!0)):o.push("");return a.forEach((function(a){a.match(/^\d+$/)||o.push(b(e,t,n,r,a,!0))})),o}function b(e,t,n,r,a,o){var i,u,s;if(s=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]},s.get?u=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(u=e.stylize("[Setter]","special")),j(r,a)||(i="["+a+"]"),u||(e.seen.indexOf(s.value)<0?(u=g(n)?p(e,s.value,null):p(e,s.value,n-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+u.split("\n").map((function(e){return" "+e})).join("\n"))):u=e.stylize("[Circular]","special")),S(i)){if(o&&a.match(/^\d+$/))return u;i=JSON.stringify(""+a),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+u}function h(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function v(e){return Array.isArray(e)}function y(e){return"boolean"===typeof e}function g(e){return null===e}function _(e){return null==e}function w(e){return"number"===typeof e}function T(e){return"string"===typeof e}function E(e){return"symbol"===typeof e}function S(e){return void 0===e}function O(e){return I(e)&&"[object RegExp]"===N(e)}function I(e){return"object"===typeof e&&null!==e}function A(e){return I(e)&&"[object Date]"===N(e)}function L(e){return I(e)&&("[object Error]"===N(e)||e instanceof Error)}function R(e){return"function"===typeof e}function k(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function N(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(S(o)&&(o=Object({NODE_ENV:"production",VUE_APP_BASE_API:"api",BASE_URL:""}).NODE_DEBUG||""),n=n.toUpperCase(),!i[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;i[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else i[n]=function(){};return i[n]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=v,t.isBoolean=y,t.isNull=g,t.isNullOrUndefined=_,t.isNumber=w,t.isString=T,t.isSymbol=E,t.isUndefined=S,t.isRegExp=O,t.isObject=I,t.isDate=A,t.isError=L,t.isFunction=R,t.isPrimitive=k,t.isBuffer=n("d60a");var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),x[e.getMonth()],t].join(" ")}function j(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",C(),t.format.apply(t,arguments))},t.inherits=n("28a0"),t._extend=function(e,t){if(!t||!I(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e};var G="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function F(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function $(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var a=n.pop();if("function"!==typeof a)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return a.apply(o,arguments)};t.apply(this,n).then((function(t){e.nextTick(i,null,t)}),(function(t){e.nextTick(F,t,i)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(G&&e[G]){var t=e[G];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,G,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),a=[],o=0;o<arguments.length;o++)a.push(arguments[o]);a.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,a)}catch(i){n(i)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),G&&Object.defineProperty(t,G,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=G,t.callbackify=$}).call(this,n("4362"))},3078:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return p}));var r=n("829b"),a=function(e){return Object(r["a"])({url:"/api-web/studentRegistration/getMusicGroupStuReBack",params:e,method:"get"})},o=function(e){return Object(r["a"])({url:"/api-web/musicGroup/addMusicGroupRegs",data:e,method:"post",requestType:"json"})},i=function(e){return Object(r["a"])({url:"/api-web/studentRegistration/batchDel",data:e,method:"post",requestType:"json"})},u=function(e){return Object(r["a"])({url:"/api-web/musicGroup/closeMusicGroup",data:e,method:"post",requestType:"json"})},s=function(e){return Object(r["a"])({url:"/api-web/musicGroup/finishPreApply",data:e,method:"post",requestType:"form"})},l=function(e){return Object(r["a"])({url:"/api-web/studentRegistration/queryPreApplyList",params:e,method:"get",requestType:"json"})},c=function(e){return Object(r["a"])({url:"/api-web/studentRegistration/queryPreApplySubjectList",params:e,method:"get",requestType:"json"})},p=function(e){return Object(r["a"])({url:"/api-web/musicGroup/sendParentMeetingNotice",data:e,method:"post",requestType:"form"})}},"5b95":function(e,t,n){},"60b1":function(e,t,n){"use strict";n("5b95")},"6f6e":function(e,t,n){},"92e3":function(e,t,n){"use strict";n.d(t,"k",(function(){return i})),n.d(t,"q",(function(){return u})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"o",(function(){return c})),n.d(t,"C",(function(){return p})),n.d(t,"B",(function(){return f})),n.d(t,"d",(function(){return m})),n.d(t,"u",(function(){return d})),n.d(t,"l",(function(){return b})),n.d(t,"E",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"D",(function(){return y})),n.d(t,"x",(function(){return g})),n.d(t,"F",(function(){return _})),n.d(t,"G",(function(){return w})),n.d(t,"w",(function(){return T})),n.d(t,"z",(function(){return E})),n.d(t,"n",(function(){return S})),n.d(t,"g",(function(){return O})),n.d(t,"A",(function(){return I})),n.d(t,"r",(function(){return A})),n.d(t,"h",(function(){return L})),n.d(t,"v",(function(){return R})),n.d(t,"f",(function(){return k})),n.d(t,"e",(function(){return N})),n.d(t,"t",(function(){return P})),n.d(t,"s",(function(){return x})),n.d(t,"y",(function(){return C})),n.d(t,"p",(function(){return j})),n.d(t,"a",(function(){return G})),n.d(t,"m",(function(){return F})),n.d(t,"b",(function(){return D}));var r=n("b85c"),a=n("3835"),o=n("267e"),i=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"}],u=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],s=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"}],l=[{label:"正常签到",value:1},{label:"异常签到",value:0}],c=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"临时工",value:"TEMPORARY"}],p=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],f=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],m=[].concat(f,[{value:"QUIT_SCHOOL",label:"退学"}]),d=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"双十一活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"}],b=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],h=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}],v=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],y=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],g=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],_=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及作业回访",label:"课后及作业回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],w=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及作业回访",label:"课后及作业回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],T=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"}],E=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],S=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"}],O=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],I=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],A=$(o["musicGroupType"]),L=$(o["classTime"]),R=$(o["payOrderType"]),k=$(o["auditType"]),N=$(o["auditPaymentType"]),P=$(o["orderServerType"]),x=$(o["orderAuditType"]),C=$(o["rewardModeType"]),j=$(o["musicClassType"]),G=$(o["ProbationPeriodStatus"]),F=$(o["downListType"]);function $(e){var t=[];for(var n in e)t.push({label:e[n],value:n});return t}var D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],n=Object(a["a"])(t,2),o=n[0],i=n[1],u={};if(e&&e.length){var s,l=Object(r["a"])(e);try{for(l.s();!(s=l.n()).done;){var c=s.value;u[c[o]]=c[i]}}catch(p){l.e(p)}finally{l.f()}}return u}},a10c:function(e,t,n){},a286:function(e,t,n){"use strict";n("a10c")},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},ec46:function(e,t,n){"use strict";n("6f6e")}}]);
|