后台需求

parent 9ecf0685
<!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://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.0.1/dist/vuex.min.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.18.0/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.041ce78c7d9b83ce2661.js></script><script type=text/javascript src=/static/js/vendor.70bf4e4bb70d2410e3da.js></script><script type=text/javascript src=/static/js/app.0b278597ec52464b3125.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://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title></head><body><script src=https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.0.1/dist/vuex.min.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.18.0/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.6f266f8e8c418acaecb8.js></script><script type=text/javascript src=/static/js/vendor.70bf4e4bb70d2410e3da.js></script><script type=text/javascript src=/static/js/app.0b278597ec52464b3125.js></script></body><script>let el = document.getElementsByTagName("script");
el.onerror = function(a,b,c){
console.log('error:',a,b,c);
};
......
webpackJsonp([40],{RjIq:function(e,t,a){var r=a("Wt+1");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("327b2a86",r,!1,{})},"Wt+1":function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.orderCount[data-v-7ef9545c] {\n padding: 10px;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/orderCount/dayOrderCount.vue"],names:[],mappings:";AACA;EACE,cAAc;CACf",file:"dayOrderCount.vue",sourcesContent:["\n.orderCount[data-v-7ef9545c] {\n padding: 10px;\n}\n"],sourceRoot:""}])},mjLz:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("CCn6"),n={name:"dayOrderCount",data:function(){var e=this;return{goodsList:[],headList:[],tableData:[],today:{text:"今天",onClick:function(t){t.$emit("pick",[e.formatTime(new Date),e.formatTime(new Date)])}},yesterday:{text:"昨天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-864e5));t.$emit("pick",[a,a])}},last7Day:{text:"过去7天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-6048e5));t.$emit("pick",[a,e.formatTime(new Date)])}},last30Day:{text:"过去30天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-2592e6));t.$emit("pick",[a,e.formatTime(new Date)])}},searchFrom:{priceList:[],dateValue:[]}}},mounted:function(){this.defaultTime(),this.initPage()},filters:{toFixed2:function(e){if("number"==typeof e){var t=e.toString().split(".");return t.length>1&&t[1].length>2?Number(e).toFixed(2):e}return e}},methods:{formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();return r<10&&(r="0"+r),t+"-"+a+"-"+r},initPage:function(){var e=this;Object(r._39)({limit:99999,course_type:1,status:"1,2"}).then(function(t){t.list.forEach(function(t){e.searchFrom.priceList.push(t.id)}),e.goodsList=t.list,e.searchPage()})},searchPage:function(){var e=this;if(this.searchFrom.dateValue.length<2)this.$message.error("请先选择起止日期");else{var t={start_at:this.searchFrom.dateValue[0],end_at:this.searchFrom.dateValue[1],goods_ids:this.searchFrom.priceList.toString(),course_type:1};Object(r._87)(t).then(function(t){if(t.length>0){var a=t[0];for(var r in e.tableData=t,e.headList=[],a)"cur_date"===r?e.headList.push("时间"):"register_num"===r?e.headList.push("注册数"):"total_money"===r?e.headList.push("总金额"):e.headList.push(r)}})}},defaultTime:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();r<10&&(r="0"+r);var n=t+"-"+a+"-01",i=t+"-"+a+"-"+r;this.searchFrom.dateValue=[n,i]}}},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"orderCount"},[a("el-form",{ref:"searchFrom",attrs:{inline:"",model:e.searchFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"商品"}},[a("el-select",{staticStyle:{width:"600px"},attrs:{"collapse-tags":"",multiple:"",filterable:"",placeholder:"请选择"},on:{change:e.searchPage},model:{value:e.searchFrom.priceList,callback:function(t){e.$set(e.searchFrom,"priceList",t)},expression:"searchFrom.priceList"}},e._l(e.goodsList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"","picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]},type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.searchPage},model:{value:e.searchFrom.dateValue,callback:function(t){e.$set(e.searchFrom,"dateValue",t)},expression:"searchFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},e._l(e.headList,function(t){return a("el-table-column",{key:t,attrs:{label:t},scopedSlots:e._u([{key:"default",fn:function(r){return["时间"===t?a("span",[e._v("\n "+e._s(r.row.cur_date)+"\n ")]):e._e(),e._v(" "),"注册数"===t?a("span",[e._v("\n "+e._s(r.row.register_num)+"\n ")]):e._e(),e._v(" "),"总金额"===t?a("span",[e._v("\n "+e._s(r.row.total_money)+"\n ")]):e._e(),e._v(" "),"时间"!==t&&"注册数"!==t&&"总金额"!==t?a("span",[e._v("\n "+e._s(e._f("toFixed2")(r.row[t]))+"\n ")]):e._e()]}}])})}))],1)};i._withStripped=!0;var o={render:i,staticRenderFns:[]},s=o;var l=!1;var c=a("VU/8")(n,s,!1,function(e){l||a("RjIq")},"data-v-7ef9545c",null);c.options.__file="src\\components\\orderCount\\dayOrderCount.vue";t.default=c.exports}});
\ No newline at end of file
webpackJsonp([49],{"4myw":function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.orderCount[data-v-2991e276] {\n padding: 10px;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/orderCount/monthOrderCount.vue"],names:[],mappings:";AACA;EACE,cAAc;CACf",file:"monthOrderCount.vue",sourcesContent:["\n.orderCount[data-v-2991e276] {\n padding: 10px;\n}\n"],sourceRoot:""}])},XnN8:function(e,t,a){var r=a("4myw");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("07fe6388",r,!1,{})},"v/LD":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("CCn6"),n={name:"monthOrderCount",data:function(){var e=this;return{goodsList:[],headList:[],today:{text:"今天",onClick:function(t){t.$emit("pick",[e.formatTime(new Date),e.formatTime(new Date)])}},yesterday:{text:"昨天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-864e5));t.$emit("pick",[a,a])}},last7Day:{text:"过去7天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-6048e5));t.$emit("pick",[a,e.formatTime(new Date)])}},last30Day:{text:"过去30天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-2592e6));t.$emit("pick",[a,e.formatTime(new Date)])}},tableData:[],searchFrom:{priceList:[],dateValue:[]}}},mounted:function(){this.defaultTime(),this.initPage()},filters:{toFixed2:function(e){if("number"==typeof e){var t=e.toString().split(".");return t.length>1&&t[1].length>2?Number(e).toFixed(2):e}return e}},methods:{formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();return r<10&&(r="0"+r),t+"-"+a+"-"+r},initPage:function(){var e=this;Object(r._39)({limit:99999,course_type:0,status:"1,2"}).then(function(t){t.list.forEach(function(t){e.searchFrom.priceList.push(t.id)}),e.goodsList=t.list,e.searchPage()})},searchPage:function(){var e=this;if(console.log(this.searchFrom.dateValue),this.searchFrom.dateValue.length<2)this.$message.error("请先选择起止日期");else{var t={start_at:this.searchFrom.dateValue[0],end_at:this.searchFrom.dateValue[1],goods_ids:this.searchFrom.priceList.toString()};Object(r._87)(t).then(function(t){if(t.length>0){var a=t[0];for(var r in e.tableData=t,e.headList=[],a)"cur_date"===r?e.headList.push("时间"):"register_num"===r?e.headList.push("注册数"):"total_money"===r?e.headList.push("总金额"):e.headList.push(r)}})}},defaultTime:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();r<10&&(r="0"+r);var n=t+"-"+a+"-01",o=t+"-"+a+"-"+r;this.searchFrom.dateValue=[n,o]}}},o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"orderCount"},[a("el-form",{ref:"searchFrom",attrs:{inline:"",model:e.searchFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"商品"}},[a("el-select",{staticStyle:{width:"600px"},attrs:{"collapse-tags":"",multiple:"",filterable:"",placeholder:"请选择"},on:{change:e.searchPage},model:{value:e.searchFrom.priceList,callback:function(t){e.$set(e.searchFrom,"priceList",t)},expression:"searchFrom.priceList"}},e._l(e.goodsList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),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.searchPage},model:{value:e.searchFrom.dateValue,callback:function(t){e.$set(e.searchFrom,"dateValue",t)},expression:"searchFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},e._l(e.headList,function(t){return a("el-table-column",{key:t,attrs:{label:t},scopedSlots:e._u([{key:"default",fn:function(r){return["时间"===t?a("span",[e._v("\n "+e._s(r.row.cur_date)+"\n ")]):e._e(),e._v(" "),"注册数"===t?a("span",[e._v("\n "+e._s(r.row.register_num)+"\n ")]):e._e(),e._v(" "),"总金额"===t?a("span",[e._v("\n "+e._s(r.row.total_money)+"\n ")]):e._e(),e._v(" "),"时间"!==t&&"注册数"!==t&&"总金额"!==t?a("span",[e._v("\n "+e._s(e._f("toFixed2")(r.row[t]))+"\n ")]):e._e()]}}])})}))],1)};o._withStripped=!0;var s={render:o,staticRenderFns:[]},i=s;var l=!1;var c=a("VU/8")(n,i,!1,function(e){l||a("XnN8")},"data-v-2991e276",null);c.options.__file="src\\components\\orderCount\\monthOrderCount.vue";t.default=c.exports}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(f,b,n){for(var r,t,o,i=0,u=[];i<f.length;i++)t=f[i],c[t]&&u.push(c[t][0]),c[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(f,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var f={},c={55:0};function d(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,d),c.l=!0,c.exports}d.e=function(e){var a=c[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var f=new Promise(function(f,d){a=c[e]=[f,d]});a[2]=f;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"f702acc560270b6c45d3",1:"dea0ffef6f2bdc144a19",2:"8ee7a304475a8d6f3fc3",3:"f95fc5a360c8bb9c2006",4:"1a1dc19d1857d9935e00",5:"552d7317cedbdb0e9817",6:"d5460c85803c13ba03f5",7:"e0fbe70d6ad66f86dfd5",8:"b71bb21b8e1dd23ea315",9:"d414fbf8e35b86a1df89",10:"d62511913e06b1fe9e68",11:"9eae3d17bb8a2a9b2b93",12:"118c534a0be8bfb66097",13:"3c7dc3f01dad53da0ffd",14:"fe148f8cf76574809c12",15:"c5af8e6954a0085adf01",16:"5bfa3cddecf722c3a8e5",17:"5b7280aba1ba13dde0ba",18:"8869360b60218f508bfd",19:"b8d9a99c3121ff3193c7",20:"e275e3408a6f78ef9434",21:"8e0a2471a8204dcaf76c",22:"eed531b7fe4cd553f626",23:"51a7bad5306d91ef4f37",24:"b0773f30bddce379621b",25:"15280fbac7049d174713",26:"30fa51d7750190b2b8e9",27:"bd7009b22249e0e558d2",28:"27aa0197a50641e8f6f8",29:"e33ff06a91809baab64b",30:"d4906a9a53a962e42fbc",31:"b33b0727b8ffa1c8588c",32:"0d1871fa68b78706747b",33:"7ae8e0808ae85d62c797",34:"5f6ba12b6b8f6ebc9d4e",35:"0d79196ce3bb80d9534e",36:"ea26c05a833f74c940e7",37:"72a4b544ae47b9182f8d",38:"bc7e806665d9a29f1193",39:"37e889f96ebb94befd5b",40:"1f14005abb856d1edb7f",41:"391a608ac96274fb8bff",42:"a051ca9d7ec18884e919",43:"b6a27cdddfd273961aee",44:"6776224bc6376d74fa68",45:"f002ee4b50549513cd1e",46:"3d1ca304eaa225c45836",47:"ed7affcceb2475891d17",48:"3871788ec4ad478625b4",49:"08579d15d8f8ea126306",50:"7d766d43e29ccc42cb46",51:"45fca54c14f65ee4abf1",52:"8b97868f59ff2a7ea9fe"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=c[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),f},d.m=e,d.c=f,d.d=function(e,a,f){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:f})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="/",d.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://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title><link href=/static/css/app.b3bb3b9fe4f1ba9695cd6c2dc654c6ca.css rel=stylesheet></head><body><script src=https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.0.1/dist/vuex.min.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.18.0/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.66bb40c15afa7d35bca2.js></script><script type=text/javascript src=/static/js/vendor.d78a529943511c3b7597.js></script><script type=text/javascript src=/static/js/app.7b39e8c23ae97fe99338.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://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/theme-chalk/index.css><title>唱唱启蒙-后台</title><link href=/static/css/app.a1480340e8267a7b1e093ca488cf3c7e.css rel=stylesheet></head><body><script src=https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js></script><script src=https://cdn.jsdelivr.net/npm/vuex@3.0.1/dist/vuex.min.js></script><script src=https://cdn.jsdelivr.net/npm/axios@0.18.0/dist/axios.min.js></script><script src=https://cdn.jsdelivr.net/npm/element-ui@2.4.9/lib/index.js></script><div id=app></div><script type=text/javascript src=/static/js/manifest.e0b273343da26209ff25.js></script><script type=text/javascript src=/static/js/vendor.d78a529943511c3b7597.js></script><script type=text/javascript src=/static/js/app.922065812b2d86fc25d2.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.
webpackJsonp([39],{"7oZE":function(e,t){},"v/LD":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("CCn6"),n={name:"monthOrderCount",data:function(){var e=this;return{goodsList:[],headList:[],today:{text:"今天",onClick:function(t){t.$emit("pick",[e.formatTime(new Date),e.formatTime(new Date)])}},yesterday:{text:"昨天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-864e5));t.$emit("pick",[a,a])}},last7Day:{text:"过去7天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-6048e5));t.$emit("pick",[a,e.formatTime(new Date)])}},last30Day:{text:"过去30天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-2592e6));t.$emit("pick",[a,e.formatTime(new Date)])}},tableData:[],searchFrom:{priceList:[],dateValue:[]}}},mounted:function(){this.defaultTime(),this.initPage()},filters:{toFixed2:function(e){if("number"==typeof e){var t=e.toString().split(".");return t.length>1&&t[1].length>2?Number(e).toFixed(2):e}return e}},methods:{formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();return r<10&&(r="0"+r),t+"-"+a+"-"+r},initPage:function(){var e=this;Object(r._39)({limit:99999,course_type:0,status:"1,2"}).then(function(t){t.list.forEach(function(t){e.searchFrom.priceList.push(t.id)}),e.goodsList=t.list,e.searchPage()})},searchPage:function(){var e=this;if(console.log(this.searchFrom.dateValue),this.searchFrom.dateValue.length<2)this.$message.error("请先选择起止日期");else{var t={start_at:this.searchFrom.dateValue[0],end_at:this.searchFrom.dateValue[1],goods_ids:this.searchFrom.priceList.toString()};Object(r._87)(t).then(function(t){if(t.length>0){var a=t[0];for(var r in e.tableData=t,e.headList=[],a)"cur_date"===r?e.headList.push("时间"):"register_num"===r?e.headList.push("注册数"):"total_money"===r?e.headList.push("总金额"):e.headList.push(r)}})}},defaultTime:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();r<10&&(r="0"+r);var n=t+"-"+a+"-01",i=t+"-"+a+"-"+r;this.searchFrom.dateValue=[n,i]}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"orderCount"},[a("el-form",{ref:"searchFrom",attrs:{inline:"",model:e.searchFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"商品"}},[a("el-select",{staticStyle:{width:"600px"},attrs:{"collapse-tags":"",multiple:"",filterable:"",placeholder:"请选择"},on:{change:e.searchPage},model:{value:e.searchFrom.priceList,callback:function(t){e.$set(e.searchFrom,"priceList",t)},expression:"searchFrom.priceList"}},e._l(e.goodsList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),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.searchPage},model:{value:e.searchFrom.dateValue,callback:function(t){e.$set(e.searchFrom,"dateValue",t)},expression:"searchFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},e._l(e.headList,function(t){return a("el-table-column",{key:t,attrs:{label:t},scopedSlots:e._u([{key:"default",fn:function(r){return["时间"===t?a("span",[e._v("\n "+e._s(r.row.cur_date)+"\n ")]):e._e(),e._v(" "),"注册数"===t?a("span",[e._v("\n "+e._s(r.row.register_num)+"\n ")]):e._e(),e._v(" "),"总金额"===t?a("span",[e._v("\n "+e._s(r.row.total_money)+"\n ")]):e._e(),e._v(" "),"时间"!==t&&"注册数"!==t&&"总金额"!==t?a("span",[e._v("\n "+e._s(e._f("toFixed2")(r.row[t]))+"\n ")]):e._e()]}}])})}))],1)},staticRenderFns:[]};var s=a("VU/8")(n,i,!1,function(e){a("7oZE")},"data-v-5d3ac20c",null);t.default=s.exports}});
\ No newline at end of file
webpackJsonp([49],{"8yCz":function(e,t){},mjLz:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("CCn6"),n={name:"dayOrderCount",data:function(){var e=this;return{goodsList:[],headList:[],tableData:[],today:{text:"今天",onClick:function(t){t.$emit("pick",[e.formatTime(new Date),e.formatTime(new Date)])}},yesterday:{text:"昨天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-864e5));t.$emit("pick",[a,a])}},last7Day:{text:"过去7天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-6048e5));t.$emit("pick",[a,e.formatTime(new Date)])}},last30Day:{text:"过去30天",onClick:function(t){var a=e.formatTime(new Date((new Date).getTime()-2592e6));t.$emit("pick",[a,e.formatTime(new Date)])}},searchFrom:{priceList:[],dateValue:[]}}},mounted:function(){this.defaultTime(),this.initPage()},filters:{toFixed2:function(e){if("number"==typeof e){var t=e.toString().split(".");return t.length>1&&t[1].length>2?Number(e).toFixed(2):e}return e}},methods:{formatTime:function(e){var t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();return r<10&&(r="0"+r),t+"-"+a+"-"+r},initPage:function(){var e=this;Object(r._39)({limit:99999,course_type:1,status:"1,2"}).then(function(t){t.list.forEach(function(t){e.searchFrom.priceList.push(t.id)}),e.goodsList=t.list,e.searchPage()})},searchPage:function(){var e=this;if(this.searchFrom.dateValue.length<2)this.$message.error("请先选择起止日期");else{var t={start_at:this.searchFrom.dateValue[0],end_at:this.searchFrom.dateValue[1],goods_ids:this.searchFrom.priceList.toString(),course_type:1};Object(r._87)(t).then(function(t){if(t.length>0){var a=t[0];for(var r in e.tableData=t,e.headList=[],a)"cur_date"===r?e.headList.push("时间"):"register_num"===r?e.headList.push("注册数"):"total_money"===r?e.headList.push("总金额"):e.headList.push(r)}})}},defaultTime:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth()+1;a<10&&(a="0"+a);var r=e.getDate();r<10&&(r="0"+r);var n=t+"-"+a+"-01",i=t+"-"+a+"-"+r;this.searchFrom.dateValue=[n,i]}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"orderCount"},[a("el-form",{ref:"searchFrom",attrs:{inline:"",model:e.searchFrom,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"商品"}},[a("el-select",{staticStyle:{width:"600px"},attrs:{"collapse-tags":"",multiple:"",filterable:"",placeholder:"请选择"},on:{change:e.searchPage},model:{value:e.searchFrom.priceList,callback:function(t){e.$set(e.searchFrom,"priceList",t)},expression:"searchFrom.priceList"}},e._l(e.goodsList,function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})}))],1),e._v(" "),a("el-form-item",{attrs:{label:"起止日期"}},[a("el-date-picker",{attrs:{"unlink-panels":"","picker-options":{shortcuts:[e.today,e.yesterday,e.last7Day,e.last30Day]},type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.searchPage},model:{value:e.searchFrom.dateValue,callback:function(t){e.$set(e.searchFrom,"dateValue",t)},expression:"searchFrom.dateValue"}})],1),e._v(" "),a("el-form-item",{attrs:{label:""}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.searchPage()}}},[e._v("\n 搜索\n ")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData}},e._l(e.headList,function(t){return a("el-table-column",{key:t,attrs:{label:t},scopedSlots:e._u([{key:"default",fn:function(r){return["时间"===t?a("span",[e._v("\n "+e._s(r.row.cur_date)+"\n ")]):e._e(),e._v(" "),"注册数"===t?a("span",[e._v("\n "+e._s(r.row.register_num)+"\n ")]):e._e(),e._v(" "),"总金额"===t?a("span",[e._v("\n "+e._s(r.row.total_money)+"\n ")]):e._e(),e._v(" "),"时间"!==t&&"注册数"!==t&&"总金额"!==t?a("span",[e._v("\n "+e._s(e._f("toFixed2")(r.row[t]))+"\n ")]):e._e()]}}])})}))],1)},staticRenderFns:[]};var s=a("VU/8")(n,i,!1,function(e){a("8yCz")},"data-v-208ab8db",null);t.default=s.exports}});
\ No newline at end of file
webpackJsonp([50],{NGuJ:function(e,t){},Vt1u:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o("CCn6"),a={components:{page:o("kmJW").a},data:function(){return{nowPage:1,total:0,limit:10,roleList:[],exportMenuList:["2-3","5-10","5-2","5-1","5-3","5-8","5-9"],dialog:{title:"新增角色",show:!1,select:[],chooseed:[],rules:{name:[{required:!0,message:"请填写角色名称",trigger:"change"}]},form:{name:"",menu_ids:[],id:""}}}},created:function(){this.getList(),this.getMenuList()},methods:{rowClick:function(e){this.$router.push({name:"admin",query:{roleId:e.id}})},getMenuList:function(){var e=this;Object(n._46)().then(function(t){t&&(t.forEach(function(t){t.children&&t.children.forEach(function(t){t.readonly=!1,t.delete=!1,e.exportMenuList.indexOf(t.cover)>-1&&(t.export=!1),"月课订单列表"!==t.name&&"日课订单列表"!==t.name&&"来源码管理"!==t.name&&"5-9"!==t.cover&&"2-3"!==t.cover||(t.refund=!1)})}),e.dialog.select=t)})},onPageChange:function(e){this.nowPage=e,this.getList()},onSizeChange:function(e){this.nowPage=1,this.limit=e,this.getList()},getList:function(){var e=this,t={limit:this.limit,page:this.nowPage};Object(n._61)(t).then(function(t){t&&(e.roleList=t.list,e.total=t.total)})},edit:function(e){var t=this;this.dialog.form.id=e.id,this.dialog.title="编辑角色",Object(n._46)().then(function(o){o&&(o.forEach(function(e){e.children&&e.children.forEach(function(e){e.readonly=!1,e.delete=!1,t.exportMenuList.indexOf(e.cover)>-1&&(e.export=!1),"月课订单列表"!==e.name&&"日课订单列表"!==e.name&&"来源码管理"!==e.name&&"5-9"!==e.cover&&"2-3"!==e.cover||(e.refund=!1)})}),t.dialog.select=o,Object(n._60)(e.id).then(function(e){t.dialog.form.name=e.name,t.dialog.form.menu_ids=JSON.parse(e.menu_ids),t.dialog.chooseed=[],t.dialog.form.menu_ids.forEach(function(e){t.dialog.chooseed.push(e.id),t.dialog.select.forEach(function(o){o.children&&o.children.forEach(function(o){o.id===e.id&&(o.readonly=!!e.readonly,o.delete=!!e.delete,t.exportMenuList.indexOf(e.cover)>-1&&(o.export=!!e.export),"5-1"!==e.cover&&"5-10"!==e.cover&&"10-1"!==e.cover&&"5-9"!==e.cover&&"2-3"!==e.cover||(o.refund=!!e.refund))})})}),t.dialog.show=!0,t.$nextTick(function(){this.$refs.tree.setCheckedKeys(this.dialog.chooseed)})}))})},add:function(){this.dialog.show=!0,this.dialog.form.id="",this.dialog.title="新增菜单",this.dialog.form.name="",this.dialog.form.menu_ids=[],this.getMenuList()},del:function(e){var t=this;this.$confirm("此操作将删除该角色?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.M)(e.id).then(function(e){t.$message({type:"success",message:"删除成功!"}),t.getList()})})},sub:function(){var e=this;this.$refs.form.validate(function(t){if(t){var o=[];e.$refs.tree.getCheckedNodes().forEach(function(e){var t=void 0;!1!==e.readonly&&!0!==e.readonly||(t={id:e.id,cover:e.cover,readonly:e.readonly}),!1!==e.delete&&!0!==e.delete||(t.delete=e.delete),!1!==e.refund&&!0!==e.refund||(t.refund=e.refund),!1!==e.export&&!0!==e.export||(t.export=e.export),t&&o.push(t)});var a=e.dialog;if(a.form.id){var i={name:a.form.name,menu_ids:JSON.stringify(o)};e.$confirm("此操作将修改该角色?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n._116)(a.form.id,i).then(function(){e.$message({type:"success",message:"修改成功!"}),a.show=!1,e.getList()})})}else{var r={name:a.form.name,menu_ids:JSON.stringify(o)};e.$confirm("此操作将添加新角色?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n._95)(r).then(function(){e.$message({type:"success",message:"添加成功!"}),a.show=!1,e.getList()})})}}})}}},i={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"role"},[o("div",{staticClass:"head clear-both"},[e.$store.state.readonly?e._e():o("el-button",{staticStyle:{float:"right"},attrs:{plain:"",type:"success"},on:{click:e.add}},[e._v("新增角色")])],1),e._v(" "),o("el-table",{staticStyle:{width:"100%"},attrs:{data:e.roleList}},[o("el-table-column",{attrs:{prop:"id",label:"角色ID"}}),e._v(" "),o("el-table-column",{attrs:{label:"角色名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[o("el-button",{attrs:{type:"text"},on:{click:function(o){e.rowClick(t.row)}}},[e._v(" "+e._s(t.row.name))])]}}])}),e._v(" "),o("el-table-column",{attrs:{prop:"created_at",label:"创建时间",sortable:""}}),e._v(" "),e.$store.state.readonly?e._e():o("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[e.$store.state.readonly?e._e():o("el-button",{attrs:{size:"mini",plain:"",type:"primary"},on:{click:function(o){e.edit(t.row)}}},[e._v("\n 编辑\n ")]),e._v(" "),e.$store.state.deletePermission&&!e.$store.state.readonly?o("el-button",{attrs:{size:"mini",type:"danger",plain:""},on:{click:function(o){e.del(t.row)}}},[e._v("\n 删除\n ")]):e._e()]}}])})],1),e._v(" "),o("page",{attrs:{nowPage:e.nowPage,total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}}),e._v(" "),o("el-dialog",{attrs:{title:e.dialog.title,center:"","append-to-body":"",visible:e.dialog.show,width:"800px"},on:{"update:visible":function(t){e.$set(e.dialog,"show",t)}}},[o("el-form",{ref:"form",attrs:{rules:e.dialog.rules,model:e.dialog.form,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"角色名称",prop:"name"}},[o("el-input",{model:{value:e.dialog.form.name,callback:function(t){e.$set(e.dialog.form,"name",t)},expression:"dialog.form.name"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"菜单选项"}},[o("div",{staticClass:"custom-tree-container"},[o("el-tree",{ref:"tree",attrs:{data:e.dialog.select,"show-checkbox":"","node-key":"id","default-checked-keys":e.dialog.chooseed,"default-expand-all":"","expand-on-click-node":!1,props:{children:"children",label:"name",value:!1}},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.node,a=t.data;return o("span",{staticClass:"custom-tree-node"},[o("span",[e._v(e._s(n.label))]),e._v(" "),0!==a.pid?o("span",["5-1"===a.cover||"5-10"===a.cover||"5-9"===a.cover?o("el-checkbox",{model:{value:a.refund,callback:function(t){e.$set(a,"refund",t)},expression:"data.refund"}},[e._v("退款")]):e._e(),e._v(" "),"10-1"===a.cover?o("el-checkbox",{model:{value:a.refund,callback:function(t){e.$set(a,"refund",t)},expression:"data.refund"}},[e._v("类别管理")]):e._e(),e._v(" "),"2-3"===a.cover?o("el-checkbox",{model:{value:a.refund,callback:function(t){e.$set(a,"refund",t)},expression:"data.refund"}},[e._v("添加用户")]):e._e(),e._v(" "),e.exportMenuList.indexOf(a.cover)>-1?o("el-checkbox",{model:{value:a.export,callback:function(t){e.$set(a,"export",t)},expression:"data.export"}},[e._v("导出")]):e._e(),e._v(" "),o("el-checkbox",{model:{value:a.readonly,callback:function(t){e.$set(a,"readonly",t)},expression:"data.readonly"}},[e._v("只读")]),e._v(" "),o("el-checkbox",{model:{value:a.delete,callback:function(t){e.$set(a,"delete",t)},expression:"data.delete"}},[e._v("删除")])],1):e._e()])}}])})],1)])],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dialog.show=!1}}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:e.sub}},[e._v("确 定")])],1)],1)],1)},staticRenderFns:[]};var r=o("VU/8")(a,i,!1,function(e){o("NGuJ")},"data-v-1d291a9a",null);t.default=r.exports}});
\ No newline at end of file
webpackJsonp([53],{IcnI:function(e,n,t){"use strict";var o=t("NYxO"),a=t("zSLJ"),r={setToken:function(e,n){e.token=n,a.a.set("cc_token",n)},setUserName:function(e,n){e.userName=n,a.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},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})}}};n.a=new o.a.Store({state:{show:!1,userName:"",token:"",export:!1,orderRefund:!1,permission:!1,readonly:!0,deletePermission:!1,mainLoad:!0,menuList:[],menuType:!1,nowTab:"first",progressList:[],openedTab:[{value:"首页",routerName:"first",name:"first",delNo:!0,path:"/index"}]},mutations:r,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)}}})},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(10)]).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(2)]).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(22)]).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(11)]).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(41)]).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(27)]).then(function(){var n=[t("sg/1")];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(3)]).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(39)]).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(35)]).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(20)]).then(function(){var n=[t("Fmgy")];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(7)]).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(31)]).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)}}}]},{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(34)]).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(47).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(42)]).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(49)]).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(28)]).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(21)]).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(16)]).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(12)]).then(function(){var n=[t("CvLZ")];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(18)]).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)}}}]},{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(23)]).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(17)]).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(24)]).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(33)]).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(14)]).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(29)]).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(51)]).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(52)]).then(function(){var n=[t("5t3x")];e.apply(null,n)}.bind(this)).catch(t.oe)}}}]},{name:"",value:"系统管理",icon:"icon-xitongquanxian",list:[{value:"Banner管理",routerName:"banner",path:"/banner",cover:"7-5",router:{path:"/banner",name:"banner",component:function(e){return Promise.all([t.e(0),t.e(32)]).then(function(){var n=[t("CGL6")];e.apply(null,n)}.bind(this)).catch(t.oe)}}},{value:"外部投放管理",routerName:"externalLaunch",path:"/externalLaunch",cover:"7-9",router:{path:"/externalLaunch",name:"externalLaunch",component:function(e){return Promise.all([t.e(0),t.e(36)]).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(30)]).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(25)]).then(function(){var n=[t("qjS+")];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(38)]).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(50)]).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(26)]).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(37)]).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,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(19)]).then(function(){var n=[t("9PRC")];e.apply(null,n)}.bind(this)).catch(t.oe)}},u={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,i=[];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,i.push(t),"3-1"===a.cover&&(u.meta={},u.meta.readonly=a.readonly,u.meta.delete=!!a.delete,e.$router.options.routes[0].children.push(u)),"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=i,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 u=t("VU/8")(a,r,!1,function(e){t("vnKB")},null,null).exports,i=t("YaEn"),c=t("IcnI");Vue.config.productionTip=!1,new Vue({el:"#app",store:c.a,router:i.a,components:{App:u},template:"<App/>"})},YaEn:function(e,n,t){"use strict";var o=t("IcnI"),a=t("/ocq"),r=t("zSLJ"),u=new a.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([t.e(0),t.e(9)]).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(40).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(46)]).then(function(){var n=[t("0HId")];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(48)]).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(43)]).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(4)]).then(function(){var n=[t("4t0V")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_auth:!0}}]});u.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,e.matched.length>1&&"first"!==e.name){for(var a=void 0,u=0;u<o.a.state.menuList.length;u++)for(var i=o.a.state.menuList[u],c=0;c<i.list.length;c++){var l=i.list[c];l.path===e.path&&(a=l)}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,"userDetail"===e.name){var s=JSON.parse(localStorage.getItem("permission")).find(function(e){return"3-2"===e.cover}).readonly;o.a.dispatch("readonly",s)}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()}),u.onError(function(e){var n=e.message.match(/Loading chunk (\d)+ failed/g),t=u.history.pending.fullPath;n&&u.replace(t)}),n.a=u},lRwf:function(e,n){e.exports=Vue},vnKB:function(e,n){},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 a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],d[t]&&u.push(d[t][0]),d[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=f(f.s=n[i]);return o};var c={},d={55:0};function f(a){if(c[a])return c[a].exports;var d=c[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var a=d[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,f){a=d[e]=[c,f]});a[2]=c;var b=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:"ef291da3adb56fc2316e",1:"41861355d13766b44159",2:"a63e0ab456a0a81332b5",3:"1acef98785999a6dadf6",4:"6d9ad4744eb1bbc0b782",5:"c4a37635b37a00672e8d",6:"3887bc5d6d6eb0127cf2",7:"43f1df55281c780cb902",8:"f7f83b927bbf3b455d66",9:"0367f5a49661f161602e",10:"099ff4f6f864755e1bee",11:"90df003af178da43ee06",12:"8196890adbff8942207f",13:"01d949d73c4e62846c62",14:"ead3de251f0200400b18",15:"c8c920821f883ce38534",16:"5402a857f123b7b3c68c",17:"ab6e44e0588da5bebfbf",18:"937f14e3569bbeea1de4",19:"25e5dd3517e76db4c1bb",20:"c3499922857cba2c6b5d",21:"19016d67c389a33dc5da",22:"9fde279a28419a124d7d",23:"faa7ea3a9389dfb34aeb",24:"8bde4dbee064a3c8bdf4",25:"5464d09d9cc542fab588",26:"4b67849b7049b2d41010",27:"db1231894dbbb6e3c303",28:"aed0a08831d9beba7732",29:"e8d86fe7db6450ff4323",30:"08c66d1fa51517a246bd",31:"ef49ec6678adee3d659a",32:"20385af185c9c381076c",33:"7bfc631c670c76eb7f3e",34:"d052e9d2c869f3ca15ed",35:"3506ac0a6dc665afa869",36:"d3788bb074bec14a0494",37:"90560f2abd2f4967d1f2",38:"d23a0b723a4d85c00172",39:"881888f393897cdb95c6",40:"b403ccf6f0ce4ac86b6d",41:"93fd953d365908876314",42:"34aca2a4583ac55e6451",43:"1901fff6615092273002",44:"2cb4b25982ac35b9bd70",45:"f737236ed8b39ba20aa7",46:"3f5ae25bf68478b0100f",47:"9cf806e0d226649b8d50",48:"830131b2241cd0fbdf70",49:"70e046db143bb7837226",50:"a3d85e1d841d068535aa",51:"5b7e29a399b9c8224659",52:"918a6ad3f55abfeee369"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=d[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},f.m=e,f.c=c,f.d=function(e,a,c){f.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},f.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(a,"a",a),a},f.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},f.p="/",f.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -136,7 +136,7 @@
return `${year}-${Month}-${Day}`;
},
initPage(){
getGoodsListApi({limit:99999,course_type:1}).then(res=>{
getGoodsListApi({limit:99999,course_type:1,status:"1,2"}).then(res=>{
res.list.forEach(i=>{
this.searchFrom.priceList.push(i.id)
});
......
......@@ -136,7 +136,7 @@
return `${year}-${Month}-${Day}`;
},
initPage(){
getGoodsListApi({limit:99999,course_type:0}).then(res=>{
getGoodsListApi({limit:99999,course_type:0,status:"1,2"}).then(res=>{
res.list.forEach(i=>{
this.searchFrom.priceList.push(i.id)
});
......
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