app-clerk-historys.js 2.3 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-clerk-historys/app-clerk-historys"],{"2b35":function(t,e,n){},aa38:function(t,e,n){"use strict";var a,i=function(){var t=this,e=t.$createElement;t._self._c},o=[];n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}))},aca7:function(t,e,n){"use strict";n.r(e);var a=n("aa38"),i=n("cc83");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("e90a");var c,s=n("f0c5"),r=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"731831c4",null,!1,a["a"],c);e["default"]=r.exports},cc5b:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"app-clerk-historys",components:{},props:{isShow:{type:Boolean,default:!1},userCardId:{type:Number,default:0}},watch:{isShow:function(t){t||(this.visible=!1),t&&(this.page=1,this.list=[],this.getList())}},data:function(){return{visible:!1,list:[],page:1,isMore:!1}},methods:{close:function(){this.$emit("update:isShow",!1)},getList:function(){var e=this;e.$showLoading({text:"加载中..."}),e.$request({url:e.$api.card.history,data:{user_card_id:e.userCardId,page:e.page}}).then((function(n){e.$hideLoading(),e.visible=!0,0===n.code?(e.list=e.list.concat(n.data.list),e.page=n.data.list.length>0?e.page+1:e.page,0===n.data.list.length&&(e.isMore=!0),console.log(e.isMore)):t.showToast({title:n.msg,icon:"none",duration:2e3})})).catch((function(){e.$hideLoading()}))},lower:function(){this.getList()}},created:function(){}};e.default=n}).call(this,n("543d")["default"])},cc83:function(t,e,n){"use strict";n.r(e);var a=n("cc5b"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},e90a:function(t,e,n){"use strict";var a=n("2b35"),i=n.n(a);i.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/page-component/app-clerk-historys/app-clerk-historys-create-component',
  4. {
  5. 'components/page-component/app-clerk-historys/app-clerk-historys-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("aca7"))
  7. })
  8. },
  9. [['components/page-component/app-clerk-historys/app-clerk-historys-create-component']]
  10. ]);