You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.8 KiB
1 lines
3.8 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/pages/distribution/team"],{1279:function(t,e,n){"use strict";var a=n("c5a3"),i=n.n(a);i.a},"3f33":function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("7eb4")),r=a(n("ee10")),o=a(n("7ca3")),c=n("8f59");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={components:{},data:function(){return{options:{},tabList:[{id:1,title:"邀请的"+this.$t("action.attendantName"),methodModel:"partnerCoachList"},{id:2,title:"邀请的用户",methodModel:"myTeam"}],activeIndex:0,param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,c.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.options=t,this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:s(s({},(0,c.mapMutations)([""])),{},{initIndex:function(){var t=arguments,e=this;return(0,r.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.length>0&&void 0!==t[0]&&t[0],e.$util.setNavigationBarColor({bg:e.primaryColor}),n.next=4,e.getList();case 4:case"end":return n.stop()}}),n)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},handerTabChange:function(t){this.activeIndex=t,this.param.status=t,this.list.data=[],this.getList()},getList:function(){var t=this;return(0,r.default)(i.default.mark((function e(){var n,a,r,o,c,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.list,a=t.param,r=t.tabList,o=t.activeIndex,c=r[o].methodModel,e.next=4,t.$api.mine[c](a);case 4:u=e.sent,1==t.param.page||(u.data=n.data.concat(u.data)),t.list=u,t.loading=!1,t.$util.hideAll();case 8:case"end":return e.stop()}}),e)})))()}})};e.default=f}).call(this,n("df3c")["default"])},"47d5":function(t,e,n){"use strict";n.r(e);var a=n("3f33"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},c5a3:function(t,e,n){},e00d:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null),a=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{g0:n,g1:a}})},i=[]},e6cb:function(t,e,n){"use strict";n.r(e);var a=n("e00d"),i=n("47d5");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("1279");var o=n("828b"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=c.exports},efff:function(t,e,n){"use strict";(function(t,e){var a=n("47a9");n("7043");a(n("3240"));var i=a(n("e6cb"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["efff","common/runtime","common/vendor"]]]); |