require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/promoter-order/index"],{"1a1a":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("a05e"),i=n("d7f8"),a=n("8f59"),u=o(n("0cf0")),c={components:{authorize:function(){n.e("components/Authorize").then(function(){return resolve(n("636c"))}.bind(null,n)).catch(n.oe)},emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("04be"))}.bind(null,n)).catch(n.oe)},home:function(){Promise.all([n.e("common/vendor"),n.e("components/home/index")]).then(function(){return resolve(n("05b1"))}.bind(null,n)).catch(n.oe)}},mixins:[u.default],data:function(){return{page:1,limit:8,status:!1,recordList:[],times:[],recordCount:0,count:0,orderType:0,isAuto:!1,isShowAuth:!1}},computed:(0,a.mapGetters)(["isLogin"]),onLoad:function(t){this.isLogin?(this.orderType=t.type||0,this.getRecordOrderList(t.type)):(0,i.toLogin)()},methods:{open:function(t){t.open=!t.open},onLoadFun:function(){this.getRecordOrderList()},authColse:function(t){this.isShowAuth=t},getRecordOrderList:function(){var e,n=this,o=this,i=o.page,a=o.limit,u=o.status;1!=u&&(this.orderType?(e=r.divisionOrder,t.setNavigationBarTitle({title:o.$t("推广订单列表")})):e=r.spreadOrder,e({page:i,limit:a}).then((function(t){for(var e=0;e0?t.__map(t.recordList,(function(e,n){var o=t.__get_orig(e),r=t.$t("本月累计推广订单"),i=t.$t("单"),a=t.$t("订单编号"),u=t.$t("下单时间"),c=t.__map(e.child,(function(e,n){var o=t.__get_orig(e),r="brokerage"==e.type?t.$t("返佣"):null,i="brokerage"==e.type?t.$t("¥"):null,a="brokerage"!=e.type?t.$t("暂未返佣"):null,u="brokerage"!=e.type?t.$t("¥"):null,c=e.children&&e.children.length,l=c&&e.open?t.$t("收起"):null,s=c&&!e.open?t.$t("更多"):null,d=e.open?t.__map(e.children,(function(e,n){var o=t.__get_orig(e),r=t.$t("单号"),i="brokerage"==e.type?t.$t("返佣"):null,a="brokerage"==e.type?t.$t("¥"):null,u="brokerage"!=e.type?t.$t("暂未返佣"):null,c="brokerage"!=e.type?t.$t("¥"):null;return{$orig:o,m12:r,m13:i,m14:a,m15:u,m16:c}})):null;return{$orig:o,m4:r,m5:i,m6:a,m7:u,g1:c,m10:l,m11:s,l0:d}}));return{$orig:o,m2:r,m3:i,m8:a,m9:u,l1:c}})):null,a=t.recordList.length,u=0==a?t.$t("暂无推广订单~"):null;t.$mp.data=Object.assign({},{$root:{m0:n,m1:o,g0:r,l2:i,g2:a,m17:u}})},r=[]}},[["51db","common/runtime","common/vendor"]]]);