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.9 KiB
1 lines
2.9 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["oilDistribution/newSeleDirver/newSeleDirver"],{"17c8":function(t,e,n){"use strict";var a=n("e679"),i=n.n(a);i.a},"1eea":function(t,e,n){"use strict";n.r(e);var a=n("d973"),i=n("bc79");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("17c8");var u,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"7120c7e0",null,!1,a["a"],u);e["default"]=c.exports},2563:function(t,e,n){"use strict";(function(t){n("84da");a(n("66fd"));var e=a(n("1eea"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"47a6":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("1b48"));function i(t){return t&&t.__esModule?t:{default:t}}var r=function(){n.e("components/scroll").then(function(){return resolve(n("987b"))}.bind(null,n)).catch(n.oe)},u={components:{scroll:r},data:function(){return{barIndex:0,timer:null,seachValue:"",windowHeight:"",lately:[],list:[],page:{pageSize:15,currentPage:1,params:{companyCustomerNature:0,companyId:"",companyType:"",param:""},columns:[]}}},onLoad:function(t){t.jsData&&(console.log(JSON.parse(t.jsData)),this.page.params.companyId=JSON.parse(t.jsData).id,this.page.params.companyType=JSON.parse(t.jsData).companyType,this.getlist())},filters:{companyType:function(t){switch(Number(t)){case 0:return"FUEL";case 1:return"OIL";case 2:return"LNG";case 3:return"SCR"}}},methods:{seleFn:function(e){clearTimeout(this.timer),this.timer=setTimeout((function(){console.log(e),t.$emit("driverfn",e),t.navigateBack()}),200)},getlist:function(){var e=this;a.default.getDriverSelectionListByCompanyId(this.page).then((function(n){2e4===n.code&&(0==n.data.list.length&&t.showToast({title:"没有数据了哦",icon:"none"}),1===e.page.currentPage?e.list=n.data.list:e.list=e.list.concat(n.data.list))}))},scrolltolower:function(){this.currentPage+=1,this.getlist()},seachFn:function(){this.page.currentPage=1,this.getlist()},seleBarFn:function(t){this.page.currentPage=1,this.page.params.companyCustomerNature=t,this.getlist()}}};e.default=u}).call(this,n("543d")["default"])},bc79:function(t,e,n){"use strict";n.r(e);var a=n("47a6"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},d973:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,"fb2e"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,0!==t.list.length?t.__map(t.list,(function(e,n){var a=t.__get_orig(e),i=t._f("companyType")(e.companyType);return{$orig:a,f0:i}})):null);t.$mp.data=Object.assign({},{$root:{l0:n}})},r=[]},e679:function(t,e,n){}},[["2563","common/runtime","common/vendor"]]]); |