chunk-7fbd03f6.7ae64d2c.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7fbd03f6","chunk-2d0b66fc"],{"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 d})),r.d(e,"M",(function(){return l})),r.d(e,"K",(function(){return f})),r.d(e,"y",(function(){return p})),r.d(e,"B",(function(){return m})),r.d(e,"j",(function(){return b})),r.d(e,"R",(function(){return h})),r.d(e,"H",(function(){return g})),r.d(e,"J",(function(){return O})),r.d(e,"E",(function(){return j})),r.d(e,"F",(function(){return G})),r.d(e,"d",(function(){return y})),r.d(e,"eb",(function(){return v})),r.d(e,"o",(function(){return S})),r.d(e,"b",(function(){return T})),r.d(e,"r",(function(){return C})),r.d(e,"db",(function(){return k})),r.d(e,"h",(function(){return M})),r.d(e,"A",(function(){return P})),r.d(e,"mb",(function(){return _})),r.d(e,"s",(function(){return F})),r.d(e,"t",(function(){return q})),r.d(e,"qb",(function(){return w})),r.d(e,"I",(function(){return A})),r.d(e,"p",(function(){return V})),r.d(e,"l",(function(){return x})),r.d(e,"i",(function(){return D})),r.d(e,"P",(function(){return B})),r.d(e,"c",(function(){return R})),r.d(e,"m",(function(){return E})),r.d(e,"lb",(function(){return I})),r.d(e,"C",(function(){return $})),r.d(e,"D",(function(){return L})),r.d(e,"U",(function(){return N})),r.d(e,"W",(function(){return z})),r.d(e,"L",(function(){return J})),r.d(e,"T",(function(){return Q})),r.d(e,"S",(function(){return H})),r.d(e,"a",(function(){return U})),r.d(e,"v",(function(){return W})),r.d(e,"x",(function(){return K})),r.d(e,"fb",(function(){return X})),r.d(e,"ob",(function(){return Y})),r.d(e,"O",(function(){return Z})),r.d(e,"ib",(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,"gb",(function(){return at})),r.d(e,"Y",(function(){return ot})),r.d(e,"k",(function(){return it})),r.d(e,"kb",(function(){return ct})),r.d(e,"jb",(function(){return st})),r.d(e,"bb",(function(){return dt})),r.d(e,"g",(function(){return lt})),r.d(e,"hb",(function(){return ft})),r.d(e,"n",(function(){return pt})),r.d(e,"pb",(function(){return mt})),r.d(e,"f",(function(){return bt})),r.d(e,"e",(function(){return ht})),r.d(e,"nb",(function(){return gt})),r.d(e,"u",(function(){return Ot})),r.d(e,"z",(function(){return jt})),r.d(e,"cb",(function(){return Gt})),r.d(e,"N",(function(){return yt}));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 d(t){return Object(n["a"])({url:o+"/school/queryPage",method:"get",params:t})}function l(t){return Object(n["a"])({url:o+"/teacher/findTeachers",method:"get",params:t})}function f(t){return Object(n["a"])({url:o+"/subject/findSubSubjects",method:"get",params:t})}function p(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 b(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 g(t){return Object(n["a"])({url:o+"/classGroup/findMusicGroupClass",method:"get",params:t})}function O(t){return Object(n["a"])({url:o+"/studentRegistration/queryStudentApplyDetail",method:"get",params:t})}function j(t){return Object(n["a"])({url:o+"/studentRegistration/getNoClassStu",method:"get",params:t})}function G(t){return Object(n["a"])({url:o+"/studentRegistration/getMusicGroupNoClassStu",method:"get",params:t})}function y(t){return Object(n["a"])({url:o+"/classGroup/add",method:"post",data:t})}function v(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(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 k(t){return Object(n["a"])({url:o+"/classGroup/delMix",method:"post",data:a.a.stringify(t)})}function M(t){return Object(n["a"])({url:o+"/classGroup/addMusicGroupTeam",method:"POST",data:a.a.stringify(t)})}function P(t){return Object(n["a"])({url:o+"/classGroup/findMusicGroupClassTeacher",method:"get",params:t})}function _(t){return Object(n["a"])({url:o+"/classGroup/addClassGroupTeacher",method:"post",data:t})}function F(t){return Object(n["a"])({url:o+"/classGroup/findClassGroupAboutMix",method:"get",params:t})}function q(t){return Object(n["a"])({url:o+"/classGroup/classGroupAndTeacher",method:"get",params:t})}function w(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 V(t){return Object(n["a"])({url:o+"/subject/querySubByMusicGroupId",method:"get",params:t})}function x(t){return Object(n["a"])({url:o+"/teacher/findMusicGroupTeachers",method:"get",params:t})}function D(t){return Object(n["a"])({url:o+"/courseSchedule/checkMusicGroupClassCourse",method:"post",data:a.a.stringify(t)})}function B(t){return Object(n["a"])({url:o+"/musicGroup/get/",method:"get",params:t})}function R(t){return Object(n["a"])({url:o+"/classGroup/addHighClass",method:"POST",data:t})}function E(t){return Object(n["a"])({url:o+"/classGroup/findMusicGroupClassTeacherSalary",method:"GET",params:t})}function I(t){return Object(n["a"])({url:o+"/classGroup/setClassGroupTeacherSalary",method:"post",data:t})}function $(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 N(t){return Object(n["a"])({url:o+"/teacher/queryMusicGroupTeachers",method:"get",params:t})}function z(t){return Object(n["a"])({url:o+"/subject/findSubApplyDetail",method:"get",params:t})}function J(t){return Object(n["a"])({url:o+"/teacher/queryTeacherAttendance",method:"get",params:t})}function Q(t){return Object(n["a"])({url:o+"/studentManage/queryMusicGroupStudent",method:"get",params:t})}function H(t){return Object(n["a"])({url:o+"/studentManage/musicGroupStudentsSum",method:"get",params:t})}function U(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 dt(t){return Object(n["a"])({url:o+"/musicGroup/pauseMusicGroup",method:"POST",data:a.a.stringify(t)})}function lt(t){return Object(n["a"])({url:o+"/musicGroup/cancelMusicGroup",method:"POST",data:a.a.stringify(t)})}function ft(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 mt(t){return Object(n["a"])({url:o+"/musicGroup/updateSubjectInfo",method:"POST",data:t})}function bt(t){return Object(n["a"])({url:o+"/musicGroup/auditSuccess",method:"POST",data:a.a.stringify(t)})}function ht(t){return Object(n["a"])({url:o+"/musicGroup/auditFailed",method:"POST",data:a.a.stringify(t)})}function gt(t){return Object(n["a"])({url:o+"/musicGroup/action",method:"POST",data:a.a.stringify(t)})}function Ot(t){return Object(n["a"])({url:o+"/courseSchedule/findCourseScheduleByClassGroup",method:"get",params:t})}function jt(t){return Object(n["a"])({url:o+"/organization/queryEmployeeOrgan",method:"get",params:t})}function Gt(t){return Object(n["a"])({url:o+"/musicGroup/pushMessage",method:"post",data:a.a.stringify(t)})}function yt(t){return Object(n["a"])({url:o+"/courseSchedule/queryTeacherSalary",method:"get",params:t})}},"7e78":function(t,e,r){"use strict";r.d(e,"B",(function(){return i})),r.d(e,"k",(function(){return c})),r.d(e,"c",(function(){return s})),r.d(e,"x",(function(){return d})),r.d(e,"t",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"u",(function(){return p})),r.d(e,"r",(function(){return m})),r.d(e,"g",(function(){return b})),r.d(e,"z",(function(){return h})),r.d(e,"A",(function(){return g})),r.d(e,"b",(function(){return O})),r.d(e,"v",(function(){return j})),r.d(e,"s",(function(){return G})),r.d(e,"p",(function(){return y})),r.d(e,"n",(function(){return v})),r.d(e,"i",(function(){return S})),r.d(e,"q",(function(){return T})),r.d(e,"j",(function(){return C})),r.d(e,"o",(function(){return k})),r.d(e,"l",(function(){return M})),r.d(e,"w",(function(){return P})),r.d(e,"m",(function(){return _})),r.d(e,"f",(function(){return F})),r.d(e,"e",(function(){return q})),r.d(e,"y",(function(){return w})),r.d(e,"h",(function(){return A})),r.d(e,"d",(function(){return V}));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 d(t){return Object(n["a"])({url:o+"/vipGroupCategory/update",method:"post",data:a.a.stringify(t)})}function l(t){return Object(n["a"])({url:o+"/vipGroupCategory/delete",method:"post",data:a.a.stringify(t)})}function f(t){return Object(n["a"])({url:o+"/vipGroupDefaultClassesCycle/add",method:"post",data:a.a.stringify(t)})}function p(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 b(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 g(t){return Object(n["a"])({url:o+"/vipGroupActivity/findByVipGroupCategory",method:"get",params:t})}function O(t){return Object(n["a"])({url:o+"/vipGroupActivity/addVipGroupActivity",method:"POST",data:t})}function j(t){return Object(n["a"])({url:o+"/vipGroupActivity/update",method:"POST",data:t})}function G(t){return Object(n["a"])({url:o+"/vipGroupActivity/delete",method:"POST",data:a.a.stringify(t)})}function y(t){return Object(n["a"])({url:o+"/vipGroupManage/queryAll",method:"GET",params:t})}function v(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(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 k(t){return Object(n["a"])({url:o+"/vipGroupManage/findVipGroupSalarys",method:"get",params:t})}function M(t){return Object(n["a"])({url:o+"/vipGroupManage/findVipGroupAttendanceStudents",method:"get",params:t})}function P(t){return Object(n["a"])({url:o+"/vipGroupManage/classStartDateAdjust",method:"POST",params:t})}function _(t){return Object(n["a"])({url:o+"/vipGroupManage/getVipGroupCostCount",method:"POST",params:t})}function F(t){return Object(n["a"])({url:o+"/vipGroupManage/vipGroupApply",method:"POST",data:t})}function q(t){return Object(n["a"])({url:o+"/vipGroupManage/stopVipGroup",method:"POST",data:a.a.stringify(t)})}function w(t){return Object(n["a"])({url:o+"/vipGroupManage/updateVipBaseInfo",method:"POST",data:t})}function A(t){return Object(n["a"])({url:o+"/courseSchedule/findVipGroupCourseSchedules",method:"POST",data:a.a.stringify(t)})}function V(t){return Object(n["a"])({url:o+"/courseSchedule/bathDelete",method:"POST",data:a.a.stringify(t)})}},"84f0":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",[r("el-page-header",{attrs:{content:"vip修改"},on:{back:t.goBack}})],1),t._v(" "),r("div",{staticClass:"newBand"},[t._v("vip加课")]),t._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{attrs:{data:t.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[r("el-table-column",{attrs:{label:"课程名称",width:"150",align:"center",prop:"name"}}),t._v(" "),r("el-table-column",{attrs:{label:"班级id",width:"150",align:"center",prop:"classGroupId"}}),t._v(" "),r("el-table-column",{attrs:{label:"上课日期",align:"center",width:"150",prop:"classDate"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v("\n "+t._s(t._f("formatTimer")(e.row.classDate))+"\n ")])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"课程状态",align:"center",width:"150",prop:"status"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v("\n "+t._s(t._f("coursesStatus")(e.row.status))+"\n ")])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"上课开始时间",align:"center",width:"150",prop:"startClassTimeStr"}}),t._v(" "),r("el-table-column",{attrs:{label:"上课结束时间",align:"center",width:"150",prop:"endClassTimeStr"}}),t._v(" "),r("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[r("el-button",{attrs:{type:"text"},on:{click:function(r){return t.resetClass(e.row)}}},[t._v("调整")]),t._v(" "),r("el-button",{attrs:{type:"text"},on:{click:function(r){return t.removeClass(e.row)}}},[t._v("删除")])],1)]}}])})],1)],1),t._v(" "),r("el-dialog",{attrs:{title:"课程调整",width:"400px","before-close":t.handleClose,visible:t.courseVisible},on:{"update:visible":function(e){t.courseVisible=e}}},[r("el-form",{ref:"maskForm",attrs:{model:t.maskForm,rules:t.maskRules,"label-position":"right","label-width":"80px;",inline:!0}},[r("el-form-item",{attrs:{label:"上课日期",prop:"date"}},[r("el-date-picker",{attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.maskForm.date,callback:function(e){t.$set(t.maskForm,"date",e)},expression:"maskForm.date"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"开始时间",prop:"startTime"}},[r("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"06:30",step:"00:15",end:"23:30"}},model:{value:t.maskForm.startTime,callback:function(e){t.$set(t.maskForm,"startTime",e)},expression:"maskForm.startTime"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"结束时间",prop:"endTime"}},[r("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"06:30",step:"00:15",end:"23:30",minTime:t.maskForm.startTime}},model:{value:t.maskForm.endTime,callback:function(e){t.$set(t.maskForm,"endTime",e)},expression:"maskForm.endTime"}})],1)],1),t._v(" "),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(e){t.courseVisible=!1}}},[t._v("取 消")]),t._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:t.submitResetClass}},[t._v("确 定")])],1)],1)],1)},u=[],a=r("1cc7"),o=r("7e78"),i={data:function(){return{courseVisible:!1,tableList:[],vipid:"",maskForm:{date:"",startTime:"",endTime:"",id:""},maskRules:{date:[{required:!0,message:"请选择上课时间",trigger:"blur"}],startTime:[{required:!0,message:"请选择上课开始时间",trigger:"blur"}],endTime:[{required:!0,message:"请选择上课结束时间",trigger:"blur"}]}}},created:function(){this.vipid=this.$route.query.id},mounted:function(){this.getList()},methods:{getList:function(){var t=this;Object(o["h"])({vipGroupId:this.vipid}).then((function(e){200==e.code&&(t.tableList=e.data.rows)}))},goBack:function(){this.$router.go(-1)},resetClass:function(t){this.maskForm.date=t.classDate,this.maskForm.startTime=t.startClassTimeStr,this.maskForm.endTime=t.endClassTimeStr,this.maskForm.id=t.id,this.courseVisible=!0},handleClose:function(){this.courseVisible=!1,this.$refs["maskForm"].resetFields()},submitResetClass:function(){var t=this,e={startClassTimeStr:this.maskForm.startTime,endClassTimeStr:this.maskForm.endTime,id:this.maskForm.id,classDate:this.maskForm.date};Object(a["fb"])(e).then((function(e){200==e.code&&(t.$message.success("修改成功"),t.courseVisible=!1,t.getList())}))},removeClass:function(t){var e=this;this.$confirm("是否删除该vip课程, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(o["d"])({courseScheduleIds:t.id}).then((function(t){200==t.code&&e.$message({type:"success",message:"删除成功!"})}))}))}}},c=i,s=r("2877"),d=Object(s["a"])(c,n,u,!1,null,null,null);e["default"]=d.exports}}]);