(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65bcd46e"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function n(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function s(t,e,a){var s=r(),l=t-s,o=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=o;var r=Math.easeInOutQuad(u,s,l,e);n(r),u0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},n=[],r=a("5530"),s=(a("a15b"),a("d81d"),a("b64b"),a("67f2")),l={name:"productNameList",components:{Pagination:s["a"]},data:function(){return{active:"follow",types:{0:"",1:"",2:"",3:"primary",4:"success",5:"warning"},types2:{1:"primary",2:"success",3:"warning"},status_arr:["待跟进","跟进中","已核销","核销失败","放弃跟单"],type_arr:["-","收益","支出"],timetype_arr:{},order_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662","#9d1cb5"],follow_status:["#9e9f9c","#04bcd9","#fc9904","#1193f4","#48b14b","#eb1662"],options:[],list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10,product_name:""},os_arr:[{value:"1",label:"美团"},{value:"2",label:"快手"},{value:"3",label:"抖音"}],form:{}}},mounted:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.getList()},activated:function(){this.listQuery.status=this.$route.query.status||null,this.listQuery.zhubo=this.$route.query.zhubo||null,this.$route.query.start&&this.$route.query.end&&(this.listQuery.times=[this.$route.query.start,this.$route.query.end]),this.getList()},methods:{getList:function(t){var e=this;if(1!=t)this.listQuery.excel=0,this.$axios.get("/admin/index/productNameList",{params:this.listQuery}).then((function(t){e.listLoading=!1,console.log(e.listLoading),e.list=t.data.data,e.total=t.data.total,e.timetype_arr=t.ext.timetype,e.oss=t.ext.oss})).catch((function(){}));else{if(this.listQuery.excel=1,console.log("l:"+this.listQuery.times),!this.listQuery.times)return void this.$message({message:"请选择日期",type:"warning"});var a=this.listQuery.times[0]instanceof Date,i=Object(r["a"])(Object(r["a"])({},this.listQuery),{},{times:[a?this.listQuery.times[0].toISOString():"",a?this.listQuery.times[1].toISOString():""]});window.open("/admin/index/productNameList?"+this.objectToQuery(i))}},objectToQuery:function(t){return Object.keys(t).map((function(e){var a=t[e];return void 0==a||null==a?"":encodeURIComponent(e)+"="+encodeURIComponent(a)})).join("&")}}},o=l,u=(a("fb3f"),a("2877")),c=Object(u["a"])(o,i,n,!1,null,"d6692e38",null);e["default"]=c.exports},fb3f:function(t,e,a){"use strict";a("0c17")}}]);