Commit 7854aad4 authored by wangwei's avatar wangwei

后台修改

parent 829d3916
......@@ -12,8 +12,8 @@ module.exports = {
//本地代理设置
proxyTable: {
'/api': {
// target: 'http://local.base-api.sing.com', // 接口的域名
target: 'https://wechat-test.changchangenglish.com/',
target: 'http://local.base-api.sing.com', // 接口的域名
// target: 'https://wechat-test.changchangenglish.com/',
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
}
},
......
<!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://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://unpkg.com/vue@2.5.17/dist/vue.js></script><script src=https://unpkg.com/vuex@3.0.1/dist/vuex.min.js></script><script src=https://unpkg.com/axios@0.18.0/dist/axios.min.js></script><script src=https://unpkg.com/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.2936e183c10a9c571f2b.js></script><script type=text/javascript src=/static/js/vendor.0f62304f9d982f180380.js></script><script type=text/javascript src=/static/js/app.e4219e9afd96b8421035.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://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://unpkg.com/vue@2.5.17/dist/vue.js></script><script src=https://unpkg.com/vuex@3.0.1/dist/vuex.min.js></script><script src=https://unpkg.com/axios@0.18.0/dist/axios.min.js></script><script src=https://unpkg.com/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.cae2617db11120203dd4.js></script><script type=text/javascript src=/static/js/vendor.19b07206259747695190.js></script><script type=text/javascript src=/static/js/app.5ce9d7dbaa9a0584c1b7.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(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.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([20],{"+P08":function(t,e,a){var n=a("8nR9");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("1d568812",n,!1,{})},"8nR9":function(t,e,a){(t.exports=a("FZ+f")(!0)).push([t.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:["D:/myproject/changchang-admin-new/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(t,e,a){(t.exports=a("FZ+f")(!0)).push([t.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:["D:/myproject/changchang-admin-new/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(t,e,a){"use strict";Object.defineProperty(e,"__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(t){this.nowPage=t,this.classListOption()},onSizeChange:function(t){this.limit=t,this.nowPage=1,this.classListOption()},classListOption:function(){var t=this;void 0==this.dialogObj.timeValue[0]&&(this.dialogObj.timeValue[0]=""),void 0==this.dialogObj.timeValue[1]&&(this.dialogObj.timeValue[1]="");var e={page:this.nowPage,limit:this.limit,start_at:this.dialogObj.timeValue[0],end_at:this.dialogObj.timeValue[1]};Object(n._60)(e,this.dialogObj.teacher_id).then(function(e){t.classList=e.list,t.total=e.total})}},watch:{"dialogObj.show":function(t){t&&this.classListOption()}}},r=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-table",{staticStyle:{width:"100%"},attrs:{data:t.classList}},[a("el-table-column",{attrs:{label:"购买人",className:"f-c",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("img",{staticClass:"avatar",attrs:{src:e.row.avatar}}),t._v(" "+t._s(e.row.nickname)),a("br"),t._v("(ID:"+t._s(e.row.user_id)+")\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"交易订单号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"goods_name",label:"商品名字"}}),t._v(" "),a("el-table-column",{attrs:{prop:"money",label:"金额(元)"}}),t._v(" "),a("el-table-column",{attrs:{prop:"pay_at",label:"支付时间"}})],1),t._v(" "),a("page",{attrs:{nowPage:t.nowPage,total:t.total,limit:t.limit},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}})],1)};r._withStripped=!0;var l={render:r,staticRenderFns:[]},i=l;var s=!1;var c=a("VU/8")(o,i,!1,function(t){s||(a("vtn1"),a("+P08"))},"data-v-72b08405",null);c.options.__file="src\\components\\achievement\\dialog.vue";var d={name:"index",data:function(){return{activeName:"first",firstList:[],secondList:[],searchFirstFrom:{dateValue:[]},searchSecondFrom:{dateValue:[]},dialogObj:{show:!1,title:"售卖课程",teacher_id:"",timeValue:[]}}},components:{classDialog:c.exports},mounted:function(){this.defaultTime(),this.searchFirstPage()},methods:{sortMoney:function(t,e){return Number(t.total_money)-Number(e.total_money)},handleClick:function(t){"first"===t.name?this.searchFirstPage():this.searchSecondPage()},searchFirstPage:function(){var t=this,e={};this.searchFirstFrom.dateValue&&(e={start_at:this.searchFirstFrom.dateValue[0],end_at:this.searchFirstFrom.dateValue[1]}),Object(n._64)(e).then(function(e){t.firstList=e})},searchSecondPage:function(){var t=this,e={};this.searchSecondFrom.dateValue&&(e={start_at:this.searchSecondFrom.dateValue[0],end_at:this.searchSecondFrom.dateValue[1]}),Object(n._61)(e).then(function(e){t.secondList=e})},defaultTime:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1;a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var o=e+"-"+a+"-01",r=e+"-"+a+"-"+n;this.searchFirstFrom.dateValue=[o,r],this.searchSecondFrom.dateValue=[o,r]},nameClick:function(t,e){this.dialogObj.teacher_id=t.tid,this.dialogObj.timeValue=void 0!=e?e:[t.cur_date,t.cur_date],this.dialogObj.show=!0}}},m=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("h2",{staticClass:"title"},[t._v("班主任业绩排行")]),t._v(" "),a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"业绩总排行",name:"first"}},[a("el-form",{ref:"searchFirstFrom",attrs:{inline:"",model:t.searchFirstFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.searchFirstPage},model:{value:t.searchFirstFrom.dateValue,callback:function(e){t.$set(t.searchFirstFrom,"dateValue",e)},expression:"searchFirstFrom.dateValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.searchFirstPage()}}},[t._v("\n 搜索\n ")])],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.firstList}},[a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.nameClick(e.row,t.searchFirstFrom.dateValue)}}},[t._v("\n "+t._s(e.row.teacher_name)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":t.sortMoney,sortable:!0}}),t._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}})],1)],1),t._v(" "),a("el-tab-pane",{attrs:{label:"业绩按天排行",name:"second"}},[a("el-form",{ref:"searchSecondFrom",attrs:{inline:"",model:t.searchSecondFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.searchSecondPage},model:{value:t.searchSecondFrom.dateValue,callback:function(e){t.$set(t.searchSecondFrom,"dateValue",e)},expression:"searchSecondFrom.dateValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.searchSecondPage()}}},[t._v("\n 搜索\n ")])],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.secondList}},[a("el-table-column",{attrs:{prop:"cur_date",label:"时间",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.nameClick(e.row)}}},[t._v("\n "+t._s(e.row.teacher_name)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":t.sortMoney,sortable:!0}}),t._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}})],1)],1)],1),t._v(" "),a("class-dialog",{attrs:{dialogObj:t.dialogObj}})],1)};m._withStripped=!0;var h={render:m,staticRenderFns:[]},u=h;var p=!1;var b=a("VU/8")(d,u,!1,function(t){p||a("Pq+S")},"data-v-394351a5",null);b.options.__file="src\\components\\achievement\\index.vue";e.default=b.exports},"Pq+S":function(t,e,a){var n=a("BrLh");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("5bcb7c41",n,!1,{})},vtn1:function(t,e,a){var n=a("w+Do");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("2243677e",n,!1,{})},"w+Do":function(t,e,a){(t.exports=a("FZ+f")(!0)).push([t.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:["D:/myproject/changchang-admin-new/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([20],{"+P08":function(t,e,a){var n=a("8nR9");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("1d568812",n,!1,{})},"8nR9":function(t,e,a){(t.exports=a("FZ+f")(!0)).push([t.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:["D:/myproject/changchang-admin-new/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(t,e,a){(t.exports=a("FZ+f")(!0)).push([t.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:["D:/myproject/changchang-admin-new/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(t,e,a){"use strict";Object.defineProperty(e,"__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(t){this.nowPage=t,this.classListOption()},onSizeChange:function(t){this.limit=t,this.nowPage=1,this.classListOption()},classListOption:function(){var t=this;void 0==this.dialogObj.timeValue[0]&&(this.dialogObj.timeValue[0]=""),void 0==this.dialogObj.timeValue[1]&&(this.dialogObj.timeValue[1]="");var e={page:this.nowPage,limit:this.limit,start_at:this.dialogObj.timeValue[0],end_at:this.dialogObj.timeValue[1]};Object(n._62)(e,this.dialogObj.teacher_id).then(function(e){t.classList=e.list,t.total=e.total})}},watch:{"dialogObj.show":function(t){t&&this.classListOption()}}},r=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-table",{staticStyle:{width:"100%"},attrs:{data:t.classList}},[a("el-table-column",{attrs:{label:"购买人",className:"f-c",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("img",{staticClass:"avatar",attrs:{src:e.row.avatar}}),t._v(" "+t._s(e.row.nickname)),a("br"),t._v("(ID:"+t._s(e.row.user_id)+")\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"out_trade_no",label:"交易订单号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"goods_name",label:"商品名字"}}),t._v(" "),a("el-table-column",{attrs:{prop:"money",label:"金额(元)"}}),t._v(" "),a("el-table-column",{attrs:{prop:"pay_at",label:"支付时间"}})],1),t._v(" "),a("page",{attrs:{nowPage:t.nowPage,total:t.total,limit:t.limit},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}})],1)};r._withStripped=!0;var l={render:r,staticRenderFns:[]},i=l;var s=!1;var c=a("VU/8")(o,i,!1,function(t){s||(a("vtn1"),a("+P08"))},"data-v-72b08405",null);c.options.__file="src\\components\\achievement\\dialog.vue";var d={name:"index",data:function(){return{activeName:"first",firstList:[],secondList:[],searchFirstFrom:{dateValue:[]},searchSecondFrom:{dateValue:[]},dialogObj:{show:!1,title:"售卖课程",teacher_id:"",timeValue:[]}}},components:{classDialog:c.exports},mounted:function(){this.defaultTime(),this.searchFirstPage()},methods:{sortMoney:function(t,e){return Number(t.total_money)-Number(e.total_money)},handleClick:function(t){"first"===t.name?this.searchFirstPage():this.searchSecondPage()},searchFirstPage:function(){var t=this,e={};this.searchFirstFrom.dateValue&&(e={start_at:this.searchFirstFrom.dateValue[0],end_at:this.searchFirstFrom.dateValue[1]}),Object(n._66)(e).then(function(e){t.firstList=e})},searchSecondPage:function(){var t=this,e={};this.searchSecondFrom.dateValue&&(e={start_at:this.searchSecondFrom.dateValue[0],end_at:this.searchSecondFrom.dateValue[1]}),Object(n._63)(e).then(function(e){t.secondList=e})},defaultTime:function(){var t=new Date,e=t.getFullYear(),a=t.getMonth()+1;a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var o=e+"-"+a+"-01",r=e+"-"+a+"-"+n;this.searchFirstFrom.dateValue=[o,r],this.searchSecondFrom.dateValue=[o,r]},nameClick:function(t,e){this.dialogObj.teacher_id=t.tid,this.dialogObj.timeValue=void 0!=e?e:[t.cur_date,t.cur_date],this.dialogObj.show=!0}}},m=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("h2",{staticClass:"title"},[t._v("班主任业绩排行")]),t._v(" "),a("el-tabs",{attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"业绩总排行",name:"first"}},[a("el-form",{ref:"searchFirstFrom",attrs:{inline:"",model:t.searchFirstFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.searchFirstPage},model:{value:t.searchFirstFrom.dateValue,callback:function(e){t.$set(t.searchFirstFrom,"dateValue",e)},expression:"searchFirstFrom.dateValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.searchFirstPage()}}},[t._v("\n 搜索\n ")])],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.firstList}},[a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.nameClick(e.row,t.searchFirstFrom.dateValue)}}},[t._v("\n "+t._s(e.row.teacher_name)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":t.sortMoney,sortable:!0}}),t._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}})],1)],1),t._v(" "),a("el-tab-pane",{attrs:{label:"业绩按天排行",name:"second"}},[a("el-form",{ref:"searchSecondFrom",attrs:{inline:"",model:t.searchSecondFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.searchSecondPage},model:{value:t.searchSecondFrom.dateValue,callback:function(e){t.$set(t.searchSecondFrom,"dateValue",e)},expression:"searchSecondFrom.dateValue"}})],1),t._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.searchSecondPage()}}},[t._v("\n 搜索\n ")])],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.secondList}},[a("el-table-column",{attrs:{prop:"cur_date",label:"时间",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{label:"班主任姓名"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.nameClick(e.row)}}},[t._v("\n "+t._s(e.row.teacher_name)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"total_money",label:"销售额","sort-method":t.sortMoney,sortable:!0}}),t._v(" "),a("el-table-column",{attrs:{prop:"three_month",label:"季课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"one_year",label:"年课",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"two_year",label:"2年课",sortable:""}})],1)],1)],1),t._v(" "),a("class-dialog",{attrs:{dialogObj:t.dialogObj}})],1)};m._withStripped=!0;var h={render:m,staticRenderFns:[]},u=h;var p=!1;var b=a("VU/8")(d,u,!1,function(t){p||a("Pq+S")},"data-v-394351a5",null);b.options.__file="src\\components\\achievement\\index.vue";e.default=b.exports},"Pq+S":function(t,e,a){var n=a("BrLh");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("5bcb7c41",n,!1,{})},vtn1:function(t,e,a){var n=a("w+Do");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("2243677e",n,!1,{})},"w+Do":function(t,e,a){(t.exports=a("FZ+f")(!0)).push([t.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:["D:/myproject/changchang-admin-new/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
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([24],{CGL6:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e("CCn6"),a={name:"banner",components:{page:e("kmJW").a},data:function(){return{loading:!1,bannerList:[],total:0,nowPage:1,uploadShow:!0,limit:10,dialog:{title:"新增Banner",show:!1,rules:{title:[{required:!0,message:"请填写Banner名称",trigger:"change"}],link:[{required:!0,message:"请填写Banner链接",trigger:"change"}]},form:{title:"",url:"",link:"",id:""}},imageList:[]}},created:function(){this.getList()},filters:{status:function(t){return 1===t?"上架中":"已下架"}},methods:{onPageChange:function(t){this.nowPage=t,this.getList()},changeStatus:function(t){var n=this,e=void 0,a=void 0;1===t.status?(e="此操作将下架该Banner,是否继续?",a=2):(e="此操作将上架该Banner,是否继续?",a=1),this.$confirm(e,"提示",{confirmButtonText:"继续",cancelButtonText:"取消",type:"warning"}).then(function(){var e={status:a};Object(i.r)(t.id,e).then(function(t){n.$message({type:"success",message:"修改成功!"}),n.getList()})})},onSizeChange:function(t){this.nowPage=1,this.limit=t,this.getList()},getList:function(){var t=this;this.loading=!0;var n={limit:this.limit,page:this.nowPage};Object(i._18)(n).then(function(n){n&&(t.bannerList=n.list,t.total=n.total,t.loading=!1)})},edit:function(t){var n=this;this.dialog.form.id=t.id,this.dialog.title="编辑Banner",Object(i._17)(t.id).then(function(t){n.dialog.form.title=t.title,n.dialog.form.link=t.link,n.imageList=[{name:t.url,url:t.url}],n.dialog.show=!0,n.uploadShow=!1})},add:function(){this.dialog.show=!0,this.dialog.form.id="",this.dialog.title="新增Banner",this.dialog.form.title="",this.dialog.form.link="",this.imageList=[],this.uploadShow=!0},del:function(t){var n=this;this.$confirm("此操作将删除该Banner?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.C)(t.id).then(function(t){n.$message({type:"success",message:"删除成功!"}),n.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(n){if(n){var e=t.dialog;if(e.form.id){var a={title:e.form.title,link:e.form.link};t.imageList.length>0&&(a.url=t.imageList[0].url),t.$confirm("确认修改Banner","提示",{confirmButtonText:"继续",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.W)(e.form.id,a).then(function(){t.$message({type:"success",message:"修改成功!"}),e.show=!1,t.getList()})})}else{var o={title:e.form.title,link:e.form.link};t.imageList.length>0&&(o.url=t.imageList[0].url),t.$confirm("确认添加Banner","提示",{confirmButtonText:"继续",cancelButtonText:"取消",type:"warning"}).then(function(){Object(i.b)(o).then(function(){t.$message({type:"success",message:"添加成功!"}),e.show=!1,t.getList()})})}}})},moveUp:function(t){var n=this.bannerList;this.sort(n[t].id,n[t-1].id)},moveDown:function(t){var n=this.bannerList;this.sort(n[t+1].id,n[t].id)},sort:function(t,n){var e=this;this.loading=!0,Object(i._78)(t,n).then(function(){e.loading=!1,e.getList()})},uploadFile:function(t){var n=this;this.loading=!0,this.$store.dispatch("setProgress",{type:"new",id:t.file.uid}),this.fileUid=t.file.uid,Object(i._105)({file:t.file,type:"local"}).then(function(t){n.imageList=[{name:t.url,url:"https://cdn.singsingenglish.com/"+t.url}],n.loading=!1,n.$message({type:"success",message:"上传成功!"})}).catch(function(){n.loading=!1})}}},o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"banner"},[e("div",{staticClass:"head clear-both"},[t.$store.state.readonly?t._e():e("el-button",{staticStyle:{float:"right"},attrs:{plain:"",type:"success"},on:{click:t.add}},[t._v("新增banner")])],1),t._v(" "),e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.bannerList}},[e("el-table-column",{attrs:{prop:"id",label:"ID"}}),t._v(" "),e("el-table-column",{attrs:{prop:"title",label:"标题"}}),t._v(" "),e("el-table-column",{attrs:{prop:"url",label:"图片"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("a",{attrs:{href:t.row.url,target:"_blank"}},[e("img",{staticClass:"short-banner",attrs:{src:t.row.url}})])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(n){return[t._v("\n "+t._s(t._f("status")(n.row.status))+"\n ")]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"link",label:"链接"}}),t._v(" "),t.$store.state.readonly?t._e():e("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-popover",{attrs:{placement:"top",width:"280"}},[e("div",{staticStyle:{"text-align":"center"}},[e("el-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(e){t.edit(n.row)}}},[t._v("\n 编辑\n ")]),t._v(" "),t.$store.state.deletePermission?e("el-button",{attrs:{size:"mini",type:"danger",plain:""},on:{click:function(e){t.del(n.row)}}},[t._v("\n 删除\n ")]):t._e(),t._v(" "),2==n.row.status?e("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(e){t.changeStatus(n.row)}}},[t._v("\n 上架\n ")]):t._e(),t._v(" "),1==n.row.status?e("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(e){t.changeStatus(n.row)}}},[t._v("\n 下架\n ")]):t._e(),t._v(" "),n.$index>0?e("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(e){t.moveUp(n.$index)}}},[t._v("\n 上移\n ")]):t._e(),t._v(" "),n.$index!==t.bannerList.length-1?e("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(e){t.moveDown(n.$index)}}},[t._v("\n 下移\n ")]):t._e()],1),t._v(" "),e("el-button",{attrs:{slot:"reference",size:"mini",type:"text"},slot:"reference"},[t._v("操作")])],1)]}}])})],1),t._v(" "),e("page",{attrs:{nowPage:t.nowPage,total:t.total,limit:t.limit},on:{pageChange:t.onPageChange,sizeChange:t.onSizeChange}}),t._v(" "),e("el-dialog",{attrs:{title:t.dialog.title,center:"","append-to-body":"",visible:t.dialog.show,width:"30%"},on:{"update:visible":function(n){t.$set(t.dialog,"show",n)}}},[e("el-form",{ref:"form",attrs:{rules:t.dialog.rules,model:t.dialog.form,"label-width":"100px"}},[e("el-form-item",{attrs:{label:"banner名称",prop:"title"}},[e("el-input",{model:{value:t.dialog.form.title,callback:function(n){t.$set(t.dialog.form,"title",n)},expression:"dialog.form.title"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"banner链接",prop:"link"}},[e("el-input",{model:{value:t.dialog.form.link,callback:function(n){t.$set(t.dialog.form,"link",n)},expression:"dialog.form.link"}})],1),t._v(" "),e("div",{staticClass:"upload-block"},[e("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}},[e("i",{staticClass:"el-icon-plus"})]),t._v(" "),e("p",{staticClass:"size"},[t._v("750*400")])],1)],1),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(n){t.dialog.show=!1}}},[t._v("取 消")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.sub}},[t._v("确 定")])],1)],1)],1)};o._withStripped=!0;var s={render:o,staticRenderFns:[]},l=s;var r=!1;var c=e("VU/8")(a,l,!1,function(t){r||(e("VTr3"),e("sqFS"))},null,null);c.options.__file="src\\components\\system\\banner.vue";n.default=c.exports},FXRW:function(t,n,e){(t.exports=e("FZ+f")(!0)).push([t.i,"\n.banner {\n width: 100%;\n padding: 20px 0;\n}\n.banner .head {\n /*padding: 5px;*/\n margin-bottom: 10px;\n}\n.banner .page-div {\n text-align: center;\n padding-top: 20px;\n}\n.short-banner {\n width: 50px;\n}\n.clear-both:after {\n content: '';\n display: block;\n clear: both;\n}\n.size {\n color: #666;\n font-size: 14px;\n}\n","",{version:3,sources:["D:/myproject/changchang-admin-new/src/components/system/banner.vue"],names:[],mappings:";AACA;EACE,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,iBAAiB;EACjB,oBAAoB;CACrB;AACD;EACE,mBAAmB;EACnB,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,YAAY;EACZ,gBAAgB;CACjB",file:"banner.vue",sourcesContent:["\n.banner {\n width: 100%;\n padding: 20px 0;\n}\n.banner .head {\n /*padding: 5px;*/\n margin-bottom: 10px;\n}\n.banner .page-div {\n text-align: center;\n padding-top: 20px;\n}\n.short-banner {\n width: 50px;\n}\n.clear-both:after {\n content: '';\n display: block;\n clear: both;\n}\n.size {\n color: #666;\n font-size: 14px;\n}\n"],sourceRoot:""}])},VTr3:function(t,n,e){var i=e("FXRW");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("bd259388",i,!1,{})},c75b:function(t,n,e){(t.exports=e("FZ+f")(!0)).push([t.i,"\n.disabled .el-upload--picture-card {\n display: none !important;\n}\n","",{version:3,sources:["D:/myproject/changchang-admin-new/src/components/system/banner.vue"],names:[],mappings:";AACA;EACE,yBAAyB;CAC1B",file:"banner.vue",sourcesContent:["\n.disabled .el-upload--picture-card {\n display: none !important;\n}\n"],sourceRoot:""}])},sqFS:function(t,n,e){var i=e("c75b");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("c157bef0",i,!1,{})}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([42],{Ok4M:function(n,e,t){(n.exports=t("FZ+f")(!0)).push([n.i,"\n.index[data-v-5722a15f] {\n height: 100%;\n background: #eee;\n overflow: hidden;\n}\n.index .indexImg[data-v-5722a15f] {\n width: 90%;\n}\n","",{version:3,sources:["D:/myproject/changchang-admin-new/src/components/main/index.vue"],names:[],mappings:";AACA;EACE,aAAa;EACb,iBAAiB;EACjB,iBAAiB;CAClB;AACD;EACE,WAAW;CACZ",file:"index.vue",sourcesContent:["\n.index[data-v-5722a15f] {\n height: 100%;\n background: #eee;\n overflow: hidden;\n}\n.index .indexImg[data-v-5722a15f] {\n width: 90%;\n}\n"],sourceRoot:""}])},knv9:function(n,e,t){var i=t("Ok4M");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("rjj0")("3a1d608a",i,!1,{})},sJm1:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){var n=this.$createElement;this._self._c;return this._m(0)};i._withStripped=!0;var a={render:i,staticRenderFns:[function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"index"},[e("div",{staticStyle:{"text-align":"center","margin-top":"5%"}},[this._v("正在开发中...")])])}]},o=a;var r=!1;var s=t("VU/8")({data:function(){return{content:"我是富文本编辑器的内容",editorSetting:{height:400}}},components:{}},o,!1,function(n){r||t("knv9")},"data-v-5722a15f",null);s.options.__file="src\\components\\main\\index.vue";e.default=s.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([44],{"OIp/":function(n,e,t){var i=t("ieLF");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("rjj0")("66671e80",i,!1,{})},iPJD:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("CCn6"),r={name:"upload",data:function(){return{fileList:[]}},methods:{uploadFileVideo1Banner:function(n){var e=this;Object(i._105)({file:n.file,type:"local"}).then(function(n){n.url="https://cdn.singsingenglish.com/"+n.url,e.fileList.push(n)})}}},l=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("el-upload",{staticClass:"upload-demo",attrs:{action:"/api/public/upload","http-request":n.uploadFileVideo1Banner,"list-type":"picture-card",multiple:""}}),n._v(" "),t("pre",[n._v(" <p>\n ")]),n._v(" "),n._l(n.fileList,function(e){return t("pre",[n._v(' <img src="'+n._s(e.url)+'" style="display:block">\n ')])}),n._v(" "),t("pre",[n._v(" </p>\n ")])],2)};l._withStripped=!0;var o={render:l,staticRenderFns:[]},s=o;var a=!1;var p=t("VU/8")(r,s,!1,function(n){a||t("OIp/")},"data-v-46451c0f",null);p.options.__file="src\\components\\framework\\upload.vue";e.default=p.exports},ieLF:function(n,e,t){(n.exports=t("FZ+f")(!0)).push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","",{version:3,sources:[],names:[],mappings:"",file:"upload.vue",sourceRoot:""}])}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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