require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/promoter-order/index"],{"298c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.recordList.length),i=this.recordList.length;this.$mp.data=Object.assign({},{$root:{g0:e,g1:i}})},a=[]},"4f50":function(t,e,i){"use strict";i.r(e);var n=i("298c"),a=i("7ca5");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("ff35");var s=i("828b"),r=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"5b2a2246",null,!1,n["a"],void 0);e["default"]=r.exports},5104:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("92f9"),o=i("5088"),s=i("8f59"),r=n(i("89cc")),c=t.getWindowInfo().statusBarHeight+"px",u={components:{emptyPage:function(){i.e("components/emptyPage").then(function(){return resolve(i("398a"))}.bind(null,i)).catch(i.oe)},timeSlot:function(){i.e("pages/users/components/timeSlot/index").then(function(){return resolve(i("5603"))}.bind(null,i)).catch(i.oe)}},mixins:[r.default],data:function(){return{sysHeight:c,page:1,limit:10,status:!1,loading:!1,recordList:[],times:[],time:"",recordCount:0,count:0,total:0,sum_brokerage:0,keyword:"",isAuto:!1,isShowAuth:!1,start:0,stop:0}},computed:(0,s.mapGetters)(["isLogin"]),onLoad:function(){this.isLogin?this.getRecordOrderList():(0,o.toLogin)()},onShow:function(){t.removeStorageSync("form_type_cart")},methods:{copy:function(e){t.setClipboardData({data:e})},searchSubmitValue:function(t){this.keyword=t?t.detail.value:"",this.page=1,this.limit=20,this.status=!1,this.$set(this,"recordList",[]),this.$set(this,"times",[]),this.getRecordOrderList()},changeTime:function(t){this.start=t.start,this.stop=t.stop,this.searchSubmitValue()},getRecordOrderList:function(){var t=this,e=this,i=e.page,n=e.limit,o=e.status;e.loading||1!=o&&(e.loading=!0,(0,a.spreadOrder)({start:this.start,stop:this.stop,keyword:this.keyword,page:i,limit:n}).then((function(i){t.total=i.data.count,t.sum_brokerage=i.data.sum_brokerage;for(var n=0;n<i.data.time.length;n++)t.times.includes(i.data.time[n].time)||(t.times.push(i.data.time[n].time),t.recordList.push({time:i.data.time[n].time,count:i.data.time[n].count,child:[]}));for(var a=0;a<t.times.length;a++)for(var o=0;o<i.data.list.length;o++)t.times[a]===i.data.list[o].time_key&&t.recordList[a].child.push(i.data.list[o]);e.count=i.data.count||0,e.status=i.data.list.length<5,e.page+=1,e.loading=!1})).catch((function(t){e.loading=!1})))}},onReachBottom:function(){this.getRecordOrderList()},onPageScroll:function(e){t.$emit("scroll")}};e.default=u}).call(this,i("df3c")["default"])},"5a34":function(t,e,i){},"7ca5":function(t,e,i){"use strict";i.r(e);var n=i("5104"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},ee05:function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("f076");n(i("3240"));var a=n(i("4f50"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},ff35:function(t,e,i){"use strict";var n=i("5a34"),a=i.n(n);a.a}},[["ee05","common/runtime","common/vendor"]]]);