11 lines
2.5 KiB
JavaScript
11 lines
2.5 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/selectCustomer"],{"17ce":function(t,e,n){"use strict";var s=n("e54c"),i=n.n(s);i.a},"280c":function(t,e,n){"use strict";n.r(e);var s=n("d437"),i=n.n(s);for(var o in s)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(o);e["default"]=i.a},5293:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return s}));var s={uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"6f9d"))}},i=function(){var t=this.$createElement,e=(this._self._c,this.customerlist.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},"5bcd":function(t,e,n){"use strict";n.r(e);var s=n("5293"),i=n("280c");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("7215"),n("17ce");var u=n("f0c5"),c=Object(u["a"])(i["default"],s["b"],s["c"],!1,null,"b7fb50f4",null,!1,s["a"],void 0);e["default"]=c.exports},7215:function(t,e,n){"use strict";var s=n("c9d7"),i=n.n(s);i.a},c9d7:function(t,e,n){},d437:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n("76dd"),i=n("0c59"),o={props:{},data:function(){return{keyword:"",customerlist:[],page:1,totalPage:1,preseCustomerObj:{},BASE_IMG_URL:i.BASE_IMG_URL}},methods:{init:function(){this.$refs.popup.open(),this.page=1,this.customerlist=[],this.getList()},getList:function(){var t=this,e={page:this.page,name:this.keyword};(0,s.netKehuList)(e).then((function(e){t.customerlist=t.customerlist.concat(e.data.data),t.totalPage=e.data.last_page}))},loadMoredata:function(){this.page>=this.totalPage||(this.page++,this.getList())},searchName:function(t){this.page=1,this.customerlist=[],this.getList()},selectItem:function(t,e){this.preseCustomerObj=t},closePopup:function(){this.$refs.popup.close()},sureSelect:function(){this.preseCustomerObj?(this.$refs.popup.close(),this.$emit("getCustomerinfo",this.preseCustomerObj)):this.$refs.popup.close()},hideSelect:function(){this.$refs.popup.close()}}};e.default=o},e54c:function(t,e,n){}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/selectCustomer-create-component',
|
|
{
|
|
'components/selectCustomer-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("5bcd"))
|
|
})
|
|
},
|
|
[['components/selectCustomer-create-component']]
|
|
]);
|