|
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/center/Piabodata/Userinsightinto"],{412:function(t,n,e){"use strict";(function(t){e(5),e(6);i(e(4));var n=i(e(413));function i(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e(1)["createPage"])},413:function(t,n,e){"use strict";e.r(n);var i=e(414),a=e(416);for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e(418);var r,s=e(17),c=Object(s["default"])(a["default"],i["render"],i["staticRenderFns"],!1,null,"d84d0888",null,!1,i["components"],r);c.options.__file="pages/center/Piabodata/Userinsightinto.vue",n["default"]=c.exports},414:function(t,n,e){"use strict";e.r(n);var i=e(415);e.d(n,"render",(function(){return i["render"]})),e.d(n,"staticRenderFns",(function(){return i["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return i["recyclableRender"]})),e.d(n,"components",(function(){return i["components"]}))},415:function(t,n,e){"use strict";var i;e.r(n),e.d(n,"render",(function(){return a})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return o})),e.d(n,"components",(function(){return i}));try{i={uIcon:function(){return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null,579))},qiunDataCharts:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(e.bind(null,695))},uCalendar:function(){return e.e("uview-ui/components/u-calendar/u-calendar").then(e.bind(null,555))},uBackTop:function(){return e.e("uview-ui/components/u-back-top/u-back-top").then(e.bind(null,706))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var a=function(){var t=this,n=t.$createElement;t._self._c},o=!1,r=[];a._withStripped=!0},416:function(t,n,e){"use strict";e.r(n);var i=e(417),a=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},417:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;getApp(),e(67),e(11);var i={data:function(){return{scrollTop:0,activeTotal:2,timeobj:{statDateStart:"",statDateEnd:""},buildingID:"",totalTimeShow:!1,activeTab:0,numlist:[],objlist:[],Afolding:!0}},onPageScroll:function(t){this.scrollTop=t.scrollTop},onLoad:function(){this.buildingID=t.getStorageSync("buildingID").id,this.gitinit()},methods:{anclick:function(t){console.log(t),this.Afolding=!this.Afolding,this.numlist.forEach((function(t,n){t.isshow=n<6||!t.isshow})),this.$forceUpdate()},gitinit:function(){var t=this;this.objlist=[],this.numlist=[];var n="";n=3==this.activeTotal?null:this.activeTotal;var e={dateType:n,statDateStart:this.timeobj.statDateStart,statDateEnd:this.timeobj.statDateEnd,houseId:this.buildingID};this.$u.post("/matchKeywords/findmatchdata",e).then((function(n){t.numlist.push({name:"客户数量",num:n.total}),n.list.forEach((function(n,e){t.numlist.push({name:n.name,num:n.total}),n.activeTab=0,n.opts={title:{name:n.total,color:"#666666",fontSize:20},subtitle:{name:"总触达次数",color:"#32363D",fontSize:12,offsetY:4}},n.chartData={categories:[],series:[{data:[]}]},n.matchKeywords.forEach((function(t){n.chartData.series[0].data.push({name:t.name,value:t.proportion})}))})),n.list.forEach((function(t){t.matchKeywords.forEach((function(n){"意向面积"==t.name&&(n.name=n.name+"m²-"+n.endName+"m²"),"购房预算"==t.name&&(n.name=n.name+"万-"+n.endName+"万")}))})),t.objlist=n.list,t.Afolding=!0,t.numlist.forEach((function(t,n){t.isshow=n<6}))}))},Toview:function(n,e){t.navigateTo({url:"/pages/center/Piabodata/Customerportrait/Receivingrecords?datatype="+this.activeTotal+"&keywordsId="+n.matchKeywords[e].keywordsId+"&starttime="+this.timeobj.statDateStart+"&endoftime="+this.timeobj.statDateEnd})},tabtimetap:function(t){3==t?this.totalTimeShow=!0:(this.activeTotal=t,this.gitinit())},totalTimeChange:function(t){this.timeobj.statDateStart=t.startDate,this.timeobj.statDateEnd=t.endDate,this.activeTotal=3,this.gitinit()},charttoswitch:function(t,n){this.objlist[t].activeTab=n}}};n.default=i}).call(this,e(1)["default"])},418:function(t,n,e){"use strict";e.r(n);var i=e(419),a=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},419:function(t,n,e){}},[[412,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/center/Piabodata/Userinsightinto.js.map
|