1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a48cee6"],{"09f4":function(e,t,l){"use strict";l.d(t,"a",(function(){return i})),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 r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,l){var i=r(),u=e-i,o=20,s=0;t="undefined"===typeof t?500:t;var c=function e(){s+=o;var r=Math.easeInOutQuad(s,i,u,t);n(r),s<t?a(e):l&&"function"===typeof l&&l()};c()}},"1cfc":function(e,t,l){},"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=[],r=(l("28a5"),l("ac6a"),l("7212")),i=(l("bbe3"),l("333d")),u=l("1cc7"),o=l("dc1e"),s=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=[],v={name:"message-box",props:["item"],mounted:function(){}},d=v,b=(l("797d"),l("2877")),p=Object(b["a"])(d,s,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(o["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("6038"),Object(b["a"])(h,a,n,!1,null,"4287e3fd",null));t["a"]=_.exports},"5bb7":function(e,t,l){},6038:function(e,t,l){"use strict";l("1cfc")},"797d":function(e,t,l){"use strict";l("b346")},"92e3":function(e,t,l){"use strict";l.d(t,"u",(function(){return o})),l.d(t,"F",(function(){return s})),l.d(t,"s",(function(){return c})),l.d(t,"c",(function(){return v})),l.d(t,"C",(function(){return d})),l.d(t,"S",(function(){return b})),l.d(t,"R",(function(){return p})),l.d(t,"d",(function(){return m})),l.d(t,"J",(function(){return f})),l.d(t,"w",(function(){return h})),l.d(t,"U",(function(){return _})),l.d(t,"t",(function(){return E})),l.d(t,"o",(function(){return g})),l.d(t,"T",(function(){return w})),l.d(t,"M",(function(){return S})),l.d(t,"W",(function(){return T})),l.d(t,"X",(function(){return I})),l.d(t,"L",(function(){return C})),l.d(t,"P",(function(){return N})),l.d(t,"A",(function(){return y})),l.d(t,"l",(function(){return O})),l.d(t,"Q",(function(){return R})),l.d(t,"V",(function(){return L})),l.d(t,"G",(function(){return k})),l.d(t,"m",(function(){return A})),l.d(t,"v",(function(){return M})),l.d(t,"K",(function(){return x})),l.d(t,"f",(function(){return G})),l.d(t,"e",(function(){return F})),l.d(t,"I",(function(){return V})),l.d(t,"H",(function(){return U})),l.d(t,"O",(function(){return P})),l.d(t,"E",(function(){return H})),l.d(t,"a",(function(){return D})),l.d(t,"x",(function(){return $})),l.d(t,"p",(function(){return j})),l.d(t,"n",(function(){return W})),l.d(t,"q",(function(){return B})),l.d(t,"g",(function(){return Y})),l.d(t,"D",(function(){return X})),l.d(t,"r",(function(){return q})),l.d(t,"B",(function(){return K})),l.d(t,"z",(function(){return z})),l.d(t,"y",(function(){return J})),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,"N",(function(){return le})),l.d(t,"b",(function(){return ne}));var a=l("2d63"),n=l("768b"),r=l("267e"),i=sessionStorage.getItem("tenantConfig");i=i?JSON.parse(i):{};var u=i.tenantId,o=null,s=null;1==u?(s=[{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"}],o=[{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"}]):(s=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],o=[{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"}]);var c=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"}],v=[{label:"正常签到",value:1},{label:"异常签到",value:0}],d=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],b=[{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:"直播购物"}],h=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],_=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"5",text:"报名结束"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"},{value:"6",text:"暂停"}],E=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],g=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],w=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],S=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],T=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],I=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"VIP课回访",label:"VIP课回访"},{value:"乐理课回访",label:"乐理课回访"},{value:"网管课回访",label:"网管课回访"}]},{value:"云教练",label:"云教练",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],C=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"}],N=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],y=[{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:"高三"}],R=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],L=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],k=ae(r["musicGroupType"]),A=ae(r["classTime"]),M=ae(r["courseViewType"]),x=ae(r["payOrderType"]),G=ae(r["auditType"]),F=ae(r["auditPaymentType"]),V=ae(r["orderServerType"]),U=ae(r["orderAuditType"]),P=ae(r["rewardModeType"]),H=ae(r["musicClassType"]),D=ae(r["ProbationPeriodStatus"]),$=ae(r["downListType"]),j=ae(r["conclusion"]),W=ae(r["clientType"]),B=ae(r["couponType"]),Y=ae(r["backType"]),X=ae(r["memberEnum"]),q=ae(r["coupontypeDetail"]),K=ae(r["issue"]),z=ae(r["feedbackType"]),J=ae(r["feedbackTypeDesc"]),Q=ae(r["campState"]),Z=ae(r["catgGoupType"]),ee=ae(r["catRole"]),te=ae(r["catType"]),le=ae(r["quiteReason"]);function ae(e){var t=[];for(var l in e)t.push({label:e[l],value:l});return t}var ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],l=Object(n["a"])(t,2),r=l[0],i=l[1],u={};if(e&&e.length){var o,s=Object(a["a"])(e);try{for(s.s();!(o=s.n()).done;){var c=o.value;u[c[r]]=c[i]}}catch(v){s.e(v)}finally{s.f()}}return u}},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-select",{staticClass:"organSelect",attrs:{filterable:"",placeholder:"请选择课程类型"},model:{value:e.searchForm.groupType,callback:function(t){e.$set(e.searchForm,"groupType","string"===typeof t?t.trim():t)},expression:"searchForm.groupType"}},e._l(e.courseListType,(function(e,t){return l("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),l("el-form-item",[l("el-select",{staticClass:"organSelect",attrs:{clearable:"",filterable:"",placeholder:"是否云教练布置"},model:{value:e.searchForm.cloudHomeworkFlag,callback:function(t){e.$set(e.searchForm,"cloudHomeworkFlag","string"===typeof t?t.trim():t)},expression:"searchForm.cloudHomeworkFlag"}},[l("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),l("el-option",{attrs:{label:"否",value:!1}})],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:"actualTeacherName",label:"是否云教练布置"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("div",[e._v("\n "+e._s(t.row.musicScoreId?"是":"否")+"\n ")])]}}])}),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:"repliedNum",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}}},[e.activeRow?l("studentWork",{attrs:{courseScheduleId:e.activeRow.courseScheduleId}}):e._e()],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 ")])}],r=(l("386d"),l("db72")),i=l("a8db"),u=l("333d"),o=l("92e3"),s=l("22bb"),c=l("b775"),v=(l("4328"),"/api-web");function d(e){return Object(c["a"])({url:v+"/webCurseHomework/queryHomePage",method:"get",params:e})}var b=l("ed08"),p=["courseTimer"],m={components:{pagination:u["a"],studentWork:s["a"]},data:function(){return{courseListType:o["s"],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(i["a"])(t,p),n=Object(r["a"])(Object(r["a"])({},a),{},{page:this.rules.page,rows:this.rules.limit},Object(b["a"])(l,["classStartDate","classEndDate"]));d(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}}},f=m,h=(l("f659"),l("2877")),_=Object(h["a"])(f,a,n,!1,null,"45e77054",null);t["default"]=_.exports},b346:function(e,t,l){},dc1e:function(e,t,l){"use strict";l.d(t,"c",(function(){return r})),l.d(t,"d",(function(){return i})),l.d(t,"a",(function(){return u})),l.d(t,"b",(function(){return o}));var a=l("b775"),n=(l("4328"),"/api-web");function r(e){return Object(a["a"])({url:n+"/studentManage/getOperatingStudents",method:"GET",params:e})}function i(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 o(e){return Object(a["a"])({url:n+"/exercisesSituation/findStudentHomeworkComments",method:"GET",params:e})}},ed08:function(e,t,l){"use strict";l.d(t,"b",(function(){return i})),l.d(t,"a",(function(){return u}));var a=l("bd86"),n=(l("c5f6"),l("28a5"),l("a481"),l("6b54"),l("7618"),l("5a0c")),r=l.n(n);var i=function(e){var t=[];for(var l in e)if(e.hasOwnProperty(l)){var a=e[l],n=l.toLocaleUpperCase();t.push({label:a,value:"TRUE"===n||"FALSE"===n?"TRUE"===n:l})}return t},u=function(e){var t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?(t={},Object(a["a"])(t,l[0]||"start",r()(e[0]).isValid()?r()(e[0]).format(n):""),Object(a["a"])(t,l[1]||"end",r()(e[1]).isValid()?r()(e[1]).format(n):""),t):{}}},f659:function(e,t,l){"use strict";l("5bb7")}}]);
|