chunk-2f41fb5e.3fb30bb2.js 83 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f41fb5e"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",function(){return i}),Math.easeInOutQuad=function(e,t,a,s){return e/=s/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var s=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=n(),o=e-i,l=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=l;var n=Math.easeInOutQuad(u,i,o,t);r(n),u<t?s(e):a&&"function"===typeof a&&a()};c()}},"190f":function(e,t,a){},"333d":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[a("el-pagination",e._b({attrs:{"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},r=[],n=(a("c5f6"),a("09f4")),i={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total,sizes,prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(n["a"])(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(n["a"])(0,800)}}},o=i,l=(a("c0b9"),a("2877")),u=Object(l["a"])(o,s,r,!1,null,"31cb099a",null);t["a"]=u.exports},5137:function(e,t,a){"use strict";a.d(t,"o",function(){return o}),a.d(t,"g",function(){return l}),a.d(t,"d",function(){return u}),a.d(t,"f",function(){return c}),a.d(t,"e",function(){return d}),a.d(t,"h",function(){return m}),a.d(t,"c",function(){return p}),a.d(t,"u",function(){return f}),a.d(t,"p",function(){return h}),a.d(t,"t",function(){return b}),a.d(t,"n",function(){return v}),a.d(t,"s",function(){return g}),a.d(t,"k",function(){return y}),a.d(t,"m",function(){return k}),a.d(t,"a",function(){return F}),a.d(t,"i",function(){return _}),a.d(t,"b",function(){return S}),a.d(t,"r",function(){return C}),a.d(t,"j",function(){return T}),a.d(t,"v",function(){return x}),a.d(t,"l",function(){return O}),a.d(t,"q",function(){return L}),a.d(t,"w",function(){return I});var s=a("b775"),r=a("4328"),n=a.n(r),i="/api-web";function o(e){return Object(s["a"])({url:i+"/studentManage/queryStudentList",method:"get",params:e})}function l(e){return Object(s["a"])({url:i+"/studentManage/findStudentVipGroupClass",method:"get",params:e})}function u(e){return Object(s["a"])({url:i+"/studentManage/findStudentBaseInfo",method:"get",params:e})}function c(e){return Object(s["a"])({url:i+"/studentManage/findStudentMusicGroups",method:"get",params:e})}function d(e){return Object(s["a"])({url:i+"/studentManage/findStudentCourses",method:"get",params:e})}function m(e){return Object(s["a"])({url:i+"/studentManage/findStudentVipGroups",method:"get",params:e})}function p(e){return Object(s["a"])({url:i+"/studentManage/findStudentAttendances",method:"get",params:e})}function f(e){return Object(s["a"])({url:i+"/studentWithdraw/queryPage",method:"get",params:e})}function h(e){return Object(s["a"])({url:i+"/studentManage/queryStudentPayment",method:"get",params:e})}function b(e){return Object(s["a"])({url:i+"/order/queryPage",method:"get",params:e})}function v(e){return Object(s["a"])({url:i+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:e})}function g(e){return Object(s["a"])({url:i+"/studentRegistration/batchUpdateSubject",method:"post",data:n.a.stringify(e)})}function y(e){return Object(s["a"])({url:i+"/studentRegistration/queryFeeDetail",method:"get",params:e})}function k(e){return Object(s["a"])({url:i+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:e})}function F(e){return Object(s["a"])({url:i+"/studentRegistration/insertStudent",method:"POST",data:e})}function _(e){return Object(s["a"])({url:i+"/classGroupStudent/findAllStudent",method:"POST",data:n.a.stringify(e)})}function S(e){return Object(s["a"])({url:i+"/classGroupStudent/addStudents",method:"POST",data:n.a.stringify(e)})}function C(e){return Object(s["a"])({url:i+"/classGroupStudent/del",method:"POST",data:n.a.stringify(e)})}function T(e){return Object(s["a"])({url:i+"/studentManage/queryStudentClassGroup",method:"get",params:e})}function x(e){return Object(s["a"])({url:i+"/userCashAccount/updateCourseBalance",method:"post",data:n.a.stringify(e)})}function O(e){return Object(s["a"])({url:i+"/studentManage/queryUserByPhone",method:"get",params:e})}function L(e){return Object(s["a"])({url:i+"/studentManage/register",method:"post",data:n.a.stringify(e)})}function I(e){return Object(s["a"])({url:i+"/studentManage/studentUpdate",method:"post",data:n.a.stringify(e)})}},"5dbf":function(e,t,a){"use strict";var s=a("190f"),r=a.n(s);r.a},6814:function(e,t,a){"use strict";var s=a("b2df"),r=a.n(s);r.a},"6d38":function(e,t,a){"use strict";var s=a("c23f"),r=a.n(s);r.a},7558:function(e,t,a){"use strict";var s=a("cfc6"),r=a.n(s);r.a},"7a7c":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACaZJREFUeAHtXGtsVMcVnnPv7joEY9LgtQlNHUCNkhbSJrgv1CjkQSq1UqiUBKtSklaJmgLGa+pgUwlVKlWrUtkLFK/tgPIjKqItcU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(t,"L",function(){return o}),a.d(t,"k",function(){return l}),a.d(t,"p",function(){return u}),a.d(t,"c",function(){return c}),a.d(t,"G",function(){return d}),a.d(t,"C",function(){return m}),a.d(t,"a",function(){return p}),a.d(t,"D",function(){return f}),a.d(t,"A",function(){return h}),a.d(t,"j",function(){return b}),a.d(t,"J",function(){return v}),a.d(t,"K",function(){return g}),a.d(t,"b",function(){return y}),a.d(t,"E",function(){return k}),a.d(t,"B",function(){return F}),a.d(t,"x",function(){return _}),a.d(t,"v",function(){return S}),a.d(t,"n",function(){return C}),a.d(t,"y",function(){return T}),a.d(t,"o",function(){return x}),a.d(t,"w",function(){return O}),a.d(t,"t",function(){return L}),a.d(t,"F",function(){return I}),a.d(t,"u",function(){return j}),a.d(t,"i",function(){return w}),a.d(t,"h",function(){return M}),a.d(t,"H",function(){return A}),a.d(t,"m",function(){return G}),a.d(t,"g",function(){return N}),a.d(t,"I",function(){return q}),a.d(t,"e",function(){return P}),a.d(t,"s",function(){return R}),a.d(t,"q",function(){return E}),a.d(t,"d",function(){return V}),a.d(t,"f",function(){return D}),a.d(t,"M",function(){return $}),a.d(t,"r",function(){return B}),a.d(t,"z",function(){return K}),a.d(t,"l",function(){return U});var s=a("b775"),r=a("4328"),n=a.n(r),i="/api-web";function o(e){return Object(s["a"])({url:i+"/vipGroupCategory/queryAll",method:"get",params:e})}function l(e){return Object(s["a"])({url:i+"/vipGroupCategory/findTeacherDefaultSalary",method:"post",data:n.a.stringify(e)})}function u(e){return Object(s["a"])({url:i+"/vipGroupDefaultClassesCycle/queryAll",method:"get",params:e})}function c(e){return Object(s["a"])({url:i+"/vipGroupCategory/add",method:"post",data:n.a.stringify(e)})}function d(e){return Object(s["a"])({url:i+"/vipGroupCategory/update",method:"post",data:n.a.stringify(e)})}function m(e){return Object(s["a"])({url:i+"/vipGroupCategory/delete",method:"post",data:n.a.stringify(e)})}function p(e){return Object(s["a"])({url:i+"/vipGroupDefaultClassesCycle/add",method:"post",data:n.a.stringify(e)})}function f(e){return Object(s["a"])({url:i+"/vipGroupDefaultClassesCycle/update",method:"post",data:n.a.stringify(e)})}function h(e){return Object(s["a"])({url:i+"/vipGroupDefaultClassesCycle/delete",method:"post",data:n.a.stringify(e)})}function b(e){return Object(s["a"])({url:i+"/vipGroupDefaultClassesUnitPrice/add",method:"post",data:n.a.stringify(e)})}function v(e){return Object(s["a"])({url:i+"/vipGroupActivity/queryPage",method:"get",params:e})}function g(e){return Object(s["a"])({url:i+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:e})}function y(e){return Object(s["a"])({url:i+"/vipGroupActivity/addVipGroupActivity",method:"POST",data:e})}function k(e){return Object(s["a"])({url:i+"/vipGroupActivity/update",method:"POST",data:e})}function F(e){return Object(s["a"])({url:i+"/vipGroupActivity/delete",method:"POST",data:n.a.stringify(e)})}function _(e){return Object(s["a"])({url:i+"/vipGroupManage/queryAll",method:"GET",params:e})}function S(e){return Object(s["a"])({url:i+"/vipGroupManage/getVipGroupDetail",method:"GET",params:e})}function C(e){return Object(s["a"])({url:i+"/vipGroupManage/findVipGroupStudents",method:"GET",params:e})}function T(e){return Object(s["a"])({url:i+"/vipGroupManage/applyRefundForStudent",method:"POST",data:n.a.stringify(e)})}function x(e){return Object(s["a"])({url:i+"/vipGroupManage/findVipGroupTeachingRecord",method:"get",params:e})}function O(e){return Object(s["a"])({url:i+"/vipGroupManage/findVipGroupSalarys",method:"get",params:e})}function L(e){return Object(s["a"])({url:i+"/vipGroupManage/findVipGroupAttendanceStudents",method:"get",params:e})}function I(e){return Object(s["a"])({url:i+"/vipGroupManage/classStartDateAdjust",method:"POST",data:n.a.stringify(e)})}function j(e){return Object(s["a"])({url:i+"/vipGroupManage/getVipGroupCostCount",method:"POST",params:e})}function w(e){return Object(s["a"])({url:i+"/vipGroupManage/vipGroupApply",method:"POST",data:e})}function M(e){return Object(s["a"])({url:i+"/vipGroupManage/stopVipGroup",method:"POST",data:n.a.stringify(e)})}function A(e){return Object(s["a"])({url:i+"/vipGroupManage/updateVipBaseInfo",method:"POST",data:e})}function G(e){return Object(s["a"])({url:i+"/courseSchedule/findVipGroupCourseSchedules",method:"POST",data:n.a.stringify(e)})}function N(e){return Object(s["a"])({url:i+"/courseSchedule/bathDelete",method:"POST",data:n.a.stringify(e)})}function q(e){return Object(s["a"])({url:i+"/courseSchedule/vipCourseAdjust",method:"POST",data:e})}function P(e){return Object(s["a"])({url:i+"/vipGroupManage/appendVipGroupCourseSchedules",method:"POST",data:e})}function R(e){return Object(s["a"])({url:i+"/vipGroupManage/getStudentSurplusCourseFee",method:"get",params:e})}function E(e){return Object(s["a"])({url:i+"/vipGroupManage/findHaveCourseBalanceStudents",method:"get",params:e})}function V(e){return Object(s["a"])({url:i+"/vipGroupManage/addVipGroupStudents",method:"get",params:e})}function D(e){return Object(s["a"])({url:i+"/courseSchedule/batchAppendVipGroupCourses",method:"POST",data:e})}function $(e){return Object(s["a"])({url:i+"/vipGroupManage/pauseForStudent",method:"POST",data:n.a.stringify(e)})}function B(e){return Object(s["a"])({url:i+"/vipGroupManage/getStudentPauseInfo",method:"POST",data:n.a.stringify(e)})}function K(e){return Object(s["a"])({url:i+"/vipGroupManage/recoverForStudent",method:"POST",data:e})}function U(e){return Object(s["a"])({url:i+"/vipGroupManage/findTeacherWithVipGroupOrganAndSubject",method:"get",params:e})}},8018:function(e,t,a){"use strict";a.d(t,"j",function(){return o}),a.d(t,"g",function(){return l}),a.d(t,"c",function(){return u}),a.d(t,"a",function(){return c}),a.d(t,"d",function(){return d}),a.d(t,"i",function(){return m}),a.d(t,"h",function(){return p}),a.d(t,"e",function(){return f}),a.d(t,"o",function(){return h}),a.d(t,"p",function(){return b}),a.d(t,"l",function(){return v}),a.d(t,"k",function(){return g}),a.d(t,"n",function(){return y}),a.d(t,"b",function(){return k}),a.d(t,"f",function(){return F}),a.d(t,"m",function(){return _});var s=a("b775"),r=a("4328"),n=a.n(r),i="/api-web";function o(e){return Object(s["a"])({url:i+"/teacher/queryPage",method:"get",params:e})}function l(e){return Object(s["a"])({url:i+"/teacher/get",method:"get",params:e})}function u(e){return Object(s["a"])({url:i+"/teacher/getTeacherMusicClass",method:"get",params:e})}function c(e){return Object(s["a"])({url:i+"/demoGroup/findTeacherDemoGroups",method:"get",params:e})}function d(e){return Object(s["a"])({url:i+"/teacherAttendance/getTeacherPersonalAttendances",method:"get",params:e})}function m(e){return Object(s["a"])({url:i+"/teacher/queryCloses",method:"get",params:e})}function p(e){return Object(s["a"])({url:i+"/teacherLeaveRecord/queryPage",method:"get",params:e})}function f(e){return Object(s["a"])({url:i+"/teacher/sumTeacherNoPay",method:"get",params:e})}function h(e){return Object(s["a"])({url:i+"/teacherDefaultVipGroupSalary/queryPageByTeacherId",method:"get",params:e})}function b(e){return Object(s["a"])({url:i+"/teacherDefaultVipGroupSalary/upSet",method:"post",data:e})}function v(e){return Object(s["a"])({url:i+"/teacherDefaultMusicGroupSalary/queryPage",method:"get",params:e})}function g(e){return Object(s["a"])({url:i+"/teacherDefaultMusicGroupSalary/batchUpset",method:"post",data:e})}function y(e){return Object(s["a"])({url:i+"/courseSchedule/updateTeacherCoursesSalary",method:"post",data:n.a.stringify(e)})}function k(e){return Object(s["a"])({url:i+"/school/findVipSchoolByTeacher",method:"get",params:e})}function F(e){return Object(s["a"])({url:i+"/teacher/add",method:"post",data:n.a.stringify(e)})}function _(e){return Object(s["a"])({url:i+"/teacher/update",method:"post",data:n.a.stringify(e)})}},a089:function(e,t,a){},b2df:function(e,t,a){},c0b9:function(e,t,a){"use strict";var s=a("de4e"),r=a.n(s);r.a},c23f:function(e,t,a){},c34d:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACM1JREFUeAHlnH9oVVUcwHtvm27kjwoXKkKspBGRuswEmTO1/pBI8UeWkKV/RGqipMU2Z7HAH5urkQqa+UeUQWiuhH6QYMtyQyxdKKKMyKW2TRtb+CNm7lef72Pn8fbe/fnuefdu88Dl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Uo7BLdT8Ky69hD7BUdM9KyLNv9K2z+Kb6+hYHaETcfh/hxfeLBeA6ebNelUfk92Mr6Nhg4Nx3cJBziKwk/GVxiM1wDaxrzH8OmXMMQUALqbbI6sU9eDNQZOLW3daNY+wyGmCvNjlofYcV+H0/b746IyIaUxcFoZWnkMrctmikx7kFRguf8Hj+sFCJK1yWAL7bRrnhUcabChD4olwS/zGpj4yf9mLCTdssfF1uvP57RFNrovwu/Yrj9tAUlDcdrngHQFwbI9dqBDkp+HL2e+I0sr2+AIkEgB0ikgnZduyaXjerYW+FugHXWL+OzkCI6Y5ro3MNOehdP+krojRcAACm0Mq7kMq1o3Nls6aSNBdM3qjIyMyfSkU0b5/TENW49jV55bONIW14CkkjzdmDtM447s5NJ0w5OUDTjIO6oKbC1gWF1KxhbXQyxeCe9/8kmTzQWPxecFfF2Xnp6+ksf4L17sSKoHxSrkztTwsu1xetN67lbkNWVsfgDnf6NzNTZN8QpHbPfcg2IByA/yWltbV+DE5fv76Ng8H87/4iZVZGdn7123bp08rbQErYCURbxwyuTn1vLzqqWkPc2RkmkBPbYTHYeJ5S+65P/MtM/4UwJIgZK495dEizidxfEUh9c/KWhDxlGOIwyjKqDIkEpZSDmgWMtpTPj27duTeNc0gTufy51P+JvA3vKy602Oa5SL/E0gZSN/E4hfOc25b0/O/wFGCwAhyqFeLQAAAABJRU5ErkJggg=="},cfc6:function(e,t,a){},de4e:function(e,t,a){},ec3d:function(e,t,a){"use strict";var s=a("a089"),r=a.n(s);r.a},ec8a:function(e,t,a){"use strict";a.d(t,"a",function(){return s});a("6762"),a("2fdb"),a("28a5");function s(e){var t=window.localStorage.getItem("permission");return t=t.split(","),!!t.includes(e)}},f068:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[a("h2",[a("el-page-header",{attrs:{content:e.name},on:{back:e.onCancel}})],1),e._v(" "),a("div",{staticClass:"m-core"},[a("p",{staticClass:"msg",class:"PROGRESS"==e.status?"ing":""},[a("img",{attrs:{src:"PROGRESS"==e.status?e.stepImgs.PROGRESS:e.stepImgs.PAUSE,alt:""}}),e._v("\n "+e._s("PROGRESS"==e.status?"进行中":"已结束"))]),e._v(" "),a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeIndex,callback:function(t){e.activeIndex=t},expression:"activeIndex"}},[a("el-tab-pane",{attrs:{label:"基本信息",name:"1"}},[1==e.activeIndex?a("baseinfo",{attrs:{teamid:e.teamid},on:{getname:e.getname}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"老师列表",name:"2"}},[2==e.activeIndex?a("teacherList",{attrs:{teamid:e.teamid}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"学员列表",name:"3"}},[3==e.activeIndex?a("studentList",{attrs:{teamid:e.teamid}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"班级详情",name:"4"}},[4==e.activeIndex?a("classList",{attrs:{teamid:e.teamid}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"课表详情",name:"5"}},[5==e.activeIndex?a("courseList",{attrs:{teamid:e.teamid}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"课酬调整",name:"7",teamid:e.teamid}},[7==e.activeIndex?a("salaryList",{attrs:{teamid:e.teamid}}):e._e()],1)],1)],1)])},r=[],n=(a("386d"),a("7f7f"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"stu-container"},[a("div",{staticClass:"headWrap"},[a("div",{staticClass:"left"},[a("div",{staticClass:"headItem"},[a("p",[e._v("在读人数:"),a("span",[e._v(e._s(e.studentListInfo.studying))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("退团人数:"),a("span",[e._v(e._s(e.studentListInfo.quit))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("新增人数:"),a("span",[e._v(e._s(e.studentListInfo.add))])])])]),e._v(" "),a("div",{staticClass:"right"},[a("div",{staticClass:"newStudent",staticStyle:{"margin-bottom":"10px"},on:{click:function(t){e.addStudentVisible=!0}}},[e._v("新增学员")]),e._v(" "),a("div",{staticClass:"newStudent",staticStyle:{"margin-bottom":"10px"},on:{click:e.onCreateQRCode}},[e._v("报名连接")]),e._v(" "),a("div",{staticClass:"newStudent",on:{click:e.gotoSignin}},[e._v("点名总览")])])]),e._v(" "),a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("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",t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"学员状态"},model:{value:e.searchForm.studentStatus,callback:function(t){e.$set(e.searchForm,"studentStatus",t)},expression:"searchForm.studentStatus"}},[a("el-option",{attrs:{label:"在读",value:"NORMAL"}}),e._v(" "),a("el-option",{attrs:{label:"请假",value:"LEAVE"}}),e._v(" "),a("el-option",{attrs:{label:"退团",value:"QUIT"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"所选专业"},model:{value:e.searchForm.major,callback:function(t){e.$set(e.searchForm,"major",t)},expression:"searchForm.major"}},e._l(e.soundList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"报名缴费"},model:{value:e.searchForm.isPay,callback:function(t){e.$set(e.searchForm,"isPay",t)},expression:"searchForm.isPay"}},[a("el-option",{attrs:{label:"完成缴费",value:"PAID_COMPLETED"}}),e._v(" "),a("el-option",{attrs:{label:"未缴费",value:"NON_PAYMENT"}}),e._v(" "),a("el-option",{attrs:{label:"缴费中",value:"PROCESSING"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"是否激活"},model:{value:e.searchForm.isActive,callback:function(t){e.$set(e.searchForm,"isActive",t)},expression:"searchForm.isActive"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("div",{staticClass:"searchBtn",on:{click:e.search}},[e._v("搜索")])]),e._v(" "),a("el-form-item",[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"export/musicGroupStudent",expression:"'export/musicGroupStudent'"}],staticClass:"searchBtn export",on:{click:e.onMusicGroupExport}},[e._v("导出")])])],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"学员编号",width:"120px;",prop:"userId"}}),e._v(" "),a("el-table-column",{attrs:{label:"学员姓名",width:"120px;",prop:"realName"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"gender",width:"50px;",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("sex")(t.row.gender))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"联系电话"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"年级班级"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.currentGrade+t.row.currentClass)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"专业",prop:"subjectName"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentStatus",label:"学员状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("musicGroupStudentType")(t.row.studentStatus))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"新增学员"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("yesOrNo")(t.row.isNewStudent))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"批量修改缴费"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.isLock?"已锁定":"可修改")+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"下次缴费日期",prop:"nextPaymentDate"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatTimer")(t.row.nextPaymentDate))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"缴费金额",prop:"courseFee"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"报名缴费"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("studentPays")(t.row.paymentStatus))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"是否激活"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.isActive?"是":"否")+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",fixed:"right",width:"250px;",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return["QUIT"!=t.row.studentStatus?a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lookClass(t.row)}}},[e._v("查看班级")]),e._v(" "),t.row.isLock?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lockStudent(t.row)}}},[e._v("解锁")]):a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lockStudent(t.row)}}},[e._v("锁定")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.resetPay(t.row)}}},[e._v("修改缴费")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.quieTeamMask(t.row)}}},[e._v("退团")])],1):e._e()]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1),e._v(" "),a("el-dialog",{staticClass:"studentInfo",attrs:{title:"新增学员",width:"640px",visible:e.addStudentVisible},on:{"update:visible":function(t){e.addStudentVisible=t}}},[a("el-form",{ref:"maskForm",attrs:{model:e.maskForm,"label-position":"right","label-width":"100px",rules:e.maskRules,inline:!0}},[a("el-divider",[e._v("基本信息")]),e._v(" "),a("el-form-item",{attrs:{label:"联系电话",rules:[{required:!0,message:"请输入手机号"},{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号",trigger:"blur"}],prop:"phone"}},[a("el-input",{attrs:{placeholder:"联系电话"},on:{blur:function(t){return e.checkPhone(e.maskForm.phone)}},model:{value:e.maskForm.phone,callback:function(t){e.$set(e.maskForm,"phone",t)},expression:"maskForm.phone"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"学员姓名",prop:"studentName"}},[a("el-input",{attrs:{placeholder:"学员姓名"},model:{value:e.maskForm.studentName,callback:function(t){e.$set(e.maskForm,"studentName",t)},expression:"maskForm.studentName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"学员性别",prop:"sex"}},[a("el-select",{attrs:{clearable:""},model:{value:e.maskForm.sex,callback:function(t){e.$set(e.maskForm,"sex",t)},expression:"maskForm.sex"}},[a("el-option",{attrs:{label:"男",value:1}}),e._v(" "),a("el-option",{attrs:{label:"女",value:0}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"家长姓名",prop:"parentName"}},[a("el-input",{attrs:{placeholder:"家长姓名"},model:{value:e.maskForm.parentName,callback:function(t){e.$set(e.maskForm,"parentName",t)},expression:"maskForm.parentName"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"年级",prop:"startClass"}},[a("el-select",{attrs:{placeholder:"起始年级",filterable:"",clearable:""},model:{value:e.maskForm.startClass,callback:function(t){e.$set(e.maskForm,"startClass",t)},expression:"maskForm.startClass"}},[a("el-option",{attrs:{value:"一年级",label:"一年级"}}),e._v(" "),a("el-option",{attrs:{value:"二年级",label:"二年级"}}),e._v(" "),a("el-option",{attrs:{value:"三年级",label:"三年级"}}),e._v(" "),a("el-option",{attrs:{value:"四年级",label:"四年级"}}),e._v(" "),a("el-option",{attrs:{value:"五年级",label:"五年级"}}),e._v(" "),a("el-option",{attrs:{value:"六年级",label:"六年级"}}),e._v(" "),a("el-option",{attrs:{value:"初一",label:"初一"}}),e._v(" "),a("el-option",{attrs:{value:"初二",label:"初二"}}),e._v(" "),a("el-option",{attrs:{value:"初三",label:"初三"}}),e._v(" "),a("el-option",{attrs:{value:"高一",label:"高一"}}),e._v(" "),a("el-option",{attrs:{value:"高二",label:"高二"}}),e._v(" "),a("el-option",{attrs:{value:"高三",label:"高三"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"班级",prop:"course"}},[a("el-input",{attrs:{placeholder:"班级"},model:{value:e.maskForm.course,callback:function(t){e.$set(e.maskForm,"course",t)},expression:"maskForm.course"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"学员声部",prop:"sound"}},[a("el-select",{attrs:{clearable:"",filterable:""},on:{change:e.onSoundChange},model:{value:e.maskForm.sound,callback:function(t){e.$set(e.maskForm,"sound",t)},expression:"maskForm.sound"}},e._l(e.soundList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-form-item",{staticStyle:{"margin-right":"0"},attrs:{label:"出生日期",prop:"timer"}},[a("el-col",{attrs:{span:24}},[a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期"},model:{value:e.maskForm.timer,callback:function(t){e.$set(e.maskForm,"timer",t)},expression:"maskForm.timer"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"课程费用",prop:"courseFee"}},[a("el-input",{attrs:{placeholder:"续费金额"},model:{value:e.maskForm.courseFee,callback:function(t){e.$set(e.maskForm,"courseFee",t)},expression:"maskForm.courseFee"}})],1),e._v(" "),a("br"),e._v(" "),a("el-form-item",{attrs:{label:"单技班"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.signClass,callback:function(t){e.$set(e.maskForm,"signClass",t)},expression:"maskForm.signClass"}},e._l(e.signList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"合奏班"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.mixClass,callback:function(t){e.$set(e.maskForm,"mixClass",t)},expression:"maskForm.mixClass"}},e._l(e.mixList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"基础技能班"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.maskForm.highClass,callback:function(t){e.$set(e.maskForm,"highClass",t)},expression:"maskForm.highClass"}},e._l(e.highList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"临时班"}},[a("el-select",{attrs:{filterable:"",clearable:"",multiple:""},model:{value:e.maskForm.snapClass,callback:function(t){e.$set(e.maskForm,"snapClass",t)},expression:"maskForm.snapClass"}},e._l(e.snapList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-divider",[e._v("首缴订单信息")]),e._v(" "),a("el-form-item",{attrs:{label:"课程费用",prop:"temporaryCourseFee"}},[a("el-input",{attrs:{type:"number",placeholder:"首缴课程金额"},nativeOn:{mousewheel:function(e){e.preventDefault()}},model:{value:e.maskForm.temporaryCourseFee,callback:function(t){e.$set(e.maskForm,"temporaryCourseFee",t)},expression:"maskForm.temporaryCourseFee"}})],1),e._v(" "),a("el-form-item",{staticClass:"instrList",attrs:{label:"乐器"}},[a("el-col",{staticStyle:{width:"auto"},attrs:{span:11}},[a("el-form-item",[a("el-select",{attrs:{placeholder:"选择乐器",filterable:"",clearable:""},model:{value:e.maskForm.musicGoodsIdList,callback:function(t){e.$set(e.maskForm,"musicGoodsIdList",t)},expression:"maskForm.musicGoodsIdList"}},e._l(e.INSTRUMENTLIST,function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})}),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:1}},[e._v(" ")]),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"输入金额"},model:{value:e.maskForm.musicPrice,callback:function(t){e.$set(e.maskForm,"musicPrice",t)},expression:"maskForm.musicPrice"}},[a("template",{slot:"prepend"},[e._v("\n "+e._s(e.maskForm.musicMode)+"\n ")])],2)],1)],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"辅件"}},[a("el-col",{staticStyle:{width:"auto"},attrs:{span:11}},[a("el-form-item",[a("el-select",{attrs:{filterable:"",clearable:"",multiple:"",placeholder:"选择辅件"},model:{value:e.maskForm.instrGoodsIdList,callback:function(t){e.$set(e.maskForm,"instrGoodsIdList",t)},expression:"maskForm.instrGoodsIdList"}},e._l(e.ACCESSORIESLIST,function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})}),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:1}},[e._v(" ")]),e._v(" "),a("el-col",{attrs:{span:11}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"输入金额"},model:{value:e.maskForm.instrPrice,callback:function(t){e.$set(e.maskForm,"instrPrice",t)},expression:"maskForm.instrPrice"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:e.addStudent}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"学员所在班级",width:"640px",visible:e.studentClassVisible},on:{"update:visible":function(t){e.studentClassVisible=t}}},[a("el-form",{attrs:{model:e.classMask}},[a("el-form-item",{attrs:{label:"学生姓名"}},[e._v("\n "+e._s(e.classMask.studentName)+"\n ")]),e._v(" "),e._l(e.classList,function(t,s){return a("el-form-item",{key:s,attrs:{label:"所在班级"}},[e._v("\n "+e._s(t.name)+"\n ")])})],2)],1),e._v(" "),a("el-dialog",{attrs:{title:"退团信息确认",width:"640px",visible:e.quitVisible},on:{"update:visible":function(t){e.quitVisible=t}}},[a("el-form",{ref:"quitForm",attrs:{model:e.quitForm,rules:e.quitRules}},[a("el-form-item",{attrs:{label:"退还课程费用",prop:"isRefundCourseFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee",t)},expression:"quitForm.isRefundCourseFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee",t)},expression:"quitForm.isRefundCourseFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee",t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee",t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee",t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee",t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退团原因"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason",t)},expression:"quitForm.reason"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.chioseType}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"报名二维码",visible:e.qrcodeStatus,width:"300px"},on:{"update:visible":function(t){e.qrcodeStatus=t}}},[a("div",{staticClass:"left-code"},[a("h2",[e._v("学员报名连接")]),e._v(" "),a("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),e._v(" "),e.codeUrl?a("p",{staticClass:"code-url"},[e._v(e._s(e.codeUrl))]):e._e()])]),e._v(" "),a("el-dialog",{attrs:{title:"修改缴费周期","before-close":e.closePayVisible,width:"600px",visible:e.payVisible},on:{"update:visible":function(t){e.payVisible=t}}},[a("el-form",{ref:"payForm",attrs:{model:e.payForm,inline:!0}},[a("el-form-item",{attrs:{label:"学生姓名",prop:"studentName"}},[a("el-input",{attrs:{disabled:""},model:{value:e.payForm.studentName,callback:function(t){e.$set(e.payForm,"studentName",t)},expression:"payForm.studentName"}})],1),e._v(" "),a("br"),e._v(" "),a("el-form-item",{attrs:{label:"缴费金额",prop:"payMoney"}},[a("el-input",{attrs:{type:"number"},nativeOn:{mousewheel:function(e){e.preventDefault()}},model:{value:e.payForm.payMoney,callback:function(t){e.$set(e.payForm,"payMoney",t)},expression:"payForm.payMoney"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"缴费月份",prop:"payMonth"}},[a("el-checkbox-group",{attrs:{fill:"#14928A","text-color":"#474747"},model:{value:e.payForm.payMonth,callback:function(t){e.$set(e.payForm,"payMonth",t)},expression:"payForm.payMonth"}},[a("el-checkbox",{attrs:{label:"1"}},[e._v("一月")]),e._v(" "),a("el-checkbox",{attrs:{label:"2"}},[e._v("二月")]),e._v(" "),a("el-checkbox",{attrs:{label:"3"}},[e._v("三月")]),e._v(" "),a("el-checkbox",{attrs:{label:"4"}},[e._v("四月")]),e._v(" "),a("el-checkbox",{attrs:{label:"5"}},[e._v("五月")]),e._v(" "),a("el-checkbox",{attrs:{label:"6"}},[e._v("六月")]),e._v(" "),a("el-checkbox",{attrs:{label:"7"}},[e._v("七月")]),e._v(" "),a("el-checkbox",{attrs:{label:"8"}},[e._v("八月")]),e._v(" "),a("el-checkbox",{attrs:{label:"9"}},[e._v("九月")]),e._v(" "),a("el-checkbox",{attrs:{label:"10"}},[e._v("十月")]),e._v(" "),a("el-checkbox",{attrs:{label:"11"}},[e._v("十一月")]),e._v(" "),a("el-checkbox",{attrs:{label:"12"}},[e._v("十二月")])],1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.quitVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitPay}},[e._v("确 定")])],1)],1)],1)}),i=[],o=(a("28a5"),a("3b2b"),a("ac6a"),a("1cc7")),l=a("5137"),u=a("333d"),c=a("61f7"),d=a("d044"),m=a.n(d),p=a("bc3a"),f=a.n(p),h=a("5f87"),b={name:"tstudentList",props:{teamid:{type:String,required:!0}},data:function(){return{payVisible:!1,quitVisible:!1,studentClassVisible:!1,addStudentVisible:!1,topFrom:{expect:"2",studing:"5",allmoney:"100",students:"5",signout:"10"},searchForm:{studentStatus:"",major:"",isPay:"",search:"",isActive:""},quitForm:{isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},classMask:{studentName:""},searchLsit:[],tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},studentListInfo:{add:"",quit:"",studying:""},signList:[],mixList:[],highList:[],snapList:[],soundList:[],qrcodeStatus:!1,qrcodes:!0,qrcode:null,codeUrl:null,maskForm:{studentName:"",sex:"",parentName:"",course:"",phone:"",sound:"",timer:"",signClass:"",mixClass:"",highClass:"",snapClass:[],startClass:"",id:"",courseFee:null,temporaryCourseFee:null,musicGoodsIdList:null,musicMode:null,musicPrice:null,instrGoodsIdList:[],instrPrice:null},remark:"",classList:[],quitRules:{isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"选择是否退还教辅费用"}]},maskRules:{studentName:[{required:!0,message:"请输入学生姓名"}],sex:[{required:!0,message:"请选择学生姓名"}],parentName:[{required:!0,message:"请输入家长姓名"}],course:[{required:!0,message:"请输入班级"}],sound:[{required:!0,message:"请选择声部"}],timer:[{required:!0,message:"请选择出生日期"}],signClass:[{required:!0,message:"请选择单技班"}],startClass:[{required:!0,message:"请选择年级"}],id:[{required:!0,message:"请输入证件号"}],courseFee:[{required:!0,message:"请输入声部费用"}],temporaryCourseFee:[{required:!0,message:"请输课程费用"}],musicGoodsIdList:[{required:!0,message:"请选择乐器",trigger:"change"}],musicPrice:[{required:!0,message:"请输入乐器购买金额"}],instrGoodsIdList:[{required:!0,message:"请选择辅件"}],instrPrice:[{required:!0,message:"请输入辅件金额"}]},INSTRUMENTLIST:[],ACCESSORIESLIST:[],activeRow:null,Fsearch:null,Frules:null,payForm:{studentName:"",payMoney:"",payMonth:[]}}},components:{pagination:u["a"]},created:function(){this.$route.query.search&&(this.Fsearch=this.$route.query.search),this.$route.query.rules&&(this.Frules=this.$route.query.rules)},filters:{studentPays:function(e){var t={PAID_COMPLETED:"完成缴费",NON_PAYMENT:"未缴费",PROCESSING:"缴费中"};return t[e]}},mounted:function(){var e=this;Object(o["Z"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.studentListInfo=t.data)}),this.getList(),Object(o["v"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.soundList=t.data)}),Object(o["K"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&t.data.forEach(function(t){"NORMAL"==t.type?e.signList.push(t):"MIX"==t.type?e.mixList.push(t):"HIGH"==t.type?e.highList.push(t):"SNAP"==t.type&&e.snapList.push(t)})})},methods:{onMusicGroupExport:function(){var e=this,t="/api-web/export/musicGroupStudent",a={musicGroupId:this.teamid,studentStatus:this.searchForm.studentStatus||null,paymentStatus:this.searchForm.isPay||null,subjectId:this.searchForm.major||null,search:this.searchForm.search||null,isActive:this.searchForm.isActive},s={method:"get",headers:{Authorization:Object(h["a"])()},url:t,params:a,responseType:"blob"};this.$confirm("您确定导出学员列表?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){f()(s).then(function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),s=URL.createObjectURL(a),r=document.createElement("a"),n=e.$route.query.name+"学员列表";r.href=s,r.setAttribute("download",n),document.body.appendChild(r),r.click()})}).catch(function(){})},search:function(){this.rules.page=1,this.getList()},onCreateQRCode:function(){var e=this;this.qrcodeStatus=!0;var t=this.$route.query.id;this.qrcodes&&(this.qrcodes=!1,setTimeout(function(){e.qrcode=new m.a("qrcode",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:m.a.CorrectLevel.H}),e.qrcode.makeCode(Object(c["c"])()+"/#/login?musicGroupId="+t),e.codeUrl=Object(c["c"])()+"/#/login?musicGroupId="+t},500))},getList:function(){var e=this,t={musicGroupId:this.teamid,page:this.rules.page,rows:this.rules.limit,studentStatus:this.searchForm.studentStatus||null,paymentStatus:this.searchForm.isPay||null,subjectId:this.searchForm.major||null,search:this.searchForm.search||null,isActive:this.searchForm.isActive};Object(o["ab"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})},gotoSignin:function(){this.$router.push({path:"/business/studentSignin",query:{id:this.teamid,status:this.$route.query.status,name:this.$route.query.name,rules:this.Frules,search:this.Fsearch}})},chioseType:function(){var e=this;this.$refs["quitForm"].validate(function(t){t&&e.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var t=e.activeRow;Object(o["b"])({musicGroupId:e.teamid,userId:t.userId,reason:e.quitForm.reason,isRefundCourseFee:e.quitForm.isRefundCourseFee,isRefundInstrumentFee:e.quitForm.isRefundInstrumentFee,isRefundTeachingAssistantsFee:e.quitForm.isRefundTeachingAssistantsFee}).then(function(t){e.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},200==t.code&&(e.$message.success("退团成功"),e.getList(),e.quitVisible=!1)})}).catch(function(){})})},addStudent:function(){var e=this;this.$refs["maskForm"].validate(function(t){if(t){var a,s=e.maskForm;if(!s.signClass&&!s.mixClass&&!s.highClass&&(!s.snapClass||!(s.snapClass&&s.snapClass.length>=1)))return void e.$message.error("该学生必须加入一个班级");a=s.snapClass?s.snapClass.join(","):null;var r={signClassId:s.signClass,mixClassId:s.mixClass,snapClassIds:a,highClassId:s.highClass,courseFee:s.courseFee,temporaryCourseFee:s.temporaryCourseFee,studentRegistration:{name:s.studentName,gender:s.sex,birthdate:s.timer,parentsName:s.parentName,parentsPhone:s.phone,currentGrade:s.startClass,currentClass:s.course,subjectId:s.sound,musicGroupId:e.teamid},studentPaymentOrderDetails:[]};s.musicGoodsIdList&&r.studentPaymentOrderDetails.push({goodsIdList:s.musicGoodsIdList,type:"MUSICAL",price:s.musicPrice}),s.instrGoodsIdList&&""!=s.instrGoodsIdList&&r.studentPaymentOrderDetails.push({goodsIdList:s.instrGoodsIdList.join(","),type:"ACCESSORIES",price:s.instrPrice}),Object(l["a"])(r).then(function(t){200==t.code&&(e.$message.success("添加学生成功"),e.getList(),e.addStudentVisible=!1),e.$refs.maskForm.resetFields()})}})},onSoundChange:function(e){this.findSubjectPlan(e),this.getGoodsList(e,"INSTRUMENT"),this.getGoodsList(e,"ACCESSORIES")},findSubjectPlan:function(e){var t=this;Object(o["w"])({musicGroupId:this.teamid,subjectId:e}).then(function(e){var a=e.data;200==e.code&&(t.maskForm.musicMode=t.getBranchType(a.kitGroupPurchaseType))})},getGoodsList:function(e,t){var a=this;Object(o["H"])({subjectId:e,type:t}).then(function(e){var s=e.data;if(200==e.code){var r=[];s.forEach(function(e){r.push({label:e.name,value:e.id})}),"ACCESSORIES"==t&&(a.ACCESSORIESLIST=r),"INSTRUMENT"==t&&(a.INSTRUMENTLIST=r)}})},getBranchType:function(e){var t={FREE:"免费",GROUP:"团购",LEASE:"租赁"};return t[e]},lookClass:function(e){var t=this;this.classMask.studentName=e.realName,Object(l["j"])({musicGroupId:this.teamid,teacherId:e.userId}).then(function(e){200==e.code&&(t.classList=e.data,t.studentClassVisible=!0)})},quieTeamMask:function(e){this.activeRow=e,this.quitVisible=!0},checkPhone:function(e){var t=this,a=/^1[3456789]\d{9}$/,s=new RegExp(a);s.test(e)&&Object(l["l"])({mobile:this.maskForm.phone}).then(function(a){200==a.code&&a.data&&(t.maskForm={studentName:a.data.name,sex:a.data.gender,parentName:a.data.parentsName,course:a.data.currentClass,startClass:a.data.currentGrade,phone:e,timer:a.data.birthdate})})},lockStudent:function(e){var t=this;this.$confirm("是否锁定/解锁学生缴费周期?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var a,s=t.teamid,r=e.userId;a=0==e.isLock?1:0,Object(o["a"])({musicGroupId:s,studentId:r,isLock:a}).then(function(e){200==e.code&&(t.$message.success("修改成功"),t.getList())})}).catch(function(){})},resetPay:function(e){this.activeRow=e,this.payVisible=!0,this.payForm.studentName=e.realName,this.payForm.payMoney=e.courseFee,this.payForm.payMonth=e.paymentPeriodList.split(","),""==this.payForm.payMonth[0]&&(this.payForm.payMonth=[])},submitPay:function(){var e=this,t=this.activeRow.userId,a=this.teamid,s=this.payForm.payMonth.join(",")||null,r=this.payForm.payMoney,n={studentId:t,musicGroupId:a,month:s,amount:r};Object(o["zb"])(n).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.payVisible=!1,e.getList())})},closePayVisible:function(){this.$refs["payForm"].resetFields(),this.payVisible=!1}}},v=b,g=(a("6d38"),a("2877")),y=Object(g["a"])(v,n,i,!1,null,"f3000482",null),k=y.exports,F=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"t-container"},[a("div",{staticClass:"headWrap",staticStyle:{padding:"0"}},[a("div"),e._v(" "),a("div",{staticClass:"right newBand",on:{click:e.gotoRecord}},[e._v("\n 上课记录\n ")])]),e._v(" "),a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"老师姓名 编号 手机号"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search",t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",[a("div",{staticClass:"searchBtn",on:{click:e.search}},[e._v("搜索")])])],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",prop:"teacherId",label:"老师编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"老师姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherPhone",label:"联系电话"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"jobNature",label:"工作类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("jobNature")(t.row.jobNature))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"执教班级"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"num",label:"出勤次数"}})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"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)},_=[],S={name:"tteacherList",props:{teamid:{type:String,required:!0}},data:function(){return{searchForm:{status:"",teachingClass:"",attendance:"",search:""},searchLsit:[],tableList:[],mixCourseList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,30,40]}}},components:{pagination:u["a"]},mounted:function(){var e=this;this.getList(),Object(o["x"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.mixCourseList=t.data)})},methods:{search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this;Object(o["bb"])({musicGroupId:this.teamid,page:this.rules.page,rows:this.rules.limit,search:this.searchForm.search||null}).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})},gotoRecord:function(){this.$router.push({path:"/business/teamTeacherRecord",query:{id:this.teamid,status:this.$route.query.status,name:this.$route.query.name}})}}},C=S,T=(a("6814"),Object(g["a"])(C,F,_,!1,null,null,null)),x=T.exports,O=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cl-container"},[a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",{attrs:{label:"课程类型"}},[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程类型"},model:{value:e.searchForm.courseStatus,callback:function(t){e.$set(e.searchForm,"courseStatus",t)},expression:"searchForm.courseStatus"}},[a("el-option",{attrs:{label:"基础技能课",value:"HIGH"}}),e._v(" "),a("el-option",{attrs:{label:"综合课",value:"COMPREHENSIVE"}}),e._v(" "),a("el-option",{attrs:{label:"课堂课",value:"CLASSROOM"}}),e._v(" "),a("el-option",{attrs:{label:"合奏课",value:"MIX"}}),e._v(" "),a("el-option",{attrs:{label:"集训合奏课",value:"TRAINING_MIX"}}),e._v(" "),a("el-option",{attrs:{label:"集训单技课",value:"TRAINING_SINGLE"}}),e._v(" "),a("el-option",{attrs:{label:"单技课",value:"SINGLE"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"课程状态"}},[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程状态"},model:{value:e.searchForm.classStatus,callback:function(t){e.$set(e.searchForm,"classStatus",t)},expression:"searchForm.classStatus"}},[a("el-option",{attrs:{label:"未开始",value:"NOT_START"}}),e._v(" "),a("el-option",{attrs:{label:"进行中",value:"UNDERWAY"}}),e._v(" "),a("el-option",{attrs:{label:"已结束",value:"OVER"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"班级名称"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.searchForm.class,callback:function(t){e.$set(e.searchForm,"class",t)},expression:"searchForm.class"}},e._l(e.classList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"选择日期"}},[a("el-date-picker",{staticStyle:{width:"420px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer",t)},expression:"searchForm.timer"}})],1),e._v(" "),a("el-form-item",[a("div",{staticClass:"searchBtn",on:{click:e.search}},[e._v("搜索")])])],1),e._v(" "),a("div",{staticClass:"btnWraps"},[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"courseSchedule/bathDelete",expression:"'courseSchedule/bathDelete'"}],staticClass:"newBand",on:{click:e.removeCourses}},[e._v("批量删除")])]),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",selectable:e.checkSelectable}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.classDate)+" "+e._s(t.row.startClassTime?t.row.startClassTime.substr(0,5):"")+"-"+e._s(t.row.endClassTime?t.row.endClassTime.substr(0,5):"")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"班级名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseScheduleType",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesType")(t.row.courseScheduleType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseScheduleStatus",label:"课程状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesStatus")(t.row.courseScheduleStatus))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"老师签到"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("attendanceType")(t.row.signInStatus))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"老师签退"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("attendanceOutType")(t.row.signOutStatus))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"masterTeacherName",label:"指导老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",["NOT_START"==t.row.courseScheduleStatus?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"courseSchedule/classStartDateAdjust",expression:"'courseSchedule/classStartDateAdjust'"}],attrs:{type:"text"},on:{click:function(a){return e.resetClass(t.row)}}},[e._v("调整")]):e._e(),e._v(" "),"NOT_START"==t.row.courseScheduleStatus?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"courseSchedule/bathDelete",expression:"'courseSchedule/bathDelete'"}],attrs:{type:"text"},on:{click:function(a){return e.removeSingleClass(t.row)}}},[e._v("删除")]):e._e()],1)]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1),e._v(" "),a("el-dialog",{attrs:{title:"课程调整",width:"400px","before-close":e.handleClose,visible:e.courseVisible},on:{"update:visible":function(t){e.courseVisible=t}}},[a("el-form",{ref:"maskForm",attrs:{model:e.maskForm,rules:e.maskRules,"label-position":"right","label-width":"80px;",inline:!0}},[a("el-form-item",{attrs:{label:"主教老师",prop:"teacher"}},[a("el-select",{attrs:{clearable:"",filterable:""},model:{value:e.maskForm.teacher,callback:function(t){e.$set(e.maskForm,"teacher",t)},expression:"maskForm.teacher"}},e._l(e.teacherList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.realName}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"助教老师",prop:"assistant"}},[a("el-select",{attrs:{clearable:"",filterable:"",multiple:"","collapse-tags":""},model:{value:e.maskForm.assistant,callback:function(t){e.$set(e.maskForm,"assistant",t)},expression:"maskForm.assistant"}},e._l(e.teacherList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.realName}})}),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"上课日期",prop:"date"}},[a("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.maskForm.date,callback:function(t){e.$set(e.maskForm,"date",t)},expression:"maskForm.date"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"开始时间",prop:"startTime"}},[a("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"04:30",step:"00:05",end:"23:30"}},model:{value:e.maskForm.startTime,callback:function(t){e.$set(e.maskForm,"startTime",t)},expression:"maskForm.startTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"结束时间",prop:"endTime"}},[a("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"04:30",step:"00:05",end:"23:30",minTime:e.maskForm.startTime}},model:{value:e.maskForm.endTime,callback:function(t){e.$set(e.maskForm,"endTime",t)},expression:"maskForm.endTime"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.courseVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitResetClass}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"修改时间",width:"400px","before-close":e.handleCloseTimer,visible:e.timerVisible},on:{"update:visible":function(t){e.timerVisible=t}}},[a("el-form",{attrs:{model:e.timerMask}},[a("el-form-item",{attrs:{label:"上课日期",rules:[{required:!0,message:"请选择日期",trigger:"blur"}]}},[a("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.timerMask.timer,callback:function(t){e.$set(e.timerMask,"timer",t)},expression:"timerMask.timer"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.timerVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.batchAdjustmentTime}},[e._v("确 定")])],1)],1)],1)},L=[],I=a("7e78"),j={name:"tcourseList",props:{teamid:{type:String,required:!0}},data:function(){return{timerVisible:!1,courseVisible:!1,searchForm:{courseStatus:"",classStatus:"",timer:[],class:""},tableList:[],searchLsit:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},maskForm:{teacher:"",assistant:"",date:"",startTime:"",endTime:"",id:""},maskRules:{teacher:[{required:!0,message:"请选择主教老师名称",trigger:"blur"}],date:[{required:!0,message:"请选择上课时间",trigger:"blur"}],startTime:[{required:!0,message:"请选择上课开始时间",trigger:"blur"}],endTime:[{required:!0,message:"请选择上课结束时间",trigger:"blur"}]},teacherList:[],classList:[],activeCourseList:[],timerMask:{timer:""}}},components:{pagination:u["a"]},mounted:function(){var e=this;this.getList(),Object(o["T"])().then(function(t){200==t.code&&(e.teacherList=t.data)}),Object(o["K"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.classList=t.data)})},methods:{search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this;this.searchForm.timer||(this.searchForm.timer=[]);var t={classScheduleStatus:this.searchForm.classStatus||null,classScheduleType:this.searchForm.courseStatus||null,musicGroupId:this.teamid,startTime:this.searchForm.timer[0]||null,endTime:this.searchForm.timer[1]||null,page:this.rules.page,rows:this.rules.limit,classGroupId:this.searchForm.class||null};Object(o["D"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})},resetClass:function(e){for(var t in this.maskForm.teacher=parseInt(e.masterTeacherId),this.maskForm.assistant=[],e.teachingTeachers)"TEACHING"==e.teachingTeachers[t].teacherRole&&this.maskForm.assistant.push(e.teachingTeachers[t].userId);this.maskForm.date=e.classDate,this.maskForm.startTime=e.startClassTimeStr,this.maskForm.endTime=e.endClassTimeStr,this.maskForm.id=e.courseScheduleId,this.courseVisible=!0},removeSingleClass:function(e){var t=this;this.$confirm("是否删除该课程?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var a=e.courseScheduleId;Object(I["g"])({courseScheduleIds:a}).then(function(e){200==e.code&&(t.$message.success("删除成功"),t.getList())})}).catch(function(){})},removeCourses:function(){var e=this;if(this.activeCourseList.length<1)this.$message.error("请至少选择一节课");else{var t=[];t=this.activeCourseList.map(function(e){return e.courseScheduleId}),this.$confirm("是否删除该课程?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var a=t.join(",");Object(I["g"])({courseScheduleIds:a}).then(function(t){200==t.code&&(e.$message.success("删除成功"),e.getList())})}).catch(function(){})}},submitResetClass:function(){var e=this;this.$confirm("是否确定?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var t={actualTeacherId:e.maskForm.teacher,startClassTimeStr:e.maskForm.startTime,endClassTimeStr:e.maskForm.endTime,id:e.maskForm.id,teachingTeacherIdList:e.maskForm.assistant.join(",")||null,classDate:e.maskForm.date};Object(o["mb"])(t).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.getList(),e.courseVisible=!1)})}).catch(function(){})},handleClose:function(){this.courseVisible=!1,this.$refs["maskForm"].resetFields()},handleSelectionChange:function(e){this.activeCourseList=e},checkSelectable:function(e){return"NOT_START"==e.courseScheduleStatus},batchAdjustmentTime:function(){var e=this,t=[];t=this.activeCourseList.map(function(t){return{classDate:e.timerMask.timer,id:t.courseScheduleId,endClassTimeStr:t.endClassTimeStr,startClassTimeStr:t.startClassTimeStr}}),Object(o["h"])(t).then(function(t){200==t.code&&(e.timerVisible=!1,e.getList())})},handleCloseTimer:function(){this.timerVisible=!1,this.timerMask.timer=""},resetTimer:function(){this.activeCourseList.length<1?this.$message.error("请至少选择一节课"):this.timerVisible=!0}}},w=j,M=(a("ec3d"),Object(g["a"])(w,O,L,!1,null,null,null)),A=M.exports,G=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"c-container"},[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"courseSchedule/coursePostpone",expression:"'courseSchedule/coursePostpone'"}],staticClass:"newBand",on:{click:e.postpone}},[e._v("课程顺延")]),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"班级名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"班级类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("classType")(t.row.classGroupType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"masterTeacher",label:"主教老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subTeacher",label:"助教老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"currentClassTimes",label:"当前课次"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.currentClassTimes+"/"+t.row.totalClassTimes)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studyNum",label:"在读人数"}}),e._v(" "),e.permission("courseSchedule/coursePostpone")?a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.signPostpone(t.row)}}},[e._v("顺延课程")])],1)]}}],null,!1,433730982)}):e._e()],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1),e._v(" "),a("el-dialog",{attrs:{title:"课程顺延",visible:e.postponeVisible,width:"600px","before-close":e.handleClose},on:{"update:visible":function(t){e.postponeVisible=t}}},[a("el-form",{ref:"postponeForm",attrs:{model:e.postponeForm,rules:e.postponeRules}},[a("el-form-item",{attrs:{label:"开始日期",prop:"stopTime"}},[a("el-date-picker",{attrs:{type:"date","picker-options":e.bigin,"value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.postponeForm.stopTime,callback:function(t){e.$set(e.postponeForm,"stopTime",t)},expression:"postponeForm.stopTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"顺延日期",prop:"resetTime"}},[a("el-date-picker",{attrs:{type:"date","picker-options":e.options,"value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.postponeForm.resetTime,callback:function(t){e.$set(e.postponeForm,"resetTime",t)},expression:"postponeForm.resetTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"跳过节假日"}},[a("el-checkbox",{model:{value:e.postponeForm.holiday,callback:function(t){e.$set(e.postponeForm,"holiday",t)},expression:"postponeForm.holiday"}})],1)],1),e._v(" "),a("span",{staticStyle:{color:"#F56C6C"}},[e._v("注意:将会把所选班级的课表,「开始日期」之后的全部未开始课程;\n 调整到「顺延日期」之后重新排课,可以勾选跳过节假日;")]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.postponeVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitInfo}},[e._v("确 定")])],1)],1)],1)},N=[],q=a("ec8a"),P={name:"tclassList",props:{teamid:{type:String,required:!0}},data:function(){return{postponeVisible:!1,searchLsit:[],searchForm:{name:"",status:""},tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},postponeForm:{stopTime:"",resetTime:"",holiday:!1},postponeRules:{stopTime:[{required:!0,message:"请选择开始日期",trigger:"blur"}],resetTime:[{required:!0,message:"请选择顺延日期",trigger:"blur"}]},activeClass:"",activeList:[],options:this.processDate(),bigin:this.beginDate()}},components:{pagination:u["a"]},mounted:function(){this.getList()},methods:{permission:function(e){return Object(q["a"])(e)},getList:function(){var e=this;Object(o["B"])({search:this.teamid,page:this.rules.page,rows:this.rules.limit}).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})},resetClass:function(){this.$router.push({path:"/business/resetClass",query:{id:this.teamid}})},postpone:function(){this.activeList.length<=0?this.$message.error("请至少选择一个班级"):this.postponeVisible=!0},signPostpone:function(e){this.activeClass=e.classGroupId,this.postponeVisible=!0},handleClose:function(){this.postponeVisible=!1,this.$refs["postponeForm"].resetFields()},handleSelectionChange:function(e){this.activeList=e;var t=e.map(function(e){return e.classGroupId});this.activeClass=t.join(",")},submitInfo:function(){var e=this;this.$refs["postponeForm"].validate(function(t){if(t){var a=e.activeClass,s=e.postponeForm.stopTime,r=e.postponeForm.resetTime,n=e.postponeForm.holiday,i={classGroupIds:a,pauseDate:s,recoveryDate:r,skipHoliday:n};Object(o["o"])(i).then(function(t){200==t.code&&e.$message.success("修改成功")})}})},processDate:function(){var e=this;return{disabledDate:function(t){return e.postponeForm.stopTime?new Date(e.postponeForm.stopTime).getTime()>t.getTime():t.getTime()>Date.now()}}},beginDate:function(){return{disabledDate:function(e){return e.getTime()+864e5<=(new Date).getTime()}}}}},R=P,E=Object(g["a"])(R,G,N,!1,null,null,null),V=E.exports,D=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("el-date-picker",{staticStyle:{width:"400"},attrs:{type:"daterange",align:"right","unlink-panels":"","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期","value-format":"yyyy-MM-dd","picker-options":e.pickerOptions},model:{value:e.searchForm.date,callback:function(t){e.$set(e.searchForm,"date",t)},expression:"searchForm.date"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger"},on:{click:e.search}},[e._v("搜索")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",label:"时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.classDate)+" "+e._s(t.row.startClassTime?t.row.startClassTime.substr(0,5):"")+"-"+e._s(t.row.endClassTime?t.row.endClassTime.substr(0,5):"")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"班级名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseScheduleType",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesType")(t.row.courseScheduleType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherNum",label:"老师人数"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.setCourseInfo(t.row)}}},[e._v("课酬调整")])],1)]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1),e._v(" "),a("el-dialog",{attrs:{title:"课酬调整",width:"800px",visible:e.dialogTableVisible},on:{"update:visible":function(t){e.dialogTableVisible=t}}},[a("el-table",{attrs:{data:e.activeTeacherList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"老师姓名",prop:"teacherName"}}),e._v(" "),a("el-table-column",{attrs:{label:"老师角色"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("workType")(t.row.teacherRole))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"课程课酬",prop:"expectSalary"}}),e._v(" "),a("el-table-column",{attrs:{label:"课时补贴",prop:"subsidy"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.resetTeacher(t.row)}}},[e._v("操作")])],1)]}}])})],1),e._v(" "),a("el-dialog",{attrs:{width:"500px",title:"",visible:e.innerVisible,"append-to-body":""},on:{"update:visible":function(t){e.innerVisible=t}}},[a("el-form",{ref:"teacherMask",attrs:{model:e.teacherMask,rules:e.teacherRules}},[a("el-form-item",{attrs:{label:"调整范围",prop:"radio"}},[a("el-radio",{attrs:{label:"all"},model:{value:e.teacherMask.radio,callback:function(t){e.$set(e.teacherMask,"radio",t)},expression:"teacherMask.radio"}},[e._v("之后剩余课次")]),e._v(" "),a("el-radio",{attrs:{label:"one"},model:{value:e.teacherMask.radio,callback:function(t){e.$set(e.teacherMask,"radio",t)},expression:"teacherMask.radio"}},[e._v("仅限本次")])],1),e._v(" "),a("el-form-item",{attrs:{label:"课程课酬",prop:"salary"}},[a("el-input",{staticStyle:{width:"180px"},model:{value:e.teacherMask.salary,callback:function(t){e.$set(e.teacherMask,"salary",t)},expression:"teacherMask.salary"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"课时补贴",prop:"subsidy"}},[a("el-input",{staticStyle:{width:"180px"},model:{value:e.teacherMask.subsidy,callback:function(t){e.$set(e.teacherMask,"subsidy",t)},expression:"teacherMask.subsidy"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.innerVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.resetSalary}},[e._v("确 定")])],1)],1)],1)],1)},$=[],B=a("8018"),K={name:"tsalaryList",props:{teamid:{type:String,required:!0}},data:function(){return{dialogTableVisible:!1,innerVisible:!1,searchForm:{date:""},pickerOptions:{shortcuts:[{text:"最近一周",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近一个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"最近三个月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-7776e6),e.$emit("pick",[a,t])}}]},tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},searchLsit:[],activeTeacherList:[{1:1}],teacherMask:{salary:"",subsidy:"",radio:""},courseScheduleId:"",teacherRules:{salary:[{required:!0,message:"请输入课程课酬",trigger:"blur"}],subsidy:[{required:!0,message:"请输入课时补贴",trigger:"blur"}],radio:[{required:!0,message:"请选择调整范围",trigger:"blur"}]}}},components:{pagination:u["a"]},mounted:function(){this.getList()},methods:{search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this;this.searchForm.date||(this.searchForm.date=[]);var t={musicGroupId:this.teamid,startTime:this.searchForm.date[0]||null,endTime:this.searchForm.date[1]||null,page:this.rules.page,rows:this.rules.limit};Object(o["C"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})},setCourseInfo:function(e){var t=this;Object(o["U"])({courseScheduleId:e.courseScheduleId}).then(function(a){200==a.code&&(t.dialogTableVisible=!0,t.courseScheduleId=e.courseScheduleId,t.activeTeacherList=a.data)})},resetTeacher:function(e){this.innerVisible=!0,this.activeTeacher=e},resetSalary:function(){var e=this;this.$refs["teacherMask"].validate(function(t){t?Object(B["n"])({courseScheduleId:e.courseScheduleId,salary:e.teacherMask.salary,teacherId:e.activeTeacher.teacherId,subsidy:e.teacherMask.subsidy,scope:e.teacherMask.radio}).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.teacherMask={salary:"",subsidy:"",radio:""},e.innerVisible=!1)}):e.$message.error("请填写必要参数")})}}},U=K,z=Object(g["a"])(U,D,$,!1,null,null,null),H=z.exports,W=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"basea-container"},[a("div",{staticClass:"baseTop"},[a("div",{staticClass:"left"},[a("el-form",{attrs:{inline:!0,model:e.topForm}},[a("el-form-item",{attrs:{label:"乐团编号"}},[a("el-input",{attrs:{disabled:""},model:{value:e.topForm.num,callback:function(t){e.$set(e.topForm,"num",t)},expression:"topForm.num"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"教务老师"}},[a("el-input",{attrs:{disabled:""},model:{value:e.topForm.teacher,callback:function(t){e.$set(e.topForm,"teacher",t)},expression:"topForm.teacher"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"所属分部"}},[a("el-input",{attrs:{disabled:""},model:{value:e.topForm.section,callback:function(t){e.$set(e.topForm,"section",t)},expression:"topForm.section"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"乐队指导"}},[a("el-input",{attrs:{disabled:""},model:{value:e.topForm.boss,callback:function(t){e.$set(e.topForm,"boss",t)},expression:"topForm.boss"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"合作单位"}},[a("el-input",{attrs:{disabled:""},model:{value:e.topForm.cooperate,callback:function(t){e.$set(e.topForm,"cooperate",t)},expression:"topForm.cooperate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"上课地点"}},[a("el-input",{staticStyle:{width:"370px"},attrs:{disabled:""},model:{value:e.topForm.add,callback:function(t){e.$set(e.topForm,"add",t)},expression:"topForm.add"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"收费类型"}},[a("el-input",{attrs:{disabled:""},model:{value:e.topForm.type,callback:function(t){e.$set(e.topForm,"type",t)},expression:"topForm.type"}})],1)],1),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"order/musicalListExport",expression:"'order/musicalListExport'"}],attrs:{type:"text"},on:{click:e.musicalListExport}},[e._v("发放清单导出")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"order/musicalListDetailExport",expression:"'order/musicalListDetailExport'"}],attrs:{type:"text"},on:{click:e.musicalListDetailExport}},[e._v("分发清单导出")])],1),e._v(" "),a("div",{staticClass:"right"},[a("ul",e._l(e.processList,function(t,s){return a("li",{key:s},[e._v(e._s(t.createTime)+" "+e._s(t.realName)+" "+e._s(t.event))])}),0)])])])},J=[],Q=a("4328"),Y=a.n(Q),Z={name:"tbaseInfo",props:{teamid:{type:String,required:!0}},data:function(){return{topForm:{num:"",teacher:"",section:"",boss:"",cooperate:"",add:"",type:"",salary:""},name:"",processList:[]}},mounted:function(){var e=this;Object(o["J"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.topForm.num=t.data.id,e.topForm.teacher=t.data.educationalTeacherName,e.topForm.boss=t.data.directorUserName,e.topForm.cooperate=t.data.schoolName,e.topForm.type=t.data.chargeTypeName,e.topForm.section=t.data.organName,e.topForm.add=t.data.address,e.$emit("getname",t.data.name))}),Object(o["L"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.processList=t.data)})},methods:{creatQrCode:function(){new m.a(this.$refs.qrCodeUrl,{text:"http://www.baidu.com",width:300,height:300,colorDark:"#000000",colorLight:"#ffffff",correctLevel:m.a.CorrectLevel.H})},musicalListExport:function(){var e=this,t="/api-web/order/musicalListExport",a={},s={method:"POST",headers:{Authorization:Object(h["a"])()},data:Y.a.stringify(a),url:t,responseType:"blob"};this.$confirm("您确定导出发放清单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){f()(s).then(function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),s=URL.createObjectURL(a),r=document.createElement("a"),n=new Date,i=n.getFullYear()+""+(n.getMonth()+1)+n.getDate()+n.getHours()+n.getMinutes(),o=e.$route.query.id+"-"+i+"发放清单";r.href=s,r.setAttribute("download",o),document.body.appendChild(r),r.click()})}).catch(function(){})},musicalListDetailExport:function(){var e=this,t="/api-web/order/musicalListDetailExport",a={musicGroupId:this.$route.query.id},s={method:"POST",headers:{Authorization:Object(h["a"])()},data:Y.a.stringify(a),url:t,responseType:"blob"};this.$confirm("您确定导出分发清单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){f()(s).then(function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),s=URL.createObjectURL(a),r=document.createElement("a"),n=new Date,i=n.getFullYear()+""+(n.getMonth()+1)+n.getDate()+n.getHours()+n.getMinutes(),o=e.$route.query.id+"-"+i+"分发清单";r.href=s,r.setAttribute("download",o),document.body.appendChild(r),r.click()})}).catch(function(){})}}},X=Z,ee=(a("7558"),Object(g["a"])(X,W,J,!1,null,null,null)),te=ee.exports,ae={name:"teamDetail",data:function(){return{activeIndex:this.$route.query.checkIndex?this.$route.query.checkIndex:"1",teamid:"",name:"",stepImgs:{PROGRESS:a("7a7c"),PAUSE:a("c34d")},status:"",Fsearch:null,Frules:null}},created:function(){var e=this.$route.query;this.status=this.$route.query.status,this.teamid=e.id,this.name=e.name,this.$route.query.search&&(this.Fsearch=this.$route.query.search),this.$route.query.rules&&(this.Frules=this.$route.query.rules)},mounted:function(){},methods:{handleClick:function(e){this.activeIndex=e.name},onCancel:function(){this.$router.push({path:"/business/teamDetail",query:{search:this.Fsearch,rules:this.Frules}})},getname:function(e){this.name=e,localStorage.setItem("teamName",e)},resetTeam:function(){this.$router.push({path:"/business/teamBuild",query:{type:"resetTeam",id:this.teamid}})}},components:{studentList:k,teacherList:x,courseList:A,classList:V,salaryList:H,baseinfo:te}},se=ae,re=(a("5dbf"),Object(g["a"])(se,s,r,!1,null,"5f3752c7",null));t["default"]=re.exports}}]);