1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d1dd2788","chunk-2d0b66fc"],{"1cc7":function(t,e,n){"use strict";n.d(e,"G",function(){return i}),n.d(e,"V",function(){return s}),n.d(e,"w",function(){return c}),n.d(e,"q",function(){return d}),n.d(e,"M",function(){return l}),n.d(e,"K",function(){return f}),n.d(e,"y",function(){return p}),n.d(e,"B",function(){return m}),n.d(e,"j",function(){return b}),n.d(e,"R",function(){return h}),n.d(e,"H",function(){return g}),n.d(e,"J",function(){return O}),n.d(e,"E",function(){return j}),n.d(e,"F",function(){return S}),n.d(e,"d",function(){return v}),n.d(e,"db",function(){return y}),n.d(e,"o",function(){return G}),n.d(e,"b",function(){return C}),n.d(e,"r",function(){return _}),n.d(e,"cb",function(){return q}),n.d(e,"h",function(){return M}),n.d(e,"A",function(){return T}),n.d(e,"lb",function(){return x}),n.d(e,"s",function(){return P}),n.d(e,"t",function(){return k}),n.d(e,"pb",function(){return L}),n.d(e,"I",function(){return w}),n.d(e,"p",function(){return I}),n.d(e,"l",function(){return D}),n.d(e,"i",function(){return R}),n.d(e,"P",function(){return V}),n.d(e,"c",function(){return $}),n.d(e,"m",function(){return A}),n.d(e,"kb",function(){return E}),n.d(e,"C",function(){return B}),n.d(e,"D",function(){return N}),n.d(e,"U",function(){return U}),n.d(e,"W",function(){return z}),n.d(e,"L",function(){return F}),n.d(e,"T",function(){return Q}),n.d(e,"S",function(){return H}),n.d(e,"a",function(){return J}),n.d(e,"v",function(){return W}),n.d(e,"x",function(){return X}),n.d(e,"eb",function(){return K}),n.d(e,"nb",function(){return Y}),n.d(e,"O",function(){return Z}),n.d(e,"hb",function(){return tt}),n.d(e,"Z",function(){return et}),n.d(e,"ab",function(){return nt}),n.d(e,"Q",function(){return rt}),n.d(e,"X",function(){return ut}),n.d(e,"fb",function(){return at}),n.d(e,"Y",function(){return ot}),n.d(e,"k",function(){return it}),n.d(e,"jb",function(){return st}),n.d(e,"ib",function(){return ct}),n.d(e,"g",function(){return dt}),n.d(e,"gb",function(){return lt}),n.d(e,"n",function(){return ft}),n.d(e,"ob",function(){return pt}),n.d(e,"f",function(){return mt}),n.d(e,"e",function(){return bt}),n.d(e,"mb",function(){return ht}),n.d(e,"u",function(){return gt}),n.d(e,"z",function(){return Ot}),n.d(e,"bb",function(){return jt}),n.d(e,"N",function(){return St});var r=n("b775"),u=n("4328"),a=n.n(u),o="/api-web";function i(t){return Object(r["a"])({url:o+"/organization/queryPage",method:"get",params:t})}function s(t){return Object(r["a"])({url:o+"/chargeType/queryPage",method:"get",params:t})}function c(t){return Object(r["a"])({url:o+"/cooperationOrgan/queryPage",method:"get",params:t})}function d(t){return Object(r["a"])({url:o+"/school/queryPage",method:"get",params:t})}function l(t){return Object(r["a"])({url:o+"/teacher/findTeachers",method:"get",params:t})}function f(t){return Object(r["a"])({url:o+"/subject/findSubSubjects",method:"get",params:t})}function p(t){return Object(r["a"])({url:o+"/subject/findDefaultSubByChargeTypeId",method:"get",params:t})}function m(t){return Object(r["a"])({url:o+"/goods/queryGoodsBySubId",method:"get",params:t})}function b(t){return Object(r["a"])({url:o+"/musicGroup/createGroup",method:"post",data:t})}function h(t){return Object(r["a"])({url:o+"/musicGroupSubjectPlan/getMusicSubjectClass",method:"get",params:t})}function g(t){return Object(r["a"])({url:o+"/classGroup/findMusicGroupClass",method:"get",params:t})}function O(t){return Object(r["a"])({url:o+"/studentRegistration/queryStudentApplyDetail",method:"get",params:t})}function j(t){return Object(r["a"])({url:o+"/studentRegistration/getNoClassStu",method:"get",params:t})}function S(t){return Object(r["a"])({url:o+"/studentRegistration/getMusicGroupNoClassStu",method:"get",params:t})}function v(t){return Object(r["a"])({url:o+"/classGroup/add",method:"post",data:t})}function y(t){return Object(r["a"])({url:o+"/classGroup/delSingle",method:"post",data:a.a.stringify(t)})}function G(t){return Object(r["a"])({url:o+"/classGroup/findNoClassSubjects",method:"get",params:t})}function C(t){return Object(r["a"])({url:o+"/classGroup/addMixClass",method:"post",data:a.a.stringify(t)})}function _(t){return Object(r["a"])({url:o+"/classGroup/findMixMusicGroupClass",method:"get",params:t})}function q(t){return Object(r["a"])({url:o+"/classGroup/delMix",method:"post",data:a.a.stringify(t)})}function M(t){return Object(r["a"])({url:o+"/classGroup/addMusicGroupTeam",method:"POST",data:a.a.stringify(t)})}function T(t){return Object(r["a"])({url:o+"/classGroup/findMusicGroupClassTeacher",method:"get",params:t})}function x(t){return Object(r["a"])({url:o+"/classGroup/addClassGroupTeacher",method:"post",data:t})}function P(t){return Object(r["a"])({url:o+"/classGroup/findClassGroupAboutMix",method:"get",params:t})}function k(t){return Object(r["a"])({url:o+"/classGroup/classGroupAndTeacher",method:"get",params:t})}function L(t){return Object(r["a"])({url:o+"/courseSchedule/batchAddCourseSchedule",method:"post",data:t})}function w(t){return Object(r["a"])({url:o+"/subject/queryPageTree",method:"get",params:t})}function I(t){return Object(r["a"])({url:o+"/subject/querySubByMusicGroupId",method:"get",params:t})}function D(t){return Object(r["a"])({url:o+"/teacher/findMusicGroupTeachers",method:"get",params:t})}function R(t){return Object(r["a"])({url:o+"/courseSchedule/checkMusicGroupClassCourse",method:"post",data:a.a.stringify(t)})}function V(t){return Object(r["a"])({url:o+"/musicGroup/get/",method:"get",params:t})}function $(t){return Object(r["a"])({url:o+"/classGroup/addHighClass",method:"POST",data:t})}function A(t){return Object(r["a"])({url:o+"/classGroup/findMusicGroupClassTeacherSalary",method:"GET",params:t})}function E(t){return Object(r["a"])({url:o+"/classGroup/setClassGroupTeacherSalary",method:"post",data:t})}function B(t){return Object(r["a"])({url:o+"/musicGroup/get",method:"get",params:t})}function N(t){return Object(r["a"])({url:o+"/recharge/findAll",method:"get",params:t})}function U(t){return Object(r["a"])({url:o+"/teacher/queryMusicGroupTeachers",method:"get",params:t})}function z(t){return Object(r["a"])({url:o+"/subject/findSubApplyDetail",method:"get",params:t})}function F(t){return Object(r["a"])({url:o+"/teacher/queryTeacherAttendance",method:"get",params:t})}function Q(t){return Object(r["a"])({url:o+"/studentManage/queryMusicGroupStudent",method:"get",params:t})}function H(t){return Object(r["a"])({url:o+"/studentManage/musicGroupStudentsSum",method:"get",params:t})}function J(t){return Object(r["a"])({url:o+"/musicGroupQuit/directQuitMusicGroup",method:"post",data:a.a.stringify(t)})}function W(t){return Object(r["a"])({url:o+"/classGroup/queryMusicGroupClassGroup",method:"get",params:t})}function X(t){return Object(r["a"])({url:o+"/classGroup/queryMusicGroupCourseSchedule",method:"get",params:t})}function K(t){return Object(r["a"])({url:o+"/courseSchedule/classStartDateAdjust",method:"post",data:a.a.stringify(t)})}function Y(t){return Object(r["a"])({url:o+"/studentRegistration/getMusicGroupStu",method:"get",params:t})}function Z(t){return Object(r["a"])({url:o+"/musicGroup/findMusicGroupBasicInfo",method:"POST",data:a.a.stringify(t)})}function tt(t){return Object(r["a"])({url:o+"/musicGroup/update",method:"POST",data:t})}function et(t){return Object(r["a"])({url:o+"/musicGroup/openPay",method:"POST",data:a.a.stringify(t)})}function nt(t){return Object(r["a"])({url:o+"/studentRegistration/openPayment",method:"POST",data:a.a.stringify(t)})}function rt(t){return Object(r["a"])({url:o+"/order/getMusicalList",method:"get",params:t})}function ut(t){return Object(r["a"])({url:o+"/classGroup/highClassGroups",method:"get",params:t})}function at(t){return Object(r["a"])({url:o+"/classGroupStudent/adjustClassGroup",method:"POST",data:a.a.stringify(t)})}function ot(t){return Object(r["a"])({url:o+"/musicGroup/found",method:"POST",data:a.a.stringify(t)})}function it(t){return Object(r["a"])({url:o+"/musicGroup/extensionPayment",method:"POST",data:a.a.stringify(t)})}function st(t){return Object(r["a"])({url:o+"/classGroup/revisionClassGroup",method:"POST",data:t})}function ct(t){return Object(r["a"])({url:o+"/classGroup/revisionAddClassGroup",method:"POST",data:t})}function dt(t){return Object(r["a"])({url:o+"/musicGroup/cancelMusicGroup",method:"POST",data:a.a.stringify(t)})}function lt(t){return Object(r["a"])({url:o+"/musicGroup/updateExpectedStudentNum",method:"POST",data:t})}function ft(t){return Object(r["a"])({url:o+"/musicGroup/findMusicGroupSubjectInfo",method:"get",params:t})}function pt(t){return Object(r["a"])({url:o+"/musicGroup/updateSubjectInfo",method:"POST",data:t})}function mt(t){return Object(r["a"])({url:o+"/musicGroup/auditSuccess",method:"POST",data:a.a.stringify(t)})}function bt(t){return Object(r["a"])({url:o+"/musicGroup/auditFailed",method:"POST",data:a.a.stringify(t)})}function ht(t){return Object(r["a"])({url:o+"/musicGroup/action",method:"POST",data:a.a.stringify(t)})}function gt(t){return Object(r["a"])({url:o+"/courseSchedule/findCourseScheduleByClassGroup",method:"get",params:t})}function Ot(t){return Object(r["a"])({url:o+"/organization/queryEmployeeOrgan",method:"get",params:t})}function jt(t){return Object(r["a"])({url:o+"/musicGroup/pushMessage",method:"post",data:a.a.stringify(t)})}function St(t){return Object(r["a"])({url:o+"/courseSchedule/queryTeacherSalary",method:"get",params:t})}},"1eaf":function(t,e,n){},5137:function(t,e,n){"use strict";n.d(e,"m",function(){return i}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return c}),n.d(e,"e",function(){return d}),n.d(e,"g",function(){return l}),n.d(e,"c",function(){return f}),n.d(e,"r",function(){return p}),n.d(e,"n",function(){return m}),n.d(e,"q",function(){return b}),n.d(e,"l",function(){return h}),n.d(e,"p",function(){return g}),n.d(e,"j",function(){return O}),n.d(e,"k",function(){return j}),n.d(e,"a",function(){return S}),n.d(e,"h",function(){return v}),n.d(e,"b",function(){return y}),n.d(e,"o",function(){return G}),n.d(e,"i",function(){return C});var r=n("b775"),u=n("4328"),a=n.n(u),o="/api-web";function i(t){return Object(r["a"])({url:o+"/studentManage/queryStudentList",method:"get",params:t})}function s(t){return Object(r["a"])({url:o+"/studentManage/findStudentBaseInfo",method:"get",params:t})}function c(t){return Object(r["a"])({url:o+"/studentManage/findStudentMusicGroups",method:"get",params:t})}function d(t){return Object(r["a"])({url:o+"/studentManage/findStudentCourses",method:"get",params:t})}function l(t){return Object(r["a"])({url:o+"/studentManage/findStudentVipGroups",method:"get",params:t})}function f(t){return Object(r["a"])({url:o+"/studentManage/findStudentAttendances",method:"get",params:t})}function p(t){return Object(r["a"])({url:o+"/studentWithdraw/queryPage",method:"get",params:t})}function m(t){return Object(r["a"])({url:o+"/studentManage/queryStudentPayment",method:"get",params:t})}function b(t){return Object(r["a"])({url:o+"/order/queryPage",method:"get",params:t})}function h(t){return Object(r["a"])({url:o+"/studentManage/getUserCashAccountBaseInfo",method:"get",params:t})}function g(t){return Object(r["a"])({url:o+"/studentRegistration/batchUpdateSubject",method:"post",data:a.a.stringify(t)})}function O(t){return Object(r["a"])({url:o+"/studentRegistration/queryFeeDetail",method:"get",params:t})}function j(t){return Object(r["a"])({url:o+"/studentManage/queryMusicGroupStudentsSign",method:"get",params:t})}function S(t){return Object(r["a"])({url:o+"/studentRegistration/insertStudent",method:"POST",data:a.a.stringify(t)})}function v(t){return Object(r["a"])({url:o+"/classGroupStudent/findAllStudent",method:"POST",data:a.a.stringify(t)})}function y(t){return Object(r["a"])({url:o+"/classGroupStudent/addStudents",method:"POST",data:a.a.stringify(t)})}function G(t){return Object(r["a"])({url:o+"/classGroupStudent/del",method:"POST",data:a.a.stringify(t)})}function C(t){return Object(r["a"])({url:o+"/studentManage/queryStudentClassGroup",method:"get",params:t})}},de30:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"m-container"},[n("h2",[n("div",{staticClass:"squrt"}),t._v("基础技能班报名详情 \n "),n("span",{staticStyle:{"font-size":"16px","padding-left":"20px","font-weight":"400",cursor:"pointer"},on:{click:t.onCreateQRCode}},[t._v("查看报名连接")]),t._v(" "),n("span",{staticStyle:{"font-size":"16px","padding-left":"20px","font-weight":"400",cursor:"pointer"},on:{click:t.onApply}},[t._v("开启报名")])]),t._v(" "),n("div",{staticClass:"m-core"},[n("div",{staticClass:"tableWrap"},[n("el-table",{attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableList}},[n("el-table-column",{attrs:{label:"班级名称",prop:"name"}}),t._v(" "),n("el-table-column",{attrs:{label:"声部",prop:"subjectName"}}),t._v(" "),n("el-table-column",{attrs:{label:"预计人数",prop:"expectStudentNum"}}),t._v(" "),n("el-table-column",{attrs:{label:"实际人数",prop:"studentNum"}}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[n("el-button",{attrs:{type:"text"},on:{click:function(n){return t.lookDeatil(e.row)}}},[t._v("查看")]),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){return t.addstudentBtn(e.row)}}},[t._v("添加学员")])],1)]}}])})],1)],1)]),t._v(" "),n("el-dialog",{attrs:{title:"报名二维码",visible:t.qrcodeStatus,width:"300px"},on:{"update:visible":function(e){t.qrcodeStatus=e}}},[n("div",{staticClass:"left-code",staticStyle:{display:"flex","flex-direction":"column","align-items":"center"}},[n("h2",[t._v("小班课报名连接")]),t._v(" "),n("div",{ref:"qrCodeUrl",staticClass:"qrcode code",attrs:{id:"qrcode"}}),t._v(" "),t.codeUrl?n("p",{staticClass:"code-url",staticStyle:{width:"220px"}},[t._v(t._s(t.codeUrl))]):t._e()])]),t._v(" "),n("el-dialog",{attrs:{title:"添加学员",width:"600px",visible:t.addStudentVisible},on:{"update:visible":function(e){t.addStudentVisible=e}}},[n("el-table",{ref:"studentList",attrs:{data:t.studentList,"header-cell-style":{background:"#EDEEF0",color:"#444"}},on:{"selection-change":t.selectStudent}},[n("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"学生姓名"}}),t._v(" "),n("el-table-column",{attrs:{property:"classGroupName",label:"所在班级"}})],1),t._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.addStudnt}},[t._v("确 定")])],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"小班课学员详情",width:"600px",visible:t.lookDeatilVisible},on:{"update:visible":function(e){t.lookDeatilVisible=e}}},[n("el-table",{attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.classList}},[n("el-table-column",{attrs:{label:"学员姓名",prop:"name"}}),t._v(" "),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[n("el-popover",{ref:e.$index,attrs:{placement:"top",width:"160"}},[n("p",[t._v("确定删除该学生?")]),t._v(" "),n("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){e._self.$refs[e.$index].doClose()}}},[t._v("取消")]),t._v(" "),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return t.removeStudent(e)}}},[t._v("确定")])],1),t._v(" "),n("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("删除")])],1),t._v(" "),n("el-button",{attrs:{type:"text"},on:{click:function(n){return t.resetClass(e.row)}}},[t._v("调整班级")])],1)]}}])})],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"学员班级调整",width:"600px","append-to-body":"",visible:t.resetVisible},on:{"update:visible":function(e){t.resetVisible=e}}},[t._l(t.tableList,function(e,r){return n("div",{key:r,staticClass:"radioBox"},[n("el-radio",{staticStyle:{width:"120px"},attrs:{label:e.id},model:{value:t.studentRadio,callback:function(e){t.studentRadio=e},expression:"studentRadio"}},[t._v(t._s(e.name))]),t._v(" "),n("div",[t._v("预计人数:"+t._s(e.expectStudentNum))]),t._v(" "),n("div",[t._v("实际人数:"+t._s(e.studentNum))])],1)}),t._v(" "),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.resetStudent}},[t._v("确 定")])],1)],2)],1)},u=[],a=(n("7f7f"),n("1cc7")),o=n("5137"),i=n("d044"),s=n.n(i),c={data:function(){return{tableList:[],teamid:"",lookDeatilVisible:!1,addStudentVisible:!1,resetVisible:!1,studentList:[],activeStudentList:[],activeClass:"",classList:[],activeStudent:null,studentRadio:"",qrcodeStatus:!1,qrcodes:!0,qrcode:null,codeUrl:null}},mounted:function(){var t=this;this.teamid=this.$route.query.id,this.getList(),Object(a["nb"])({musicGroupId:this.teamid}).then(function(e){200==e.code&&(t.studentList=e.data)})},methods:{onApply:function(){var t=this;this.$confirm("您确定开启报名吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(a["bb"])({musicGroupId:t.teamid}).then(function(e){e.data;console.log(e),200==e.code?t.$message.success("报名成功"):t.$message.error(e.msg)})}).catch(function(){})},onCreateQRCode:function(){var t=this;this.qrcodeStatus=!0;var e=this.$route.query.id;this.$route.query.name;this.qrcodes&&(this.qrcodes=!1,setTimeout(function(){t.qrcode=new s.a("qrcode",{width:200,height:200,colorDark:"#000000",colorLight:"#ffffff",correctLevel:s.a.CorrectLevel.H}),t.qrcode.makeCode("http://mstudev.dayaedu.com/#/smallLogin?musicGroupId="+e),t.codeUrl="http://mstudev.dayaedu.com/#/smallLogin?musicGroupId="+e},500))},getList:function(){var t=this;Object(a["X"])({musicGroupId:this.teamid}).then(function(e){200==e.code&&(t.tableList=e.data)})},lookDeatil:function(t){var e=this;this.lookDeatilVisible=!0,this.activeClass=t.id,Object(o["h"])({classGroupId:this.activeClass}).then(function(t){200==t.code&&(e.classList=t.data)})},addstudentBtn:function(t){this.activeClass=t.id,this.addStudentVisible=!0},addStudnt:function(){var t=this,e=this.activeClass,n=this.activeStudentList.map(function(t){return t.userId}).join(",");Object(o["b"])({userIdsStr:n,classGroupId:e}).then(function(e){200==e.code&&(t.$message.success("添加成功"),t.activeStudentList=[],t.addStudentVisible=!1,t.$refs.studentList.clearSelection(),t.getList())})},selectStudent:function(t){this.activeStudentList=t},removeStudent:function(t){var e=this;console.log(t.row.userId),Object(o["o"])({classGroupId:this.activeClass,userId:t.row.userId}).then(function(n){200==n.code&&(e.$message.success("恭喜你删除成功"),t._self.$refs[t.$index].doClose(),Object(o["h"])({classGroupId:e.activeClass}).then(function(t){200==t.code&&(e.classList=t.data)}))})},resetClass:function(t){console.log(this.activeClass,t.userId),this.activeStudent=t.userId,this.resetVisible=!0},resetStudent:function(){var t=this;Object(a["fb"])({classGroupId:this.studentRadio,oldClassGroupId:this.activeClass,userId:this.activeStudent}).then(function(e){200==e.code&&(t.$message.success("调剂成功"),t.resetVisible=!1,t.getList())})}}},d=c,l=(n("e531"),n("2877")),f=Object(l["a"])(d,r,u,!1,null,null,null);e["default"]=f.exports},e531:function(t,e,n){"use strict";var r=n("1eaf"),u=n.n(r);u.a}}]);
|