外部投放

parent 20151bea
<!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.32a30625768babce8733.js></script><script type=text/javascript src=/static/js/vendor.520caa645c172051b099.js></script><script type=text/javascript src=/static/js/app.daec36241a8d0586c711.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.8ffff66af83728afa908.js></script><script type=text/javascript src=/static/js/vendor.520caa645c172051b099.js></script><script type=text/javascript src=/static/js/app.daec36241a8d0586c711.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 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 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.
webpackJsonp([41],{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=a("+TkF"),o={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},filterGoods:function(e){return"["+e.id+"]["+n.h[e.goods_type]+"]["+e.current_price/100+"元]"+e.name}},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._40)({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._90)(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]}}},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(t){return a("el-option",{key:t.id,attrs:{label:e._f("filterGoods")(t),value:t.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 s={render:i,staticRenderFns:[]},l=s;var c=!1;var u=a("VU/8")(o,l,!1,function(e){c||a("RjIq")},"data-v-7ef9545c",null);u.options.__file="src\\components\\orderCount\\dayOrderCount.vue";t.default=u.exports}});
\ No newline at end of file
This diff is collapsed.
webpackJsonp([49],{WCEO:function(e,t,a){(e.exports=a("FZ+f")(!0)).push([e.i,"\n.orderCount[data-v-2ffc7bf2] {\n padding: 10px;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/后台/admin/src/components/orderCount/index.vue"],names:[],mappings:";AACA;EACE,cAAc;CACf",file:"index.vue",sourcesContent:["\n.orderCount[data-v-2ffc7bf2] {\n padding: 10px;\n}\n"],sourceRoot:""}])},"s7i+":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("CCn6"),n=a("+TkF"),s={name:"index",data:function(){return{goodsList:[],headList:[],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},filterGoods:function(e){return"["+e.id+"]["+n.h[e.goods_type]+"]["+e.current_price/100+"元]"+e.name}},methods:{initPage:function(){var e=this;Object(r._40)({limit:99999}).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()};Object(r._90)(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",s=t+"-"+a+"-"+r;this.searchFrom.dateValue=[n,s]}}},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(t){return a("el-option",{key:t.id,attrs:{label:e._f("filterGoods")(t),value:t.id}})}))],1),e._v(" "),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: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:[]},l=o;var c=!1;var d=a("VU/8")(s,l,!1,function(e){c||a("zAK+")},"data-v-2ffc7bf2",null);d.options.__file="src\\components\\orderCount\\index.vue";t.default=d.exports},"zAK+":function(e,t,a){var r=a("WCEO");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("6ec13f6d",r,!1,{})}});
\ No newline at end of file
webpackJsonp([50],{"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=a("+TkF"),o={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},filterGoods:function(e){return"["+e.id+"]["+n.h[e.goods_type]+"]["+e.current_price/100+"元]"+e.name}},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._40)({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._90)(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]}}},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(t){return a("el-option",{key:t.id,attrs:{label:e._f("filterGoods")(t),value:t.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)};i._withStripped=!0;var s={render:i,staticRenderFns:[]},l=s;var c=!1;var u=a("VU/8")(o,l,!1,function(e){c||a("XnN8")},"data-v-2991e276",null);u.options.__file="src\\components\\orderCount\\monthOrderCount.vue";t.default=u.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
!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],f[t]&&u.push(f[t][0]),f[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=d(d.s=n[i]);return o};var c={},f={56:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});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,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"b55b23592999a3688f8e",1:"138337404053c7cd7019",2:"c328d06adc7ac7e64284",3:"797cabd2f470c5669020",4:"059ca7c142d3d8481359",5:"533eebc8d015c5c93845",6:"25238e699f3835072ef1",7:"60156628fb3ecea020c2",8:"85b6fe06267b11873800",9:"09523bba6af5134fcfac",10:"e8a1473ea634e12b615a",11:"3cf44e3e37b9aeaaf375",12:"74c12f74597904d09a2f",13:"ad016823eec839e73d7f",14:"1c3ae16bff7ea2cb7abc",15:"b737a588a1280b1b04d4",16:"a0d8305d2d064b546842",17:"72e867d245e70fdc0e87",18:"70a796e054cdf56e22c8",19:"05e06cd00d2d741a5e87",20:"2f66ad6f78e92df6b47f",21:"237275afa8b480da884d",22:"b077628f4035dda7e946",23:"5d2548372608c23ae23b",24:"e0ebc0153156ac190e4c",25:"24feaa210140cd422395",26:"900caa9a75ad9804ab36",27:"107307ad950b411f1382",28:"21954c14ca90bd550b01",29:"f127c305b7d05add31ff",30:"0c8692f4f04cbc89169d",31:"9c54b8af0ad0d7fef274",32:"50139333162a6e3abb39",33:"0b4b1c0fa473ae29dfe6",34:"a51a51a9612f7cfd3ffa",35:"3febc01bc0e887e26e7d",36:"2f5b581299537d235564",37:"f7a65cabf3b141969162",38:"6484d2ec831c62486c90",39:"3a79adb7fed0462bbd80",40:"a39dfa4cd254107d52f9",41:"a16ad1ea1f2438c037aa",42:"939d6413605876c9721b",43:"790e9555b1ee2e9221d3",44:"5d153cbe32e3b25baa48",45:"1676124a8bb46f2a9a9e",46:"2b6bd996d5e1d9b81baf",47:"a64e6fe827cb9322b4e6",48:"2b419bcfc4af5b5da580",49:"61bceaadc6e9d1f38f43",50:"48254be58d6882c9698e",51:"bcf05c46b40f43b66dd3",52:"074092fb2fa3a4d87b4d",53:"2b3c75c421bbb193290b"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},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
......@@ -42,11 +42,8 @@
<el-input v-model="searchFrom.source" placeholder="名称"
></el-input>
</el-form-item>
<el-form-item label="用户ID">
<el-input v-model="searchFrom.user_id" style="width: 80px"></el-input>
</el-form-item>
<el-form-item label="用户昵称">
<el-input v-model="searchFrom.nickname" style="width: 110px"></el-input>
<el-form-item label="昵称">
<el-input v-model="searchFrom.nickName" style="width: 110px"></el-input>
</el-form-item>
<el-form-item label="手机号">
<el-input v-model="searchFrom.mobile" style="width: 120px"></el-input>
......@@ -101,7 +98,7 @@
type="selection"
width="55">
</el-table-column>
<el-table-column prop="nickname" label="购买人">
<el-table-column prop="nickname" label="领取人">
<template slot-scope="scope">
<div v-if='scope.row.user_id !== 0' >
<img class="avatar" :src="scope.row.avatar" />
......@@ -112,11 +109,9 @@
</div>
</template>
</el-table-column>
<el-table-column prop="user_id" label="用户id">
</el-table-column>
<el-table-column prop="name" label="昵称">
<el-table-column prop="name" label="宝宝昵称">
</el-table-column>
<el-table-column prop="telephone" label="电话">
<el-table-column prop="telephone" label="领取电话">
</el-table-column>
<!-- <el-table-column prop="source" label="来源">
</el-table-column> -->
......@@ -131,35 +126,15 @@
</el-table-column>
<el-table-column prop="teacher_name" label="班级老师">
</el-table-column>
<el-table-column prop="status" label="沟通状态" width="120">
<template slot-scope="scope">
<el-select
v-model="scope.row.status"
size="medium"
@change="updateContact(scope.row)"
>
<el-option label="待激活" :value="0"></el-option>
<el-option label="已激活" :value="1"></el-option>
<el-option label="假号" :value="2"></el-option>
<el-option label="没兴趣" :value="3"></el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="收货地址" width="150px">
<template slot-scope="scope">
姓名:{{scope.row.receiver_name}}
<br>
tel:{{scope.row.receiver_phone}}
<br>
{{scope.row.receiver_province}} {{scope.row.receiver_city}} {{scope.row.receiver_area}} {{scope.row.receiver_address}}
</template>
<el-table-column prop="status" :formatter="externalLaunchStatus" label="沟通状态" width="120">
</el-table-column>
<el-table-column prop="active_at" label="激活时间" width="90">
<template slot-scope="scope">
{{scope.row.active_at === '0000-00-00 00:00:00'?'未激活':scope.row.active_at}}
</template>
</el-table-column>
<el-table-column prop="active_at" label="下单时间" width="90">
<el-table-column prop="active_at" label="领取时间" width="90">
</el-table-column>
<el-table-column prop="desc" label="备注">
</el-table-column>
......@@ -197,7 +172,7 @@
<script>
import page from '../framework/page'
import CommonJs from '../../util/common';
import {getAdsInnerListApi,updateAdsInnerApi,updateAdsInnerPlApi,getTeacherListApi,getGoodsListApi,adsTeacherApi,updateAdsStatusApi} from "../../service/api";
import {getAdsInnerListApi,updateAdsInnerApi,updateAdsInnerPlApi,getTeacherListApi,getGoodsListApi,adsTeacherApi} from "../../service/api";
import {
GOODSTYPE,
externalLaunchStatusParams
......@@ -284,14 +259,8 @@
this.getTeacherList()
},
methods:{
updateContact(row){
console.log(row)
updateAdsStatusApi({ids:row.id,status:row.status}).then(res =>{
this.$message({
message: '更新成功',
type: 'success'
});
})
externalLaunchStatus(row){
return externalLaunchStatusParams[row.status]
},
formatTime(date){
console.log(date)
......@@ -307,7 +276,8 @@
getGoodsOption() {
let json = {
page: 1,
limit: 100
limit: 100,
goods_type:'1,2'
};
getGoodsListApi(json).then(res => {
this.goodList = res.list;
......
......@@ -180,18 +180,12 @@
<el-select
v-model="scope.row.user_status"
size="medium"
@change="updateContact(scope.row)"
@change="updateContact2(scope.row)"
>
<el-option label="手机号不是微信号" :value="1"></el-option>
<el-option label="待通过" :value="2"></el-option>
<el-option label="已加微信未激活" :value="3"></el-option>
<el-option label="第一次电话无人接/挂断/关机" :value="4"></el-option>
<el-option label="第二次电话无人接/挂断/关机" :value="5"></el-option>
<el-option label="第三次电话无人接/挂断/关机" :value="6"></el-option>
<el-option label="用户已拒绝" :value="7"></el-option>
<el-option label="手机号是空号" :value="8"></el-option>
<el-option label="已激活" :value="9"></el-option>
<el-option label="待处理" :value="0"></el-option>
<el-option label="已激活" :value="1"></el-option>
<el-option label="假号" :value="2"></el-option>
<el-option label="没兴趣" :value="3"></el-option>
<el-option label="待激活" :value="0"></el-option>
</el-select>
</template>
</el-table-column>
......@@ -444,7 +438,8 @@ import {
changeAddTeacherApi,
multiApi,
orderDescApi,
updateContactApi
updateContactApi,
updateAdsStatusApi
} from "../../service/api";
import page from "../framework/page";
import { USERSTATUS } from "../../util/wordbook";
......@@ -494,6 +489,15 @@ export default {
this.refDesc1();
});
},
updateContact2(row){
console.log(row)
updateAdsStatusApi({ids:row.id,status:row.status}).then(res =>{
this.$message({
message: '更新成功',
type: 'success'
});
})
},
handleSelectionChange123(x) {
this.selectedTask6 = x;
this.selectedTask7 = x;
......
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