chunk-377cf316.49c26ff0.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-377cf316"],{"09f4":function(e,a,l){"use strict";l.d(a,"a",(function(){return u})),Math.easeInOutQuad=function(e,a,l,t){return e/=t/2,e<1?l/2*e*e+a:(e--,-l/2*(e*(e-2)-1)+a)};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,a,l){var u=r(),o=e-u,i=20,c=0;a="undefined"===typeof a?500:a;var b=function e(){c+=i;var r=Math.easeInOutQuad(c,u,o,a);n(r),c<a?t(e):l&&"function"===typeof l&&l()};b()}},"92e3":function(e,a,l){"use strict";l.d(a,"u",(function(){return i})),l.d(a,"H",(function(){return c})),l.d(a,"s",(function(){return b})),l.d(a,"c",(function(){return v})),l.d(a,"D",(function(){return s})),l.d(a,"Y",(function(){return d})),l.d(a,"X",(function(){return f})),l.d(a,"d",(function(){return p})),l.d(a,"L",(function(){return m})),l.d(a,"w",(function(){return E})),l.d(a,"ab",(function(){return I})),l.d(a,"t",(function(){return T})),l.d(a,"o",(function(){return O})),l.d(a,"Z",(function(){return h})),l.d(a,"P",(function(){return N})),l.d(a,"cb",(function(){return R})),l.d(a,"db",(function(){return A})),l.d(a,"O",(function(){return _})),l.d(a,"T",(function(){return C})),l.d(a,"B",(function(){return L})),l.d(a,"l",(function(){return y})),l.d(a,"W",(function(){return S})),l.d(a,"bb",(function(){return g})),l.d(a,"I",(function(){return M})),l.d(a,"m",(function(){return w})),l.d(a,"v",(function(){return G})),l.d(a,"M",(function(){return U})),l.d(a,"f",(function(){return P})),l.d(a,"e",(function(){return F})),l.d(a,"K",(function(){return D})),l.d(a,"J",(function(){return Y})),l.d(a,"S",(function(){return j})),l.d(a,"G",(function(){return H})),l.d(a,"a",(function(){return V})),l.d(a,"x",(function(){return k})),l.d(a,"p",(function(){return x})),l.d(a,"n",(function(){return q})),l.d(a,"q",(function(){return B})),l.d(a,"g",(function(){return X})),l.d(a,"F",(function(){return $})),l.d(a,"r",(function(){return K})),l.d(a,"C",(function(){return W})),l.d(a,"A",(function(){return z})),l.d(a,"z",(function(){return J})),l.d(a,"h",(function(){return Q})),l.d(a,"k",(function(){return Z})),l.d(a,"i",(function(){return ee})),l.d(a,"j",(function(){return ae})),l.d(a,"R",(function(){return le})),l.d(a,"N",(function(){return te})),l.d(a,"E",(function(){return ne})),l.d(a,"y",(function(){return re})),l.d(a,"Q",(function(){return ue})),l.d(a,"U",(function(){return oe})),l.d(a,"V",(function(){return ie})),l.d(a,"b",(function(){return be}));var t=l("2d63"),n=l("768b"),r=l("267e"),u=sessionStorage.getItem("tenantConfig");u=u?JSON.parse(u):{};var o=u.tenantId,i=null,c=null;1==o?(c=[{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"}],i=[{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"}]):(c=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],i=[{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 b=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],v=[{label:"正常签到",value:1},{label:"异常签到",value:0}],s=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],d=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],f=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],p=[].concat(f,[{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:"直播课购买"}],E=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],I=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],T=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],O=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],h=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],N=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],R=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及训练回访",label:"课后及训练回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],A=[{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:"会员续费"}]}],_=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],C=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],L=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],y=[{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:"全部"}],g=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],M=ce(r["musicGroupType"]),w=ce(r["classTime"]),G=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],U=ce(r["payOrderType"]),P=ce(r["auditType"]),F=ce(r["auditPaymentType"]),D=ce(r["orderServerType"]),Y=ce(r["orderAuditType"]),j=ce(r["rewardModeType"]),H=ce(r["musicClassType"]),V=ce(r["ProbationPeriodStatus"]),k=ce(r["downListType"]),x=ce(r["conclusion"]),q=ce(r["clientType"]),B=ce(r["couponType"]),X=ce(r["backType"]),$=ce(r["memberEnum"]),K=ce(r["coupontypeDetail"]),W=ce(r["issue"]),z=ce(r["feedbackType"]),J=ce(r["feedbackTypeDesc"]),Q=ce(r["campState"]),Z=ce(r["catgGoupType"]),ee=ce(r["catRole"]),ae=ce(r["catType"]),le=ce(r["quiteReason"]),te=ce(r["payUserType"]),ne=ce(r["levelStatus"]),re=ce(r["evaluateStatus"]),ue=ce(r["problemType"]),oe=ce(r["schoolUserType"]),ie=ce(r["shareLiveType"]);function ce(e){var a=[];for(var l in e)a.push({label:e[l],value:l});return a}var be=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["value","label"],l=Object(n["a"])(a,2),r=l[0],u=l[1],o={};if(e&&e.length){var i,c=Object(t["a"])(e);try{for(c.s();!(i=c.n()).done;){var b=i.value;o[b[r]]=b[u]}}catch(v){c.e(v)}finally{c.f()}}return o}},a06a:function(e,a,l){"use strict";l.r(a);var t=function(){var e=this,a=e.$createElement,l=e._self._c||a;return l("div",{staticClass:"m-container"},[e._m(0),e._v(" "),l("div",{staticClass:"m-core"},[l("save-form",{ref:"searchForm",staticClass:"searchForm",attrs:{inline:!0,saveKey:"groupRecordManager",model:e.searchForm},on:{submit:e.search,reset:e.reset,"update:model":function(a){e.searchForm=a}}},[l("el-form-item",{attrs:{prop:"queryCondition"}},[l("el-input",{attrs:{placeholder:"学员编号/姓名/手机号",clearable:"",type:"text"},model:{value:e.searchForm.queryCondition,callback:function(a){e.$set(e.searchForm,"queryCondition","string"===typeof a?a.trim():a)},expression:"searchForm.queryCondition"}})],1),e._v(" "),l("el-form-item",{attrs:{prop:"orderNo"}},[l("el-input",{attrs:{placeholder:"订单号",clearable:"",type:"text"},model:{value:e.searchForm.orderNo,callback:function(a){e.$set(e.searchForm,"orderNo","string"===typeof a?a.trim():a)},expression:"searchForm.orderNo"}})],1),e._v(" "),l("el-form-item",{attrs:{prop:"createTimer"}},[l("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"订单开始时间","end-placeholder":"订单结束时间","default-time":["00:00:00","23:59:59"],"picker-options":{firstDayOfWeek:1}},model:{value:e.searchForm.createTimer,callback:function(a){e.$set(e.searchForm,"createTimer","string"===typeof a?a.trim():a)},expression:"searchForm.createTimer"}})],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",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[l("el-table-column",{attrs:{align:"center",label:"交易流水号",prop:"transNo"},scopedSlots:e._u([{key:"default",fn:function(a){return[l("div",[l("copy-text",[e._v(e._s(a.row.transNo))])],1)]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"订单号",prop:"orderNo",width:"160px"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"订单时间",prop:"orderTime",width:"160px"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"学员编号",prop:"studentId",width:"80px"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"学员名称",prop:"name",width:"120px"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"手机号码",prop:"phone"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"数量/云教练类型"},scopedSlots:e._u([{key:"default",fn:function(a){return[e._v("\n "+e._s(a.row.time)+"/"+e._s(e._f("memberEnumType")(a.row.type))+"\n ")]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"激活费用(元)"},scopedSlots:e._u([{key:"default",fn:function(a){return[e._v("\n "+e._s(e._f("moneyFormat")(a.row.amount))+"\n ")]}}])})],1),e._v(" "),l("pagination",{attrs:{saveKey:"groupRecordManager",sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(a){return e.$set(e.pageInfo,"total",a)},"update:page":function(a){return e.$set(e.pageInfo,"page",a)},"update:limit":function(a){return e.$set(e.pageInfo,"limit",a)},pagination:e.getList}})],1)],1)])},n=[function(){var e=this,a=e.$createElement,l=e._self._c||a;return l("h2",[l("div",{staticClass:"squrt"}),e._v("\n 云教练激活记录\n ")])}],r=(l("386d"),l("a8db")),u=l("c80c"),o=(l("96cf"),l("3b8d")),i=l("db72"),c=l("333d"),b=l("d70d"),v=l("92e3"),s=l("ed08"),d=["createTimer"],f={queryCondition:null,orderNo:null,createTimer:[]},p={components:{pagination:c["a"]},data:function(){return{dealStatus:v["w"],tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},searchForm:Object(i["a"])({},f)}},mounted:function(){var e=Object(o["a"])(Object(u["a"])().mark((function e(){return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.getList();case 1:case"end":return e.stop()}}),e,this)})));function a(){return e.apply(this,arguments)}return a}(),methods:{getList:function(){var e=Object(o["a"])(Object(u["a"])().mark((function e(){var a,l,t,n;return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,a=this.searchForm,l=a.createTimer,t=Object(r["a"])(a,d),e.next=4,Object(b["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])({},t),Object(s["b"])(l,["startTime","endTime"],"YYYY-MM-DD HH:mm:ss")),{},{page:this.pageInfo.page,rows:this.pageInfo.limit}));case 4:n=e.sent,console.log(n),this.pageInfo.total=n.data.total,this.tableList=n.data.rows,e.next=12;break;case 10:e.prev=10,e.t0=e["catch"](0);case 12:case"end":return e.stop()}}),e,this,[[0,10]])})));function a(){return e.apply(this,arguments)}return a}(),search:function(){this.pageInfo.page=1,this.$refs.searchForm.save(this.searchForm),this.$refs.searchForm.save(this.pageInfo,"page"),this.getList()},reset:function(){this.searchForm=Object(i["a"])({},f),this.search()},openService:function(e){this.orderVisible=!0}},filters:{tenantOrderStatus:function(e){var a={0:"待支付",1:"已支付",2:"支付失败"};return a[e]}}},m=p,E=(l("d248"),l("2877")),I=Object(E["a"])(m,t,n,!1,null,"4c19c9a6",null);a["default"]=I.exports},d248:function(e,a,l){"use strict";l("e460")},d70d:function(e,a,l){"use strict";l.d(a,"e",(function(){return n})),l.d(a,"a",(function(){return r})),l.d(a,"b",(function(){return u})),l.d(a,"c",(function(){return o})),l.d(a,"d",(function(){return i})),l.d(a,"f",(function(){return c}));var t=l("829b"),n=function(e){return Object(t["a"])({url:"/api-web/tenantOrderRecord/queryPage",method:"post",data:e})},r=function(e){return Object(t["a"])({url:"/api-web/cloudTeacherOrder/queryActiveRecord",method:"post",data:e})},u=function(e){return Object(t["a"])({url:"/api-web/tenantCloudCourseRecord/queryPage",method:"post",data:e})},o=function(e){return Object(t["a"])({url:"/api-web/tenantContractTemplate/add",requestType:"form",method:"post",data:e})},i=function(e){return Object(t["a"])({url:"/api-web/tenantContractTemplate/list",method:"get",params:e})},c=function(e){return Object(t["a"])({url:"/api-web/tenantContractTemplate/updateStatus",method:"post",requestType:"form",data:e})}},e460:function(e,a,l){},ed08:function(e,a,l){"use strict";l.d(a,"c",(function(){return u})),l.d(a,"b",(function(){return o})),l.d(a,"a",(function(){return i}));var t=l("bd86"),n=(l("c5f6"),l("28a5"),l("a481"),l("6b54"),l("7618"),l("5a0c")),r=l.n(n);var u=function(e){var a=[];for(var l in e)if(e.hasOwnProperty(l)){var t=e[l],n=l.toLocaleUpperCase();a.push({label:t,value:"TRUE"===n||"FALSE"===n?"TRUE"===n:l})}return a},o=function(e){var a,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?(a={},Object(t["a"])(a,l[0]||"start",r()(e[0]).isValid()?r()(e[0]).format(n):""),Object(t["a"])(a,l[1]||"end",r()(e[1]).isValid()?r()(e[1]).format(n):""),a):{}},i=function(e){var a,l,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e&&e.length?"YYYY-MM-DD"===u?(a={},Object(t["a"])(a,n[0]||"start",r()(e[0]).isValid()?r()(e[0]).format(u)+" 00:00:00":""),Object(t["a"])(a,n[1]||"end",r()(e[1]).isValid()?r()(e[1]).format(u)+" 23:59:59":""),a):(l={},Object(t["a"])(l,n[0]||"start",r()(e[0]).isValid()?r()(e[0]).format(u):""),Object(t["a"])(l,n[1]||"end",r()(e[1]).isValid()?r()(e[1]).format(u):""),l):{}}}}]);