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.
wkcrm/static/js/chunk-32da.05bfc930.js

1 line
21 KiB

3 years ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-32da"],{"0U68":function(e,t,a){"use strict";var i=a("7bm+");a.n(i).a},"1q41":function(e,t,a){},"31UX":function(e,t,a){"use strict";var i=a("QbLZ"),s=a.n(i),n=a("4d7F"),l=a.n(n),o=a("CMIa"),r=a("ehos"),c=a("7Qib");t.a={data:function(){return{chartObj:null,chartOtherObj:null,chartColors:["#6CA2FF","#6AC9D7","#72DCA2","#48E78D","#FECD51","#DBB375","#FF7474","#F59561","#A3AEBC","#4C84FF","#0DBEB4","#00DEDE","#FFAA00","#C7C116","#F7A57C","#F661AC","#8652EE"],chartXAxisStyle:{axisTick:{alignWithLabel:!0,lineStyle:{width:0}},axisLabel:{color:"#333"},axisLine:{lineStyle:{color:"#333"}},splitLine:{show:!1}},chartYAxisStyle:{axisTick:{alignWithLabel:!0,lineStyle:{width:0}},axisLabel:{color:"#333"},axisLine:{lineStyle:{color:"#333"}},splitLine:{show:!1}},currentPage:1,pageSizes:[15,30,45,60],pageSize:0,total:0,toolbox:{showTitle:!1,feature:{saveAsImage:{show:!0,pixelRatio:2}}}}},components:{FiltrateHandleView:o.a},props:{},computed:{},watch:{},mounted:function(){var e=this;this.debouncedResize=Object(r.debounce)(300,this.resizeFn),this.$nextTick(function(){window.addEventListener("resize",e.debouncedResize)})},beforeDestroy:function(){window.removeEventListener("resize",this.debouncedResize)},methods:{resizeFn:function(){this.chartObj&&this.chartObj.resize(),this.chartOtherObj&&this.chartOtherObj.resize()},handleSizeChange:function(e){this.pageData.limit=e,this.getList(this.pageData)},handleCurrentChange:function(e){this.pageData.page=e,this.getList(this.pageData)},requestExportInfo:function(e,t,a){return new l.a(function(i,n){e(s()({},t,{excel_types:a,excel_type:1})).then(function(e){Object(c.c)(e),i&&i(e)}).catch(function(e){n&&n(e)})})}},deactivated:function(){}}},"74lk":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return n}),a.d(t,"d",function(){return l}),a.d(t,"e",function(){return o}),a.d(t,"c",function(){return r});var i=a("t3Un");function s(e){return Object(i.a)({url:"bi/achievement/statistics",method:"post",data:e})}function n(e){return Object(i.a)({url:"bi/achievement/excelExport",method:"post",data:e,responseType:"blob"})}function l(e){return Object(i.a)({url:"bi/product/statistics",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(i.a)({url:"bi/product/excelExport",method:"post",data:e,responseType:"blob",headers:{"Content-Type":"application/json;charset=UTF-8"}})}function r(e){return Object(i.a)({url:"bi/business/funnel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}},"77fj":function(e,t,a){"use strict";var i=a("Btlj");a.n(i).a},"7bm+":function(e,t,a){},"9kPm":function(e,t,a){"use strict";t.a={data:function(){return{showTable:!0}},methods:{mixinSortFn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if("[object Array]"!==Object.prototype.toString.call(e))return[];if(!t)return e;e.sort(function(e,i){if(e[t]===i[t])return 0;var s=isNaN(Number(e[t]))||isNaN(Number(i[t]))?e[t]<i[t]:Number(e[t])<Number(i[t]);return"descending"===a?s?1:-1:s?-1:1})}}}},Btlj:function(e,t,a){},CMIa:function(e,t,a){"use strict";var i=a("QbLZ"),s=a.n(i),n=a("KTTK"),l=a("ERJp"),o=a("6iAj"),r=a("UCfG"),c=a("HHBN"),u=a("ZX9L"),h=a("wd/R"),d=a.n(h),p=a("L2JU"),f={name:"FiltrateHandleView",components:{TimeTypeSelect:u.a,XhStructureCell:r.a,XhUserCell:c.a},props:{moduleType:{type:String},title:{type:String,default:""},showFilterView:{default:!0,type:Boolean},showYearSelect:{default:!1,type:Boolean},showBusinessSelect:{default:!1,type:Boolean},showUserSelect:{default:!0,type:Boolean},showCustomSelect:{default:!1,type:Boolean},customDefault:"",customOptions:{default:function(){return[]},type:Array},showProductSelect:{default:!1,type:Boolean}},data:function(){return{pickerOptions:{disabledDate:function(e){return e.getTime()>Date.now()}},yearValue:"",timeTypeValue:{},dataSelect:1,structuresSelectValue:[],userSele