(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/throughTrain/throughTrain"],{131:function(t,n,e){"use strict";(function(t,n){var r=e(4);e(26);r(e(25));var i=r(e(132));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e(1)["default"],e(2)["createPage"])},132:function(t,n,e){"use strict";e.r(n);var r=e(133),i=e(135);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e(137);var o,a=e(32),s=Object(a["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);s.options.__file="pages/throughTrain/throughTrain.vue",n["default"]=s.exports},133:function(t,n,e){"use strict";e.r(n);var r=e(134);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},134:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return o})),e.d(n,"recyclableRender",(function(){return u})),e.d(n,"components",(function(){return r}));try{r={uSearch:function(){return e.e("uview-ui/components/u-search/u-search").then(e.bind(null,215))},uTabs:function(){return e.e("uview-ui/components/u-tabs/u-tabs").then(e.bind(null,222))},uDivider:function(){return e.e("uview-ui/components/u-divider/u-divider").then(e.bind(null,236))},uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,186))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.list.length);t.$mp.data=Object.assign({},{$root:{g0:e}})},u=!1,o=[];i._withStripped=!0},135:function(t,n,e){"use strict";e.r(n);var r=e(136),i=e.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(u);n["default"]=i.a},136:function(t,n,e){"use strict";(function(t){var r=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(43)),u=r(e(18)),o=r(e(45)),a={data:function(){return{type:"1",styobj:{width:"104rpx",height:"56rpx",background:"#de2e27","border-radius":"32rpx","line-height":"32px",opacity:"1",display:"flex","align-items":"center","justify-content":"center",color:"#ffffff","font-size":"28rpx","z-index":"2"},typeList:[],current:0,offset:[10,-2],form:{deal_status:"",page:1,per_page:10,content:""},list:[],page:"",divider:"没有更多数据啦~"}},onShow:function(){this.throughTrainListFn(),this.throughTrainNumFn()},onPullDownRefresh:function(){this.throughTrainListFn(),this.throughTrainNumFn()},onReachBottom:function(){console.log("触底加载"),this.divider="加载中。。。",this.page>this.form.page?(this.form.page++,this.throughTrainListFn(!1)):(this.divider="没有更多数据啦~",this.$u.toast("没有更多数据啦~"))},methods:{throughTrainListFn:function(n){var e=this;return(0,o.default)(i.default.mark((function r(){var o,a,s,c;return i.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,t.showNavigationBarLoading(),!1!==n&&(e.form.page=1,e.list=[]),r.next=5,e.$u.api.throughTrainList(e.form);case 5:o=r.sent,a=o.data,s=a.data,c=a.meta,e.page=c.pagination.total_pages,e.list=e.page>1?[].concat((0,u.default)(e.list),(0,u.default)(s)):s,e.divider="没有更多数据啦~",r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](0),console.error(r.t0);case 17:return r.prev=17,t.hideNavigationBarLoading(),t.stopPullDownRefresh(),r.finish(17);case 21:case"end":return r.stop()}}),r,null,[[0,14,17,21]])})))()},throughTrainNumFn:function(){var t=this;return(0,o.default)(i.default.mark((function n(){var e;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$u.api.throughTrainNum();case 2:e=n.sent,"success"===e.status&&(t.typeList=e.data),t.form.deal_status&&(t.current=t.form.deal_status);case 5:case"end":return n.stop()}}),n)})))()},change:function(t){this.current=t,this.form.deal_status=0==t?"":t,this.throughTrainListFn()},search:function(){this.throughTrainListFn()},custom:function(){this.throughTrainListFn()},clear:function(){this.form.content="",this.throughTrainListFn()},goComplaintDetails:function(t){this.$u.route("/pages/throughTrain/throughTrainDetails",{id:t})}}};n.default=a}).call(this,e(2)["default"])},137:function(t,n,e){"use strict";e.r(n);var r=e(138),i=e.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(u);n["default"]=i.a},138:function(t,n,e){}},[[131,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/throughTrain/throughTrain.js.map