chunk-17828319.88cdb5f7.js 37 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-17828319"],{"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,i=20,s=0;t="undefined"===typeof t?500:t;var c=function e(){s+=i;var l=Math.easeInOutQuad(s,u,o,t);r(l),s<t?n(e):a&&"function"===typeof a&&a()};c()}},"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,i=(a("c0b9"),a("2877")),s=Object(i["a"])(o,n,r,!1,null,"31cb099a",null);t["a"]=s.exports},"392e":function(e,t,a){"use strict";var n=a("97ff"),r=a.n(n);r.a},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="string"===typeof t?t.trim():t},expression:"searchForm"}},[a("el-form-item",[a("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"课程组编号/课程编号/课程名称"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():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","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),a("el-form-item",[a("div",{staticClass:"searchBtn",on:{click:e.search}},[e._v("搜索")])]),e._v(" "),a("el-form-item",[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"export/superFindCourseSchedules",expression:"'export/superFindCourseSchedules'"}],staticClass:"searchBtn exportBtn",on:{click:e.onCourseExport}},[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:"organName",label:"分部名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"130px",prop:"musicGroupId",label:"乐团/课程组编号"}}),e._v(" "),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(e._s(t.row.startClassTime?t.row.startClassTime.substr(0,16):"")+"-"+e._s(t.row.endClassTime?t.row.endClassTime.substr(11,5):""))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学生ID"},scopedSlots:e._u([{key:"default",fn:function(t){return["MUSIC"!=t.row.groupType?a("div",[e._v(e._s(t.row.studentId))]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",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(e._s(e._f("coursesType")(t.row.type)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"教学模式"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("teachMode")(t.row.teachMode)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"schoolName",label:"教学点"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.schoolName?t.row.schoolName:"网络教室"))])]}}])}),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(e._s(e._f("coursesStatus")(t.row.status)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isCallNames",label:"是否点名",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.isCallNames?"是":"否"))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"指导老师",fixed:"right"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"详情",fixed:"right",width:"120px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e.permission("teamCourseList/details")?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lookDetail(t.row)}}},[e._v("详情")]):e._e()],1)]}}])})],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),e._v(" "),a("el-dialog",{attrs:{title:"课表详情",visible:e.classVisible,width:"1000px"},on:{"update:visible":function(t){e.classVisible=t}}},[a("el-form",{attrs:{model:e.maskForm,inline:!0}},[a("el-form-item",{attrs:{label:"老师姓名"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.maskForm.teacherName))])]),e._v(" "),a("el-form-item",{attrs:{label:"课程模式"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e._f("teachMode")(e.maskForm.teachMode)))])]),e._v(" "),a("el-form-item",{attrs:{label:"课程类型"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e._f("coursesType")(e.maskForm.type)))])]),e._v(" "),a("el-form-item",{attrs:{label:"课程状态"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e._f("coursesStatus")(e.maskForm.status)))])]),e._v(" "),a("el-form-item",{attrs:{label:"签到时间"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e._f("dateForMinFormat")(e.maskForm.signInTime)))])]),e._v(" "),a("el-form-item",{attrs:{label:"签退时间"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e._f("dateForMinFormat")(e.maskForm.signOutTime)))])]),e._v(" "),a("el-form-item",{attrs:{label:"是否点名"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e._f("isCall")(e.maskForm.isCallNames)))])]),e._v(" "),a("el-form-item",{attrs:{label:"签到状态"}},[a("div",{staticClass:"inputStyle",class:1==e.maskForm.isSignIn?"":"red"},[e._v(e._s(e._f("attendanceType")(e.maskForm.isSignIn)))])]),e._v(" "),a("el-form-item",{attrs:{label:"签退状态"}},[a("div",{staticClass:"inputStyle",class:1==e.maskForm.isSignIn?"":"red"},[e._v(e._s(e._f("attendanceOutType")(e.maskForm.isSignOut)))])]),e._v(" "),a("el-form-item",{attrs:{label:"上课时长"}},[a("div",{staticClass:"inputStyle",class:e.maskForm.attendClassTime<=120?"":"red"},[e._v(e._s(e.maskForm.attendClassTime>=0?e.maskForm.attendClassTime:"0分钟"))])]),e._v(" "),a("el-form-item",{attrs:{label:"备注"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.maskForm.remark))])])],1),e._v(" "),"NOT_START"!=e.maskForm.status?a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName="string"===typeof t?t.trim():t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"点名",name:"first"}},["first"==e.activeName?a("div",[a("studentRollCall",{attrs:{courseScheduleId:e.maskForm.id}})],1):e._e()]),e._v(" "),"OFFLINE"==e.maskForm.teachMode?a("el-tab-pane",{attrs:{label:"GPS定位",name:"second"}},["second"==e.activeName?a("div",[a("gpsLoction",{attrs:{courseScheduleId:e.maskForm.id}})],1):e._e()]):e._e(),e._v(" "),"VIP"!=e.maskForm.type?a("el-tab-pane",{attrs:{label:"作业",name:"third"}},["third"==e.activeName?a("div",[a("studentWork",{attrs:{courseScheduleId:e.maskForm.id}})],1):e._e()]):e._e(),e._v(" "),"VIP"==e.maskForm.type||"PRACTICE"==e.maskForm.type?a("el-tab-pane",{attrs:{label:"评论",name:"four"}},["four"==e.activeName?a("div",[a("courseEvaluate",{attrs:{courseScheduleId:e.maskForm.id}})],1):e._e()]):e._e()],1):e._e()],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("8018"),i=a("99b4"),s=a("92e3"),c=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{attrs:{inline:!0}},[a("el-form-item",{attrs:{label:"应到学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.studentNum))])]),e._v(" "),a("el-form-item",{attrs:{label:"到课学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.signInNum))])]),e._v(" "),a("el-form-item",{attrs:{label:"请假学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.leaveNum))])]),e._v(" "),a("el-form-item",{attrs:{label:"旷课学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.truantNum))])])],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:"username",label:"学生姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"signInTime",label:"签到时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dateForMinFormat")(t.row.signInTime?t.row.signInTime:t.row.createTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"signOutTime",label:"签退时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dateForMinFormat")(t.row.signOutTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"status",label:"学生状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[t.row.status?a("p",[e._v(e._s(e._f("studentRecord")(t.row.status)))]):a("p",[e._v("未签到")])])]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit},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)},d=[],m={props:["courseScheduleId"],components:{pagination:l["a"]},data:function(){return{tableList:[],rules:{limit:10,page:1,total:0},studentNum:null,signInNum:null,leaveNum:null,truantNum:null}},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){console.log(this.courseScheduleId),this.getList()},getList:function(){var e=this;Object(u["E"])({search:this.courseScheduleId}).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)})),Object(u["dc"])({courseScheduleId:this.courseScheduleId}).then((function(t){200==t.code&&(e.studentNum=t.data.studentNum,e.signInNum=t.data.signInNum,e.leaveNum=t.data.leaveNum,e.truantNum=t.data.truantNum)}))}}},p=m,f=(a("392e"),a("2877")),h=Object(f["a"])(p,c,d,!1,null,"92ffe0b0",null),b=h.exports,v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("p",{staticClass:"title"},[e._v("打卡地相距教学点"+e._s(e.distance)+"米")]),e._v(" "),a("el-amap",{staticClass:"amap-demo",attrs:{zoom:e.zoom,vid:"amapDemo","amap-manager":e.amapManager,plugin:e.plugin,center:e.center}},e._l(e.markers,(function(e,t){return a("el-amap-marker",{key:t,attrs:{position:e.location,title:e.title}})})),1)],1)},g=[],_=(a("28a5"),a("8f9b")),y=a.n(_);(function(){var e=EventTarget.prototype.addEventListener,t=!1;try{var a=Object.defineProperty({},"passive",{get:function(){t=!0}});document.addEventListener("testPassive",null,a),document.removeEventListener("testPassive",null,a)}catch(n){}EventTarget.prototype.addEventListener=function(a,n,r){this.func=e,r=r instanceof Object?r:{},r.passive=t,this.func(a,n,r)}})(),y.a.initAMapApiLoader({key:"b1e6ac2eb28902ce91a490edf194e000",plugin:["AMap.Geolocation","AMap.PlaceSearch","AMap.Geocoder"],v:"1.4.4"});var S=new y.a.AMapManager,O={props:["courseScheduleId"],data:function(){return{zoom:20,amapManager:S,center:[114.34371,30.55939],markers:[],plugin:[],distance:"-",schoolLongitudeLatitude:null,signInLongitudeLatitude:null}},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){var e=this;Object(u["nb"])({courseScheduleId:this.courseScheduleId}).then((function(t){if(200==t.code){if(t.data&&t.data.signInLongitudeLatitude){var a={title:"签到点",location:t.data.signInLongitudeLatitude.split(",")};e.center=t.data.signInLongitudeLatitude.split(","),e.signInLongitudeLatitude=t.data.signInLongitudeLatitude.split(","),e.markers.push(a)}if(t.data&&t.data.schoolLongitudeLatitude){var n={title:"教学点",location:t.data.schoolLongitudeLatitude.split(",")};e.schoolLongitudeLatitude=t.data.schoolLongitudeLatitude.split(","),e.center=t.data.schoolLongitudeLatitude.split(","),e.markers.push(n)}e.getDistance(e.signInLongitudeLatitude,e.schoolLongitudeLatitude)}}))},onSearchResult:function(){},getDistance:function(e,t){if(e&&e.length>0&&t&&t.length>0){S.getMap();var a=new AMap.Marker({position:e}),n=new AMap.Marker({position:t}),r=a.getPosition(),l=n.getPosition(),u=Math.round(r.distance(l));this.distance=u}}}},L=O,I=(a("ae25"),Object(f["a"])(L,v,g,!1,null,"0eb05fc4",null)),k=I.exports,C=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{attrs:{inline:!0}},[a("el-form-item",{attrs:{label:"应交学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.studentNum))])]),e._v(" "),a("el-form-item",{attrs:{label:"已交学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.homeworkNum))])]),e._v(" "),a("el-form-item",{attrs:{label:"已回复数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.repliedNum))])])],1),e._v(" "),a("p",{staticClass:"work"},[e._v("老师布置的作业:"+e._s(e.content))]),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:"username",label:"学生姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"声部名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"createTime",width:"150",label:"交作业时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("dateForMinFormat")(t.row.createTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isView",label:"是否查看"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isView?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"isReplied",label:"是否回复"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.isReplied?"是":"否"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"查看作业",width:"200px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",e._l(t.row.urlList,(function(t,n){return a("el-button",{key:n,attrs:{type:"text"},on:{click:function(a){return e.lookWork(t)}}},[e._v(e._s("作业"+(n+1)))])})),1)]}}])})],1),e._v(" "),a("pagination",{attrs:{total:e.rules.total,page:e.rules.page,limit:e.rules.limit},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),e._v(" "),a("el-dialog",{attrs:{title:"查看作业",width:"680px","append-to-body":"",visible:e.workVisible},on:{close:e.closeWorkVisible,"update:visible":function(t){e.workVisible=t}}},[a("video",{ref:"dialogVideo",staticStyle:{width:"640px"},attrs:{src:e.activeUrl,controls:"controls"}},[e._v("您的浏览器不支持视频播放")])])],1)},T=[],j={props:["courseScheduleId"],components:{pagination:l["a"]},data:function(){return{tableList:[],rules:{limit:10,page:1,total:0},workVisible:!1,studentNum:null,homeworkNum:null,repliedNum:null,activeUrl:null,content:null}},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){var e=this;Object(u["dc"])({courseScheduleId:this.courseScheduleId}).then((function(t){200==t.code&&(e.studentNum=t.data.studentNum,e.homeworkNum=t.data.homeworkNum,e.repliedNum=t.data.repliedNum)})),Object(u["N"])({courseScheduleId:this.courseScheduleId}).then((function(t){200==t.code&&(t.data&&(e.content=t.data.content),e.content?e.content:e.content="还未布置作业")})),this.getList()},getList:function(){var e=this;Object(u["F"])({search:this.courseScheduleId}).then((function(t){200==t.code&&(e.rules.total=t.data.total,e.tableList=t.data.rows.map((function(e){return e.urlList=e.url?e.url.split(","):[],e})))}))},lookWork:function(e){this.workVisible=!0,this.activeUrl=e},closeWorkVisible:function(){this.activeUrl=""}}},N=j,w=(a("f0de"),Object(f["a"])(N,C,T,!1,null,"7d789d15",null)),F=w.exports,E=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:{align:"center",width:"100",prop:"username",label:"学生姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"100",prop:"score",label:"星级"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.score?t.row.score+"星":"")+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"reason",label:"评价内容"}})],1)],1)])},A=[],x={props:["courseScheduleId"],data:function(){return{tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},created:function(){},mounted:function(){this.getList()},activated:function(){this.getList()},methods:{getList:function(){var e=this;Object(u["ib"])({courseId:this.courseScheduleId}).then((function(t){200==t.code&&(e.tableList=t.data.courseScheduleComplaints)}))}}},M=x,P=Object(f["a"])(M,E,A,!1,null,"5ec419fc",null),R=P.exports,D=a("ec8a"),V=a("bc3a"),G=a.n(V),U=a("5f87"),$=a("3908"),q=new Date;q=q.getFullYear()+"-"+(q.getMonth()+1)+"-"+q.getDate();var z={data:function(){return{classVisible:!1,timerVisible:!1,courseVisible:!1,courseType:s["f"],searchForm:{organIdList:null,courseStatus:null,courseType:null,timer:[q,q],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:[],maskForm:{},activeName:"first"}},components:{pagination:l["a"],studentRollCall:b,gpsLoction:k,studentWork:F,courseEvaluate:R},activated:function(){this.init()},mounted:function(){this.init()},methods:{init:function(){var e=this;this.getList(),Object(u["mb"])().then((function(t){200==t.code&&(e.teacherList=t.data)})),Object(i["o"])().then((function(t){200==t.code&&(e.schoolList=t.data)})),Object(u["P"])().then((function(t){200==t.code&&(e.organList=t.data)}))},permission:function(e,t){return Object(D["a"])(e,t)},search:function(){this.rules.page=1,this.getList()},onCourseExport:function(){var e=this,t=this.searchForm;if(!t.timer||t.timer.length<=0)return t.timer=[],void this.$message.error("请选择时间段");var a={courseStatus:t.courseStatus||null,courseType:t.courseType||null,startTime:t.timer[0]||null,endTime:t.timer[1]||null,classGroupId:t.class||null,organIdList:t.organIdList||null,search:t.search||null,teacherIdList:t.teacherIdList||null,schoolId:t.schoolId||null},n="/api-web/export/superFindCourseSchedules",r={method:"get",headers:{Authorization:Object(U["a"])()},params:a,url:n,responseType:"blob"};this.$confirm("您确定导出报表","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){$["a"].startLoading(),G()(r).then((function(t){var a=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),n=new Response(a).text();n.then((function(t){if(-1!=t.indexOf("code")){var n=JSON.parse(t);e.$message.error(n.msg)}else{var r=URL.createObjectURL(a),l=document.createElement("a"),u="课表列表"+(new Date).getTime();l.href=r,l.setAttribute("download",u),document.body.appendChild(l),l.click()}})),$["a"].endLoading()})).catch((function(t){e.$message.error("导出数据失败,请联系管理员"),$["a"].endLoading()}))})).catch((function(){}))},getList:function(){var e=this,t=this.searchForm;if(!t.timer||t.timer.length<=0)return t.timer=[],void this.$message.error("请选择时间段");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["fc"])(a).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)}))},lookDetail:function(e){var t=this;Object(o["h"])({courseScheduleId:e.id}).then((function(a){200==a.code&&(t.maskForm=a.data,t.maskForm.id=e.id,t.activeName="first",t.classVisible=!0)}))},handleClick:function(e,t){}},filters:{isCall:function(e){return 0==e?"未点名":1==e?"已点名":void 0}},watch:{classVisible:function(e){e||(this.activeName=null)}}},W=z,B=(a("d870"),Object(f["a"])(W,n,r,!1,null,"dd374b34",null));t["default"]=B.exports},"45ed":function(e,t,a){},8018:function(e,t,a){"use strict";a.d(t,"w",(function(){return o})),a.d(t,"t",(function(){return i})),a.d(t,"g",(function(){return s})),a.d(t,"e",(function(){return c})),a.d(t,"i",(function(){return d})),a.d(t,"v",(function(){return m})),a.d(t,"u",(function(){return p})),a.d(t,"n",(function(){return f})),a.d(t,"B",(function(){return h})),a.d(t,"C",(function(){return b})),a.d(t,"y",(function(){return v})),a.d(t,"x",(function(){return g})),a.d(t,"A",(function(){return _})),a.d(t,"f",(function(){return y})),a.d(t,"q",(function(){return S})),a.d(t,"z",(function(){return O})),a.d(t,"s",(function(){return L})),a.d(t,"h",(function(){return I})),a.d(t,"m",(function(){return k})),a.d(t,"r",(function(){return C})),a.d(t,"a",(function(){return T})),a.d(t,"l",(function(){return j})),a.d(t,"o",(function(){return N})),a.d(t,"p",(function(){return w})),a.d(t,"k",(function(){return F})),a.d(t,"d",(function(){return E})),a.d(t,"c",(function(){return A})),a.d(t,"j",(function(){return x})),a.d(t,"b",(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+"/teacher/queryPage",method:"get",params:e})}function i(e){return Object(n["a"])({url:u+"/teacher/get",method:"get",params:e})}function s(e){return Object(n["a"])({url:u+"/teacher/getTeacherMusicClass",method:"get",params:e})}function c(e){return Object(n["a"])({url:u+"/demoGroup/findTeacherDemoGroups",method:"get",params:e})}function d(e){return Object(n["a"])({url:u+"/teacherAttendance/getTeacherPersonalAttendances",method:"get",params:e})}function m(e){return Object(n["a"])({url:u+"/teacher/queryCloses",method:"get",params:e})}function p(e){return Object(n["a"])({url:u+"/teacherLeaveRecord/queryPage",method:"get",params:e})}function f(e){return Object(n["a"])({url:u+"/teacher/sumTeacherNoPay",method:"get",params:e})}function h(e){return Object(n["a"])({url:u+"/teacherDefaultVipGroupSalary/queryPageByTeacherId",method:"get",params:e})}function b(e){return Object(n["a"])({url:u+"/teacherDefaultVipGroupSalary/upSet",method:"post",data:e})}function v(e){return Object(n["a"])({url:u+"/teacherDefaultMusicGroupSalary/queryPage",method:"get",params:e})}function g(e){return Object(n["a"])({url:u+"/teacherDefaultMusicGroupSalary/batchUpset",method:"post",data:e})}function _(e){return Object(n["a"])({url:u+"/courseSchedule/updateTeacherCoursesSalary",method:"post",data:l.a.stringify(e)})}function y(e){return Object(n["a"])({url:u+"/school/findVipSchoolByTeacher",method:"get",params:e})}function S(e){return Object(n["a"])({url:u+"/teacher/add",method:"post",data:l.a.stringify(e)})}function O(e){return Object(n["a"])({url:u+"/teacher/update",method:"post",data:l.a.stringify(e)})}function L(e){return Object(n["a"])({url:u+"/teacherFreeTime/query",method:"get",params:e})}function I(e){return Object(n["a"])({url:u+"/teacherAttendance/getTeacherPersonalAttendanceDetail",method:"get",params:e})}function k(e){return Object(n["a"])({url:u+"/teacherFreeTime/updateSet",method:"post",data:l.a.stringify(e)})}function C(e){return Object(n["a"])({url:u+"/teacherDefaultPracticeGroupSalary/queryPageByTeacherId",method:"get",params:e})}function T(e){return Object(n["a"])({url:u+"/teacherDefaultPracticeGroupSalary/update",method:"post",data:e})}function j(e){return Object(n["a"])({url:u+"/sysTenantAccount/queryTenantAccountDetail",method:"get",params:e})}function N(e){return Object(n["a"])({url:u+"/sysTenantAccount/addMinutes",method:"post",data:l.a.stringify(e)})}function w(e){return Object(n["a"])({url:u+"/sysTenantAccount/subtractMinutes",method:"post",data:l.a.stringify(e)})}function F(e){return Object(n["a"])({url:u+"/sysTenantAccount/get",method:"get",params:e})}function E(e){return Object(n["a"])({url:u+"/coursesGroupController/findTeacherCourseGroupsWithWeb",method:"get",params:e})}function A(e){return Object(n["a"])({url:u+"/courseSchedule/classGroupTeacherAdjust",method:"post",data:l.a.stringify(e)})}function x(e){return Object(n["a"])({url:u+"/teacher/queryStudent",method:"get",params:e})}function M(e){return Object(n["a"])({url:u+"/studentManage/batchUpdateAdviser",method:"post",data:l.a.stringify(e)})}},"92e3":function(e,t,a){"use strict";a.d(t,"f",(function(){return n})),a.d(t,"a",(function(){return l})),a.d(t,"h",(function(){return u})),a.d(t,"l",(function(){return o})),a.d(t,"b",(function(){return i})),a.d(t,"j",(function(){return s})),a.d(t,"g",(function(){return c})),a.d(t,"i",(function(){return d})),a.d(t,"n",(function(){return m})),a.d(t,"e",(function(){return p})),a.d(t,"m",(function(){return h})),a.d(t,"c",(function(){return f})),a.d(t,"d",(function(){return r})),a.d(t,"k",(function(){return b}));var n=[{label:"单技课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训单技课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"}],r=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"}],l=[{label:"正常签到",value:1},{label:"异常签到",value:0}],u=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"临时工",value:"TEMPORARY"}],o=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],i=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"},{value:"QUIT_SCHOOL",label:"退学"}],s=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"OTHER",label:"其他"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"}],c=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],d=[{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:"取消"}],m=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}],p=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],f=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"}],h=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],b=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"}]},"97ff":function(e,t,a){},"98ed":function(e,t,a){},"99b4":function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"d",(function(){return s})),a.d(t,"A",(function(){return c})),a.d(t,"y",(function(){return d})),a.d(t,"G",(function(){return m})),a.d(t,"F",(function(){return p})),a.d(t,"H",(function(){return f})),a.d(t,"z",(function(){return h})),a.d(t,"j",(function(){return b})),a.d(t,"l",(function(){return v})),a.d(t,"p",(function(){return g})),a.d(t,"k",(function(){return _})),a.d(t,"D",(function(){return y})),a.d(t,"n",(function(){return S})),a.d(t,"E",(function(){return O})),a.d(t,"C",(function(){return L})),a.d(t,"f",(function(){return I})),a.d(t,"h",(function(){return k})),a.d(t,"g",(function(){return C})),a.d(t,"i",(function(){return T})),a.d(t,"q",(function(){return j})),a.d(t,"r",(function(){return N})),a.d(t,"t",(function(){return w})),a.d(t,"s",(function(){return F})),a.d(t,"o",(function(){return E})),a.d(t,"w",(function(){return A})),a.d(t,"u",(function(){return x})),a.d(t,"x",(function(){return M})),a.d(t,"v",(function(){return P})),a.d(t,"m",(function(){return R})),a.d(t,"b",(function(){return D})),a.d(t,"a",(function(){return V})),a.d(t,"B",(function(){return G}));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 i(e){return Object(n["a"])({url:u+"/cooperationOrgan/update",method:"put",data:l.a.stringify(e)})}function s(e){return Object(n["a"])({url:u+"/cooperationOrgan/del/".concat(e),method:"post"})}function c(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 m(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 f(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 v(e){return Object(n["a"])({url:u+"/employee/update",method:"post",data:e})}function g(e){return Object(n["a"])({url:"/api-auth/role/queryPage",method:"get",params:e})}function _(e){return Object(n["a"])({url:u+"/employee/employeeOperate",method:"post",data:l.a.stringify(e)})}function y(e){return Object(n["a"])({url:"/api-auth/role/queryPage",method:"get",params:e})}function S(e){return Object(n["a"])({url:"/api-auth/role/".concat(e.id),method:"get"})}function O(e){return Object(n["a"])({url:"/api-auth/role/update",method:"post",data:e})}function L(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 k(e){return Object(n["a"])({url:u+"/courseScheduleRewards/query",method:"get",params:e})}function C(e){return Object(n["a"])({url:u+"/courseScheduleRewards/add",method:"post",data:l.a.stringify(e)})}function T(e){return Object(n["a"])({url:u+"/courseScheduleRewards/update",method:"post",data:l.a.stringify(e)})}function j(e){return Object(n["a"])({url:u+"/hotWordLabelManage/queryPage",method:"get",params:e})}function N(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 F(e){return Object(n["a"])({url:u+"/hotWordLabelManage/del/".concat(e),method:"post"})}function E(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 x(e){return Object(n["a"])({url:u+"/paymentConfig/add",method:"post",data:l.a.stringify(e)})}function M(e){return Object(n["a"])({url:u+"/paymentConfig/update",method:"post",data:l.a.stringify(e)})}function P(e){return Object(n["a"])({url:u+"/paymentConfig/del/"+e.id,method:"post"})}function R(e){return Object(n["a"])({url:u+"/teacher/findTeacherByOrganId",method:"get",params:e})}function D(e){return Object(n["a"])({url:u+"/appVersionInfo/list",method:"get",params:e})}function V(e){return Object(n["a"])({url:u+"/appVersionInfo/add",method:"post",data:l.a.stringify(e)})}function G(e){return Object(n["a"])({url:u+"/appVersionInfo/update",method:"post",data:l.a.stringify(e)})}},ae25:function(e,t,a){"use strict";var n=a("b65a"),r=a.n(n);r.a},b65a:function(e,t,a){},c0b9:function(e,t,a){"use strict";var n=a("de4e"),r=a.n(n);r.a},d870:function(e,t,a){"use strict";var n=a("45ed"),r=a.n(n);r.a},de4e:function(e,t,a){},ec8a:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("6762"),a("2fdb"),a("28a5");function n(e,t){var a=window.localStorage.getItem("permission");return a=a.split(","),t=t||null,!(!a.includes(e)||t)||!(!a.includes(e)||!a.includes(t))}},f0de:function(e,t,a){"use strict";var n=a("98ed"),r=a.n(n);r.a}}]);