1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72ee9ad7"],{"0464":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-form",{ref:"form",attrs:{model:e.list}},[a("el-table",{staticStyle:{width:"100%","text-alogn":"center"},attrs:{data:e.form}},[a("el-table-column",{key:"courseType",attrs:{label:"课程类型",prop:"courseType",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"form."+t.$index+".courseType",rules:{required:!0,message:"请选择课程类型",trigger:"change"}}},[a("el-select",{staticStyle:{width:"90%!important"},attrs:{size:"small",placeholder:"课程类型",clearable:"",disabled:e.isDisabled},on:{change:function(a){return e.$listeners.priceChange(t.row,t.$index)}},model:{value:e.list.form[t.$index].courseType,callback:function(a){e.$set(e.list.form[t.$index],"courseType",a)},expression:"list.form[scope.$index].courseType"}},e._l(e.courseUnitPriceSettingsByType,function(t,r){return a("el-option",{key:r,attrs:{disabled:e.isOptionDisabled(r),label:e.courseType[r],value:r}})}),1)],1)]}}])}),e._v(" "),e.isCommon?a("el-table-column",{key:"isStudentOptional",attrs:{label:"是否可选",prop:"isStudentOptional",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"form."+t.$index+".isStudentOptional",rules:{required:!0,message:"请选择是否可选",trigger:"change"}}},[a("el-select",{staticStyle:{width:"90%!important"},attrs:{size:"small",placeholder:"是否可选",disabled:e.isDisabled,clearable:""},model:{value:e.list.form[t.$index].isStudentOptional,callback:function(a){e.$set(e.list.form[t.$index],"isStudentOptional",a)},expression:"list.form[scope.$index].isStudentOptional"}},e._l(e.boolOptionsOptions,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1)]}}],null,!1,629554011)}):e._e(),e._v(" "),a("el-table-column",{key:"courseTotalMinuties",attrs:{label:"课程时长(分钟)",prop:"courseTotalMinuties",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"form."+t.$index+".courseTotalMinuties",rules:{required:!0,message:"请输入课程时长",trigger:"blur"}}},[a("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:0,min:1,disabled:e.isDisabled,placeholder:"课程时长"},on:{change:function(a){return e.$listeners.priceChange(t.row,t.$index)}},model:{value:e.list.form[t.$index].courseTotalMinuties,callback:function(a){e.$set(e.list.form[t.$index],"courseTotalMinuties",a)},expression:"list.form[scope.$index].courseTotalMinuties"}})],1)]}}])}),e._v(" "),a("el-table-column",{key:"courseCurrentPrice",attrs:{label:"现价(元)",prop:"courseCurrentPrice",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"form."+t.$index+".courseCurrentPrice",rules:{required:!0,message:"请输入现价",trigger:"blur"}}},[a("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",controls:!1,precision:2,min:0,disabled:!e.isUserType,placeholder:"请输入现价"},on:{change:e.change},model:{value:e.list.form[t.$index].courseCurrentPrice,callback:function(a){e.$set(e.list.form[t.$index],"courseCurrentPrice",a)},expression:"list.form[scope.$index].courseCurrentPrice"}})],1)]}}])}),e._v(" "),a("el-table-column",{key:"courseOriginalPrice",attrs:{prop:"courseOriginalPrice",label:"原价(元)"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{attrs:{prop:"form."+t.$index+".courseOriginalPrice",rules:{required:!0,message:"请输入原价",trigger:"blur"}}},[a("el-input-number",{staticClass:"number-input",staticStyle:{width:"90%!important"},attrs:{size:"small",disabled:!e.isUserType,controls:!1,precision:2,min:0,placeholder:"请输入原价"},model:{value:e.list.form[t.$index].courseOriginalPrice,callback:function(a){e.$set(e.list.form[t.$index],"courseOriginalPrice",a)},expression:"list.form[scope.$index].courseOriginalPrice"}})],1)]}}])}),e._v(" "),e.clearable?a("el-table-column",{key:"close",attrs:{prop:"close",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.form.length>1?a("i",{staticClass:"el-icon-circle-close",on:{click:function(a){e.$listeners.remove&&e.$listeners.remove(t.$index)}}}):e._e()]}}],null,!1,206159554)}):e._e()],1),e._v(" "),!e.isCommon&&e.$listeners.create?a("el-button",{staticStyle:{width:"100%",margin:"20px 0"},attrs:{icon:"el-icon-circle-plus-outline",plain:"",type:"info",size:"small"},on:{click:e.$listeners.create}},[e._v("新增课程类型")]):e._e()],1)},s=[],n=(a("6762"),a("2fdb"),a("267e")),i=a("ed08"),o=a("6612"),l=a.n(o),u={props:["form","isCommon","isDisabled","isUserType","courseUnitPriceSettingsByType","clearable"],data:function(){return{courseType:n["d"],courseTypeOptions:this.courseUnitPriceSettingsByType,boolOptionsOptions:Object(i["b"])(n["c"])}},computed:{list:function(){return console.log(this.form),{form:this.form}}},methods:{change:function(e){this.$listeners.moneyChange()},isOptionDisabled:function(e){var t=this.form.map(function(e){return e.courseType});return t.includes(e)},getOldMoney:function(e){return l()(this.list.form[e].courseTotalMinuties*this.list.form[e].unitPrice).format("0,0.00")}}},c=u,d=(a("9cbd"),a("2877")),m=Object(d["a"])(c,r,s,!1,null,"6d41e198",null);t["a"]=m.exports},"075d":function(e,t,a){"use strict";var r=a("b1b0"),s=a.n(r);s.a},"09f4":function(e,t,a){"use strict";a.d(t,"a",function(){return i}),Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function s(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function 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);s(n),u<t?r(e):a&&"function"===typeof a&&a()};c()}},"0d5e":function(e,t,a){"use strict";var r=a("1d4d"),s=a.n(r);s.a},1672:function(e,t,a){"use strict";a.d(t,"f",function(){return s}),a.d(t,"c",function(){return n}),a.d(t,"g",function(){return i}),a.d(t,"a",function(){return o}),a.d(t,"d",function(){return l}),a.d(t,"e",function(){return u}),a.d(t,"h",function(){return c}),a.d(t,"b",function(){return d});var r=a("829b"),s=function(e){return Object(r["a"])({url:"/api-web/musicGroupPaymentCalender/queryPage",data:{},params:e,requestType:"form"})},n=function(e){return Object(r["a"])({url:"/api-web/musicGroupPaymentCalender/add",data:e,method:"post"})},i=function(e){return Object(r["a"])({url:"/api-web/musicGroupPaymentCalender/auditListDetail",data:{},params:e,method:"get"})},o=function(e){return Object(r["a"])({url:"/api-web/studentRegistration/getMusicGroupStu",data:{},params:e,method:"get"})},l=function(e){return Object(r["a"])({url:"/api-web/musicGroupPaymentCalenderDetail/batchAdd",data:e,method:"post"})},u=function(e){return Object(r["a"])({url:"/api-web/musicGroupPaymentCalender/update",data:e,method:"post"})},c=function(e){return Object(r["a"])({url:"/api-web/musicGroupOrganizationCourseSettingsDetail/queryByMusicGroupOrganizationCourseSettingsId",data:{},params:e,method:"get"})},d=function(e){return Object(r["a"])({url:"/api-web/musicGroupPaymentCalender/makesureSchoolePaid",data:e,method:"post",requestType:"form"})}},"1d4d":function(e,t,a){},2136:function(e,t,a){},"2ec8":function(e,t,a){},3539:function(e,t,a){"use strict";var r=a("842a"),s=a.n(r);s.a},"46f6":function(e,t,a){"use strict";a.d(t,"b",function(){return o}),a.d(t,"a",function(){return l});var r=a("b775"),s=a("4328"),n=a.n(s),i="/api-web";function o(e){return Object(r["a"])({url:i+"/visit/queryPage",method:"get",params:e})}function l(e){return Object(r["a"])({url:i+"/visit/add",method:"post",data:n.a.stringify(e)})}},5137:function(e,t,a){"use strict";a.d(t,"p",function(){return o}),a.d(t,"h",function(){return l}),a.d(t,"d",function(){return u}),a.d(t,"g",function(){return c}),a.d(t,"f",function(){return d}),a.d(t,"i",function(){return m}),a.d(t,"c",function(){return p}),a.d(t,"v",function(){return f}),a.d(t,"q",function(){return b}),a.d(t,"u",function(){return h}),a.d(t,"o",function(){return v}),a.d(t,"t",function(){return g}),a.d(t,"l",function(){return y}),a.d(t,"n",function(){return k}),a.d(t,"a",function(){return O}),a.d(t,"j",function(){return S}),a.d(t,"b",function(){return _}),a.d(t,"s",function(){return T}),a.d(t,"k",function(){return F}),a.d(t,"y",function(){return C}),a.d(t,"x",function(){return I}),a.d(t,"m",function(){return j}),a.d(t,"r",function(){return x}),a.d(t,"z",function(){return L}),a.d(t,"w",function(){return w}),a.d(t,"e",function(){return A}),a.d(t,"A",function(){return M}),a.d(t,"B",function(){return G});var r=a("b775"),s=a("4328"),n=a.n(s),i="/api-web";function o(e){return Object(r["a"])({url:i+"/studentManage/queryStudentList",method:"get",params:e})}function l(e){return Object(r["a"])({url:i+"/studentManage/findStudentVipGroupClass",method:"get",params:e})}function u(e){return Object(r["a"])({url:i+"/studentManage/findStudentBaseInfo",method:"get",params:e})}function c(e){return Object(r["a"])({url:i+"/studentManage/findStudentMusicGroups",method:"get",params:e})}function d(e){return Object(r["a"])({url:i+"/studentManage/findStudentCourses",method:"get",params:e})}function m(e){return Object(r["a"])({url:i+"/studentManage/findStudentVipGroups",method:"get",params:e})}function p(e){return Object(r["a"])({url:i+"/studentManage/findStudentAttendances",method:"get",params:e})}function f(e){return Object(r["a"])({url:i+"/studentWithdraw/queryPage",method:"get",params:e})}function b(e){return Object(r["a"])({url:i+"/studentManage/queryStudentPayment",method:"get",params:e})}function h(e){return Object(r["a"])({url:i+"/order/queryPage",method:"get",params:e})}function v(e){return Object(r["a"])({url:i+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:e})}function g(e){return Object(r["a"])({url:i+"/studentRegistration/batchUpdateSubject",method:"post",data:n.a.stringify(e)})}function y(e){return Object(r["a"])({url:i+"/studentRegistration/queryFeeDetail",method:"get",params:e})}function k(e){return Object(r["a"])({url:i+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:e})}function O(e){return Object(r["a"])({url:i+"/studentRegistration/insertStudent",method:"POST",data:e})}function S(e){return Object(r["a"])({url:i+"/classGroupStudent/findAllStudent",method:"POST",data:n.a.stringify(e)})}function _(e){return Object(r["a"])({url:i+"/classGroupStudent/addStudents",method:"POST",data:n.a.stringify(e)})}function T(e){return Object(r["a"])({url:i+"/classGroupStudent/del",method:"POST",data:n.a.stringify(e)})}function F(e){return Object(r["a"])({url:i+"/studentManage/queryStudentClassGroup",method:"get",params:e})}function C(e){return Object(r["a"])({url:i+"/userCashAccount/updateCourseBalance",method:"post",data:n.a.stringify(e)})}function I(e){return Object(r["a"])({url:i+"/userCashAccount/updateBalance",method:"post",data:n.a.stringify(e)})}function j(e){return Object(r["a"])({url:i+"/studentManage/queryUserByPhone",method:"get",params:e})}function x(e){return Object(r["a"])({url:i+"/studentManage/register",method:"post",data:n.a.stringify(e)})}function L(e){return Object(r["a"])({url:i+"/studentManage/studentUpdate",method:"post",data:n.a.stringify(e)})}function w(e){return Object(r["a"])({url:i+"/userCashAccount/transferCourseBalanceToBalance",method:"post",data:n.a.stringify(e)})}function A(e){return Object(r["a"])({url:i+"/coursesGroupController/findStudentCourseGroupsWithWeb",method:"get",params:e})}function M(e){return Object(r["a"])({url:i+"/userCashAccountDetail/queryPage",method:"get",params:e})}function G(e){return Object(r["a"])({url:i+"/userCoursesAccount/queryPage",method:"get",params:e})}},"527a":function(e,t,a){},6814:function(e,t,a){"use strict";var r=a("2136"),s=a.n(r);s.a},"73b3":function(e,t,a){"use strict";var r=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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():t)},expression:"topForm.type"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"缴费方式",prop:"paymentPattern"}},[a("el-select",{staticStyle:{width:"220px"},attrs:{placeholder:"缴费方式",clearable:"",filterable:"",disabled:""},model:{value:e.topForm.paymentPattern,callback:function(t){e.$set(e.topForm,"paymentPattern","string"===typeof t?t.trim():t)},expression:"topForm.paymentPattern"}},[a("el-option",{attrs:{value:0,label:"按月"}}),e._v(" "),a("el-option",{attrs:{value:1,label:"按季"}}),e._v(" "),a("el-option",{attrs:{value:2,label:"一次性"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"缴费有效期开始",prop:"paymentValidStartDate"}},[a("el-date-picker",{attrs:{type:"date",disabled:"","value-format":"yyyy-MM-dd",placeholder:"有效期开始日期"},model:{value:e.topForm.paymentValidStartDate,callback:function(t){e.$set(e.topForm,"paymentValidStartDate","string"===typeof t?t.trim():t)},expression:"topForm.paymentValidStartDate"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"缴费有效期结束",prop:"paymentValidEndDate"}},[a("el-date-picker",{attrs:{type:"date",disabled:"","value-format":"yyyy-MM-dd",placeholder:"有效期结束日期"},model:{value:e.topForm.paymentValidEndDate,callback:function(t){e.$set(e.topForm,"paymentValidEndDate","string"===typeof t?t.trim():t)},expression:"topForm.paymentValidEndDate"}})],1)],1),e._v(" "),"look"!==e.lookType?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._e(),e._v(" "),"look"!==e.lookType?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"order/musicalListDetailExport",expression:"'order/musicalListDetailExport'"}],attrs:{type:"text"},on:{click:e.musicalListDetailExport}},[e._v("分发清单导出")]):e._e()],1)])])},s=[],n=(a("7f7f"),a("1cc7")),i=a("bc3a"),o=a.n(i),l=a("4328"),u=a.n(l),c=a("5f87"),d=a("3908"),m={name:"tbaseInfo",data:function(){return{id:"",topForm:{num:"",teacher:"",section:"",paymentPattern:"",paymentValidStartDate:"",paymentValidEndDate:"",boss:"",cooperate:"",add:"",type:"",salary:""},name:"",processList:[],lookType:""}},created:function(){this.init()},activated:function(){this.init()},methods:{init:function(){var e=this;this.teamid=this.$route.query.id,this.lookType=this.$route.query.type,Object(n["ab"])({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.paymentPattern=t.data.paymentPattern,e.topForm.paymentValidStartDate=t.data.paymentValidStartDate,e.topForm.paymentValidEndDate=t.data.paymentValidEndDate,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))})},musicalListExport:function(){var e=this,t="/api-web/order/musicalListExport",a={musicGroupId:this.$route.query.id},r={method:"POST",headers:{Authorization:Object(c["a"])()},data:u.a.stringify(a),url:t,responseType:"blob"};this.$confirm("您确定导出订货清单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){d["a"].startLoading(),o()(r).then(function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),r=new Response(a).text();r.then(function(t){if(-1!=t.indexOf("code")){var r=JSON.parse(t);e.$message.error(r.msg)}else{var s=URL.createObjectURL(a),n=document.createElement("a"),i=new Date,o=i.getFullYear()+""+(i.getMonth()+1)+i.getDate()+i.getHours()+i.getMinutes(),l=e.$route.query.id+"-"+o+"订货清单";n.href=s,n.setAttribute("download",l),document.body.appendChild(n),n.click()}}),d["a"].endLoading()}).catch(function(t){e.$message.error("导出数据失败,请联系管理员"),d["a"].endLoading()})}).catch(function(){})},musicalListDetailExport:function(){var e=this,t="/api-web/order/musicalListDetailExport",a={musicGroupId:this.$route.query.id},r={method:"POST",headers:{Authorization:Object(c["a"])()},data:u.a.stringify(a),url:t,responseType:"blob"};this.$confirm("您确定导出分发清单","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){d["a"].startLoading(),o()(r).then(function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),r=new Response(a).text();r.then(function(t){if(-1!=t.indexOf("code")){var r=JSON.parse(t);e.$message.error(r.msg)}else{var s=URL.createObjectURL(a),n=document.createElement("a"),i=new Date,o=i.getFullYear()+""+(i.getMonth()+1)+i.getDate()+i.getHours()+i.getMinutes(),l=e.$route.query.id+"-"+o+"分发清单";n.href=s,n.setAttribute("download",l),document.body.appendChild(n),n.click()}}),d["a"].endLoading()}).catch(function(t){e.$message.error("导出数据失败,请联系管理员"),d["a"].endLoading()})}).catch(function(){})}}},p=m,f=(a("7558"),a("2877")),b=Object(f["a"])(p,r,s,!1,null,null,null);t["a"]=b.exports},7558:function(e,t,a){"use strict";var r=a("2ec8"),s=a.n(r);s.a},"7a3c":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-form",{ref:"form",class:e.className,attrs:{"label-width":"160px",model:e.form,"label-suffix":": "}},[a("el-form-item",{attrs:{label:"缴费金额(元)",prop:"paymentAmount",rules:[{required:!0,message:"请输入缴费金额",trigger:"blur"}]}},[a("el-input-number",{staticClass:"number-input",attrs:{controls:!1,precision:2,min:0,disabled:(e.isUserType||e.isCommon&&e.isUserType)&&e.isDisabled,placeholder:"请输入缴费金额"},model:{value:e.form.paymentAmount,callback:function(t){e.$set(e.form,"paymentAmount",t)},expression:"form.paymentAmount"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"缴费方式",prop:"paymentPattern",rules:[{required:!0,message:"请选择缴费方式",trigger:"change"}]}},[a("el-select",{staticStyle:{width:"100%!important"},attrs:{placeholder:"请选择缴费方式"},model:{value:e.form.paymentPattern,callback:function(t){e.$set(e.form,"paymentPattern",t)},expression:"form.paymentPattern"}},e._l(e.paymentPatternTypeOptions,function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),e.isUserType?a("el-form-item",{attrs:{label:"缴费时间",prop:"paymentDate",rules:[{required:!0,message:"请选择缴费时间",trigger:"blur"}]}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.paymentDate,callback:function(t){e.$set(e.form,"paymentDate",t)},expression:"form.paymentDate"}})],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:"缴费有效期",prop:"paymentValid",rules:[{required:!0,message:"请选择缴费有效期",trigger:"blur"}]}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.paymentValid,callback:function(t){e.$set(e.form,"paymentValid",t)},expression:"form.paymentValid"}})],1)],1)},s=[],n=a("267e"),i=a("ed08"),o={props:["form","className","isUserType","isDisabled","isCommon"],data:function(){return{paymentPatternTypeOptions:Object(i["b"])(n["m"])}}},l=o,u=(a("b408"),a("2877")),c=Object(u["a"])(l,r,s,!1,null,"500656be",null);t["a"]=c.exports},"7a7c":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACaZJREFUeAHtXGtsVMcVnnPv7joEY9LgtQlNHUCNkhbSJrgv1CjkQSq1UqiUBKtSklaJmgLGa+pgUwlVKlWrUtkLFK/tgPIjKqItcUr7p1X/hBqiVqqUQpQAaVNF5VFkbK9JgWJj1rt3+p27D9+7u3efc9c2+Er2zpyZOXPOd8+851wSFXx2SKn1vLrrITLo81LK+wT+SIhlQsgaQWKBlGIBi0Mk/ick/gRdlUKcAeFDwp/U5Hstm7a+u4PIqJTYkM/d51Oh0JIJcf0ZKekJ1LQGYNxRXo10GeWPEckjt4l5h/8TCAyWxy93aVcAWvr667eNj196RsbktyWJJ2Apem4xSkwlipEUR0inA7ffvujw2RdfnCiRk2MxpQD5e3uryRjbKAVtRRNa7FirCwlogkMk5C6pzd8X3rz5mqoqlAD06MCA59Tpv7eSlNvRjyxSJVwpfNB/XZJEP1u54gvdRx97LFoKD2uZsgHy9wYfFobRB2AesDKe7jCAOik0rTm8uf0v5chSMkAr+vt9I8Png1LIFvQxJfMpR/i8ZdGTk6CeuvqG9tNNTZG8+bNkKEmx+r49y2PRaD9GpMYsPGcgiY7rHk/TcHPbv4sVrmiA6kNdj8eE/B3mKQuLrWxa85O4ogt6ejjQ8edi5NCKyewPda6PSfmnWQcOK4kXyrKzDsXoXDBAtd1dL6MjPgTmvmIqmGF5fawD61KoXAU1MUY9AU7BgBYqwDTlMzDKfSsc2PZmvvrzAmT2OdysZrflZMMhohN9PV+flBMgc7SKTZ6YlX1ONkjSadxx695VuUY3xybD8xxzKJ9to1U6CLni3HFjusK6OmVzBIgngbNnnuOkXiF02RjXNXverE2Mlw/SkG/P2Blydl1Kp/KMW6NHsi1LMiyIF568trplwGFYeakEnU3d02DOAIhX5TNt4ZkmsytR1pl1T2dua2K8nyOMsbPIPK1bFulCVirOWyVCm7/Uup9ksyBzs+sWBYdfAhsGY2B9ISkL4m3SsWujZxTuBA74SGvWRdVVa4Wqw9f1G3dRVL6GbZeHVPDmncn51bXLktu3niRTcw9Z4TYpkD8wGGj/Z5K/i7+D/p6uN4QhlADEBsJYQN5fscwpgHiDXa0S1Obv2TUidHExjKMatbzj3Pw4QhIx4160je+p5J/AwgTI7IP4aMY8fVBYC0z+c9KI/VFEY79VyNbOKmocwnztDfQdy+0J5cUYC8aEuZgATciJZ/EW3DmaEVRXnrjOpQGMO7yBBZ/lpQCSJPlQz5UHbbr67v7d81Qzb9y/34txp8xDSGepEgedQtuB42Ah6RHnrOWnTIzQZ8rnYudwITJ2v52iPLaGsTHPyt18Eyw2yaiSEcYKgUHGKmtcfVjewfcINL5IoJ65nSOG/C9bKXWhzm3+UHCLlZYrjE27ZbWhzt/XvfaL+lQ+Kb+UCrsUYGw09BH3ucQ/xRY3NJ4ym3KKIh6U0uhcsn9vwxTJOWQIuRN2+JTHoCrOBZlxiCvXOZdQk8LYoP+pAECYfPWG9nw1JbZOP8eVFm/kRuSnKZpDoLYv2IjRaj2s8ODghi3nOVt93+7V+LnboYg6MgOEipep45iDE8VSTWqkueN9TOl/CVt4IdcJwyd7ehZR1MA8iq5hPvLjJHfMrzJW3ck0lb+MjYZJ0UKVTJ14oZk9Xf9q18pkelWd1ozV8wlcnOr1d3dlKOzft/feiBwfwEWEe3DG/hw2189w2SWh4P1sUUk+7v7KGsIbvIQ3eae7FcW544387dHFSx9+s6kpxpTa/Xvuokj0MNr6ajS5ozgcCHq8ntOxySiu0MhmnKt7cKVl40jrtgOcP76gDv8VALk8gnFtsFtsf8ByZXU86v5/WNFXjg6fSzWV0Q1tFxt8NWvQ3HaiL8Q5v/xDdHLyDMD5AWjvktBWJ8Fh6bDbwLdIKgIO14e6FsCCOm8g7LirzxlVP7CMLeHWjm4r308f7K65/N+JLkxanxWa58nRlrYT1vTaULBNSGO3lVaBcIRwajoKpCq+gwjz3dvgW9hxfMOGyaSi/p7gd/DafhQOdCxP0hr6+j5xPTq2D1bVlKRV6jfexMzbpJWqcqoevJQt5yJX3lu8L/jZKao9xGnjsbGT0wGOKQmwQR9EV+1iVSpGHwup/WRoY/sHTjVyGt7iK2iSo0553KXTVQ0dpzl8uluRnTsUPoXRqnG0tf039pTMWLilo99b5WtEmfczU92lMDYaxrIP3a3Gzh2j00c0z7t2aFPbWXuKc4xn0Hp11VrkqKisjI0GgStWKZrLhEfzrBt5+fvDznBkTxl6qTUsNH0dLOl69hzqqYyNxtf71bPOzpGk9sOLm9v+kT01P3W0Zeu/sHu1PX9ONTkYG419H9BR8/V+t58L/sUNoXIrucdb0wvTP1cun/zl6TJjo+2IO4Ycy1+gzBwa7Sr1Kq61Zp43oePstNJcCh9jbDDM85pDHnGpkjhb+FTouvi1qjp887RDEDo1wVTF18oniYkJEHvNINGwZlAcPja8qWNEFc8L333lY3ZiUcUvgw9eaAKT+LEPuxRhdHgrI6M6wlF1rBKcNKGeZ4I1g590szItiOnsUpRIV/5DmnxHNVPMcJXzTMpoxSIFEPtbYdwfSmZS+Ss93sKmEtIYx+y1oKao+9yZWTMGjEVSf+xhTT04bWg3pOiaoigIoT23tLT7EqOlAoZTLLATOYGFrLmRP0UtL4Q96I6RwLZgkkvKgpjAzmi8xE8mqvhFex5xAxxTXhJKLZ51ZwysetsA4ptV7IxmzVBqGKb6kU76NzWv+FqpPPKV83jpGx5dfxw9qJL+iHW33i7j+m1NjAl8kfH0qXdOYL/mAY6X+uDW6HasxHeWWr6YcnU9wRcMwzhQTJn0vLCekytWfnFVupdiBkBcUMU1YN7SEEJvpqroYLowKuMyCldyg/Zi47/0+wU5rgFnBcgEKRTsxulnQKUyM5UXkRYKB9ozjp5YXlsfZFWA3RjRAo9baTdnmI7Hdc2unSNAvLBkN0b0UleyF70JqOzMAh1zLaIdAWL12QuG3RgRLMkhdoZDGDFdNPP4seYEyAQJPp7o4Z9H2M3FbKWxZIe65/P5irFQeQHiTHHPPOIL1jcDSNCBNhbibci6O45inJj+JFwzD4LuS0+bJfEIW06h4LBORQHEBW41t/CiATJBmvuwAMOQ+5n7NEVufFKpcx83SUHhHJj7PI4zNraUuQ8s2eBwjsx9ossZm4yU1EfehFgbd3ko178Cp8Ak38bw+9as/chbBkoJwvr+fn1g9PyDs+kzgf8Hz2nY3WMBjb4AAAAASUVORK5CYII="},"7e78":function(e,t,a){"use strict";a.d(t,"O",function(){return o}),a.d(t,"l",function(){return l}),a.d(t,"q",function(){return u}),a.d(t,"c",function(){return c}),a.d(t,"J",function(){return d}),a.d(t,"F",function(){return m}),a.d(t,"a",function(){return p}),a.d(t,"G",function(){return f}),a.d(t,"D",function(){return b}),a.d(t,"j",function(){return h}),a.d(t,"M",function(){return v}),a.d(t,"N",function(){return g}),a.d(t,"b",function(){return y}),a.d(t,"H",function(){return k}),a.d(t,"E",function(){return O}),a.d(t,"A",function(){return S}),a.d(t,"x",function(){return _}),a.d(t,"y",function(){return T}),a.d(t,"o",function(){return F}),a.d(t,"B",function(){return C}),a.d(t,"p",function(){return I}),a.d(t,"z",function(){return j}),a.d(t,"v",function(){return x}),a.d(t,"I",function(){return L}),a.d(t,"w",function(){return w}),a.d(t,"i",function(){return A}),a.d(t,"h",function(){return M}),a.d(t,"K",function(){return G}),a.d(t,"n",function(){return P}),a.d(t,"g",function(){return R}),a.d(t,"L",function(){return E}),a.d(t,"e",function(){return N}),a.d(t,"u",function(){return q}),a.d(t,"r",function(){return D}),a.d(t,"d",function(){return V}),a.d(t,"f",function(){return $}),a.d(t,"P",function(){return U}),a.d(t,"t",function(){return H}),a.d(t,"C",function(){return B}),a.d(t,"m",function(){return z}),a.d(t,"k",function(){return K}),a.d(t,"s",function(){return W});var r=a("b775"),s=a("4328"),n=a.n(s),i="/api-web";function o(e){return Object(r["a"])({url:i+"/vipGroupCategory/queryAll",method:"get",params:e})}function l(e){return Object(r["a"])({url:i+"/vipGroupCategory/findTeacherDefaultSalary",method:"post",data:n.a.stringify(e)})}function u(e){return Object(r["a"])({url:i+"/vipGroupDefaultClassesCycle/queryAll",method:"get",params:e})}function c(e){return Object(r["a"])({url:i+"/vipGroupCategory/add",method:"post",data:n.a.stringify(e)})}function d(e){return Object(r["a"])({url:i+"/vipGroupCategory/update",method:"post",data:n.a.stringify(e)})}function m(e){return Object(r["a"])({url:i+"/vipGroupCategory/delete",method:"post",data:n.a.stringify(e)})}function p(e){return Object(r["a"])({url:i+"/vipGroupDefaultClassesCycle/add",method:"post",data:n.a.stringify(e)})}function f(e){return Object(r["a"])({url:i+"/vipGroupDefaultClassesCycle/update",method:"post",data:n.a.stringify(e)})}function b(e){return Object(r["a"])({url:i+"/vipGroupDefaultClassesCycle/delete",method:"post",data:n.a.stringify(e)})}function h(e){return Object(r["a"])({url:i+"/vipGroupDefaultClassesUnitPrice/add",method:"post",data:n.a.stringify(e)})}function v(e){return Object(r["a"])({url:i+"/vipGroupActivity/queryPage",method:"get",params:e})}function g(e){return Object(r["a"])({url:i+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:e})}function y(e){return Object(r["a"])({url:i+"/vipGroupActivity/addVipGroupActivity",method:"POST",data:e})}function k(e){return Object(r["a"])({url:i+"/vipGroupActivity/update",method:"POST",data:e})}function O(e){return Object(r["a"])({url:i+"/vipGroupActivity/delete",method:"POST",data:n.a.stringify(e)})}function S(e){return Object(r["a"])({url:i+"/vipGroupManage/queryAll",method:"GET",params:e})}function _(e){return Object(r["a"])({url:i+"/vipGroupManage/getVipGroupDetail",method:"GET",params:e})}function T(e){return Object(r["a"])({url:i+"/vipGroupManage/getVipGroupDetailForAudit",method:"GET",params:e})}function F(e){return Object(r["a"])({url:i+"/vipGroupManage/findVipGroupStudents",method:"GET",params:e})}function C(e){return Object(r["a"])({url:i+"/vipGroupManage/applyRefundForStudent",method:"POST",data:n.a.stringify(e)})}function I(e){return Object(r["a"])({url:i+"/vipGroupManage/findVipGroupTeachingRecord",method:"get",params:e})}function j(e){return Object(r["a"])({url:i+"/vipGroupManage/findVipGroupSalarys",method:"get",params:e})}function x(e){return Object(r["a"])({url:i+"/vipGroupManage/findVipGroupAttendanceStudents",method:"get",params:e})}function L(e){return Object(r["a"])({url:i+"/vipGroupManage/classStartDateAdjust",method:"POST",data:n.a.stringify(e)})}function w(e){return Object(r["a"])({url:i+"/vipGroupManage/getVipGroupCostCount",method:"POST",params:e})}function A(e){return Object(r["a"])({url:i+"/vipGroupManage/vipGroupApply",method:"POST",data:e})}function M(e){return Object(r["a"])({url:i+"/vipGroupManage/stopVipGroup",method:"POST",data:n.a.stringify(e)})}function G(e){return Object(r["a"])({url:i+"/vipGroupManage/updateVipBaseInfo",method:"POST",data:e})}function P(e){return Object(r["a"])({url:i+"/courseSchedule/findVipGroupCourseSchedules",method:"POST",data:n.a.stringify(e)})}function R(e){return Object(r["a"])({url:i+"/courseSchedule/batchDelete",method:"POST",data:n.a.stringify(e)})}function E(e){return Object(r["a"])({url:i+"/courseSchedule/vipCourseAdjust",method:"POST",data:e})}function N(e){return Object(r["a"])({url:i+"/vipGroupManage/appendVipGroupCourseSchedules",method:"POST",data:e})}function q(e){return Object(r["a"])({url:i+"/vipGroupManage/getStudentSurplusCourseFee",method:"get",params:e})}function D(e){return Object(r["a"])({url:i+"/vipGroupManage/findHaveCourseBalanceStudents",method:"get",params:e})}function V(e){return Object(r["a"])({url:i+"/vipGroupManage/addVipGroupStudents",method:"get",params:e})}function $(e){return Object(r["a"])({url:i+"/courseSchedule/batchAppendVipGroupCourses",method:"POST",data:e})}function U(e){return Object(r["a"])({url:i+"/vipGroupManage/pauseForStudent",method:"POST",data:n.a.stringify(e)})}function H(e){return Object(r["a"])({url:i+"/vipGroupManage/getStudentPauseInfo",method:"POST",data:n.a.stringify(e)})}function B(e){return Object(r["a"])({url:i+"/vipGroupManage/recoverForStudent",method:"POST",data:e})}function z(e){return Object(r["a"])({url:i+"/vipGroupManage/findTeacherWithVipGroupOrganAndSubject",method:"get",params:e})}function K(e){return Object(r["a"])({url:i+"/vipGroupManage/deleteVipGroup",method:"post",data:n.a.stringify(e)})}function W(e){return Object(r["a"])({url:i+"/vipGroupManage/getPublicOrgans",method:"get",params:e})}},8018:function(e,t,a){"use strict";a.d(t,"w",function(){return o}),a.d(t,"t",function(){return l}),a.d(t,"g",function(){return u}),a.d(t,"e",function(){return c}),a.d(t,"i",function(){return d}),a.d(t,"v",function(){return m}),a.d(t,"u",function(){return p}),a.d(t,"n",function(){return f}),a.d(t,"B",function(){return b}),a.d(t,"C",function(){return h}),a.d(t,"y",function(){return v}),a.d(t,"x",function(){return g}),a.d(t,"A",function(){return y}),a.d(t,"f",function(){return k}),a.d(t,"q",function(){return O}),a.d(t,"z",function(){return S}),a.d(t,"s",function(){return _}),a.d(t,"h",function(){return T}),a.d(t,"m",function(){return F}),a.d(t,"r",function(){return C}),a.d(t,"a",function(){return I}),a.d(t,"l",function(){return j}),a.d(t,"o",function(){return x}),a.d(t,"p",function(){return L}),a.d(t,"k",function(){return w}),a.d(t,"d",function(){return A}),a.d(t,"c",function(){return M}),a.d(t,"j",function(){return G}),a.d(t,"b",function(){return P});var r=a("b775"),s=a("4328"),n=a.n(s),i="/api-web";function o(e){return Object(r["a"])({url:i+"/teacher/queryPage",method:"get",params:e})}function l(e){return Object(r["a"])({url:i+"/teacher/get",method:"get",params:e})}function u(e){return Object(r["a"])({url:i+"/teacher/getTeacherMusicClass",method:"get",params:e})}function c(e){return Object(r["a"])({url:i+"/demoGroup/findTeacherDemoGroups",method:"get",params:e})}function d(e){return Object(r["a"])({url:i+"/teacherAttendance/getTeacherPersonalAttendances",method:"get",params:e})}function m(e){return Object(r["a"])({url:i+"/teacher/queryCloses",method:"get",params:e})}function p(e){return Object(r["a"])({url:i+"/teacherLeaveRecord/queryPage",method:"get",params:e})}function f(e){return Object(r["a"])({url:i+"/teacher/sumTeacherNoPay",method:"get",params:e})}function b(e){return Object(r["a"])({url:i+"/teacherDefaultVipGroupSalary/queryPageByTeacherId",method:"get",params:e})}function h(e){return Object(r["a"])({url:i+"/teacherDefaultVipGroupSalary/upSet",method:"post",data:e})}function v(e){return Object(r["a"])({url:i+"/teacherDefaultMusicGroupSalary/queryPage",method:"get",params:e})}function g(e){return Object(r["a"])({url:i+"/teacherDefaultMusicGroupSalary/batchUpset",method:"post",data:e})}function y(e){return Object(r["a"])({url:i+"/courseSchedule/updateTeacherCoursesSalary",method:"post",data:n.a.stringify(e)})}function k(e){return Object(r["a"])({url:i+"/school/findVipSchoolByTeacher",method:"get",params:e})}function O(e){return Object(r["a"])({url:i+"/teacher/add",method:"post",data:n.a.stringify(e)})}function S(e){return Object(r["a"])({url:i+"/teacher/update",method:"post",data:n.a.stringify(e)})}function _(e){return Object(r["a"])({url:i+"/teacherFreeTime/query",method:"get",params:e})}function T(e){return Object(r["a"])({url:i+"/teacherAttendance/getTeacherPersonalAttendanceDetail",method:"get",params:e})}function F(e){return Object(r["a"])({url:i+"/teacherFreeTime/updateSet",method:"post",data:n.a.stringify(e)})}function C(e){return Object(r["a"])({url:i+"/teacherDefaultPracticeGroupSalary/queryPageByTeacherId",method:"get",params:e})}function I(e){return Object(r["a"])({url:i+"/teacherDefaultPracticeGroupSalary/update",method:"post",data:e})}function j(e){return Object(r["a"])({url:i+"/sysTenantAccount/queryTenantAccountDetail",method:"get",params:e})}function x(e){return Object(r["a"])({url:i+"/sysTenantAccount/addMinutes",method:"post",data:n.a.stringify(e)})}function L(e){return Object(r["a"])({url:i+"/sysTenantAccount/subtractMinutes",method:"post",data:n.a.stringify(e)})}function w(e){return Object(r["a"])({url:i+"/sysTenantAccount/get",method:"get",params:e})}function A(e){return Object(r["a"])({url:i+"/coursesGroupController/findTeacherCourseGroupsWithWeb",method:"get",params:e})}function M(e){return Object(r["a"])({url:i+"/courseSchedule/classGroupTeacherAdjust",method:"post",data:n.a.stringify(e)})}function G(e){return Object(r["a"])({url:i+"/teacher/queryStudent",method:"get",params:e})}function P(e){return Object(r["a"])({url:i+"/studentManage/batchUpdateAdviser",method:"post",data:n.a.stringify(e)})}},"842a":function(e,t,a){},"92e3":function(e,t,a){"use strict";a.d(t,"j",function(){return s}),a.d(t,"n",function(){return n}),a.d(t,"h",function(){return i}),a.d(t,"a",function(){return o}),a.d(t,"m",function(){return l}),a.d(t,"x",function(){return u}),a.d(t,"b",function(){return c}),a.d(t,"r",function(){return d}),a.d(t,"k",function(){return m}),a.d(t,"o",function(){return p}),a.d(t,"z",function(){return f}),a.d(t,"i",function(){return b}),a.d(t,"g",function(){return h}),a.d(t,"y",function(){return v}),a.d(t,"u",function(){return g}),a.d(t,"A",function(){return y}),a.d(t,"t",function(){return k}),a.d(t,"v",function(){return O}),a.d(t,"l",function(){return S}),a.d(t,"e",function(){return _}),a.d(t,"w",function(){return T}),a.d(t,"f",function(){return F}),a.d(t,"s",function(){return C}),a.d(t,"d",function(){return I}),a.d(t,"c",function(){return j}),a.d(t,"q",function(){return x}),a.d(t,"p",function(){return L});var r=a("267e"),s=[{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"}],n=[{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"}],i=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"综合课",value:"COMPREHENSIVE"}],o=[{label:"正常签到",value:1},{label:"异常签到",value:0}],l=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"临时工",value:"TEMPORARY"}],u=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],c=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{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:"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:"声部更换"}],m=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],p=[{value:"APPLY",text:"报名中"},{value:"PAY",text:"缴费中"},{value:"PREPARE",text:"筹备中"},{value:"PROGRESS",text:"进行中"},{value:"PAUSE",text:"暂停"},{value:"DRAFT",text:"编辑中"},{value:"AUDIT",text:"审核中"},{value:"AUDIT_FAILED",text:"审核失败"},{value:"CANCELED",text:"取消"},{value:"FEE_AUDIT",text:"费用审核中"}],f=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}],b=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],h=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],v=[{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:"试听课"}],y=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及作业回访",label:"课后及作业回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],k=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"}],O=[{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:"教谱"}],_=[{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:"高三"}],T=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],F=[{label:"90",value:"SINGLE"},{label:"90",value:"MIX"},{label:"45",value:"HIGH"},{label:"45",value:"HIGH_ONLINE"},{label:"90",value:"COMPREHENSIVE"},{label:"25",value:"PRACTICE"},{label:"25",value:"MUSIC_NETWORK"},{label:"180",value:"TRAINING_SINGLE"},{label:"180",value:"TRAINING_MIX"},{label:"40",value:"CLASSROOM"}],C=w(r["j"]),I=w(r["b"]),j=w(r["a"]),x=w(r["i"]),L=w(r["h"]);function w(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}},9607:function(e,t,a){},"9cbd":function(e,t,a){"use strict";var r=a("527a"),s=a.n(r);s.a},a00e:function(e,t,a){"use strict";var r=a("c841"),s=a.n(r);s.a},a8db:function(e,t,a){"use strict";var r=a("e265"),s=a.n(r),n=a("a4bb"),i=a.n(n);function o(e,t){if(null==e)return{};var a,r,s={},n=i()(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||(s[a]=e[a]);return s}function l(e,t){if(null==e)return{};var a,r,n=o(e,t);if(s.a){var i=s()(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}a.d(t,"a",function(){return l})},b1b0:function(e,t,a){},b408:function(e,t,a){"use strict";var r=a("9607"),s=a.n(r);s.a},b4ac:function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return n});var r=a("829b"),s=function(e){return Object(r["a"])({url:"/api-web/classGroup/queryRemainCourseTypeDuration",data:{},params:e,requestType:"form"})},n=function(e){return Object(r["a"])({url:"/api-web/classGroupStudent/updateClassGroupStudents",data:e,method:"post",requestType:"form"})}},c34d:function(e,t){e.exports="data:image/png;base64,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"},c466:function(e,t,a){"use strict";a.d(t,"h",function(){return i}),a.d(t,"c",function(){return o}),a.d(t,"d",function(){return l}),a.d(t,"e",function(){return u}),a.d(t,"f",function(){return c}),a.d(t,"g",function(){return d}),a.d(t,"b",function(){return m}),a.d(t,"a",function(){return p});a("a481");var r=a("5a0c"),s=a.n(r),n=a("56d7");function i(e){var t=e.getFullYear(),a=e.getMonth()+1,r=e.getDate();return a=a<10?"0"+a:a,r=r<10?"0"+r:r,t+"-"+a+"-"+r}function o(e){return e.setDate(1),e}function l(e){var t=e.getMonth(),a=++t,r=new Date(e.getFullYear(),a,1),s=864e5;return new Date(r-s)}function u(e){var t=new Date(e.replace(/-/g,"/")).getTime(),a=new Date(e);0==a.getDay()&&(t-=6048e5);var r=t-24*(a.getDay()-1)*60*60*1e3,s=new Date(r),n=s.getFullYear(),i=s.getMonth()+1<10?"0"+(s.getMonth()+1):s.getMonth()+1,o=s.getDate()<10?"0"+s.getDate():s.getDate(),l=n+"-"+i+"-"+o;return l}function c(e){var t=new Date(e.replace(/-/g,"/")).getTime(),a=new Date(e),r=7-a.getDay();7==r&&(r=0);var s=t+24*r*60*60*1e3,n=new Date(s),i=n.getFullYear(),o=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,l=n.getDate()<10?"0"+n.getDate():n.getDate(),u=i+"-"+o+"-"+l;return u}function d(e){var t=new Date(e.replace(/-/g,"/")).getDay();return 0===t&&(t=7),t}function m(e,t,a){return Math.abs(s()(e+" "+t).diff(e+" "+a,"Minute"))}function p(e,t,a){var r=s()(e+" "+t).add(a,"minute");return console.log(),s()(e+" 23:59").isBefore(r)?(n["$message"].error("课程时间无法跨天请重新设置开始时间"),""):r.format("HH:mm")}},c841:function(e,t,a){},d349:function(e,t,a){"use strict";a.d(t,"d",function(){return u}),a.d(t,"c",function(){return c}),a.d(t,"e",function(){return d}),a.d(t,"b",function(){return m}),a.d(t,"p",function(){return p}),a.d(t,"z",function(){return f}),a.d(t,"A",function(){return b}),a.d(t,"g",function(){return h}),a.d(t,"k",function(){return v}),a.d(t,"f",function(){return g}),a.d(t,"l",function(){return y}),a.d(t,"s",function(){return k}),a.d(t,"q",function(){return O}),a.d(t,"r",function(){return S}),a.d(t,"h",function(){return _}),a.d(t,"i",function(){return T}),a.d(t,"n",function(){return F}),a.d(t,"j",function(){return C}),a.d(t,"t",function(){return I}),a.d(t,"B",function(){return j}),a.d(t,"m",function(){return x}),a.d(t,"u",function(){return L}),a.d(t,"x",function(){return w}),a.d(t,"v",function(){return A}),a.d(t,"w",function(){return M}),a.d(t,"o",function(){return G}),a.d(t,"a",function(){return P}),a.d(t,"y",function(){return R});var r=a("a8db"),s=a("b775"),n=a("829b"),i=a("4328"),o=a.n(i),l="/api-web";function u(e){return Object(s["a"])({url:l+"/organization/queryPage",method:"get",params:e})}function c(e){return Object(s["a"])({url:l+"/organization/add",method:"post",data:o.a.stringify(e)})}function d(e){return Object(s["a"])({url:l+"/organization/update",method:"post",data:o.a.stringify(e)})}function m(e){return Object(s["a"])({url:l+"/area/queryChild",method:"get",params:e})}function p(e){return Object(s["a"])({url:l+"/area/getParentArea/".concat(e.id),method:"get"})}function f(e){return Object(s["a"])({url:l+"/subject/queryPageTree",method:"get",params:e})}function b(e){return Object(s["a"])({url:l+"/subject/upset",method:"post",data:e})}function h(e){return Object(s["a"])({url:l+"/chargeType/queryPage",method:"get",params:e})}function v(e){return Object(s["a"])({url:l+"/chargeType/upSet",method:"post",data:e})}function g(e){return Object(s["a"])({url:l+"/chargeType/del/".concat(e),method:"post"})}function y(e){return Object(s["a"])({url:l+"/courseHomeworkTemplate/queryPage",method:"post",data:e})}function k(e){return Object(s["a"])({url:l+"/courseHomeworkTemplate/update",method:"post",data:o.a.stringify(e)})}function O(e){return Object(s["a"])({url:l+"/courseHomeworkTemplate/add",method:"post",data:o.a.stringify(e)})}function S(e){return Object(s["a"])({url:l+"/courseHomeworkTemplate/del/".concat(e),method:"post"})}function _(e){return Object(s["a"])({url:l+"/chargeTypeOrganizationFee/add",method:"post",data:o.a.stringify(e)})}function T(e){return Object(s["a"])({url:l+"/chargeTypeOrganizationFee/update",method:"post",data:o.a.stringify(e)})}function F(e){return Object(s["a"])({url:l+"/employee/findEducationTeacher",method:"get",params:e})}function C(e){return Object(n["a"])({url:l+"/chargeTypeSubjectMapper/queryPage",method:"get",data:{},params:e,requestType:"form"})}function I(e){return Object(n["a"])({url:l+"/chargeTypeSubjectMapper/insert",method:"post",data:e})}function j(e){return Object(n["a"])({url:l+"/chargeTypeSubjectMapper/update",method:"post",data:e})}function x(e){var t=e.id,a=Object(r["a"])(e,["id"]);return Object(n["a"])({url:l+"/chargeTypeSubjectMapper/del/"+t,method:"post",params:a})}function L(e){return Object(n["a"])({url:l+"/musicGroupOrganizationCourseSettings/add",method:"post",data:e})}function w(e){return Object(n["a"])({url:l+"/musicGroupOrganizationCourseSettings/update",method:"post",data:e})}function A(e){return Object(n["a"])({url:l+"/musicGroupOrganizationCourseSettings/delSetting",method:"post",data:{},params:e,requestType:"form"})}function M(e){return Object(n["a"])({url:l+"/musicGroupOrganizationCourseSettings/queryPage",method:"get",data:{},params:e,requestType:"form"})}function G(e){return Object(n["a"])({url:l+"/organizationCourseUnitPriceSettings/queryPage",method:"get",params:e,data:{},requestType:"form"})}function P(e){return Object(n["a"])({url:l+"/organizationCourseUnitPriceSettings/insert",method:"post",data:e})}function R(e){return Object(n["a"])({url:l+"/organizationCourseUnitPriceSettings/update",method:"post",data:e})}},ec8a:function(e,t,a){"use strict";a.d(t,"a",function(){return r});a("6762"),a("2fdb"),a("28a5");function r(e,t){var a=window.localStorage.getItem("permission");return a=a.split(","),t=t||null,!(!a.includes(e)||t)||!(!a.includes(e)||!a.includes(t))}},ed08:function(e,t,a){"use strict";a.d(t,"b",function(){return i}),a.d(t,"a",function(){return o});var r=a("bd86"),s=(a("c5f6"),a("28a5"),a("a481"),a("6b54"),a("7618"),a("5a0c")),n=a.n(s);var i=function(e){var t=[];for(var a in e)if(e.hasOwnProperty(a)){var r=e[a],s=a.toLocaleUpperCase();t.push({label:r,value:"TRUE"===s||"FALSE"===s?"TRUE"===s:a})}return t},o=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&e.length?(t={},Object(r["a"])(t,a[0]||"start",n()(e[0]).isValid()?n()(e[0]).format("YYYY-MM-DD"):""),Object(r["a"])(t,a[1]||"end",n()(e[1]).isValid()?n()(e[1]).format("YYYY-MM-DD"):""),t):{}}},f068:function(e,t,a){"use strict";a.r(t);var r,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="string"===typeof t?t.trim():t},expression:"activeIndex"}},[e.permission("/teamDetails/baseInfo")?a("el-tab-pane",{attrs:{label:"基本信息",name:"1"}},["1"==e.activeIndex?a("baseinfo",{attrs:{teamid:e.teamid}}):e._e()],1):e._e(),e._v(" "),e.permission("/teamDetails/teacherList")?a("el-tab-pane",{attrs:{label:"老师列表",name:"2"}},["2"==e.activeIndex?a("teacherList",{attrs:{teamid:e.teamid}}):e._e()],1):e._e(),e._v(" "),e.permission("/teamDetails/studentList")?a("el-tab-pane",{attrs:{label:"学员列表",name:"3"}},["3"==e.activeIndex?a("studentList",{attrs:{teamid:e.teamid}}):e._e()],1):e._e(),e._v(" "),e.permission("/teamDetails/classList")?a("el-tab-pane",{attrs:{label:"班级详情",name:"4"}},["4"==e.activeIndex?a("classList",{attrs:{teamid:e.teamid}}):e._e()],1):e._e(),e._v(" "),e.permission("/teamDetails/courseList")?a("el-tab-pane",{attrs:{label:"课表详情",name:"5"}},["5"==e.activeIndex?a("courseList",{attrs:{teamid:e.teamid}}):e._e()],1):e._e(),e._v(" "),e.permission("/teamDetails/salaryList")?a("el-tab-pane",{attrs:{label:"课酬调整",name:"7"}},["7"==e.activeIndex?a("salaryList",{attrs:{teamid:e.teamid}}):e._e()],1):e._e()],1)],1)])},n=[],i=(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("\n 在读人数:\n "),a("span",[e._v(e._s(e.studentListInfo.studying))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("\n 退团人数:\n "),a("span",[e._v(e._s(e.studentListInfo.quit))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("\n 新增人数:\n "),a("span",[e._v(e._s(e.studentListInfo.add))])])])]),e._v(" "),a("div",{staticClass:"right"},[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"studentRegistration/insertStudent",expression:"'studentRegistration/insertStudent'"}],staticClass:"newStudent",staticStyle:{"margin-bottom":"10px"},on:{click:function(t){e.addStudentVisible=!0}}},[e._v("新增学员")]),e._v(" "),a("div",{directives:[{name:"permission",rawName:"v-permission",value:"/studentSignin",expression:"'/studentSignin'"}],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="string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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"}}),e._v(" "),a("el-option",{attrs:{label:"报名",value:"APPLY"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择班级"},model:{value:e.searchForm.classGroupId,callback:function(t){e.$set(e.searchForm,"classGroupId","string"===typeof t?t.trim():t)},expression:"searchForm.classGroupId"}},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",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"所选专业"},model:{value:e.searchForm.major,callback:function(t){e.$set(e.searchForm,"major","string"===typeof t?t.trim():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","string"===typeof t?t.trim():t)},expression:"searchForm.isPay"}},[a("el-option",{attrs:{label:"未缴费",value:"0"}}),e._v(" "),a("el-option",{attrs:{label:"已缴费",value:"1"}})],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","string"===typeof t?t.trim():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(e._s(e._f("sex")(t.row.gender)))])]}}])}),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(e._s(t.row.currentGrade+t.row.currentClass))])]}}])}),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(e._s(e._f("musicGroupStudentType")(t.row.studentStatus)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"新增学员"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("yesOrNo")(t.row.isNewStudent)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"报名缴费"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("studentPays")(t.row.paymentStatus)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"是否激活"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isActive?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",fixed:"right",width:"300px;",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e.permission("studentManage/queryStudentClassGroup")&&"QUIT"!=t.row.studentStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lookClass(t.row)}}},[e._v("查看班级")]):e._e(),e._v(" "),e.permission("musicGroupQuit/directQuitMusicGroup")&&"QUIT"!=t.row.studentStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.quieTeamMask(t.row)}}},[e._v("退团")]):e._e(),e._v(" "),e.permission("musicGroupQuit/directQuitMusicGroup1")&&"QUIT"!=t.row.studentStatus?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.quieTeam(t.row)}}},[e._v("退团不退费")]):e._e(),e._v(" "),e.permission("visit/add")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.addVisit(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",{staticClass:"studentInfo",attrs:{title:"新增学员",width:"700px",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":"120px",rules:e.maskRules,inline:!0}},[a("el-alert",{staticClass:"alert",attrs:{title:"基本信息",closable:!1,type:"info"}}),e._v(" "),a("el-form-item",{attrs:{label:"联系电话",prop:"phone",rules:[{required:!0,message:"请输入手机号"},{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号",trigger:"blur"}]}},[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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","picker-options":{firstDayOfWeek:1},placeholder:"选择日期"},model:{value:e.maskForm.timer,callback:function(t){e.$set(e.maskForm,"timer","string"===typeof t?t.trim():t)},expression:"maskForm.timer"}})],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(e._s(e.classMask.studentName))]),e._v(" "),e._l(e.classLists,function(t,r){return a("el-form-item",{key:r,attrs:{label:"所在班级"}},[e._v(e._s(t.name))])})],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","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundCourseFee,callback:function(t){e.$set(e.quitForm,"isRefundCourseFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundCourseFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退还乐器费用",prop:"isRefundInstrumentFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundInstrumentFee,callback:function(t){e.$set(e.quitForm,"isRefundInstrumentFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundInstrumentFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退还教辅费用",prop:"isRefundTeachingAssistantsFee"}},[a("el-radio",{attrs:{label:!0},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1},model:{value:e.quitForm.isRefundTeachingAssistantsFee,callback:function(t){e.$set(e.quitForm,"isRefundTeachingAssistantsFee","string"===typeof t?t.trim():t)},expression:"quitForm.isRefundTeachingAssistantsFee"}},[e._v("否")])],1),e._v(" "),a("el-form-item",{attrs:{label:"退团原因"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.quitForm.reason,callback:function(t){e.$set(e.quitForm,"reason","string"===typeof t?t.trim():t)},expression:"quitForm.reason"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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),e._v(" "),a("el-dialog",{attrs:{title:"新增回访",width:"600px","destroy-on-close":"","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[a("el-form",{ref:"visitForm",attrs:{model:e.visitForm,"label-width":"120px","label-position":"right",rules:e.visitRules}},[a("el-form-item",{attrs:{label:"学生姓名"}},[a("p",[e._v(e._s(e.visitForm.studentName))])]),e._v(" "),a("el-form-item",{attrs:{label:"回访类型",prop:"visitType"}},[a("el-cascader",{staticStyle:{width:"220px!important"},attrs:{"expand-trigger":"hover",clearable:"",placeholder:"请选择回访类型",options:e.visitChiose},on:{change:e.handleChange},model:{value:e.visitForm.visitType,callback:function(t){e.$set(e.visitForm,"visitType",t)},expression:"visitForm.visitType"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"回访日期",prop:"visitTime"}},[a("el-date-picker",{staticStyle:{width:"220px!important"},attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd"},model:{value:e.visitForm.visitTime,callback:function(t){e.$set(e.visitForm,"visitTime","string"===typeof t?t.trim():t)},expression:"visitForm.visitTime"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"学员情况",prop:"overview"}},[a("el-input",{staticStyle:{width:"80%!important"},attrs:{type:"textarea",rows:3,maxlength:"50","show-word-limit":""},model:{value:e.visitForm.overview,callback:function(t){e.$set(e.visitForm,"overview",t)},expression:"visitForm.overview"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"家长反馈",prop:"feedback"}},[a("el-input",{staticStyle:{width:"80%!important"},attrs:{type:"textarea",rows:3,maxlength:"50","show-word-limit":""},model:{value:e.visitForm.feedback,callback:function(t){e.$set(e.visitForm,"feedback",t)},expression:"visitForm.feedback"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visitVisiable=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitAddVisit}},[e._v("确 定")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"选择班级","destroy-on-close":"",width:"700px",visible:e.createUserPayVisible},on:{"update:visible":function(t){e.createUserPayVisible=t}}},[a("createUserPay",{attrs:{signList:e.signList,mixList:e.mixList,highList:e.highList,snapList:e.snapList,musicGroupId:this.teamid,organizationCourseUnitPriceSettings:e.organizationCourseUnitPriceSettings,createdUserId:e.createdUserId,baseInfo:e.baseInfo},on:{submited:e.getList,close:function(t){e.createUserPayVisible=!1}}})],1)],1)}),o=[],l=(a("28a5"),a("3b2b"),a("ac6a"),a("96cf"),a("3b8d")),u=a("bd86"),c=a("1cc7"),d=a("5137"),m=a("d349"),p=a("92e3"),f=a("333d"),b=a("61f7"),h=a("d044"),v=a.n(h),g=a("bc3a"),y=a.n(g),k=a("5f87"),O=a("ec8a"),S=a("46f6"),_=a("e3eb"),T=a.n(_),F=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-alert",{staticClass:"alert",attrs:{title:"班级信息",closable:!1,type:"info"}}),e._v(" "),a("el-form",{attrs:{model:e.form,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"单技班"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.form.signClass,callback:function(t){e.$set(e.form,"signClass","string"===typeof t?t.trim():t)},expression:"form.signClass"}},e._l(e.signList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"合奏班"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.form.mixClass,callback:function(t){e.$set(e.form,"mixClass","string"===typeof t?t.trim():t)},expression:"form.mixClass"}},e._l(e.mixList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"基础技能班"}},[a("el-select",{attrs:{filterable:"",clearable:""},model:{value:e.form.highClass,callback:function(t){e.$set(e.form,"highClass","string"===typeof t?t.trim():t)},expression:"form.highClass"}},e._l(e.highList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"临时班"}},[a("el-select",{attrs:{filterable:"",clearable:"",multiple:""},model:{value:e.form.snapClass,callback:function(t){e.$set(e.form,"snapClass","string"===typeof t?t.trim():t)},expression:"form.snapClass"}},e._l(e.snapList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.name}})}),1)],1)],1)],1)],1),e._v(" "),a("el-alert",{staticClass:"alert",attrs:{title:"课程信息设置",closable:!1,type:"info"}}),e._v(" "),a("extraClass",{ref:"eclass",attrs:{form:e.eclass,isUserType:!0,isCommon:!1,isDisabled:!0,courseUnitPriceSettingsByType:e.organizationCourseUnitPriceSettingsByType},on:{priceChange:e.priceChange,moneyChange:e.syncAllMoney}}),e._v(" "),a("el-alert",{staticClass:"alert",attrs:{title:"缴费设置",closable:!1,type:"info"}}),e._v(" "),a("paymentCycle",{ref:"cycle",attrs:{isUserType:!0,form:e.cycle,isCommon:!1,isDisabled:!0},on:{"update:form":function(t){e.cycle=t}}}),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.$listeners.close}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确认")])],1)],1)},C=[],I=a("db72"),j=a("a8db"),x=(a("ac4d"),a("8a81"),a("75fc")),L=a("7a3c"),w=a("0464"),A=a("1672"),M=a("b4ac"),G=a("267e"),P=a("ed08"),R={props:["snapList","highList","mixList","signList","createdUserId","organizationCourseUnitPriceSettings","musicGroupId","baseInfo"],components:{paymentCycle:L["a"],extraClass:w["a"]},data:function(){return{courseTypeOptions:G["d"],ids:"",form:{signClass:"",mixClass:"",highClass:"",snapClass:""},cycle:{},eclass:[],organizationCourseUnitPriceSettingsByType:{}}},watch:{"form.signClass":function(){this.classChange()},"form.mixClass":function(){this.classChange()},"form.highClass":function(){this.classChange()},"form.snapClass":function(){this.classChange()},baseInfo:function(){this.formatCourse()}},mounted:function(){this.formatCourse()},methods:{addExtraClass:function(){this.eclass.push({})},priceChange:function(e,t){var a=Object(x["a"])(this.eclass),r=this.organizationCourseUnitPriceSettingsByType[e.courseType]||{},s=Math.ceil((e.courseTotalMinuties||1)*(r.unitPrice||1));e.courseCurrentPrice=s,e.courseOriginalPrice=s,a[t]=e,this.eclass=Object(x["a"])(a),this.syncAllMoney()},syncAllMoney:function(){var e=0,t=!0,a=!1,r=void 0;try{for(var s,n=this.eclass[Symbol.iterator]();!(t=(s=n.next()).done);t=!0){var i=s.value;e+=i.courseCurrentPrice}}catch(o){a=!0,r=o}finally{try{t||null==n.return||n.return()}finally{if(a)throw r}}return e?this.$set(this.cycle,"paymentAmount",e):this.$set(this.cycle,"paymentAmount",void 0),e},removeExtraClass:function(e){this.eclass[e]=null,this.eclass=this.eclass.filter(function(e){return!!e})},formatCourse:function(){var e,t,a=null===(e=this.baseInfo)||void 0===e?void 0:e.organId,r=null===(t=this.baseInfo)||void 0===t?void 0:t.chargeTypeId,s={},n=(this.organizationCourseUnitPriceSettings||[]).filter(function(e){return a&&a==e.organId&&r&&r==e.chargeTypeId}),i=!0,o=!1,l=void 0;try{for(var u,c=n[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var d=u.value;s[d.courseType]=d}}catch(m){o=!0,l=m}finally{try{i||null==c.return||c.return()}finally{if(o)throw l}}return console.log(s),this.organizationCourseUnitPriceSettingsByType=s,s},classChange:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){var t,a,r,s=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,t=[this.form.signClass,this.form.mixClass,this.form.highClass].concat(Object(x["a"])(this.form.snapClass)).filter(function(e){return!!e}).join(","),!t){e.next=10;break}return e.next=5,Object(M["a"])({classGroupIdList:t});case 5:a=e.sent,this.ids=t,r=a.data.map(function(e){var t=s.organizationCourseUnitPriceSettingsByType[e.courseType]||{},a=Math.ceil((t.unitPrice||1)*(e.remainMinutes||1));return{courseType:e.courseType,courseTotalMinuties:e.remainMinutes,courseOriginalPrice:a,courseCurrentPrice:a}}),this.eclass=Object(x["a"])(r),this.syncAllMoney();case 10:e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),console.log(e.t0);case 15:case"end":return e.stop()}},e,this,[[0,12]])}));function t(){return e.apply(this,arguments)}return t}(),getForms:function(){var e=this.$refs;return[e.eclass,e.cycle].filter(function(e){return!!e}).map(function(e){return e.$refs.form})},submit:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){var t,a,r,s,n,i,o,l,u,c,d,m,p;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:for(t=this.getForms(),a=[],r=!0,s=!1,n=void 0,e.prev=5,i=function(){var e=l.value;e.validate(function(t){t&&a.push(e)})},o=t[Symbol.iterator]();!(r=(l=o.next()).done);r=!0)i();e.next=14;break;case 10:e.prev=10,e.t0=e["catch"](5),s=!0,n=e.t0;case 14:e.prev=14,e.prev=15,r||null==o.return||o.return();case 17:if(e.prev=17,!s){e.next=20;break}throw n;case 20:return e.finish(17);case 21:return e.finish(14);case 22:if(t.length!==a.length){e.next=36;break}return u=this.cycle,c=u.paymentDate,d=u.paymentValid,m=Object(j["a"])(u,["paymentDate","paymentValid"]),p=Object(I["a"])({attribute1:this.ids},m,{musicGroupId:this.musicGroupId,paymentType:"ADD_STUDENT",studentIds:this.createdUserId,musicGroupPaymentCalenderCourseSettingsList:this.eclass},Object(P["a"])(c,["startPaymentDate","deadlinePaymentDate"]),{},Object(P["a"])(d,["paymentValidStartDate","paymentValidEndDate"])),e.prev=25,e.next=28,Object(A["c"])(p);case 28:this.$message.success("提交成功"),this.$listeners.submited(),this.$listeners.close(),e.next=36;break;case 33:e.prev=33,e.t1=e["catch"](25),console.log(e.t1);case 36:case"end":return e.stop()}},e,this,[[5,10,14,22],[15,,17,21],[25,33]])}));function t(){return e.apply(this,arguments)}return t}()}},E=R,N=(a("0d5e"),a("2877")),q=Object(N["a"])(E,F,C,!1,null,"dcb23f74",null),D=q.exports,V={name:"tstudentList",data:function(){var e;return e={teamid:"",payVisible:!1,quitVisible:!1,studentClassVisible:!1,addStudentVisible:!1},Object(u["a"])(e,"teamid",""),Object(u["a"])(e,"topFrom",{expect:"2",studing:"5",allmoney:"100",students:"5",signout:"10"}),Object(u["a"])(e,"searchForm",{studentStatus:"",major:"",isPay:"",search:"",isActive:"",classGroupId:null}),Object(u["a"])(e,"organizationCourseUnitPriceSettings",[]),Object(u["a"])(e,"quitForm",{isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""}),Object(u["a"])(e,"classMask",{studentName:""}),Object(u["a"])(e,"baseInfo",{}),Object(u["a"])(e,"searchLsit",[]),Object(u["a"])(e,"tableList",[]),Object(u["a"])(e,"rules",{limit:10,page:1,total:0,page_size:[10,20,40,50]}),Object(u["a"])(e,"studentListInfo",{add:"",quit:"",studying:""}),Object(u["a"])(e,"signList",[]),Object(u["a"])(e,"mixList",[]),Object(u["a"])(e,"highList",[]),Object(u["a"])(e,"snapList",[]),Object(u["a"])(e,"soundList",[]),Object(u["a"])(e,"highonlineList",[]),Object(u["a"])(e,"muiscnetworkList",[]),Object(u["a"])(e,"qrcodeStatus",!1),Object(u["a"])(e,"qrcodes",!0),Object(u["a"])(e,"qrcode",null),Object(u["a"])(e,"codeUrl",null),Object(u["a"])(e,"maskForm",{studentName:"",sex:"",parentName:"",course:"",phone:"",sound:"",timer:"",signClass:"",mixClass:"",highClass:"",snapClass:[],highonline:"",muiscnetwork:"",startClass:"",id:"",temporaryCourseFee:null,musicGoodsIdList:null,kitGroupPurchaseType:"GROUP",musicPrice:null,instrGoodsIdList:[],instrPrice:null}),Object(u["a"])(e,"remark",""),Object(u["a"])(e,"classList",[]),Object(u["a"])(e,"quitRules",{isRefundCourseFee:[{required:!0,message:"请选择是否退还课程费用"}],isRefundInstrumentFee:[{required:!0,message:"选择是否退还乐器费用"}],isRefundTeachingAssistantsFee:[{required:!0,message:"选择是否退还教辅费用"}]}),Object(u["a"])(e,"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:"请输入证件号"}],temporaryCourseFee:[{required:!0,message:"请输课程费用"}],musicGoodsIdList:[{required:!0,message:"请选择乐器",trigger:"change"}],musicPrice:[{required:!0,message:"请输入乐器购买金额"}],instrGoodsIdList:[{required:!0,message:"请选择辅件"}],instrPrice:[{required:!0,message:"请输入辅件金额"}]}),Object(u["a"])(e,"INSTRUMENTLIST",[]),Object(u["a"])(e,"ACCESSORIESLIST",[]),Object(u["a"])(e,"activeRow",null),Object(u["a"])(e,"Fsearch",null),Object(u["a"])(e,"Frules",null),Object(u["a"])(e,"payForm",{studentName:"",payMoney:"",payMonth:[]}),Object(u["a"])(e,"kitStatus",!1),Object(u["a"])(e,"visitVisiable",!1),Object(u["a"])(e,"visitForm",{musicGroupId:"",overview:"",purpose:"",studentId:"",type:"",visitTime:"",visitType:"",feedback:"",studentName:""}),Object(u["a"])(e,"cycles",[{}]),Object(u["a"])(e,"collapse",[0]),Object(u["a"])(e,"visitChiose",p["A"]),Object(u["a"])(e,"visitRules",{overview:[{required:!0,message:"请输入学生近况"}],feedback:[{required:!0,message:"请输入家长反馈"}],visitTime:[{required:!0,message:"请输入回访时间"}],visitType:[{required:!0,message:"请选择回访类型"}]}),Object(u["a"])(e,"pickerOptions",null),Object(u["a"])(e,"classLists",null),Object(u["a"])(e,"createdUserId",0),Object(u["a"])(e,"createUserPayVisible",!1),e},components:{pagination:f["a"],paymentCycle:L["a"],createUserPay:D},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={0:"未缴费",1:"已缴费"};return t[e]}},activated:function(){this.init()},mounted:function(){var e=Object(l["a"])(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(m["o"])({rows:9999});case 3:t=e.sent,this.organizationCourseUnitPriceSettings=t.data.rows,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:this.init();case 10:case"end":return e.stop()}},e,this,[[0,7]])}));function t(){return e.apply(this,arguments)}return t}(),methods:(r={permission:function(e){return Object(O["a"])(e)},init:function(){var e=this;this.teamid=this.$route.query.id,Object(c["Ab"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.studentListInfo=t.data)}),this.pickerOptions=this.beginDate(),this.getList(),Object(c["E"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.soundList=t.data)}),Object(c["ab"])({musicGroupId:this.teamid}).then(function(t){return e.baseInfo=t.data}),Object(c["bb"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.classList=t.data,e.signList=[],e.mixList=[],e.highList=[],e.snapList=[],e.classList.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):"HIGH_ONLINE"==t.type?e.highonlineList.push(t):"MUSIC_NETWORK"==t.type&&e.muiscnetworkList.push(t)}))})}},Object(u["a"])(r,"permission",function(e){return Object(O["a"])(e)}),Object(u["a"])(r,"onInstrumentChange",function(){}),Object(u["a"])(r,"onKitGroupChnage",function(e){this.kitStatus=!1,"FREE"==e?(this.kitStatus=!0,this.maskForm.musicPrice=0):this.maskForm.musicPrice=null}),Object(u["a"])(r,"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||null,classGroupId:this.searchForm.classGroupId||null},r={method:"get",headers:{Authorization:Object(k["a"])()},url:t,params:a,responseType:"blob"};this.$confirm("您确定导出学员列表?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){y()(r).then(function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),r=URL.createObjectURL(a),s=document.createElement("a"),n=e.$route.query.name+"学员列表";s.href=r,s.setAttribute("download",n),document.body.appendChild(s),s.click()})}).catch(function(){})}),Object(u["a"])(r,"search",function(){this.rules.page=1,this.getList()}),Object(u["a"])(r,"onCreateQRCode",function(){var e=this;this.qrcodeStatus=!0;var t=this.$route.query.id;this.qrcodes&&(this.qrcodes=!1,setTimeout(function(){e.qrcode=new v.a("qrcode",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:v.a.CorrectLevel.H}),e.qrcode.makeCode(Object(b["d"])()+"/#/login?musicGroupId="+t),e.codeUrl=Object(b["d"])()+"/#/login?musicGroupId="+t},500))}),Object(u["a"])(r,"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||null,classGroupId:this.searchForm.classGroupId||null};Object(c["Bb"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})}),Object(u["a"])(r,"addCycle",function(){this.cycles.push({}),this.collapse.push(this.collapse.length)}),Object(u["a"])(r,"removeCycle",function(e){this.cycles[e]=null,this.cycles=this.cycles.filter(function(e){return!!e}),this.collapse.pop()}),Object(u["a"])(r,"collapseChange",function(e){this.collapse=e}),Object(u["a"])(r,"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}})}),Object(u["a"])(r,"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(c["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(){})})}),Object(u["a"])(r,"addStudent",function(){var e=this;this.$refs["maskForm"].validate(function(t){if(t){var a,r=e.maskForm;if(r.musicGoodsIdList&&(""===r.musicPrice||null===r.musicPrice))return void e.$message.error("请输入乐器金额");if(r.instrGoodsIdList&&r.instrGoodsIdList.length>0&&(""===r.instrPrice||null===r.instrPrice))return void e.$message.error("请输入辅件金额");a=r.snapClass?r.snapClass.join(","):null;var s={signClassId:r.signClass,mixClassId:r.mixClass,snapClassIds:a,highClassId:r.highClass,courseFee:r.courseFee,temporaryCourseFee:r.temporaryCourseFee,studentRegistration:{name:r.studentName,gender:r.sex,birthdate:r.timer,parentsName:r.parentName,parentsPhone:r.phone,currentGrade:r.startClass,currentClass:r.course,subjectId:r.sound,musicGroupId:e.teamid},studentPaymentOrderDetails:[]};r.musicGoodsIdList&&s.studentPaymentOrderDetails.push({goodsIdList:r.musicGoodsIdList,kitGroupPurchaseType:r.kitGroupPurchaseType,type:"MUSICAL",price:r.musicPrice}),r.instrGoodsIdList&&""!=r.instrGoodsIdList&&s.studentPaymentOrderDetails.push({goodsIdList:r.instrGoodsIdList.join(","),type:"ACCESSORIES",price:r.instrPrice}),Object(d["a"])(s).then(function(t){200==t.code&&(e.$message.success("添加学生成功"),e.getList(),e.addStudentVisible=!1,e.createUserPayVisible=!0,e.createdUserId=t.data),e.$refs.maskForm.resetFields()})}})}),Object(u["a"])(r,"onSoundChange",function(e){this.ACCESSORIESLIST=[],this.maskForm.instrGoodsIdList=[],this.maskForm.instrPrice=null,this.INSTRUMENTLIST=[],this.maskForm.musicPrice=null,this.maskForm.musicGoodsIdList=null,this.getGoodsList(e,"INSTRUMENT"),this.getGoodsList(e,"ACCESSORIES")}),Object(u["a"])(r,"findSubjectPlan",function(e){var t=this;Object(c["H"])({musicGroupId:this.teamid,subjectId:e}).then(function(e){var a=e.data;200==e.code&&(t.maskForm.musicMode=t.getBranchType(a.kitGroupPurchaseType))})}),Object(u["a"])(r,"getGoodsList",function(e,t){var a=this;Object(c["W"])({subjectId:e,type:t}).then(function(e){var r=e.data;if(200==e.code){var s=[];r.forEach(function(e){s.push({label:e.name,value:e.id,marketPrice:e.marketPrice})}),"ACCESSORIES"==t&&(a.ACCESSORIESLIST=s),"INSTRUMENT"==t&&(a.INSTRUMENTLIST=s)}})}),Object(u["a"])(r,"getBranchType",function(e){var t={FREE:"免费",GROUP:"团购",LEASE:"租赁"};return t[e]}),Object(u["a"])(r,"lookClass",function(e){var t=this;this.classMask.studentName=e.realName,Object(d["k"])({musicGroupId:this.teamid,teacherId:e.userId}).then(function(e){200==e.code&&(t.classLists=e.data,t.studentClassVisible=!0)})}),Object(u["a"])(r,"quieTeamMask",function(e){this.activeRow=e,this.quitVisible=!0}),Object(u["a"])(r,"quieTeam",function(e){var t=this;this.$confirm("确定退团?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["b"])({musicGroupId:t.teamid,userId:e.userId,reason:"",isRefundCourseFee:!1,isRefundInstrumentFee:!1,isRefundTeachingAssistantsFee:!1}).then(function(e){t.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},200==e.code&&(t.$message.success("退团成功"),t.getList(),t.quitVisible=!1)})}).catch(function(){})}),Object(u["a"])(r,"checkPhone",function(e){var t=this,a=/^1[3456789]\d{9}$/,r=new RegExp(a);r.test(e)&&Object(d["m"])({mobile:this.maskForm.phone}).then(function(a){200==a.code&&a.data&&(t.maskForm.studentName=a.data.name,t.maskForm.sex=a.data.gender,t.maskForm.parentName=a.data.parentsName,t.maskForm.course=a.data.currentClass,t.maskForm.startClass=a.data.currentGrade,t.maskForm.phone=e,t.maskForm.timer=a.data.birthdate)})}),Object(u["a"])(r,"lockStudent",function(e){var t=this;this.$confirm("是否锁定/解锁学生缴费周期?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var a,r=t.teamid,s=e.userId;a=0==e.isLock?1:0,Object(c["a"])({musicGroupId:r,studentId:s,isLock:a}).then(function(e){200==e.code&&(t.$message.success("修改成功"),t.getList())})}).catch(function(){})}),Object(u["a"])(r,"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=[])}),Object(u["a"])(r,"submitPay",function(){var e=this,t=this.activeRow.userId,a=this.teamid,r=this.payForm.payMonth.join(",")||null,s=this.payForm.payMoney,n={studentId:t,musicGroupId:a,month:r,amount:s};Object(c["uc"])(n).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.payVisible=!1,e.getList())})}),Object(u["a"])(r,"closePayVisible",function(){this.$refs["payForm"].resetFields(),this.payVisible=!1}),Object(u["a"])(r,"addVisit",function(e){console.log(e),this.visitForm.studentName=e.realName,this.visitForm.musicGroupId=this.teamid,this.visitForm.studentId=e.userId,this.visitVisiable=!0}),Object(u["a"])(r,"handleChange",function(e){this.visitForm.type=e[0],this.visitForm.purpose=e[1]}),Object(u["a"])(r,"submitAddVisit",function(){var e=this;console.log(this.$refs.visitForm),this.$refs.visitForm.validate(function(t){t&&Object(S["a"])(T()(e.visitForm)).then(function(t){200===t.code&&(e.$message.success("新增成功"),e.visitVisiable=!1)})})}),Object(u["a"])(r,"beginDate",function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()>=(new Date).getTime()}}}),r),watch:{quitVisible:function(e){e||(this.quitForm={isRefundCourseFee:null,isRefundInstrumentFee:null,isRefundTeachingAssistantsFee:null,reason:""},this.$refs["quitForm"].resetFields())},visitVisiable:function(e){e||this.$refs["visitForm"].resetFields()}}},$=V,U=(a("3539"),Object(N["a"])($,i,o,!1,null,"699fa467",null)),H=U.exports,B=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"t-container"},[a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm="string"===typeof t?t.trim():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","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",[a("div",{staticClass:"searchBtn",on:{click:e.search}},[e._v("搜索")])]),e._v(" "),a("el-form-item",{staticStyle:{float:"right"}},[a("div",{staticClass:"right newBand",staticStyle:{"margin-bottom":"0"},on:{click:e.gotoRecord}},[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)},z=[],K={name:"tteacherList",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:f["a"]},mounted:function(){var e=this;this.teamid=this.$route.query.id,this.getList(),Object(c["J"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.mixCourseList=t.data)})},activated:function(){this.teamid=this.$route.query.id,this.getList()},methods:{search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this;Object(c["Cb"])({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}})}}},W=K,Y=(a("6814"),Object(N["a"])(W,B,z,!1,null,null,null)),Q=Y.exports,J=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="string"===typeof t?t.trim():t},expression:"searchForm"}},[a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程类型"},model:{value:e.searchForm.courseStatus,callback:function(t){e.$set(e.searchForm,"courseStatus","string"===typeof t?t.trim():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"}}),e._v(" "),a("el-option",{attrs:{label:"线上基础技能课",value:"HIGH_ONLINE"}}),e._v(" "),a("el-option",{attrs:{label:"乐团网管课",value:"MUSIC_NETWORK"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程状态"},model:{value:e.searchForm.classStatus,callback:function(t){e.$set(e.searchForm,"classStatus","string"===typeof t?t.trim():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",[a("el-select",{attrs:{placeholder:"班级名称",filterable:"",clearable:""},model:{value:e.searchForm.class,callback:function(t){e.$set(e.searchForm,"class","string"===typeof t?t.trim():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",[a("el-select",{attrs:{placeholder:"是否结算",filterable:"",clearable:""},model:{value:e.searchForm.isSettlement,callback:function(t){e.$set(e.searchForm,"isSettlement","string"===typeof t?t.trim():t)},expression:"searchForm.isSettlement"}},[a("el-option",{attrs:{value:"0",label:"未结算"}}),e._v(" "),a("el-option",{attrs:{value:"1",label:"已结算"}})],1)],1),e._v(" "),a("el-form-item",[a("el-date-picker",{staticStyle:{width:"420px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"课程开始日期","end-placeholder":"课程结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():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"}),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",prop:"courseScheduleId",label:"课程编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"180px",label:"时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(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):""))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseScheduleName",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(e._s(e._f("coursesType")(t.row.courseScheduleType)))])]}}])}),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(e._s(e._f("coursesStatus")(t.row.courseScheduleStatus)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"老师签到"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("attendanceType")(t.row.signInStatus)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"老师签退"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("attendanceOutType")(t.row.signOutStatus)))])]}}])}),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[e._v(e._s(t.row.settlementTime?"已结算":"未结算"))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"remark",label:"是否点名"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCallNames?"已点名":"未点名"))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"remark",label:"备注"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"280px",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",["OVER"==t.row.courseScheduleStatus&&!t.row.settlementTime&&e.permission("teacherAttendance/updateTeacherAttendance?t=568")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onMarkAttendance(t.row)}}},[e._v("补考勤")]):e._e(),e._v(" "),"OVER"==t.row.courseScheduleStatus&&e.permission("studentAttendance/updateStudentAttendances?t=570")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onCallName(t.row)}}},[e._v("点名表")]):e._e(),e._v(" "),!t.row.settlementTime&&e.permission("courseSchedule/classStartDateAdjust")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.resetClass(t.row)}}},[e._v("调整")]):e._e(),e._v(" "),"OVER"==t.row.courseScheduleStatus&&!t.row.settlementTime&&e.permission("courseSchedule/cleanAttendance")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.clearAttend(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",staticClass:"maskForm",attrs:{model:e.maskForm,rules:e.maskRules,"label-position":"right","label-width":"120px",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","string"===typeof t?t.trim():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(" "),"MUSIC_NETWORK"!=e.maskForm.courseScheduleType&&"HIGH_ONLINE"!=e.maskForm.courseScheduleType?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","string"===typeof t?t.trim():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._e(),e._v(" "),a("el-form-item",{attrs:{label:"上课日期",prop:"date"}},[a("el-date-picker",{attrs:{type:"date","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:e.maskForm.date,callback:function(t){e.$set(e.maskForm,"date","string"===typeof t?t.trim():t)},expression:"maskForm.date"}})],1),e._v(" "),e.courseVisible?a("el-form-item",{attrs:{label:"课程时长(分钟)",prop:"timer"}},[a("el-input",{attrs:{type:"number",disabled:""},model:{value:e.maskForm.timer,callback:function(t){e.$set(e.maskForm,"timer",t)},expression:"maskForm.timer"}})],1):e._e(),e._v(" "),e.courseVisible?a("el-form-item",{attrs:{label:"开始时间",prop:"startTime"}},[a("el-time-picker",{attrs:{placeholder:"起始时间",format:"HH:mm","value-format":"HH:mm","picker-options":{selectableRange:"04:30:00 - 23:30:00"}},on:{change:e.changeStartTime},model:{value:e.maskForm.startTime,callback:function(t){e.$set(e.maskForm,"startTime","string"===typeof t?t.trim():t)},expression:"maskForm.startTime"}})],1):e._e(),e._v(" "),e.courseVisible?a("el-form-item",{attrs:{label:"结束时间",prop:"endTime"}},[a("el-time-select",{attrs:{placeholder:"结束时间",disabled:"","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","string"===typeof t?t.trim():t)},expression:"maskForm.endTime"}})],1):e._e()],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","picker-options":{firstDayOfWeek:1},placeholder:"选择日期"},model:{value:e.timerMask.timer,callback:function(t){e.$set(e.timerMask,"timer","string"===typeof t?t.trim():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),e._v(" "),a("el-dialog",{attrs:{title:"补考勤",width:"400px",visible:e.markAttendance.status},on:{"update:visible":function(t){return e.$set(e.markAttendance,"status",t)}}},[a("el-form",[a("el-form-item",{attrs:{label:"签到状态"}},[e._v(e._s(e._f("attendanceType")(e.markAttendance.dataInfo.signInStatus)))]),e._v(" "),a("el-form-item",{attrs:{label:"签到时间"}},[e._v(e._s(e.markAttendance.dataInfo.signInTime))]),e._v(" "),a("el-form-item",{attrs:{label:"签退状态"}},[e._v(e._s(e._f("attendanceOutType")(e.markAttendance.dataInfo.signOutStatus)))]),e._v(" "),a("el-form-item",{attrs:{label:"签退时间"}},[e._v(e._s(e.markAttendance.dataInfo.signOutTime))])],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.markAttendance.status=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary",disabled:1==e.markAttendance.dataInfo.signOutStatus&&1==e.markAttendance.dataInfo.signInStatus},on:{click:e.batchAdjustmentTime}},[e._v("确定补卡")])],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"点名表",width:"800px",visible:e.rollCall.status},on:{"update:visible":function(t){return e.$set(e.rollCall,"status",t)}}},[a("el-table",{attrs:{data:e.rollCall.gridData}},[a("el-table-column",{attrs:{align:"center",property:"userName",label:"学员姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",property:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",property:"subjectName",label:"学员声部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"到课状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("studentCallName")(t.row.status)))]}}])}),e._v(" "),e.rollCall.selectItem.settlementTime?e._e():a("el-table-column",{attrs:{align:"center",label:"操作",width:"240px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small",type:"primary",round:""},on:{click:function(a){return e.onChangeRollCall("TRUANT",t.row)}}},[e._v("未到")]),e._v(" "),a("el-button",{attrs:{size:"small",type:"warning",round:""},on:{click:function(a){return e.onChangeRollCall("LEAVE",t.row)}}},[e._v("请假")]),e._v(" "),a("el-button",{attrs:{size:"small",type:"success",round:""},on:{click:function(a){return e.onChangeRollCall("NORMAL",t.row)}}},[e._v("到课")])]}}],null,!1,3311584737)})],1),e._v(" "),a("pagination",{attrs:{total:e.rollCall.total,page:e.rollCall.page,limit:e.rollCall.limit,"page-sizes":e.rollCall.page_size},on:{"update:page":function(t){return e.$set(e.rollCall,"page",t)},"update:limit":function(t){return e.$set(e.rollCall,"limit",t)},pagination:e.getCallName}})],1),e._v(" "),a("el-dialog",{attrs:{title:"类型修改",width:"400px",visible:e.typeVisible},on:{"update:visible":function(t){e.typeVisible=t}}},[a("el-form",{ref:"typeForm",attrs:{model:e.typeForm,rules:e.typeRules,"label-position":"right","label-width":"80px;",inline:!0}},[a("el-form-item",{attrs:{label:"课程类型",prop:"type"}},[a("el-select",{attrs:{clearable:"",filterable:""},model:{value:e.typeForm.type,callback:function(t){e.$set(e.typeForm,"type","string"===typeof t?t.trim():t)},expression:"typeForm.type"}},e._l(e.courseType,function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})}),1)],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.typeVisible=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitResetType}},[e._v("确定")])],1)],1)],1)},Z=[],X=(a("5a0c"),a("7e78")),ee=a("c466"),te={name:"tcourseList",data:function(){return{classTimeList:p["f"],courseType:[{value:"SINGLE",label:"单技课"},{value:"MIX",label:"合奏课"},{value:"TRAINING_SINGLE",label:"集训单技课"},{value:"TRAINING_MIX",label:"集训合奏课"},{value:"HIGH",label:"基础技能课"},{value:"COMPREHENSIVE",label:"综合课"},{value:"CLASSROOM",label:"课堂课"}],typeVisible:!1,timerVisible:!1,courseVisible:!1,searchForm:{courseStatus:"",classStatus:"",timer:[],class:"",isSettlement:""},tableList:[],searchLsit:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},maskForm:{teacher:"",assistant:"",date:"",id:"",startTime:"",endTime:"",type:"",timer:"",courseScheduleType:null},typeForm:{teacher:"",assistant:"",date:"",startTime:"",endTime:"",type:null,id:null},maskRules:{teacher:[{required:!0,message:"请选择主教老师名称",trigger:"blur"}],date:[{required:!0,message:"请选择上课时间",trigger:"blur"}]},typeRules:{type:[{required:!0,message:"请选择课程类型",trigger:"blur"}]},teacherList:[],classList:[],activeCourseList:[],timerMask:{timer:""},markAttendance:{status:!1,dataInfo:{}},rollCall:{status:!1,gridData:[],selectItem:{},limit:10,page:1,total:0,page_size:[10,20,40,50]}}},components:{pagination:f["a"]},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){var e=this;this.teamid=this.$route.query.id,this.getList(),Object(c["ub"])().then(function(t){200==t.code&&(e.teacherList=t.data)}),Object(c["bb"])({musicGroupId:this.teamid}).then(function(t){200==t.code&&(e.classList=t.data)})},onMarkAttendance:function(e){this.markAttendance={status:!0,dataInfo:e}},onCallName:function(e){this.rollCall.page=1,this.rollCall.selectItem=e,this.getCallName()},getCallName:function(){var e=this.rollCall,t={page:e.page,rows:e.limit,courseScheduleId:e.selectItem.courseScheduleId};Object(c["z"])(t).then(function(t){var a=t.data;e.status=!0,200==t.code&&(e.gridData=a.rows,e.total=a.total)})},onChangeRollCall:function(e,t){var a=this,r=this.rollCall,s={courseScheduleId:r.selectItem.courseScheduleId,studentAttendances:[{userId:t.studentId,status:e}]};Object(c["tc"])(s).then(function(r){200==r.code?(a.$message.success("修改成功"),t.status=e,a.getList()):a.$message.error(r.msg)})},permission:function(e,t){return Object(O["a"])(e,t)},search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this,t=this.searchForm;t.timer||(t.timer=[]);var a={classScheduleStatus:t.classStatus||null,classScheduleType:t.courseStatus||null,musicGroupId:this.teamid,startTime:t.timer[0]||null,endTime:t.timer[1]||null,page:this.rules.page,rows:this.rules.limit,classGroupId:t.class||null,isSettlement:t.isSettlement||null};Object(c["Q"])(a).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.courseScheduleType=e.courseScheduleType,this.maskForm.assistant=[],e.teachingTeachers)"TEACHING"==e.teachingTeachers[t].teacherRole&&this.maskForm.assistant.push(e.teachingTeachers[t].userId);this.maskForm.date=e.classDate,this.$set(this.maskForm,"startTime",e.startClassTimeStr.substring(0,5));var a=Object(ee["b"])(e.classDate,e.startClassTimeStr,e.endClassTimeStr);this.maskForm.timer=a,this.maskForm.endTime=Object(ee["a"])(e.classDate,e.startClassTimeStr,a),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(X["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(X["g"])({courseScheduleIds:a}).then(function(t){200==t.code&&(e.$message.success("删除成功"),e.getList())})}).catch(function(){})}},submitResetClass:function(){var e=this,t=this.maskForm;t.startTime&&t.endTime?this.$confirm("是否确定?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var a=t.assistant.join(",");if(a.length<=0);var r={actualTeacherId:t.teacher,startClassTimeStr:t.startTime,endClassTimeStr:t.endTime,id:t.id,teachingTeacherIdList:a,classDate:t.date,type:t.type,groupType:"MUSIC"};Object(c["Vb"])(T()(r)).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.getList(),e.courseVisible=!1)})}).catch(function(){}):this.$message.error("请填写开始时间或结束时间")},handleClose:function(){this.courseVisible=!1,this.maskForm={teacher:"",assistant:"",date:"",id:"",startTime:"",endTime:""},this.$refs["maskForm"].resetFields()},handleSelectionChange:function(e){this.activeCourseList=e},checkSelectable:function(e){return"NOT_START"==e.courseScheduleStatus},batchAdjustmentTime:function(){var e=this,t=this.markAttendance.dataInfo,a={teacherId:t.masterTeacherId,courseScheduleId:t.courseScheduleId,signInStatus:1,signOutStatus:1};Object(c["wc"])(a).then(function(t){200==t.code?(e.$message.success("补卡成功"),e.markAttendance.status=!1,e.getList()):e.$message.error(t.msg)})},handleCloseTimer:function(){this.timerVisible=!1,this.timerMask.timer=""},resetTimer:function(){this.activeCourseList.length<1?this.$message.error("请至少选择一节课"):this.timerVisible=!0},resetType:function(e){for(var t in this.typeForm.type=e.courseScheduleType,this.typeForm.id=e.courseScheduleId,this.typeForm.teacher=parseInt(e.masterTeacherId),this.typeForm.assistant=[],e.teachingTeachers)"TEACHING"==e.teachingTeachers[t].teacherRole&&this.typeForm.assistant.push(e.teachingTeachers[t].userId);this.typeForm.date=e.classDate,this.$set(this.typeForm,"startTime",e.startClassTimeStr.substring(0,5)),this.typeForm.endTime=e.endClassTimeStr.substring(0,5),this.typeVisible=!0},submitResetType:function(){var e=this;this.$refs.typeForm.validate(function(t){if(t){var a=e.typeForm.assistant.join(",");if(a.length<=0);var r={actualTeacherId:e.typeForm.teacher,startClassTimeStr:e.typeForm.startTime,endClassTimeStr:e.typeForm.endTime,id:e.typeForm.id,type:e.typeForm.type,teachingTeacherIdList:a,classDate:e.typeForm.date};Object(c["Vb"])(r).then(function(t){200==t.code&&(e.$message.success("修改成功"),e.getList(),e.typeVisible=!1)})}})},clearAttend:function(e){var t=this;this.$confirm("是否清除考勤记录?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(c["o"])({courseScheduleIds:e.courseScheduleId}).then(function(e){200==e.code?(t.$message.success("清除成功"),t.getList()):t.$message.error(e.msg)})}).catch(function(){})},changeStartTime:function(e){var t=this;this.$nextTick(function(a){t.maskForm.endTime=Object(ee["a"])(t.maskForm.date,e,t.maskForm.timer)})}},filters:{studentCallName:function(e){var t={NORMAL:"到课",TRUANT:"未到",LEAVE:"请假",DROP_OUT:"退学","":"未到"};return t[e]}},watch:{"maskForm.timer":function(e){this.maskForm.endTime=Object(ee["a"])(this.maskForm.date,this.maskForm.startTime,e)}}},ae=te,re=(a("075d"),Object(N["a"])(ae,J,Z,!1,null,"73c8aa2d",null)),se=re.exports,ne=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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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)},ie=[],oe={name:"tclassList",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:f["a"]},created:function(){},mounted:function(){this.getList()},activated:function(){this.getList()},methods:{permission:function(e){return Object(O["a"])(e)},getList:function(){var e=this;this.teamid=this.$route.query.id,Object(c["N"])({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,r=e.postponeForm.stopTime,s=e.postponeForm.resetTime,n=e.postponeForm.holiday,i={classGroupIds:a,pauseDate:r,recoveryDate:s,skipHoliday:n};Object(c["q"])(i).then(function(t){200==t.code&&e.$message.success("修改成功")})}})},processDate:function(){var e=this;return{firstDayOfWeek:1,disabledDate:function(t){return e.postponeForm.stopTime?new Date(e.postponeForm.stopTime).getTime()>t.getTime():t.getTime()>Date.now()}}},beginDate:function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()+864e5<=(new Date).getTime()}}}}},le=oe,ue=Object(N["a"])(le,ne,ie,!1,null,null,null),ce=ue.exports,de=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="string"===typeof t?t.trim():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","string"===typeof t?t.trim():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",[e.permission("courseSchedule/queryTeacherSalary")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.setCourseInfo(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:"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",[e.permission("courseSchedule/updateTeacherCoursesSalary")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.resetTeacher(t.row)}}},[e._v("操作")]):e._e()],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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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)},me=[],pe=a("8018"),fe={name:"tsalaryList",data:function(){return{dialogTableVisible:!1,innerVisible:!1,searchForm:{date:""},pickerOptions:{firstDayOfWeek:1},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"}]},tempSelectRow:{}}},components:{pagination:f["a"]},mounted:function(){this.getList()},activated:function(){this.getList()},methods:{permission:function(e){return Object(O["a"])(e)},search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this;this.teamid=this.$route.query.id,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(c["P"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})},setCourseInfo:function(e){var t=this;this.tempSelectRow=e,Object(c["wb"])({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,t=this;this.$refs["teacherMask"].validate(function(a){a?Object(pe["A"])({courseScheduleId:e.courseScheduleId,salary:e.teacherMask.salary,teacherId:e.activeTeacher.teacherId,subsidy:e.teacherMask.subsidy,scope:e.teacherMask.radio}).then(function(a){200==a.code&&(e.$message.success("修改成功"),e.teacherMask={salary:"",subsidy:"",radio:""},e.innerVisible=!1,t.setCourseInfo(e.tempSelectRow))}):e.$message.error("请填写必要参数")})}}},be=fe,he=Object(N["a"])(be,de,me,!1,null,null,null),ve=he.exports,ge=a("73b3"),ye={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}},mounted:function(){this.activeIndex="1",this.init()},activated:function(){this.activeIndex="1",this.init()},methods:{permission:function(e){return Object(O["a"])(e)},init:function(){this.status=this.$route.query.status,this.teamid=this.$route.query.id,this.name=this.$route.query.name,this.$route.query.search&&(this.Fsearch=this.$route.query.search),this.$route.query.rules&&(this.Frules=this.$route.query.rules)},handleClick:function(e){this.activeIndex=e.name},onCancel:function(){this.$router.push({path:"/business/teamDetail",query:{search:this.Fsearch,rules:this.Frules}})},resetTeam:function(){this.$router.push({path:"/business/teamBuild",query:{type:"resetTeam",id:this.teamid}})}},components:{studentList:H,teacherList:Q,courseList:se,classList:ce,salaryList:ve,baseinfo:ge["a"]}},ke=ye,Oe=(a("a00e"),Object(N["a"])(ke,s,n,!1,null,"5773b840",null));t["default"]=Oe.exports}}]);
|