1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7bb1e6bb"],{"09f4":function(e,l,a){"use strict";a.d(l,"a",(function(){return u})),Math.easeInOutQuad=function(e,l,a,t){return e/=t/2,e<1?a/2*e*e+l:(e--,-a/2*(e*(e-2)-1)+l)};var t=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 u(e,l,a){var u=r(),o=e-u,c=20,i=0;l="undefined"===typeof l?500:l;var s=function e(){i+=c;var r=Math.easeInOutQuad(i,u,o,l);n(r),i<l?t(e):a&&"function"===typeof a&&a()};s()}},7944:function(e,l,a){"use strict";a.r(l);var t=function(){var e=this,l=e.$createElement,a=e._self._c||l;return a("div",{staticClass:"m-container"},[a("el-page-header",{attrs:{content:e.title},on:{back:e.onCancel}}),e._v(" "),a("div",{staticClass:"m-core"},[a("save-form",{attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"chargeType"}},[a("el-select",{attrs:{filterable:"",clearable:"",placeholder:"请选择乐团模式"},model:{value:e.searchForm.chargeType,callback:function(l){e.$set(e.searchForm,"chargeType","string"===typeof l?l.trim():l)},expression:"searchForm.chargeType"}},e._l(e.typeList,(function(e,l){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"subjectId"}},[a("el-select",{staticClass:"multiple",staticStyle:{width:"180px !important"},attrs:{filterable:"",clearable:"",placeholder:"请选择声部"},model:{value:e.searchForm.subjectId,callback:function(l){e.$set(e.searchForm,"subjectId","string"===typeof l?l.trim():l)},expression:"searchForm.subjectId"}},e._l(e.selects.subjects,(function(e,l){return a("el-option",{key:l,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"teacherId"}},[a("remote-search",{attrs:{commit:"setTeachers","aria-placeholder":"请选择指导老师",isForzenWithQueryCondition:!0},model:{value:e.searchForm.teacherId,callback:function(l){e.$set(e.searchForm,"teacherId","string"===typeof l?l.trim():l)},expression:"searchForm.teacherId"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"remarkType"}},[a("el-select",{staticClass:"multiple",staticStyle:{width:"180px !important"},attrs:{filterable:"",clearable:"",placeholder:"购买套餐"},model:{value:e.searchForm.remarkType,callback:function(l){e.$set(e.searchForm,"remarkType","string"===typeof l?l.trim():l)},expression:"searchForm.remarkType"}},[a("el-option",{attrs:{label:"2赠1",value:"2赠1"}}),e._v(" "),a("el-option",{attrs:{label:"3赠2",value:"3赠2"}}),e._v(" "),a("el-option",{attrs:{label:"单月",value:"单月"}})],1)],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("auth",{attrs:{auths:"export/countCloudTeacherActiveDetail"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onExport}},[e._v("导出")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学生姓名(编号)"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[e._v(e._s(l.row.username)+"("+e._s(l.row.userId)+")")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"cooperationName",label:"合作单位"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"musicGroupName",label:"乐团"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"chargeType",label:"乐团模式"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subjectName",label:"声部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"currentGradeNum",label:"年级"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[e._v("\n "+e._s(e.gradeList[l.row.currentGradeNum])+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"remark",label:"购买套餐"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"购买金额"},scopedSlots:e._u([{key:"default",fn:function(l){return[a("div",[e._v("\n "+e._s(e._f("hasMoneyFormat")(l.row.amount))+"\n ")])]}}])})],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(l){return e.$set(e.rules,"total",l)},"update:page":function(l){return e.$set(e.rules,"page",l)},"update:limit":function(l){return e.$set(e.rules,"limit",l)},pagination:e.getList}})],1)],1)],1)},n=[],r=(a("386d"),a("db72")),u=a("c80c"),o=(a("96cf"),a("3b8d")),c=(a("bc3a"),a("5f87"),a("333d")),i=(a("3908"),a("92e3")),s=a("1cc7"),b=a("8836"),v=a("adb21"),d=a("e3eb"),p=a.n(d),f=a("4328"),m=a.n(f),h={components:{pagination:c["a"]},data:function(){return{searchForm:{search:null,chargeType:null,remarkType:null,subjectId:null,teacherId:null},courseViewTypeList:i["v"],tableList:[],organList:[],typeList:[],rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},organId:"",title:"",gradeList:{}}},created:function(){},mounted:function(){var e=Object(o["a"])(Object(u["a"])().mark((function e(){var l,a=this;return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.organId=this.$route.query.organId,e.prev=1,e.next=4,Object(b["c"])({id:this.organId});case 4:l=e.sent,this.gradeList=l.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](1),console.log(e.t0);case 11:return this.$route.query.organName?this.title="".concat(this.$route.query.organName,"分部会员活动详情"):this.title="分部会员活动详情",Object(s["Xb"])({rows:1e3}).then((function(e){200==e.code&&(a.typeList=e.data)})),e.next=15,this.$store.dispatch("setSubjects");case 15:this.init();case 16:case"end":return e.stop()}}),e,this,[[1,8]])})));function l(){return e.apply(this,arguments)}return l}(),methods:{init:function(){this.getList()},getList:function(){var e=Object(o["a"])(Object(u["a"])().mark((function e(){var l;return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("organId",this.organId),e.prev=1,e.next=4,Object(b["a"])(Object(r["a"])(Object(r["a"])({organIds:this.organId},this.searchForm),{},{page:this.rules.page,rows:this.rules.limit}));case 4:l=e.sent,this.tableList=l.data.rows,this.rules.total=l.data.total,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](1),console.log(e.t0);case 12:case"end":return e.stop()}}),e,this,[[1,9]])})));function l(){return e.apply(this,arguments)}return l}(),search:function(){this.rules.page=1,this.getList()},onReSet:function(){var e=this;this.$nextTick((function(){e.search()}))},onCancel:function(){this.$store.dispatch("delVisitedViews",this.$route),this.$router.push("/2021memeberActionManager")},onExport:function(){var e=Object(o["a"])(Object(u["a"])().mark((function e(){var l;return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l=Object(r["a"])({organIds:this.organId},this.searchForm),e.next=3,Object(v["a"])(this,{url:"/api-web/export/countCloudTeacherActiveDetail",fileName:"2021十一会员活动详情.xls",method:"post",params:m.a.stringify(p()(l))},"您确定导出会员活动详情列表?");case 3:case"end":return e.stop()}}),e,this)})));function l(){return e.apply(this,arguments)}return l}()}},E=h,I=a("2877"),T=Object(I["a"])(E,t,n,!1,null,"7484ffd4",null);l["default"]=T.exports},8836:function(e,l,a){"use strict";a.d(l,"b",(function(){return r})),a.d(l,"a",(function(){return u})),a.d(l,"c",(function(){return o}));var t=a("b775"),n=(a("4328"),"/api-web");function r(e){return Object(t["a"])({url:n+"/studentManage/countCloudTeacherActive",method:"get",params:e})}function u(e){return Object(t["a"])({url:n+"/studentManage/countCloudTeacherActiveDetail",method:"get",params:e})}function o(e){return Object(t["a"])({url:n+"/organization/getGradeList",method:"get",params:e})}},"92e3":function(e,l,a){"use strict";a.d(l,"u",(function(){return c})),a.d(l,"H",(function(){return i})),a.d(l,"s",(function(){return s})),a.d(l,"c",(function(){return b})),a.d(l,"D",(function(){return v})),a.d(l,"Y",(function(){return d})),a.d(l,"X",(function(){return p})),a.d(l,"d",(function(){return f})),a.d(l,"L",(function(){return m})),a.d(l,"w",(function(){return h})),a.d(l,"ab",(function(){return E})),a.d(l,"t",(function(){return I})),a.d(l,"o",(function(){return T})),a.d(l,"Z",(function(){return N})),a.d(l,"P",(function(){return O})),a.d(l,"cb",(function(){return g})),a.d(l,"db",(function(){return y})),a.d(l,"O",(function(){return L})),a.d(l,"T",(function(){return A})),a.d(l,"B",(function(){return _})),a.d(l,"l",(function(){return R})),a.d(l,"W",(function(){return S})),a.d(l,"bb",(function(){return C})),a.d(l,"I",(function(){return M})),a.d(l,"m",(function(){return w})),a.d(l,"v",(function(){return G})),a.d(l,"M",(function(){return U})),a.d(l,"f",(function(){return j})),a.d(l,"e",(function(){return k})),a.d(l,"K",(function(){return x})),a.d(l,"J",(function(){return P})),a.d(l,"S",(function(){return F})),a.d(l,"G",(function(){return H})),a.d(l,"a",(function(){return D})),a.d(l,"x",(function(){return V})),a.d(l,"p",(function(){return $})),a.d(l,"n",(function(){return B})),a.d(l,"q",(function(){return Y})),a.d(l,"g",(function(){return X})),a.d(l,"F",(function(){return q})),a.d(l,"r",(function(){return z})),a.d(l,"C",(function(){return W})),a.d(l,"A",(function(){return K})),a.d(l,"z",(function(){return J})),a.d(l,"h",(function(){return Q})),a.d(l,"k",(function(){return Z})),a.d(l,"i",(function(){return ee})),a.d(l,"j",(function(){return le})),a.d(l,"R",(function(){return ae})),a.d(l,"N",(function(){return te})),a.d(l,"E",(function(){return ne})),a.d(l,"y",(function(){return re})),a.d(l,"Q",(function(){return ue})),a.d(l,"U",(function(){return oe})),a.d(l,"V",(function(){return ce})),a.d(l,"b",(function(){return se}));var t=a("2d63"),n=a("768b"),r=a("267e"),u=sessionStorage.getItem("tenantConfig");u=u?JSON.parse(u):{};var o=u.tenantId,c=null,i=null;1==o?(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"}],c=[{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"}],c=[{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 s=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],b=[{label:"正常签到",value:1},{label:"异常签到",value:0}],v=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],d=[{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:"直播课购买"}],h=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],E=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],I=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],T=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],N=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],O=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],g=[{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:"会员续费"}]}],L=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],A=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],_=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],R=[{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:"高三"}],S=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],C=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],M=ie(r["musicGroupType"]),w=ie(r["classTime"]),G=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],U=ie(r["payOrderType"]),j=ie(r["auditType"]),k=ie(r["auditPaymentType"]),x=ie(r["orderServerType"]),P=ie(r["orderAuditType"]),F=ie(r["rewardModeType"]),H=ie(r["musicClassType"]),D=ie(r["ProbationPeriodStatus"]),V=ie(r["downListType"]),$=ie(r["conclusion"]),B=ie(r["clientType"]),Y=ie(r["couponType"]),X=ie(r["backType"]),q=ie(r["memberEnum"]),z=ie(r["coupontypeDetail"]),W=ie(r["issue"]),K=ie(r["feedbackType"]),J=ie(r["feedbackTypeDesc"]),Q=ie(r["campState"]),Z=ie(r["catgGoupType"]),ee=ie(r["catRole"]),le=ie(r["catType"]),ae=ie(r["quiteReason"]),te=ie(r["payUserType"]),ne=ie(r["levelStatus"]),re=ie(r["evaluateStatus"]),ue=ie(r["problemType"]),oe=ie(r["schoolUserType"]),ce=ie(r["shareLiveType"]);function ie(e){var l=[];for(var a in e)l.push({label:e[a],value:a});return l}var se=function(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(n["a"])(l,2),r=a[0],u=a[1],o={};if(e&&e.length){var c,i=Object(t["a"])(e);try{for(i.s();!(c=i.n()).done;){var s=c.value;o[s[r]]=s[u]}}catch(b){i.e(b)}finally{i.f()}}return o}},adb21:function(e,l,a){"use strict";a.d(l,"a",(function(){return i}));var t=a("bc3a"),n=a.n(t),r=(a("4328"),a("5f87")),u=a("3908"),o=a("e3eb"),c=a.n(o),i=function(e,l,a,t){var o=l.url,i={method:l.method?l.method:"get",headers:{Authorization:Object(r["b"])(),tenantId:Object(r["a"])()},url:o,responseType:"blob"};"post"==i.method?i.data=l.params:i.params=l.params,e.$confirm(a||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){u["a"].startLoading(),n()(c()(i)).then((function(a){var n=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),r=new Response(n).text();r.then((function(a){if(-1!=a.indexOf("code")){var r=JSON.parse(a);if(403==r.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==r.code?e.$message.success(r.msg):e.$message.error(r.msg),t&&t()}else{var u=URL.createObjectURL(n),o=document.createElement("a"),c=l.fileName||"导出文件.xls";o.href=u,o.setAttribute("download",c),document.body.appendChild(o),o.click(),t&&t()}})),u["a"].endLoading()})).catch((function(l){console.log(l),e.$message.error("下载失败,请联系管理员"),u["a"].endLoading()}))})).catch((function(){}))}}}]);
|