812

parent 99c42838
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.0e8d5cdd4f1ea040a8eb.js></script><script type=text/javascript src=/static/js/vendor.6a18832950b1e06cbd55.js></script><script type=text/javascript src=/static/js/app.05d6168e436b6d20fd43.js></script></body><script>let el = document.getElementsByTagName("script"); <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.5314d9586a6e6b456b70.js></script><script type=text/javascript src=/static/js/vendor.6a18832950b1e06cbd55.js></script><script type=text/javascript src=/static/js/app.68d2993fc4462d11af8a.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){ el.onerror = function(a,b,c){
console.log('error:',a,b,c); console.log('error:',a,b,c);
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([22],{"+P08":function(e,t,a){var n=a("8nR9");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a("rjj0")("1d568812",n,!1,{})},"8nR9":function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.f-c > .cell {\n display: -webkit-box !important;\n display: -ms-flexbox !important;\n display: flex !important;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row;\n flex-flow: row;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/achievement/dialog.vue"],names:[],mappings:";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B",file:"dialog.vue",sourcesContent:["\n.f-c > .cell {\n display: -webkit-box !important;\n display: -ms-flexbox !important;\n display: flex !important;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row;\n flex-flow: row;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n"],sourceRoot:""}])},BrLh:function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.title[data-v-394351a5] {\n font-size: 26px;\n font-weight: 400;\n line-height: 1;\n margin: 40px;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/achievement/index.vue"],names:[],mappings:";AACA;EACE,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,aAAa;CACd",file:"index.vue",sourcesContent:["\n.title[data-v-394351a5] {\n font-size: 26px;\n font-weight: 400;\n line-height: 1;\n margin: 40px;\n}\n"],sourceRoot:""}])},Fmgy:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("CCn6"),o={props:["dialogObj"],data:function(){return{nowPage:1,total:0,limit:10,classList:[]}},components:{page:a("kmJW").a},methods:{onPageChange:function(e){this.nowPage=e,this.classListOption()},onSizeChange:function(e){this.limit=e,this.nowPage=1,this.classListOption()},classListOption:function(){var e=this;void 0==this.dialogObj.timeValue[0]&&(this.dialogObj.timeValue[0]=""),void 0==this.dialogObj.timeValue[1]&&(this.dialogObj.timeValue[1]="");var t={page:this.nowPage,limit:this.limit,start_at:this.dialogObj.timeValue[0],end_at:this.dialogObj.timeValue[1]};Object(n._106)(t,this.dialogObj.teacher_id).then(function(t){e.classList=t.list,e.total=t.total})}},watch:{"dialogObj.show":function(e){e&&this.classListOption()}}},r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.dialogObj.title,visible:e.dialogObj.show},on:{"update:visible":function(t){e.$set(e.dialogObj,"show",t)}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.classList}},[a("el-table-column",{attrs:{label:"购买人",className:"f-c",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"avatar",attrs:{src:t.row.avatar}}),e._v(" "+e._s(t.row.nickname)),a("br"),e._v("(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"交易订单号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"goods_name",label:"商品名字"}}),e._v(" "),a("el-table-column",{attrs:{prop:"money",label:"金额(元)"}}),e._v(" "),a("el-table-column",{attrs:{prop:"pay_at",label:"支付时间"}})],1),e._v(" "),a("page",{attrs:{nowPage:e.nowPage,total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}})],1)};r._withStripped=!0;var s={render:r,staticRenderFns:[]},i=s;var l=!1;var c=a("VU/8")(o,i,!1,function(e){l||(a("vtn1"),a("+P08"))},"data-v-72b08405",null);c.options.__file="src\\components\\achievement\\dialog.vue";var d={name:"index",data:function(){var e=this;return{activeName:"first",firstList:[],secondList:[],searchFirstFrom:{dateValue:[],squad:"11"},today:{text:"今天",onClick:function(){e.searchFirstFrom.dateValue=[e.formatTime(new Date),e.formatTime(new Date)],e.searchSecondFrom.dateValue=[e.formatTime(new Date),e.formatTime(new Date)]}},yesterday:{text:"昨天",onClick:function(){var t=e.formatTime(new Date((new Date).getTime()-864e5));e.searchFirstFrom.dateValue=[t,t],e.searchSecondFrom.dateValue=[t,t]}},last7Day:{text:"过去7天",onClick:function(){var t=e.formatTime(new Date((new Date).getTime()-6048e5));e.searchFirstFrom.dateValue=[t,e.formatTime(new Date)],e.searchSecondFrom.dateValue=[t,e.formatTime(new Date)]}},last30Day:{text:"过去30天",onClick:function(){var t=e.formatTime(new Date((new Date).getTime()-2592e6));e.searchFirstFrom.dateValue=[t,e.formatTime(new Date)],e.searchSecondFrom.dateValue=[t,e.formatTime(new Date)]}},searchSecondFrom:{dateValue:[],squad:"11"},dialogObj:{show:!1,title:"售卖课程",teacher_id:"",timeValue:[]}}},components:{classDialog:c.exports},mounted:function(){this.defaultTime(),this.searchFirstPage()},methods:{sortMoney:function(e,t){return Number(e.total_money)-Number(t.total_money)},handleClick:function(e){"first"===e.name?this.searchFirstPage():this.searchSecondPage()},searchFirstPage:function(){var e=this,t={};this.searchFirstFrom.dateValue&&(t={start_at:this.searchFirstFrom.dateValue[0],end_at:this.searchFirstFrom.dateValue[1]},11!=this.searchFirstFrom.squad&&(t.squad=this.searchFirstFrom.squad)),Object(n._112)(t).then(function(t){e.firstList=t})},searchSecondPage:function(){var e=this,t={};this.searchSecondFrom.dateValue&&(t={start_at:this.searchSecondFrom.dateValue[0],end_at:this.searchSecondFrom.dateValue[1]},11!=this.searchSecondFrom.squad&&(t.squad=this.searchSecondFrom.squad)),Object(n._108)(t).then(function(t){if(t.length>0){var a={cur_date:"总计",total_money:0,one_to_two:0,one_year:0,three_month:0,two_year:0,tid:0};t.forEach(function(e){a.total_money+=Number(e.total_money),a.one_to_two+=e.one_to_two,a.one_year+=e.one_year,a.three_month+=e.three_month,a.two_year+=e.two_year,a.tid+=e.tid}),a.total_money=a.total_money+".00",t.unshift(a),e.secondList=t}})},formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var n=e.getDate();return n<10&&(n="0"+n),t+"-"+a+"-"+n},defaultTime:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var o=t+"-"+a+"-01",r=t+"-"+a+"-"+n;this.searchFirstFrom.dateValue=[o,r],this.searchSecondFrom.dateValue=[o,r]},nameClick:function(e,t){this.dialogObj.teacher_id=e.tid,this.dialogObj.timeValue=void 0!=t?t:[e.cur_date,e.cur_date],this.dialogObj.show=!0}}},m=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h2",{staticClass:"title"},[e._v("班主任业绩排行")]),e._v(" "),a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"业绩总排行",name:"first"}},[a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":e.searchFirstPage},model:{value:e.searchFirstFrom.squad,callback:function(t){e.$set(e.searchFirstFrom,"squad",t)},expression:"searchFirstFrom.squad"}},[a("el-tab-pane",{key:"",attrs:{label:"总排行",name:"11"}}),e._v(" "),e._l(10,function(e){return a("el-tab-pane",{key:e,attrs:{label:"T"+e,name:e.toString()}})})],2),e._v(" "),a("el-form",{ref:"searchFirstFrom",attrs:{inline:"",model:e.searchFirstFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]},"value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.searchFirstPage},model:{value:e.searchFirstFrom.dateValue,callback:function(t){e.$set(e.searchFirstFrom,"dateValue",t)},expression:"searchFirstFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchFirstPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.firstList}},[a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.nameClick(t.row,e.searchFirstFrom.dateValue)}}},[e._v("\n "+e._s(t.row.teacher_name)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":e.sortMoney,sortable:!0}}),e._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"one_to_two",label:"续课",sortable:""}})],1)],1),e._v(" "),a("el-tab-pane",{attrs:{label:"业绩按天排行",name:"second"}},[a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":e.searchSecondPage},model:{value:e.searchSecondFrom.squad,callback:function(t){e.$set(e.searchSecondFrom,"squad",t)},expression:"searchSecondFrom.squad"}},[a("el-tab-pane",{key:"",attrs:{label:"总排行",name:"11"}}),e._v(" "),e._l(10,function(e){return a("el-tab-pane",{key:e,attrs:{label:"T"+e,name:e.toString()}})})],2),e._v(" "),a("el-form",{ref:"searchSecondFrom",attrs:{inline:"",model:e.searchSecondFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","value-format":"yyyy-MM-dd","picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]},"range-separator":"至",shortcuts:[],"start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.searchSecondPage},model:{value:e.searchSecondFrom.dateValue,callback:function(t){e.$set(e.searchSecondFrom,"dateValue",t)},expression:"searchSecondFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchSecondPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.secondList}},[a("el-table-column",{attrs:{prop:"cur_date",label:"时间",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.nameClick(t.row)}}},[e._v("\n "+e._s(t.row.teacher_name)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":e.sortMoney,sortable:!0}}),e._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}})],1)],1)],1),e._v(" "),a("class-dialog",{attrs:{dialogObj:e.dialogObj}})],1)};m._withStripped=!0;var u={render:m,staticRenderFns:[]},h=u;var p=!1;var b=a("VU/8")(d,h,!1,function(e){p||a("Pq+S")},"data-v-394351a5",null);b.options.__file="src\\components\\achievement\\index.vue";t.default=b.exports},"Pq+S":function(e,t,a){var n=a("BrLh");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a("rjj0")("5bcb7c41",n,!1,{})},vtn1:function(e,t,a){var n=a("w+Do");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);a("rjj0")("2243677e",n,!1,{})},"w+Do":function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.avatar[data-v-72b08405]{\r\n width: 50px;\r\n min-width: 50px;\r\n height: 50px;\r\n margin-right: 5px;\r\n border-radius: 50%;\n}\n.order[data-v-72b08405] {\r\n padding: 20px 0;\n}\r\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/achievement/dialog.vue"],names:[],mappings:";AACA;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB;AACD;EACE,gBAAgB;CACjB",file:"dialog.vue",sourcesContent:["\n.avatar[data-v-72b08405]{\r\n width: 50px;\r\n min-width: 50px;\r\n height: 50px;\r\n margin-right: 5px;\r\n border-radius: 50%;\n}\n.order[data-v-72b08405] {\r\n padding: 20px 0;\n}\r\n"],sourceRoot:""}])}});
\ No newline at end of file
webpackJsonp([33],{F5pf:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("CCn6"),o=a("zSLJ"),r=a("kmJW"),n=a("sf/l"),i=(a("NC6I"),{name:"putForward",data:function(){var e=this;return{today:{text:"今天",onClick:function(t){t.$emit("pick",[e.formatTime(new Date)+" 00:00:00",e.formatTime(new Date)+" 23:59:59"])}},yesterday:{text:"昨天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-864e5));t.$emit("pick",[a+" 00:00:00",a+" 23:59:59"])}},last30Day:{text:"过去30天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-2592e6));t.$emit("pick",[a+" 00:00:00",e.formatTime(new Date)+" 23:59:59"])}},last7Day:{text:"过去7天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-6048e5));t.$emit("pick",[a+" 00:00:00",e.formatTime(new Date)+" 23:59:59"])}},uploadHeader:{token:o.a.get("cc_token")},param_token:n.a.md5Code(),nowPage:1,total:0,limit:10,search:{key:"",status:"1",payTime:[]},liStatus:[{label:"全部",status:""},{label:"申请中",status:0},{label:"提现成功",status:1},{label:"提现失败",status:2}],tableData:[],showDialog:!1,showDesc:!1,dialogTitle:"审核",nowObj:{id:"",status:1,reason:"",desc:""},page:{current:1,pageSize:100,total:0},putForwardDialog:{show:!1,user_id:"",userLabel:"",money:0,desc:""},userList:[],rules:{userLabel:[{required:!0,message:"请选择用户",trigger:"change"}],money:[{required:!0,message:"请输入提现金额",trigger:"change"}],desc:[{required:!0,message:"请输入提现说明",trigger:"change"}]},searchFrom:{},selectUserList:[],userDialog:{show:!1,nowPage:1,total:0,limit:5}}},components:{page:r.a},filters:{moneyYuan:function(e){return e?(e/100).toFixed(2)+"元":"0元"},filterStatus:function(e){var t="";return 0===e.status?t="审核中":1===e.status?t="提现成功":2===e.status&&(t="提现失败("+e.reason+")"),t},userLabel:function(e){return e.nickname+"["+e.user_id+"]"}},mounted:function(){this.getList()},methods:{fileSuccess:function(){this.$message({message:"提交成功,请稍后刷新",type:"success"})},formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var s=e.getDate();return s<10&&(s="0"+s),t+"-"+a+"-"+s},onSizeChange:function(e){this.nowPage=1,this.limit=e,this.getList()},exportTable:function(){var e={};this.search.withdraw_no&&(e.withdraw_no=this.search.withdraw_no),this.search.out_trade_no&&(e.out_trade_no=this.search.out_trade_no),(this.search.status||0===this.search.status)&&(e.status=this.search.status),this.search.user_id&&(e.user_id=this.search.user_id),this.search.money&&(e.money=100*parseFloat(this.search.money)),Object(s._27)("/api/admin/withdraw/export",e,"提现列表")},getList:function(){var e=this,t={limit:this.limit,page:this.nowPage};this.search.withdraw_no&&(t.withdraw_no=this.search.withdraw_no),this.search.out_trade_no&&(t.out_trade_no=this.search.out_trade_no),this.search.status&&"-1"!==this.search.status&&(t.status=this.search.status),this.search.user_id&&(t.user_id=this.search.user_id),this.search.payTime&&this.search.payTime.length>0&&(t.success_start_at=this.search.payTime[0],t.success_end_at=this.search.payTime[1]),this.search.money&&(t.money=100*parseFloat(this.search.money)),Object(s._125)(t).then(function(t){e.tableData=t.list,e.total=t.total})},onSearch:function(){this.nowPage=1,this.getList()},checkMoney:function(e){this.nowObj.id=e,this.showDesc=!1,this.showDialog=!0},addDesc:function(e,t){this.nowObj.id=e,this.nowObj.desc=t,this.showDesc=!0,this.showDialog=!0},onPageChange:function(e){this.nowPage=e,this.page.current=e,this.getList()},doCallback:function(){this.nowObj.id="",this.nowObj.status=1,this.nowObj.reason="",this.nowObj.desc="",this.page.current=1,this.showDialog=!1,this.getList(),this.$message({message:"提交成功",type:"success"})},onSave:function(e){var t=this;if(e){var a={desc:this.nowObj.desc};if(""===a.desc||null==a.desc)return this.$message.error("请填写备注"),!1;Object(s._19)(this.nowObj.id,"withdraw",a).then(function(e){t.doCallback()})}else{var o={reason:this.nowObj.reason,status:this.nowObj.status};if((""===o.reason||null==o.reason)&&2===o.status)return this.$message.error("请填写失败理由"),!1;o.reason="",Object(s._190)(this.nowObj.id,o).then(function(e){t.doCallback()})}},manualPutForward:function(){this.putForwardDialog.show=!0,this.putForwardDialog.user_id="",this.putForwardDialog.userLabel="",this.putForwardDialog.money=0,this.putForwardDialog.desc="",this.getUserList()},getUserList:function(){var e=this,t={limit:this.userDialog.limit,page:this.userDialog.nowPage};this.searchFrom.userId&&(t.user_id=this.searchFrom.userId),this.searchFrom.nickName&&(t.nickname=this.searchFrom.nickName),this.searchFrom.mobile&&(t.mobile=this.searchFrom.mobile),Object(s._118)(t).then(function(t){e.userList=t.list,e.userDialog.total=t.total})},confirmPutForward:function(){var e=this,t={user_id:this.putForwardDialog.user_id,money:this.putForwardDialog.money,desc:this.putForwardDialog.desc};this.$refs.refPutForward.validate(function(a){if(!a)return!1;e.$confirm("确定保存?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(s._137)(t).then(function(t){e.$message({type:"success",message:"保存成功"}),e.getList(),e.putForwardDialog.show=!1})})})},handleSelectionChange:function(e){this.selectUserList=e},onUserPageChange:function(e){this.userDialog.nowPage=e,this.getUserList()},onUserSizeChange:function(e){this.userDialog.limit=e,this.userDialog.nowPage=1,this.getUserList()},onAdd:function(){0!==this.selectUserList.length?1===this.selectUserList.length?(this.putForwardDialog.userLabel=this.selectUserList[0].nickname+"["+this.selectUserList[0].user_id+"]",this.putForwardDialog.user_id=this.selectUserList[0].user_id,this.userDialog.show=!1):this.$message({type:"error",message:"只能选择一个用户!"}):this.$message({type:"error",message:"请选择用户!"})}}}),l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"putForward"},[a("el-form",{staticClass:"demo-form-inline",attrs:{model:e.search,inline:"","label-width":"80px"}},[a("el-form-item",{attrs:{label:"提现单号"}},[a("el-input",{attrs:{placeholder:"提现单号"},model:{value:e.search.withdraw_no,callback:function(t){e.$set(e.search,"withdraw_no",t)},expression:"search.withdraw_no"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"订单号"}},[a("el-input",{attrs:{placeholder:"订单号"},model:{value:e.search.out_trade_no,callback:function(t){e.$set(e.search,"out_trade_no",t)},expression:"search.out_trade_no"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{attrs:{placeholder:"用户ID"},model:{value:e.search.user_id,callback:function(t){e.$set(e.search,"user_id",t)},expression:"search.user_id"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"提现金额"}},[a("el-input",{attrs:{placeholder:"提现金额"},model:{value:e.search.money,callback:function(t){e.$set(e.search,"money",t)},expression:"search.money"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"提现时间"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","value-format":"yyyy-MM-dd","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"],"picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]}},model:{value:e.search.payTime,callback:function(t){e.$set(e.search,"payTime",t)},expression:"search.payTime"}})],1),e._v(" "),e.$store.state.import?a("el-form-item",{attrs:{label:""}},[a("el-upload",{attrs:{"show-file-list":!1,onSuccess:e.fileSuccess,headers:e.uploadHeader,data:{param_token:e.param_token},action:"/api/admin/pay/users/import "}},[a("el-button",{attrs:{type:"primary",plain:""}},[e._v("批量提现")])],1)],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.$store.state.export?a("el-button",{attrs:{type:"primary"},on:{click:e.exportTable}},[e._v("导出")]):e._e(),e._v(" "),e.$store.state.import?a("el-button",{attrs:{type:"primary"},on:{click:e.manualPutForward}},[e._v("手动提现")]):e._e()],1)],1),e._v(" "),a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":e.onSearch},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[a("el-tab-pane",{attrs:{label:"提现成功",name:"1"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"申请中",name:"0"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"申请失败",name:"2"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"全部",name:"-1"}})],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"",fixed:""}},[a("el-table-column",{attrs:{prop:"withdraw_no",label:"提现单号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"订单号"}}),e._v(" "),a("el-table-column",{attrs:{label:"用户",width:"200",className:"f-c"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"avatar",attrs:{src:t.row.user_avatar}}),e._v(" "+e._s(t.row.user_nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"user_mobile",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{label:"提现金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("moneyYuan")(t.row.money))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提现状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{class:{status:!0,red:2===t.row.status,green:1===t.row.status}},[e._v("\n "+e._s(e._f("filterStatus")(t.row))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提现成功时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.success_at)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提现时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.created_at)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"备注"}}),e._v(" "),e.$store.state.readonly?e._e():a("el-table-column",{attrs:{label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.checkMoney(t.row.id,t.row.desc)}}},[e._v("\n 审核\n ")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.addDesc(t.row.id,t.row.desc)}}},[e._v("\n 添加备注\n ")])]}}])})],1),e._v(" "),a("page",{attrs:{nowPage:e.nowPage,total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}}),e._v(" "),e.showDialog?a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.showDialog},on:{"update:visible":function(t){e.showDialog=t}}},[a("el-form",{ref:"saveuser",attrs:{model:e.nowObj,"label-width":"70px"}},[e.showDesc?e._e():a("el-form-item",{attrs:{label:"订单状态"}},[[a("el-radio-group",{model:{value:e.nowObj.status,callback:function(t){e.$set(e.nowObj,"status",t)},expression:"nowObj.status"}},[a("el-radio",{attrs:{label:1}},[e._v("提现成功")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("提现失败")])],1)]],2),e._v(" "),2!==e.nowObj.status||e.showDesc?e._e():a("el-form-item",{attrs:{label:"失败理由"}},[a("el-input",{attrs:{type:"textarea",rows:"3","auto-complete":"off"},model:{value:e.nowObj.reason,callback:function(t){e.$set(e.nowObj,"reason",t)},expression:"nowObj.reason"}})],1),e._v(" "),e.showDesc?a("el-form-item",{attrs:{label:"备注信息"}},[a("el-input",{attrs:{type:"textarea",rows:"3","auto-complete":"off"},model:{value:e.nowObj.desc,callback:function(t){e.$set(e.nowObj,"desc",t)},expression:"nowObj.desc"}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.onSave(e.showDesc)}}},[e._v("保 存")]),e._v(" "),a("el-button",{on:{click:function(t){e.showDialog=!1}}},[e._v("取 消")])],1)],1):e._e(),e._v(" "),e.putForwardDialog.show?a("el-dialog",{attrs:{title:"手动提现",visible:e.putForwardDialog.show},on:{"update:visible":function(t){e.$set(e.putForwardDialog,"show",t)}}},[a("el-form",{ref:"refPutForward",attrs:{model:e.putForwardDialog,rules:e.rules,"label-width":"80px"}},[a("el-row",[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"用户",prop:"userLabel"}},[a("el-input",{attrs:{readonly:"",placeholder:"请选择用户"},model:{value:e.putForwardDialog.userLabel,callback:function(t){e.$set(e.putForwardDialog,"userLabel",t)},expression:"putForwardDialog.userLabel"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:4}},[a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:function(t){e.userDialog.show=!0}}},[e._v("选择用户")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"提现金额",prop:"money"}},[a("el-input-number",{attrs:{min:0,placeholder:"提现金额"},model:{value:e.putForwardDialog.money,callback:function(t){e.$set(e.putForwardDialog,"money",t)},expression:"putForwardDialog.money"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"提现说明",prop:"desc"}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:e.putForwardDialog.desc,callback:function(t){e.$set(e.putForwardDialog,"desc",t)},expression:"putForwardDialog.desc"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.putForwardDialog.show=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.confirmPutForward}},[e._v("确 定")])],1),e._v(" "),a("el-dialog",{attrs:{modal:!1,visible:e.userDialog.show},on:{"update:visible":function(t){e.$set(e.userDialog,"show",t)}}},[a("el-form",{attrs:{"label-width":"90px"}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"ID"}},[a("el-input",{model:{value:e.searchFrom.userId,callback:function(t){e.$set(e.searchFrom,"userId",t)},expression:"searchFrom.userId"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"昵称"}},[a("el-input",{model:{value:e.searchFrom.nickName,callback:function(t){e.$set(e.searchFrom,"nickName",t)},expression:"searchFrom.nickName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"电话"}},[a("el-input",{model:{value:e.searchFrom.mobile,callback:function(t){e.$set(e.searchFrom,"mobile",t)},expression:"searchFrom.mobile"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:8,offset:16}},[a("el-form-item",[a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",plain:""},on:{click:e.getUserList}},[e._v("搜索")])],1)],1)],1)],1),e._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.userList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{className:"f-c",label:"用户"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticStyle:{"margin-right":"5px",width:"50px",height:"50px","border-radius":"50px"},attrs:{src:t.row.avatar}}),e._v(e._s(t.row.nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"mobile",label:"手机号"}})],1),e._v(" "),a("page",{attrs:{total:e.userDialog.total,limit:e.userDialog.limit},on:{pageChange:e.onUserPageChange,sizeChange:e.onUserSizeChange}}),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.userDialog.show=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onAdd}},[e._v("确 定")])],1)],1)],1):e._e()],1)};l._withStripped=!0;var c={render:l,staticRenderFns:[]},u=c;var d=!1;var h=a("VU/8")(i,u,!1,function(e){d||(a("teZk"),a("k6C/"))},"data-v-5621cbc8",null);h.options.__file="src\\components\\putForward\\index.vue";t.default=h.exports},JJOv:function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.f-c > .cell {\n display: -webkit-box !important;\n display: -ms-flexbox !important;\n display: flex !important;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row;\n flex-flow: row;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/putForward/index.vue"],names:[],mappings:";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B",file:"index.vue",sourcesContent:["\n.f-c > .cell {\n display: -webkit-box !important;\n display: -ms-flexbox !important;\n display: flex !important;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row;\n flex-flow: row;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n"],sourceRoot:""}])},"k6C/":function(e,t,a){var s=a("JJOv");"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);a("rjj0")("33054797",s,!1,{})},teZk:function(e,t,a){var s=a("wJWK");"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);a("rjj0")("e8a70c02",s,!1,{})},wJWK:function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.putForward[data-v-5621cbc8] {\n padding: 20px 0;\n}\n.status[data-v-5621cbc8]{\n color: #e9a038;\n}\n.status.red[data-v-5621cbc8]{\n color: #c30005;\n}\n.status.green[data-v-5621cbc8]{\n color: #00ac00;\n}\n.avatar[data-v-5621cbc8]{\n width: 50px;\n margin-right: 5px;\n border-radius: 50%;\n height: 50px;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/putForward/index.vue"],names:[],mappings:";AACA;EACE,gBAAgB;CACjB;AACD;EACE,eAAe;CAChB;AACD;EACE,eAAe;CAChB;AACD;EACE,eAAe;CAChB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,mBAAmB;EACnB,aAAa;CACd",file:"index.vue",sourcesContent:["\n.putForward[data-v-5621cbc8] {\n padding: 20px 0;\n}\n.status[data-v-5621cbc8]{\n color: #e9a038;\n}\n.status.red[data-v-5621cbc8]{\n color: #c30005;\n}\n.status.green[data-v-5621cbc8]{\n color: #00ac00;\n}\n.avatar[data-v-5621cbc8]{\n width: 50px;\n margin-right: 5px;\n border-radius: 50%;\n height: 50px;\n}\n"],sourceRoot:""}])}});
\ No newline at end of file
webpackJsonp([71],{Cwy8:function(e,n,t){var o=t("LgZj");"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);t("rjj0")("bf21a3b6",o,!1,{})},IcnI:function(e,n,t){"use strict";var o=t("NYxO"),a=t("lRwf"),r=t.n(a),i=t("zSLJ"),u={setToken:function(e,n){e.token=n,i.a.set("cc_token",n)},setUserName:function(e,n){e.userName=n,i.a.set("cc_user_name",n)},setPermission:function(e,n){e.progressList=n,localStorage.setItem("permission",JSON.stringify(n))},setMenu:function(e,n){e.menuList=n},readonly:function(e,n){e.readonly=n},deletePermission:function(e,n){e.deletePermission=n},distribution:function(e,n){e.distribution=n},classManage:function(e,n){e.classManage=n},classManageUnlimited:function(e,n){e.classManageUnlimited=n},classTakeUnlimited:function(e,n){e.classTakeUnlimited=n},promoter:function(e,n){e.promoter=n},mainCanShow:function(e){e.mainLoad=!1},mainUnShow:function(e){e.mainLoad=!0},changeParentRouter:function(e,n){e.menuList.find(function(e){return e.name===n.name}).routerName=n.to.name},progress:function(e,n){switch(n.type){case"new":e.progressList.push({num:0,id:n.id});break;case"change":e.progressList.find(function(e){return e.id===n.id}).num=n.num;break;case"delete":e.progressList.find(function(e){return e.id===n.id})}}};r.a.use(o.a);n.a=new o.a.Store({state:{show:!1,userName:"",token:"",export:!1,orderRefund:!1,permission:!1,readonly:!0,deletePermission:!1,distribution:!1,classManage:!1,classManageUnlimited:!1,classTakeUnlimited:!1,import:!1,promoter:!1,mainLoad:!0,menuList:[],menuType:!1,nowTab:"first",progressList:[],openedTab:[{value:"首页",routerName:"first",name:"first",delNo:!0,path:"/index"}]},mutations:u,actions:{setToken:function(e,n){(0,e.commit)("setToken",n)},setUserName:function(e,n){(0,e.commit)("setUserName",n)},setProgress:function(e,n){(0,e.commit)("progress",n)},setPermission:function(e,n){(0,e.commit)("setPermission",n)},setMenu:function(e,n){(0,e.commit)("setMenu",n)},readonly:function(e,n){(0,e.commit)("readonly",n)},deletePermission:function(e,n){(0,e.commit)("deletePermission",n)},distribution:function(e,n){(0,e.commit)("distribution",n)},classManage:function(e,n){(0,e.commit)("classManage",n)},classManageUnlimited:function(e,n){(0,e.commit)("classManageUnlimited",n)},classTakeUnlimited:function(e,n){(0,e.commit)("classTakeUnlimited",n)},promoter:function(e,n){(0,e.commit)("promoter",n)}}})},LgZj:function(e,n,t){(e.exports=t("FZ+f")(!0)).push([e.i,'\n#app {\r\n height: 100%;\n}\nhtml,\r\nbody {\r\n height: 100%;\r\n margin: 0;\r\n padding: 0;\n}\n.el-collapse-item__arrow {\r\n margin-left: 0;\n}\n.fl {\r\n float: left;\n}\n.fr {\r\n float: right;\n}\n.clearfix {\r\n *zoom: 1;\n}\n.clearfix:after {\r\n content: "";\r\n display: block;\r\n height: 0;\r\n visibility: hidden;\r\n clear: both;\n}\n.page-div {\r\n padding-top: 20px;\n}\n.cell-link {\r\n /*color: #409EFF;*/\r\n text-decoration: underline;\r\n cursor: pointer;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\n}\r\n/* #app .el-main .menu-block{\r\n height: 170vh;\r\n} */\r\n',"",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/App.vue"],names:[],mappings:";AACA;EACE,aAAa;CACd;AACD;;EAEE,aAAa;EACb,UAAU;EACV,WAAW;CACZ;AACD;EACE,eAAe;CAChB;AACD;EACE,YAAY;CACb;AACD;EACE,aAAa;CACd;AACD;GACE,QAAS;CACV;AACD;EACE,YAAY;EACZ,eAAe;EACf,UAAU;EACV,mBAAmB;EACnB,YAAY;CACb;AACD;EACE,kBAAkB;CACnB;AACD;EACE,mBAAmB;EACnB,2BAA2B;EAC3B,gBAAgB;EAChB,0BAA0B;KACvB,uBAAuB;MACtB,sBAAsB;UAClB,kBAAkB;CAC3B;AACD;;IAEI",file:"App.vue",sourcesContent:['\n#app {\r\n height: 100%;\n}\nhtml,\r\nbody {\r\n height: 100%;\r\n margin: 0;\r\n padding: 0;\n}\n.el-collapse-item__arrow {\r\n margin-left: 0;\n}\n.fl {\r\n float: left;\n}\n.fr {\r\n float: right;\n}\n.clearfix {\r\n *zoom: 1;\n}\n.clearfix:after {\r\n content: "";\r\n display: block;\r\n height: 0;\r\n visibility: hidden;\r\n clear: both;\n}\n.page-div {\r\n padding-top: 20px;\n}\n.cell-link {\r\n /*color: #409EFF;*/\r\n text-decoration: underline;\r\n cursor: pointer;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\n}\r\n/* #app .el-main .menu-block{\r\n height: 170vh;\r\n} */\r\n'],sourceRoot:""}])},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=[{name:"",value:"教研管理",icon:"icon-material",list:[{value:"教材列表",routerName:"resources",path:"/resources",cover:"1-1",router:{path:"/resources",name:"resources",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("z5EG")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"商品课程",icon:"icon-shangpin1",list:[{value:"课程列表",routerName:"lesson",path:"/lesson",cover:"2-1",router:{path:"/lesson",name:"lesson",component:function(e){return Promise.all([t.e(0),t.e(13)]).then(function(){var n=[t("AbSL")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"商品列表",routerName:"shop",path:"/shop",cover:"4-1",router:{path:"/shop",name:"shop",component:function(e){return Promise.all([t.e(0),t.e(16)]).then(function(){var n=[t("1djJ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"期数管理",icon:"icon-kecheng",list:[{value:"期数列表",routerName:"periods",path:"/periods",cover:"2-2",router:{path:"/periods",name:"periods",component:function(e){return Promise.all([t.e(0),t.e(23)]).then(function(){var n=[t("ayGs")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"班级列表",routerName:"class",path:"/class",cover:"2-3",router:{path:"/class",name:"class",component:function(e){return Promise.all([t.e(0),t.e(17)]).then(function(){var n=[t("OX9A")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"市场招生统计",routerName:"marketStatistics",path:"/marketStatistics",cover:"2-5",router:{path:"/marketStatistics",name:"marketStatistics",component:function(e){return Promise.all([t.e(0),t.e(61)]).then(function(){var n=[t("SKyX")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"不上课日期",routerName:"noLesson",path:"/noLesson",cover:"2-4",router:{path:"/noLesson",name:"noLesson",component:function(e){return Promise.all([t.e(0),t.e(32)]).then(function(){var n=[t("sg/1")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"自化课列表",routerName:"autoClass",path:"/autoClass",cover:"2-6",router:{path:"/autoClass",name:"autoClass",component:function(e){return Promise.all([t.e(0),t.e(36)]).then(function(){var n=[t("f9Sx")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"销售管理",icon:"icon-laoshi",list:[{value:"教师列表",routerName:"teacher",path:"/teacher",cover:"3-1",router:{path:"/teacher",name:"teacher",component:function(e){return Promise.all([t.e(0),t.e(2)]).then(function(){var n=[t("Y0Vi")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"月课订单列表",routerName:"monthOrder",path:"/monthOrder",cover:"5-10",router:{path:"/monthOrder",name:"monthOrder",component:function(e){return Promise.all([t.e(0),t.e(5)]).then(function(){var n=[t("xdzM")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"月课订单统计",routerName:"monthOrderCount",path:"/monthOrderCount",cover:"5-12",router:{path:"/monthOrderCount",name:"monthOrderCount",component:function(e){return Promise.all([t.e(0),t.e(64)]).then(function(){var n=[t("v/LD")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"退款列表",routerName:"refund",path:"/refund",cover:"5-2",router:{path:"/refund",name:"refund",component:function(e){return Promise.all([t.e(0),t.e(41)]).then(function(){var n=[t("89rD")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"业绩排行",routerName:"achievement",path:"/achievement",cover:"5-7",router:{path:"/achievement",name:"achievement",component:function(e){return Promise.all([t.e(0),t.e(22)]).then(function(){var n=[t("Fmgy")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"话术列表",routerName:"talkingSkill",path:"/talkingSkill",cover:"11-6",router:{path:"/talkingSkill",name:"talkingSkill",component:function(e){return Promise.all([t.e(0),t.e(19)]).then(function(){var n=[t("CUAv")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"用户管理",icon:"icon-laoshi",list:[{value:"用户列表",routerName:"user",path:"/user",cover:"3-2",router:{path:"/user",name:"user",component:function(e){return Promise.all([t.e(0),t.e(6)]).then(function(){var n=[t("jFLA")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"老系统用户列表",routerName:"oldUser",path:"/oldUser",cover:"3-3",router:{path:"/oldUser",name:"oldUser",component:function(e){return Promise.all([t.e(0),t.e(35)]).then(function(){var n=[t("K2yr")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"用户积分列表",routerName:"integral",path:"/integral",cover:"3-4",router:{path:"/integral",name:"integral",component:function(e){return Promise.all([t.e(0),t.e(11)]).then(function(){var n=[t("NDyu")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"绑定子账号列表",routerName:"subList",path:"/subList",cover:"3-5",router:{path:"/subList",name:"subList",component:function(e){return Promise.all([t.e(0),t.e(27)]).then(function(){var n=[t("L5jB")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"订单管理",icon:"icon-dingdan",list:[{value:"日课订单列表",routerName:"order",path:"/order",cover:"5-1",router:{path:"/order",name:"order",component:function(e){return Promise.all([t.e(0),t.e(8)]).then(function(){var n=[t("2qmY")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"提现列表",routerName:"putForward",path:"/putForward",cover:"5-3",router:{path:"/putForward",name:"putForward",component:function(e){return Promise.all([t.e(0),t.e(33)]).then(function(){var n=[t("F5pf")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"发货管理",routerName:"consignment",path:"/consignment",cover:"5-4",router:{path:"/consignment",name:"consignment",component:function(e){return t.e(60).then(function(){var n=[t("usUK")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"订单统计",routerName:"orderCount",path:"/orderCount",cover:"5-5",router:{path:"/orderCount",name:"orderCount",component:function(e){return Promise.all([t.e(0),t.e(63)]).then(function(){var n=[t("s7i+")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"日课订单统计",routerName:"dayOrderCount",path:"/dayOrderCount",cover:"5-11",router:{path:"/dayOrderCount",name:"dayOrderCount",component:function(e){return Promise.all([t.e(0),t.e(53)]).then(function(){var n=[t("mjLz")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"优惠券列表",routerName:"coupon",path:"/coupon",cover:"5-6",router:{path:"/coupon",name:"coupon",component:function(e){return Promise.all([t.e(0),t.e(29)]).then(function(){var n=[t("WvRy")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"扫码入课列表",routerName:"notBuyClass",path:"/notBuyClass",cover:"5-8",router:{path:"/notBuyClass",name:"notBuyClass",component:function(e){return Promise.all([t.e(0),t.e(24)]).then(function(){var n=[t("E6Zo")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"外部订单列表",routerName:"yunji",path:"/yunji",cover:"5-9",router:{path:"/yunji",name:"yunji",component:function(e){return Promise.all([t.e(0),t.e(18)]).then(function(){var n=[t("69L+")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"兑换码管理",routerName:"exchange",path:"/exchange",cover:"5-13",router:{path:"/exchange",name:"exchange",component:function(e){return Promise.all([t.e(0),t.e(14)]).then(function(){var n=[t("CvLZ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"数据管理",icon:"icon-shezhi",list:[{value:"年课转化来源",routerName:"sourceConversionList",path:"/sourceConversionList",cover:"9-9",router:{path:"/sourceConversionList",name:"sourceConversionList",component:function(e){return Promise.all([t.e(0),t.e(48)]).then(function(){var n=[t("8toi")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"市场招生列表",routerName:"marketEnrollmentConversionList",path:"/marketEnrollmentConversionList",cover:"9-8",router:{path:"/marketEnrollmentConversionList",name:"marketEnrollmentConversionList",component:function(e){return Promise.all([t.e(0),t.e(67)]).then(function(){var n=[t("lWjU")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"渠道转化数据",routerName:"channelConversionList",path:"/channelConversionList",cover:"9-3",router:{path:"/channelConversionList",name:"channelConversionList",component:function(e){return Promise.all([t.e(0),t.e(51)]).then(function(){var n=[t("h0PA")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"渠道分商品转化数据",routerName:"channelGoodsConversionList",path:"/channelGoodsConversionList",cover:"9-2",router:{path:"/channelGoodsConversionList",name:"channelGoodsConversionList",component:function(e){return Promise.all([t.e(0),t.e(68)]).then(function(){var n=[t("G/kT")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"期数转化数据",routerName:"periodsConversionList",path:"/periodsConversionList",cover:"9-4",router:{path:"/periodsConversionList",name:"periodsConversionList",component:function(e){return Promise.all([t.e(0),t.e(43)]).then(function(){var n=[t("+Xua")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"销售小组数据",routerName:"squadConversionList",path:"/squadConversionList",cover:"9-5",router:{path:"/squadConversionList",name:"squadConversionList",component:function(e){return Promise.all([t.e(0),t.e(45)]).then(function(){var n=[t("M7X6")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"班主任转化数据",routerName:"teacherConversionList",path:"/teacherConversionList",cover:"9-6",router:{path:"/teacherConversionList",name:"teacherConversionList",component:function(e){return Promise.all([t.e(0),t.e(59)]).then(function(){var n=[t("6yV8")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"各期数班主任转化数据",routerName:"teacherPeriodsConversionList",path:"/teacherPeriodsConversionList",cover:"9-7",router:{path:"/teacherPeriodsConversionList",name:"teacherPeriodsConversionList",component:function(e){return Promise.all([t.e(0),t.e(55)]).then(function(){var n=[t("TtuZ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"明细数据列表",routerName:"channelTransList",path:"/channelTransList",cover:"9-1",router:{path:"/channelTransList",name:"channelTransList",component:function(e){return Promise.all([t.e(0),t.e(56)]).then(function(){var n=[t("XXYb")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"实物管理",icon:"icon-shu",list:[{value:"单品列表",routerName:"single",path:"/single",cover:"6-1",router:{path:"/single",name:"single",component:function(e){return Promise.all([t.e(0),t.e(21)]).then(function(){var n=[t("B31M")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"盒子列表",routerName:"box",path:"/box",cover:"6-2",router:{path:"/box",name:"box",component:function(e){return Promise.all([t.e(0),t.e(15)]).then(function(){var n=[t("+vCD")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"待发货列表",routerName:"logistics",path:"/logistics",cover:"6-3",router:{path:"/logistics",name:"logistics",component:function(e){return Promise.all([t.e(0),t.e(25)]).then(function(){var n=[t("eYh/")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"公众号",icon:"icon-ai-weixin",list:[{value:"自动回复",routerName:"focusReply",path:"/focusReply",cover:"7-1",router:{path:"/focusReply",name:"focusReply",component:function(e){return Promise.all([t.e(0),t.e(20)]).then(function(){var n=[t("CK6D")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"关键词回复",routerName:"autoReply",path:"/autoReply",cover:"7-2",router:{path:"/autoReply",name:"autoReply",component:function(e){return Promise.all([t.e(0),t.e(26)]).then(function(){var n=[t("65NY")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"公众号菜单",routerName:"weChat",path:"/weChat",cover:"7-3",router:{path:"/weChat",name:"weChat",component:function(e){return Promise.all([t.e(0),t.e(31)]).then(function(){var n=[t("q5av")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"素材管理",routerName:"weChatResource",path:"/weChatResource",cover:"7-4",router:{path:"/weChatResource",name:"weChatResource",component:function(e){return Promise.all([t.e(0),t.e(37)]).then(function(){var n=[t("Xhqp")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"二维码管理",routerName:"qrcode",path:"/qrcode",cover:"7-6",router:{path:"/qrcode",name:"qrcode",component:function(e){return Promise.all([t.e(0),t.e(10)]).then(function(){var n=[t("lNiQ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"群发助手",routerName:"groupSend",path:"/groupSend",cover:"7-7",router:{path:"/groupSend",name:"groupSend",component:function(e){return Promise.all([t.e(0),t.e(9)]).then(function(){var n=[t("oerw")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"关注取关统计",routerName:"watchCount",path:"/watchCount",cover:"7-8",router:{path:"/watchCount",name:"watchCount",component:function(e){return Promise.all([t.e(0),t.e(57)]).then(function(){var n=[t("Dq6T")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"微信统计",routerName:"weChatStatistics",path:"/weChatStatistics",cover:"7-10",router:{path:"/weChatStatistics",name:"weChatStatistics",component:function(e){return Promise.all([t.e(0),t.e(66)]).then(function(){var n=[t("5t3x")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"测试",routerName:"test",path:"/test",cover:"7-11",router:{path:"/test",name:"test",component:function(e){return Promise.all([t.e(0),t.e(30)]).then(function(){var n=[t("9ZSL")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"系统管理",icon:"icon-xitongquanxian",list:[{value:"首页管理",routerName:"banner",path:"/banner",cover:"10-5",router:{path:"/banner",name:"banner",component:function(e){return Promise.all([t.e(0),t.e(28)]).then(function(){var n=[t("CGL6")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"外部投放管理",routerName:"externalLaunch",path:"/externalLaunch",cover:"10-6",router:{path:"/externalLaunch",name:"externalLaunch",component:function(e){return Promise.all([t.e(0),t.e(62)]).then(function(){var n=[t("NrkQ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"来源码管理",routerName:"sourceManage",path:"/sourceManage",cover:"10-1",router:{path:"/sourceManage",name:"sourceManage",component:function(e){return Promise.all([t.e(0),t.e(34)]).then(function(){var n=[t("/ubI")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"短信发送记录",routerName:"smsRecord",path:"/smsRecord",cover:"10-2",router:{path:"/smsRecord",name:"smsRecord",component:function(e){return Promise.all([t.e(0),t.e(39)]).then(function(){var n=[t("qjS+")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"设备监管记录",routerName:"staffRecord",path:"/staffRecord",cover:"10-7",router:{path:"/staffRecord",name:"staffRecord",component:function(e){return Promise.all([t.e(0),t.e(46)]).then(function(){var n=[t("4tei")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"员工管理",routerName:"staff",path:"/staff",cover:"10-4",router:{path:"/staff",name:"staff",component:function(e){return Promise.all([t.e(0),t.e(40)]).then(function(){var n=[t("eqK0")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"系统配置",routerName:"config",path:"/config",cover:"10-3",router:{path:"/config",name:"config",component:function(e){return Promise.all([t.e(0),t.e(69)]).then(function(){var n=[t("TPCG")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"后台管理",icon:"icon-shezhi",list:[{value:"账号管理",routerName:"admin",path:"/admin",cover:"8-1",router:{path:"/admin",name:"admin",component:function(e){return Promise.all([t.e(0),t.e(47)]).then(function(){var n=[t("+jTk")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"角色管理",routerName:"role",path:"/role",cover:"8-2",router:{path:"/role",name:"role",component:function(e){return Promise.all([t.e(0),t.e(49)]).then(function(){var n=[t("Vt1u")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"菜单管理",routerName:"menu",path:"/menu",cover:"8-3",router:{path:"/menu",name:"menu",component:function(e){return Promise.all([t.e(0),t.e(44)]).then(function(){var n=[t("aTXs")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"系统配置",routerName:"sysConfig",path:"/sysConfig",cover:"8-4",router:{path:"/sysConfig",name:"sysConfig",component:function(e){return Promise.all([t.e(0),t.e(38)]).then(function(){var n=[t("gaNG")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"操作日志",routerName:"adminLog",path:"/adminLog",cover:"8-5",router:{path:"/adminLog",name:"adminLog",component:function(e){return Promise.all([t.e(0),t.e(65)]).then(function(){var n=[t("WZgi")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]}],a={name:"App",data:function(){return{}},mounted:function(){var e=this;if(window.location.href.indexOf("login")<0){var n=this.$store.state.progressList;console.log(this.$store.state);var a=[];this.$router.options.routes[0].children=[];var r={path:"/userDetail/:id",name:"userDetail",component:function(e){return Promise.all([t.e(0),t.e(12)]).then(function(){var n=[t("9PRC")];e.apply(null,n)}.bind(this)).catch(t.oe)}},i={path:"/teacher/:id",name:"teacherDetail",component:function(e){return Promise.all([t.e(0),t.e(4)]).then(function(){var n=[t("hFUZ")];e.apply(null,n)}.bind(this)).catch(t.oe)}};o.forEach(function(t){var o=!1,u=[];t.list.forEach(function(t){var a=n.find(function(e){return e.cover===t.cover});a&&(t.router.meta={},t.router.meta.readonly=!!a.readonly,t.router.meta.delete=!!a.delete,t.router.meta.export=!!a.export,t.router.meta.refund=!!a.refund,t.router.meta.distribution=!!a.distribution,t.router.meta.classManage=!!a.classManage,t.router.meta.classManageUnlimited=!!a.classManageUnlimited,t.router.meta.classTakeUnlimited=!!a.classTakeUnlimited,t.router.meta.promoter=!!a.promoter,t.router.meta.import=!!a.import,u.push(t),"3-1"===a.cover&&(i.meta={},i.meta.readonly=a.readonly,i.meta.delete=!!a.delete,e.$router.options.routes[0].children.push(i)),"3-2"===a.cover&&(r.meta={},r.meta.readonly=a.readonly,r.meta.delete=!!a.delete,e.$router.options.routes[0].children.push(r)),e.$router.options.routes[0].children.push(t.router),o=!0)}),o&&(t.list=u,a.push(t))}),this.$router.addRoutes([this.$router.options.routes[0]]),this.$store.dispatch("setMenu",a)}}},r=function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)};r._withStripped=!0;var i={render:r,staticRenderFns:[]},u=i;var c=!1;var s=t("VU/8")(a,u,!1,function(e){c||t("Cwy8")},null,null);s.options.__file="src\\App.vue";var l=s.exports,h=t("lRwf"),m=t.n(h),p=t("YaEn"),d=t("IcnI"),v=t("zL8q"),f=t.n(v);m.a.use(f.a),m.a.config.productionTip=!1,new m.a({el:"#app",store:d.a,router:p.a,components:{App:l},template:"<App/>"})},OMN4:function(e,n){e.exports=axios},YaEn:function(e,n,t){"use strict";var o=t("IcnI"),a=t("/ocq"),r=t("zSLJ"),i=new a.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([t.e(0),t.e(7)]).then(function(){var n=[t("jHcp")];e.apply(null,n)}.bind(this)).catch(t.oe)},redirect:{name:"first"},children:[{path:"",name:"first",component:function(e){return t.e(42).then(function(){var n=[t("sJm1")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]},{path:"/login",name:"login",component:function(e){return Promise.all([t.e(0),t.e(54)]).then(function(){var n=[t("0HId")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/register",name:"register",component:function(e){return Promise.all([t.e(0),t.e(52)]).then(function(){var n=[t("90Fj")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/outManager",name:"outManager",component:function(e){return Promise.all([t.e(0),t.e(50)]).then(function(){var n=[t("hLMI")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/upload",name:"upload",component:function(e){return Promise.all([t.e(0),t.e(58)]).then(function(){var n=[t("iPJD")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/newLesson",name:"newLesson",component:function(e){return Promise.all([t.e(0),t.e(3)]).then(function(){var n=[t("4t0V")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}}]});i.beforeEach(function(e,n,t){if(o.a.commit("mainCanShow"),r.a.get("cc_token")&&(o.a.dispatch("setToken",r.a.get("cc_token")),o.a.dispatch("setPermission",JSON.parse(localStorage.getItem("permission"))),null!==r.a.get("cc_user_name")&&o.a.dispatch("setUserName",r.a.get("cc_user_name"))),o.a.state.nowTab=e.name,console.log(e),e.matched.length>1&&"first"!==e.name){for(var a=void 0,i=0;i<o.a.state.menuList.length;i++)for(var u=o.a.state.menuList[i],c=0;c<u.list.length;c++){var s=u.list[c];s.path===e.path&&(a=s)}o.a.state.openedTab.indexOf(a)<0&&o.a.state.openedTab.push(a)}if(e.meta.readonly?o.a.dispatch("readonly",!0):o.a.dispatch("readonly",!1),o.a.state.orderRefund=e.meta.refund,o.a.state.export=e.meta.export,o.a.state.distribution=e.meta.distribution,o.a.state.classManage=e.meta.classManage,o.a.state.import=e.meta.import,o.a.dispatch("promoter",e.meta.promoter),o.a.dispatch("classManageUnlimited",e.meta.classManageUnlimited),o.a.dispatch("classTakeUnlimited",e.meta.classTakeUnlimited),console.log(e.meta),"userDetail"===e.name){var l=JSON.parse(localStorage.getItem("permission")).find(function(e){return"3-2"===e.cover}).readonly;o.a.dispatch("readonly",l)}e.meta.delete?o.a.dispatch("deletePermission",!0):o.a.dispatch("deletePermission",!1),e.matched.some(function(e){return!0!==e.meta.skip_auth})&&!o.a.state.token?t({path:"/login"}):t()}),i.onError(function(e){var n=e.message.match(/Loading chunk (\d)+ failed/g),t=i.history.pending.fullPath;n&&i.replace(t)}),n.a=i},lRwf:function(e,n){e.exports=Vue},zSLJ:function(e,n,t){"use strict";n.a={set:function(e,n,t){var o=new Date;o.setTime(o.getTime()+864e5*t),window.document.cookie=e+"="+n+";path=/;expires="+o.toGMTString()},get:function(e){var n=window.document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return n?n[2]:null},delete:function(e){this.set(e,"",-1)}}}},["NHnr"]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,d,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],a[t]&&u.push(a[t][0]),a[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(f,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=b(b.s=n[i]);return o};var f={},a={72:0};function b(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,b),a.l=!0,a.exports}b.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,b){c=a[e]=[f,b]});c[2]=f;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,b.nc&&n.setAttribute("nonce",b.nc),n.src=b.p+"static/js/"+e+"."+{0:"17ade938fc79e4e90739",1:"97c70bebf956aadf9cb3",2:"1f6a00a1c98fbf2db665",3:"c6779c9b3aa0c8780991",4:"71fc328e214e30832054",5:"6d1a9f7a2e30dd44d02d",6:"f1925ca55ec5c7d41887",7:"f0e8b03080b3b4ebf31c",8:"9f80bdcf1310ef1f4d40",9:"523f6b2142e0b1a59de8",10:"4af583c4dd796e3360f9",11:"aec2a9fb6041eb630d55",12:"2c72155b2154e8815c00",13:"af9f03f63888b915fd7f",14:"8cd0f3a8b31d5e64931e",15:"4bd927c46272193f9e72",16:"51a8748901c539c9d7f6",17:"c6ca0315d005d11917f2",18:"af844b0409c30c723f44",19:"2b43d74d0aa30e036698",20:"f42b11252eb62efb59cd",21:"574b6484dc28d94bef1f",22:"358d1caf52034262f9ab",23:"080a8966b3305c3ae15b",24:"92cbc050ed71b534294b",25:"0b0158f0cbaf2802bec4",26:"d77cdbd1bc2f9789ae81",27:"62a380e3075bb9f61234",28:"24b6f10c46ca1efeb87a",29:"aba6b471e6c95a1907f4",30:"0bc70212b94eb5665fff",31:"135568f2f6466e39320c",32:"24c59027060f0ebec47f",33:"757a0cb78adf24ce1f24",34:"6c63eb8d60c5be1dc2f3",35:"974841988630e681632c",36:"512280620f6044f06ebd",37:"40a0dd48806323a37f8b",38:"508b9a742a79cdae432c",39:"50ccfca6c1306cff512a",40:"7cde0e1c3d8e909777cc",41:"23e1be9d61c60e87d43b",42:"0e33d8489572470ad249",43:"a8d1fc3389fd795b2bce",44:"a5af5802ec28b6068e5b",45:"fe6e1551696349b29668",46:"12a517ba912b03aab935",47:"f0665b8c5b8f3af0c10f",48:"fb608a4f603e4a31cade",49:"86e8fc80737bfdd18e14",50:"7dd0676cbb72e6f2fd1a",51:"939577234b61aded2624",52:"b2ed992be8294772a938",53:"c3b179b20a856816890a",54:"212816b171eafd1488bc",55:"f9539545129dd1bad64b",56:"501b516cd393780837db",57:"aa460a73c9c018520800",58:"a08c9ad93f421380be9d",59:"4b383cfca408a639edd1",60:"9469909bde10400ad51e",61:"e058805f6e7edf48bd52",62:"95820125712b6f2ace7f",63:"b469807b5322df1168f0",64:"83207fa7cfec7327665c",65:"c1554131ce716a3b677c",66:"3b61402de44f86c4ef2a",67:"09ced7442ae82f25505e",68:"0456ffd7b429ae2463ac",69:"1478ab9bf52f6eef71d3"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),f},b.m=e,b.c=f,b.d=function(e,c,f){b.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},b.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(c,"a",c),c},b.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},b.p="/",b.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title><link href=/static/css/app.712b0d0db4b16c64e77c78f2db3f50e5.css rel=stylesheet></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.851d1237bbc9edc55e61.js></script><script type=text/javascript src=/static/js/vendor.adb38bc212a981bb369e.js></script><script type=text/javascript src=/static/js/app.5133abc9752b970393df.js></script></body><script>let el = document.getElementsByTagName("script"); <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=referrer content=never><link rel=stylesheet href=https:////at.alicdn.com/t/font_746649_x1rivf5f5.css><link rel=stylesheet href=https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css><title>唱唱启蒙-后台</title><link href=/static/css/app.f6e9bf60d83be23795fd1c24bd64aab4.css rel=stylesheet></head><body><script src=https://cdn.bootcss.com/vue/2.5.17/vue.js></script><script src=https://unpkg.com/vuex@3.0.1></script><script src=https://cdn.bootcss.com/axios/0.18.0/axios.min.js></script><script src=https://lib.baomitu.com/element-ui/2.7.2/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.6a3a4699cb2c34062869.js></script><script type=text/javascript src=/static/js/vendor.adb38bc212a981bb369e.js></script><script type=text/javascript src=/static/js/app.26bb576393c470bb6c5e.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){ el.onerror = function(a,b,c){
console.log('error:',a,b,c); console.log('error:',a,b,c);
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([1],{"0B7M":function(t,e,a){t.exports=a.p+"static/img/lessonContentBGI.6d51f8c.png"},"2ZGt":function(t,e){},"3EVt":function(t,e,a){t.exports=a.p+"static/img/funBlock.6e24917.png"},"3KWj":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYBAMAAAAbsoCxAAAAMFBMVEVHcEzNzc3Nzc3Pz8/MzMzNzc3MzMzMzMzNzc3Nzc3MzMzNzc3Nzc3Pz8/MzMzMzMwiBGuxAAAAD3RSTlMAKWETR3Lxw4014q1WIdShbq9YAAAAkUlEQVQY02NgCWZgYGBSYIAC+18TGBj8vxtAufL/UxkY9P+nwLn/i4Hc/w1w7i8HIPefAIz7/weQ+z8Jzv2fDyI2w7lgALICifv/KyoXaAUK95sDCvf/T3zcbwdQuLUoRv1AdYYDdkf+iIe6Ccz9dgDkwQkwbi3I+5th3v8BCpwceNA5gILuApTLAwpY1gAoDwC76r9cjjuYjgAAAABJRU5ErkJggg=="},"8A73":function(t,e){},"8lTK":function(t,e){},"8xfz":function(t,e){},Ctu7:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAABmCAMAAAAuwYnoAAADAFBMVEVHcEzZ6OPc5d7j59+71dXW5eXJ1tCtxMbH39+609T9//lMOj7m7ODc6uZUQkfx9+713qL///zv4sz/7XydlobSzL3y+fNHOTYyKzCtta3g5dT03cOqtK+VmZT19/Q/PERwdHFua2n/84xxcWr///rj8e/PqWk2LitwZ2jSvZjgyanMqZfy9N33/Pd8hYfdx6t8hYJqZWPCoGTo073g483Mr35ZRED477thW1alppX///X686CSj4HNo2DEoGjRx77UxKKAgHvRzsbp9eH84cLqzbfSv63QwJ2+pHmMfGPLwsb///b///j///T//+///un//uz//ub9/eTz9dn6+uPw8df///L+0VHes5T19d3guZv399/ftJv5+d7Wr4Xdr5fIm1T5zkzWrnzjwqLt7tQnHB7tyrIxJinm5s7hvp7asZH9/OjguaHq6dP///zMoFvis0Hpujnyz7H0x0bj48vyzrjrxq85JyD52MIYDxJHMy3uvkz2x1D31LzYrYv/79n8++AuISJfYFfku6flvbPft606LC1lZV7ouUr838pBLSNkSDruwT/BlU/pxqbSqJDr6s7+9uDatY1OOTPYr6b96NDZ18TisjXf3cftzarYs5rUrXTTzr/Uq5tqaWA+MjZtbWX63sXTqW1WVk7qwasyHhfuxrpXPzhePy/dupV0c20mFRLNpWX4z2Ly8d/Lp3D01rhLS0X69NfNoorGub7RpXtuUEP35sDNxb5UOSzcrk7Knm7WqoPhtVlgS028jnV8XVbKoJi5jFC/lWP2z3p3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P:function(t,e,a){t.exports=a.p+"static/img/playBlock.92be384.png"},MJLE:function(t,e,a){var i,o;o=function(){function t(t){this.mode=a.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,i=this.data.length;e<i;e++){var o=[],n=this.data.charCodeAt(e);n>65536?(o[0]=240|(1835008&n)>>>18,o[1]=128|(258048&n)>>>12,o[2]=128|(4032&n)>>>6,o[3]=128|63&n):n>2048?(o[0]=224|(61440&n)>>>12,o[1]=128|(4032&n)>>>6,o[2]=128|63&n):n>128?(o[0]=192|(1984&n)>>>6,o[1]=128|63&n):o[0]=n,this.parsedData.push(o)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,a=this.parsedData.length;e<a;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var a=new t(e);this.dataList.push(a),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,a){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++)this.modules[i][o]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,a),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,a)},setupPositionProbePattern:function(t,e){for(var a=-1;a<=7;a++)if(!(t+a<=-1||this.moduleCount<=t+a))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+a][e+i]=0<=a&&a<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==a||6==a)||2<=a&&a<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,a=0;a<8;a++){this.makeImpl(!0,a);var i=f.getLostPoint(this);(0==a||t>i)&&(t=i,e=a)}return e},createMovieClip:function(t,e,a){var i=t.createEmptyMovieClip(e,a);this.make();for(var o=0;o<this.modules.length;o++)for(var n=1*o,s=0;s<this.modules[o].length;s++){var l=1*s;this.modules[o][s]&&(i.beginFill(0,100),i.moveTo(l,n),i.lineTo(l+1,n),i.lineTo(l+1,n+1),i.lineTo(l,n+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=f.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var a=0;a<t.length;a++){var i=t[e],o=t[a];if(null==this.modules[i][o])for(var n=-2;n<=2;n++)for(var s=-2;s<=2;s++)this.modules[i+n][o+s]=-2==n||2==n||-2==s||2==s||0==n&&0==s}},setupTypeNumber:function(t){for(var e=f.getBCHTypeNumber(this.typeNumber),a=0;a<18;a++){var i=!t&&1==(e>>a&1);this.modules[Math.floor(a/3)][a%3+this.moduleCount-8-3]=i}for(a=0;a<18;a++){i=!t&&1==(e>>a&1);this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=i}},setupTypeInfo:function(t,e){for(var a=this.errorCorrectLevel<<3|e,i=f.getBCHTypeInfo(a),o=0;o<15;o++){var n=!t&&1==(i>>o&1);o<6?this.modules[o][8]=n:o<8?this.modules[o+1][8]=n:this.modules[this.moduleCount-15+o][8]=n}for(o=0;o<15;o++){n=!t&&1==(i>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=n:o<9?this.modules[8][15-o-1+1]=n:this.modules[8][15-o-1]=n}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var a=-1,i=this.moduleCount-1,o=7,n=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[i][s-l]){var r=!1;n<t.length&&(r=1==(t[n]>>>o&1)),f.getMask(e,i,s-l)&&(r=!r),this.modules[i][s-l]=r,-1==--o&&(n++,o=7)}if((i+=a)<0||this.moduleCount<=i){i-=a,a=-a;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,a,i){for(var o=g.getRSBlocks(t,a),n=new A,s=0;s<i.length;s++){var l=i[s];n.put(l.mode,4),n.put(l.getLength(),f.getLengthInBits(l.mode,t)),l.write(n)}var r=0;for(s=0;s<o.length;s++)r+=o[s].dataCount;if(n.getLengthInBits()>8*r)throw new Error("code length overflow. ("+n.getLengthInBits()+">"+8*r+")");for(n.getLengthInBits()+4<=8*r&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(!1);for(;!(n.getLengthInBits()>=8*r||(n.put(e.PAD0,8),n.getLengthInBits()>=8*r));)n.put(e.PAD1,8);return e.createBytes(n,o)},e.createBytes=function(t,e){for(var a=0,i=0,o=0,n=new Array(e.length),s=new Array(e.length),l=0;l<e.length;l++){var r=e[l].dataCount,c=e[l].totalCount-r;i=Math.max(i,r),o=Math.max(o,c),n[l]=new Array(r);for(var u=0;u<n[l].length;u++)n[l][u]=255&t.buffer[u+a];a+=r;var d=f.getErrorCorrectPolynomial(c),p=new v(n[l],d.getLength()-1).mod(d);s[l]=new Array(d.getLength()-1);for(u=0;u<s[l].length;u++){var m=u+p.getLength()-s[l].length;s[l][u]=m>=0?p.get(m):0}}var h=0;for(u=0;u<e.length;u++)h+=e[u].totalCount;var g=new Array(h),A=0;for(u=0;u<i;u++)for(l=0;l<e.length;l++)u<n[l].length&&(g[A++]=n[l][u]);for(u=0;u<o;u++)for(l=0;l<e.length;l++)u<s[l].length&&(g[A++]=s[l][u]);return g};for(var a={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},o={L:1,M:0,Q:3,H:2},n=0,s=1,l=2,r=3,c=4,u=5,d=6,p=7,f={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;f.getBCHDigit(e)-f.getBCHDigit(f.G15)>=0;)e^=f.G15<<f.getBCHDigit(e)-f.getBCHDigit(f.G15);return(t<<10|e)^f.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;f.getBCHDigit(e)-f.getBCHDigit(f.G18)>=0;)e^=f.G18<<f.getBCHDigit(e)-f.getBCHDigit(f.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return f.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,a){switch(t){case n:return(e+a)%2==0;case s:return e%2==0;case l:return a%3==0;case r:return(e+a)%3==0;case c:return(Math.floor(e/2)+Math.floor(a/3))%2==0;case u:return e*a%2+e*a%3==0;case d:return(e*a%2+e*a%3)%2==0;case p:return(e*a%3+(e+a)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new v([1],0),a=0;a<t;a++)e=e.multiply(new v([1,m.gexp(a)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case a.MODE_NUMBER:return 10;case a.MODE_ALPHA_NUM:return 9;case a.MODE_8BIT_BYTE:case a.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case a.MODE_NUMBER:return 12;case a.MODE_ALPHA_NUM:return 11;case a.MODE_8BIT_BYTE:return 16;case a.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case a.MODE_NUMBER:return 14;case a.MODE_ALPHA_NUM:return 13;case a.MODE_8BIT_BYTE:return 16;case a.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),a=0,i=0;i<e;i++)for(var o=0;o<e;o++){for(var n=0,s=t.isDark(i,o),l=-1;l<=1;l++)if(!(i+l<0||e<=i+l))for(var r=-1;r<=1;r++)o+r<0||e<=o+r||0==l&&0==r||s==t.isDark(i+l,o+r)&&n++;n>5&&(a+=3+n-5)}for(i=0;i<e-1;i++)for(o=0;o<e-1;o++){var c=0;t.isDark(i,o)&&c++,t.isDark(i+1,o)&&c++,t.isDark(i,o+1)&&c++,t.isDark(i+1,o+1)&&c++,0!=c&&4!=c||(a+=3)}for(i=0;i<e;i++)for(o=0;o<e-6;o++)t.isDark(i,o)&&!t.isDark(i,o+1)&&t.isDark(i,o+2)&&t.isDark(i,o+3)&&t.isDark(i,o+4)&&!t.isDark(i,o+5)&&t.isDark(i,o+6)&&(a+=40);for(o=0;o<e;o++)for(i=0;i<e-6;i++)t.isDark(i,o)&&!t.isDark(i+1,o)&&t.isDark(i+2,o)&&t.isDark(i+3,o)&&t.isDark(i+4,o)&&!t.isDark(i+5,o)&&t.isDark(i+6,o)&&(a+=40);var u=0;for(o=0;o<e;o++)for(i=0;i<e;i++)t.isDark(i,o)&&u++;return a+=10*(Math.abs(100*u/e/e-50)/5)}},m={glog:function(t){if(t<1)throw new Error("glog("+t+")");return m.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return m.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)m.EXP_TABLE[h]=1<<h;for(h=8;h<256;h++)m.EXP_TABLE[h]=m.EXP_TABLE[h-4]^m.EXP_TABLE[h-5]^m.EXP_TABLE[h-6]^m.EXP_TABLE[h-8];for(h=0;h<255;h++)m.LOG_TABLE[m.EXP_TABLE[h]]=h;function v(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var a=0;a<t.length&&0==t[a];)a++;this.num=new Array(t.length-a+e);for(var i=0;i<t.length-a;i++)this.num[i]=t[i+a]}function g(t,e){this.totalCount=t,this.dataCount=e}function A(){this.buffer=[],this.length=0}v.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),a=0;a<this.getLength();a++)for(var i=0;i<t.getLength();i++)e[a+i]^=m.gexp(m.glog(this.get(a))+m.glog(t.get(i)));return new v(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=m.glog(this.get(0))-m.glog(t.get(0)),a=new Array(this.getLength()),i=0;i<this.getLength();i++)a[i]=this.get(i);for(i=0;i<t.getLength();i++)a[i]^=m.gexp(m.glog(t.get(i))+e);return new v(a,0).mod(t)}},g.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],g.getRSBlocks=function(t,e){var a=g.getRsBlockTable(t,e);if(void 0==a)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=a.length/3,o=[],n=0;n<i;n++)for(var s=a[3*n+0],l=a[3*n+1],r=a[3*n+2],c=0;c<s;c++)o.push(new g(l,r));return o},g.getRsBlockTable=function(t,e){switch(e){case o.L:return g.RS_BLOCK_TABLE[4*(t-1)+0];case o.M:return g.RS_BLOCK_TABLE[4*(t-1)+1];case o.Q:return g.RS_BLOCK_TABLE[4*(t-1)+2];case o.H:return g.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},A.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var a=0;a<e;a++)this.putBit(1==(t>>>e-a-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var b=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function y(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var a=e.toString().match(/android ([0-9]\.[0-9])/i);a&&a[1]&&(t=parseFloat(a[1]))}return t}var _=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,a=this._el,i=t.getModuleCount();Math.floor(e.width/i),Math.floor(e.height/i);function o(t,e){var a=document.createElementNS("http://www.w3.org/2000/svg",t);for(var i in e)e.hasOwnProperty(i)&&a.setAttribute(i,e[i]);return a}this.clear();var n=o("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:e.colorLight});n.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),a.appendChild(n),n.appendChild(o("rect",{fill:e.colorLight,width:"100%",height:"100%"})),n.appendChild(o("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var s=0;s<i;s++)for(var l=0;l<i;l++)if(t.isDark(s,l)){var r=o("use",{x:String(l),y:String(s)});r.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),n.appendChild(r)}},t.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},t}(),C="svg"===document.documentElement.tagName.toLowerCase()?_:"undefined"==typeof CanvasRenderingContext2D?function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,a=this._el,i=t.getModuleCount(),o=Math.floor(e.width/i),n=Math.floor(e.height/i),s=['<table style="border:0;border-collapse:collapse;">'],l=0;l<i;l++){s.push("<tr>");for(var r=0;r<i;r++)s.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+o+"px;height:"+n+"px;background-color:"+(t.isDark(l,r)?e.colorDark:e.colorLight)+';"></td>');s.push("</tr>")}s.push("</table>"),a.innerHTML=s.join("");var c=a.childNodes[0],u=(e.width-c.offsetWidth)/2,d=(e.height-c.offsetHeight)/2;u>0&&d>0&&(c.style.margin=d+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}():function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,a=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,i,o,n,s,l,r,c,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*e;else void 0===c&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);a.apply(this,arguments)}}var i=function(t,e){this._bIsPainted=!1,this._android=y(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(t){var e=this._elImage,a=this._oContext,i=this._htOption,o=t.getModuleCount(),n=i.width/o,s=i.height/o,l=Math.round(n),r=Math.round(s);e.style.display="none",this.clear();for(var c=0;c<o;c++)for(var u=0;u<o;u++){var d=t.isDark(c,u),p=u*n,f=c*s;a.strokeStyle=d?i.colorDark:i.colorLight,a.lineWidth=1,a.fillStyle=d?i.colorDark:i.colorLight,a.fillRect(p,f,n,s),a.strokeRect(Math.floor(p)+.5,Math.floor(f)+.5,l,r),a.strokeRect(Math.ceil(p)-.5,Math.ceil(f)-.5,l,r)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&function(t,e){var a=this;if(a._fFail=e,a._fSuccess=t,null===a._bSupportDataURI){var i=document.createElement("img"),o=function(){a._bSupportDataURI=!1,a._fFail&&a._fFail.call(a)};return i.onabort=o,i.onerror=o,i.onload=function(){a._bSupportDataURI=!0,a._fSuccess&&a._fSuccess.call(a)},void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===a._bSupportDataURI&&a._fSuccess?a._fSuccess.call(a):!1===a._bSupportDataURI&&a._fFail&&a._fFail.call(a)}.call(this,t)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},i}();function D(t,e){for(var a=1,i=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),n=0,s=b.length;n<=s;n++){var l=0;switch(e){case o.L:l=b[n][0];break;case o.M:l=b[n][1];break;case o.Q:l=b[n][2];break;case o.H:l=b[n][3]}if(i<=l)break;a++}if(a>b.length)throw new Error("Too long data");return a}return(i=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:o.H},"string"==typeof e&&(e={text:e}),e)for(var a in e)this._htOption[a]=e[a];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(C=_),this._android=y(),this._el=t,this._oQRCode=null,this._oDrawing=new C(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(D(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},i.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},i.prototype.clear=function(){this._oDrawing.clear()},i.CorrectLevel=o,i},t.exports=o()},NSSG:function(t,e){},QkN4:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcBAMAAACAI8KnAAAALVBMVEVHcEzNzc3Ozs7Nzc3S0tLMzMzNzc3Ozs7Nzc3Nzc3MzMzNzc3Nzc3Nzc3MzMxG6sn6AAAADnRSTlMA2QnLGOXvIripOERATJsHJq8AAACCSURBVBjTY/A0ns7AUGkMAVMY+t49ZmCwewcBLxjy3r1jYIDy3j1F5T5jkAMKMcRBuY8Ztr3LZWC4BuXGMDC4MACBCwQwkAYqBUGuEoQAEl1l9+4hA9BpMFctfRfNwLAVyo1iYFACma8EASS6qkKwHURAwHSKXLUQFEBHoVwp/K4CALSrpDe4gT1BAAAAAElFTkSuQmCC"},QupS:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAB91JREFUeAHtne1vFEUcx3+zt1hqWyBgKDnaSJCk2IQnfUeiRoMhFmkU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Y4/SLM1mNhbYxbZG4lQfoKH4zMbgcoBd32OyivsgEalz2SeRlRsI5k47aUoQnKOlrXF/fuqDQwyr+b2GpEYAUodzktDGNzLYu6qoieNZvLEEvkUdJMQ6QO5gcMGV6NuIWZO9W6moPf7oQDGtDkhAVXQsbJLrG+w936Q2Kmp3oKw1JBex6LUUcWjlTqawwd4PsqK++4ofOstLgtVO3HpJVjUq6mo5n719uZFe9rfHl62H3H5FnepyoSf8roo60eUk2/dV1GkuvFXu/RV1UmsxiYo6qRX/Bgiu//UXzrjSAOAuAAAAAElFTkSuQmCC"},avy2:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAMAAADeQm2wAAAANlBMVEVHcEzMzMzNzc3Nzc3MzMzNzc3Nzc3Nzc3Nzc3MzMzNzc3Nzc3Nzc3Nzc3Nzc3Pz8/S0tLMzMx8poXLAAAAEXRSTlMA4bY18XAVKWFHygVWhZghDTTXIS0AAACeSURBVCjPndLbEsQQDAbgOFN0/e//srvqMGjrYl1l8g0TSYjmY20NknILaQ6UnGCAnsxJANdV9QtgBvJnzmTMD8xoDlR0DAtaiYqxBh0TbxlILCgYHk5BBbyh5nhFJ/GKAvgTKWyeJfocGyQfN0i9m484/vXWvrFL6rwjGdZG1uofh536sGv9ZlqT0Nak1D/jdcX1+vWyfl6pVn8M9AUvlhsWVAvYeQAAAABJRU5ErkJggg=="},ekza:function(t,e){},jg9W:function(t,e){},kvDT:function(t,e){},ndn8:function(t,e,a){t.exports=a.p+"static/img/lookBlock.136f83f.png"},w79p:function(t,e){},yWvg:function(t,e){},z5EG:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("CCn6"),o=a("MJLE"),n=a.n(o),s={name:"baseBlock",props:["formData"],data:function(){return{uploadType:!1}},methods:{beforeAvatarUpload:function(t){var e="image/jpeg"===t.type||"image/png"===t.type,a=t.size/1024<200;return e||this.$message.error("上传头像图片只能是 JPG 或 PNG 格式!"),a||this.$message.error("上传头像图片大小不能超过 200KB!"),e&&a},uploadFileImage:function(t){var e=this;Object(i._188)({file:t.file,type:"local",obj:t}).then(function(a){e.formData.cover="https://cdn.singsingenglish.com/"+a.url,e.$message({type:"success",message:"上传成功!"}),t.onSuccess("上传成功")})},uploadImgSuccess:function(t,e,a){}}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:12}},[a("el-form",{ref:"form",attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"标题"}},[a("el-input",{model:{value:t.formData.title,callback:function(e){t.$set(t.formData,"title",e)},expression:"formData.title"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"封面"}},[a("div",{staticStyle:{margin:"10px"}},[t.uploadType?t._e():a("el-button",{on:{click:function(e){t.uploadType=!0}}},[t._v("地址上传")]),t._v(" "),t.uploadType?a("el-button",{on:{click:function(e){t.uploadType=!1}}},[t._v("文件上传")]):t._e()],1),t._v(" "),t.uploadType?t._e():a("el-upload",{staticClass:"avatar-uploader",attrs:{"http-request":t.uploadFileImage,"before-upload":t.beforeAvatarUpload,action:"https://jsonplaceholder.typicode.com/posts/","on-success":t.uploadImgSuccess,"show-file-list":!1}},[t.formData.cover?a("img",{staticClass:"avatar",attrs:{src:t.formData.cover}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),t._v(" "),t.uploadType?a("el-input",{model:{value:t.formData.cover,callback:function(e){t.$set(t.formData,"cover",e)},expression:"formData.cover"}}):t._e()],1)],1)],1)],1)],1)},staticRenderFns:[]};var r=a("VU/8")(s,l,!1,function(t){a("kvDT")},"data-v-691b2258",null).exports,c=a("5eDb"),u=a.n(c),d=(a("o5MN"),a("q47d")),p=(a("NBEC"),a("gBhd"),a("Q/P+"),a("f85y"),a("q/hF"),a("yXOt"),a("c/6r"),a("Rv7z"),a("S0tB"),a("UWKq"),a("gvu3"),a("XUqK"),{name:"tinymce",props:["lookData"],data:function(){return{dialogVisibleMp3:!1,radio:[],imageType:!1,form:{imgList:[],big:!1,weight:"",center:!0},show:"",dialogVisible:!1,init:{toolbar:"bold italic underline strikethrough | fontselect | fontsizeselect | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | undo redo | link unlink image code | ",language_url:"/static/tinymce/zh_CN.js",language:"zh_CN",skin_url:"/static/tinymce/skins/lightgray",height:500,plugins:"preview textpattern colorpicker lists code colorpicker fullpage textcolor wordcount contextmenu media",branding:!1}}},activated:function(){this.show=!0},deactivated:function(){},mounted:function(){},methods:{beforeAvatarUploadImg:function(t){var e="image/jpeg"===t.type||"image/png"===t.type;return e||this.$message.error("上传头像图片只能是 JPG 或 PNG 格式!"),e},beforeAvatarUploadAudio:function(t){var e="audio/mp3"===t.type;return e||this.$message.error("上传音频只能选择MP3格式!"),e},imgInter:function(){if(this.form.imgList.length<1)return this.$message({type:"error",message:"请选择图片"}),!1;var t="";this.form.big?t+="width:100%;":t+="width:70%",this.form.center&&(t="display:block;margin:auto");var e='<img src="'+this.form.imgList[0].url+'" style="'+t+'"/>';u.a.activeEditor.insertContent(e),this.dialogVisible=!1},audioInter:function(){if(this.radio.length<1)return this.$message({type:"error",message:"请选择音频"}),!1;var t='<p style="text-align: center"><img class="mce-object mce-object-audio" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="280" height="55" data-mce-p-controls="controls" data-mce-html="%0A%3Csource%20src%3D%22https%3A//cdn.singsingenglish.com/'+this.radio[0].url+'%22%20type%3D%22audio/mpeg%22%20/%3E" data-mce-object="audio"></p>';u.a.activeEditor.insertContent(t),this.dialogVisibleMp3=!1},uploadFile:function(t){var e=this;Object(i._188)({file:t.file,type:"local"}).then(function(t){e.$message({type:"success",message:"上传成功!"}),e.form.imgList=[{name:t.name,url:"https://cdn.singsingenglish.com/"+t.url}]})},uploadFileMp3:function(t){var e=this;Object(i._188)({file:t.file,type:"local"}).then(function(t){e.$message({type:"success",message:"上传成功!"}),e.radio=[{name:t.name,url:t.url}]})},showDialogMP3:function(){this.dialogVisibleMp3=!0,this.radio=[]},showDialog:function(){this.dialogVisible=!0,this.form={imgList:[],big:!1,weight:"",center:!0}},removeFile:function(){},removeFileMp3:function(){},handleExceed:function(){}},created:function(){u.a.init({})},components:{Editor:d.a}}),f={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tinymce"},[a("editor",{attrs:{id:"tinymce",init:t.init},model:{value:t.lookData.content,callback:function(e){t.$set(t.lookData,"content",e)},expression:"lookData.content"}}),t._v(" "),a("div",[a("div",{staticClass:"imgInter",on:{click:function(e){t.showDialog()}}},[t._v("插入图片")]),t._v(" "),a("div",{staticClass:"MP3Inter",on:{click:function(e){t.showDialogMP3()}}},[t._v("插入音频")])]),t._v(" "),a("el-dialog",{attrs:{title:"插入图片",visible:t.dialogVisible,"modal-append-to-body":!1,"close-on-click-modal":!1,center:"","append-to-body":!0,width:"550px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"图片"}},[a("el-upload",{attrs:{action:"/api/public/upload","http-request":t.uploadFile,"on-remove":t.removeFile,"before-upload":t.beforeAvatarUploadImg,drag:"","on-exceed":t.handleExceed,multiple:"",limit:1,"file-list":t.form.imgList}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("将文件拖到此处,或"),a("em",[t._v("点击上传")])])])],1),t._v(" "),a("el-form-item",{attrs:{label:"铺满"}},[a("el-switch",{model:{value:t.form.big,callback:function(e){t.$set(t.form,"big",e)},expression:"form.big"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"居中"}},[a("el-switch",{model:{value:t.form.center,callback:function(e){t.$set(t.form,"center",e)},expression:"form.center"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.imgInter}},[t._v("确 定")])],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"插入音频",visible:t.dialogVisibleMp3,"modal-append-to-body":!1,"close-on-click-modal":!1,center:"","append-to-body":!0,width:"550px"},on:{"update:visible":function(e){t.dialogVisibleMp3=e}}},[a("el-form",{attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"音频"}},[a("el-upload",{attrs:{action:"/api/public/upload","http-request":t.uploadFileMp3,"before-upload":t.beforeAvatarUploadAudio,"on-remove":t.removeFileMp3,drag:"","on-exceed":t.handleExceed,multiple:"",limit:1,"file-list":t.radio}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("将文件拖到此处,或"),a("em",[t._v("点击上传")])]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("只能上传MP3文件,且不超过10MB")])])],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogVisibleMp3=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.audioInter}},[t._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var m=a("VU/8")(p,f,!1,function(t){a("NSSG")},"data-v-493e1a52",null).exports,h=a("ndn8"),v=a.n(h),g={name:"lookBlock",props:["formData"],data:function(){return{background:v.a}},components:{AreaBlcok:m}},A={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("el-row",{attrs:{gutter:40}},[e("el-col",{attrs:{span:12}},[e("area-blcok",{attrs:{lookData:this.formData.look}})],1),this._v(" "),e("el-col",{attrs:{span:12}},[e("div",{staticClass:"view",style:{backgroundImage:"url("+this.background+")"}},[e("div",{staticClass:"view-content",domProps:{innerHTML:this._s(this.formData.look.content)}})])])],1)],1)},staticRenderFns:[]};var b=a("VU/8")(g,A,!1,function(t){a("XsJZ")},"data-v-1f9c45e9",null).exports,y=a("Ctu7"),_=a.n(y),C=a("YijS"),D=a.n(C),w=a("M0hP"),k=a.n(w),M={props:["formData"],name:"videoUpload",data:function(){return{uploadType:!1}},methods:{beforeAvatarImage:function(t){var e="image/jpeg"===t.type||"image/png"===t.type,a=t.size/1024<400;return e||this.$message.error("上传头像图片只能是 JPG 或 PNG 格式!"),a||this.$message.error("上传头像图片大小不能超过 400KB!"),e&&a},pushNewVideo:function(){this.formData.video.push({name:"地址输入文件",url:""})},beforeAvatarVideo:function(t){},beforeAvatarAudio:function(t){var e="audio/mp3"===t.type;return e||this.$message.error("上传视频只能是MP3格式!"),e},pushNewAudio:function(){this.formData.audio.push({name:"地址录入文件",url:"",title:"",tips:"",image:""})},delVideo:function(t){var e=this.formData.video.indexOf(t);this.formData.video.splice(e,1)},delAudio:function(t){var e=this.formData.audio.indexOf(t);this.formData.audio.splice(e,1)},pushNewVideo2:function(){this.formData.video2.push({name:"地址输入文件",url:""})},pushNewAudio2:function(){this.formData.audio2.push({name:"地址录入文件",url:"",title:"",tips:"",image:""})},delVideo2:function(t){var e=this.formData.video2.indexOf(t);this.formData.video2.splice(e,1)},delAudio2:function(t){var e=this.formData.audio2.indexOf(t);this.formData.audio2.splice(e,1)},uploadFileVideo:function(t){var e=this;Object(i._188)({file:t.file,type:"local",obj:t}).then(function(t){e.$message({type:"success",message:"上传成功!"}),Object(i._140)({file_name:t.key}).then(function(t){console.log(t)}),e.formData.video.push({name:t.name,url:"https://cdn.singsingenglish.com/"+t.url})})},uploadFileVideo2:function(t){var e=this;Object(i._188)({file:t.file,type:"local",obj:t}).then(function(t){e.$message({type:"success",message:"上传成功!"}),Object(i._140)({file_name:t.key}).then(function(t){console.log(t)}),e.formData.video2.push({name:t.name,url:"https://cdn.singsingenglish.com/"+t.url})})},uploadFileAudio:function(t){var e=this;Object(i._188)({file:t.file,type:"local",obj:t}).then(function(a){e.$message({type:"success",message:"上传成功!"}),t.onSuccess("上传成功"),e.formData.audio.push({name:a.name,url:"https://cdn.singsingenglish.com/"+a.url,title:"",tips:"",image:""})})},uploadFileAudio2:function(t){var e=this;Object(i._188)({file:t.file,type:"local",obj:t}).then(function(a){e.$message({type:"success",message:"上传成功!"}),t.onSuccess("上传成功"),e.formData.audio2.push({name:a.name,url:"https://cdn.singsingenglish.com/"+a.url,title:"",tips:"",image:""})})},removeFileVideo:function(t,e){this.formData.video=e,console.log(381)},removeFileVideo2:function(t,e){this.formData.video2=e},removeFileAudio:function(t,e){this.formData.audio=e},removeFileAudio2:function(t,e){this.formData.audio2=e},handleExceed:function(){},uploadFileImage:function(t){var e=this;Object(i._188)({file:t.file,type:"local",obj:t}).then(function(a){t.data.image="https://cdn.singsingenglish.com/"+a.url,e.$message({type:"success",message:"上传成功!"}),t.onSuccess("上传成功")})},uploadImgSuccess:function(t,e,a){console.log(409)}}},E={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-form",{ref:"form",staticStyle:{"max-width":"600px"},attrs:{"label-width":"120px"}},[a("el-form-item",{attrs:{label:""}},[a("el-switch",{attrs:{"active-text":"纯音频模块","inactive-text":"视频模块"},model:{value:t.formData.type,callback:function(e){t.$set(t.formData,"type",e)},expression:"formData.type"}})],1),t._v(" "),t.formData.type?t._e():a("div",[a("el-form-item",{attrs:{label:"视频"}},[a("div",{staticStyle:{margin:"10px"}},[t.uploadType?t._e():a("el-button",{on:{click:function(e){t.uploadType=!0}}},[t._v("地址上传")]),t._v(" "),t.uploadType?a("el-button",{on:{click:function(e){t.uploadType=!1}}},[t._v("文件上传")]):t._e()],1),t._v(" "),t.uploadType?t._e():a("el-upload",{staticClass:"upload-demo",attrs:{drag:"","http-request":t.uploadFileVideo,"file-list":t.formData.video,"before-upload":t.beforeAvatarVideo,"on-exceed":t.handleExceed,"on-remove":t.removeFileVideo,action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("\n 将文件拖到此处,或"),a("em",[t._v("点击上传")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{color:"#888888","font-size":"12px"}},[t._v("只能上传MP4文件")])]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"})]),t._v(" "),t._l(t.formData.video,function(e,i){return t.uploadType?a("el-input",{key:i,staticStyle:{"margin-bottom":"10px"},model:{value:e.url,callback:function(a){t.$set(e,"url",a)},expression:"data.url"}},[a("i",{staticClass:"el-input__icon el-icon-delete",attrs:{slot:"suffix"},on:{click:function(a){t.delVideo(e)}},slot:"suffix"})]):t._e()}),t._v(" "),t.uploadType?a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{on:{click:t.pushNewVideo}},[t._v("添加视频")])],1):t._e()],2),t._v(" "),a("el-form-item",{attrs:{label:"是否切换"}},[a("el-switch",{attrs:{"active-text":"开","inactive-text":"关"},model:{value:t.formData.change,callback:function(e){t.$set(t.formData,"change",e)},expression:"formData.change"}})],1),t._v(" "),t.formData.change?a("el-form-item",{attrs:{label:"切换音频"}},[a("div",{staticStyle:{margin:"10px"}},[t.uploadType?t._e():a("el-button",{on:{click:function(e){t.uploadType=!0}}},[t._v("地址上传")]),t._v(" "),t.uploadType?a("el-button",{on:{click:function(e){t.uploadType=!1}}},[t._v("文件上传")]):t._e()],1),t._v(" "),t.uploadType?t._e():a("el-upload",{staticClass:"upload-demo",attrs:{"before-upload":t.beforeAvatarAudio,"http-request":t.uploadFileAudio,"file-list":t.formData.audio,"on-exceed":t.handleExceed,"on-remove":t.removeFileAudio,drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("\n 将文件拖到此处,或"),a("em",[t._v("点击上传")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{color:"#888888","font-size":"12px"}},[t._v("只能上传MP3文件")])])]),t._v(" "),t._l(t.formData.audio,function(e,i){return t.uploadType?a("el-input",{key:i,staticStyle:{"margin-bottom":"10px"},model:{value:e.url,callback:function(a){t.$set(e,"url",a)},expression:"data.url"}},[a("i",{staticClass:"el-input__icon el-icon-delete",attrs:{slot:"suffix"},on:{click:function(a){t.delAudio(e)}},slot:"suffix"})]):t._e()}),t._v(" "),t.uploadType?a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{on:{click:t.pushNewAudio}},[t._v("添加音频")])],1):t._e()],2):t._e(),t._v(" "),t._l(t.formData.audio,function(e,i){return t.formData.change?a("div",{key:i,staticClass:"mp3-block"},[a("h3",[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"图片"}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{"http-request":t.uploadFileImage,"before-upload":t.beforeAvatarImage,data:e,action:"https://jsonplaceholder.typicode.com/posts/","on-success":t.uploadImgSuccess,"show-file-list":!1}},[e.image?a("img",{staticClass:"avatar",attrs:{src:e.image}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"标题"}},[a("el-input",{model:{value:e.title,callback:function(a){t.$set(e,"title",a)},expression:"data.title"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"说明"}},[a("el-input",{model:{value:e.tips,callback:function(a){t.$set(e,"tips",a)},expression:"data.tips"}})],1)],1):t._e()}),t._v(" "),a("el-form-item",{attrs:{label:"是否分龄"}},[a("el-switch",{attrs:{"active-text":"是","inactive-text":"否"},model:{value:t.formData.age,callback:function(e){t.$set(t.formData,"age",e)},expression:"formData.age"}})],1),t._v(" "),t.formData.age?a("el-form-item",{attrs:{label:"视频"}},[a("div",{staticStyle:{margin:"10px"}},[t.uploadType?t._e():a("el-button",{on:{click:function(e){t.uploadType=!0}}},[t._v("地址上传")]),t._v(" "),t.uploadType?a("el-button",{on:{click:function(e){t.uploadType=!1}}},[t._v("文件上传")]):t._e()],1),t._v(" "),t.uploadType?t._e():a("el-upload",{staticClass:"upload-demo",attrs:{drag:"","http-request":t.uploadFileVideo2,"before-upload":t.beforeAvatarVideo,"file-list":t.formData.video2,"on-exceed":t.handleExceed,"on-remove":t.removeFileVideo2,action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("\n 将文件拖到此处,或"),a("em",[t._v("点击上传")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{color:"#888888","font-size":"12px"}},[t._v("只能上传MP4或AVI文件")])]),t._v(" "),a("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"})]),t._v(" "),t._l(t.formData.video2,function(e,i){return t.uploadType?a("el-input",{key:i,staticStyle:{"margin-bottom":"10px"},model:{value:e.url,callback:function(a){t.$set(e,"url",a)},expression:"data.url"}},[a("i",{staticClass:"el-input__icon el-icon-delete",attrs:{slot:"suffix"},on:{click:function(a){t.delVideo2(e)}},slot:"suffix"})]):t._e()}),t._v(" "),t.uploadType?a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{on:{click:t.pushNewVideo2}},[t._v("添加视频")])],1):t._e()],2):t._e(),t._v(" "),t.formData.age?a("el-form-item",{attrs:{label:"是否切换"}},[a("el-switch",{attrs:{"active-text":"开","inactive-text":"关"},model:{value:t.formData.change2,callback:function(e){t.$set(t.formData,"change2",e)},expression:"formData.change2"}})],1):t._e(),t._v(" "),t.formData.age&&t.formData.change2?a("el-form-item",{attrs:{label:"切换音频"}},[a("div",{staticStyle:{margin:"10px"}},[t.uploadType?t._e():a("el-button",{on:{click:function(e){t.uploadType=!0}}},[t._v("地址上传")]),t._v(" "),t.uploadType?a("el-button",{on:{click:function(e){t.uploadType=!1}}},[t._v("文件上传")]):t._e()],1),t._v(" "),t.uploadType?t._e():a("el-upload",{staticClass:"upload-demo",attrs:{"http-request":t.uploadFileAudio2,"before-upload":t.beforeAvatarAudio,"file-list":t.formData.audio2,"on-exceed":t.handleExceed,"on-remove":t.removeFileAudio2,drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("\n 将文件拖到此处,或"),a("em",[t._v("点击上传")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{color:"#888888","font-size":"12px"}},[t._v("只能上传MP3文件")])])]),t._v(" "),t._l(t.formData.audio2,function(e,i){return t.uploadType?a("el-input",{key:i,staticStyle:{"margin-bottom":"10px"},model:{value:e.url,callback:function(a){t.$set(e,"url",a)},expression:"data.url"}},[a("i",{staticClass:"el-input__icon el-icon-delete",attrs:{slot:"suffix"},on:{click:function(a){t.delAudio2(e)}},slot:"suffix"})]):t._e()}),t._v(" "),t.uploadType?a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{on:{click:t.pushNewAudio2}},[t._v("添加音频")])],1):t._e()],2):t._e(),t._v(" "),t._l(t.formData.audio2,function(e,i){return t.formData.change2&&t.formData.age?a("div",{key:i,staticClass:"mp3-block"},[a("h3",[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"图片"}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{"before-upload":t.beforeAvatarImage,"http-request":t.uploadFileImage,data:e,action:"https://jsonplaceholder.typicode.com/posts/","on-success":t.uploadImgSuccess,"show-file-list":!1}},[e.image?a("img",{staticClass:"avatar",attrs:{src:e.image}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"标题"}},[a("el-input",{model:{value:e.title,callback:function(a){t.$set(e,"title",a)},expression:"data.title"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"说明"}},[a("el-input",{model:{value:e.tips,callback:function(a){t.$set(e,"tips",a)},expression:"data.tips"}})],1)],1):t._e()})],2),t._v(" "),t.formData.type?a("div",[a("el-form-item",{attrs:{label:"切换音频"}},[a("el-upload",{staticClass:"upload-demo",attrs:{"http-request":t.uploadFileAudio,"before-upload":t.beforeAvatarAudio,"file-list":t.formData.audio,"on-exceed":t.handleExceed,"on-remove":t.removeFileAudio,drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v("\n 将文件拖到此处,或"),a("em",[t._v("点击上传")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{color:"#888888","font-size":"12px"}},[t._v("只能上传MP3文件")])])])],1),t._v(" "),t._l(t.formData.audio,function(e,i){return a("div",{key:i,staticClass:"mp3-block"},[a("h3",[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"图片"}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{"http-request":t.uploadFileImage,"before-upload":t.beforeAvatarImage,data:e,action:"https://jsonplaceholder.typicode.com/posts/","on-success":t.uploadImgSuccess,"show-file-list":!1}},[e.image?a("img",{staticClass:"avatar",attrs:{src:e.image}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"标题"}},[a("el-input",{model:{value:e.title,callback:function(a){t.$set(e,"title",a)},expression:"data.title"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"音频"+(i+1)+"说明"}},[a("el-input",{model:{value:e.tips,callback:function(a){t.$set(e,"tips",a)},expression:"data.tips"}})],1)],1)})],2):t._e()],1)},staticRenderFns:[]};var x=a("VU/8")(M,E,!1,function(t){a("ekza"),a("2ZGt")},"data-v-4615ebbc",null).exports,L=a("QupS"),B=a.n(L),I=a("avy2"),z=a.n(I),S=a("3KWj"),O=a.n(S),j=a("QkN4"),N=a.n(j),T=a("Uxg2"),U=a.n(T),R={props:["formData"],name:"playBlock",data:function(){return{background:k.a,lastUrl:z.a,listUrl:N.a,refUrl:U.a,nextUrl:O.a,luolaUrl:_.a,luolaComing:D.a,playAudio:B.a,type:!1,range:0,age:!1}},components:{videoUpload:x}},P={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-row",{attrs:{gutter:40}},[a("el-col",{attrs:{span:12}},[a("div",{staticStyle:{"max-height":"800px",overflow:"auto","max-width":"800px"}},[a("video-upload",{attrs:{formData:t.formData.play}})],1)]),t._v(" "),a("el-col",{attrs:{span:12}},[a("div",{staticClass:"view",style:{backgroundImage:"url("+t.background+")"}},[t.formData.play.type||t.type||t.age?t._e():a("div",{staticClass:"view-content"},[a("img",{staticClass:"luola",attrs:{src:t.luolaUrl}}),t._v(" "),a("img",{staticClass:"luolacoming",attrs:{src:t.luolaComing}}),t._v(" "),t._l(t.formData.play.video,function(t){return a("div",{staticClass:"video-block"},[a("video",{attrs:{src:t.url,controls:""}})])}),t._v(" "),a("div",{staticClass:"btn-block"},[t.formData.play.age?a("div",{staticClass:"change",on:{click:function(e){t.age=!0}}},[t._v("\n 0-3岁\n "),a("i",{staticClass:"iconfont icon-zhankai1",staticStyle:{"font-size":"12px"}})]):t._e(),t._v(" "),t.formData.play.change?a("div",{staticClass:"tips-block"},[a("div",{staticClass:"active"},[t._v("视频教学")]),t._v(" "),a("div",{on:{click:function(e){t.type=!0}}},[t._v("音频教学")])]):t._e()])],2),t._v(" "),t.formData.play.type||t.type||!t.age?t._e():a("div",{staticClass:"view-content"},[a("img",{staticClass:"luola",attrs:{src:t.luolaUrl}}),t._v(" "),a("img",{staticClass:"luolacoming",attrs:{src:t.luolaComing}}),t._v(" "),t._l(t.formData.play.video2,function(t){return a("div",{staticClass:"video-block"},[a("video",{attrs:{src:t.url,controls:""}})])}),t._v(" "),a("div",{staticClass:"btn-block"},[t.formData.play.age?a("div",{staticClass:"change",on:{click:function(e){t.age=!1}}},[t._v("\n 4-6岁\n "),a("i",{staticClass:"iconfont icon-zhankai1",staticStyle:{"font-size":"12px"}})]):t._e(),t._v(" "),t.formData.play.change2?a("div",{staticClass:"tips-block"},[a("div",{staticClass:"active"},[t._v("视频教学")]),t._v(" "),a("div",{on:{click:function(e){t.type=!0}}},[t._v("音频教学")])]):t._e()])],2),t._v(" "),!t.formData.play.type&&!t.type||t.age?t._e():a("div",{staticClass:"view-content"},[t.formData.play.audio[0]?a("div",[a("img",{staticClass:"audio-img",attrs:{src:t.formData.play.audio[0].image}}),t._v(" "),a("audio",{attrs:{src:t.formData.play.audio[0].url}}),t._v(" "),a("div",{staticClass:"title-block"},[a("div",{staticClass:"title"},[t._v("\n "+t._s(t.formData.play.audio[0].title)+"\n ")]),t._v(" "),a("div",{staticClass:"tips"},[t._v("\n "+t._s(t.formData.play.audio[0].tips)+"\n ")])]),t._v(" "),a("div",{staticClass:"range-block"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.range,expression:"range"}],style:{backgroundSize:t.range+"% 100%"},attrs:{type:"range"},domProps:{value:t.range},on:{__r:function(e){t.range=e.target.value}}}),t._v(" "),a("div",{staticClass:"btn-block"},[a("img",{attrs:{src:t.listUrl}}),t._v(" "),a("img",{attrs:{src:t.lastUrl}}),t._v(" "),a("img",{staticClass:"play-btn",attrs:{src:t.playAudio}}),t._v(" "),a("img",{attrs:{src:t.nextUrl}}),t._v(" "),a("img",{attrs:{src:t.refUrl}})])])]):t._e(),t._v(" "),t.formData.play.change?a("div",{staticClass:"tips-block"},[a("div",{on:{click:function(e){t.type=!1}}},[t._v("视频教学")]),t._v(" "),a("div",{staticClass:"active"},[t._v("音频教学")])]):t._e()]),t._v(" "),(t.formData.play.type||t.type)&&t.age?a("div",{staticClass:"view-content"},[t.formData.play.audio2[0]?a("div",[a("img",{staticClass:"audio-img",attrs:{src:t.formData.play.audio2[0].image}}),t._v(" "),a("audio",{attrs:{src:t.formData.play.audio2[0].url}}),t._v(" "),a("div",{staticClass:"title-block"},[a("div",{staticClass:"title"},[t._v("\n "+t._s(t.formData.play.audio2[0].title)+"\n ")]),t._v(" "),a("div",{staticClass:"tips"},[t._v("\n "+t._s(t.formData.play.audio2[0].tips)+"\n ")])]),t._v(" "),a("div",{staticClass:"range-block"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.range,expression:"range"}],style:{backgroundSize:t.range+"% 100%"},attrs:{type:"range"},domProps:{value:t.range},on:{__r:function(e){t.range=e.target.value}}}),t._v(" "),a("div",{staticClass:"btn-block"},[a("img",{attrs:{src:t.listUrl}}),t._v(" "),a("img",{attrs:{src:t.lastUrl}}),t._v(" "),a("img",{staticClass:"play-btn",attrs:{src:t.playAudio}}),t._v(" "),a("img",{attrs:{src:t.nextUrl}}),t._v(" "),a("img",{attrs:{src:t.refUrl}})])])]):t._e(),t._v(" "),t.formData.play.change?a("div",{staticClass:"tips-block"},[a("div",{on:{click:function(e){t.type=!1}}},[t._v("视频教学")]),t._v(" "),a("div",{staticClass:"active"},[t._v("音频教学")])]):t._e()]):t._e()])])],1)],1)},staticRenderFns:[]};var V=a("VU/8")(R,P,!1,function(t){a("HjAi")},"data-v-f79ddb7c",null).exports,F=a("3EVt"),G=a.n(F),Y={name:"funBlock",props:["formData"],data:function(){return{background:G.a,luolaUrl:_.a,luolaComing:D.a,playAudio:B.a,type:!1,range:0}},components:{videoUpload:x}},H={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-row",{attrs:{gutter:40}},[a("el-col",{attrs:{span:12}},[a("div",{staticStyle:{"max-height":"800px",overflow:"auto","max-width":"800px"}},[a("video-upload",{attrs:{formData:t.formData.fun}})],1)]),t._v(" "),a("el-col",{attrs:{span:12}},[a("div",{staticClass:"view",style:{backgroundImage:"url("+t.background+")"}},[t.formData.fun.type||t.type?t._e():a("div",{staticClass:"view-content"},[a("img",{staticClass:"luola",attrs:{src:t.luolaUrl}}),t._v(" "),a("img",{staticClass:"luolacoming",attrs:{src:t.luolaComing}}),t._v(" "),t._l(t.formData.fun.video,function(t){return a("div",{staticClass:"video-block"},[a("video",{attrs:{src:t.url,controls:""}})])}),t._v(" "),t.formData.fun.change?a("div",{staticClass:"tips-block"},[a("div",{staticClass:"active"},[t._v("视频教学")]),t._v(" "),a("div",{on:{click:function(e){t.type=!0}}},[t._v("音频教学")])]):t._e()],2),t._v(" "),t.formData.fun.type||t.type?a("div",{staticClass:"view-content"},[t.formData.fun.audio[0]?a("div",[a("img",{staticClass:"audio-img",attrs:{src:t.formData.fun.audio[0].image}}),t._v(" "),a("audio",{attrs:{src:t.formData.fun.audio[0].url}}),t._v(" "),a("div",{staticClass:"title-block"},[a("div",{staticClass:"title"},[t._v("\n "+t._s(t.formData.fun.audio[0].title)+"\n ")]),t._v(" "),a("div",{staticClass:"tips"},[t._v("\n "+t._s(t.formData.fun.audio[0].tips)+"\n ")])]),t._v(" "),a("div",{staticClass:"range-block"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.range,expression:"range"}],style:{backgroundSize:t.range+"% 100%"},attrs:{type:"range"},domProps:{value:t.range},on:{__r:function(e){t.range=e.target.value}}}),t._v(" "),a("div",[a("img",{staticClass:"play-btn",attrs:{src:t.playAudio}})])])]):t._e(),t._v(" "),t.formData.play.change?a("div",{staticClass:"tips-block"},[a("div",{on:{click:function(e){t.type=!1}}},[t._v("视频教学")]),t._v(" "),a("div",{staticClass:"active"},[t._v("音频教学")])]):t._e()]):t._e()])])],1)],1)},staticRenderFns:[]};var J=a("VU/8")(Y,H,!1,function(t){a("8xfz")},"data-v-dfac1ddc",null).exports,Q=a("0B7M"),q=a.n(Q),K={name:"lessonContent",props:["formData"],computed:{splitContent:function(){var t=[];return this.formData.content.tips.title1_content&&(t=this.formData.content.tips.title1_content.split("\n")),t}},data:function(){return{background:q.a}}},W={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-row",{attrs:{gutter:40}},[a("el-col",{attrs:{span:12}},[a("el-form",{ref:"form",attrs:{"label-width":"120px"}},[a("el-form-item",{attrs:{label:"课程内容"}},[a("el-input",{model:{value:t.formData.content.tips.content,callback:function(e){t.$set(t.formData.content.tips,"content",e)},expression:"formData.content.tips.content"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"title1"}},[a("el-input",{attrs:{rows:"4"},model:{value:t.formData.content.tips.title1,callback:function(e){t.$set(t.formData.content.tips,"title1",e)},expression:"formData.content.tips.title1"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"title1-内容"}},[a("el-input",{attrs:{rows:"4",type:"textarea"},model:{value:t.formData.content.tips.title1_content,callback:function(e){t.$set(t.formData.content.tips,"title1_content",e)},expression:"formData.content.tips.title1_content"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"title2"}},[a("el-input",{attrs:{rows:"4"},model:{value:t.formData.content.tips.title2,callback:function(e){t.$set(t.formData.content.tips,"title2",e)},expression:"formData.content.tips.title2"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"title2-内容"}},[a("el-input",{attrs:{type:"textarea",rows:"4"},model:{value:t.formData.content.tips.title2_content,callback:function(e){t.$set(t.formData.content.tips,"title2_content",e)},expression:"formData.content.tips.title2_content"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("div",{staticClass:"view",style:{backgroundImage:"url("+t.background+")"}},[a("div",{staticClass:"title"},[t._v("\n "+t._s(t.formData.title)+"\n ")]),t._v(" "),a("div",{staticClass:"lessonContent"},[t._v("\n "+t._s(t.formData.content.tips.content)+"\n ")]),t._v(" "),a("div",{staticClass:"tips title1"},[t._v("\n "+t._s(t.formData.content.tips.title1)+"\n ")]),t._v(" "),a("div",{staticClass:"title-content"},[a("ul",t._l(t.splitContent,function(e){return a("li",[t._v(t._s(e))])}))]),t._v(" "),a("div",{staticClass:"tips title2"},[t._v("\n "+t._s(t.formData.content.tips.title2)+"\n ")]),t._v(" "),a("div",{staticClass:"title-content title2"},[t._v("\n "+t._s(t.formData.content.tips.title2_content)+"\n ")])])])],1)],1)},staticRenderFns:[]};var Z={props:["editorObj"],components:{lessonContent:a("VU/8")(K,W,!1,function(t){a("w79p")},"data-v-5973bd27",null).exports,baseBlock:r,lookBlock:b,playBlock:V,funBlock:J},data:function(){return{activeName2:"base",formData:{title:"",cover:"",content:{base:{},tips:{content:"",title1:"",title1_content:"",title2:"",title2_content:""},look:{content:""},play:{type:!1,audio:[],audio2:[],video:[],video2:[],change:!1,change2:!1,age:!1},fun:{type:!1,audio:[],audio2:[],video:[],video2:[],change:!1,change2:!1,age:!1}},type:0}}},methods:{onSave:function(){var t=this;if(1===this.editorObj.type){var e={category_id:this.editorObj.category_id,title:this.formData.title,content:JSON.stringify(this.formData.content),cover:this.formData.cover};Object(i._13)(e,this.editorObj.id).then(function(e){t.$message({type:"success",message:"保存成功!"}),t.$emit("reflash"),t.editorObj.show=!1})}else if(0===this.editorObj.type){var a={category_id:this.editorObj.category_id,title:this.formData.title,content:JSON.stringify(this.formData.content),cover:this.formData.cover};Object(i.i)(a,0).then(function(e){t.$message({type:"success",message:"保存成功!"}),t.$emit("reflash")})}}},watch:{"editorObj.show":function(t){var e=this;if(t){var a=this.editorObj.id;a?Object(i._57)(a).then(function(t){t.content=JSON.parse(t.content),e.formData=t}):this.formData={title:"",cover:"",content:{base:{},tips:{content:"",title1:"",title1_content:"",title2:"",title2_content:""},look:{content:""},play:{type:!1,audio:[],audio2:[],video:[],video2:[],change:!1,change2:!1,age:!1},fun:{type:!1,audio:[],audio2:[],video:[],video2:[],change:!1,change2:!1,age:!1}},type:0}}}}},X={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.editorObj.title,visible:t.editorObj.show,"close-on-click-modal":!1,"close-on-press-escape":!1,modal:!1,center:!0,fullscreen:!0},on:{"update:visible":function(e){t.$set(t.editorObj,"show",e)}}},[a("el-tabs",{attrs:{type:"card"},model:{value:t.activeName2,callback:function(e){t.activeName2=e},expression:"activeName2"}},[a("el-tab-pane",{attrs:{label:"基本信息",name:"base"}},[a("base-block",{attrs:{formData:t.formData}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"课程内容",name:"content"}},[a("lesson-content",{attrs:{formData:t.formData}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"爸妈看一看",name:"look"}},[a("look-block",{attrs:{formData:t.formData.content}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"宝贝玩一玩",name:"play"}},[a("play-block",{attrs:{formData:t.formData.content}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"磨磨小耳朵",name:"fun"}},[a("fun-block",{attrs:{formData:t.formData.content}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.editorObj.show=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.onSave}},[t._v("保 存")])],1)],1)},staticRenderFns:[]};var $={name:"list",components:{EditorDialog:a("VU/8")(Z,X,!1,function(t){a("yWvg")},"data-v-20ec7997",null).exports},props:["id"],data:function(){return{list:[],qrShow:!1,qr:!1,editorObj:{show:!1,category_id:0,type:0,title:"",id:""}}},created:function(){""!==this.id&&null!==this.id&&this.getList()},methods:{qrcode:function(t){this.qr?this.qr.makeCode(t):this.qr=new n.a("qrcode",{width:250,height:250,text:t,image:""})},showQr:function(t){var e=this;this.qrShow=!0,this.$nextTick(function(){Object(i._57)(t.id).then(function(a){Object(i._158)(t.id,a).then(function(){e.qrcode(window.location.href.split("#")[0]+"#/newLesson?elementId="+t.id),console.log(window.location.href.split("#")[0]+"#/newLesson?elementId="+t.id)})})})},getList:function(){var t=this;Object(i._41)({category_id:this.id}).then(function(e){t.list=e.list})},delLseeon:function(t){var e=this;this.$confirm("此操作将删除该课包?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.N)(t.id).then(function(t){e.$message({type:"success",message:"删除成功!"})}),e.getList()})},onUp:function(){},onAdd:function(){this.editorObj={show:!0,category_id:this.id,type:0,title:"新增课包"}},onEdit:function(t){this.editorObj={show:!0,category_id:this.id,id:t.id,type:1,title:"编辑课包"}}},watch:{id:function(t){""!==t&&null!==t&&this.getList()}}},tt={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t._l(t.list,function(e){return a("el-card",{key:e.id,staticClass:"box-card"},[a("div",{staticClass:"id"},[a("img",{attrs:{src:e.cover}})]),t._v(" "),a("div",{staticClass:"btn"},[t.$store.state.readonly?t._e():a("el-button",{attrs:{type:"",icon:"el-icon-view",circle:"",size:"mini"},on:{click:function(a){t.showQr(e)}}}),t._v(" "),t.$store.state.readonly?t._e():a("el-button",{attrs:{type:"",icon:"el-icon-edit",circle:"",size:"mini"},on:{click:function(a){t.onEdit(e)}}}),t._v(" "),t.$store.state.deletePermission&&!t.$store.state.readonly?a("el-button",{attrs:{type:"",icon:"el-icon-delete",circle:"",size:"mini"},on:{click:function(a){t.delLseeon(e)}}}):t._e()],1),t._v(" "),a("div",{staticClass:"name"},[t._v("\n "+t._s(e.title)+"\n "),a("el-tag",{attrs:{size:"mini"}},[t._v(t._s(e.min_age)+"-"+t._s(e.max_age)+"岁")])],1)])}),t._v(" "),t.id?a("div",{staticClass:"add-block"},[t.$store.state.readonly?t._e():a("el-button",{attrs:{round:"",type:"success"},on:{click:t.onAdd}},[t._v("+新增课时")])],1):t._e(),t._v(" "),a("editor-dialog",{attrs:{editorObj:t.editorObj},on:{reflash:t.getList}}),t._v(" "),a("el-dialog",{attrs:{title:"微信扫码预览",center:!0,visible:t.qrShow,width:"300px"},on:{"update:visible":function(e){t.qrShow=e}}},[a("div",{attrs:{id:"qrcode"}})])],2)},staticRenderFns:[]};var et={name:"menuDialog",data:function(){return{imgList:[],form:{name:"",pid:"",cover:"",type:0}}},methods:{initDialog:function(){switch(this.dialogObj.type){case 0:this.form={name:"",pid:this.dialogObj.pid,cover:"",type:0},this.imgList=[];break;case 1:this.form={name:this.dialogObj.that.name,pid:this.dialogObj.that.pid,cover:this.dialogObj.that.cover,type:0},this.imgList=[],this.form.cover&&this.imgList.push({name:this.dialogObj.that.cover,url:this.dialogObj.that.cover,title:"",lable:""})}},handleRemove:function(){this.imgList=[],this.form.cover=""},onSave:function(){var t=this;switch(this.imgList[0]?this.form.cover=this.imgList[0].url:this.form.cover="",this.dialogObj.type){case 0:Object(i.f)(this.form).then(function(e){t.$message({type:"success",message:"添加成功!"}),t.dialogObj.show=!1,t.$emit("reflash")});break;case 1:Object(i._180)(this.dialogObj.category_id,this.form).then(function(e){t.$message({type:"success",message:"修改成功!"}),t.dialogObj.show=!1,t.$emit("reflash")})}},uploadFile:function(t){var e=this;this.$store.dispatch("setProgress",{type:"new",id:t.file.uid}),Object(i._188)({file:t.file,type:"local"}).then(function(t){e.imgList[0]={name:t.url,url:"https://cdn.singsingenglish.com/"+t.url,title:"",lable:""}})}},props:["dialogObj"],watch:{dialogObj:function(){this.initDialog()}}},at={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.dialogObj.title,visible:t.dialogObj.show},on:{"update:visible":function(e){t.$set(t.dialogObj,"show",e)}}},[a("el-form",{attrs:{"label-width":"80px"}},[a("el-form-item",{attrs:{label:"名称"}},[a("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"封面"}},[a("el-upload",{staticClass:"upload-demo",attrs:{"on-remove":t.handleRemove,action:"/api/public/upload","http-request":t.uploadFile,"list-type":"picture-card",multiple:"",limit:1,"file-list":t.imgList}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogObj.show=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.onSave()}}},[t._v("确 定")])],1)],1)},staticRenderFns:[]};var it={data:function(){return{leftList:[],index:"",dialogObj:{show:!1,type:0,pid:0,title:"新增一级分类",category_id:""},menuLoading:!1,id:""}},components:{thatList:a("VU/8")($,tt,!1,function(t){a("jg9W")},"data-v-346d6b7e",null).exports,menuDialog:a("VU/8")(et,at,!1,function(t){a("8lTK")},"data-v-11462116",null).exports},filters:{lengthNum:function(t){return t?t.length:"0"}},methods:{getList:function(){var t=this;Object(i._42)("").then(function(e){e.forEach(function(t){t.children=t.children||[],t.children.forEach(function(t){t.children||(t.children=[])})}),t.leftList=e,t.$store.commit("mainCanShow"),t.menuLoading=!1})},addItem:function(t){this.dialogObj={show:!0,type:0,pid:t,title:"新增三级分类",category_id:""}},addFist:function(){this.dialogObj={show:!0,type:0,pid:0,title:"新增一级分类",category_id:""}},addSec:function(t){this.dialogObj={show:!0,type:0,pid:t,title:"新增二级分类",category_id:""}},onEdit:function(t){},upIndex:function(t,e){var a=this,o=e.indexOf(t);if(o>0){this.menuLoading=!0;var n={category_up_id:t.id,category_down_id:e[o-1].id};Object(i._162)(n).then(function(t){a.getList()})}},downIndex:function(t,e){var a=this,o=e.indexOf(t);if(o<e.length-1){this.menuLoading=!0;var n={category_up_id:e[o+1].id,category_down_id:t.id};Object(i._162)(n).then(function(t){a.getList()})}},editIndex:function(t){this.dialogObj={show:!0,type:1,title:"编辑分类",category_id:t.id,that:t}},delIndex:function(t){var e=this;this.$confirm("此操作将删除该分类?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.K)(t.id).then(function(t){e.$message({type:"success",message:"删除成功!"})}),e.getList()})},chooseId:function(t){this.id=t.id}},mounted:function(){this.getList()}},ot={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-container",[a("el-aside",{attrs:{width:"50%"}},[a("el-menu",{directives:[{name:"loading",rawName:"v-loading",value:t.menuLoading,expression:"menuLoading"}],attrs:{"default-active":t.index}},[a("div",{staticStyle:{padding:"5px"}},[t.$store.state.readonly?t._e():a("el-button",{staticStyle:{width:"100%"},attrs:{type:"success",plain:"",round:"",size:"mini"},on:{click:function(e){t.addFist()}}},[t._v("\n +添加分类\n ")])],1),t._v(" "),t._l(t.leftList,function(e){return a("el-submenu",{key:e.id,attrs:{index:e.name}},[a("template",{slot:"title"},[a("span",[t._v("\n "+t._s(e.name)+"("+t._s(t._f("lengthNum")(e.children))+")\n "),t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-bianji",on:{click:function(a){t.editIndex(e)}}}),t._v(" "),t.$store.state.deletePermission&&!t.$store.state.readonly?a("i",{staticClass:"iconfont icon-shanchu",on:{click:function(a){t.delIndex(e)}}}):t._e()])]),t._v(" "),t._l(e.children,function(i){return e.children?a("el-submenu",{key:i.id,staticClass:"list2",attrs:{index:i.name}},[a("span",{attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(i.name)+"\n "),a("div",{staticClass:"btn-block list2-btn"},[t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-shangyi",on:{click:function(a){t.upIndex(i,e.children)}}}),t._v(" "),t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-xiayi",on:{click:function(a){t.downIndex(i,e.children)}}}),t._v(" "),t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-bianji",on:{click:function(e){t.editIndex(i)}}}),t._v(" "),t.$store.state.deletePermission&&!t.$store.state.readonly?a("i",{staticClass:"iconfont icon-shanchu",on:{click:function(e){t.delIndex(i)}}}):t._e()])]),t._v(" "),t._l(i.children,function(e){return a("div",{key:e.name,on:{click:function(a){t.chooseId(e)}}},[a("el-menu-item",{staticClass:"list3",attrs:{index:e.name}},[t._v("\n "+t._s(e.name)+"\n "),a("div",{staticClass:"btn-block list3-btn"},[t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-shangyi",on:{click:function(a){t.upIndex(e,i.children)}}}),t._v(" "),t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-xiayi",on:{click:function(a){t.downIndex(e,i.children)}}}),t._v(" "),t.$store.state.readonly?t._e():a("i",{staticClass:"iconfont icon-bianji",on:{click:function(a){t.editIndex(e)}}}),t._v(" "),t.$store.state.deletePermission&&!t.$store.state.readonly?a("i",{staticClass:"iconfont icon-shanchu",on:{click:function(a){t.delIndex(e)}}}):t._e()])])],1)}),t._v(" "),a("el-menu-item",{staticClass:"list3",attrs:{index:"new"}},[t.$store.state.readonly?t._e():a("el-button",{staticStyle:{width:"100%"},attrs:{type:"success",round:"",size:"mini",plain:""},on:{click:function(e){t.addItem(i.id)}}},[t._v("+添加三级分类")])],1)],2):t._e()}),t._v(" "),a("el-menu-item",{staticClass:"list3",attrs:{index:"new"}},[t.$store.state.readonly?t._e():a("el-button",{staticStyle:{width:"100%"},attrs:{type:"success",round:"",size:"mini",plain:""},on:{click:function(a){t.addSec(e.id)}}},[t._v("+添加二级分类")])],1)],2)})],2)],1),t._v(" "),a("el-main",[a("that-list",{attrs:{id:t.id}})],1)],1),t._v(" "),a("menu-dialog",{attrs:{dialogObj:t.dialogObj},on:{reflash:t.getList}})],1)},staticRenderFns:[]};var nt=a("VU/8")(it,ot,!1,function(t){a("8A73")},"data-v-5e2d69b8",null);e.default=nt.exports}});
\ No newline at end of file
webpackJsonp([23],{"0bgI":function(e,t){},eCbs:function(e,t){},"eYh/":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i("kmJW"),s=(i("NC6I"),i("CCn6")),n=i("P0f4"),a=i("xGts"),r={name:"dialogObj",props:["dialogObj"],data:function(){return{}},watch:{"dialogObj.show":{deep:!0,handler:function(){console.log(this.dialogObj)}}},methods:{handlerAddressChange:function(e){if(e.province&&e.city&&e.district){this.dialogObj.detail=e.detail,this.dialogObj.province=e.province,this.dialogObj.city=e.city,this.dialogObj.receive_mobile=e.mobile,this.dialogObj.receive_name=e.name;var t=a.a.filter(function(t){return t.value===e.province}),i=t[0].children.filter(function(t){return t.value===e.city}),o=i[0].children.filter(function(t){return t.value===e.district});this.dialogObj.province_name=t[0].label,this.dialogObj.city_name=i[0].label,this.dialogObj.district_name=o.length>0?o[0].label:i[0].children[0].label,this.dialogObj.district=o.length>0?o[0].value:i[0].children[0].value}},saveAddress:function(){var e=this;this.$confirm("确定保存?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var t={province_id:e.dialogObj.province,province_name:e.dialogObj.province_name,city_id:e.dialogObj.city,city:e.dialogObj.city_name,area:e.dialogObj.district_name,area_id:e.dialogObj.district,address:e.dialogObj.detail,receive_name:e.dialogObj.receive_name,receive_mobile:e.dialogObj.receive_mobile};Object(s._12)(e.dialogObj.id,t).then(function(t){e.$message({type:"success",message:"修改成功"}),e.dialogObj.show=!1,e.$emit("reflash")})})}},components:{vueAddress:n.a},mounted:function(){console.log(this.dialogObj)}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{title:"编辑收货地址",center:"","append-to-body":"",visible:e.dialogObj.show,width:"800px"},on:{"update:visible":function(t){e.$set(e.dialogObj,"show",t)}}},[i("vue-address",{attrs:{province:e.dialogObj.province,city:e.dialogObj.city,district:e.dialogObj.district,detail:e.dialogObj.detail,mobile:e.dialogObj.receive_mobile,name:e.dialogObj.receive_name},on:{change:e.handlerAddressChange}}),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.dialogObj.show=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.saveAddress}},[e._v("保 存")])],1)],1)},staticRenderFns:[]};var d=i("VU/8")(r,l,!1,function(e){i("kQXt")},"data-v-9d2fec0c",null).exports,c={name:"receiveInfoDialog",props:["showFlag","goodsList","cancelEvent","sureEvent"],data:function(){return{}},methods:{cancelClick:function(){this.cancelEvent()},onAdd:function(){var e=this;this.periods&&this.periods.id?this.exportReceiveInfo().then(function(){e.sureEvent()}):Vue.prototype.$msgbox({message:"请选择期数",type:"warning"})},exportReceiveInfo:function(){return Object(s._28)(this.periods.id)},changePeriods:function(e){if(e.length>1){this.goods_id=e[0];var t=this.goodsList.find(function(t){return t.id===e[0]});this.periods=t.children.find(function(t){return t.id===e[1]})}},handleItemChange:function(e){var t=this;Object(s._76)({goods_id:e[0],limit:100}).then(function(i){i.list.forEach(function(e){e.name=e.title}),t.goodsList.find(function(t){return t.id===e[0]}).children=i.list})}}},h={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{visible:e.showFlag,width:"800px",center:"",title:"按期数导出收货信息"},on:{"update:visible":function(t){e.showFlag=t}}},[i("el-form",{attrs:{"label-width":"150px"}},[i("el-form-item",{attrs:{label:"期数"}},[i("el-cascader",{attrs:{options:e.goodsList,props:{value:"id",label:"name"}},on:{"active-item-change":e.handleItemChange,change:e.changePeriods},model:{value:e.selectedGoods,callback:function(t){e.selectedGoods=t},expression:"selectedGoods"}})],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.cancelClick}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.onAdd}},[e._v("确 定")])],1)],1)},staticRenderFns:[]},u=i("VU/8")(c,h,!1,null,null,null).exports,_=i("zSLJ"),m=i("sf/l"),g=i("+TkF"),p={name:"index",components:{page:o.a,addressDialog:d,receiveInfoDialog:u},data:function(){return{dialogObj:{show:!1},showFlag:!1,adressDialog:!1,searchFrom:{user_id:"",theme_id:"",periods_id:"",type:""},nowPage:1,total:0,limit:10,deliverList:[],selectedGoods:[],secGoods:[],periodsId:null,goods_id:null,goodsList:[],themeList:[],uploadHeader:{token:_.a.get("cc_token")},param_token:m.a.md5Code(),logisticsType:[{value:"0",name:"当前待发货 "},{value:"1",name:"所有待发货 "},{value:"2",name:"所有已发货 "}]}},filters:{LogisticsStatusFil:function(e){return g.p[e]}},mounted:function(){this.init()},methods:{cancelEvent:function(){this.showFlag=!1},sureEvent:function(){this.showFlag=!1},exportReceiveInfoTable:function(){this.showFlag=!0},downLoad:function(){window.open("/static/待发货模板.xls")},handleClick:function(e){this.searchFrom.type=e.name,this.getList()},editAddress:function(e){console.log(e),this.dialogObj.detail=e.address,this.dialogObj.receive_mobile=e.receive_mobile,this.dialogObj.receive_name=e.receive_name,this.dialogObj.province_name="",this.dialogObj.city_name="",this.dialogObj.district_name="",this.dialogObj.id=e.id,this.dialogObj.show=!0},onUpdateAddress:function(){this.dialogObj.show=!1,this.getList()},fileSuccess:function(){this.$message({message:"提交成功,请稍后刷新",type:"success"}),this.getList()},init:function(){var e=this;this.getList();Object(s._115)({page:1,limit:100}).then(function(t){e.themeList=t.list}),Object(s._60)({page:1,limit:100,goods_type:"1,2"}).then(function(t){console.log(t),t.list.forEach(function(e){e.name="["+e.id+"]["+g.g[e.goods_type]+"]["+e.current_price/100+"元]"+e.name,e.children=[]}),e.goodsList=t.list})},exportTable:function(){var e={};this.searchFrom.user_id&&(e.user_id=this.searchFrom.user_id),this.searchFrom.theme_id&&(e.theme_id=this.searchFrom.theme_id),this.searchFrom.periods_id&&(e.periods_id=this.searchFrom.periods_id),Object(s._27)("/api/admin/order/deliver/list/export",e,"待发货列表")},initQuery:function(){var e=this,t=this.$route.query;t&&t.goods_id&&t.periods_id?(this.goods_id=t.goods_id,this.selectedGoods=[parseInt(t.goods_id),parseInt(t.periods_id)],Object(s._76)({goods_id:this.selectedGoods[0],limit:100}).then(function(t){t.list.forEach(function(e){e.name=e.title}),e.goodsList.find(function(t){return t.id===e.selectedGoods[0]}).children=t.list;var i=e.goodsList.find(function(t){return t.id===e.selectedGoods[0]});e.periods=i.children.find(function(t){return t.id===e.selectedGoods[1]}),console.log(e.periods)})):Object(s._53)().then(function(t){console.log(t),t&&(e.goods_id=t.goods_id,e.selectedGoods=[parseInt(t.goods_id),parseInt(t.id)],Object(s._76)({goods_id:e.selectedGoods[0],limit:100}).then(function(t){t.list.forEach(function(e){e.name=e.title}),e.goodsList.find(function(t){return t.id===e.selectedGoods[0]}).children=t.list;var i=e.goodsList.find(function(t){return t.id===e.selectedGoods[0]});e.periods=i.children.find(function(t){return t.id===e.selectedGoods[1]}),e.teacher_id="",console.log(e.periods)}))}),console.log(this.goodsList)},onPageChange:function(e){this.nowPage=e,this.getList()},onSizeChange:function(e){this.limit=e,this.nowPage=1,this.getList()},getList:function(){var e=this,t={limit:this.limit,page:this.nowPage};this.searchFrom.user_id&&(t.user_id=this.searchFrom.user_id),this.searchFrom.theme_id&&(t.theme_id=this.searchFrom.theme_id),this.searchFrom.periods_id&&(t.periods_id=this.searchFrom.periods_id),this.searchFrom.type&&(t.type=this.searchFrom.type),Object(s._54)(t).then(function(t){e.deliverList=t.list,e.total=t.total,console.log(e.deliverList)})},reset:function(){this.searchFrom={user_id:"",theme_id:"",periods_id:"",type:""},this.getList()},changePeriods:function(e){if(e.length>1){this.goods_id=e[0];var t=this.goodsList.find(function(t){return t.id===e[0]});this.periods=t.children.find(function(t){return t.id===e[1]}),console.log(this.goodsList),console.log(this.periods),this.searchFrom.periods_id=this.periods.id}},handleItemChange:function(e){var t=this;Object(s._76)({goods_id:e[0],limit:100}).then(function(i){i.list.forEach(function(e){e.name=e.title}),t.goodsList.find(function(t){return t.id===e[0]}).children=i.list})}}},f={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sms"},[i("el-form",{ref:"searchFrom",attrs:{model:e.searchFrom,"label-width":"100px",inline:"",size:"small"}},[i("el-form-item",{attrs:{label:"用户ID"}},[i("el-input",{staticStyle:{width:"80px"},model:{value:e.searchFrom.user_id,callback:function(t){e.$set(e.searchFrom,"user_id",t)},expression:"searchFrom.user_id"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"期数"}},[i("el-cascader",{attrs:{options:e.goodsList,props:{value:"id",label:"name"},filterable:""},on:{"active-item-change":e.handleItemChange,change:e.changePeriods},model:{value:e.selectedGoods,callback:function(t){e.selectedGoods=t},expression:"selectedGoods"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"主题"}},[i("el-select",{attrs:{filterable:"",placeholder:"请选择",clearable:""},model:{value:e.searchFrom.theme_id,callback:function(t){e.$set(e.searchFrom,"theme_id",t)},expression:"searchFrom.theme_id"}},e._l(e.themeList,function(e,t){return i("el-option",{key:t,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary",plain:""},on:{click:e.getList}},[e._v("搜索")]),e._v(" "),i("el-button",{attrs:{type:"success",plain:""},on:{click:e.reset}},[e._v("重置")]),e._v(" "),e.$store.state.readonly?e._e():i("el-button",{attrs:{type:"primary",plain:""},on:{click:function(t){e.downLoad()}}},[e._v("excel模板下载")]),e._v(" "),e.$store.state.export?i("el-button",{attrs:{type:"primary",plain:""},on:{click:e.exportTable}},[e._v("导出当前待发货")]):e._e(),e._v(" "),i("el-button",{attrs:{type:"primary",plain:""},on:{click:e.exportReceiveInfoTable}},[e._v("按期数导出收货信息")])],1),e._v(" "),e.$store.state.import?i("el-form-item",[i("el-upload",{attrs:{"show-file-list":!1,onSuccess:e.fileSuccess,headers:e.uploadHeader,data:{param_token:e.param_token},action:"/api/admin/order/deliver/list/import"}},[i("el-button",{attrs:{type:"success",plain:""}},[e._v("导入发货信息")])],1)],1):e._e()],1),e._v(" "),i("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.searchFrom.type,callback:function(t){e.$set(e.searchFrom,"type",t)},expression:"searchFrom.type"}},[i("el-tab-pane",{attrs:{label:"当前待发货",name:"0"}}),e._v(" "),i("el-tab-pane",{attrs:{label:"所有待发货",name:"1"}}),e._v(" "),i("el-tab-pane",{attrs:{label:"所有已发货",name:"2"}})],1),e._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.deliverList,size:"mini"}},[i("el-table-column",{staticClass:"f-c",attrs:{width:"220",label:"用户"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("img",{staticClass:"avatar",attrs:{src:t.row.user_avatar}}),e._v("\n "+e._s(t.row.user_nickname)+"\n "),i("br"),e._v("\n (ID:"+e._s(t.row.user_id)+")\n "),i("br"),e._v("\n 手机:"+e._s(t.row.user_mobile)+"\n ")]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"address",label:"收货地址"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.receive_name)+"\n "),i("br"),e._v("\n "+e._s(t.row.receive_mobile)+"\n "),i("br"),e._v("\n "+e._s(t.row.province_name)+e._s(t.row.city_name)+e._s(t.row.area_name)+e._s(t.row.address)+"\n ")]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"periods_title",label:"期数名称"}}),e._v(" "),i("el-table-column",{attrs:{prop:"theme_name",label:"主题"}}),e._v(" "),i("el-table-column",{attrs:{prop:"deliver_start_at",label:"预计发货开始时间"}}),e._v(" "),i("el-table-column",{attrs:{prop:"deliver_end_at",label:"预计发货结束时间"}}),e._v(" "),i("el-table-column",{attrs:{prop:"deliver_at",label:"发货时间"}}),e._v(" "),i("el-table-column",{attrs:{prop:"status",label:"物流状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("LogisticsStatusFil")(t.row.status))+"\n "),i("br"),e._v(" "),2==e.searchFrom.type?i("span",[e._v("\n 名称:"+e._s(t.row.express_name)+"\n "),i("br"),e._v("\n 单号:"+e._s(t.row.express_no)+"\n ")]):e._e()]}}])}),e._v(" "),e.$store.state.readonly?e._e():i("el-table-column",{attrs:{width:"150",label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-button",{attrs:{plain:"",type:"info",size:"mini"},on:{click:function(i){e.editAddress(t.row)}}},[e._v("编辑收货地址")])]}}])})],1),e._v(" "),i("page",{attrs:{nowPage:e.nowPage,total:e.total},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}}),e._v(" "),i("address-dialog",{attrs:{dialogObj:e.dialogObj},on:{reflash:e.onUpdateAddress}}),e._v(" "),i("receiveInfoDialog",{attrs:{goodsList:e.goodsList,showFlag:e.showFlag,cancelEvent:e.cancelEvent,sureEvent:e.sureEvent}})],1)},staticRenderFns:[]};var v=i("VU/8")(p,f,!1,function(e){i("eCbs"),i("0bgI")},"data-v-3d8739ca",null);t.default=v.exports},kQXt:function(e,t){}});
\ No newline at end of file
webpackJsonp([24],{CUAv:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,a=o("CCn6"),n=o("kmJW"),s=o("5eDb"),l=o.n(s),r=(o("o5MN"),o("q47d"));o("NBEC"),o("gBhd"),o("Q/P+"),o("f85y"),o("q/hF"),o("yXOt"),o("c/6r"),o("Rv7z"),o("S0tB"),o("UWKq"),o("gvu3"),o("XUqK");function d(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var c={name:"tinymce",props:["lookData"],data:function(){return{radio:[],imageType:!1,form:{imgList:[],big:!1,weight:"",center:!0},show:"",dialogVisible:!1,init:{toolbar:"bold italic underline strikethrough | fontselect | fontsizeselect | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | undo redo | link unlink image code | ",language_url:"/static/tinymce/zh_CN.js",language:"zh_CN",skin_url:"/static/tinymce/skins/lightgray",height:500,plugins:"preview textpattern colorpicker lists code colorpicker fullpage textcolor wordcount contextmenu media",branding:!1},dialogVisibleMp3:!1}},activated:function(){this.show=!0},deactivated:function(){},mounted:function(){},methods:(i={beforeAvatarUploadAudio:function(t){var e="audio/mp3"===t.type;return e||this.$message.error("上传音频只能选择MP3格式!"),e},uploadFileMp3:function(t){var e=this;Object(a._188)({file:t.file,type:"local"}).then(function(t){e.$message({type:"success",message:"上传成功!"}),e.radio=[{name:t.name,url:t.url}]})},removeFile:function(){},removeFileMp3:function(){},handleExceed:function(){},audioInter:function(){if(this.radio.length<1)return this.$message({type:"error",message:"请选择音频"}),!1;var t='<p style="text-align: center"><img class="mce-object mce-object-audio" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="280" height="55" data-mce-p-controls="controls" data-mce-html="%0A%3Csource%20src%3D%22https%3A//cdn.singsingenglish.com/'+this.radio[0].url+'%22%20type%3D%22audio/mpeg%22%20/%3E" data-mce-object="audio"></p>';l.a.activeEditor.insertContent(t),this.dialogVisibleMp3=!1},showDialogMP3:function(){this.dialogVisibleMp3=!0,this.radio=[]},beforeAvatarUploadImg:function(t){var e="image/jpeg"===t.type||"image/png"===t.type;return e||this.$message.error("上传头像图片只能是 JPG 或 PNG 格式!"),e},imgInter:function(){if(this.form.imgList.length<1)return this.$message({type:"error",message:"请选择图片"}),!1;var t="";this.form.big?t+="width:100%;":t+="width:70%",this.form.center&&(t="display:block;margin:auto");var e='<img src="'+this.form.imgList[0].url+'" style="'+t+'"/>';l.a.activeEditor.insertContent(e),this.dialogVisible=!1},uploadFile:function(t){var e=this;Object(a._188)({file:t.file,type:"local"}).then(function(t){e.$message({type:"success",message:"上传成功!"}),e.form.imgList=[{name:t.name,url:"https://cdn.singsingenglish.com/"+t.url}]})},showDialog:function(){this.dialogVisible=!0,this.form={imgList:[],big:!1,weight:"",center:!0}},insertContent:function(t){if(t){var e=null;if(document.selection)(e=document.selection).createRange().pasteHTML(t);else if((e=document.getElementById("tinymce_ifr").contentWindow.getSelection()).rangeCount>0){var o=e.getRangeAt(0);o.deleteContents();var i=document.createElement("div");i.innerHTML=t;var a=document.createDocumentFragment(),n=i.firstChild,s=a.appendChild(n);o.insertNode(a);var l=o.cloneRange();l.setStartAfter(s),l.collapse(!0),e.removeAllRanges(),e.addRange(l)}}}},d(i,"removeFile",function(){}),d(i,"handleExceed",function(){}),i),created:function(){l.a.init({})},components:{Editor:r.a}},u={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"tinymce"},[o("editor",{attrs:{id:"tinymce",init:t.init},model:{value:t.lookData.content,callback:function(e){t.$set(t.lookData,"content",e)},expression:"lookData.content"}}),t._v(" "),o("div",[o("div",{staticClass:"imgInter",on:{click:function(e){t.showDialog()}}},[t._v("插入图片")]),t._v(" "),o("div",{staticClass:"MP3Inter",on:{click:function(e){t.showDialogMP3()}}},[t._v("插入音频")])]),t._v(" "),o("el-dialog",{attrs:{title:"插入图片",visible:t.dialogVisible,"modal-append-to-body":!1,"close-on-click-modal":!1,center:"","append-to-body":!0,width:"550px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[o("el-form",{attrs:{"label-width":"80px"}},[o("el-form-item",{attrs:{label:"图片"}},[o("el-upload",{attrs:{action:"/api/public/upload","http-request":t.uploadFile,"on-remove":t.removeFile,"before-upload":t.beforeAvatarUploadImg,drag:"","on-exceed":t.handleExceed,multiple:"",limit:1,"file-list":t.form.imgList}},[o("i",{staticClass:"el-icon-upload"}),t._v(" "),o("div",{staticClass:"el-upload__text"},[t._v("将文件拖到此处,或"),o("em",[t._v("点击上传")])]),t._v(" "),o("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("只能上传png或jpg文件")])])],1),t._v(" "),o("el-form-item",{attrs:{label:"铺满"}},[o("el-switch",{model:{value:t.form.big,callback:function(e){t.$set(t.form,"big",e)},expression:"form.big"}})],1),t._v(" "),o("el-form-item",{attrs:{label:"居中"}},[o("el-switch",{model:{value:t.form.center,callback:function(e){t.$set(t.form,"center",e)},expression:"form.center"}})],1)],1),t._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:t.imgInter}},[t._v("确 定")])],1)],1),t._v(" "),o("el-dialog",{attrs:{title:"插入音频",visible:t.dialogVisibleMp3,"modal-append-to-body":!1,"close-on-click-modal":!1,center:"","append-to-body":!0,width:"550px"},on:{"update:visible":function(e){t.dialogVisibleMp3=e}}},[o("el-form",{attrs:{"label-width":"80px"}},[o("el-form-item",{attrs:{label:"音频"}},[o("el-upload",{attrs:{action:"/api/public/upload","http-request":t.uploadFileMp3,"before-upload":t.beforeAvatarUploadAudio,"on-remove":t.removeFileMp3,drag:"","on-exceed":t.handleExceed,multiple:"",limit:1,"file-list":t.radio}},[o("i",{staticClass:"el-icon-upload"}),t._v(" "),o("div",{staticClass:"el-upload__text"},[t._v("将文件拖到此处,或"),o("em",[t._v("点击上传")])]),t._v(" "),o("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("只能上传MP3文件,且不超过10MB")])])],1)],1),t._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(e){t.dialogVisibleMp3=!1}}},[t._v("取 消")]),t._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:t.audioInter}},[t._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var p={name:"index",data:function(){return{total:0,nowPage:1,limit:10,contentTotal:0,contentNowPage:1,contentLimit:10,activeName:"keywords_reply",modularList:[],modularContent:[],selectModular:[],questionListParams:{type:"1",pid:""},postModularParams:{type:"1",title:"",pid:"",keywords:"",content:""},postModularDialog:!1,modularTitle:"新建模块",postModularContentDialog:!1,modularContentTitle:"新建话术内容",typeArr:[{value:"1",label:"话术类型"},{value:"2",label:"流程类型"}],modularId:"",contentType:""}},components:{editorDetail:o("VU/8")(c,u,!1,function(t){o("Q1xo")},"data-v-36033905",null).exports,page:n.a},mounted:function(){this.getList()},filters:{type:function(t){return"text"===t?"文本":"voice"===t?"语音":"video"===t?"视频":"image"===t?"图片":"news"===t?"图文":"link"===t?"链接":"news-item"===t?"图文链接":t}},methods:{upcontent:function(t,e){var o=this;if(console.log(t,e),0!=e){var i={question_up_id:this.modularContent[e].id,question_down_id:this.modularContent[e-1].id};Object(a._163)(i).then(function(t){o.handleChange(o.modularId)})}},downcontent:function(t,e){var o=this;if(e<=this.modularContent.length-1){var i={question_up_id:this.modularContent[e+1].id,question_down_id:this.modularContent[e].id};Object(a._163)(i).then(function(t){o.handleChange(o.modularId)})}},upIndex:function(t,e){var o=this;if(0!=e){var i={question_up_id:this.modularList[e].id,question_down_id:this.modularList[e-1].id};Object(a._163)(i).then(function(t){o.getList()})}},downIndex:function(t,e){var o=this;if(e<=this.modularList.length-1){var i={question_up_id:this.modularList[e+1].id,question_down_id:this.modularList[e].id};Object(a._163)(i).then(function(t){o.getList()})}},delIndex:function(t){var e=this;console.log(t),this.$confirm("此操作将删除该记录?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){console.log(t),Object(a._2)(t.id).then(function(t){e.getList(),e.$message({type:"success",message:"删除成功!"})})})},handleChange:function(){var t=this;this.modularContent=[];var e={type:this.questionListParams.type,page:this.contentNowPage,limit:this.contentLimit};this.modularId&&(e.pid=this.modularId),this.postModularParams.pid=this.modularId,Object(a._86)(e.type,e).then(function(e){t.modularContent=e.list,console.log(e),t.contentTotal=e.total})},postModularContentInit:function(){this.contentType="new",this.postModularParams.title="",this.postModularParams.keywords="",this.postModularParams.content="",this.postModularParams.type=this.questionListParams.type,this.postModularContentDialog=!0},postModularContentFn:function(){var t=this;console.log(this.postModularParams);var e={};if("new"==this.contentType){if(this.modularContentTitle="新建话术内容",!this.postModularParams.type)return void this.$message({message:"请选择类型!"});if(!this.postModularParams.title)return void this.$message({message:"请输入标题!"});if(!this.postModularParams.pid)return void this.$message({message:"请选择模块!"});if(!this.postModularParams.keywords)return void this.$message({message:"请输入关键词!"});if(!this.postModularParams.content)return void this.$message({message:"请填写内容!"});e=Object.assign({},this.postModularParams),Object(a._143)(e).then(function(e){console.log(e),t.getList(),t.$message({type:"success",message:"提交成功!"});var o={type:t.questionListParams.type,pid:t.postModularParams.pid};Object(a._86)(o.type,o).then(function(e){t.modularContent=e.list,console.log(e)}),t.postModularContentDialog=!1})}else this.modularContentTitle="编辑话术内容",e=Object.assign({},this.postModularParams),console.log(e),Object(a._184)(e.id,e).then(function(e){console.log(e),t.$message({type:"success",message:"更新成功!"}),t.postModularContentDialog=!1})},editContent:function(t){var e=this;this.contentType="edit";Object(a._85)(t.id).then(function(t){e.postModularParams=Object.assign({},t),console.log(e.postModularParams),e.postModularContentDialog=!0})},editContentFn:function(){},editModular:function(t){this.postModularDialog=!0,this.modularTitle="编辑模块",this.postModularParams=Object.assign({},t)},postModularInit:function(){this.postModularDialog=!0,this.modularTitle="新建模块",this.postModularParams.title=""},postModularFn:function(){var t=this,e={};if("新建模块"==this.modularTitle){if(!this.postModularParams.type)return void this.$message({message:"请选择类型!"});if(!this.postModularParams.title)return void this.$message({message:"请填写标题!"});e.type=this.postModularParams.type,e.title=this.postModularParams.title,console.log(e),Object(a._143)(e).then(function(e){console.log(e),t.getList(),t.$message({type:"success",message:"提交成功!"}),t.postModularDialog=!1})}else this.postModularParams.pid="",e.type=this.postModularParams.type,e.title=this.postModularParams.title,e.id=this.postModularParams.id,console.log(e),Object(a._184)(e.id,e).then(function(e){t.getList(),t.$message({type:"success",message:"更新成功!"}),t.postModularDialog=!1})},onPageChange:function(t){this.nowPage=t,this.getList()},onSizeChange:function(t){this.nowPage=1,this.limit=t,this.getList()},onPageChangeC:function(t){this.contentNowPage=t,this.handleChange()},onSizeChangeC:function(t){this.contentNowPage=1,this.contentLimit=t,this.handleChange()},getList:function(){var t=this,e={type:this.questionListParams.type,page:this.nowPage,limit:this.limit};this.questionListParams.pid&&(e.pid=this.questionListParams.pid),Object(a._86)(e.type,e).then(function(e){t.modularList=e.list,console.log(t.modularList),t.total=e.total})},delContent:function(t){var e=this;console.log(t),this.$confirm("此操作将删除该记录?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){console.log(t),Object(a._2)(t.id).then(function(t){var o={type:e.questionListParams.type};o.pid=e.postModularParams.pid,Object(a._86)(o.type,o).then(function(t){e.modularContent=t.list,console.log(t)}),e.$message({type:"success",message:"删除成功!"})})})},handleClick:function(t){this.questionListParams.type=t.name,this.postModularParams.type=t.name,this.getList()},typeChange:function(){var t=this,e={type:this.postModularParams.type};Object(a._86)(e.type,e).then(function(e){t.selectModular=e.list})}}},m={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"cssbox"},[o("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.questionListParams.type,callback:function(e){t.$set(t.questionListParams,"type",e)},expression:"questionListParams.type"}},[o("el-tab-pane",{attrs:{label:"话术",name:"1"}}),t._v(" "),o("el-tab-pane",{attrs:{label:"流程",name:"2"}})],1),t._v(" "),o("div",{staticClass:"btnBox"},[t.$store.state.readonly?t._e():o("el-button",{attrs:{type:"success",plain:""},on:{click:t.postModularInit}},[t._v("新建模块")])],1),t._v(" "),o("el-collapse",{attrs:{accordion:""},on:{change:t.handleChange},model:{value:t.modularId,callback:function(e){t.modularId=e},expression:"modularId"}},t._l(t.modularList,function(e,i){return o("el-collapse-item",{key:i,attrs:{name:e.id}},[o("template",{slot:"title"},[t._v("\n "+t._s(e.title)+"\n "),o("div",{staticClass:"btn-block list2-btn"},[t.$store.state.readonly?t._e():o("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"mini",plain:"",type:"warning"},on:{click:function(o){t.editModular(e)}}},[t._v("编辑")]),t._v(" "),t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(o){t.delIndex(e)}}},[t._v("删除")]),t._v(" "),t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:""},on:{click:function(o){t.upIndex(e,i)}}},[t._v("上移")]),t._v(" "),t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:""},on:{click:function(o){t.downIndex(e,i)}}},[t._v("下移")])],1)]),t._v(" "),o("div",{staticClass:"btnBox"},[t.$store.state.readonly?t._e():o("el-button",{attrs:{type:"success",plain:""},on:{click:t.postModularContentInit}},[t._v("新建模块内容")])],1),t._v(" "),o("el-table",{staticStyle:{width:"100%"},attrs:{data:t.modularContent}},[o("el-table-column",{attrs:{prop:"title",label:"标题"}}),t._v(" "),o("el-table-column",{attrs:{prop:"keywords",label:"关键字"}}),t._v(" "),o("el-table-column",{attrs:{label:"创建时间",prop:"created_at"}}),t._v(" "),t.$store.state.readonly?t._e():o("el-table-column",{attrs:{width:"330",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:"",type:"warning"},on:{click:function(o){t.editContent(e.row)}}},[t._v("编辑查看")]),t._v(" "),t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:"",type:"danger"},on:{click:function(o){t.delContent(e.row)}}},[t._v("删除")]),t._v(" "),t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:""},on:{click:function(o){t.upcontent(e.row,e.$index)}}},[t._v("上移")]),t._v(" "),t.$store.state.readonly?t._e():o("el-button",{attrs:{size:"mini",plain:""},on:{click:function(o){t.downcontent(e.row,e.$index)}}},[t._v("下移")])]}}])})],1),t._v(" "),o("page",{attrs:{total:t.contentTotal,limit:t.contentLimit},on:{pageChange:t.onPageChangeC,sizeChange:t.onSizeChangeC}})],2)})),t._v(" "),o("page",{attrs:{total:t.total,limit:t.limit},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}}),t._v(" "),o("el-dialog",{attrs:{title:t.modularTitle,center:"",visible:t.postModularDialog,width:"800px"},on:{"update:visible":function(e){t.postModularDialog=e}}},[o("el-form",{ref:"form",attrs:{model:t.postModularParams}},[o("el-row",[o("el-col",{attrs:{span:8}},[o("el-form-item",{attrs:{label:"标题","label-width":"80px",required:""}},[o("el-input",{model:{value:t.postModularParams.title,callback:function(e){t.$set(t.postModularParams,"title",e)},expression:"postModularParams.title"}})],1)],1)],1)],1),t._v(" "),1!==t.type?o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(e){t.postModularDialog=!1}}},[t._v("取 消")]),t._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:t.postModularFn}},[t._v("确 定")])],1):t._e()],1),t._v(" "),o("el-dialog",{ref:"ruleForm",attrs:{title:t.modularContentTitle,center:"",visible:t.postModularContentDialog,width:"800px"},on:{"update:visible":function(e){t.postModularContentDialog=e}}},[o("el-form",{ref:"form",attrs:{model:t.postModularParams}},[o("el-row",[o("el-col",{attrs:{span:8}},[o("el-form-item",{attrs:{label:"标题","label-width":"80px",required:""}},[o("el-input",{model:{value:t.postModularParams.title,callback:function(e){t.$set(t.postModularParams,"title",e)},expression:"postModularParams.title"}})],1)],1)],1),t._v(" "),o("el-row",[o("el-col",{attrs:{span:8}},[o("el-form-item",{attrs:{label:"关键词","label-width":"80px",required:""}},[o("el-input",{model:{value:t.postModularParams.keywords,callback:function(e){t.$set(t.postModularParams,"keywords",e)},expression:"postModularParams.keywords"}})],1)],1)],1),t._v(" "),o("el-row",[o("el-col",{attrs:{span:24}},[o("el-form-item",{attrs:{label:"商品详情","label-width":"80px",required:""}},[o("editor-detail",{attrs:{lookData:t.postModularParams}})],1)],1)],1)],1),t._v(" "),1!==t.type?o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(e){t.postModularContentDialog=!1}}},[t._v("取 消")]),t._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(e){t.postModularContentFn("ruleForm")}}},[t._v("确 定")])],1):t._e()],1)],1)},staticRenderFns:[]};var g=o("VU/8")(p,m,!1,function(t){o("Cpxi"),o("G99E")},"data-v-e2fedbb6",null);e.default=g.exports},Cpxi:function(t,e){},G99E:function(t,e){},Q1xo:function(t,e){}});
\ No newline at end of file
webpackJsonp([25],{"0gIA":function(e,t){},Fmgy:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("CCn6"),r={props:["dialogObj"],data:function(){return{nowPage:1,total:0,limit:10,classList:[]}},components:{page:a("kmJW").a},methods:{onPageChange:function(e){this.nowPage=e,this.classListOption()},onSizeChange:function(e){this.limit=e,this.nowPage=1,this.classListOption()},classListOption:function(){var e=this;void 0==this.dialogObj.timeValue[0]&&(this.dialogObj.timeValue[0]=""),void 0==this.dialogObj.timeValue[1]&&(this.dialogObj.timeValue[1]="");var t={page:this.nowPage,limit:this.limit,start_at:this.dialogObj.timeValue[0],end_at:this.dialogObj.timeValue[1]};Object(o._106)(t,this.dialogObj.teacher_id).then(function(t){e.classList=t.list,e.total=t.total})}},watch:{"dialogObj.show":function(e){e&&this.classListOption()}}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.dialogObj.title,visible:e.dialogObj.show},on:{"update:visible":function(t){e.$set(e.dialogObj,"show",t)}}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.classList}},[a("el-table-column",{attrs:{label:"购买人",className:"f-c",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"avatar",attrs:{src:t.row.avatar}}),e._v(" "+e._s(t.row.nickname)),a("br"),e._v("(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"交易订单号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"goods_name",label:"商品名字"}}),e._v(" "),a("el-table-column",{attrs:{prop:"money",label:"金额(元)"}}),e._v(" "),a("el-table-column",{attrs:{prop:"pay_at",label:"支付时间"}})],1),e._v(" "),a("page",{attrs:{nowPage:e.nowPage,total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}})],1)},staticRenderFns:[]};var s={name:"index",data:function(){var e=this;return{activeName:"first",firstList:[],secondList:[],searchFirstFrom:{dateValue:[],squad:"11"},today:{text:"今天",onClick:function(){e.searchFirstFrom.dateValue=[e.formatTime(new Date),e.formatTime(new Date)],e.searchSecondFrom.dateValue=[e.formatTime(new Date),e.formatTime(new Date)]}},yesterday:{text:"昨天",onClick:function(){var t=e.formatTime(new Date((new Date).getTime()-864e5));e.searchFirstFrom.dateValue=[t,t],e.searchSecondFrom.dateValue=[t,t]}},last7Day:{text:"过去7天",onClick:function(){var t=e.formatTime(new Date((new Date).getTime()-6048e5));e.searchFirstFrom.dateValue=[t,e.formatTime(new Date)],e.searchSecondFrom.dateValue=[t,e.formatTime(new Date)]}},last30Day:{text:"过去30天",onClick:function(){var t=e.formatTime(new Date((new Date).getTime()-2592e6));e.searchFirstFrom.dateValue=[t,e.formatTime(new Date)],e.searchSecondFrom.dateValue=[t,e.formatTime(new Date)]}},searchSecondFrom:{dateValue:[],squad:"11"},dialogObj:{show:!1,title:"售卖课程",teacher_id:"",timeValue:[]}}},components:{classDialog:a("VU/8")(r,l,!1,function(e){a("jAlk"),a("0gIA")},"data-v-43828d16",null).exports},mounted:function(){this.defaultTime(),this.searchFirstPage()},methods:{sortMoney:function(e,t){return Number(e.total_money)-Number(t.total_money)},handleClick:function(e){"first"===e.name?this.searchFirstPage():this.searchSecondPage()},searchFirstPage:function(){var e=this,t={};this.searchFirstFrom.dateValue&&(t={start_at:this.searchFirstFrom.dateValue[0],end_at:this.searchFirstFrom.dateValue[1]},11!=this.searchFirstFrom.squad&&(t.squad=this.searchFirstFrom.squad)),Object(o._112)(t).then(function(t){e.firstList=t})},searchSecondPage:function(){var e=this,t={};this.searchSecondFrom.dateValue&&(t={start_at:this.searchSecondFrom.dateValue[0],end_at:this.searchSecondFrom.dateValue[1]},11!=this.searchSecondFrom.squad&&(t.squad=this.searchSecondFrom.squad)),Object(o._108)(t).then(function(t){if(t.length>0){var a={cur_date:"总计",total_money:0,one_to_two:0,one_year:0,three_month:0,two_year:0,tid:0};t.forEach(function(e){a.total_money+=Number(e.total_money),a.one_to_two+=e.one_to_two,a.one_year+=e.one_year,a.three_month+=e.three_month,a.two_year+=e.two_year,a.tid+=e.tid}),a.total_money=a.total_money+".00",t.unshift(a),e.secondList=t}})},formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var o=e.getDate();return o<10&&(o="0"+o),t+"-"+a+"-"+o},defaultTime:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var o=e.getDate();o<10&&(o="0"+o);var r=t+"-"+a+"-01",l=t+"-"+a+"-"+o;this.searchFirstFrom.dateValue=[r,l],this.searchSecondFrom.dateValue=[r,l]},nameClick:function(e,t){this.dialogObj.teacher_id=e.tid,this.dialogObj.timeValue=void 0!=t?t:[e.cur_date,e.cur_date],this.dialogObj.show=!0}}},n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h2",{staticClass:"title"},[e._v("班主任业绩排行")]),e._v(" "),a("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"业绩总排行",name:"first"}},[a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":e.searchFirstPage},model:{value:e.searchFirstFrom.squad,callback:function(t){e.$set(e.searchFirstFrom,"squad",t)},expression:"searchFirstFrom.squad"}},[a("el-tab-pane",{key:"",attrs:{label:"总排行",name:"11"}}),e._v(" "),e._l(10,function(e){return a("el-tab-pane",{key:e,attrs:{label:"T"+e,name:e.toString()}})})],2),e._v(" "),a("el-form",{ref:"searchFirstFrom",attrs:{inline:"",model:e.searchFirstFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]},"value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.searchFirstPage},model:{value:e.searchFirstFrom.dateValue,callback:function(t){e.$set(e.searchFirstFrom,"dateValue",t)},expression:"searchFirstFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchFirstPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.firstList}},[a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.nameClick(t.row,e.searchFirstFrom.dateValue)}}},[e._v("\n "+e._s(t.row.teacher_name)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":e.sortMoney,sortable:!0}}),e._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"one_to_two",label:"续课",sortable:""}})],1)],1),e._v(" "),a("el-tab-pane",{attrs:{label:"业绩按天排行",name:"second"}},[a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":e.searchSecondPage},model:{value:e.searchSecondFrom.squad,callback:function(t){e.$set(e.searchSecondFrom,"squad",t)},expression:"searchSecondFrom.squad"}},[a("el-tab-pane",{key:"",attrs:{label:"总排行",name:"11"}}),e._v(" "),e._l(10,function(e){return a("el-tab-pane",{key:e,attrs:{label:"T"+e,name:e.toString()}})})],2),e._v(" "),a("el-form",{ref:"searchSecondFrom",attrs:{inline:"",model:e.searchSecondFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","value-format":"yyyy-MM-dd","picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]},"range-separator":"至",shortcuts:[],"start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.searchSecondPage},model:{value:e.searchSecondFrom.dateValue,callback:function(t){e.$set(e.searchSecondFrom,"dateValue",t)},expression:"searchSecondFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchSecondPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.secondList}},[a("el-table-column",{attrs:{prop:"cur_date",label:"时间",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){e.nameClick(t.row)}}},[e._v("\n "+e._s(t.row.teacher_name)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":e.sortMoney,sortable:!0}}),e._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}})],1)],1)],1),e._v(" "),a("class-dialog",{attrs:{dialogObj:e.dialogObj}})],1)},staticRenderFns:[]};var i=a("VU/8")(s,n,!1,function(e){a("Hlc7")},"data-v-2a479930",null);t.default=i.exports},Hlc7:function(e,t){},jAlk:function(e,t){}});
\ No newline at end of file
webpackJsonp([37],{"0Ajo":function(e,t){},"15Bc":function(e,t){},L5jB:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s("CCn6"),a=s("+TkF"),i={name:"index",components:{page:s("kmJW").a},data:function(){var e=[];for(var t in a.i)e.push({id:t,value:a.i[t]});var s=[];for(var r in a.h)s.push({id:r,value:a.h[r]});return{width:0,searchFrom:{user_id:"",sub_user_id:""},userList:[],total:0,nowPage:1,limit:10,showDetail:!1}},mounted:function(){this.getUser(),this.width=window.innerWidth-200},filters:{INTEGRALTYPE:function(e){return a.i[e]},INTEGRALFUN:function(e){return a.h[e]}},methods:{onPageChange:function(e){this.nowPage=e,this.getUser()},onSizeChange:function(e){this.limit=e,this.nowPage=1,this.getUser()},getUser:function(){var e=this,t={page:this.nowPage,limit:this.limit};this.searchFrom.user_id&&(t.user_id=this.searchFrom.user_id),this.searchFrom.sub_user_id&&(t.sub_user_id=this.searchFrom.sub_user_id),Object(r._104)(t).then(function(t){e.userList=t.list,e.total=t.total})}}},n={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"integral-page"},[s("el-form",{ref:"searchFrom",staticStyle:{"padding-top":"20px"},attrs:{model:e.searchFrom,"label-width":"80px",inline:""}},[s("el-form-item",{attrs:{label:"主账户ID"}},[s("el-input",{model:{value:e.searchFrom.user_id,callback:function(t){e.$set(e.searchFrom,"user_id",t)},expression:"searchFrom.user_id"}})],1),e._v(" "),s("el-form-item",{attrs:{label:"子账户ID"}},[s("el-input",{model:{value:e.searchFrom.sub_user_id,callback:function(t){e.$set(e.searchFrom,"sub_user_id",t)},expression:"searchFrom.sub_user_id"}})],1),e._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary",plain:""},on:{click:e.getUser}},[e._v("搜索")])],1)],1),e._v(" "),s("el-table",{style:{width:e.width+"px"},attrs:{data:e.userList}},[s("el-table-column",{attrs:{className:"f-c",label:"主账户"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("img",{staticClass:"avatar",attrs:{src:t.row.user_avatar}}),e._v("\n "+e._s(t.row.user_nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{className:"f-c",label:"子账户"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("img",{staticClass:"avatar",attrs:{src:t.row.sub_user_avatar}}),e._v("\n "+e._s(t.row.sub_user_nickname)+"(ID:"+e._s(t.row.sub_user_id)+")\n ")]}}])}),e._v(" "),s("el-table-column",{attrs:{prop:"created_at",label:"绑定时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"unbind_at",label:"解绑时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s("0000-00-00 00:00:00"==t.row.unbind_at?"未解绑":t.row.unbind_at))]}}])})],1),e._v(" "),s("page",{attrs:{total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}})],1)},staticRenderFns:[]};var o=s("VU/8")(i,n,!1,function(e){s("0Ajo"),s("15Bc")},"data-v-58f290b0",null);t.default=o.exports}});
\ No newline at end of file
webpackJsonp([38],{"5SHU":function(t,e){},JKpU:function(t,e){},WvRy:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("CCn6"),s={name:"index",components:{page:a("kmJW").a},data:function(){return{nowPage:1,total:0,limit:10,useTypeList:[{id:0,value:"未使用"},{id:1,value:"已使用"},{id:2,value:"禁用"}],searchFrom:{user_id:"",out_trade_no:"",status:0},list:[],dialogObj:{show:!1},value1:"",rowId:""}},filters:{filterStatus:function(t){var e="";return 0===t?e="未使用":1===t?e="已使用":2===t&&(e="禁用"),e}},mounted:function(){this.getList()},methods:{editTime:function(t){this.dialogObj.show=!0,this.value1=new Date(t.deadline_at),this.rowId=t.id,console.log(t)},onConfirm:function(){var t=this;console.log(this.value1),Object(o._11)({deadline_at:this.value1},this.rowId).then(function(e){t.dialogObj.show=!1,t.getList()})},dayline:function(t){return"0000-00-00 00:00:00"==t.deadline_at?"永不过期":t.deadline_at},onPageChange:function(t){this.nowPage=t,this.getList()},onSizeChange:function(t){this.nowPage=1,this.limit=t,this.getList()},getList:function(){var t=this,e={limit:this.limit,page:this.nowPage};this.searchFrom.user_id&&(e.user_id=this.searchFrom.user_id),(this.searchFrom.status||0===this.searchFrom.status)&&(e.status=this.searchFrom.status),this.searchFrom.out_trade_no&&(e.out_trade_no=this.searchFrom.out_trade_no),Object(o._52)(e).then(function(e){t.total=e.total,t.list=e.list?e.list:[]})}}},l={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"refund"},[a("el-form",{ref:"searchFrom",attrs:{model:t.searchFrom,"label-width":"100px",inline:""}},[a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{model:{value:t.searchFrom.user_id,callback:function(e){t.$set(t.searchFrom,"user_id",e)},expression:"searchFrom.user_id"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"订单号"}},[a("el-input",{model:{value:t.searchFrom.out_trade_no,callback:function(e){t.$set(t.searchFrom,"out_trade_no",e)},expression:"searchFrom.out_trade_no"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"使用状态"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:t.getList},model:{value:t.searchFrom.status,callback:function(e){t.$set(t.searchFrom,"status",e)},expression:"searchFrom.status"}},t._l(t.useTypeList,function(t){return a("el-option",{key:t.id,attrs:{label:t.value,value:t.id}})}))],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.getList}},[t._v("搜索")])],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.list}},[a("el-table-column",{attrs:{prop:"coupon_no",label:"优惠券码"}}),t._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"订单号"}}),t._v(" "),a("el-table-column",{attrs:{label:"用户信息","min-width":"140",className:"userInfo"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("img",{staticClass:"avatar",attrs:{src:e.row.user_avatar}}),t._v("\n "+t._s(e.row.user_nickname)+"(ID:"+t._s(e.row.user_id)+")\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"优惠券金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(parseFloat(e.row.money/100))+"元\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"使用状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("filterStatus")(e.row.status))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"备注"}}),t._v(" "),a("el-table-column",{attrs:{prop:"deadline_at",label:"过期时间",formatter:t.dayline}}),t._v(" "),a("el-table-column",{attrs:{prop:"use_at",label:"使用时间",sortable:""}}),t._v(" "),t.$store.state.readonly?t._e():a("el-table-column",{attrs:{label:"操作","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",plain:"",size:"mini"},on:{click:function(a){t.editTime(e.row)}}},[t._v("\n 修改过期时间\n ")])]}}])})],1),t._v(" "),a("el-dialog",{attrs:{title:"修改过期时间",visible:t.dialogObj.show},on:{"update:visible":function(e){t.$set(t.dialogObj,"show",e)}}},[a("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd-HH-mm-ss",placeholder:"选择日期时间"},model:{value:t.value1,callback:function(e){t.value1=e},expression:"value1"}}),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogObj.show=!1}}},[t._v("取 消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:t.onConfirm}},[t._v("确 定")])],1)],1),t._v(" "),a("page",{attrs:{nowPage:t.nowPage,total:t.total},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}})],1)},staticRenderFns:[]};var n=a("VU/8")(s,l,!1,function(t){a("JKpU"),a("5SHU")},"data-v-567ad96a",null);e.default=n.exports}});
\ No newline at end of file
webpackJsonp([39],{CGL6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("CCn6"),n={name:"banner",components:{page:i("kmJW").a},data:function(){return{loading:!1,bannerList:[],searchFrom:{status:"1",type:"2"},total:0,nowPage:1,uploadShow:!0,limit:10,dialog:{title:"新增",show:!1,rules:{title:[{required:!0,message:"请填写名称",trigger:"change"}],link:[{required:!0,message:"请填写链接",trigger:"change"}],sub_title:[{required:!0,message:"请填写子名称",trigger:"change"}]},form:{title:"",url:"",link:"",id:"",sub_title:""}},imageList:[],audio:[]}},created:function(){this.getList()},filters:{status:function(t){return 1===t?"上架中":"已下架"}},methods:{removeFileAudio2:function(t,e){this.audio=e},handleExceed:function(){},beforeAvatarAudio:function(t){var e="audio/mp3"===t.type;return e||this.$message.error("上传视频只能是MP3格式!"),e},uploadFileAudio2:function(t){var e=this;Object(a._188)({file:t.file,type:"local",obj:t}).then(function(i){e.$message({type:"success",message:"上传成功!"}),t.onSuccess("上传成功"),e.dialog.form.link="https://cdn.singsingenglish.com/"+i.url,e.audio.push({name:i.name,url:"https://cdn.singsingenglish.com/"+i.url,title:"",tips:"",image:""})})},onPageChange:function(t){this.nowPage=t,this.getList()},changeStatus:function(t){var e=this,i=void 0,n=void 0;1===t.status?(i="此操作将下架,是否继续?",n=2):(i="此操作将上架,是否继续?",n=1),this.$confirm(i,"提示",{confirmButtonText:"继续",cancelButtonText:"取消",type:"warning"}).then(function(){var i={status:n};Object(a.x)(t.id,i).then(function(t){e.$message({type:"success",message:"修改成功!"}),e.getList()})})},onSizeChange:function(t){this.nowPage=1,this.limit=t,this.getList()},getList:function(){var t=this;this.loading=!0;var e={limit:this.limit,page:this.nowPage};"-1"!==this.searchFrom.status&&(e.status=this.searchFrom.status),Object(a._37)(this.searchFrom.type,e).then(function(e){e&&(t.bannerList=e.list,t.total=e.total,t.loading=!1)})},edit:function(t){var e=this;this.dialog.form.id=t.id,this.dialog.title="编辑",Object(a._36)(t.id).then(function(t){e.dialog.form.title=t.title,e.dialog.form.sub_title=t.sub_title,e.dialog.form.link=t.link,e.imageList=[{name:t.url,url:t.url}],e.dialog.show=!0,e.uploadShow=!1,e.audio=[]})},add:function(){this.dialog.show=!0,this.dialog.form.id="",this.dialog.title="新增",this.dialog.form.title="",this.dialog.form.sub_title="",this.dialog.form.link="",this.imageList=[],this.uploadShow=!0,this.audio=[]},del:function(t){var e=this;this.$confirm("此操作将删除该?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(a.I)(t.id).then(function(t){e.$message({type:"success",message:"删除成功!"}),e.getList()})})},handleAvatarSuccess:function(t){this.imageList=[{name:t.data.url,url:"https://cdn.singsingenglish.com/"+t.data.url}],this.dialog.form.url="https://cdn.singsingenglish.com/"+t.data.url},beforeAvatarUpload:function(){this.uploadShow=!1},handleRemove:function(){this.uploadShow=!0},sub:function(){var t=this;this.$refs.form.validate(function(e){if(e){var i=t.dialog;if(i.form.id){var n={title:i.form.title,link:i.form.link,sub_title:i.form.sub_title};t.imageList.length>0&&(n.url=t.imageList[0].url),t.$confirm("确认修改","提示",{confirmButtonText:"继续",cancelButtonText:"取消",type:"warning"}).then(function(){Object(a._8)(i.form.id,n).then(function(){t.$message({type:"success",message:"修改成功!"}),i.show=!1,t.getList()})})}else{var s={title:i.form.title,link:i.form.link,sub_title:i.form.sub_title};t.imageList.length>0&&(s.url=t.imageList[0].url),t.$confirm("确认添加","提示",{confirmButtonText:"继续",cancelButtonText:"取消",type:"warning"}).then(function(){Object(a.c)(t.searchFrom.type,s).then(function(){t.$message({type:"success",message:"添加成功!"}),i.show=!1,t.getList()})})}}})},moveUp:function(t){var e=this.bannerList;this.sort(e[t].id,e[t-1].id)},moveDown:function(t){var e=this.bannerList;this.sort(e[t+1].id,e[t].id)},sort:function(t,e){var i=this;this.loading=!0,Object(a._133)(t,e).then(function(){i.loading=!1,i.getList()})},uploadFile:function(t){var e=this;this.loading=!0,this.$store.dispatch("setProgress",{type:"new",id:t.file.uid}),this.fileUid=t.file.uid,Object(a._188)({file:t.file,type:"local"}).then(function(t){e.imageList=[{name:t.url,url:"https://cdn.singsingenglish.com/"+t.url}],e.loading=!1,e.$message({type:"success",message:"上传成功!"})}).catch(function(){e.loading=!1})}}},s={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"banner"},[i("div",{staticClass:"head clear-both"},[t.$store.state.readonly?t._e():i("el-button",{staticStyle:{float:"right"},attrs:{plain:"",type:"success"},on:{click:t.add}},[t._v("新增")])],1),t._v(" "),i("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":t.getList},model:{value:t.searchFrom.type,callback:function(e){t.$set(t.searchFrom,"type",e)},expression:"searchFrom.type"}},[i("el-tab-pane",{attrs:{label:"磨耳朵",name:"2"}}),t._v(" "),i("el-tab-pane",{attrs:{label:"启蒙小课堂",name:"3"}}),t._v(" "),i("el-tab-pane",{attrs:{label:"明星学员",name:"4"}}),t._v(" "),i("el-tab-pane",{attrs:{label:"精彩直播课",name:"5"}})],1),t._v(" "),i("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":t.getList},model:{value:t.searchFrom.status,callback:function(e){t.$set(t.searchFrom,"status",e)},expression:"searchFrom.status"}},[i("el-tab-pane",{attrs:{label:"全部",name:"-1"}}),t._v(" "),i("el-tab-pane",{attrs:{label:"上架",name:"1"}}),t._v(" "),i("el-tab-pane",{attrs:{label:"下架",name:"2"}})],1),t._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{data:t.bannerList}},[i("el-table-column",{attrs:{prop:"id",label:"ID"}}),t._v(" "),i("el-table-column",{attrs:{prop:"title",label:"标题"}}),t._v(" "),i("el-table-column",{attrs:{prop:"url",label:"图片"},scopedSlots:t._u([{key:"default",fn:function(t){return[i("a",{attrs:{href:t.row.url,target:"_blank"}},[i("img",{staticClass:"short-banner",attrs:{src:t.row.url}})])]}}])}),t._v(" "),i("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("status")(e.row.status))+"\n ")]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"link",label:"链接"}}),t._v(" "),t.$store.state.readonly?t._e():i("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-popover",{attrs:{placement:"top",width:"280"}},[i("div",{staticStyle:{"text-align":"center"}},[i("el-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(i){t.edit(e.row)}}},[t._v("\n 编辑\n ")]),t._v(" "),t.$store.state.deletePermission?i("el-button",{attrs:{size:"mini",type:"danger",plain:""},on:{click:function(i){t.del(e.row)}}},[t._v("\n 删除\n ")]):t._e(),t._v(" "),2==e.row.status?i("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(i){t.changeStatus(e.row)}}},[t._v("\n 上架\n ")]):t._e(),t._v(" "),1==e.row.status?i("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(i){t.changeStatus(e.row)}}},[t._v("\n 下架\n ")]):t._e(),t._v(" "),e.$index>0?i("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(i){t.moveUp(e.$index)}}},[t._v("\n 上移\n ")]):t._e(),t._v(" "),e.$index!==t.bannerList.length-1?i("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(i){t.moveDown(e.$index)}}},[t._v("\n 下移\n ")]):t._e()],1),t._v(" "),i("el-button",{attrs:{slot:"reference",size:"mini",type:"text"},slot:"reference"},[t._v("操作")])],1)]}}])})],1),t._v(" "),i("page",{attrs:{nowPage:t.nowPage,total:t.total,limit:t.limit},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}}),t._v(" "),i("el-dialog",{attrs:{title:t.dialog.title,center:"","append-to-body":"",visible:t.dialog.show,width:"30%"},on:{"update:visible":function(e){t.$set(t.dialog,"show",e)}}},[i("el-form",{ref:"form",attrs:{rules:t.dialog.rules,model:t.dialog.form,"label-width":"100px"}},[i("el-form-item",{attrs:{label:"名称",prop:"title"}},[i("el-input",{model:{value:t.dialog.form.title,callback:function(e){t.$set(t.dialog.form,"title",e)},expression:"dialog.form.title"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"二级名称",prop:"sub_title"}},[i("el-input",{model:{value:t.dialog.form.sub_title,callback:function(e){t.$set(t.dialog.form,"sub_title",e)},expression:"dialog.form.sub_title"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"链接",prop:"link"}},[i("el-input",{model:{value:t.dialog.form.link,callback:function(e){t.$set(t.dialog.form,"link",e)},expression:"dialog.form.link"}})],1),t._v(" "),i("div",{staticClass:"upload-block"},[i("el-upload",{class:{disabled:!t.uploadShow},attrs:{action:"/api/public/upload/zone","http-request":t.uploadFile,"before-upload":t.beforeAvatarUpload,"list-type":"picture-card","file-list":t.imageList,"on-success":t.handleAvatarSuccess,"on-remove":t.handleRemove}},[i("i",{staticClass:"el-icon-plus"})]),t._v(" "),i("p",{staticClass:"size"},[t._v("750*400")])],1),t._v(" "),2==t.searchFrom.type&&0==t.audio.length?i("el-upload",{staticClass:"upload-demo",attrs:{"http-request":t.uploadFileAudio2,"before-upload":t.beforeAvatarAudio,"file-list":t.audio,"on-exceed":t.handleExceed,"on-remove":t.removeFileAudio2,drag:"",action:"https://jsonplaceholder.typicode.com/posts/",multiple:""}},[i("i",{staticClass:"el-icon-upload"}),t._v(" "),i("div",{staticClass:"el-upload__text"},[t._v("\n 将文件拖到此处,或"),i("em",[t._v("点击上传")]),t._v(" "),i("br"),t._v(" "),i("span",{staticStyle:{color:"#888888","font-size":"12px"}},[t._v("只能上传MP3文件")])])]):t._e()],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialog.show=!1}}},[t._v("取 消")]),t._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:t.sub}},[t._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var o=i("VU/8")(n,s,!1,function(t){i("vkdW"),i("QPLF")},null,null);e.default=o.exports},QPLF:function(t,e){},vkdW:function(t,e){}});
\ No newline at end of file
webpackJsonp([40],{"5Hj3":function(e,t){},F5pf:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("CCn6"),o=a("zSLJ"),r=a("kmJW"),i=a("sf/l"),l=(a("NC6I"),{name:"putForward",data:function(){var e=this;return{today:{text:"今天",onClick:function(t){t.$emit("pick",[e.formatTime(new Date)+" 00:00:00",e.formatTime(new Date)+" 23:59:59"])}},yesterday:{text:"昨天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-864e5));t.$emit("pick",[a+" 00:00:00",a+" 23:59:59"])}},last30Day:{text:"过去30天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-2592e6));t.$emit("pick",[a+" 00:00:00",e.formatTime(new Date)+" 23:59:59"])}},last7Day:{text:"过去7天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-6048e5));t.$emit("pick",[a+" 00:00:00",e.formatTime(new Date)+" 23:59:59"])}},uploadHeader:{token:o.a.get("cc_token")},param_token:i.a.md5Code(),nowPage:1,total:0,limit:10,search:{key:"",status:"1",payTime:[]},liStatus:[{label:"全部",status:""},{label:"申请中",status:0},{label:"提现成功",status:1},{label:"提现失败",status:2}],tableData:[],showDialog:!1,showDesc:!1,dialogTitle:"审核",nowObj:{id:"",status:1,reason:"",desc:""},page:{current:1,pageSize:100,total:0},putForwardDialog:{show:!1,user_id:"",userLabel:"",money:0,desc:""},userList:[],rules:{userLabel:[{required:!0,message:"请选择用户",trigger:"change"}],money:[{required:!0,message:"请输入提现金额",trigger:"change"}],desc:[{required:!0,message:"请输入提现说明",trigger:"change"}]},searchFrom:{},selectUserList:[],userDialog:{show:!1,nowPage:1,total:0,limit:5}}},components:{page:r.a},filters:{moneyYuan:function(e){return e?(e/100).toFixed(2)+"元":"0元"},filterStatus:function(e){var t="";return 0===e.status?t="审核中":1===e.status?t="提现成功":2===e.status&&(t="提现失败("+e.reason+")"),t},userLabel:function(e){return e.nickname+"["+e.user_id+"]"}},mounted:function(){this.getList()},methods:{fileSuccess:function(){this.$message({message:"提交成功,请稍后刷新",type:"success"})},formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var s=e.getDate();return s<10&&(s="0"+s),t+"-"+a+"-"+s},onSizeChange:function(e){this.nowPage=1,this.limit=e,this.getList()},exportTable:function(){var e={};this.search.withdraw_no&&(e.withdraw_no=this.search.withdraw_no),this.search.out_trade_no&&(e.out_trade_no=this.search.out_trade_no),(this.search.status||0===this.search.status)&&(e.status=this.search.status),this.search.user_id&&(e.user_id=this.search.user_id),this.search.money&&(e.money=100*parseFloat(this.search.money)),Object(s._27)("/api/admin/withdraw/export",e,"提现列表")},getList:function(){var e=this,t={limit:this.limit,page:this.nowPage};this.search.withdraw_no&&(t.withdraw_no=this.search.withdraw_no),this.search.out_trade_no&&(t.out_trade_no=this.search.out_trade_no),this.search.status&&"-1"!==this.search.status&&(t.status=this.search.status),this.search.user_id&&(t.user_id=this.search.user_id),this.search.payTime&&this.search.payTime.length>0&&(t.success_start_at=this.search.payTime[0],t.success_end_at=this.search.payTime[1]),this.search.money&&(t.money=100*parseFloat(this.search.money)),Object(s._125)(t).then(function(t){e.tableData=t.list,e.total=t.total})},onSearch:function(){this.nowPage=1,this.getList()},checkMoney:function(e){this.nowObj.id=e,this.showDesc=!1,this.showDialog=!0},addDesc:function(e,t){this.nowObj.id=e,this.nowObj.desc=t,this.showDesc=!0,this.showDialog=!0},onPageChange:function(e){this.nowPage=e,this.page.current=e,this.getList()},doCallback:function(){this.nowObj.id="",this.nowObj.status=1,this.nowObj.reason="",this.nowObj.desc="",this.page.current=1,this.showDialog=!1,this.getList(),this.$message({message:"提交成功",type:"success"})},onSave:function(e){var t=this;if(e){var a={desc:this.nowObj.desc};if(""===a.desc||null==a.desc)return this.$message.error("请填写备注"),!1;Object(s._19)(this.nowObj.id,"withdraw",a).then(function(e){t.doCallback()})}else{var o={reason:this.nowObj.reason,status:this.nowObj.status};if((""===o.reason||null==o.reason)&&2===o.status)return this.$message.error("请填写失败理由"),!1;o.reason="",Object(s._190)(this.nowObj.id,o).then(function(e){t.doCallback()})}},manualPutForward:function(){this.putForwardDialog.show=!0,this.putForwardDialog.user_id="",this.putForwardDialog.userLabel="",this.putForwardDialog.money=0,this.putForwardDialog.desc="",this.getUserList()},getUserList:function(){var e=this,t={limit:this.userDialog.limit,page:this.userDialog.nowPage};this.searchFrom.userId&&(t.user_id=this.searchFrom.userId),this.searchFrom.nickName&&(t.nickname=this.searchFrom.nickName),this.searchFrom.mobile&&(t.mobile=this.searchFrom.mobile),Object(s._118)(t).then(function(t){e.userList=t.list,e.userDialog.total=t.total})},confirmPutForward:function(){var e=this,t={user_id:this.putForwardDialog.user_id,money:this.putForwardDialog.money,desc:this.putForwardDialog.desc};this.$refs.refPutForward.validate(function(a){if(!a)return!1;e.$confirm("确定保存?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(s._137)(t).then(function(t){e.$message({type:"success",message:"保存成功"}),e.getList(),e.putForwardDialog.show=!1})})})},handleSelectionChange:function(e){this.selectUserList=e},onUserPageChange:function(e){this.userDialog.nowPage=e,this.getUserList()},onUserSizeChange:function(e){this.userDialog.limit=e,this.userDialog.nowPage=1,this.getUserList()},onAdd:function(){0!==this.selectUserList.length?1===this.selectUserList.length?(this.putForwardDialog.userLabel=this.selectUserList[0].nickname+"["+this.selectUserList[0].user_id+"]",this.putForwardDialog.user_id=this.selectUserList[0].user_id,this.userDialog.show=!1):this.$message({type:"error",message:"只能选择一个用户!"}):this.$message({type:"error",message:"请选择用户!"})}}}),n={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"putForward"},[a("el-form",{staticClass:"demo-form-inline",attrs:{model:e.search,inline:"","label-width":"80px"}},[a("el-form-item",{attrs:{label:"提现单号"}},[a("el-input",{attrs:{placeholder:"提现单号"},model:{value:e.search.withdraw_no,callback:function(t){e.$set(e.search,"withdraw_no",t)},expression:"search.withdraw_no"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"订单号"}},[a("el-input",{attrs:{placeholder:"订单号"},model:{value:e.search.out_trade_no,callback:function(t){e.$set(e.search,"out_trade_no",t)},expression:"search.out_trade_no"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{attrs:{placeholder:"用户ID"},model:{value:e.search.user_id,callback:function(t){e.$set(e.search,"user_id",t)},expression:"search.user_id"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"提现金额"}},[a("el-input",{attrs:{placeholder:"提现金额"},model:{value:e.search.money,callback:function(t){e.$set(e.search,"money",t)},expression:"search.money"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"提现时间"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","value-format":"yyyy-MM-dd","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"],"picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]}},model:{value:e.search.payTime,callback:function(t){e.$set(e.search,"payTime",t)},expression:"search.payTime"}})],1),e._v(" "),e.$store.state.import?a("el-form-item",{attrs:{label:""}},[a("el-upload",{attrs:{"show-file-list":!1,onSuccess:e.fileSuccess,headers:e.uploadHeader,data:{param_token:e.param_token},action:"/api/admin/pay/users/import "}},[a("el-button",{attrs:{type:"primary",plain:""}},[e._v("批量提现")])],1)],1):e._e(),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.$store.state.export?a("el-button",{attrs:{type:"primary"},on:{click:e.exportTable}},[e._v("导出")]):e._e(),e._v(" "),e.$store.state.import?a("el-button",{attrs:{type:"primary"},on:{click:e.manualPutForward}},[e._v("手动提现")]):e._e()],1)],1),e._v(" "),a("el-tabs",{staticStyle:{background:"white","padding-top":"10px"},attrs:{type:"card"},on:{"tab-click":e.onSearch},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[a("el-tab-pane",{attrs:{label:"提现成功",name:"1"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"申请中",name:"0"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"申请失败",name:"2"}}),e._v(" "),a("el-tab-pane",{attrs:{label:"全部",name:"-1"}})],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"",fixed:""}},[a("el-table-column",{attrs:{prop:"withdraw_no",label:"提现单号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"订单号"}}),e._v(" "),a("el-table-column",{attrs:{label:"用户",width:"200",className:"f-c"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticClass:"avatar",attrs:{src:t.row.user_avatar}}),e._v(" "+e._s(t.row.user_nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"user_mobile",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{label:"提现金额"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("moneyYuan")(t.row.money))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提现状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{class:{status:!0,red:2===t.row.status,green:1===t.row.status}},[e._v("\n "+e._s(e._f("filterStatus")(t.row))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提现成功时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.success_at)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提现时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.created_at)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"desc",label:"备注"}}),e._v(" "),e.$store.state.readonly?e._e():a("el-table-column",{attrs:{label:"操作",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.checkMoney(t.row.id,t.row.desc)}}},[e._v("\n 审核\n ")]):e._e(),e._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){e.addDesc(t.row.id,t.row.desc)}}},[e._v("\n 添加备注\n ")])]}}])})],1),e._v(" "),a("page",{attrs:{nowPage:e.nowPage,total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}}),e._v(" "),e.showDialog?a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.showDialog},on:{"update:visible":function(t){e.showDialog=t}}},[a("el-form",{ref:"saveuser",attrs:{model:e.nowObj,"label-width":"70px"}},[e.showDesc?e._e():a("el-form-item",{attrs:{label:"订单状态"}},[[a("el-radio-group",{model:{value:e.nowObj.status,callback:function(t){e.$set(e.nowObj,"status",t)},expression:"nowObj.status"}},[a("el-radio",{attrs:{label:1}},[e._v("提现成功")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("提现失败")])],1)]],2),e._v(" "),2!==e.nowObj.status||e.showDesc?e._e():a("el-form-item",{attrs:{label:"失败理由"}},[a("el-input",{attrs:{type:"textarea",rows:"3","auto-complete":"off"},model:{value:e.nowObj.reason,callback:function(t){e.$set(e.nowObj,"reason",t)},expression:"nowObj.reason"}})],1),e._v(" "),e.showDesc?a("el-form-item",{attrs:{label:"备注信息"}},[a("el-input",{attrs:{type:"textarea",rows:"3","auto-complete":"off"},model:{value:e.nowObj.desc,callback:function(t){e.$set(e.nowObj,"desc",t)},expression:"nowObj.desc"}})],1):e._e()],1),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.onSave(e.showDesc)}}},[e._v("保 存")]),e._v(" "),a("el-button",{on:{click:function(t){e.showDialog=!1}}},[e._v("取 消")])],1)],1):e._e(),e._v(" "),e.putForwardDialog.show?a("el-dialog",{attrs:{title:"手动提现",visible:e.putForwardDialog.show},on:{"update:visible":function(t){e.$set(e.putForwardDialog,"show",t)}}},[a("el-form",{ref:"refPutForward",attrs:{model:e.putForwardDialog,rules:e.rules,"label-width":"80px"}},[a("el-row",[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"用户",prop:"userLabel"}},[a("el-input",{attrs:{readonly:"",placeholder:"请选择用户"},model:{value:e.putForwardDialog.userLabel,callback:function(t){e.$set(e.putForwardDialog,"userLabel",t)},expression:"putForwardDialog.userLabel"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:4}},[a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:function(t){e.userDialog.show=!0}}},[e._v("选择用户")])],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"提现金额",prop:"money"}},[a("el-input-number",{attrs:{min:0,placeholder:"提现金额"},model:{value:e.putForwardDialog.money,callback:function(t){e.$set(e.putForwardDialog,"money",t)},expression:"putForwardDialog.money"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"提现说明",prop:"desc"}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入内容"},model:{value:e.putForwardDialog.desc,callback:function(t){e.$set(e.putForwardDialog,"desc",t)},expression:"putForwardDialog.desc"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.putForwardDialog.show=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.confirmPutForward}},[e._v("确 定")])],1),e._v(" "),a("el-dialog",{attrs:{modal:!1,visible:e.userDialog.show},on:{"update:visible":function(t){e.$set(e.userDialog,"show",t)}}},[a("el-form",{attrs:{"label-width":"90px"}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"ID"}},[a("el-input",{model:{value:e.searchFrom.userId,callback:function(t){e.$set(e.searchFrom,"userId",t)},expression:"searchFrom.userId"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"昵称"}},[a("el-input",{model:{value:e.searchFrom.nickName,callback:function(t){e.$set(e.searchFrom,"nickName",t)},expression:"searchFrom.nickName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"电话"}},[a("el-input",{model:{value:e.searchFrom.mobile,callback:function(t){e.$set(e.searchFrom,"mobile",t)},expression:"searchFrom.mobile"}})],1)],1)],1),e._v(" "),a("el-row",[a("el-col",{attrs:{span:8,offset:16}},[a("el-form-item",[a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",plain:""},on:{click:e.getUserList}},[e._v("搜索")])],1)],1)],1)],1),e._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.userList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),e._v(" "),a("el-table-column",{attrs:{className:"f-c",label:"用户"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticStyle:{"margin-right":"5px",width:"50px",height:"50px","border-radius":"50px"},attrs:{src:t.row.avatar}}),e._v(e._s(t.row.nickname)+"(ID:"+e._s(t.row.user_id)+")\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"mobile",label:"手机号"}})],1),e._v(" "),a("page",{attrs:{total:e.userDialog.total,limit:e.userDialog.limit},on:{pageChange:e.onUserPageChange,sizeChange:e.onUserSizeChange}}),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.userDialog.show=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.onAdd}},[e._v("确 定")])],1)],1)],1):e._e()],1)},staticRenderFns:[]};var c=a("VU/8")(l,n,!1,function(e){a("5Hj3"),a("cLLB")},"data-v-3f5c1dee",null);t.default=c.exports},cLLB:function(e,t){}});
\ No newline at end of file
webpackJsonp([71],{GSP7:function(e,n){},IcnI:function(e,n,t){"use strict";var o=t("NYxO"),a=t("lRwf"),r=t.n(a),i=t("zSLJ"),u={setToken:function(e,n){e.token=n,i.a.set("cc_token",n)},setUserName:function(e,n){e.userName=n,i.a.set("cc_user_name",n)},setPermission:function(e,n){e.progressList=n,localStorage.setItem("permission",JSON.stringify(n))},setMenu:function(e,n){e.menuList=n},readonly:function(e,n){e.readonly=n},deletePermission:function(e,n){e.deletePermission=n},distribution:function(e,n){e.distribution=n},classManage:function(e,n){e.classManage=n},classManageUnlimited:function(e,n){e.classManageUnlimited=n},classTakeUnlimited:function(e,n){e.classTakeUnlimited=n},promoter:function(e,n){e.promoter=n},mainCanShow:function(e){e.mainLoad=!1},mainUnShow:function(e){e.mainLoad=!0},changeParentRouter:function(e,n){e.menuList.find(function(e){return e.name===n.name}).routerName=n.to.name},progress:function(e,n){switch(n.type){case"new":e.progressList.push({num:0,id:n.id});break;case"change":e.progressList.find(function(e){return e.id===n.id}).num=n.num;break;case"delete":e.progressList.find(function(e){return e.id===n.id})}}};r.a.use(o.a);n.a=new o.a.Store({state:{show:!1,userName:"",token:"",export:!1,orderRefund:!1,permission:!1,readonly:!0,deletePermission:!1,distribution:!1,classManage:!1,classManageUnlimited:!1,classTakeUnlimited:!1,import:!1,promoter:!1,mainLoad:!0,menuList:[],menuType:!1,nowTab:"first",progressList:[],openedTab:[{value:"首页",routerName:"first",name:"first",delNo:!0,path:"/index"}]},mutations:u,actions:{setToken:function(e,n){(0,e.commit)("setToken",n)},setUserName:function(e,n){(0,e.commit)("setUserName",n)},setProgress:function(e,n){(0,e.commit)("progress",n)},setPermission:function(e,n){(0,e.commit)("setPermission",n)},setMenu:function(e,n){(0,e.commit)("setMenu",n)},readonly:function(e,n){(0,e.commit)("readonly",n)},deletePermission:function(e,n){(0,e.commit)("deletePermission",n)},distribution:function(e,n){(0,e.commit)("distribution",n)},classManage:function(e,n){(0,e.commit)("classManage",n)},classManageUnlimited:function(e,n){(0,e.commit)("classManageUnlimited",n)},classTakeUnlimited:function(e,n){(0,e.commit)("classTakeUnlimited",n)},promoter:function(e,n){(0,e.commit)("promoter",n)}}})},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=[{name:"",value:"教研管理",icon:"icon-material",list:[{value:"教材列表",routerName:"resources",path:"/resources",cover:"1-1",router:{path:"/resources",name:"resources",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("z5EG")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"商品课程",icon:"icon-shangpin1",list:[{value:"课程列表",routerName:"lesson",path:"/lesson",cover:"2-1",router:{path:"/lesson",name:"lesson",component:function(e){return Promise.all([t.e(0),t.e(9)]).then(function(){var n=[t("AbSL")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"商品列表",routerName:"shop",path:"/shop",cover:"4-1",router:{path:"/shop",name:"shop",component:function(e){return Promise.all([t.e(0),t.e(14)]).then(function(){var n=[t("1djJ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"期数管理",icon:"icon-kecheng",list:[{value:"期数列表",routerName:"periods",path:"/periods",cover:"2-2",router:{path:"/periods",name:"periods",component:function(e){return Promise.all([t.e(0),t.e(26)]).then(function(){var n=[t("ayGs")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"班级列表",routerName:"class",path:"/class",cover:"2-3",router:{path:"/class",name:"class",component:function(e){return Promise.all([t.e(0),t.e(16)]).then(function(){var n=[t("OX9A")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"市场招生统计",routerName:"marketStatistics",path:"/marketStatistics",cover:"2-5",router:{path:"/marketStatistics",name:"marketStatistics",component:function(e){return Promise.all([t.e(0),t.e(49)]).then(function(){var n=[t("SKyX")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"不上课日期",routerName:"noLesson",path:"/noLesson",cover:"2-4",router:{path:"/noLesson",name:"noLesson",component:function(e){return Promise.all([t.e(0),t.e(35)]).then(function(){var n=[t("sg/1")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"自化课列表",routerName:"autoClass",path:"/autoClass",cover:"2-6",router:{path:"/autoClass",name:"autoClass",component:function(e){return Promise.all([t.e(0),t.e(30)]).then(function(){var n=[t("f9Sx")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"销售管理",icon:"icon-laoshi",list:[{value:"教师列表",routerName:"teacher",path:"/teacher",cover:"3-1",router:{path:"/teacher",name:"teacher",component:function(e){return Promise.all([t.e(0),t.e(2)]).then(function(){var n=[t("Y0Vi")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"月课订单列表",routerName:"monthOrder",path:"/monthOrder",cover:"5-10",router:{path:"/monthOrder",name:"monthOrder",component:function(e){return Promise.all([t.e(0),t.e(5)]).then(function(){var n=[t("xdzM")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"月课订单统计",routerName:"monthOrderCount",path:"/monthOrderCount",cover:"5-12",router:{path:"/monthOrderCount",name:"monthOrderCount",component:function(e){return Promise.all([t.e(0),t.e(53)]).then(function(){var n=[t("v/LD")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"退款列表",routerName:"refund",path:"/refund",cover:"5-2",router:{path:"/refund",name:"refund",component:function(e){return Promise.all([t.e(0),t.e(36)]).then(function(){var n=[t("89rD")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"业绩排行",routerName:"achievement",path:"/achievement",cover:"5-7",router:{path:"/achievement",name:"achievement",component:function(e){return Promise.all([t.e(0),t.e(25)]).then(function(){var n=[t("Fmgy")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"话术列表",routerName:"talkingSkill",path:"/talkingSkill",cover:"11-6",router:{path:"/talkingSkill",name:"talkingSkill",component:function(e){return Promise.all([t.e(0),t.e(24)]).then(function(){var n=[t("CUAv")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"用户管理",icon:"icon-laoshi",list:[{value:"用户列表",routerName:"user",path:"/user",cover:"3-2",router:{path:"/user",name:"user",component:function(e){return Promise.all([t.e(0),t.e(4)]).then(function(){var n=[t("jFLA")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"老系统用户列表",routerName:"oldUser",path:"/oldUser",cover:"3-3",router:{path:"/oldUser",name:"oldUser",component:function(e){return Promise.all([t.e(0),t.e(42)]).then(function(){var n=[t("K2yr")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"用户积分列表",routerName:"integral",path:"/integral",cover:"3-4",router:{path:"/integral",name:"integral",component:function(e){return Promise.all([t.e(0),t.e(13)]).then(function(){var n=[t("NDyu")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"绑定子账号列表",routerName:"subList",path:"/subList",cover:"3-5",router:{path:"/subList",name:"subList",component:function(e){return Promise.all([t.e(0),t.e(37)]).then(function(){var n=[t("L5jB")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"订单管理",icon:"icon-dingdan",list:[{value:"日课订单列表",routerName:"order",path:"/order",cover:"5-1",router:{path:"/order",name:"order",component:function(e){return Promise.all([t.e(0),t.e(8)]).then(function(){var n=[t("2qmY")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"提现列表",routerName:"putForward",path:"/putForward",cover:"5-3",router:{path:"/putForward",name:"putForward",component:function(e){return Promise.all([t.e(0),t.e(40)]).then(function(){var n=[t("F5pf")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"发货管理",routerName:"consignment",path:"/consignment",cover:"5-4",router:{path:"/consignment",name:"consignment",component:function(e){return t.e(59).then(function(){var n=[t("usUK")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"订单统计",routerName:"orderCount",path:"/orderCount",cover:"5-5",router:{path:"/orderCount",name:"orderCount",component:function(e){return Promise.all([t.e(0),t.e(58)]).then(function(){var n=[t("s7i+")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"日课订单统计",routerName:"dayOrderCount",path:"/dayOrderCount",cover:"5-11",router:{path:"/dayOrderCount",name:"dayOrderCount",component:function(e){return Promise.all([t.e(0),t.e(50)]).then(function(){var n=[t("mjLz")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"优惠券列表",routerName:"coupon",path:"/coupon",cover:"5-6",router:{path:"/coupon",name:"coupon",component:function(e){return Promise.all([t.e(0),t.e(38)]).then(function(){var n=[t("WvRy")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"扫码入课列表",routerName:"notBuyClass",path:"/notBuyClass",cover:"5-8",router:{path:"/notBuyClass",name:"notBuyClass",component:function(e){return Promise.all([t.e(0),t.e(22)]).then(function(){var n=[t("E6Zo")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"外部订单列表",routerName:"yunji",path:"/yunji",cover:"5-9",router:{path:"/yunji",name:"yunji",component:function(e){return Promise.all([t.e(0),t.e(15)]).then(function(){var n=[t("69L+")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"兑换码管理",routerName:"exchange",path:"/exchange",cover:"5-13",router:{path:"/exchange",name:"exchange",component:function(e){return Promise.all([t.e(0),t.e(11)]).then(function(){var n=[t("CvLZ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"数据管理",icon:"icon-shezhi",list:[{value:"年课转化来源",routerName:"sourceConversionList",path:"/sourceConversionList",cover:"9-9",router:{path:"/sourceConversionList",name:"sourceConversionList",component:function(e){return Promise.all([t.e(0),t.e(66)]).then(function(){var n=[t("8toi")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"市场招生列表",routerName:"marketEnrollmentConversionList",path:"/marketEnrollmentConversionList",cover:"9-8",router:{path:"/marketEnrollmentConversionList",name:"marketEnrollmentConversionList",component:function(e){return Promise.all([t.e(0),t.e(56)]).then(function(){var n=[t("lWjU")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"渠道转化数据",routerName:"channelConversionList",path:"/channelConversionList",cover:"9-3",router:{path:"/channelConversionList",name:"channelConversionList",component:function(e){return Promise.all([t.e(0),t.e(68)]).then(function(){var n=[t("h0PA")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"渠道分商品转化数据",routerName:"channelGoodsConversionList",path:"/channelGoodsConversionList",cover:"9-2",router:{path:"/channelGoodsConversionList",name:"channelGoodsConversionList",component:function(e){return Promise.all([t.e(0),t.e(55)]).then(function(){var n=[t("G/kT")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"期数转化数据",routerName:"periodsConversionList",path:"/periodsConversionList",cover:"9-4",router:{path:"/periodsConversionList",name:"periodsConversionList",component:function(e){return Promise.all([t.e(0),t.e(64)]).then(function(){var n=[t("+Xua")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"销售小组数据",routerName:"squadConversionList",path:"/squadConversionList",cover:"9-5",router:{path:"/squadConversionList",name:"squadConversionList",component:function(e){return Promise.all([t.e(0),t.e(52)]).then(function(){var n=[t("M7X6")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"班主任转化数据",routerName:"teacherConversionList",path:"/teacherConversionList",cover:"9-6",router:{path:"/teacherConversionList",name:"teacherConversionList",component:function(e){return Promise.all([t.e(0),t.e(46)]).then(function(){var n=[t("6yV8")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"各期数班主任转化数据",routerName:"teacherPeriodsConversionList",path:"/teacherPeriodsConversionList",cover:"9-7",router:{path:"/teacherPeriodsConversionList",name:"teacherPeriodsConversionList",component:function(e){return Promise.all([t.e(0),t.e(67)]).then(function(){var n=[t("TtuZ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"明细数据列表",routerName:"channelTransList",path:"/channelTransList",cover:"9-1",router:{path:"/channelTransList",name:"channelTransList",component:function(e){return Promise.all([t.e(0),t.e(65)]).then(function(){var n=[t("XXYb")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"实物管理",icon:"icon-shu",list:[{value:"单品列表",routerName:"single",path:"/single",cover:"6-1",router:{path:"/single",name:"single",component:function(e){return Promise.all([t.e(0),t.e(21)]).then(function(){var n=[t("B31M")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"盒子列表",routerName:"box",path:"/box",cover:"6-2",router:{path:"/box",name:"box",component:function(e){return Promise.all([t.e(0),t.e(18)]).then(function(){var n=[t("+vCD")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"待发货列表",routerName:"logistics",path:"/logistics",cover:"6-3",router:{path:"/logistics",name:"logistics",component:function(e){return Promise.all([t.e(0),t.e(23)]).then(function(){var n=[t("eYh/")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"公众号",icon:"icon-ai-weixin",list:[{value:"自动回复",routerName:"focusReply",path:"/focusReply",cover:"7-1",router:{path:"/focusReply",name:"focusReply",component:function(e){return Promise.all([t.e(0),t.e(19)]).then(function(){var n=[t("CK6D")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"关键词回复",routerName:"autoReply",path:"/autoReply",cover:"7-2",router:{path:"/autoReply",name:"autoReply",component:function(e){return Promise.all([t.e(0),t.e(20)]).then(function(){var n=[t("65NY")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"公众号菜单",routerName:"weChat",path:"/weChat",cover:"7-3",router:{path:"/weChat",name:"weChat",component:function(e){return Promise.all([t.e(0),t.e(27)]).then(function(){var n=[t("q5av")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"素材管理",routerName:"weChatResource",path:"/weChatResource",cover:"7-4",router:{path:"/weChatResource",name:"weChatResource",component:function(e){return Promise.all([t.e(0),t.e(28)]).then(function(){var n=[t("Xhqp")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"二维码管理",routerName:"qrcode",path:"/qrcode",cover:"7-6",router:{path:"/qrcode",name:"qrcode",component:function(e){return Promise.all([t.e(0),t.e(17)]).then(function(){var n=[t("lNiQ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"群发助手",routerName:"groupSend",path:"/groupSend",cover:"7-7",router:{path:"/groupSend",name:"groupSend",component:function(e){return Promise.all([t.e(0),t.e(10)]).then(function(){var n=[t("oerw")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"关注取关统计",routerName:"watchCount",path:"/watchCount",cover:"7-8",router:{path:"/watchCount",name:"watchCount",component:function(e){return Promise.all([t.e(0),t.e(62)]).then(function(){var n=[t("Dq6T")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"微信统计",routerName:"weChatStatistics",path:"/weChatStatistics",cover:"7-10",router:{path:"/weChatStatistics",name:"weChatStatistics",component:function(e){return Promise.all([t.e(0),t.e(63)]).then(function(){var n=[t("5t3x")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"测试",routerName:"test",path:"/test",cover:"7-11",router:{path:"/test",name:"test",component:function(e){return Promise.all([t.e(0),t.e(33)]).then(function(){var n=[t("9ZSL")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"系统管理",icon:"icon-xitongquanxian",list:[{value:"首页管理",routerName:"banner",path:"/banner",cover:"10-5",router:{path:"/banner",name:"banner",component:function(e){return Promise.all([t.e(0),t.e(39)]).then(function(){var n=[t("CGL6")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"外部投放管理",routerName:"externalLaunch",path:"/externalLaunch",cover:"10-6",router:{path:"/externalLaunch",name:"externalLaunch",component:function(e){return Promise.all([t.e(0),t.e(54)]).then(function(){var n=[t("NrkQ")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"来源码管理",routerName:"sourceManage",path:"/sourceManage",cover:"10-1",router:{path:"/sourceManage",name:"sourceManage",component:function(e){return Promise.all([t.e(0),t.e(41)]).then(function(){var n=[t("/ubI")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"短信发送记录",routerName:"smsRecord",path:"/smsRecord",cover:"10-2",router:{path:"/smsRecord",name:"smsRecord",component:function(e){return Promise.all([t.e(0),t.e(31)]).then(function(){var n=[t("qjS+")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"设备监管记录",routerName:"staffRecord",path:"/staffRecord",cover:"10-7",router:{path:"/staffRecord",name:"staffRecord",component:function(e){return Promise.all([t.e(0),t.e(61)]).then(function(){var n=[t("4tei")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"员工管理",routerName:"staff",path:"/staff",cover:"10-4",router:{path:"/staff",name:"staff",component:function(e){return Promise.all([t.e(0),t.e(29)]).then(function(){var n=[t("eqK0")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"系统配置",routerName:"config",path:"/config",cover:"10-3",router:{path:"/config",name:"config",component:function(e){return Promise.all([t.e(0),t.e(45)]).then(function(){var n=[t("TPCG")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"后台管理",icon:"icon-shezhi",list:[{value:"账号管理",routerName:"admin",path:"/admin",cover:"8-1",router:{path:"/admin",name:"admin",component:function(e){return Promise.all([t.e(0),t.e(47)]).then(function(){var n=[t("+jTk")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"角色管理",routerName:"role",path:"/role",cover:"8-2",router:{path:"/role",name:"role",component:function(e){return Promise.all([t.e(0),t.e(51)]).then(function(){var n=[t("Vt1u")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"菜单管理",routerName:"menu",path:"/menu",cover:"8-3",router:{path:"/menu",name:"menu",component:function(e){return Promise.all([t.e(0),t.e(69)]).then(function(){var n=[t("aTXs")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"系统配置",routerName:"sysConfig",path:"/sysConfig",cover:"8-4",router:{path:"/sysConfig",name:"sysConfig",component:function(e){return Promise.all([t.e(0),t.e(34)]).then(function(){var n=[t("gaNG")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"操作日志",routerName:"adminLog",path:"/adminLog",cover:"8-5",router:{path:"/adminLog",name:"adminLog",component:function(e){return Promise.all([t.e(0),t.e(43)]).then(function(){var n=[t("WZgi")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]}],a={name:"App",data:function(){return{}},mounted:function(){var e=this;if(window.location.href.indexOf("login")<0){var n=this.$store.state.progressList;console.log(this.$store.state);var a=[];this.$router.options.routes[0].children=[];var r={path:"/userDetail/:id",name:"userDetail",component:function(e){return Promise.all([t.e(0),t.e(12)]).then(function(){var n=[t("9PRC")];e.apply(null,n)}.bind(this)).catch(t.oe)}},i={path:"/teacher/:id",name:"teacherDetail",component:function(e){return Promise.all([t.e(0),t.e(6)]).then(function(){var n=[t("hFUZ")];e.apply(null,n)}.bind(this)).catch(t.oe)}};o.forEach(function(t){var o=!1,u=[];t.list.forEach(function(t){var a=n.find(function(e){return e.cover===t.cover});a&&(t.router.meta={},t.router.meta.readonly=!!a.readonly,t.router.meta.delete=!!a.delete,t.router.meta.export=!!a.export,t.router.meta.refund=!!a.refund,t.router.meta.distribution=!!a.distribution,t.router.meta.classManage=!!a.classManage,t.router.meta.classManageUnlimited=!!a.classManageUnlimited,t.router.meta.classTakeUnlimited=!!a.classTakeUnlimited,t.router.meta.promoter=!!a.promoter,t.router.meta.import=!!a.import,u.push(t),"3-1"===a.cover&&(i.meta={},i.meta.readonly=a.readonly,i.meta.delete=!!a.delete,e.$router.options.routes[0].children.push(i)),"3-2"===a.cover&&(r.meta={},r.meta.readonly=a.readonly,r.meta.delete=!!a.delete,e.$router.options.routes[0].children.push(r)),e.$router.options.routes[0].children.push(t.router),o=!0)}),o&&(t.list=u,a.push(t))}),this.$router.addRoutes([this.$router.options.routes[0]]),this.$store.dispatch("setMenu",a)}}},r={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var i=t("VU/8")(a,r,!1,function(e){t("GSP7")},null,null).exports,u=t("lRwf"),c=t.n(u),s=t("YaEn"),l=t("IcnI"),m=t("zL8q"),h=t.n(m);c.a.use(h.a),c.a.config.productionTip=!1,new c.a({el:"#app",store:l.a,router:s.a,components:{App:i},template:"<App/>"})},OMN4:function(e,n){e.exports=axios},YaEn:function(e,n,t){"use strict";var o=t("IcnI"),a=t("/ocq"),r=t("zSLJ"),i=new a.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([t.e(0),t.e(7)]).then(function(){var n=[t("jHcp")];e.apply(null,n)}.bind(this)).catch(t.oe)},redirect:{name:"first"},children:[{path:"",name:"first",component:function(e){return t.e(32).then(function(){var n=[t("sJm1")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]},{path:"/login",name:"login",component:function(e){return Promise.all([t.e(0),t.e(44)]).then(function(){var n=[t("0HId")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/register",name:"register",component:function(e){return Promise.all([t.e(0),t.e(48)]).then(function(){var n=[t("90Fj")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/outManager",name:"outManager",component:function(e){return Promise.all([t.e(0),t.e(60)]).then(function(){var n=[t("hLMI")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/upload",name:"upload",component:function(e){return Promise.all([t.e(0),t.e(57)]).then(function(){var n=[t("iPJD")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}},{path:"/newLesson",name:"newLesson",component:function(e){return Promise.all([t.e(0),t.e(3)]).then(function(){var n=[t("4t0V")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}}]});i.beforeEach(function(e,n,t){if(o.a.commit("mainCanShow"),r.a.get("cc_token")&&(o.a.dispatch("setToken",r.a.get("cc_token")),o.a.dispatch("setPermission",JSON.parse(localStorage.getItem("permission"))),null!==r.a.get("cc_user_name")&&o.a.dispatch("setUserName",r.a.get("cc_user_name"))),o.a.state.nowTab=e.name,console.log(e),e.matched.length>1&&"first"!==e.name){for(var a=void 0,i=0;i<o.a.state.menuList.length;i++)for(var u=o.a.state.menuList[i],c=0;c<u.list.length;c++){var s=u.list[c];s.path===e.path&&(a=s)}o.a.state.openedTab.indexOf(a)<0&&o.a.state.openedTab.push(a)}if(e.meta.readonly?o.a.dispatch("readonly",!0):o.a.dispatch("readonly",!1),o.a.state.orderRefund=e.meta.refund,o.a.state.export=e.meta.export,o.a.state.distribution=e.meta.distribution,o.a.state.classManage=e.meta.classManage,o.a.state.import=e.meta.import,o.a.dispatch("promoter",e.meta.promoter),o.a.dispatch("classManageUnlimited",e.meta.classManageUnlimited),o.a.dispatch("classTakeUnlimited",e.meta.classTakeUnlimited),console.log(e.meta),"userDetail"===e.name){var l=JSON.parse(localStorage.getItem("permission")).find(function(e){return"3-2"===e.cover}).readonly;o.a.dispatch("readonly",l)}e.meta.delete?o.a.dispatch("deletePermission",!0):o.a.dispatch("deletePermission",!1),e.matched.some(function(e){return!0!==e.meta.skip_auth})&&!o.a.state.token?t({path:"/login"}):t()}),i.onError(function(e){var n=e.message.match(/Loading chunk (\d)+ failed/g),t=i.history.pending.fullPath;n&&i.replace(t)}),n.a=i},lRwf:function(e,n){e.exports=Vue},zSLJ:function(e,n,t){"use strict";n.a={set:function(e,n,t){var o=new Date;o.setTime(o.getTime()+864e5*t),window.document.cookie=e+"="+n+";path=/;expires="+o.toGMTString()},get:function(e){var n=window.document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return n?n[2]:null},delete:function(e){this.set(e,"",-1)}}}},["NHnr"]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,d,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],b[t]&&u.push(b[t][0]),b[t]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(c&&c(a,d,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var a={},b={72:0};function f(c){if(a[c])return a[c].exports;var b=a[c]={i:c,l:!1,exports:{}};return e[c].call(b.exports,b,b.exports,f),b.l=!0,b.exports}f.e=function(e){var c=b[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=b[e]=[a,f]});c[2]=a;var d=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,f.nc&&n.setAttribute("nonce",f.nc),n.src=f.p+"static/js/"+e+"."+{0:"8c16dea867855c50ba4e",1:"6853a76ebac7ebcbc579",2:"5055d90e5ebe9b7660d1",3:"21445077358e688e5e80",4:"c277c2a23df4047bd82a",5:"e4d7fdc8c4d082d99d89",6:"fa0953c14df5c864f0cf",7:"a76a91b1844dc6a8b5b7",8:"6e7f9bbaf8cbe880b0a5",9:"e7a072f7fb8ffb733984",10:"c8b3a6ae5ca19cd5a260",11:"ea7abbe9f5942dda2d52",12:"80a37e4567474a5bd5bf",13:"ca9d51bd45337b4c4c53",14:"91acc339ae6fd719abda",15:"e5fd724fe8c61cf22c69",16:"736d2f864e6573d2cfbb",17:"0e97c65823cfd0bfb76b",18:"97df2e4b68eb98b9d504",19:"24571c1750001c3a65f4",20:"ae2a8c1302e00639be15",21:"7338dbbc0f2bc35dbd44",22:"44afb9f81f2e611e02e1",23:"2b57f9354440960189d8",24:"72462f92debc404d4b88",25:"3ea3abb869cc95e8cea8",26:"8fe9b70a2863c66bc66e",27:"ad5a98c1bab10ad278d8",28:"890cf5085953838432b9",29:"c8c4cbda4445a6a01057",30:"058b1f4b377ba425ef32",31:"25e56a0ada198f72237c",32:"1b5ebf0b612ebe8d3339",33:"b92c2edf2d2aebac8213",34:"00d2f80e5260b1da0faf",35:"be68bc6dcf3fd0256e44",36:"fb9219f6b9a8c3d8d378",37:"c2efff268c152acf9acf",38:"10f4ca40ecf46ebd18d5",39:"3cb81d7a24a746e6732e",40:"9f91e98373e4ff9062ef",41:"7417760c77f3764c15db",42:"542389c794df8e0aead8",43:"f40658a1ab4e833b510a",44:"7422b4ebbf130c3e1352",45:"49b15a02cc6762abd45c",46:"96e0b8d2126843f2bc6a",47:"46fa6e217f9c33a02648",48:"7c918b86077fcdae7942",49:"bce08a7942916cd5f0de",50:"c610bb0de9a47e3feac2",51:"6415b3acdc7482856803",52:"c04cb60444a0b98ab60a",53:"c2f1743fb6ae55ef6350",54:"30c1e88bfefca7df4527",55:"5f236873b953be1fb862",56:"920cde30f31e03a0481b",57:"cb8e05b524029baf443d",58:"700e9988d7308e6d37f9",59:"f3ee362cbcbb912b4b29",60:"5834f87d6eed92d62b07",61:"470e6491cf25a8614300",62:"ef9e9acbba948972940b",63:"af9b177f00ac08a19fad",64:"7c71db60cdd87be3077f",65:"29b1f7f9cea0581443f1",66:"0383a1e41683a5b3d58e",67:"40b1d7ff975a6b37372c",68:"a182aa7c3e4a2fe20880",69:"c2d37a87d2c907ecb17c"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=b[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),b[e]=void 0)}return n.onerror=n.onload=t,d.appendChild(n),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="/",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
...@@ -239,7 +239,28 @@ ...@@ -239,7 +239,28 @@
} }
} }
getTeacherDayRankListApi(json).then(res=>{ getTeacherDayRankListApi(json).then(res=>{
if(res.length>0){
let obj = {
cur_date:'总计',
total_money:0,
one_to_two:0,
one_year:0,
three_month:0,
two_year:0,
tid:0
}
res.forEach(el => {
obj.total_money+=Number(el.total_money)
obj.one_to_two+=el.one_to_two
obj.one_year+=el.one_year
obj.three_month+=el.three_month
obj.two_year+=el.two_year
obj.tid+=el.tid
});
obj.total_money = obj.total_money+'.00'
res.unshift(obj)
this.secondList = res; this.secondList = res;
}
}) })
}, },
formatTime(date){ formatTime(date){
......
...@@ -1217,9 +1217,8 @@ ...@@ -1217,9 +1217,8 @@
json.pay_start_at =this.timeLang[0]; json.pay_start_at =this.timeLang[0];
json.pay_end_at =this.timeLang[1] json.pay_end_at =this.timeLang[1]
} }
exportExcelApi(`api/admin/class/user/export/${this.userObj.classId}`,json); exportExcelApi(`api/admin/class/user/export/${this.userObj.classId}`,json,'用户列表');
} }
}, },
formatTime(date){ formatTime(date){
let year = date.getFullYear(); let year = date.getFullYear();
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<div @click="type=true">音频教学</div> <div @click="type=true">音频教学</div>
</div> </div>
</div> </div>
</div> </div>
<div class="view-content" v-if="!formData.play.type && !type && age"> <div class="view-content" v-if="!formData.play.type && !type && age">
<img :src="luolaUrl" class="luola"/> <img :src="luolaUrl" class="luola"/>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<el-form-item label=""> <el-form-item label="">
<el-button type="primary" @click="onSearch">查询</el-button> <el-button type="primary" @click="onSearch">查询</el-button>
<el-button type="primary" @click="exportTable" v-if="$store.state.export">导出</el-button> <el-button type="primary" @click="exportTable" v-if="$store.state.export">导出</el-button>
<el-button type="primary" v-if="$store.state.export" @click="manualPutForward">手动提现</el-button> <el-button type="primary" v-if="$store.state.import" @click="manualPutForward">手动提现</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-tabs v-model="search.status" type="card" style="background: white;padding-top: 10px" @tab-click="onSearch"> <el-tabs v-model="search.status" type="card" style="background: white;padding-top: 10px" @tab-click="onSearch">
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
</el-switch> </el-switch>
</el-form-item> </el-form-item>
<div v-if="!formData.type"> <div v-if="!formData.type">
<el-form-item label="视频"> <el-form-item label="视频">
<div style="margin: 10px"> <div style="margin: 10px">
<el-button @click="uploadType = true" v-if="!uploadType">地址上传</el-button> <el-button @click="uploadType = true" v-if="!uploadType">地址上传</el-button>
...@@ -280,11 +279,11 @@ ...@@ -280,11 +279,11 @@
}, },
// 视频文件限制 // 视频文件限制
beforeAvatarVideo(file){ beforeAvatarVideo(file){
const isJPG = (file.type === 'video/mp4' ); // const isJPG = (file.type === 'video/mp4' );
if (!isJPG) { // if (!isJPG) {
this.$message.error('上传视频只能是MP4格式!'); // this.$message.error('上传视频只能是MP4格式!');
} // }
return isJPG; // return isJPG;
}, },
// 音频文件限制 // 音频文件限制
beforeAvatarAudio(file){ beforeAvatarAudio(file){
......
...@@ -68,6 +68,7 @@ router.beforeEach((to,from,next)=> { ...@@ -68,6 +68,7 @@ router.beforeEach((to,from,next)=> {
} }
} }
store.state.nowTab = to.name; store.state.nowTab = to.name;
console.log(to)
if(to.matched.length > 1 && to.name !== 'first'){ if(to.matched.length > 1 && to.name !== 'first'){
let thisMenu; let thisMenu;
for (let i = 0 ; i < store.state.menuList.length ; i ++ ){ for (let i = 0 ; i < store.state.menuList.length ; i ++ ){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment