1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3749ffa5"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,a,l){return e/=l/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var l=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 r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=r(),u=e-i,s=20,o=0;t="undefined"===typeof t?500:t;var c=function e(){o+=s;var r=Math.easeInOutQuad(o,i,u,t);n(r),o<t?l(e):a&&"function"===typeof a&&a()};c()}},2228:function(e,t,a){"use strict";a("e45a")},"22bb":function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.title||e.content?a("div",{staticClass:"workTitle"},[e._v("\n "+e._s(e.title)+":"),a("span",[e._v(e._s(e.content))])]):a("div",{staticClass:"workTitle"},[e._v("暂未布置练习")]),e._v(" "),a("el-form",{staticClass:"workForm",staticStyle:{padding:"0 25px"},attrs:{inline:!0}},[a("el-form-item",{attrs:{label:"应交学生数"}},[a("div",{staticClass:"inputStyle"},[e._v(e._s(e.homeworkStudentNum))])]),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("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:"studentName",width:"160",label:"学生姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.studentName)+"\n "),a("span",{staticStyle:{color:"#f56c6c"}},[e._v("("+e._s(t.row.studentId)+")")])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号",width:"120"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectNames",label:"声部名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"submitTime",width:"150",label:"提交练习时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("dateForMinFormat")(t.row.submitTime)))])]}}])}),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.submitTime?"是":"否"))])]}}])}),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:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[t.row.urlList&&t.row.submitTime?a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lookWork(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},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(" "),e.workVisible?a("el-dialog",{attrs:{title:"查看练习",width:"940px","append-to-body":"",visible:e.workVisible},on:{close:e.closeWorkVisible,"update:visible":function(t){e.workVisible=t}}},[a("div",{staticClass:"sliderWrap"},[a("div",{staticClass:"swiperWrap"},[a("swiper",{ref:"mySwiper",attrs:{options:e.swiperOptions,"auto-update":!0,"auto-destroy":!1,"delete-instance-on-destroy":!1,"cleanup-styles-on-destroy":!1}},[e._l(e.activeRow.urlList,(function(t,l){return a("swiper-slide",{key:l,staticClass:"swiper-no-swiping"},[e.activeIndex==l?a("div",{staticClass:"videoWrap"},[a("video",{ref:"dialogVideo",refInFor:!0,staticStyle:{width:"480px"},attrs:{src:t,controls:"controls"}},[e._v("\n 您的浏览器不支持视频播放\n ")])]):e._e()])})),e._v(" "),a("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"}),e._v(" "),e.activeRow.urlList.length>1?a("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?a("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(" "),a("div",[a("p",{staticClass:"workContainer"},[e._v("练习回复内容:")]),e._v(" "),a("div",{staticClass:"msgWrap"},[e.activeCommit.length>0?a("div",{class:e.activeCommit.length>0?"":"flex"},[e._l(e.activeCommit,(function(e,t){return a("messageBox",{key:t,attrs:{item:e}})})),e._v(" "),e.activeCommit.length<=0?a("p",{staticClass:"nomore"},[e._v("暂无回复内容")]):e._e()],2):e._e()])])])]):e._e()],1)},n=[],r=(a("28a5"),a("ac6a"),a("7212")),i=(a("bbe3"),a("333d")),u=a("1cc7"),s=a("dc1e"),o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"box",class:{teacher:e.item.isTeacher}},[a("span",{staticClass:"name"},[e._v(e._s(e.item.userName))]),e._v(" "),a("div",{staticClass:"container"},[a("span",{staticClass:"time"},[e._v(e._s(e.item.createTime))]),e._v(" "),"TXT"===e.item.msgType?a("div",{staticClass:"content"},[e._v(e._s(e.item.content))]):e._e(),e._v(" "),"IMG"===e.item.msgType?a("div",{staticClass:"content"},[a("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?a("div",{staticClass:"content"},[a("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=(a("797d"),a("2877")),p=Object(v["a"])(b,o,c,!1,null,"38aec66e",null),m=p.exports,f={props:["courseScheduleId"],components:{pagination:i["a"],Swiper:r["Swiper"],SwiperSlide:r["SwiperSlide"],messageBox:m},directives:{swiper:r["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(u["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(u["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(u["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(s["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,_=(a("9ea7"),Object(v["a"])(h,l,n,!1,null,"1a556abc",null));t["a"]=_.exports},"3f88":function(e,t,a){},"4f20":function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return i})),a.d(t,"c",(function(){return u})),a.d(t,"d",(function(){return s}));var l=a("b775"),n=(a("4328"),"/api-web");function r(e){return Object(l["a"])({url:n+"/webCurseHomework/queryHomePage",method:"get",params:e})}function i(e){return Object(l["a"])({url:n+"/teacher/findCourseHomeworkDetail",method:"get",params:e})}function u(e){return Object(l["a"])({url:n+"/teacher/findCourseStudentsPublic/v2",method:"post",data:e,requestType:"json"})}function s(e){return Object(l["a"])({url:n+"/teacher/findCourseStudentsSubjectPublic/v2",method:"post",data:e,requestType:"json"})}},"797d":function(e,t,a){"use strict";a("b346")},"7c28":function(e,t,a){e.exports=a.p+"static/img/woman.9995a81d.png"},8583:function(e,t,a){"use strict";a("bd44")},"890b":function(e,t,a){"use strict";a("ab97")},"92e3":function(e,t,a){"use strict";a.d(t,"v",(function(){return s})),a.d(t,"I",(function(){return o})),a.d(t,"t",(function(){return c})),a.d(t,"c",(function(){return d})),a.d(t,"E",(function(){return b})),a.d(t,"bb",(function(){return v})),a.d(t,"Z",(function(){return p})),a.d(t,"d",(function(){return m})),a.d(t,"M",(function(){return f})),a.d(t,"x",(function(){return h})),a.d(t,"db",(function(){return _})),a.d(t,"u",(function(){return g})),a.d(t,"o",(function(){return S})),a.d(t,"cb",(function(){return I})),a.d(t,"Q",(function(){return E})),a.d(t,"fb",(function(){return w})),a.d(t,"gb",(function(){return y})),a.d(t,"P",(function(){return T})),a.d(t,"U",(function(){return N})),a.d(t,"C",(function(){return C})),a.d(t,"l",(function(){return O})),a.d(t,"Y",(function(){return L})),a.d(t,"eb",(function(){return k})),a.d(t,"J",(function(){return R})),a.d(t,"m",(function(){return j})),a.d(t,"w",(function(){return x})),a.d(t,"N",(function(){return A})),a.d(t,"f",(function(){return D})),a.d(t,"e",(function(){return M})),a.d(t,"L",(function(){return G})),a.d(t,"K",(function(){return U})),a.d(t,"T",(function(){return P})),a.d(t,"H",(function(){return F})),a.d(t,"a",(function(){return H})),a.d(t,"y",(function(){return V})),a.d(t,"p",(function(){return W})),a.d(t,"n",(function(){return $})),a.d(t,"q",(function(){return B})),a.d(t,"g",(function(){return Y})),a.d(t,"G",(function(){return X})),a.d(t,"r",(function(){return q})),a.d(t,"D",(function(){return K})),a.d(t,"B",(function(){return z})),a.d(t,"A",(function(){return J})),a.d(t,"h",(function(){return Q})),a.d(t,"k",(function(){return Z})),a.d(t,"i",(function(){return ee})),a.d(t,"j",(function(){return te})),a.d(t,"S",(function(){return ae})),a.d(t,"O",(function(){return le})),a.d(t,"F",(function(){return ne})),a.d(t,"z",(function(){return re})),a.d(t,"R",(function(){return ie})),a.d(t,"V",(function(){return ue})),a.d(t,"X",(function(){return se})),a.d(t,"s",(function(){return oe})),a.d(t,"ab",(function(){return ce})),a.d(t,"W",(function(){return de})),a.d(t,"b",(function(){return ve}));var l=a("b85c"),n=a("3835"),r=a("267e"),i=sessionStorage.getItem("tenantConfig");i=i?JSON.parse(i):{};var u=i.tenantId,s=null,o=null;1==u?(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"}],s=[{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"}],s=[{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:"系统扣除"}],E=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],w=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],y=[{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:"其它"}],C=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],O=[{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:"高三"}],L=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],k=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],R=be(r["musicGroupType"]),j=be(r["classTime"]),x=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],A=be(r["payOrderType"]),D=be(r["auditType"]),M=be(r["auditPaymentType"]),G=be(r["orderServerType"]),U=be(r["orderAuditType"]),P=be(r["rewardModeType"]),F=be(r["musicClassType"]),H=be(r["ProbationPeriodStatus"]),V=be(r["downListType"]),W=be(r["conclusion"]),$=be(r["clientType"]),B=be(r["couponType"]),Y=be(r["backType"]),X=be(r["memberEnum"]),q=be(r["coupontypeDetail"]),K=be(r["issue"]),z=be(r["feedbackType"]),J=be(r["feedbackTypeDesc"]),Q=be(r["campState"]),Z=be(r["catgGoupType"]),ee=be(r["catRole"]),te=be(r["catType"]),ae=be(r["quiteReason"]),le=be(r["payUserType"]),ne=be(r["levelStatus"]),re=be(r["evaluateStatus"]),ie=be(r["problemType"]),ue=be(r["schoolUserType"]),se=be(r["shareLiveType"]),oe=be(r["courseEmnu"]),ce=be(r["suggestionType"]),de=be(r["scoreType"]);function be(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}var ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(n["a"])(t,2),r=a[0],i=a[1],u={};if(e&&e.length){var s,o=Object(l["a"])(e);try{for(o.s();!(s=o.n()).done;){var c=s.value;u[c[r]]=c[i]}}catch(d){o.e(d)}finally{o.f()}}return u}},"9ea7":function(e,t,a){"use strict";a("3f88")},a7920:function(e,t,a){"use strict";a.r(t);var l=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("save-form",{ref:"saveForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",[a("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(" "),a("el-form-item",{attrs:{prop:"organId"}},[a("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 a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),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":"上课结束日期","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(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"danger"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"courseScheduleId",label:"课程编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"courseScheduleName",label:"课程名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"groupName",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(t.row.createTime?t.row.createTime.substr(0,16):"")+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"actualTeacherName",label:"布置老师"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"expectNum",label:"应交人数"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"completedNum",label:"完成人数"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("auth",{attrs:{auths:"/teamCourseListDetailWorkList/attendanceList"}},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.lookDetail(t.row)}}},[e._v("查看")])],1)],1)]}}])})],1),e._v(" "),a("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?a("el-dialog",{attrs:{title:"详情",visible:e.classVisible,width:"1000px"},on:{"update:visible":function(t){e.classVisible=t}}},["v1"==e.activeRow.versionTag?a("studentWork",{attrs:{courseScheduleId:e.activeRow.courseScheduleId}}):a("courseWorkeDetail",{attrs:{courseScheduleId:e.activeRow.courseScheduleId}})],1):e._e()],1)],1)])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 课后练习\n ")])}],r=(a("386d"),a("5530")),i=a("15fd"),u=a("333d"),s=a("92e3"),o=a("22bb"),c=a("4f20"),d=a("ed08"),b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"teacherWrap"},[a("div",{staticClass:"teacherHeader"},[a("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{src:e.courseDetail.teacherImg?e.courseDetail.teacherImg:e.tetacherIcon}})],1),e._v(" "),a("div",{staticClass:"courseInfo"},[a("h4",[e._v("\n "+e._s(e.courseDetail.courseScheduleName)+"\n ")]),e._v(" "),a("span",[e._v(e._s(e.courseDetail.teacherName))])])]),e._v(" "),a("el-descriptions",{staticClass:"margin-top",attrs:{column:3,direction:"vertical"}},[a("el-descriptions-item",{attrs:{label:"乐团","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.musicGroupName))]),e._v(" "),a("el-descriptions-item",{attrs:{label:"课程编号","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.courseScheduleId))]),e._v(" "),a("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(" "),a("el-descriptions-item",{attrs:{label:"布置时间","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.assignTime))]),e._v(" "),a("el-descriptions-item",{attrs:{label:"截止时间","label-class-name":"my-label","content-class-name":"my-content"}},[e._v(e._s(e.courseDetail.expiryDate))]),e._v(" "),a("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(" "),a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName="string"===typeof t?t.trim():t},expression:"activeName"}},[e.permission("/teamCourseListDetailStudnetList")?a("el-tab-pane",{attrs:{label:"学员列表",name:"first"}},["first"==e.activeName?a("div",[a("studentWroks",{ref:"studentWroksRef",attrs:{courseScheduleId:e.courseScheduleId}})],1):e._e()]):e._e(),e._v(" "),e.permission("/teamCourseListDetailStudnetList")?a("el-tab-pane",{attrs:{label:"练习内容",name:"second"}},["second"==e.activeName?a("div",[a("textConment",{attrs:{trainingDetailList:e.trainingGroupList,courseScheduleId:e.courseScheduleId}})],1):e._e()]):e._e()],1)],1)},v=[],p=a("c7eb"),m=(a("96cf"),a("1da1")),f=a("7c28"),h=a.n(f),_=a("ec8a"),g=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",e._l(e.fitterTraining,(function(t,l){return a("div",{key:l},[a("el-alert",{attrs:{title:"练习组"+(l+1),closable:!1}},[e._v("\n "+e._s(t.subjectName)+"\n ")]),e._v(" "),a("div",{staticStyle:{padding:"8px 16px 8px"}},[e._v("练习说明:"+e._s(t.memo))]),e._v(" "),a("el-table",{staticStyle:{width:"100%","margin-bottom":"12px"},attrs:{data:t.trainingDetailList,"show-header":!0,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{label:"名称",prop:"musicScoreName"}}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{label:"速度",prop:"trainingSpeed"},scopedSlots:e._u([{key:"default",fn:function(t){return["MUSIC_SCORE"===t.row.homeworkType?a("span",[e._v("\n "+e._s(t.row.trainingSpeed)+"速度\n ")]):a("span",[e._v("--")])]}}],null,!0)}),e._v(" "),a("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)],1)})),0)},S=[],I={props:["trainingDetailList","courseScheduleId"],data:function(){return{subjectId:[],list:[],subjectList:[],fitterTraining:[]}},mounted:function(){console.log(this.trainingDetailList),this.fitterTraining=this.trainingDetailList.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}))}}},E=I,w=(a("8583"),a("2877")),y=Object(w["a"])(E,g,S,!1,null,"6cd3852a",null),T=y.exports,N=a("da46"),C={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(r["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)}}},O=C,L=(a("b489"),Object(w["a"])(O,b,v,!1,null,"def37d22",null)),k=L.exports,R=["courseTimer"],j={components:{pagination:u["a"],studentWork:o["a"],courseWorkeDetail:k},data:function(){return{courseListType:s["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,a=t.courseTimer,l=Object(i["a"])(t,R),n=Object(r["a"])(Object(r["a"])({},l),{},{page:this.rules.page,rows:this.rules.limit},Object(d["d"])(a,["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}}},x=j,A=(a("2228"),Object(w["a"])(x,l,n,!1,null,"26ff66c2",null));t["default"]=A.exports},ab97:function(e,t,a){},b346:function(e,t,a){},b489:function(e,t,a){"use strict";a("deb5")},bd44:function(e,t,a){},da46:function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"studentWroks"},[e.subjectList.length>1?a("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,l){return a("el-checkbox-button",{key:l,class:1==e.subjectList.length?"one":"",attrs:{label:t.id}},[e._v(e._s(t.name))])})),1):e._e(),e._v(" "),a("el-table",{attrs:{"max-height":"300px","header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.list}},[a("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-table",{staticStyle:{width:"100%","padding-left":"48px"},attrs:{"show-header":!1,data:t.row.studentLessonTrainingDetail,border:!1}},[a("el-table-column",{attrs:{label:"名称",prop:"musicScoreName"}}),e._v(" "),a("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(" "),a("el-table-column",{attrs:{label:"速度",prop:"trainingSpeed"},scopedSlots:e._u([{key:"default",fn:function(t){return["MUSIC_SCORE"===t.row.homeworkType?a("span",[e._v("\n "+e._s(t.row.trainingSpeed)+"速度\n ")]):a("span",[e._v("--")])]}}],null,!0)}),e._v(" "),a("el-table-column",{attrs:{prop:"times",label:"次数/总计"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.trainingTimes)+"/"+e._s(t.row.times)+"次")]}}],null,!0)})],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"userName",align:"left",label:"学生姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"phone",align:"left",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"subjectName",align:"left",label:"声部名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"submitTime",align:"left",label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e._f("dateForMinFormat")(t.row.submitTime)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"finishFlag",align:"right",label:"练习情况"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.finishFlag?"已完成":"未完成"))])]}}])})],1)],1)},n=[],r=a("c7eb"),i=(a("96cf"),a("1da1")),u=a("4f20"),s={props:["courseScheduleId"],data:function(){return{subjectId:[],list:[],subjectList:[]}},mounted:function(){console.log(this.courseScheduleId,"mounted"),this.courseScheduleId&&(this.getStudentList(this.courseScheduleId),this.getPublicSubject())},methods:{getStudentList:function(){var e=Object(i["a"])(Object(r["a"])().mark((function e(){var t;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(u["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(i["a"])(Object(r["a"])().mark((function e(){var t;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(u["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()}}},o=s,c=(a("890b"),a("2877")),d=Object(c["a"])(o,l,n,!1,null,"24f57788",null);t["a"]=d.exports},dc1e:function(e,t,a){"use strict";a.d(t,"c",(function(){return r})),a.d(t,"d",(function(){return i})),a.d(t,"a",(function(){return u})),a.d(t,"b",(function(){return s}));var l=a("b775"),n=(a("4328"),"/api-web");function r(e){return Object(l["a"])({url:n+"/studentManage/getOperatingStudents",method:"GET",params:e})}function i(e){return Object(l["a"])({url:n+"/teacherCourseReward/queryPage",method:"GET",params:e})}function u(e){return Object(l["a"])({url:n+"/exercisesSituation/findServiceStudentDetail",method:"GET",params:e})}function s(e){return Object(l["a"])({url:n+"/exercisesSituation/findStudentHomeworkComments",method:"GET",params:e})}},deb5:function(e,t,a){},e45a:function(e,t,a){}}]);
|