(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39a1d077"],{"09f4":function(e,t,l){"use strict";l.d(t,"a",(function(){return r})),Math.easeInOutQuad=function(e,t,l,a){return e/=a/2,e<1?l/2*e*e+t:(e--,-l/2*(e*(e-2)-1)+t)};var a=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function i(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function r(e,t,l){var r=i(),s=e-r,u=20,o=0;t="undefined"===typeof t?500:t;var c=function e(){o+=u;var i=Math.easeInOutQuad(o,r,s,t);n(i),o1?l("div",{staticClass:"swiper-button-prev swiper-button-white",attrs:{slot:"button-prev"},on:{click:e.prev},slot:"button-prev"}):e._e(),e._v(" "),e.activeRow.urlList.length>1?l("div",{staticClass:"swiper-button-next swiper-button-white",attrs:{slot:"button-next"},on:{click:e.next},slot:"button-next"}):e._e()],2)],1),e._v(" "),l("div",[l("p",{staticClass:"workContainer"},[e._v("练习回复内容:")]),e._v(" "),l("div",{staticClass:"msgWrap"},[e.activeCommit.length>0?l("div",{class:e.activeCommit.length>0?"":"flex"},[e._l(e.activeCommit,(function(e,t){return l("messageBox",{key:t,attrs:{item:e}})})),e._v(" "),e.activeCommit.length<=0?l("p",{staticClass:"nomore"},[e._v("暂无回复内容")]):e._e()],2):e._e()])])])]):e._e()],1)},n=[],i=(l("28a5"),l("ac6a"),l("7212")),r=(l("bbe3"),l("333d")),s=l("1cc7"),u=l("dc1e"),o=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"box",class:{teacher:e.item.isTeacher}},[l("span",{staticClass:"name"},[e._v(e._s(e.item.userName))]),e._v(" "),l("div",{staticClass:"container"},[l("span",{staticClass:"time"},[e._v(e._s(e.item.createTime))]),e._v(" "),"TXT"===e.item.msgType?l("div",{staticClass:"content"},[e._v(e._s(e.item.content))]):e._e(),e._v(" "),"IMG"===e.item.msgType?l("div",{staticClass:"content"},[l("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:e.item.content,fit:"cover","preview-src-list":[e.item.content]}})],1):e._e(),e._v(" "),"VC"===e.item.msgType?l("div",{staticClass:"content"},[l("audio",{ref:"dialogVideo",staticStyle:{width:"240px"},attrs:{controls:"",src:e.item.content}},[e._v("您的浏览器不支持音频播放")])]):e._e()])])},c=[],d={name:"message-box",props:["item"],mounted:function(){}},b=d,v=(l("797d"),l("2877")),p=Object(v["a"])(b,o,c,!1,null,"38aec66e",null),m=p.exports,f={props:["courseScheduleId"],components:{pagination:r["a"],Swiper:i["Swiper"],SwiperSlide:i["SwiperSlide"],messageBox:m},directives:{swiper:i["directive"]},data:function(){var e=this;return{tableList:[],rules:{limit:10,page:1,total:0},workVisible:!1,repliedVisible:!1,studentNum:null,homeworkStudentNum:null,homeworkNum:null,repliedNum:null,activeUrl:null,content:null,title:null,activeRow:null,activeIndex:0,swiperOptions:{noSwiping:!0,observer:!0,observeParents:!0,speed:300,loop:!0,pagination:".swiper-pagination",navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{slideChange:function(t){e.activeIndex=t.realIndex}}},comUrl:"",comVisible:!1,activeCommit:[]}},computed:{swiper:function(){return this.$refs.mySwiper.$swiper}},mounted:function(){this.init()},activated:function(){this.init()},methods:{init:function(){var e=this;Object(s["Nc"])({courseScheduleId:this.courseScheduleId}).then((function(t){200==t.code&&(e.studentNum=t.data.studentNum,e.homeworkStudentNum=t.data.homeworkStudentNum,e.homeworkNum=t.data.homeworkNum,e.repliedNum=t.data.repliedNum)})),Object(s["db"])({courseScheduleId:this.courseScheduleId}).then((function(t){200==t.code&&(t.data&&(e.content=t.data.content,e.title=t.data.title),e.content?e.content:e.content="")})),this.getList()},getList:function(){var e=this;Object(s["O"])({search:this.courseScheduleId,rows:this.rules.limit,page:this.rules.page}).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(",").forEach((function(t){t&&e.urlList.push(t)})),e})))}))},lookWork:function(e){var t=this;this.activeRow=e,Object(u["b"])({studentCourseHomeworkId:e.studentCourseHomeworkId,rows:9999}).then((function(e){200==e.code&&(t.activeCommit=e.data.rows,t.workVisible=!0)}))},closeWorkVisible:function(){this.activeUrl=""},prev:function(e){var t=this;this.$nextTick((function(){t.$refs.mySwiper.$swiper.slidePrev()}))},next:function(e){var t=this;this.$nextTick((function(){t.$refs.mySwiper.$swiper.slideNext()}))},lookReplied:function(e){},openAideo:function(e){this.comUrl=e,this.comVisible=!0}},watch:{courseScheduleId:function(e){e&&this.init()}}},h=f,_=(l("9ea7"),Object(v["a"])(h,a,n,!1,null,"1a556abc",null));t["a"]=_.exports},"36e1":function(e,t,l){},"3f88":function(e,t,l){},4898:function(e,t,l){},"4f20":function(e,t,l){"use strict";l.d(t,"b",(function(){return i})),l.d(t,"a",(function(){return r})),l.d(t,"c",(function(){return s})),l.d(t,"d",(function(){return u}));var a=l("b775"),n=(l("4328"),"/api-web");function i(e){return Object(a["a"])({url:n+"/webCurseHomework/queryHomePage",method:"get",params:e})}function r(e){return Object(a["a"])({url:n+"/teacher/findCourseHomeworkDetail",method:"get",params:e})}function s(e){return Object(a["a"])({url:n+"/teacher/findCourseStudentsPublic/v2",method:"post",data:e,requestType:"json"})}function u(e){return Object(a["a"])({url:n+"/teacher/findCourseStudentsSubjectPublic/v2",method:"post",data:e,requestType:"json"})}},5083:function(e,t,l){"use strict";l("4898")},"65b2":function(e,t,l){"use strict";l("36e1")},"6df2":function(e,t,l){"use strict";var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"studentWroks"},[e.listMusic.length>0?[l("el-alert",{staticStyle:{width:"99%","margin-bottom":"8px"},attrs:{title:"练习曲目",closable:!1}}),e._v(" "),l("el-table",{staticStyle:{"margin-bottom":"20px"},attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.listMusic}},[l("el-table-column",{attrs:{prop:"musicScoreName",width:"260px",align:"left",label:"名称"}}),e._v(" "),l("el-table-column",{attrs:{prop:"subjectName",align:"left",label:"练习"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(t.row.start)+"-"+e._s(t.row.end))])]}}],null,!1,769662622)}),e._v(" "),l("el-table-column",{attrs:{prop:"trainingSpeed",align:"left",label:"速度"}}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"left",label:"次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.trainingTimes)+"/"+e._s(t.row.times)+"次")]}}],null,!1,431224949)}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.fileJson&&t.row.fileJson.length>0?l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.onDetail(t.row)}}},[e._v("查看详情")]):e._e()]}}],null,!1,2387529103)})],1)]:e._e(),e._v(" "),e.listVideo.length>0?[l("el-alert",{staticStyle:{width:"99%","margin-bottom":"8px"},attrs:{title:"练习视频",closable:!1}}),e._v(" "),l("el-table",{attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.listVideo}},[l("el-table-column",{attrs:{prop:"musicScoreName",align:"left",label:"名称"}}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"left",label:"次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.trainingTimes)+"/"+e._s(t.row.times)+"次")]}}],null,!1,431224949)}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.fileJson&&t.row.fileJson.length>0?l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.onDetail(t.row)}}},[e._v("查看详情")]):e._e()]}}],null,!1,2387529103)})],1)]:e._e(),e._v(" "),e.listTxt.length>0?[l("el-alert",{staticStyle:{width:"99%","margin-bottom":"8px"},attrs:{title:"练习",closable:!1}}),e._v(" "),l("el-table",{attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.listTxt}},[l("el-table-column",{attrs:{prop:"desc",align:"left",label:"练习内容"}}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"right",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.fileJson&&t.row.fileJson.length>0?l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.onDetail(t.row)}}},[e._v("查看详情")]):e._e()]}}],null,!1,2387529103)})],1)]:e._e(),e._v(" "),e.videoVisible?l("el-dialog",{attrs:{title:"查看",width:"680px","append-to-body":"",visible:e.videoVisible},on:{"update:visible":function(t){e.videoVisible=t}}},[l("div",{staticClass:"activeVideoWrap"},["VIDEO"===e.selectItem.fileType?l("videoTcplayer",{staticClass:"ql-video",attrs:{src:e.selectItem.filePath}}):e._e(),e._v(" "),"SOUND"===e.selectItem.fileType?l("audio",{staticStyle:{width:"100%"},attrs:{id:"audio",controls:"",src:e.selectItem.filePath}},[e._v("\n 您的浏览器不支持视频播放\n ")]):e._e(),e._v(" "),"IMG"===e.selectItem.fileType?l("el-image",{staticStyle:{width:"100%",height:"350px"},attrs:{fit:"contain",src:e.selectItem.filePath,"preview-src-list":[e.selectItem.filePath]}}):e._e()],1)]):e._e()],2)},n=[],i=(l("ac6a"),l("8793")),r={props:["list","groupType"],components:{videoTcplayer:i["a"]},data:function(){return{videoVisible:!1,listMusic:[],listVideo:[],listTxt:[],selectItem:{}}},mounted:function(){this.__init()},methods:{__init:function(){var e=this.list||[],t=[],l=[],a=[];e.forEach((function(e){"MUSIC_SCORE"===e.homeworkType?t.push(e):"VIDEO"===e.homeworkType?l.push(e):a.push(e)})),this.listMusic=t,this.listVideo=l,this.listTxt=a},onDetail:function(e){this.selectItem=e.fileJson&&e.fileJson.length>0?e.fileJson[0]:{},console.log(this.selectItem,"this.selectItem"),this.selectItem.expireFlag?this.$message.error("文件已过期"):this.videoVisible=!0}}},s=r,u=(l("65b2"),l("2877")),o=Object(u["a"])(s,a,n,!1,null,"30e6f016",null);t["a"]=o.exports},"6fd5":function(e,t,l){},"797d":function(e,t,l){"use strict";l("b346")},"7bfd":function(e,t,l){},"7c28":function(e,t,l){e.exports=l.p+"static/img/woman.9995a81d.png"},8049:function(e,t,l){"use strict";l("7bfd")},"92e3":function(e,t,l){"use strict";l.d(t,"v",(function(){return u})),l.d(t,"I",(function(){return o})),l.d(t,"t",(function(){return c})),l.d(t,"c",(function(){return d})),l.d(t,"E",(function(){return b})),l.d(t,"bb",(function(){return v})),l.d(t,"Z",(function(){return p})),l.d(t,"d",(function(){return m})),l.d(t,"M",(function(){return f})),l.d(t,"x",(function(){return h})),l.d(t,"db",(function(){return _})),l.d(t,"u",(function(){return g})),l.d(t,"o",(function(){return S})),l.d(t,"cb",(function(){return I})),l.d(t,"Q",(function(){return w})),l.d(t,"fb",(function(){return y})),l.d(t,"gb",(function(){return E})),l.d(t,"P",(function(){return T})),l.d(t,"U",(function(){return N})),l.d(t,"C",(function(){return O})),l.d(t,"l",(function(){return C})),l.d(t,"Y",(function(){return k})),l.d(t,"eb",(function(){return L})),l.d(t,"J",(function(){return x})),l.d(t,"m",(function(){return R})),l.d(t,"w",(function(){return D})),l.d(t,"N",(function(){return j})),l.d(t,"f",(function(){return A})),l.d(t,"e",(function(){return M})),l.d(t,"L",(function(){return V})),l.d(t,"K",(function(){return G})),l.d(t,"T",(function(){return F})),l.d(t,"H",(function(){return P})),l.d(t,"a",(function(){return U})),l.d(t,"y",(function(){return H})),l.d(t,"p",(function(){return W})),l.d(t,"n",(function(){return $})),l.d(t,"q",(function(){return B})),l.d(t,"g",(function(){return Y})),l.d(t,"G",(function(){return J})),l.d(t,"r",(function(){return q})),l.d(t,"D",(function(){return X})),l.d(t,"B",(function(){return K})),l.d(t,"A",(function(){return z})),l.d(t,"h",(function(){return Q})),l.d(t,"k",(function(){return Z})),l.d(t,"i",(function(){return ee})),l.d(t,"j",(function(){return te})),l.d(t,"S",(function(){return le})),l.d(t,"O",(function(){return ae})),l.d(t,"F",(function(){return ne})),l.d(t,"z",(function(){return ie})),l.d(t,"R",(function(){return re})),l.d(t,"V",(function(){return se})),l.d(t,"X",(function(){return ue})),l.d(t,"s",(function(){return oe})),l.d(t,"ab",(function(){return ce})),l.d(t,"W",(function(){return de})),l.d(t,"b",(function(){return ve}));var a=l("b85c"),n=l("3835"),i=l("267e"),r=sessionStorage.getItem("tenantConfig");r=r?JSON.parse(r):{};var s=r.tenantId,u=null,o=null;1==s?(o=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],u=[{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"},{label:"直播课",value:"LIVE"}]):(o=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],u=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]);var c=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],d=[{label:"正常签到",value:1},{label:"异常签到",value:0}],b=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],v=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],p=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],m=[].concat(p,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),f=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"MEMBER",label:"学练宝购买"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"2020双十一活动"},{value:"DOUBLE_ELEVEN2021",label:"2021双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"MALL_BUY",label:"商城销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"ADD_STUDENT",label:"乐团报名"},{value:"REPLACEMENT",label:"乐器置换"},{value:"SCHOOL",label:"学校订单"},{value:"PERSONAL",label:"个人订单"},{value:"OTHER",label:"其他"},{value:"ACTIVITY",label:"活动购买"},{value:"LIVE_BUY",label:"直播购物"},{value:"LIVE_GROUP_BUY",label:"直播课购买"},{value:"SCHOOL_GOODS_PURCHASE",label:"商品采购"},{value:"DIRECTOR_TRAINING_CAMP",label:"乐队指导培训"}],h=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],_=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],g=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],S=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],I=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],w=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],y=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],E=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"续费类回访",label:"续费类回访"},{value:"服务回访",label:"服务回访"},{value:"其他",label:"其他"}]},{value:"学练宝",label:"学练宝",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],T=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],N=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],O=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],C=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],k=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],L=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],x=be(i["musicGroupType"]),R=be(i["classTime"]),D=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],j=be(i["payOrderType"]),A=be(i["auditType"]),M=be(i["auditPaymentType"]),V=be(i["orderServerType"]),G=be(i["orderAuditType"]),F=be(i["rewardModeType"]),P=be(i["musicClassType"]),U=be(i["ProbationPeriodStatus"]),H=be(i["downListType"]),W=be(i["conclusion"]),$=be(i["clientType"]),B=be(i["couponType"]),Y=be(i["backType"]),J=be(i["memberEnum"]),q=be(i["coupontypeDetail"]),X=be(i["issue"]),K=be(i["feedbackType"]),z=be(i["feedbackTypeDesc"]),Q=be(i["campState"]),Z=be(i["catgGoupType"]),ee=be(i["catRole"]),te=be(i["catType"]),le=be(i["quiteReason"]),ae=be(i["payUserType"]),ne=be(i["levelStatus"]),ie=be(i["evaluateStatus"]),re=be(i["problemType"]),se=be(i["schoolUserType"]),ue=be(i["shareLiveType"]),oe=be(i["courseEmnu"]),ce=be(i["suggestionType"]),de=be(i["scoreType"]);function be(e){var t=[];for(var l in e)t.push({label:e[l],value:l});return t}var ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],l=Object(n["a"])(t,2),i=l[0],r=l[1],s={};if(e&&e.length){var u,o=Object(a["a"])(e);try{for(o.s();!(u=o.n()).done;){var c=u.value;s[c[i]]=c[r]}}catch(d){o.e(d)}finally{o.f()}}return s}},"9ea7":function(e,t,l){"use strict";l("3f88")},a7920:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"m-container"},[e._m(0),e._v(" "),l("div",{staticClass:"m-core"},[l("save-form",{ref:"saveForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[l("el-form-item",[l("el-input",{staticClass:"search",attrs:{clearable:"",placeholder:"课程编号/名称/乐团名称/老师"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){t.target.blur(),e.$refs.saveForm.save(),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(" "),l("el-form-item",{attrs:{prop:"organId"}},[l("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e,t){return l("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),l("el-form-item",[l("el-date-picker",{staticStyle:{width:"420px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"上课开始日期","end-placeholder":"上课结束日期","picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.courseTimer,callback:function(t){e.$set(e.searchForm,"courseTimer","string"===typeof t?t.trim():t)},expression:"searchForm.courseTimer"}})],1),e._v(" "),l("el-form-item",[l("el-button",{attrs:{"native-type":"submit",type:"danger"}},[e._v("搜索")]),e._v(" "),l("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),l("div",{staticClass:"tableWrap"},[l("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[l("el-table-column",{attrs:{align:"center",prop:"courseScheduleId",label:"课程编号"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"courseScheduleName",label:"课程名称"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"groupName",label:"乐团"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"布置时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v("\n "+e._s(t.row.createTime?t.row.createTime.substr(0,16):"")+"\n ")])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"actualTeacherName",label:"布置老师"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"expectNum",label:"应交人数"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"completedNum",label:"完成人数"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"studentId",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[l("auth",{attrs:{auths:"/teamCourseListDetailWorkList/attendanceList"}},[l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.lookDetail(t.row)}}},[e._v("查看")])],1)],1)]}}])})],1),e._v(" "),l("pagination",{attrs:{sync:"",total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"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}}),e._v(" "),e.classVisible?l("el-dialog",{attrs:{title:"详情",visible:e.classVisible,width:"1000px"},on:{"update:visible":function(t){e.classVisible=t}}},["v1"==e.activeRow.versionTag?l("studentWork",{attrs:{courseScheduleId:e.activeRow.courseScheduleId}}):l("courseWorkeDetail",{attrs:{courseScheduleId:e.activeRow.courseScheduleId}})],1):e._e()],1)],1)])},n=[function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("h2",[l("div",{staticClass:"squrt"}),e._v("\n 课后练习\n ")])}],i=(l("386d"),l("5530")),r=l("15fd"),s=l("333d"),u=l("92e3"),o=l("22bb"),c=l("4f20"),d=l("ed08"),b=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",[l("div",{staticClass:"teacherWrap"},[l("div",{staticClass:"teacherHeader"},[l("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{src:e.courseDetail.teacherImg?e.courseDetail.teacherImg:e.tetacherIcon}})],1),e._v(" "),l("div",{staticClass:"courseInfo"},[l("h4",[e._v("\n "+e._s(e.courseDetail.courseScheduleName)+"\n ")]),e._v(" "),l("span",[e._v(e._s(e.courseDetail.teacherName))])])]),e._v(" "),l("el-descriptions",{staticClass:"margin-top",attrs:{column:3,direction:"vertical"}},[l("el-descriptions-item",{attrs:{label:"乐团","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.musicGroupName))]),e._v(" "),l("el-descriptions-item",{attrs:{label:"课程编号","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.courseScheduleId))]),e._v(" "),l("el-descriptions-item",{attrs:{label:"上课时间","label-class-name":"my-label","content-class-name":"my-content"}},[e._v("\n "+e._s(e._f("dayjsFormat")(e.courseDetail.classDate))+"\n "+e._s(e._f("dayjsFormatMinute")(e.courseDetail.startTime))+"-"+e._s(e._f("dayjsFormatMinute")(e.courseDetail.endTime)))]),e._v(" "),l("el-descriptions-item",{attrs:{label:"布置时间","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.assignTime))]),e._v(" "),l("el-descriptions-item",{attrs:{label:"截止时间","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.expiryDate))]),e._v(" "),l("el-descriptions-item",{attrs:{label:"完成情况","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.finishNum)+" /\n "+e._s(e.courseDetail.studentNum))])],1),e._v(" "),l("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName="string"===typeof t?t.trim():t},expression:"activeName"}},[e.permission("/teamCourseListDetailStudnetList")?l("el-tab-pane",{attrs:{label:"学员列表",name:"first"}},["first"==e.activeName?l("div",[l("studentWroks",{ref:"studentWroksRef",attrs:{courseScheduleId:e.courseScheduleId}})],1):e._e()]):e._e(),e._v(" "),e.permission("/teamCourseListDetailStudnetList")?l("el-tab-pane",{attrs:{label:"练习内容",name:"second"}},["second"==e.activeName?l("div",[l("textConment",{attrs:{courseDetail:e.courseDetail,trainingDetailList:e.trainingGroupList,courseScheduleId:e.courseScheduleId}})],1):e._e()]):e._e()],1)],1)},v=[],p=l("c7eb"),m=(l("96cf"),l("1da1")),f=l("7c28"),h=l.n(f),_=l("ec8a"),g=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",e._l(e.fitterTraining,(function(t,a){return l("div",{key:a},[l("el-alert",{attrs:{title:"练习组"+(a+1),closable:!1}},[e._v("\n "+e._s(t.subjectName)+"\n ")]),e._v(" "),t.trainingVideoAndMusic.length>0?[l("div",{staticStyle:{padding:"8px 16px 8px"}},[e._v("练习说明:"+e._s(t.memo))]),e._v(" "),l("el-table",{staticStyle:{width:"100%","margin-bottom":"12px"},attrs:{data:t.trainingVideoAndMusic,"show-header":!0,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[l("el-table-column",{attrs:{label:"名称",prop:"musicScoreName"}}),e._v(" "),l("el-table-column",{attrs:{label:"类型",prop:"type"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s("MUSIC_SCORE"===t.row.homeworkType?"曲目":"视频"))]}}],null,!0)}),e._v(" "),l("el-table-column",{attrs:{label:"速度",prop:"trainingSpeed"},scopedSlots:e._u([{key:"default",fn:function(t){return["MUSIC_SCORE"===t.row.homeworkType?l("span",[e._v("\n "+e._s(t.row.trainingSpeed)+"速度\n ")]):l("span",[e._v("--")])]}}],null,!0)}),e._v(" "),l("el-table-column",{attrs:{prop:"times",label:"总计"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.times)+"次")]}}],null,!0)})],1)]:e._e(),e._v(" "),t.trainingTxt.length>0?[l("el-table",{staticStyle:{width:"100%","margin-bottom":"12px"},attrs:{data:t.trainingTxt,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[l("el-table-column",{attrs:{prop:"desc",label:"练习内容"}})],1)]:e._e()],2)})),0)},S=[],I=(l("ac6a"),{props:["trainingDetailList","courseScheduleId","courseDetail"],data:function(){return{subjectId:[],list:[],subjectList:[],fitterTraining:[]}},mounted:function(){var e=this.trainingDetailList,t=[];e.forEach((function(e){var l=e.trainingDetailList||[],a=[],n=[];l.forEach((function(e){"DESCRIPTION"===e.homeworkType?n.push(e):a.push(e)})),t.push(Object(i["a"])(Object(i["a"])({},e),{},{trainingVideoAndMusic:a,trainingTxt:n}))})),this.fitterTraining=t.map((function(e){return e}))},methods:{getPublicSubject:function(){var e=Object(m["a"])(Object(p["a"])().mark((function e(){var t;return Object(p["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c["d"])({courseScheduleId:this.courseScheduleId,type:"HOMEWORK"});case 3:t=e.sent,this.subjectList=t.data,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),checkSubject:function(e){var t=this;console.log(e[0],this.trainingDetailList),this.subjectId.length>1&&this.subjectId.shift(),this.subjectId?this.fitterTraining=this.trainingDetailList.filter((function(e){return e.subjectId==t.subjectId[0]})):this.fitterTraining=this.trainingDetailList.map((function(e){return e}))}}}),w=I,y=(l("1aa8"),l("2877")),E=Object(y["a"])(w,g,S,!1,null,"066168e0",null),T=E.exports,N=l("da46"),O={props:["courseScheduleId"],components:{studentWroks:N["a"],textConment:T},data:function(){return{tetacherIcon:h.a,activeName:"first",courseDetail:{assignTime:"",classDate:"",startTime:"",endTime:"",classGroupName:"",courseScheduleName:"",musicGroupName:"",expiryDate:"",subjectName:"",teacherName:"",teacherImg:"",courseScheduleId:"",finishNum:"",studentNum:""},trainingDetailList:[],trainingGroupList:[]}},mounted:function(){this.getWorkerDetail()},methods:{getWorkerDetail:function(){var e=Object(m["a"])(Object(p["a"])().mark((function e(){var t;return Object(p["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(c["a"])({courseScheduleId:this.courseScheduleId});case 3:t=e.sent,this.courseDetail=Object(i["a"])({},t.data),this.trainingDetailList=t.data.trainingDetailList,this.trainingGroupList=t.data.trainingGroupList||[],e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),permission:function(e,t){return Object(_["a"])(e,t)}}},C=O,k=(l("5083"),Object(y["a"])(C,b,v,!1,null,"67e553fc",null)),L=k.exports,x=["courseTimer"],R={components:{pagination:s["a"],studentWork:o["a"],courseWorkeDetail:L},data:function(){return{courseListType:u["t"],searchForm:{search:null,organId:null,groupType:"MUSIC",courseTimer:[]},teacherList:[],tableList:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},activeRow:null,classVisible:!1}},created:function(){},mounted:function(){this.$store.dispatch("setBranchs"),this.init()},activated:function(){this.init()},methods:{init:function(){this.getList()},getList:function(){var e=this,t=this.searchForm,l=t.courseTimer,a=Object(r["a"])(t,x),n=Object(i["a"])(Object(i["a"])({},a),{},{page:this.rules.page,rows:this.rules.limit},Object(d["d"])(l,["classStartDate","classEndDate"]));Object(c["b"])(n).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)}))},search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.searchForm={search:null,organId:null,groupType:"MUSIC",courseTimer:[],cloudHomeworkFlag:""},this.search()},lookDetail:function(e){this.activeRow=e,this.classVisible=!0}}},D=R,j=(l("8049"),Object(y["a"])(D,a,n,!1,null,"f4fd7a42",null));t["default"]=j.exports},b346:function(e,t,l){},b49e:function(e,t,l){"use strict";l("6fd5")},da46:function(e,t,l){"use strict";var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"studentWroks"},[e.subjectList.length>1?l("el-checkbox-group",{staticStyle:{"margin-bottom":"20px"},attrs:{size:"medium"},on:{change:e.checkSubject},model:{value:e.subjectId,callback:function(t){e.subjectId=t},expression:"subjectId"}},e._l(e.subjectList,(function(t,a){return l("el-checkbox-button",{key:a,class:1==e.subjectList.length?"one":"",attrs:{label:t.id}},[e._v(e._s(t.name))])})),1):e._e(),e._v(" "),l("el-table",{attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.list}},[l("el-table-column",{attrs:{prop:"userName",align:"left",label:"学生姓名"}}),e._v(" "),l("el-table-column",{attrs:{prop:"phone",align:"left",label:"手机号"}}),e._v(" "),l("el-table-column",{attrs:{prop:"subjectName",align:"left",label:"声部名称"}}),e._v(" "),l("el-table-column",{attrs:{prop:"submitTime",align:"left",label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.submitTime?l("div",[e._v(e._s(e._f("dateForMinFormat")(t.row.submitTime)))]):l("div",[e._v("--")])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"right",label:"练习情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(t.row.finishFlag?"已完成":"未完成"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"right",label:"练习内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.onDetail(t.row)}}},[e._v("查看详情")])]}}])})],1),e._v(" "),e.classVisible?l("el-dialog",{attrs:{title:e.userName+"练习详情",visible:e.classVisible,width:"800px","append-to-body":""},on:{"update:visible":function(t){e.classVisible=t}}},[l("homeworkDetail",{attrs:{list:e.selectItem}})],1):e._e()],1)},n=[],i=l("c7eb"),r=(l("96cf"),l("1da1")),s=l("4f20"),u=l("6df2"),o={props:["courseScheduleId"],components:{homeworkDetail:u["a"]},data:function(){return{subjectId:[],list:[],subjectList:[],classVisible:!1,username:"",selectItem:[]}},mounted:function(){this.courseScheduleId&&(this.getStudentList(this.courseScheduleId),this.getPublicSubject())},methods:{onDetail:function(e){this.userName=e.userName,this.selectItem=e.studentLessonTrainingDetail||[],this.classVisible=!0},getStudentList:function(){var e=Object(r["a"])(Object(i["a"])().mark((function e(){var t;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(s["c"])({courseScheduleId:this.courseScheduleId,type:"HOMEWORK",subjectId:this.subjectId[0]?this.subjectId[0]:""});case 3:t=e.sent,this.list=t.data,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),getPublicSubject:function(){var e=Object(r["a"])(Object(i["a"])().mark((function e(){var t;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(s["d"])({courseScheduleId:this.courseScheduleId,type:"HOMEWORK"});case 3:t=e.sent,this.subjectList=t.data,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}(),checkSubject:function(e){this.subjectId.length>1&&this.subjectId.shift(),this.getStudentList()}}},c=o,d=(l("b49e"),l("2877")),b=Object(d["a"])(c,a,n,!1,null,"291ee1d5",null);t["a"]=b.exports},dc1e:function(e,t,l){"use strict";l.d(t,"c",(function(){return i})),l.d(t,"d",(function(){return r})),l.d(t,"a",(function(){return s})),l.d(t,"b",(function(){return u}));var a=l("b775"),n=(l("4328"),"/api-web");function i(e){return Object(a["a"])({url:n+"/studentManage/getOperatingStudents",method:"GET",params:e})}function r(e){return Object(a["a"])({url:n+"/teacherCourseReward/queryPage",method:"GET",params:e})}function s(e){return Object(a["a"])({url:n+"/exercisesSituation/findServiceStudentDetail",method:"GET",params:e})}function u(e){return Object(a["a"])({url:n+"/exercisesSituation/findStudentHomeworkComments",method:"GET",params:e})}},fd94:function(e,t,l){}}]);