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.
 
 
 

2 lines
4.2 KiB

  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/center/Piabodata/Userinsightinto"],{116:function(t,n,e){"use strict";e.r(n);var i=e(117),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},117:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;getApp(),e(6),e(4);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(t){0==t.isInterval?t.name=t.name+t.unit+"-"+t.endName+t.unit:t.name=t.name}))})),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(0)["default"])},118:function(t,n,e){},199:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));try{i={uIcon:function(){return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null,584))},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,589))},uCalendar:function(){return e.e("uview-ui/components/u-calendar/u-calendar").then(e.bind(null,583))},uBackTop:function(){return e.e("uview-ui/components/u-back-top/u-back-top").then(e.bind(null,591))}}}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=[];a._withStripped=!0},381:function(t,n,e){"use strict";(function(t){e(3);i(e(2));var n=i(e(382));function i(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e(0)["createPage"])},382:function(t,n,e){"use strict";e.r(n);var i=e(199),a=e(116);for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e(383);var s,c=e(1),u=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"d84d0888",null,!1,i["a"],s);u.options.__file="pages/center/Piabodata/Userinsightinto.vue",n["default"]=u.exports},383:function(t,n,e){"use strict";var i=e(118),a=e.n(i);a.a}},[[381,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/center/Piabodata/Userinsightinto.js.map