(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tender/tender"],{"5f8e":function(e,t,n){"use strict";n.r(t);var a=n("60ba"),i=n("7516");for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("c1fa");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"6208fa76",null,!1,a["a"],r);t["default"]=c.exports},"60ba":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=[]},"6dd2":function(e,t,n){"use strict";(function(e){n("40da");a(n("66fd"));var t=a(n("5f8e"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},7516:function(e,t,n){"use strict";n.r(t);var a=n("b31a"),i=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},"83bc":function(e,t,n){},b31a:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2f62");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(){n.e("pages/tender/components/tenderUnit").then(function(){return resolve(n("a98f"))}.bind(null,n)).catch(n.oe)},c={data:function(){return{pageData:{pageIndex:1,pageSize:10,isEnd:!1,isLoading:!0},pageList:[]}},components:{ListUnit:s},onLoad:function(){this.pageData.isLoading=!0,e.showLoading({title:"正在加载"}),this.getList()},computed:o({},(0,a.mapGetters)({isReloading:"shouldReLoadingList"})),methods:o(o({},(0,a.mapMutations)(["shouldReLoadingList"])),{},{getList:function(){var t=this,n=this;n.$request.$get("GetTenderFlowList",{pageIndex:n.pageData.pageIndex,pageSize:n.pageData.pageSize}).then((function(a){if(a.ResultCode&&"100"==a.ResultCode){var i=a.Data.List;i.length>0&&(n.pageList=1==t.pageData.pageIndex?i:n.pageList.concat(i)),i.length<n.pageData.pageSize&&(n.pageData.isEnd=!0),n.$forceUpdate()}else n.pageList=[];e.hideLoading(),setTimeout((function(){n.pageData.isLoading=!1}),500)}))},loadMore:function(){this.pageData.isEnd||(this.pageData.pageIndex+=1,this.getList())},goDetail:function(e){var t="";switch(e.OPERATION_TYPE){case 350200:t="/pages/tender/tenderRecord?HIGHWAYPROINST_ID="+e.HIGHWAYPROINST_ID;break;case 350300:t="/pages/tender/tenderAlteration?HIGHWAYPROINST_ID="+e.HIGHWAYPROINST_ID;break;case 350100:t="/pages/tender/decisionRecord?HIGHWAYPROINST_ID="+e.HIGHWAYPROINST_ID;break}this.$util.toNextRoute("navigateTo",t)}}),onPullDownRefresh:function(){this.pageData.pageIndex=1,this.pageData.isEnd=!1,e.showLoading({title:"正在加载"}),this.getList(),setTimeout((function(){e.stopPullDownRefresh()}),1e3)},onReachBottom:function(){this.loadMore()},onShow:function(){var t=this;this.isReloading&&(e.showLoading({title:"正在加载"}),t.pageData.pageIndex=1,t.pageData.isEnd=!1,t.getList(),t.shouldReLoadingList(!1))},onUnload:function(){this.$util.addUserBehavior()}};t.default=c}).call(this,n("543d")["default"])},c1fa:function(e,t,n){"use strict";var a=n("83bc"),i=n.n(a);i.a}},[["6dd2","common/runtime","common/vendor"]]]);