1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c91b263c"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",function(){return u}),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 u(e,t,a){var u=l(),o=e-u,c=20,i=0;t="undefined"===typeof t?500:t;var s=function e(){i+=c;var l=Math.easeInOutQuad(i,u,o,t);r(l),i<t?n(e):a&&"function"===typeof a&&a()};s()}},"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")),u={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=u,c=(a("c0b9"),a("2877")),i=Object(c["a"])(o,n,r,!1,null,"31cb099a",null);t["a"]=i.exports},4063: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"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[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-input",{attrs:{placeholder:"乐团名或VIP课名"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search",t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择教学点"},model:{value:e.searchForm.schoolId,callback:function(t){e.$set(e.searchForm,"schoolId",t)},expression:"searchForm.schoolId"}},e._l(e.schoolList,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.teacherIdList,callback:function(t){e.$set(e.searchForm,"teacherIdList",t)},expression:"searchForm.teacherIdList"}},e._l(e.teacherList,function(e,t){return a("el-option",{key:t,attrs:{value:e.id,label:e.realName}})}),1)],1),e._v(" "),a("el-form-item",[a("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organIdList,callback:function(t){e.$set(e.searchForm,"organIdList",t)},expression:"searchForm.organIdList"}},e._l(e.organList,function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})}),1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程类型"},model:{value:e.searchForm.courseType,callback:function(t){e.$set(e.searchForm,"courseType",t)},expression:"searchForm.courseType"}},e._l(e.courseType,function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})}),1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{clearable:"",filterable:"",placeholder:"课程状态"},model:{value:e.searchForm.courseStatus,callback:function(t){e.$set(e.searchForm,"courseStatus",t)},expression:"searchForm.courseStatus"}},[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-date-picker",{staticStyle:{width:"420px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer",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"}}},[a("el-table-column",{attrs:{align:"center",prop:"id",label:"课程编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"200px",label:"时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.startClassTime?t.row.startClassTime.substr(0,16):"")+"-"+e._s(t.row.endClassTime?t.row.endClassTime.substr(11,5):"")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"classGroupName",label:"班级名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"name",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("coursesType")(t.row.type))+"\n ")])]}}])}),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("teachMode")(t.row.teachMode))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"schoolName",label:"教学点"}}),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("\n "+e._s(e._f("coursesStatus")(t.row.status))+"\n ")])]}}])}),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("attendanceType")(t.row.isSignIn))+"\n ")])]}}])}),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("attendanceOutType")(t.row.isSignOut))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isCallNames",label:"是否点名"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.isCallNames?"是":"否")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",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)])},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("课表列表\n ")])}],l=(a("386d"),a("333d")),u=a("1cc7"),o=a("99b4"),c=a("92e3"),i=new Date;i=i.getFullYear()+"-"+(i.getMonth()+1)+"-"+i.getDate();var s={data:function(){return{timerVisible:!1,courseVisible:!1,courseType:c["c"],searchForm:{organIdList:null,courseStatus:null,courseType:null,timer:[i,i],class:null,search:null,teacherIdList:null,schoolId:null},tableList:[],searchLsit:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},teacherList:[],schoolList:[]}},components:{pagination:l["a"]},activated:function(){this.init()},mounted:function(){var e=this;this.init(),this.getList(),Object(u["T"])().then(function(t){200==t.code&&(e.teacherList=t.data)}),Object(o["m"])().then(function(t){200==t.code&&(e.schoolList=t.data)}),Object(u["F"])().then(function(t){200==t.code&&(e.organList=t.data)})},methods:{init:function(){var e=this;this.getList(),Object(u["T"])().then(function(t){200==t.code&&(e.teacherList=t.data)}),Object(u["F"])().then(function(t){200==t.code&&(e.organList=t.data)})},search:function(){this.rules.page=1,this.getList()},getList:function(){var e=this,t=this.searchForm;t.timer||(t.timer=[]);var a={courseStatus:t.courseStatus||null,courseType:t.courseType||null,startTime:t.timer[0]||null,endTime:t.timer[1]||null,page:this.rules.page,rows:this.rules.limit,classGroupId:t.class||null,organIdList:t.organIdList||null,search:t.search||null,teacherIdList:t.teacherIdList||null,schoolId:t.schoolId||null};Object(u["xb"])(a).then(function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})}}},d=s,f=(a("ad40"),a("2877")),p=Object(f["a"])(d,n,r,!1,null,null,null);t["default"]=p.exports},"85d0":function(e,t,a){},"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,"h",function(){return u}),a.d(t,"b",function(){return o}),a.d(t,"g",function(){return c}),a.d(t,"d",function(){return i}),a.d(t,"f",function(){return s}),a.d(t,"i",function(){return d});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"},{label:"课堂课",value:"CLASSROOM"}],r=[{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"}],o=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{value:"QUIT_SCHOOL",label:"退学"}],c=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"}],i=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],s=[{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:"取消"}],d=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}]},"99b4":function(e,t,a){"use strict";a.d(t,"a",function(){return o}),a.d(t,"c",function(){return c}),a.d(t,"b",function(){return i}),a.d(t,"y",function(){return s}),a.d(t,"w",function(){return d}),a.d(t,"D",function(){return f}),a.d(t,"C",function(){return p}),a.d(t,"E",function(){return m}),a.d(t,"x",function(){return h}),a.d(t,"h",function(){return b}),a.d(t,"j",function(){return g}),a.d(t,"n",function(){return v}),a.d(t,"i",function(){return y}),a.d(t,"A",function(){return _}),a.d(t,"l",function(){return O}),a.d(t,"B",function(){return L}),a.d(t,"z",function(){return S}),a.d(t,"d",function(){return I}),a.d(t,"f",function(){return T}),a.d(t,"e",function(){return j}),a.d(t,"g",function(){return C}),a.d(t,"o",function(){return E}),a.d(t,"p",function(){return F}),a.d(t,"r",function(){return w}),a.d(t,"q",function(){return P}),a.d(t,"m",function(){return x}),a.d(t,"u",function(){return A}),a.d(t,"s",function(){return k}),a.d(t,"v",function(){return R}),a.d(t,"t",function(){return N}),a.d(t,"k",function(){return M});var n=a("b775"),r=a("4328"),l=a.n(r),u="/api-web";function o(e){return Object(n["a"])({url:u+"/cooperationOrgan/add",method:"post",data:l.a.stringify(e)})}function c(e){return Object(n["a"])({url:u+"/cooperationOrgan/update",method:"put",data:l.a.stringify(e)})}function i(e){return Object(n["a"])({url:u+"/cooperationOrgan/del/".concat(e),method:"post"})}function s(e){return Object(n["a"])({url:u+"/cooperationOrgan/queryPage",method:"get",params:e})}function d(e){return Object(n["a"])({url:u+"/cooperationOrgan/queryByOrganId",method:"get",params:e})}function f(e){return Object(n["a"])({url:u+"/school/queryPage",method:"get",params:e})}function p(e){return Object(n["a"])({url:u+"/school/add",method:"post",data:l.a.stringify(e)})}function m(e){return Object(n["a"])({url:u+"/school/update",method:"post",data:l.a.stringify(e)})}function h(e){return Object(n["a"])({url:u+"/employee/queryEmployByOrganId",method:"get",params:e})}function b(e){return Object(n["a"])({url:u+"/employee/add",method:"post",data:e})}function g(e){return Object(n["a"])({url:u+"/employee/update",method:"post",data:e})}function v(e){return Object(n["a"])({url:"/api-auth/role/queryPage",method:"get",params:e})}function y(e){return Object(n["a"])({url:u+"/employee/employeeOperate",method:"post",data:l.a.stringify(e)})}function _(e){return Object(n["a"])({url:"/api-auth/role/queryPage",method:"get",params:e})}function O(e){return Object(n["a"])({url:"/api-auth/role/".concat(e.id),method:"get"})}function L(e){return Object(n["a"])({url:"/api-auth/role/update",method:"post",data:e})}function S(e){return Object(n["a"])({url:"/api-auth/role/add",method:"post",data:e})}function I(e){return Object(n["a"])({url:u+"/courseScheduleRewards/queryPage",method:"get",params:e})}function T(e){return Object(n["a"])({url:u+"/courseScheduleRewards/query",method:"get",params:e})}function j(e){return Object(n["a"])({url:u+"/courseScheduleRewards/add",method:"post",data:l.a.stringify(e)})}function C(e){return Object(n["a"])({url:u+"/courseScheduleRewards/update",method:"post",data:l.a.stringify(e)})}function E(e){return Object(n["a"])({url:u+"/hotWordLabelManage/queryPage",method:"get",params:e})}function F(e){return Object(n["a"])({url:u+"/hotWordLabelManage/add",method:"post",data:l.a.stringify(e)})}function w(e){return Object(n["a"])({url:u+"/hotWordLabelManage/update",method:"post",data:l.a.stringify(e)})}function P(e){return Object(n["a"])({url:u+"/hotWordLabelManage/del/".concat(e),method:"post"})}function x(e){return Object(n["a"])({url:u+"/school/queryByOrganId",method:"get",params:e})}function A(e){return Object(n["a"])({url:u+"/paymentConfig/queryPage",method:"get",params:e})}function k(e){return Object(n["a"])({url:u+"/paymentConfig/add",method:"post",data:l.a.stringify(e)})}function R(e){return Object(n["a"])({url:u+"/paymentConfig/update",method:"post",data:l.a.stringify(e)})}function N(e){return Object(n["a"])({url:u+"/paymentConfig/del/"+e.id,method:"post"})}function M(e){return Object(n["a"])({url:u+"/teacher/findTeacherByOrganId",method:"get",params:e})}},ad40:function(e,t,a){"use strict";var n=a("85d0"),r=a.n(n);r.a},c0b9:function(e,t,a){"use strict";var n=a("de4e"),r=a.n(n);r.a},de4e:function(e,t,a){}}]);
|