1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a6e47c8"],{"0657":function(e,t,a){},"09f4":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function l(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(e,t,a){var s=l(),o=e-s,u=20,i=0;t="undefined"===typeof t?500:t;var c=function e(){i+=u;var l=Math.easeInOutQuad(i,s,o,t);r(l),i<t?n(e):a&&"function"===typeof a&&a()};c()}},"11e9":function(e,t,a){var n=a("52a7"),r=a("4630"),l=a("6821"),s=a("6a99"),o=a("69a8"),u=a("c69a"),i=Object.getOwnPropertyDescriptor;t.f=a("9e1e")?i:function(e,t){if(e=l(e),t=s(t,!0),u)try{return i(e,t)}catch(a){}if(o(e,t))return r(!n.f.call(e,t),e[t])}},2295:function(e,t,a){},"333d":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[a("el-pagination",e._b({attrs:{"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},r=[],l=(a("c5f6"),a("09f4")),s={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total,sizes,prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(l["a"])(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(l["a"])(0,800)}}},o=s,u=(a("c0b9"),a("2877")),i=Object(u["a"])(o,n,r,!1,null,"31cb099a",null);t["a"]=i.exports},5137:function(e,t,a){"use strict";a.d(t,"j",function(){return s}),a.d(t,"c",function(){return o}),a.d(t,"e",function(){return u}),a.d(t,"d",function(){return i}),a.d(t,"f",function(){return c}),a.d(t,"b",function(){return p}),a.d(t,"n",function(){return d}),a.d(t,"k",function(){return f}),a.d(t,"m",function(){return m}),a.d(t,"i",function(){return b}),a.d(t,"l",function(){return v}),a.d(t,"g",function(){return g}),a.d(t,"h",function(){return h}),a.d(t,"a",function(){return _});var n=a("b775"),r=a("4328"),l=a.n(r);function s(e){return Object(n["a"])({url:"/web-server/studentManage/queryStudentList",method:"get",params:e})}function o(e){return Object(n["a"])({url:"/web-server/studentManage/findStudentBaseInfo",method:"get",params:e})}function u(e){return Object(n["a"])({url:"/web-server/studentManage/findStudentMusicGroups",method:"get",params:e})}function i(e){return Object(n["a"])({url:"/web-server/studentManage/findStudentCourses",method:"get",params:e})}function c(e){return Object(n["a"])({url:"/web-server/studentManage/findStudentVipGroups",method:"get",params:e})}function p(e){return Object(n["a"])({url:"/web-server/studentManage/findStudentAttendances",method:"get",params:e})}function d(e){return Object(n["a"])({url:"/web-server/studentWithdraw/queryPage",method:"get",params:e})}function f(e){return Object(n["a"])({url:"/web-server/studentManage/queryStudentPayment",method:"get",params:e})}function m(e){return Object(n["a"])({url:"/web-server/studentPaymentOrder/queryOrderPage",method:"get",params:e})}function b(e){return Object(n["a"])({url:"/web-server/studentManage/getUserCashAccountBaseInfo",method:"get",params:e})}function v(e){return Object(n["a"])({url:"/web-server/studentRegistration/batchUpdateSubject",method:"post",data:l.a.stringify(e)})}function g(e){return Object(n["a"])({url:"/web-server/studentRegistration/queryFeeDetail",method:"get",params:e})}function h(e){return Object(n["a"])({url:"/web-server/studentManage/queryMusicGroupStudentsSign",method:"get",params:e})}function _(e){return Object(n["a"])({url:"/web-server/studentRegistration/insertStudent",method:"POST",data:l.a.stringify(e)})}},"5dbc":function(e,t,a){var n=a("d3f4"),r=a("8b97").set;e.exports=function(e,t,a){var l,s=t.constructor;return s!==a&&"function"==typeof s&&(l=s.prototype)!==a.prototype&&n(l)&&r&&r(e,l),e}},"6a7b":function(e,t,a){},"824b":function(e,t,a){"use strict";var n=a("6a7b"),r=a.n(n);r.a},"8b97":function(e,t,a){var n=a("d3f4"),r=a("cb7c"),l=function(e,t){if(r(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=a("9b43")(Function.call,a("11e9").f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,a){return l(e,a),t?e.__proto__=a:n(e,a),e}}({},!1):void 0),check:l}},9093:function(e,t,a){var n=a("ce10"),r=a("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},"92e3":function(e,t,a){"use strict";a.d(t,"c",function(){return n}),a.d(t,"a",function(){return r}),a.d(t,"e",function(){return l}),a.d(t,"g",function(){return s}),a.d(t,"b",function(){return o}),a.d(t,"f",function(){return u}),a.d(t,"d",function(){return i});var n=[{label:"单技课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"小班课",value:"HIGH"},{label:"VIP课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"练习课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训课",value:"TRAINING"}],r=[{label:"正常签到",value:1},{label:"异常签到",value:0}],l=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"零时工",value:"TEMPORARY"}],s=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],o=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{value:"QUIT_SCHOOL",label:"退学"},{value:"DROP_OUT",label:"休学"}],u=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"}],i=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAilED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}]},"9d3d":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[a("h2",[e._v("\n 学员详情\n ")]),e._v(" "),a("div",{staticClass:"m-core"},[a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeIndex,callback:function(t){e.activeIndex=t},expression:"activeIndex"}},[a("el-tab-pane",{attrs:{label:"基本信息",name:"1"}},[e.acitveStatus[0]?a("studentInfo"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"乐团&课程",name:"2"}},[e.acitveStatus[1]?a("teamAndcourse"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"VIP课",name:"3"}},[e.acitveStatus[2]?a("studentVip"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"上课记录",name:"4"}},[e.acitveStatus[3]?a("studentRecord"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"扣费记录",name:"5"}},[e.acitveStatus[4]?a("studentPayList"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"学员订单",name:"6"}},[e.acitveStatus[5]?a("studentOrder"):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"学员提现",name:"7"}},[e.acitveStatus[6]?a("studentCashout"):e._e()],1)],1)],1)])},r=[],l=(a("7f7f"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"studentDetail"},[a("el-form",{attrs:{inline:!0}},[a("el-form-item",{attrs:{label:"学生姓名"}},[a("el-input",{attrs:{disabled:"",value:e.studentForm.realName}})],1),e._v(" "),a("el-form-item",{attrs:{label:"学生性别"}},[a("el-input",{attrs:{value:e.studentForm.gender?"男":"女",disabled:""}})],1),e._v(" "),a("el-form-item",{attrs:{label:"出生年月"}},[a("el-input",{attrs:{value:e.studentForm.birthdate,disabled:""}})],1),e._v(" "),a("el-form-item",{attrs:{label:"家长姓名"}},[a("el-input",{attrs:{value:e.studentForm.parentsName,disabled:""}})],1),e._v(" "),a("el-form-item",{attrs:{label:"联系电话"}},[a("el-input",{attrs:{value:e.studentForm.parentsPhone,disabled:""}})],1),e._v(" "),a("el-form-item",{attrs:{label:"年级班级"}},[a("el-input",{attrs:{value:e.studentForm.currentGrade+e.studentForm.currentClass,disabled:""}})],1)],1)],1)}),s=[],o=a("5137"),u={data:function(){return{userId:this.$route.query.userId,studentForm:{},musicGroupInfo:[]}},mounted:function(){this.__init()},methods:{__init:function(){var e=this;Object(o["c"])({userId:this.userId}).then(function(t){200==t.code&&(e.studentForm=t.data)})}}},i=u,c=(a("824b"),a("2877")),p=Object(c["a"])(i,l,s,!1,null,null,null),d=p.exports,f=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"tabTopWrap"},[a("el-table",{attrs:{data:e.musicGroupInfo,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",prop:"musicGroupId",label:"乐团编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"joinMusicGroupDate",label:"入团时间"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"musicGroupName",label:"乐团名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"乐团状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("musicGroupType")(t.row.musicGroupStatus))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"专业"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"",label:"乐器来源"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("instrumentType")(t.row.kitPurchaseMethod))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"学员状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("musicGroupStudentType")(t.row.userMusicGroupStatus))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"所选乐器"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._l(t.row.userGoodsDtos,function(t){return a("span",{key:t.goodsId},[e._v("\n "+e._s(e._f("joinArray")(t.goodsName,","))+"\n ")])}),e._v("\n "+e._s("LEASE"==t.row.kitPurchaseMethod?"(租赁:"+t.row.depositFee+")":"")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.onCourse(t.row)}}},[e._v("排课详情")])]}}])})],1)],1),e._v(" "),e.coursesShow?a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("el-select",{attrs:{placeholder:"课程类型"},model:{value:e.searchForm.classGroupType,callback:function(t){e.$set(e.searchForm,"classGroupType",t)},expression:"searchForm.classGroupType"}},e._l(e.courseArray,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"课程状态"},model:{value:e.searchForm.courseStatus,callback:function(t){e.$set(e.searchForm,"courseStatus",t)},expression:"searchForm.courseStatus"}},e._l(e.courseStatus,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",[a("el-input",{attrs:{placeholder:"班级名称"},model:{value:e.searchForm.classGroupName,callback:function(t){e.$set(e.searchForm,"classGroupName",t)},expression:"searchForm.classGroupName"}})],1),e._v(" "),a("el-form-item",[a("el-input",{attrs:{placeholder:"老师姓名"},model:{value:e.searchForm.teacherName,callback:function(t){e.$set(e.searchForm,"teacherName",t)},expression:"searchForm.teacherName"}})],1),e._v(" "),a("el-form-item",[a("div",{staticClass:"searchBtn",on:{click:e.getStudentCourses}},[e._v("搜索")])])],1):e._e(),e._v(" "),e.coursesShow?a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.coursesInfo,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",prop:"classGroupId",label:"编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseDate",label:"时间"}}),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[e._v("\n "+e._s(e._f("coursesType")(t.row.classGroupType))+"\n ")]}}],null,!1,1134216539)}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"课程状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("coursesStatus")(t.row.courseStatus))+"\n ")]}}],null,!1,2648984599)}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"老师姓名"}})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getStudentCourses}})],1):e._e()],1)},m=[],b=a("333d"),v={components:{pagination:b["a"]},data:function(){return{userId:this.$route.query.userId,musicGroupInfo:[],coursesInfo:[],coursesShow:!1,searchLsit:[],searchForm:{studentId:this.$route.query.userId,musicGroupId:null,classGroupType:null,courseStatus:null,classGroupName:null,teacherName:null},courseArray:[{label:"单技课",value:"NORMAL"},{label:"合奏课",value:"MIX"},{label:"小班课",value:"HIGH"},{label:"VIP课",value:"VIP"},{label:"试听课",value:"DEMO"}],courseStatus:[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.__init()},methods:{__init:function(){var e=this;Object(o["e"])({userId:this.userId}).then(function(t){200==t.code&&(e.musicGroupInfo=t.data)})},onCourse:function(e){this.coursesShow=!0,this.searchForm={studentId:this.$route.query.userId,musicGroupId:e.musicGroupId,classGroupType:null,courseStatus:null,classGroupName:null,teacherName:null},this.getStudentCourses()},getStudentCourses:function(){var e=this,t=this.searchForm;t.rows=this.pageInfo.limit,t.page=this.pageInfo.page,Object(o["d"])(t).then(function(t){200==t.code&&(e.coursesInfo=t.data.rows,e.pageInfo.total=t.data.total)})}}},g=v,h=(a("ec96"),Object(c["a"])(g,f,m,!1,null,null,null)),_=h.exports,I=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("el-select",{attrs:{placeholder:"课程类型"},model:{value:e.searchForm.classGroupType,callback:function(t){e.$set(e.searchForm,"classGroupType",t)},expression:"searchForm.classGroupType"}},e._l(e.courseArray,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"考勤状态"},model:{value:e.searchForm.attendanceStatus,callback:function(t){e.$set(e.searchForm,"attendanceStatus",t)},expression:"searchForm.attendanceStatus"}},e._l(e.att,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",[a("el-input",{attrs:{placeholder:"班级名称"},model:{value:e.searchForm.classGroupName,callback:function(t){e.$set(e.searchForm,"classGroupName",t)},expression:"searchForm.classGroupName"}})],1),e._v(" "),a("el-form-item",[a("el-input",{attrs:{placeholder:"老师姓名"},model:{value:e.searchForm.teacherName,callback:function(t){e.$set(e.searchForm,"teacherName",t)},expression:"searchForm.teacherName"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger"},on:{click:e.getList}},[e._v("搜索")])],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[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",prop:"courseDate",label:"上课时间"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"星期几"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("formatWeek")(t.row.courseDate))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("coursesType")(t.row.classGroupType))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"班级名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"currentCLassTimes",label:"当前课次"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"课程老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"attendanceStatus",label:"考情状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("clockingIn")(t.row.attendanceStatus))+"\n ")]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)},y=[],S={name:"studentRecord",components:{pagination:b["a"]},data:function(){return{searchForm:{userId:this.$route.query.userId,classGroupType:null,attendanceStatus:null,classGroupName:null,teacherName:null},searchLsit:[],tableList:[],courseArray:[{label:"单技课",value:"NORMAL"},{label:"合奏课",value:"MIX"},{label:"小班课",value:"HIGH"},{label:"VIP课",value:"VIP"},{label:"试听课",value:"DEMO"}],att:[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{value:"DROP_OUT",label:"休学"}],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this,t=this.searchForm;t.rows=this.pageInfo.limit,t.page=this.pageInfo.page,Object(o["b"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.pageInfo.total=t.data.total)})},onReSet:function(){this.searchForm={userId:this.$route.query.userId,classGroupType:null,attendanceStatus:null,classGroupName:null,teacherName:null},this.getList()}}},F=S,k=Object(c["a"])(F,I,y,!1,null,null,null),N=k.exports,E=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("el-select",{attrs:{placeholder:"考勤状态"},model:{value:e.searchForm.attendanceStatus,callback:function(t){e.$set(e.searchForm,"attendanceStatus",t)},expression:"searchForm.attendanceStatus"}},e._l(e.attendanceStatus,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger"},on:{click:e.getList}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[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)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("coursesType")(t.row.classGroupType))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"班级名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"currentClassTimes",label:"当前课次"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"考勤状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("clockingIn")(t.row.status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"actualPrice",label:"预计扣费"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"expectPrice",label:"实际扣费"}})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)},C=[],w=a("92e3"),O=a("4360"),T={components:{pagination:b["a"]},data:function(){return{organId:O["a"].getters.organ,searchForm:{userId:this.$route.query.userId,attendanceStatus:null},attendanceStatus:w["b"],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},tableList:[]}},mounted:function(){this.getList()},methods:{getList:function(){var e=this,t=this.searchForm;t.rows=this.pageInfo.limit,t.page=this.pageInfo.page,Object(o["k"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.pageInfo.total=t.data.total)})},onReSet:function(){this.searchForm={userId:this.$route.query.userId,attendanceStatus:null}}}},L=T,G=Object(c["a"])(L,E,C,!1,null,null,null),x=G.exports,$=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"studentvip"},[a("div",{staticClass:"topCard"},e._l(e.courseList,function(t,n){return a("div",{key:n,staticClass:"cardItem",class:[t.id==e.checkIndex?"active":""],on:{click:function(a){return e.onCheckCourse(t)}}},[a("div",{staticClass:"top"},[a("p",{staticClass:"name"},[e._v(e._s(t.name))]),e._v(" "),a("p",{staticClass:"type"},[e._v(e._s("ONLINE"==t.giveTeachMode?"线上":"线下"))])]),e._v(" "),a("div",{staticClass:"bottom"},[a("div",[a("p",{staticClass:"title"},[e._v("指导老师")]),e._v(" "),a("p",[e._v(e._s(t.userName))])]),e._v(" "),a("div",[a("p",{staticClass:"title"},[e._v("学员数量")]),e._v(" "),a("p",[e._v(e._s(t.studentNum))])]),e._v(" "),a("div",[a("p",{staticClass:"title"},[e._v("剩余课时")]),e._v(" "),a("p",[e._v(e._s(t.totalClassTimes-t.currentClassTimes))])])])])}),0),e._v(" "),e.checkIndex?a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{label:"时间",prop:"courseDate"}}),e._v(" "),a("el-table-column",{attrs:{label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("coursesType")(t.row.classGroupType))+"\n ")]}}],null,!1,1134216539)}),e._v(" "),a("el-table-column",{attrs:{label:"指导老师",prop:"teacherName"}})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1):e._e()])},A=[],j={name:"studentvip",components:{pagination:b["a"]},data:function(){return{userId:this.$route.query.userId,searchForm:{status:""},checkIndex:null,searchLsit:[],tableList:[],courseList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.getCourseList()},methods:{onCheckCourse:function(e){this.checkIndex=e.id,this.getList()},getCourseList:function(){var e=this;Object(o["f"])({userId:this.userId}).then(function(t){200==t.code&&(e.courseList=t.data)})},getList:function(){var e=this;Object(o["d"])({vipGroupId:this.checkIndex,rows:this.pageInfo.limit,page:this.pageInfo.page}).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.pageInfo.total=t.data.total)})}}},P=j,D=(a("ced1"),Object(c["a"])(P,$,A,!1,null,null,null)),M=D.exports,R=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"studentOrder"},[a("div",{staticClass:"headWrap"},[a("div",{staticClass:"left"},[a("div",{staticClass:"headItem"},[a("p",[e._v("账户余额:"),a("span",[e._v(e._s(e.dataInfo.balance))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("银行卡:"),a("span",[e._v(e._s(e.dataInfo.cardNo))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("支付宝:"),a("span",[e._v(e._s(e.dataInfo.zfb))])])]),e._v(" "),a("div",{staticClass:"headItem"},[a("p",[e._v("微信:"),a("span",[e._v(e._s(e.dataInfo.wxBalance))])])])])]),e._v(" "),a("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:e.searchForm,callback:function(t){e.searchForm=t},expression:"searchForm"}},[a("el-form-item",[a("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"订单开始日期","end-placeholder":"订单结束日期"},on:{change:e.searchCourseDate},model:{value:e.orderDate,callback:function(t){e.orderDate=t},expression:"orderDate"}})],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"交易类型"},model:{value:e.searchForm.paymentType,callback:function(t){e.$set(e.searchForm,"paymentType",t)},expression:"searchForm.paymentType"}},e._l(e.orderStatus,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),a("el-form-item",[a("el-input",{attrs:{type:"text",placeholder:"订单说明"},model:{value:e.searchForm.remark,callback:function(t){e.$set(e.searchForm,"remark",t)},expression:"searchForm.remark"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"danger"},on:{click:e.getList}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onReSet}},[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:{label:"订单日期",prop:"createTime",width:"180px"}}),e._v(" "),a("el-table-column",{attrs:{label:"交易类型",width:"180px"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("orderType")(t.row.type))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{width:"180px",label:"实际金额",prop:"actualAmount"}}),e._v(" "),a("el-table-column",{attrs:{label:"订单说明",prop:"memo"}})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)},z=[],q={components:{pagination:b["a"]},data:function(){return{organId:O["a"].getters.organ,orderDate:null,searchForm:{studentId:this.$route.query.userId,orderStartDate:null,orderEndDate:null,paymentType:null,remark:null},orderStatus:w["f"],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},tableList:[],dataInfo:{}}},mounted:function(){this.getList(),this.__init()},methods:{__init:function(){var e=this;Object(o["i"])({userId:this.$route.query.userId}).then(function(t){200==t.code&&(e.dataInfo={balance:t.data.balance,wxBalance:0,cardNo:t.data.cardNo,zfb:null})})},getList:function(){var e=this,t=this.searchForm;t.rows=this.pageInfo.limit,t.page=this.pageInfo.page,Object(o["m"])(t).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.pageInfo.total=t.data.total)})},searchCourseDate:function(e){e?(this.searchForm.orderStartDate=e[0],this.searchForm.orderEndDate=e[1]):(this.searchForm.orderStartDate=null,this.searchForm.orderEndDate=null)},onReSet:function(){this.orderDate=null,this.searchForm={studentId:this.$route.query.userId,orderStartDate:null,orderEndDate:null,paymentType:null,remark:null}}}},V=q,U=(a("c605"),Object(c["a"])(V,R,z,!1,null,null,null)),W=U.exports,H=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"提现交易流水号",prop:"id"}}),e._v(" "),a("el-table-column",{attrs:{label:"申请时间",prop:"createTime"}}),e._v(" "),a("el-table-column",{attrs:{label:"提现金额",prop:"amount"}}),e._v(" "),a("el-table-column",{attrs:{label:"账户余额",prop:"balance"}}),e._v(" "),a("el-table-column",{attrs:{label:"账户号",prop:"bankCardNo"}}),e._v(" "),a("el-table-column",{attrs:{label:"提现状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("dealStatus")(t.row.status))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"支付账号",prop:"platformAccountNo"}}),e._v(" "),a("el-table-column",{attrs:{label:"支付渠道",prop:"channel"}}),e._v(" "),a("el-table-column",{attrs:{label:"交易流水号",prop:"withdrawNo"}})],1),e._v(" "),a("pagination",{attrs:{total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)])},B=[],Y={components:{pagination:b["a"]},data:function(){return{searceList:{},tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;Object(o["n"])({userId:this.$route.query.userId,rows:this.pageInfo.limit,page:this.pageInfo.page}).then(function(t){200==t.code&&(e.tableList=t.data.rows)})}}},X=Y,Q=Object(c["a"])(X,H,B,!1,null,null,null),J=Q.exports,K={components:{teamAndcourse:_,studentRecord:N,studentPayList:x,studentInfo:d,studentVip:M,studentOrder:W,studentCashout:J},name:"studentDetail",data:function(){return{activeIndex:"1",acitveStatus:[!0,!1,!1,!1,!1,!1,!1]}},methods:{handleClick:function(e){this.activeIndex=e.name,this.acitveStatus[e.name-1]=!0}}},Z=K,ee=Object(c["a"])(Z,n,r,!1,null,null,null);t["default"]=ee.exports},aa77:function(e,t,a){var n=a("5ca1"),r=a("be13"),l=a("79e5"),s=a("fdef"),o="["+s+"]",u="
",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),p=function(e,t,a){var r={},o=l(function(){return!!s[e]()||u[e]()!=u}),i=r[e]=o?t(d):s[e];a&&(r[a]=i),n(n.P+n.F*o,"String",r)},d=p.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(c,"")),e};e.exports=p},c0b9:function(e,t,a){"use strict";var n=a("de4e"),r=a.n(n);r.a},c5f6:function(e,t,a){"use strict";var n=a("7726"),r=a("69a8"),l=a("2d95"),s=a("5dbc"),o=a("6a99"),u=a("79e5"),i=a("9093").f,c=a("11e9").f,p=a("86cc").f,d=a("aa77").trim,f="Number",m=n[f],b=m,v=m.prototype,g=l(a("2aeb")(v))==f,h="trim"in String.prototype,_=function(e){var t=o(e,!1);if("string"==typeof t&&t.length>2){t=h?t.trim():d(t,3);var a,n,r,l=t.charCodeAt(0);if(43===l||45===l){if(a=t.charCodeAt(2),88===a||120===a)return NaN}else if(48===l){switch(t.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+t}for(var s,u=t.slice(2),i=0,c=u.length;i<c;i++)if(s=u.charCodeAt(i),s<48||s>r)return NaN;return parseInt(u,n)}}return+t};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof m&&(g?u(function(){v.valueOf.call(a)}):l(a)!=f)?s(new b(_(t)),a,m):_(t)};for(var I,y=a("9e1e")?i(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;y.length>S;S++)r(b,I=y[S])&&!r(m,I)&&p(m,I,c(b,I));m.prototype=v,v.constructor=m,a("2aba")(n,f,m)}},c605:function(e,t,a){"use strict";var n=a("0657"),r=a.n(n);r.a},ced1:function(e,t,a){"use strict";var n=a("2295"),r=a.n(n);r.a},de4e:function(e,t,a){},ec96:function(e,t,a){"use strict";var n=a("f2e6"),r=a.n(n);r.a},f2e6:function(e,t,a){},fdef:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"}}]);
|