|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/user/UserBill/index"],{1202:function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement;e._self._c},a=[]},"5b1b":function(e,t,n){"use strict";(function(e){n("ef82");o(n("66fd"));var t=o(n("9e8f"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"8b82":function(e,t,n){"use strict";n.r(t);var o=n("e79b"),i=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=i.a},"9e8f":function(e,t,n){"use strict";n.r(t);var o=n("1202"),i=n("8b82");for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var s,u=n("f0c5"),r=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);t["default"]=r.exports},e79b:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("aa63"),i=function(){n.e("components/Loading").then(function(){return resolve(n("624a"))}.bind(null,n)).catch(n.oe)},a={name:"UserBill",components:{Loading:i},props:{},data:function(){return{types:"",where:{page:1,limit:5},list:[],loaded:!1,loading:!1}},watch:{"$yroute.query.types":function(e){var t=this;void 0!=e&&(t.types=e,t.list=[],t.where.page=1,t.loaded=!1,t.loading=!1,t.getIndex())},types:function(){this.getIndex()}},mounted:function(){var e=this;e.types=e.$yroute.query.types,e.getIndex()},onReachBottom:function(){!this.loading&&this.getIndex()},methods:{code:function(){this.sendCode()},changeTypes:function(e){e!=this.types&&(this.types=e,this.list=[],this.where.page=1,this.loaded=!1,this.loading=!1)},getIndex:function(){var t=this;1!=t.loaded&&1!=t.loading&&(t.loading=!0,(0,o.getCommissionInfo)(t.where,t.types).then((function(e){t.loading=!1,t.loaded=e.data.length<t.where.limit,t.where.page=t.where.page+1,t.list.push.apply(t.list,e.data)}),(function(t){e.showToast({title:t.msg||t.response.data.msg||t.response.data.message,icon:"none",duration:2e3})})))}}};t.default=a}).call(this,n("543d")["default"])}},[["5b1b","common/runtime","common/vendor"]]]);
|