1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-711bc3b2","chunk-2d0b66fc"],{"09f4":function(t,e,r){"use strict";r.d(e,"a",function(){return o}),Math.easeInOutQuad=function(t,e,r,n){return t/=n/2,t<1?r/2*t*t+e:(t--,-r/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function u(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function a(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(t,e,r){var o=a(),i=t-o,c=20,s=0;e="undefined"===typeof e?500:e;var l=function t(){s+=c;var a=Math.easeInOutQuad(s,o,i,e);u(a),s<e?n(t):r&&"function"===typeof r&&r()};l()}},"1cc7":function(t,e,r){"use strict";r.d(e,"G",function(){return i}),r.d(e,"V",function(){return c}),r.d(e,"w",function(){return s}),r.d(e,"q",function(){return l}),r.d(e,"M",function(){return d}),r.d(e,"K",function(){return p}),r.d(e,"y",function(){return f}),r.d(e,"B",function(){return m}),r.d(e,"j",function(){return g}),r.d(e,"R",function(){return h}),r.d(e,"H",function(){return b}),r.d(e,"J",function(){return v}),r.d(e,"E",function(){return y}),r.d(e,"F",function(){return O}),r.d(e,"d",function(){return j}),r.d(e,"db",function(){return G}),r.d(e,"o",function(){return S}),r.d(e,"b",function(){return _}),r.d(e,"r",function(){return C}),r.d(e,"cb",function(){return T}),r.d(e,"h",function(){return P}),r.d(e,"A",function(){return w}),r.d(e,"lb",function(){return M}),r.d(e,"s",function(){return k}),r.d(e,"t",function(){return x}),r.d(e,"pb",function(){return I}),r.d(e,"I",function(){return A}),r.d(e,"p",function(){return F}),r.d(e,"l",function(){return q}),r.d(e,"i",function(){return z}),r.d(e,"P",function(){return D}),r.d(e,"c",function(){return $}),r.d(e,"m",function(){return V}),r.d(e,"kb",function(){return R}),r.d(e,"C",function(){return E}),r.d(e,"D",function(){return L}),r.d(e,"U",function(){return B}),r.d(e,"W",function(){return N}),r.d(e,"L",function(){return Q}),r.d(e,"T",function(){return U}),r.d(e,"S",function(){return J}),r.d(e,"a",function(){return H}),r.d(e,"v",function(){return W}),r.d(e,"x",function(){return K}),r.d(e,"eb",function(){return X}),r.d(e,"nb",function(){return Y}),r.d(e,"O",function(){return Z}),r.d(e,"hb",function(){return tt}),r.d(e,"Z",function(){return et}),r.d(e,"ab",function(){return rt}),r.d(e,"Q",function(){return nt}),r.d(e,"X",function(){return ut}),r.d(e,"fb",function(){return at}),r.d(e,"Y",function(){return ot}),r.d(e,"k",function(){return it}),r.d(e,"jb",function(){return ct}),r.d(e,"ib",function(){return st}),r.d(e,"g",function(){return lt}),r.d(e,"gb",function(){return dt}),r.d(e,"n",function(){return pt}),r.d(e,"ob",function(){return ft}),r.d(e,"f",function(){return mt}),r.d(e,"e",function(){return gt}),r.d(e,"mb",function(){return ht}),r.d(e,"u",function(){return bt}),r.d(e,"z",function(){return vt}),r.d(e,"bb",function(){return yt}),r.d(e,"N",function(){return Ot});var n=r("b775"),u=r("4328"),a=r.n(u),o="/api-web";function i(t){return Object(n["a"])({url:o+"/organization/queryPage",method:"get",params:t})}function c(t){return Object(n["a"])({url:o+"/chargeType/queryPage",method:"get",params:t})}function s(t){return Object(n["a"])({url:o+"/cooperationOrgan/queryPage",method:"get",params:t})}function l(t){return Object(n["a"])({url:o+"/school/queryPage",method:"get",params:t})}function d(t){return Object(n["a"])({url:o+"/teacher/findTeachers",method:"get",params:t})}function p(t){return Object(n["a"])({url:o+"/subject/findSubSubjects",method:"get",params:t})}function f(t){return Object(n["a"])({url:o+"/subject/findDefaultSubByChargeTypeId",method:"get",params:t})}function m(t){return Object(n["a"])({url:o+"/goods/queryGoodsBySubId",method:"get",params:t})}function g(t){return Object(n["a"])({url:o+"/musicGroup/createGroup",method:"post",data:t})}function h(t){return Object(n["a"])({url:o+"/musicGroupSubjectPlan/getMusicSubjectClass",method:"get",params:t})}function b(t){return Object(n["a"])({url:o+"/classGroup/findMusicGroupClass",method:"get",params:t})}function v(t){return Object(n["a"])({url:o+"/studentRegistration/queryStudentApplyDetail",method:"get",params:t})}function y(t){return Object(n["a"])({url:o+"/studentRegistration/getNoClassStu",method:"get",params:t})}function O(t){return Object(n["a"])({url:o+"/studentRegistration/getMusicGroupNoClassStu",method:"get",params:t})}function j(t){return Object(n["a"])({url:o+"/classGroup/add",method:"post",data:t})}function G(t){return Object(n["a"])({url:o+"/classGroup/delSingle",method:"post",data:a.a.stringify(t)})}function S(t){return Object(n["a"])({url:o+"/classGroup/findNoClassSubjects",method:"get",params:t})}function _(t){return Object(n["a"])({url:o+"/classGroup/addMixClass",method:"post",data:a.a.stringify(t)})}function C(t){return Object(n["a"])({url:o+"/classGroup/findMixMusicGroupClass",method:"get",params:t})}function T(t){return Object(n["a"])({url:o+"/classGroup/delMix",method:"post",data:a.a.stringify(t)})}function P(t){return Object(n["a"])({url:o+"/classGroup/addMusicGroupTeam",method:"POST",data:a.a.stringify(t)})}function w(t){return Object(n["a"])({url:o+"/classGroup/findMusicGroupClassTeacher",method:"get",params:t})}function M(t){return Object(n["a"])({url:o+"/classGroup/addClassGroupTeacher",method:"post",data:t})}function k(t){return Object(n["a"])({url:o+"/classGroup/findClassGroupAboutMix",method:"get",params:t})}function x(t){return Object(n["a"])({url:o+"/classGroup/classGroupAndTeacher",method:"get",params:t})}function I(t){return Object(n["a"])({url:o+"/courseSchedule/batchAddCourseSchedule",method:"post",data:t})}function A(t){return Object(n["a"])({url:o+"/subject/queryPageTree",method:"get",params:t})}function F(t){return Object(n["a"])({url:o+"/subject/querySubByMusicGroupId",method:"get",params:t})}function q(t){return Object(n["a"])({url:o+"/teacher/findMusicGroupTeachers",method:"get",params:t})}function z(t){return Object(n["a"])({url:o+"/courseSchedule/checkMusicGroupClassCourse",method:"post",data:a.a.stringify(t)})}function D(t){return Object(n["a"])({url:o+"/musicGroup/get/",method:"get",params:t})}function $(t){return Object(n["a"])({url:o+"/classGroup/addHighClass",method:"POST",data:t})}function V(t){return Object(n["a"])({url:o+"/classGroup/findMusicGroupClassTeacherSalary",method:"GET",params:t})}function R(t){return Object(n["a"])({url:o+"/classGroup/setClassGroupTeacherSalary",method:"post",data:t})}function E(t){return Object(n["a"])({url:o+"/musicGroup/get",method:"get",params:t})}function L(t){return Object(n["a"])({url:o+"/recharge/findAll",method:"get",params:t})}function B(t){return Object(n["a"])({url:o+"/teacher/queryMusicGroupTeachers",method:"get",params:t})}function N(t){return Object(n["a"])({url:o+"/subject/findSubApplyDetail",method:"get",params:t})}function Q(t){return Object(n["a"])({url:o+"/teacher/queryTeacherAttendance",method:"get",params:t})}function U(t){return Object(n["a"])({url:o+"/studentManage/queryMusicGroupStudent",method:"get",params:t})}function J(t){return Object(n["a"])({url:o+"/studentManage/musicGroupStudentsSum",method:"get",params:t})}function H(t){return Object(n["a"])({url:o+"/musicGroupQuit/directQuitMusicGroup",method:"post",data:a.a.stringify(t)})}function W(t){return Object(n["a"])({url:o+"/classGroup/queryMusicGroupClassGroup",method:"get",params:t})}function K(t){return Object(n["a"])({url:o+"/classGroup/queryMusicGroupCourseSchedule",method:"get",params:t})}function X(t){return Object(n["a"])({url:o+"/courseSchedule/classStartDateAdjust",method:"post",data:a.a.stringify(t)})}function Y(t){return Object(n["a"])({url:o+"/studentRegistration/getMusicGroupStu",method:"get",params:t})}function Z(t){return Object(n["a"])({url:o+"/musicGroup/findMusicGroupBasicInfo",method:"POST",data:a.a.stringify(t)})}function tt(t){return Object(n["a"])({url:o+"/musicGroup/update",method:"POST",data:t})}function et(t){return Object(n["a"])({url:o+"/musicGroup/openPay",method:"POST",data:a.a.stringify(t)})}function rt(t){return Object(n["a"])({url:o+"/studentRegistration/openPayment",method:"POST",data:a.a.stringify(t)})}function nt(t){return Object(n["a"])({url:o+"/order/getMusicalList",method:"get",params:t})}function ut(t){return Object(n["a"])({url:o+"/classGroup/highClassGroups",method:"get",params:t})}function at(t){return Object(n["a"])({url:o+"/classGroupStudent/adjustClassGroup",method:"POST",data:a.a.stringify(t)})}function ot(t){return Object(n["a"])({url:o+"/musicGroup/found",method:"POST",data:a.a.stringify(t)})}function it(t){return Object(n["a"])({url:o+"/musicGroup/extensionPayment",method:"POST",data:a.a.stringify(t)})}function ct(t){return Object(n["a"])({url:o+"/classGroup/revisionClassGroup",method:"POST",data:t})}function st(t){return Object(n["a"])({url:o+"/classGroup/revisionAddClassGroup",method:"POST",data:t})}function lt(t){return Object(n["a"])({url:o+"/musicGroup/cancelMusicGroup",method:"POST",data:a.a.stringify(t)})}function dt(t){return Object(n["a"])({url:o+"/musicGroup/updateExpectedStudentNum",method:"POST",data:t})}function pt(t){return Object(n["a"])({url:o+"/musicGroup/findMusicGroupSubjectInfo",method:"get",params:t})}function ft(t){return Object(n["a"])({url:o+"/musicGroup/updateSubjectInfo",method:"POST",data:t})}function mt(t){return Object(n["a"])({url:o+"/musicGroup/auditSuccess",method:"POST",data:a.a.stringify(t)})}function gt(t){return Object(n["a"])({url:o+"/musicGroup/auditFailed",method:"POST",data:a.a.stringify(t)})}function ht(t){return Object(n["a"])({url:o+"/musicGroup/action",method:"POST",data:a.a.stringify(t)})}function bt(t){return Object(n["a"])({url:o+"/courseSchedule/findCourseScheduleByClassGroup",method:"get",params:t})}function vt(t){return Object(n["a"])({url:o+"/organization/queryEmployeeOrgan",method:"get",params:t})}function yt(t){return Object(n["a"])({url:o+"/musicGroup/pushMessage",method:"post",data:a.a.stringify(t)})}function Ot(t){return Object(n["a"])({url:o+"/courseSchedule/queryTeacherSalary",method:"get",params:t})}},"270e":function(t,e,r){},"2f71":function(t,e,r){"use strict";var n=r("270e"),u=r.n(n);u.a},"333d":function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"pagination-container",class:{hidden:t.hidden}},[r("el-pagination",t._b({attrs:{"current-page":t.currentPage,"page-size":t.pageSize,layout:t.layout,"page-sizes":t.pageSizes,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"update:pageSize":function(e){t.pageSize=e},"update:page-size":function(e){t.pageSize=e},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}},"el-pagination",t.$attrs,!1))],1)},u=[],a=(r("c5f6"),r("09f4")),o={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(t){this.$emit("update:page",t)}},pageSize:{get:function(){return this.limit},set:function(t){this.$emit("update:limit",t)}}},methods:{handleSizeChange:function(t){this.$emit("pagination",{page:this.currentPage,limit:t}),this.autoScroll&&Object(a["a"])(0,800)},handleCurrentChange:function(t){this.$emit("pagination",{page:t,limit:this.pageSize}),this.autoScroll&&Object(a["a"])(0,800)}}},i=o,c=(r("c0b9"),r("2877")),s=Object(c["a"])(i,n,u,!1,null,"31cb099a",null);e["a"]=s.exports},"7e78":function(t,e,r){"use strict";r.d(e,"y",function(){return i}),r.d(e,"i",function(){return c}),r.d(e,"c",function(){return s}),r.d(e,"v",function(){return l}),r.d(e,"r",function(){return d}),r.d(e,"a",function(){return p}),r.d(e,"s",function(){return f}),r.d(e,"p",function(){return m}),r.d(e,"f",function(){return g}),r.d(e,"w",function(){return h}),r.d(e,"x",function(){return b}),r.d(e,"b",function(){return v}),r.d(e,"t",function(){return y}),r.d(e,"q",function(){return O}),r.d(e,"n",function(){return j}),r.d(e,"l",function(){return G}),r.d(e,"g",function(){return S}),r.d(e,"o",function(){return _}),r.d(e,"h",function(){return C}),r.d(e,"m",function(){return T}),r.d(e,"j",function(){return P}),r.d(e,"u",function(){return w}),r.d(e,"k",function(){return M}),r.d(e,"e",function(){return k}),r.d(e,"d",function(){return x});var n=r("b775"),u=r("4328"),a=r.n(u),o="/api-web";function i(t){return Object(n["a"])({url:o+"/vipGroupCategory/queryAll",method:"get",params:t})}function c(t){return Object(n["a"])({url:o+"/vipGroupDefaultClassesCycle/queryAll",method:"get",params:t})}function s(t){return Object(n["a"])({url:o+"/vipGroupCategory/add",method:"post",data:a.a.stringify(t)})}function l(t){return Object(n["a"])({url:o+"/vipGroupCategory/update",method:"post",data:a.a.stringify(t)})}function d(t){return Object(n["a"])({url:o+"/vipGroupCategory/delete",method:"post",data:a.a.stringify(t)})}function p(t){return Object(n["a"])({url:o+"/vipGroupDefaultClassesCycle/add",method:"post",data:a.a.stringify(t)})}function f(t){return Object(n["a"])({url:o+"/vipGroupDefaultClassesCycle/update",method:"post",data:a.a.stringify(t)})}function m(t){return Object(n["a"])({url:o+"/vipGroupDefaultClassesCycle/delete",method:"post",data:a.a.stringify(t)})}function g(t){return Object(n["a"])({url:o+"/vipGroupDefaultClassesUnitPrice/add",method:"post",data:a.a.stringify(t)})}function h(t){return Object(n["a"])({url:o+"/vipGroupActivity/queryPage",method:"get",params:t})}function b(t){return Object(n["a"])({url:o+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})}function v(t){return Object(n["a"])({url:o+"/vipGroupActivity/addVipGroupActivity",method:"POST",data:t})}function y(t){return Object(n["a"])({url:o+"/vipGroupActivity/update",method:"POST",data:t})}function O(t){return Object(n["a"])({url:o+"/vipGroupActivity/delete",method:"POST",data:a.a.stringify(t)})}function j(t){return Object(n["a"])({url:o+"/vipGroupManage/queryAll",method:"GET",params:t})}function G(t){return Object(n["a"])({url:o+"/vipGroupManage/getVipGroupDetail",method:"GET",params:t})}function S(t){return Object(n["a"])({url:o+"/vipGroupManage/findVipGroupStudents",method:"GET",params:t})}function _(t){return Object(n["a"])({url:o+"/vipGroupManage/applyRefundForStudent",method:"POST",data:a.a.stringify(t)})}function C(t){return Object(n["a"])({url:o+"/vipGroupManage/findVipGroupTeachingRecord",method:"get",params:t})}function T(t){return Object(n["a"])({url:o+"/vipGroupManage/findVipGroupSalarys",method:"get",params:t})}function P(t){return Object(n["a"])({url:o+"/vipGroupManage/findVipGroupAttendanceStudents",method:"get",params:t})}function w(t){return Object(n["a"])({url:o+"/vipGroupManage/classStartDateAdjust",method:"POST",params:t})}function M(t){return Object(n["a"])({url:o+"/vipGroupManage/getVipGroupCostCount",method:"POST",params:t})}function k(t){return Object(n["a"])({url:o+"/vipGroupManage/vipGroupApply",method:"POST",data:t})}function x(t){return Object(n["a"])({url:o+"/vipGroupManage/stopVipGroup",method:"POST",data:a.a.stringify(t)})}},"8e19":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"m-container"},[r("h2",[t._v("VIP课列表\n ")]),t._v(" "),r("div",{staticClass:"newBand",on:{click:t.gotoBuildVip}},[t._v("新建vip课")]),t._v(" "),r("div",{staticClass:"m-core"},[r("el-form",{staticClass:"searchForm",attrs:{inline:!0},model:{value:t.searchForm,callback:function(e){t.searchForm=e},expression:"searchForm"}},[r("el-form-item",{attrs:{prop:"orgin"}},[r("el-select",{staticClass:"multiple",attrs:{clearable:"",placeholder:"请选择分部"},model:{value:t.searchForm.orgin,callback:function(e){t.$set(t.searchForm,"orgin",e)},expression:"searchForm.orgin"}},t._l(t.organList,function(t,e){return r("el-option",{key:e,attrs:{label:t.name,value:t.id}})}),1)],1),t._v(" "),r("el-form-item",[r("el-select",{attrs:{clearable:"",placeholder:"指导老师"},model:{value:t.searchForm.teacherId,callback:function(e){t.$set(t.searchForm,"teacherId",e)},expression:"searchForm.teacherId"}},t._l(t.teacherList,function(t,e){return r("el-option",{key:e,attrs:{value:t.id,label:t.username}})}),1)],1),t._v(" "),r("el-form-item",[r("el-select",{attrs:{clearable:"",placeholder:"活动方案"},model:{value:t.searchForm.activityId,callback:function(e){t.$set(t.searchForm,"activityId",e)},expression:"searchForm.activityId"}},t._l(t.activeList,function(t,e){return r("el-option",{key:e,attrs:{value:t.id,label:t.name}})}),1)],1),t._v(" "),r("el-form-item",[r("el-input",{attrs:{placeholder:"课程名称"},model:{value:t.searchForm.search,callback:function(e){t.$set(t.searchForm,"search",e)},expression:"searchForm.search"}})],1),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"danger"},on:{click:t.getList}},[t._v("基础技能班")]),t._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:t.onReSet}},[t._v("重置")])],1)],1),t._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableData}},[r("el-table-column",{attrs:{align:"center",prop:"id",label:"VIP编号"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"name",label:"课程名称"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"status",label:"课程状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v("\n "+t._s(t._f("formatterStatus")(e.row.status))+"\n ")])]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"userName",label:"指导老师"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"studentNum",label:"班级人数"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"课程单价"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("p",[t._v("线上课单价:"+t._s(e.row.onlineClassesUnitPrice))]),t._v(" "),r("p",[t._v("线下课单价:"+t._s(e.row.offlineClassesUnitPrice))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"vipGroupActivityName",label:"活动方案"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"剩余课时"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("p",[t._v(t._s(e.row.currentClassTimes+"/"+e.row.totalClassTimes))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"月均消耗"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.monthConsumeRate)+"%\n ")]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"paymentExpireDate",label:"开课时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("p",[t._v(t._s(t._f("formatterTime")(e.row.courseStartDate)))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"coursesExpireDate",label:"课程结束时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("p",[t._v(t._s(t._f("formatterTime")(e.row.coursesExpireDate)))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"createTime",label:"申请时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("p",[t._v(t._s(t._f("formatterTime")(e.row.createTime)))])])]}}])}),t._v(" "),r("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("el-button",{attrs:{type:"text"},on:{click:function(r){return t.gotoVipDetail(e.row.id)}}},[t._v("查看")]),t._v(" "),e.row.status<3?r("el-popover",{ref:e.$index,attrs:{placement:"top",width:"160"}},[r("p",{staticStyle:{"margin-bottom":"10px"}},[t._v("确定删除该vip课?")]),t._v(" "),r("el-input",{attrs:{placeholder:"请输入关闭原因"},model:{value:e.row.stopReason,callback:function(r){t.$set(e.row,"stopReason",r)},expression:"scope.row.stopReason"}}),t._v(" "),r("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){e._self.$refs[e.$index].doClose()}}},[t._v("取消")]),t._v(" "),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(r){return t.closeVip(e)}}},[t._v("确定")])],1),t._v(" "),r("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("删除")])],1):t._e()],1)]}}])})],1),t._v(" "),r("pagination",{attrs:{total:t.rules.total,page:t.rules.page,limit:t.rules.limit,"page-sizes":t.rules.page_size},on:{"update:page":function(e){return t.$set(t.rules,"page",e)},"update:limit":function(e){return t.$set(t.rules,"limit",e)},pagination:t.getList}})],1)],1)])},u=[],a=(r("28a5"),r("333d")),o=r("7e78"),i=r("1cc7"),c=r("4360"),s={components:{pagination:a["a"]},name:"vipList",data:function(){return{organId:c["a"].getters.organ,searchForm:{teacherId:null,activityId:null,search:null,orgin:null},teacherList:[],activeList:[],tableData:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){var t=this;Object(i["z"])().then(function(e){200==e.code&&(t.organList=e.data)}),this.getList(),Object(i["M"])({organId:this.organId}).then(function(e){200==e.code&&(t.teacherList=e.data)}),Object(o["w"])({organId:this.organId}).then(function(e){200==e.code&&(t.activeList=e.data.rows)})},methods:{onReSet:function(){this.searchForm={teacherId:null,activityId:null,search:null}},getList:function(){var t=this,e=this.searchForm;e.page=this.rules.page,e.rows=this.rules.limit,e.organId=this.searchForm.orgin,Object(o["n"])(e).then(function(e){200==e.code&&(t.tableData=e.data.rows,t.rules.total=e.data.total)})},gotoVipDetail:function(t){this.$router.push({path:"/business/vipDetail",query:{id:t}})},closeVip:function(t){var e=this,r=t.row.id;Object(o["d"])({vipGroupId:r,stopReason:t.row.stopReason}).then(function(r){200==r.code&&(e.$message.success("停止课程成功"),t._self.$refs[t.$index].doClose(),e.getList())})},gotoBuildVip:function(){this.$router.push({path:"/business/buildVip"})}},filters:{formatterTime:function(t){var e;return e=t?t.split(" ")[0]:"",e},formatterStatus:function(t){var e=["未开始","报名中","报名结束","取消","停止"];return e[t]}}},l=s,d=(r("2f71"),r("2877")),p=Object(d["a"])(l,n,u,!1,null,null,null);e["default"]=p.exports},c0b9:function(t,e,r){"use strict";var n=r("de4e"),u=r.n(n);u.a},de4e:function(t,e,r){}}]);
|