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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["driverManagement/company/company"],{"071b":function(t,e,n){"use strict";(function(t){n("84da");a(n("66fd"));var e=a(n("7e82"));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"])},"551b":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 s={data:function(){return{selecompany:"",timer:null,diverList:[],getData:{pageSize:15,currentPage:1,params:{name:""},sorted:{createTime:"desc"},columns:[]},value:0,range:[{value:0,text:""}],type:""}},onLoad:function(t){if(t.jsData){if(""==JSON.parse(t.jsData))return;if("send"==JSON.parse(t.jsData).type||"receive"==JSON.parse(t.jsData).type)return void(this.type=JSON.parse(t.jsData));this.selecompany={},this.selecompany.name=JSON.parse(t.jsData)}},onShow:function(){""!==this.type&&""!==this.type.data?this.fylist(this.type.id):(console.log(this.type.data,"-------------------------------------------------"),this.getDriversList())},onReachBottom:function(){this.getData.currentPage+=1,console.log("触底了"),this.getDriversList()},methods:{fylist:function(t){var e=this;a.default.fylist(t).then((function(t){2e4===t.code&&(e.diverList=t.data)}))},seleFn:function(e){if(clearTimeout(this.timer),!e)return this.selecompany="",t.$emit("company"),void(this.timer=setTimeout((function(){t.navigateBack()}),1e3));this.selecompany=e,this.selecompany.type=this.type.type,t.$emit("company",this.selecompany),this.timer=setTimeout((function(){t.navigateBack()}),1e3)},seachFn:function(){this.selecompany={},this.getData.currentPage=1,this.getDriversList()},getDriversList:function(){var t=this;console.log("正常"),a.default.getByPage(this.getData).then((function(e){2e4===e.code&&(1===t.getData.currentPage?t.diverList=e.data.list:t.diverList=t.diverList.concat(e.data.list))}))},change:function(t){console.log("e:",t)}}};e.default=s}).call(this,n("543d")["default"])},5990:function(t,e,n){},"7e82":function(t,e,n){"use strict";n.r(e);var a=n("e784"),i=n("83ba");for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);n("f2c4");var u,o=n("f0c5"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);e["default"]=r.exports},"83ba":function(t,e,n){"use strict";n.r(e);var a=n("551b"),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);e["default"]=i.a},e784:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),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;t._self._c},s=[]},f2c4:function(t,e,n){"use strict";var a=n("5990"),i=n.n(a);i.a}},[["071b","common/runtime","common/vendor"]]]);