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
2.2 KiB
1 lines
2.2 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/user/UserBill/index"],{"0fb3":function(e,t,n){"use strict";n.r(t);var o=n("f246"),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},"38a2":function(e,t,n){"use strict";(function(e){n("0371");o(n("66fd"));var t=o(n("e721"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"76ad":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=[]},e721:function(e,t,n){"use strict";n.r(t);var o=n("76ad"),i=n("0fb3");for(var a in i)"default"!==a&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var s,u=n("f0c5"),d=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);t["default"]=d.exports},f246:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("6e63"),i=function(){n.e("components/Loading").then(function(){return resolve(n("df82"))}.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"])}},[["38a2","common/runtime","common/vendor"]]]); |