chunk-83a106ac.0bfb4528.js 36 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-83a106ac"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),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 r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,a){var o=n(),u=e-o,s=20,i=0;t="undefined"===typeof t?500:t;var c=function e(){i+=s;var n=Math.easeInOutQuad(i,o,u,t);r(n),i<t?l(e):a&&"function"===typeof a&&a()};c()}},"92e3":function(e,t,a){"use strict";a.d(t,"v",(function(){return s})),a.d(t,"I",(function(){return i})),a.d(t,"t",(function(){return c})),a.d(t,"c",(function(){return v})),a.d(t,"E",(function(){return d})),a.d(t,"bb",(function(){return b})),a.d(t,"Z",(function(){return m})),a.d(t,"d",(function(){return p})),a.d(t,"M",(function(){return f})),a.d(t,"x",(function(){return h})),a.d(t,"db",(function(){return g})),a.d(t,"u",(function(){return _})),a.d(t,"o",(function(){return E})),a.d(t,"cb",(function(){return y})),a.d(t,"Q",(function(){return I})),a.d(t,"fb",(function(){return N})),a.d(t,"gb",(function(){return T})),a.d(t,"P",(function(){return S})),a.d(t,"U",(function(){return O})),a.d(t,"C",(function(){return x})),a.d(t,"l",(function(){return w})),a.d(t,"Y",(function(){return D})),a.d(t,"eb",(function(){return L})),a.d(t,"J",(function(){return R})),a.d(t,"m",(function(){return A})),a.d(t,"w",(function(){return k})),a.d(t,"N",(function(){return M})),a.d(t,"f",(function(){return C})),a.d(t,"e",(function(){return j})),a.d(t,"L",(function(){return F})),a.d(t,"K",(function(){return $})),a.d(t,"T",(function(){return H})),a.d(t,"H",(function(){return Y})),a.d(t,"a",(function(){return G})),a.d(t,"y",(function(){return P})),a.d(t,"p",(function(){return U})),a.d(t,"n",(function(){return V})),a.d(t,"q",(function(){return B})),a.d(t,"g",(function(){return q})),a.d(t,"G",(function(){return z})),a.d(t,"r",(function(){return W})),a.d(t,"D",(function(){return X})),a.d(t,"B",(function(){return K})),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 re})),a.d(t,"z",(function(){return ne})),a.d(t,"R",(function(){return oe})),a.d(t,"V",(function(){return ue})),a.d(t,"X",(function(){return se})),a.d(t,"s",(function(){return ie})),a.d(t,"ab",(function(){return ce})),a.d(t,"W",(function(){return ve})),a.d(t,"b",(function(){return be}));var l=a("b85c"),r=a("3835"),n=a("267e"),o=sessionStorage.getItem("tenantConfig");o=o?JSON.parse(o):{};var u=o.tenantId,s=null,i=null;1==u?(i=[{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"}]):(i=[{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"}],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"}],m=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],p=[].concat(m,[{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:"交易关闭"}],g=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],_=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],E=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],y=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],I=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],N=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],T=[{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:"会员续费"}]}],S=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],O=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],x=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],w=[{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:"高三"}],D=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],L=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],R=de(n["musicGroupType"]),A=de(n["classTime"]),k=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],M=de(n["payOrderType"]),C=de(n["auditType"]),j=de(n["auditPaymentType"]),F=de(n["orderServerType"]),$=de(n["orderAuditType"]),H=de(n["rewardModeType"]),Y=de(n["musicClassType"]),G=de(n["ProbationPeriodStatus"]),P=de(n["downListType"]),U=de(n["conclusion"]),V=de(n["clientType"]),B=de(n["couponType"]),q=de(n["backType"]),z=de(n["memberEnum"]),W=de(n["coupontypeDetail"]),X=de(n["issue"]),K=de(n["feedbackType"]),J=de(n["feedbackTypeDesc"]),Q=de(n["campState"]),Z=de(n["catgGoupType"]),ee=de(n["catRole"]),te=de(n["catType"]),ae=de(n["quiteReason"]),le=de(n["payUserType"]),re=de(n["levelStatus"]),ne=de(n["evaluateStatus"]),oe=de(n["problemType"]),ue=de(n["schoolUserType"]),se=de(n["shareLiveType"]),ie=de(n["courseEmnu"]),ce=de(n["suggestionType"]),ve=de(n["scoreType"]);function de(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}var be=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(r["a"])(t,2),n=a[0],o=a[1],u={};if(e&&e.length){var s,i=Object(l["a"])(e);try{for(i.s();!(s=i.n()).done;){var c=s.value;u[c[n]]=c[o]}}catch(v){i.e(v)}finally{i.f()}}return u}},adb21:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var l=a("bc3a"),r=a.n(l),n=(a("4328"),a("5f87")),o=a("3908"),u=a("e3eb"),s=a.n(u),i=function(e,t,a,l){var u=t.url,i={method:t.method?t.method:"get",headers:{Authorization:Object(n["b"])(),tenantId:Object(n["a"])()},url:u,responseType:"blob"};"post"==i.method?i.data=t.params:i.params=t.params,e.$confirm(a||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){o["a"].startLoading(),r()(s()(i)).then((function(a){var r=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),n=new Response(r).text();n.then((function(a){if(-1!=a.indexOf("code")){var n=JSON.parse(a);if(403==n.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==n.code?e.$message.success(n.msg):e.$message.error(n.msg),l&&l()}else{var o=URL.createObjectURL(r),u=document.createElement("a"),s=t.fileName||"导出文件.xls";u.href=o,u.setAttribute("download",s),document.body.appendChild(u),u.click(),l&&l()}})),o["a"].endLoading()})).catch((function(t){console.log(t),e.$message.error("下载失败,请联系管理员"),o["a"].endLoading()}))})).catch((function(){}))}},c466:function(e,t,a){"use strict";a.d(t,"n",(function(){return o})),a.d(t,"f",(function(){return u})),a.d(t,"g",(function(){return s})),a.d(t,"h",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"j",(function(){return v})),a.d(t,"e",(function(){return d})),a.d(t,"d",(function(){return b})),a.d(t,"a",(function(){return m})),a.d(t,"b",(function(){return p})),a.d(t,"c",(function(){return f})),a.d(t,"k",(function(){return h})),a.d(t,"l",(function(){return g})),a.d(t,"m",(function(){return _}));a("a481");var l=a("5a0c"),r=a.n(l),n=a("56d7");function o(e){var t=e.getFullYear(),a=e.getMonth()+1,l=e.getDate();return a=a<10?"0"+a:a,l=l<10?"0"+l:l,t+"-"+a+"-"+l}function u(e){return e.setDate(1),e}function s(e){var t=e.getMonth(),a=++t,l=new Date(e.getFullYear(),a,1),r=864e5;return new Date(l-r)}function i(e){var t=new Date(e.replace(/-/g,"/")).getTime(),a=new Date(e);0==a.getDay()&&(t-=6048e5);var l=t-24*(a.getDay()-1)*60*60*1e3,r=new Date(l),n=r.getFullYear(),o=r.getMonth()+1<10?"0"+(r.getMonth()+1):r.getMonth()+1,u=r.getDate()<10?"0"+r.getDate():r.getDate(),s=n+"-"+o+"-"+u;return s}function c(e){var t=new Date(e.replace(/-/g,"/")).getTime(),a=new Date(e),l=7-a.getDay();7==l&&(l=0);var r=t+24*l*60*60*1e3,n=new Date(r),o=n.getFullYear(),u=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,s=n.getDate()<10?"0"+n.getDate():n.getDate(),i=o+"-"+u+"-"+s;return i}function v(e){var t=new Date(e.replace(/-/g,"/")).getDay();return 0===t&&(t=7),t}function d(e,t,a){return Math.abs(r()(e+" "+t).diff(e+" "+a,"Minute"))}function b(e,t,a){var l=r()(e+" "+t).add(a,"minute");return r()(e+" 21:00").isBefore(l)?(n["$message"].error("课程结束时间不可超过21:00点,请重新设置开始时间"),""):l.format("HH:mm")}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=r()("2021-12-17 "+e).add(t,"minute");return a.format("HH:mm:ss")}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=r()("2021-12-17 "+e).add(t,"minute").add(1,"second");return a.format("HH:mm:ss")}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=r()("2021-12-17 "+e).add(t,"minute").subtract(1,"second");return a.format("HH:mm:ss")}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=r()("2021-12-17 "+e).subtract(t,"minute");return a.format("HH:mm:ss")}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=r()("2021-12-17 "+e).subtract(t,"minute").add(1,"second");return a.format("HH:mm:ss")}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=r()("2021-12-17 "+e).subtract(t,"minute").subtract(1,"second");return a.format("HH:mm:ss")}},e78e: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:"form",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[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",{attrs:{prop:"teacherId"}},[a("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(" "),a("el-form-item",{attrs:{prop:"serviceIsError"}},[a("el-select",{attrs:{placeholder:"服务是否异常",clearable:""},model:{value:e.searchForm.serviceIsError,callback:function(t){e.$set(e.searchForm,"serviceIsError",t)},expression:"searchForm.serviceIsError"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"unDone"}},[a("el-select",{staticClass:"multiple",attrs:{clearable:"",placeholder:"是否异常"},model:{value:e.searchForm.unDone,callback:function(t){e.$set(e.searchForm,"unDone","string"===typeof t?t.trim():t)},expression:"searchForm.unDone"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"reminded"}},[a("el-select",{staticClass:"multiple",attrs:{clearable:"",placeholder:"是否提醒"},model:{value:e.searchForm.reminded,callback:function(t){e.$set(e.searchForm,"reminded","string"===typeof t?t.trim():t)},expression:"searchForm.reminded"}},[a("el-option",{attrs:{label:"是",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"否",value:"0"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"operatorId"}},[a("remote-search",{attrs:{commit:"setEmploys"},model:{value:e.searchForm.operatorId,callback:function(t){e.$set(e.searchForm,"operatorId","string"===typeof t?t.trim():t)},expression:"searchForm.operatorId"}})],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"工作类型"},model:{value:e.searchForm.jobNature,callback:function(t){e.$set(e.searchForm,"jobNature","string"===typeof t?t.trim():t)},expression:"searchForm.jobNature"}},e._l(e.jobNature,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"实际练习布置",clearable:""},model:{value:e.searchForm.actualExercisesNumIsAchieve,callback:function(t){e.$set(e.searchForm,"actualExercisesNumIsAchieve",t)},expression:"searchForm.actualExercisesNumIsAchieve"}},[a("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"提交次数",clearable:""},model:{value:e.searchForm.exercisesReplyNumIsAchieve,callback:function(t){e.$set(e.searchForm,"exercisesReplyNumIsAchieve",t)},expression:"searchForm.exercisesReplyNumIsAchieve"}},[a("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"评价次数",clearable:""},model:{value:e.searchForm.exercisesMessageNumIsAchieve,callback:function(t){e.$set(e.searchForm,"exercisesMessageNumIsAchieve",t)},expression:"searchForm.exercisesMessageNumIsAchieve"}},[a("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("el-select",{attrs:{placeholder:"及时评价",clearable:""},model:{value:e.searchForm.exercisesMessageTimelyNumIsAchieve,callback:function(t){e.$set(e.searchForm,"exercisesMessageTimelyNumIsAchieve",t)},expression:"searchForm.exercisesMessageTimelyNumIsAchieve"}},[a("el-option",{attrs:{label:"符合预期",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"不符合预期",value:"0"}})],1)],1),e._v(" "),a("el-form-item",[a("el-date-picker",{staticStyle:{width:"410px"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",clearable:!1,"picker-options":e.bigin()},on:{change:e.changeWeek},model:{value:e.orderDate,callback:function(t){e.orderDate="string"===typeof t?t.trim():t},expression:"orderDate"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"export/teacherServeInfo",expression:"'export/teacherServeInfo'"}],attrs:{type:"primary"},on:{click:e.onExport}},[e._v("导出")])],1)],1),e._v(" "),a("div",{staticClass:"btnWraps",staticStyle:{"margin-bottom":"20px"}},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"exercisesSituation/teacherServeRemindPush",expression:"'exercisesSituation/teacherServeRemindPush'"}],attrs:{type:"primary"},on:{click:e.remindTeachers}},[e._v("批量提醒")])],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",selectable:e.checkSelectable}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherId",label:"老师编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"老师姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"teacherName",label:"服务周期",width:"180px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dayjsFormat")(t.row.monday))+"~"+e._s(e._f("dayjsFormat")(t.row.sunday))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预期练习布置"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.expectExercisesNum+"人次"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",width:"120",prop:""},scopedSlots:e._u([{key:"header",fn:function(t){return[a("p",{staticStyle:{position:"relative"}},[e._v("\n 实际练习布置\n "),a("el-tooltip",{attrs:{placement:"top","popper-class":"mTooltip"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 以周为单位,每周服务指标指定的课程布置练习记一次实际练习布置\n ")]),e._v(" "),a("i",{staticClass:"el-icon-question",staticStyle:{"font-size":"18px",color:"#f56c6c"}})])],1)]}},{key:"default",fn:function(t){return[a("div",{style:t.row.actualExercisesNum<t.row.expectExercisesNum?"color:red":""},[e._v(e._s(t.row.actualExercisesNum+"人次"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"",label:"提交次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.exercisesReplyNum+"次"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"",label:"评价次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{style:t.row.exercisesMessageNum<t.row.exercisesReplyNum?"color:red":""},[e._v(e._s(t.row.exercisesMessageNum+"次"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"",label:"及时评价次数"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.exercisesMessageTimelyNum+"次"))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"homeworkNum",label:"课后练习(节)"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"homeworkStuNum",label:"课后练习(人)"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"exerciseNum",label:"课外练习(人)"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"是否异常"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.unDone?"是":"否")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"remindDate",label:"提醒时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dateForMinFormat")(t.row.remindDate))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"operatorName",label:"操作人"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"操作",width:"160px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.gotoDteail(t.row)}}},[e._v("查看")]),e._v(" "),t.row.unDone?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"exercisesSituation/teacherServeRemindPush",expression:"'exercisesSituation/teacherServeRemindPush'"}],attrs:{type:"text"},on:{click:function(a){return e.remindTeacher(t.row)}}},[e._v("提醒老师")]):e._e()],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}})],1),e._v(" "),e.lookVisible?a("el-dialog",{attrs:{title:"查看","close-on-click-modal":!1,visible:e.lookVisible},on:{"update:visible":function(t){e.lookVisible=t}}},[a("serverMask",{attrs:{detail:e.activeRow},on:{close:function(t){e.lookVisible=!1},submited:e.getList}}),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.lookVisible=!1}}},[e._v("确 定")])],1)],1):e._e()],1)])},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 服务指标明细\n ")])}],n=(a("386d"),a("c7eb")),o=a("5530"),u=a("15fd"),s=(a("96cf"),a("1da1")),i=a("ade3"),c=(a("bc3a"),a("5f87"),a("333d")),v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课后练习",name:"first",lazy:""}},["first"==e.activeName?a("afterWork",{directives:[{name:"permission",rawName:"v-permission",value:"exercisesSituation/queryTeacherServeHomeworkDetail",expression:"'exercisesSituation/queryTeacherServeHomeworkDetail'"}],attrs:{detail:e.detail}}):e._e()],1),e._v(" "),a("el-tab-pane",{attrs:{label:"课外练习",name:"second",lazy:""}},["second"==e.activeName?a("outWork",{directives:[{name:"permission",rawName:"v-permission",value:"exercisesSituation/queryTeacherServeExtraDetail",expression:"'exercisesSituation/queryTeacherServeExtraDetail'"}],attrs:{detail:e.detail}}):e._e()],1)],1)],1)},d=[],b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[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:"id",label:"课程编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.gotoCourseList(t.row.id)}}},[e._v(e._s(t.row.id))])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"name",label:"服务课程"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"groupType",label:"课程类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesType")(t.row.groupType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentNum",label:"学员数量"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"专业"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"status",label:"课程状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("coursesStatus")(t.row.status))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"homeworkExist",label:"是否布置练习"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.homeworkExist?"是":"否")+"\n ")])]}}])})],1),e._v(" "),a("pagination",{attrs:{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)},m=[],p=a("829b"),f=function(e){return Object(p["a"])({url:"/api-web/exercisesSituation/queryTeacherServeInfo",params:e,method:"get"})},h=function(e){return Object(p["a"])({url:"/api-web/exercisesSituation/teacherServeRemindPush",data:e,method:"post"})},g=function(e){return Object(p["a"])({url:"/api-web/exercisesSituation/queryTeacherServeHomeworkDetail",params:e,method:"get"})},_=function(e){return Object(p["a"])({url:"/api-web/exercisesSituation/queryTeacherServeExtraDetail",params:e,method:"get"})},E={components:{pagination:c["a"]},props:["detail"],data:function(){return{tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.init()},methods:{init:function(){this.getList()},getList:function(){var e=Object(s["a"])(Object(n["a"])().mark((function e(){var t,a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.$helpers.dayjs,e.next=4,g({page:this.rules.page,rows:this.rules.limit,monday:t(this.detail.monday).format("YYYY-MM-DD"),sunday:t(this.detail.sunday).format("YYYY-MM-DD"),teacherId:this.detail.teacherId});case 4:a=e.sent,this.tableList=a.data.rows,this.rules.total=a.data.total,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}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){},gotoCourseList:function(e){this.$router.push({name:"teamCourseList",params:{courseIdSearch:e}})}}},y=E,I=a("2877"),N=Object(I["a"])(y,b,m,!1,null,"c5a8e618",null),T=N.exports,S=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[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:"userId",label:"学员编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"username",label:"学员姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectNames",label:"专业"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"是否布置练习"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.homeworkExist?"是":"否")+"\n ")])]}}])})],1),e._v(" "),a("pagination",{attrs:{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)},O=[],x={props:["detail"],components:{pagination:c["a"]},data:function(){return{tableList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},mounted:function(){this.init()},methods:{init:function(){this.getList()},getList:function(){var e=Object(s["a"])(Object(n["a"])().mark((function e(){var t,a;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.$helpers.dayjs,e.next=4,_({page:this.rules.page,rows:this.rules.limit,monday:t(this.detail.monday).format("YYYY-MM-DD"),sunday:t(this.detail.sunday).format("YYYY-MM-DD"),teacherId:this.detail.teacherId});case 4:a=e.sent,this.tableList=a.data.rows,this.rules.total=a.data.total,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}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){}}},w=x,D=Object(I["a"])(w,S,O,!1,null,"7d509092",null),L=D.exports,R={props:["detail"],components:{afterWork:T,outWork:L},data:function(){return{activeName:"first"}},mounted:function(){}},A=R,k=Object(I["a"])(A,v,d,!1,null,"07da3cd4",null),M=k.exports,C=(a("3908"),a("ed08")),j=a("c466"),F=a("92e3"),$=a("adb21"),H=a("4328"),Y=a.n(H),G=["orderDate"],P=["orderDate"],U={components:{pagination:c["a"],serverMask:M},data:function(){var e;return{searchForm:(e={organId:"",teacherId:"",operatorId:"",reminded:"",unDone:""},Object(i["a"])(e,"operatorId",""),Object(i["a"])(e,"jobNature",""),Object(i["a"])(e,"actualExercisesNumIsAchieve",null),Object(i["a"])(e,"exercisesMessageNumIsAchieve",null),Object(i["a"])(e,"exercisesMessageTimelyNumIsAchieve",null),Object(i["a"])(e,"exercisesReplyNumIsAchieve",null),Object(i["a"])(e,"serviceIsError",null),e),orderDate:[],tableList:[],organList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},lookVisible:!1,activeRow:null,chioseList:[],jobNature:F["E"]}},created:function(){},mounted:function(){this.init()},methods:{init:function(){if(this.$store.dispatch("setBranchs"),this.$store.dispatch("setEmploys"),this.getDefaultTime(),this.$route.query.searchType){this.searchForm.organId=1*this.$route.query.organId||"",this.searchForm.unDone=this.$route.query.unDone+""||"",this.searchForm.reminded=this.$route.query.reminded+""||"";var e=this.$helpers.dayjs,t=e(new Date).subtract(7,"day").format("YYYY-MM-DD");this.orderDate=[Object(j["h"])(t),Object(j["i"])(t)]}this.getList()},getList:function(){var e=Object(s["a"])(Object(n["a"])().mark((function e(){var t,a,l;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=this.searchForm,t.orderDate,a=Object(u["a"])(t,G),e.next=4,f(Object(o["a"])(Object(o["a"])(Object(o["a"])({},a),Object(C["d"])(this.orderDate,["monday","sunday"])),{},{rows:this.rules.limit,page:this.rules.page}));case 4:l=e.sent,this.rules.total=l.data.total,this.tableList=l.data.rows,e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.$refs.form.resetFields(),this.getDefaultTime(),this.search()},gotoDteail:function(e){this.activeRow=e,this.lookVisible=!0},reloadSearch:function(){this.getList()},getDefaultTime:function(){var e=this.$helpers.dayjs,t=e(new Date).format("YYYY-MM-DD"),a=e(t).subtract(1,"week").format("YYYY-MM-DD");this.orderDate=[Object(j["h"])(a),Object(j["i"])(t)],this.searchForm.jobNature="FULL_TIME"},changeWeek:function(e){e?this.orderDate=[Object(j["h"])(e[0]),Object(j["i"])(e[1])]:this.getDefaultTime()},remindTeacher:function(e){var t=this;this.$confirm("是否给老师发送提醒?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(s["a"])(Object(n["a"])().mark((function a(){return Object(n["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,h([e]);case 3:a.sent,t.getList(),t.$message.success("提醒成功"),a.next=11;break;case 8:a.prev=8,a.t0=a["catch"](0),console.log(a.t0);case 11:case"end":return a.stop()}}),a,null,[[0,8]])}))))},remindTeachers:function(){var e=this;this.chioseList.length<=0?this.$message.error("请至少选择一条信息"):this.$confirm("是否批量给老师发送提醒?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(s["a"])(Object(n["a"])().mark((function t(){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h(e.chioseList);case 3:t.sent,e.getList(),e.$message.success("提醒成功"),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),console.log(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])}))))},checkSelectable:function(e){return e.unDone},handleSelectionChange:function(e){this.chioseList=e},bigin:function(){return{firstDayOfWeek:1,disabledDate:function(e){return e.getTime()>=Date.now()}}},onExport:function(){var e=this.searchForm,t=(e.orderDate,Object(u["a"])(e,P));Object($["a"])(this,{url:"/api-web/export/teacherServeInfo",fileName:"服务指标明细.xls",method:"post",params:Y.a.stringify(Object(o["a"])(Object(o["a"])({},t),Object(C["d"])(this.orderDate,["monday","sunday"])))},"您确定导出服务指标明细?")}}},V=U,B=Object(I["a"])(V,l,r,!1,null,"3f0945e3",null);t["default"]=B.exports}}]);