1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3bfdcb1c"],{"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(),u=e-r,s=20,o=0;t="undefined"===typeof t?500:t;var c=function e(){o+=s;var i=Math.easeInOutQuad(o,r,u,t);n(i),o<t?a(e):l&&"function"===typeof l&&l()};c()}},"160b":function(e,t,l){"use strict";l.d(t,"a",(function(){return i})),l.d(t,"b",(function(){return r}));l("b775");var a=l("829b"),n="/api-web";function i(e){return Object(a["a"])({url:n+"/musicGroup/queryPage",method:"post",data:e,requestType:"form"})}function r(e){return Object(a["a"])({url:n+"/musicGroup/queryPage",method:"post",data:e,requestType:"form",hideLoading:!0})}},"1b0f":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:"请选择分部"},on:{change:e.onBranchChange},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-select",{attrs:{disabled:!e.searchForm.organId||e.teamList.length<=0,clearable:"",filterable:"",placeholder:"请选择乐团"},on:{change:e.changeMusicGroup},model:{value:e.searchForm.musicGroupId,callback:function(t){e.$set(e.searchForm,"musicGroupId","string"===typeof t?t.trim():t)},expression:"searchForm.musicGroupId"}},e._l(e.teamList,(function(e,t){return l("el-option",{key:t,attrs:{value:e.id,label:e.name}})})),1)],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:"organName",label:"分部"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"teacherName",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",label:"截止时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v("\n "+e._s(t.row.expireDate?t.row.expireDate.substr(0,16):"")+"\n ")])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"expectNum",label:"应交人数"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"trainingNum",label:"完成人数"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"standardNum",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}}},[l("examinationDetail",{attrs:{courseScheduleId:e.activeRow.id,type:e.activeRow.type}})],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("c7eb"),r=(l("96cf"),l("1da1")),u=(l("386d"),l("5530")),s=l("15fd"),o=l("333d"),c=l("92e3"),d=l("22bb"),b=l("d814"),v=l("ed08"),p=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",[l("div",[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",{staticStyle:{width:"100%"},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:"memo",align:"left",label:"练习说明"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.memo?l("Tooltip",{attrs:{content:t.row.memo}}):l("span",[e._v("--")])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"trainingTime",align:"left",label:"完成时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.trainingTime?l("div",[e._v(e._s(e._f("dateForMinFormat")(t.row.trainingTime)))]):l("div",[e._v("--")])]}}])}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"left",label:"测验分数"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(-1==t.row.trainingScore?"--":t.row.trainingScore||0))])]}}])}),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)],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)},f=[],m=(l("ac6a"),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[t.row.heardLevel?l("div",[e._v(e._s(e._f("palyLevelFilter")(t.row.heardLevel)))]):e._e()]}}],null,!1,1855289605)}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"left",label:"分数"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",{class:t.row.trainingScore>=t.row.standardScore?"":"red"},[e._v(e._s(-1==t.row.trainingScore?"--":t.row.trainingScore))]),e._v("\n / "+e._s(t.row.standardScore)+" 分")]}}],null,!1,3704321358)}),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:"subjectName",align:"left",label:"级别"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.heardLevel?l("div",[e._v(e._s(e._f("palyLevelFilter")(t.row.heardLevel)))]):e._e()]}}],null,!1,1855289605)}),e._v(" "),l("el-table-column",{attrs:{prop:"finishFlag",align:"left",label:"分数"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",{class:t.row.trainingScore>=t.row.standardScore?"":"red"},[e._v(e._s(t.row.trainingScore))]),e._v("\n / "+e._s(t.row.standardScore)+" 分")]}}],null,!1,2729166303)}),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("查看详情")])]}}],null,!1,2095275724)})],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)}),h=[],_=l("8793"),g={props:["list","groupType"],components:{videoTcplayer:_["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,console.log(this.listMusic,this.listVideo,this.listTxt,"text")},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}}},w=g,S=(l("7b0e"),l("2877")),E=Object(S["a"])(w,m,h,!1,null,"3837d6ae",null),I=E.exports,y={props:["courseScheduleId","type"],components:{homeworkDetail:I},data:function(){return{classVisible:!1,subjectId:[],list:[],subjectList:[],userName:null,selectItem:[]}},mounted:function(){this.courseScheduleId&&(this.getStudentList(this.courseScheduleId),this.getPublicSubject())},methods:{onDetail:function(e){this.userName=e.username,this.selectItem=e.detailDtos||[],this.classVisible=!0},getStudentList:function(){var e=Object(r["a"])(Object(i["a"])().mark((function e(){var t,l;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(b["f"])({lessonExaminationId:this.courseScheduleId,subjectId:this.subjectId});case 3:t=e.sent,l=t.data||[],l.forEach((function(e){var t=e.detailDtos||[];t.length>0?e.memo=t[0].memo||"":e.memo=""})),this.list=t.data,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}(),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(b["b"])({lessonExaminationId:this.courseScheduleId});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()}}},T=y,C=(l("94ac"),Object(S["a"])(T,p,f,!1,null,"48066fdf",null)),O=C.exports,N=l("160b"),k=["courseTimer"],L={components:{pagination:o["a"],studentWork:d["a"],examinationDetail:O},data:function(){return{courseListType:c["t"],searchForm:{search:null,organId:null,musicGroupId:"",groupType:"MUSIC",courseTimer:[]},teacherList:[],tableList:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},teamList:[],activeRow:null,classVisible:!1}},created:function(){},mounted:function(){this.$store.dispatch("setBranchs"),this.init()},activated:function(){this.init()},methods:{init:function(){this.searchForm.organId&&this.onBranchChange(this.searchForm.organId),this.getList()},getList:function(){var e=this,t=this.searchForm,l=t.courseTimer,a=Object(s["a"])(t,k),n=Object(u["a"])(Object(u["a"])({},a),{},{page:this.rules.page,rows:this.rules.limit},Object(v["d"])(l,["classStartDate","classEndDate"]));Object(b["e"])(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:"",musicGroupId:""},this.search()},lookDetail:function(e){this.activeRow=e,this.classVisible=!0},changeMusicGroup:function(){this.$forceUpdate()},onBranchChange:function(){var e=Object(r["a"])(Object(i["a"])().mark((function e(t){var l,a=this;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.searchForm.musicGroupId="",!t){e.next=11;break}return l=t,e.prev=3,e.next=6,Object(N["b"])({organId:l,page:1,rows:9999}).then((function(e){200==e.code&&a.$set(a,"teamList",e.data.rows)}));case 6:e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](3),console.log(e.t0);case 11:case"end":return e.stop()}}),e,this,[[3,8]])})));function t(t){return e.apply(this,arguments)}return t}()}},x=L,R=(l("4461"),Object(S["a"])(x,a,n,!1,null,"030a9489",null));t["default"]=R.exports},"22bb":function(e,t,l){"use strict";var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",[e.title||e.content?l("div",{staticClass:"workTitle"},[e._v("\n "+e._s(e.title)+":"),l("span",[e._v(e._s(e.content))])]):l("div",{staticClass:"workTitle"},[e._v("暂未布置练习")]),e._v(" "),l("el-form",{staticClass:"workForm",staticStyle:{padding:"0 25px"},attrs:{inline:!0}},[l("el-form-item",{attrs:{label:"应交学生数"}},[l("div",{staticClass:"inputStyle"},[e._v(e._s(e.homeworkStudentNum))])]),e._v(" "),l("el-form-item",{attrs:{label:"已交学生数"}},[l("div",{staticClass:"inputStyle"},[e._v(e._s(e.homeworkNum))])]),e._v(" "),l("el-form-item",{attrs:{label:"已回复数"}},[l("div",{staticClass:"inputStyle"},[e._v(e._s(e.repliedNum))])])],1),e._v(" "),l("div",{staticClass:"tableWrap"},[l("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[l("el-table-column",{attrs:{align:"center",prop:"studentName",width:"160",label:"学生姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v("\n "+e._s(t.row.studentName)+"\n "),l("span",{staticStyle:{color:"#f56c6c"}},[e._v("("+e._s(t.row.studentId)+")")])])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号",width:"120"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"subjectNames",label:"声部名称"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"submitTime",width:"150",label:"提交练习时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(e._f("dateForMinFormat")(t.row.submitTime)))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"isView",label:"是否提交"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(t.row.submitTime?"是":"否"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"isView",label:"是否查看"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(t.row.isView?"是":"否"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",prop:"isReplied",label:"是否回复"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v(e._s(t.row.isReplied?"是":"否"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"查看练习",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[t.row.urlList&&t.row.submitTime?l("el-button",{attrs:{type:"text"},on:{click:function(l){return e.lookWork(t.row)}}},[e._v("查看练习")]):e._e()],1)]}}])})],1),e._v(" "),l("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?l("el-dialog",{attrs:{title:"查看练习",width:"940px","append-to-body":"",visible:e.workVisible},on:{close:e.closeWorkVisible,"update:visible":function(t){e.workVisible=t}}},[l("div",{staticClass:"sliderWrap"},[l("div",{staticClass:"swiperWrap"},[l("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,a){return l("swiper-slide",{key:a,staticClass:"swiper-no-swiping"},[e.activeIndex==a?l("div",{staticClass:"videoWrap"},[l("video",{ref:"dialogVideo",refInFor:!0,staticStyle:{width:"480px"},attrs:{src:t,controls:"controls"}},[e._v("\n 您的浏览器不支持视频播放\n ")])]):e._e()])})),e._v(" "),l("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"}),e._v(" "),e.activeRow.urlList.length>1?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")),u=l("1cc7"),s=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),f=p.exports,m={props:["courseScheduleId"],components:{pagination:r["a"],Swiper:i["Swiper"],SwiperSlide:i["SwiperSlide"],messageBox:f},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(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=m,_=(l("9ea7"),Object(v["a"])(h,a,n,!1,null,"1a556abc",null));t["a"]=_.exports},"3f88":function(e,t,l){},4461:function(e,t,l){"use strict";l("a79d")},"797d":function(e,t,l){"use strict";l("b346")},"7b0e":function(e,t,l){"use strict";l("c112")},"92e3":function(e,t,l){"use strict";l.d(t,"v",(function(){return s})),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 f})),l.d(t,"M",(function(){return m})),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 w})),l.d(t,"cb",(function(){return S})),l.d(t,"Q",(function(){return E})),l.d(t,"fb",(function(){return I})),l.d(t,"gb",(function(){return y})),l.d(t,"P",(function(){return T})),l.d(t,"U",(function(){return C})),l.d(t,"C",(function(){return O})),l.d(t,"l",(function(){return N})),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 A})),l.d(t,"N",(function(){return j})),l.d(t,"f",(function(){return M})),l.d(t,"e",(function(){return V})),l.d(t,"L",(function(){return G})),l.d(t,"K",(function(){return D})),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 $})),l.d(t,"n",(function(){return B})),l.d(t,"q",(function(){return W})),l.d(t,"g",(function(){return q})),l.d(t,"G",(function(){return Y})),l.d(t,"r",(function(){return J})),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 ue})),l.d(t,"X",(function(){return se})),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 u=r.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:"请假"}],f=[].concat(p,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),m=[{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:"已结束"}],w=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],S=[{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:"加油包"}],I=[{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:"易宝"}],C=[{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:"其它"}],N=[{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"]),A=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],j=be(i["payOrderType"]),M=be(i["auditType"]),V=be(i["auditPaymentType"]),G=be(i["orderServerType"]),D=be(i["orderAuditType"]),F=be(i["rewardModeType"]),P=be(i["musicClassType"]),U=be(i["ProbationPeriodStatus"]),H=be(i["downListType"]),$=be(i["conclusion"]),B=be(i["clientType"]),W=be(i["couponType"]),q=be(i["backType"]),Y=be(i["memberEnum"]),J=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"]),ue=be(i["schoolUserType"]),se=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],u={};if(e&&e.length){var s,o=Object(a["a"])(e);try{for(o.s();!(s=o.n()).done;){var c=s.value;u[c[i]]=c[r]}}catch(d){o.e(d)}finally{o.f()}}return u}},"94ac":function(e,t,l){"use strict";l("da81")},"9ea7":function(e,t,l){"use strict";l("3f88")},a79d:function(e,t,l){},b346:function(e,t,l){},c112:function(e,t,l){},d814:function(e,t,l){"use strict";l.d(t,"a",(function(){return i})),l.d(t,"c",(function(){return r})),l.d(t,"d",(function(){return u})),l.d(t,"b",(function(){return s})),l.d(t,"e",(function(){return o})),l.d(t,"f",(function(){return c}));var a=l("829b"),n=(l("4328"),"/api-web");function i(e){return Object(a["a"])({url:n+"/extracurricularExercises/findStudentExtraExerciseDetail/v2",method:"get",params:e})}function r(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"})}function s(e){return Object(a["a"])({url:n+"/lessonExamination/querySubject",method:"get",params:e})}function o(e){return Object(a["a"])({url:n+"/lessonExamination/queryPage",method:"post",data:e,requestType:"json"})}function c(e){return Object(a["a"])({url:n+"/lessonExamination/queryStudentPage",method:"post",data:e,requestType:"form"})}},da81:function(e,t,l){},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 u})),l.d(t,"b",(function(){return s}));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 u(e){return Object(a["a"])({url:n+"/exercisesSituation/findServiceStudentDetail",method:"GET",params:e})}function s(e){return Object(a["a"])({url:n+"/exercisesSituation/findStudentHomeworkComments",method:"GET",params:e})}}}]);
|