(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/promoter_order"],{"0436":function(t,e,n){"use strict";(function(t){n("856e");o(n("66fd"));var e=o(n("40ca"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"3db1":function(t,e,n){"use strict";n.r(e);var o=n("631d"),r=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},"40ca":function(t,e,n){"use strict";n.r(e);var o=n("9065"),r=n("3db1");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("5ea2");var c,i=n("f0c5"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"1cd94089",null,!1,o["a"],c);e["default"]=u.exports},"5ea2":function(t,e,n){"use strict";var o=n("ef80"),r=n.n(o);r.a},"631d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("7eca"),r=(n("95b6"),n("26cb")),a=function(){n.e("components/emptyPage").then(function(){return resolve(n("72ad"))}.bind(null,n)).catch(n.oe)},c={components:{emptyPage:a},data:function(){return{page:1,limit:8,status:!1,recordList:[],recordCount:0,userInfo:"",type:0}},computed:(0,r.mapGetters)(["isLogin"]),onLoad:function(t){console.log(t),this.type=t.type,this.getRecordOrderList()},methods:{spreadInfo:function(){var t=this;(0,o.spreadInfo)().then((function(e){t.userInfo=e.data}))},getRecordOrderList:function(){var t=this,e=t.page,n=t.limit,r=t.status,a=t.recordList;console.log(a,"22222");var c=[],i=[],u=0;1!=r&&(0,o.spreadOrder)({page:e,limit:n}).then((function(e){console.log(e,"ere");var o=e.data.list?e.data.list.length:0,r=(e.data.list,e.data.list);console.log(r);for(var s=0;s<r.length;s++)for(var d=0;d<e.data.list[s].child.length;d++)"pay_money"==e.data.list[s].child[d].type&&1==t.type&&(u+=1,i.push(e.data.list[s].child[d])),"brokerage"==e.data.list[s].child[d].type&&0==t.type&&(u+=1,i.push(e.data.list[s].child[d]));t.recordCount=u||0,c=a.concat(i),t.status=n>o,t.page+=1,t.$set(t,"recordList",c)}))}},onReachBottom:function(){this.getRecordOrderList()}};e.default=c},9065:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement;t._self._c},a=[]},ef80:function(t,e,n){}},[["0436","common/runtime","common/vendor"]]]);