require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/search/searchList"],{"0cba":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("0c59"),o=n("76dd"),u={data:function(){return{BASE_IMG_URL:a.BASE_IMG_URL,type:0,keyword:"",customer:[],leads:[],contacts:[],telShow:!0,description:""}},onLoad:function(e){this.type=e.type,this.keyword=e.word,this.keyword&&this.getList()},methods:{onInputCancel:function(){e.navigateBack({delta:1})},onSearch:function(t){if(t){this.keyword=t;var n=e.getStorageSync("searchword");if(n){if(-1!=n.indexOf(this.keyword)){var a=n.indexOf(this.keyword);n.splice(a,1)}n.length>=10?(n.shift(),n.push(this.keyword)):n.push(this.keyword)}else n=[],n.push(this.keyword);e.setStorageSync("searchword",n),this.getList()}},getList:function(){var e=this,t={keywords:this.keyword};(0,o.netQueryData)(t).then((function(t){e.leads=t.data.leads,e.customer=t.data.customer,e.contacts=t.data.contacts}))},followClick:function(t,n){e.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/newFllow?id="+t+"&type="+n})},linkmanClick:function(t){e.navigateTo({url:"/pagesA/crm/linkman/newLinkman/newLinkman?id="+t})},toKehuMore:function(t){e.navigateTo({url:"/pages/index/groupCompany/groupCompany?id="+t})},toCall:function(t){e.makePhoneCall({phoneNumber:t.mobile})},moreClick:function(t){e.navigateTo({url:"/pagesA/crm/cluesManagement/cluesMore/cluesMore?id="+t.id})},toMore:function(t){e.navigateTo({url:"/pages/index/groupCompany/contact/contactDetail?id="+t})}}};t.default=u}).call(this,n("543d")["default"])},"4d8b":function(e,t,n){"use strict";n.r(t);var a=n("7773"),o=n("5187");for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);n("ba63");var c=n("f0c5"),i=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"4cc6bbc1",null,!1,a["a"],void 0);t["default"]=i.exports},5187:function(e,t,n){"use strict";n.r(t);var a=n("0cba"),o=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);t["default"]=o.a},5529:function(e,t,n){},7773:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a}));var a={uSearch:function(){return n.e("uview-ui/components/u-search/u-search").then(n.bind(null,"d3fc"))},uRate:function(){return n.e("uview-ui/components/u-rate/u-rate").then(n.bind(null,"71b2"))},uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))}},o=function(){var e=this,t=e.$createElement,n=(e._self._c,1==e.type||0==e.type?e.customer.length:null),a=1==e.type||0==e.type?e.customer.length:null,o=2==e.type||0==e.type?e.leads.length:null,u=2==e.type||0==e.type?e.leads.length:null,c=3==e.type||0==e.type?e.contacts.length:null,i=3==e.type||0==e.type?e.contacts.length:null;e.$mp.data=Object.assign({},{$root:{g0:n,g1:a,g2:o,g3:u,g4:c,g5:i}})},u=[]},ba63:function(e,t,n){"use strict";var a=n("5529"),o=n.n(a);o.a},d4f2:function(e,t,n){"use strict";(function(e,t){var a=n("4ea4");n("8886");a(n("66fd"));var o=a(n("4d8b"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["d4f2","common/runtime","common/vendor"]]]);