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.4 KiB
1 lines
3.4 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/pages/distribution/agent"],{"2f92":function(t,n,i){"use strict";(function(t,n){var a=i("47a9");i("7043");a(i("3240"));var e=a(i("d16a"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(e.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"39a0":function(t,n,i){"use strict";i.r(n);var a=i("f68a"),e=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);n["default"]=e.a},"5b95":function(t,n,i){"use strict";var a=i("ab11"),e=i.n(a);e.a},ab11:function(t,n,i){},d16a:function(t,n,i){"use strict";i.r(n);var a=i("d170"),e=i("39a0");for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);i("5b95");var r=i("828b"),s=Object(r["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=s.exports},d170:function(t,n,i){"use strict";i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return e})),i.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,i=(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:i,g1:a}})},e=[]},f68a:function(t,n,i){"use strict";(function(t){var a=i("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a(i("7eb4")),o=a(i("ee10")),r=i("8f59"),s={data:function(){return{loading:!0,isLoad:!1,cityType:["","城市","区县","省"],param:{page:1,limit:10,status:0},list:{data:[]},check_admin:{}}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){var t=this.$util.getPage(-1),n=t.check_admin;this.check_admin=n,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:{initIndex:function(){var t=arguments,n=this;return(0,o.default)(e.default.mark((function i(){return e.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:t.length>0&&void 0!==t[0]&&t[0],n.$util.setNavigationBarColor({bg:n.primaryColor}),n.getList();case 3:case"end":return i.stop()}}),i)})))()},handerTabChange:function(t){this.activeIndex=t,this.param.status=t,this.getList()},toSearch:function(t){this.param.page=1,this.param.nickName=t,this.check_admin={},this.getList()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,o.default)(e.default.mark((function n(){var i,a,o;return e.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$util.showLoading(),i=t.list,a=t.param,n.next=4,t.$api.mine.adminList(a);case 4:o=n.sent,1==t.param.page||(o.data=i.data.concat(o.data)),t.list=o,t.isLoad=!0,t.loading=!1,t.$util.hideAll();case 9:case"end":return n.stop()}}),n)})))()},toChangeItem:function(t){this.check_admin=this.list.data[t]},toConfirm:function(){var t=this.check_admin.id,n=void 0===t?0:t;n?(this.$util.getPage(-1).check_admin=this.check_admin,this.$util.goUrl({url:1,openType:"navigateBack"})):this.$util.showToast({title:"请选择代理商"})}}};n.default=s}).call(this,i("df3c")["default"])}},[["2f92","common/runtime","common/vendor"]]]); |