Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

2 строки
4.2 KiB

  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/center/consumer/consumerSearch"],{508:function(e,t,n){"use strict";(function(e){n(5),n(6);r(n(4));var t=r(n(509));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n(1)["createPage"])},509:function(e,t,n){"use strict";n.r(t);var r=n(510),o=n(512);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n(514);var c,u=n(17),a=Object(u["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"34502e14",null,!1,r["components"],c);a.options.__file="pages/center/consumer/consumerSearch.vue",t["default"]=a.exports},510:function(e,t,n){"use strict";n.r(t);var r=n(511);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},511:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return o})),n.d(t,"staticRenderFns",(function(){return c})),n.d(t,"recyclableRender",(function(){return i})),n.d(t,"components",(function(){return r}));try{r={uSearch:function(){return n.e("uview-ui/components/u-search/u-search").then(n.bind(null,645))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,t=e.$createElement;e._self._c},i=!1,c=[];o._withStripped=!0},512:function(e,t,n){"use strict";n.r(t);var r=n(513),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a},513:function(e,t,n){"use strict";(function(e){function n(e){return c(e)||i(e)||o(e)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function i(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function c(e){if(Array.isArray(e))return u(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={data:function(){return{keyword:"",stageList:["未知","到访","意向","定金","成交"],recordList:[],nextPage:1,totalRecord:"",buildingID:""}},onShow:function(){this.buildingID=e.getStorageSync("buildingID").id,this.nextPage=1,this.recordList=[]},onReachBottom:function(){this.totalRecord!=this.nextPage?(this.nextPage+=1,this.getMyCustom()):e.showToast({icon:"none",title:"到底了",duration:2e3})},methods:{gotoDetail:function(t){e.navigateTo({url:"/pages/center/consumer/consumerDetail?id=".concat(t)})},searchinfo:function(){this.nextPage=1,this.recordList=[],this.getMyCustom()},getMyCustom:function(){var e=this,t={pageNum:this.nextPage,pageSize:10,query:{projectId:this.buildingID,nameOrPhone:this.keyword}};this.$u.post("/customer/customerManagement",t).then((function(t){var r=t.results||[];r.forEach((function(e){null!=e.demand.cusSemanticWordsList&&e.demand.cusSemanticWordsList.forEach((function(e){0==e.isInterval&&(e.name=e.name+e.unit+"-"+e.endName+e.unit)}))})),e.recordList=[].concat(n(e.recordList),n(r)),e.totalRecord=t.totalPage}))}}};t.default=a}).call(this,n(1)["default"])},514:function(e,t,n){"use strict";n.r(t);var r=n(515),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a},515:function(e,t,n){}},[[508,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/center/consumer/consumerSearch.js.map