require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/statisticalFrom/customerAddRank/customerAddRank"],{"55d3":function(t,a,e){"use strict";e.r(a);var n=e("ee29"),r=e.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(i);a["default"]=r.a},"7dfc":function(t,a,e){"use strict";e.r(a);var n=e("806b"),r=e("55d3");for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(a,t,(function(){return r[t]}))}(i);e("f71a");var o=e("f0c5"),c=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"3dab62ee",null,!1,n["a"],void 0);a["default"]=c.exports},"806b":function(t,a,e){"use strict";e.d(a,"b",(function(){return r})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){return n}));var n={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,"2e67"))}},r=function(){var t=this.$createElement;this._self._c},i=[]},ee29:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("0c59"),r=e("dc92"),i={data:function(){return{BASE_IMG_URL:n.BASE_IMG_URL,typeList:["本人及下属","仅本人","仅下属"],typeIndex:0,arrList:["按年","按月"],arrIndex:0,dataMonth:"",dataYear:"",chartData:{},twoChart:{color:["#B81BCF","#1B67CF"],enableScroll:!0,xAxis:{type:"grid",gridType:"dash",itemCount:3,scrollShow:!0,scrollAlign:"left",scrollBackgroundColor:"#F7F7FF",scrollColor:"#DEE7F7"}},list:[]}},created:function(){var t=new Date,a=t.getFullYear(),e=t.getMonth()+1;this.dataYear=a,this.dataMonth=a+"-"+e,this.getData()},methods:{changeYeay:function(t){this.dataYear=t.detail.value,this.getData()},changeMonth:function(t){this.dataMonth=t.detail.value,this.getData()},changeArr:function(t){this.arrIndex=t.detail.value,this.getData()},changeDataType:function(t){this.typeIndex=t.detail.value,this.getData()},getData:function(){var t=this,a={date:0==this.arrIndex?this.dataYear:this.dataMonth,type:this.typeIndex};(0,r.netCustomerARank)(a).then((function(a){t.list=a.data.ranking,t.handleData(a.data.data)}))},handleData:function(t){t.reverse();var a=[],e=[];t.forEach((function(t,n){a.push(t.name),e.push(t.number)})),this.chartData={categories:a,series:[{name:"新增量",data:e}]}}}};a.default=i},f71a:function(t,a,e){"use strict";var n=e("f7c4"),r=e.n(n);r.a},f7c4:function(t,a,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pagesA/crm/statisticalFrom/customerAddRank/customerAddRank-create-component',
    {
        'pagesA/crm/statisticalFrom/customerAddRank/customerAddRank-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("7dfc"))
        })
    },
    [['pagesA/crm/statisticalFrom/customerAddRank/customerAddRank-create-component']]
]);
