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 line
2.9 KiB
1 line
2.9 KiB
2 years ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["driverManagement/company/company"],{"0c38":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("f9bd"));function a(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;i.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("正常"),i.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"])},"120e":function(t,e,n){"use strict";n.r(e);var i=n("d393"),a=n("9978");for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("d239");var u,o=n("f0c5"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],u);e["default"]=r.exports},"7ab5":function(t,e,n){"use strict";(function(t){n("6e43");i(n("66fd"));var e=i(n("120e"));function i(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},9978:function(t,e,n){"use strict";n.r(e);var i=n("0c38"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},d239:function(t,e,n){"use strict";var i=n("fce5"),a=n.n(i);a.a},d393:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,"2572"))}},a=function(){var t=this,e=t.$createElement;t._self._c},s=[]},fce5:function(t,e,n){}},[["7ab5","common/runtime","common/vendor"]]]);
|