chunk-4b568c8a.dcdd9cd4.js 22 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b568c8a"],{"09f4":function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,r,s){return e/=s/2,e<1?r/2*e*e+t:(e--,-r/2*(e*(e-2)-1)+t)};var s=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,r){var i=o(),l=e-i,n=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=n;var o=Math.easeInOutQuad(c,i,l,t);a(o),c<t?s(e):r&&"function"===typeof r&&r()};u()}},"3e15":function(e,t,r){"use strict";r.d(t,"d",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return n}));var s=r("b775"),a=(r("4328"),"/api-web");function o(e){return Object(s["a"])({url:a+"/extracurricularExercises/queryPageList/v2",method:"get",params:e})}function i(e){return Object(s["a"])({url:a+"/extracurricularExercisesReply/queryPageList",method:"get",params:e})}function l(e){return Object(s["a"])({url:a+"/extracurricularExercises/findStudentExtraExerciseDetail",method:"get",params:e})}function n(e){return Object(s["a"])({url:a+"/exercisesSituation/findStudentExtracurricularExercisesSituations",method:"get",params:e})}},"478e":function(e,t,r){},"789e":function(e,t,r){"use strict";r("478e")},b41a:function(e,t,r){e.exports=r.p+"static/img/serverIndexDetail.561b689a.png"},f5ed:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"m-container"},[r("h2",[e._m(0),e._v(" "),r("el-button",{staticStyle:{color:"red"},attrs:{type:"text",icon:"el-icon-question"},on:{click:e.lookServerDetail}},[e._v("服务指标规则")])],1),e._v(" "),r("div",{staticClass:"m-core"},[r("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[r("el-form-item",[r("remote-search",{attrs:{commit:"setTeachers",isForzenWithQueryCondition:!0},model:{value:e.searchForm.teacherId,callback:function(t){e.$set(e.searchForm,"teacherId",t)},expression:"searchForm.teacherId"}})],1),e._v(" "),r("el-form-item",[r("el-input",{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.searchForm.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(" "),r("el-form-item",{attrs:{label:"周次选择"}},[r("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"周次开始日期","end-placeholder":"周次结束日期"},on:{change:e.getWeekTime},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),r("el-form-item",[r("el-button",{attrs:{type:e.isSearch?"primary":"info",icon:"el-icon-circle-plus-outline"},on:{click:function(t){e.showMove=!0}}},[e._v("更多选项")]),e._v(" "),r("el-button",{attrs:{type:"danger","native-type":"submit"}},[e._v("搜索")]),e._v(" "),r("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")]),e._v(" "),r("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"export/exercisesSituations",expression:"'export/exercisesSituations'"}],attrs:{type:"primary"},on:{click:e.onExport}},[e._v("导出")])],1)],1),e._v(" "),r("div",{staticClass:"tableWrap"},[r("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[r("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学员编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.studentId))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"studentName",label:"学生姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.studentName))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"organName",label:"所属分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.organName))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"groupNames",label:"乐团名称"},scopedSlots:e._u([{key:"default",fn:function(e){return[r("overflow-text",{attrs:{width:"100%",text:e.row.groupNames}})]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"服务老师"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[r("copy-text",[e._v(e._s(t.row.teacherName))])],1)]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"educationalTeacherName",label:"乐团主管"}}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"courseIds",width:"100",label:"服务课程"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("copy-text",[e._v(e._s(t.row.courseIds||"课外练习"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"预期练习布置"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.expectExercisesNum+"次"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",width:"120",prop:""},scopedSlots:e._u([{key:"header",fn:function(t){return[r("p",{staticStyle:{position:"relative"}},[e._v("\n 实际练习布置\n "),r("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[r("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 以周为单位,每周服务指标指定的课程布置练习记一次实际练习布置\n ")]),e._v(" "),r("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)]}},{key:"default",fn:function(t){return[r("div",{style:t.row.actualExercisesNum<t.row.expectExercisesNum?"color:red":""},[e._v("\n "+e._s(t.row.actualExercisesNum+"次")+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"",label:"提交次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.exercisesReplyNum+"次"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"",label:"评价次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{style:t.row.exercisesMessageNum<t.row.exercisesReplyNum?"color:red":""},[e._v("\n "+e._s(t.row.exercisesMessageNum+"次")+"\n ")])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",prop:"",label:"及时评价次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.exercisesMessageTimelyNum+"次"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"VIP课"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.existVipCourse+"节"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"付费网管课"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.existPracticeCourse+"节"))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"练习提交时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.lastSubmitTime))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",width:"120",label:"服务周期"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(e.dayjs(t.row.monday).format("YYYY-MM-DD")))]),e._v(" "),r("div",[e._v(e._s(e.dayjs(t.row.sunday).format("YYYY-MM-DD")))])]}}])}),e._v(" "),r("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.actualExercisesNum>0?r("div",[r("el-button",{attrs:{type:"text"},on:{click:function(r){return e.lookDetail(t.row)}}},[e._v("查看")])],1):e._e()]}}])})],1),e._v(" "),r("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}})],1)],1),e._v(" "),r("el-dialog",{attrs:{title:"服务指标规则说明",visible:e.lookServer},on:{"update:visible":function(t){e.lookServer=t}}},[r("div",{staticClass:"serverInfo"},[r("p",{staticStyle:{"font-weight":"600"}},[e._v("系统规则:")]),e._v(" "),r("p",[e._v("\n 1、每"),r("span",[e._v("周一凌晨")]),e._v("系统根据下方流程图,为每个乐团"),r("span",[e._v("独立生成")]),e._v("本周练习布置路径\n ")]),e._v(" "),r("p",[e._v("\n 2、系统"),r("span",[e._v("每10分钟")]),e._v("根据乐团最新的课程、班级信息"),r("span",[e._v("更新")]),e._v("本周练习布置路径\n ")]),e._v(" "),r("p",{staticStyle:{"margin-top":"20px","font-weight":"600"}},[e._v("前提条件:")]),e._v(" "),r("p",[e._v("1、学员管理中,【是否服务】为 【是】")]),e._v(" "),r("p",[e._v("2、学员在【进行中】乐团在读")]),e._v(" "),r("p",[e._v("3、乐团截止本周日前,有声部课(含集训)或合奏课(含集训)")]),e._v(" "),r("p",{staticStyle:{"margin-top":"20px","font-weight":"600"}},[e._v("特殊情况:")]),e._v(" "),r("p",[e._v("1、学员在多个乐团时,可能存在多次练习")]),e._v(" "),r("p",[e._v("2、老师"),r("span",[e._v("已布置练习后")]),e._v(",由于班级、学员、课程变动"),r("span",[e._v("更新")]),e._v("练习布置路径时,可能存在多次练习,但"),r("span",[e._v("服务指标相关数据统计仅按最新的练习布置路径统计")])]),e._v(" "),r("p",[e._v("3、学员不在【课外练习布置班级】所设置的班级类型中时,不会生成课外练习")]),e._v(" "),r("div",{staticClass:"imgWrap"},[r("el-image",{staticClass:"img",attrs:{src:e.serverImg,fit:"cover"}})],1)])]),e._v(" "),e.showMove?r("el-dialog",{attrs:{title:"更多选项",visible:e.showMove,width:"700px"},on:{"update:visible":function(t){e.showMove=t}}},[r("el-form",{ref:"searchForm2",staticClass:"searchForm",attrs:{inline:!0,model:e.searchForm,"label-width":"120px"},on:{submit:e.search,reset:e.onReSet,"update:model":function(t){e.searchForm=t}}},[r("el-form-item",{attrs:{prop:"organId",label:"分部"}},[r("el-select",{staticClass:"multiple",attrs:{filterable:"",clearable:"",placeholder:"请选择分部"},model:{value:e.searchForm.organIdList,callback:function(t){e.$set(e.searchForm,"organIdList","string"===typeof t?t.trim():t)},expression:"searchForm.organIdList"}},e._l(e.selects.branchs,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),r("el-form-item",{attrs:{label:"实际练习布置"}},[r("el-select",{attrs:{placeholder:"实际练习布置",clearable:""},model:{value:e.searchForm.actualExercisesNumIsAchieve,callback:function(t){e.$set(e.searchForm,"actualExercisesNumIsAchieve",t)},expression:"searchForm.actualExercisesNumIsAchieve"}},[r("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"服务是否异常"}},[r("el-select",{attrs:{placeholder:"服务是否异常",clearable:""},model:{value:e.searchForm.serviceIsError,callback:function(t){e.$set(e.searchForm,"serviceIsError",t)},expression:"searchForm.serviceIsError"}},[r("el-option",{attrs:{label:"是",value:"1"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"提交次数"}},[r("el-select",{attrs:{placeholder:"提交次数",clearable:""},model:{value:e.searchForm.exercisesReplyNumIsAchieve,callback:function(t){e.$set(e.searchForm,"exercisesReplyNumIsAchieve",t)},expression:"searchForm.exercisesReplyNumIsAchieve"}},[r("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"评价次数"}},[r("el-select",{attrs:{placeholder:"评价次数",clearable:""},model:{value:e.searchForm.exercisesMessageNumIsAchieve,callback:function(t){e.$set(e.searchForm,"exercisesMessageNumIsAchieve",t)},expression:"searchForm.exercisesMessageNumIsAchieve"}},[r("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"及时评价"}},[r("el-select",{attrs:{placeholder:"及时评价",clearable:""},model:{value:e.searchForm.exercisesMessageTimelyNumIsAchieve,callback:function(t){e.$set(e.searchForm,"exercisesMessageTimelyNumIsAchieve",t)},expression:"searchForm.exercisesMessageTimelyNumIsAchieve"}},[r("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"是否有VIP课"}},[r("el-select",{attrs:{placeholder:"是否有VIP课",clearable:""},model:{value:e.searchForm.existVipCourse,callback:function(t){e.$set(e.searchForm,"existVipCourse",t)},expression:"searchForm.existVipCourse"}},[r("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"有付费网管课"}},[r("el-select",{attrs:{placeholder:"是否有付费网管课",clearable:""},model:{value:e.searchForm.existPracticeCourse,callback:function(t){e.$set(e.searchForm,"existPracticeCourse",t)},expression:"searchForm.existPracticeCourse"}},[r("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"练习提交时间"}},[r("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"提交开始日期","end-placeholder":"提交结束日期"},model:{value:e.searchForm.workTimer,callback:function(t){e.$set(e.searchForm,"workTimer","string"===typeof t?t.trim():t)},expression:"searchForm.workTimer"}})],1)],1),e._v(" "),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancleMore}},[e._v("取 消")]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.okMore}},[e._v("确 定")])],1)],1):e._e()],1)},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"titleWrap"},[r("div",{staticClass:"squrt"}),e._v("\n 服务指标\n ")])}],o=(r("a481"),r("386d"),r("bc3a")),i=r.n(o),l=r("5f87"),n=r("333d"),c=r("3908"),u=r("5a0c"),m=r.n(u),h=(r("1cc7"),[{row1:"学员有声部课、VIP课、合奏课、网管课",row2:"本周有声部课",row3:"声部课老师课后布置练习",row4:"声部课老师统计服务指标"},{row1:"学员有声部课、VIP课、合奏课、网管课",row2:"本周无声部课",row3:"声部课老师在课外练习布置练习",row4:"声部课老师统计服务指标"},{row1:"学员有VIP课、合奏课、网管课",row2:"本周有VIP课",row3:"VIP课老师课后布置练习",row4:"VIP课老师统计服务指标"},{row1:"学员有VIP课、合奏课、网管课",row2:"本周无VIP课",row3:"VIP课老师布置课外练习",row4:"VIP课老师统计服务指标"},{row1:"学员有合奏课、网管课",row2:"无论本周是否有合奏课",row3:"该乐团声部班老师布置课外练习",row4:"声部班老师统计服务指标"},{row1:"学员有合奏课、网管课",row2:"无论本周是否有合奏课",row3:"该乐团没有声部班则指导老师布置课外练习",row4:"指导老师统计服务指标"},{row1:"学员有网管课",row2:"本周有网管课",row3:"网管课老师课后布置练习",row4:"网管课老师统计服务指标"},{row1:"学员有网管课",row2:"本周无网管课",row3:"网管课老师布置课外练习",row4:"网管课老师统计服务指标"},{row1:"学员没有任何课程但在进行中乐团在读",row2:"无课程",row3:"该乐团声部班老师布置课外练习",row4:"声部班老师统计服务指标"},{row1:"学员没有任何课程但在进行中乐团在读",row2:"无课程",row3:"该乐团没有声部班则指导老师布置课外练习",row4:"指导老师统计服务指标"}]),p=r("3e15"),d=new Date;d=d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate();var v={components:{pagination:n["a"]},data:function(){return{serverImg:r("b41a"),tableList:[],searchForm:{timer:[],search:null,organIdList:null,actualExercisesNumIsAchieve:null,exercisesMessageNumIsAchieve:null,exercisesMessageTimelyNumIsAchieve:null,exercisesReplyNumIsAchieve:null,teacherId:null,existVipCourse:null,existPracticeCourse:null,workTimer:[],serviceIsError:null},organList:[],teacherList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},lookServer:!1,infoList:h,showMove:!1}},created:function(){this.searchForm.timer=[],this.searchForm.timer.push(this.getNowDateAndMonday(d)),this.searchForm.timer.push(this.getNowDateAndSunday(d))},mounted:function(){this.$store.dispatch("setBranchs"),this.init()},activated:function(){this.init()},methods:{dayjs:m.a,init:function(){this.$route.query.teacherId&&(this.searchForm.teacherId=1*this.$route.query.teacherId),this.$route.query.search&&(this.$route.query.search instanceof Object?this.topForm=this.$route.query.search:this.topForm=JSON.parse(this.$route.query.search)),this.$route.query.rules&&(this.$route.query.rules instanceof Object?this.rules=this.$route.query.rules:this.rules=JSON.parse(this.$route.query.rules)),this.getList()},getDate:function(){var e={search:this.searchForm.search||null,actualExercisesNumIsAchieve:this.searchForm.actualExercisesNumIsAchieve||null,exercisesMessageNumIsAchieve:this.searchForm.exercisesMessageNumIsAchieve||null,exercisesMessageTimelyNumIsAchieve:this.searchForm.exercisesMessageTimelyNumIsAchieve||null,exercisesReplyNumIsAchieve:this.searchForm.exercisesReplyNumIsAchieve||null,organIdList:this.searchForm.organIdList||null,teacherId:this.searchForm.teacherId,page:this.rules.page,rows:this.rules.limit,existVipCourse:this.searchForm.existVipCourse||null,existPracticeCourse:this.searchForm.existPracticeCourse||null,serviceIsError:this.searchForm.serviceIsError||null};return this.searchForm.timer&&this.searchForm.timer.length>0?(e.monday=this.searchForm.timer[0],e.sunday=this.searchForm.timer[1],this.searchForm.workTimer&&this.searchForm.workTimer.length>0&&(e.submitStartDate=this.searchForm.workTimer[0],e.submitEndDate=this.searchForm.workTimer[1]),e):(this.$message.error("请选择周次"),!1)},getList:function(){var e=this,t=this.getDate();t&&Object(p["c"])(t).then((function(t){200==t.code&&(e.tableList=t.data.rows,e.rules.total=t.data.total)}))},onReSet:function(){this.searchForm={timer:[],search:null,actualExercisesNumIsAchieve:null,exercisesMessageNumIsAchieve:null,exercisesMessageTimelyNumIsAchieve:null,exercisesReplyNumIsAchieve:null,teacherId:null,existVipCourse:null},this.searchForm.timer=[],this.searchForm.timer.push(this.getNowDateAndMonday(d)),this.searchForm.timer.push(this.getNowDateAndSunday(d)),this.search()},cancleMore:function(){this.showMove=!1},okMore:function(){this.getList(),this.showMove=!1},onExport:function(){var e=this,t="/api-web/export/exercisesSituations",r=this.getDate(),s={method:"get",headers:{Authorization:Object(l["b"])(),tenantId:Object(l["a"])()},url:t,params:r,responseType:"blob"};this.$confirm("您确定导出列表?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){c["a"].startLoading(),i()(s).then((function(t){var r=new Blob([t.data],{type:"application/vnd.ms-excel;charset=utf-8"}),s=new Response(r).text();s.then((function(t){if(-1!=t.indexOf("code")){var s=JSON.parse(t);if(403==s.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);e.$message.error(s.msg)}else{var a=URL.createObjectURL(r),o=document.createElement("a"),i=new Date,l=i.getFullYear()+""+(i.getMonth()+1)+i.getDate()+i.getHours()+i.getMinutes(),n=l+"服务指标.xls";o.href=a,o.setAttribute("download",n),document.body.appendChild(o),o.click()}})),c["a"].endLoading()})).catch((function(t){e.$message.error("导出数据失败,请联系管理员"),c["a"].endLoading()}))})).catch((function(){}))},search:function(){this.rules.page=1,this.$refs.searchForm.save(this.searchForm),this.getList()},getNowDateAndMonday:function(e){var t=new Date(e.replace(/-/g,"/")).getTime(),r=new Date(e);0==r.getDay()&&(t-=6048e5);var s=t-24*(r.getDay()-1)*60*60*1e3,a=new Date(s),o=a.getFullYear(),i=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,l=a.getDate()<10?"0"+a.getDate():a.getDate(),n=o+"-"+i+"-"+l;return n},getNowDateAndSunday:function(e){var t=new Date(e.replace(/-/g,"/")).getTime(),r=new Date(e),s=7-r.getDay();7==s&&(s=0);var a=t+24*s*60*60*1e3,o=new Date(a),i=o.getFullYear(),l=o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1,n=o.getDate()<10?"0"+o.getDate():o.getDate(),c=i+"-"+l+"-"+n;return c},getWeekTime:function(e){if(e&&e.length>0){var t=this.getNowDateAndMonday(e[0]),r=this.getNowDateAndSunday(e[1]);this.searchForm.timer.splice(0,1,t),this.searchForm.timer.splice(1,1,r)}},lookDetail:function(e){var t=JSON.stringify(this.rules),r=JSON.stringify(this.searchForm);this.$router.push({path:"/operateManager/serverIndexDetail",query:{studentId:e.studentId,studentName:e.studentName,rules:t,searchForm:r,title:e.studentName,extracurricularExercisesId:"yes",startTime:this.searchForm.timer[0],endTime:this.searchForm.timer[1]}})},lookServerDetail:function(){this.lookServer=!0},arraySpanMethod:function(e){e.row,e.column;var t=e.rowIndex,r=e.columnIndex;if(0===r)return t%2===0?{rowspan:2,colspan:1}:{rowspan:0,colspan:0}}},computed:{isSearch:function(){var e;return this.searchForm.organIdList||this.searchForm.actualExercisesNumIsAchieve||this.searchForm.exercisesReplyNumIsAchieve||this.searchForm.exercisesMessageNumIsAchieve||this.searchForm.exercisesMessageTimelyNumIsAchieve||this.searchForm.existVipCourse||this.searchForm.existPracticeCourse||(null===(e=this.searchForm.workTimer)||void 0===e?void 0:e.length)>0||this.searchForm.serviceIsError}}},f=v,g=(r("789e"),r("2877")),_=Object(g["a"])(f,s,a,!1,null,"58e256dc",null);t["default"]=_.exports}}]);