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-116a.6c7acbc5.js

1 line
16 KiB

3 years ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-116a"],{"1q41":function(e,t,s){},"31UX":function(e,t,s){"use strict";var a=s("QbLZ"),i=s.n(a),n=s("4d7F"),l=s.n(n),o=s("CMIa"),u=s("ehos"),r=s("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(u.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,s){return new l.a(function(a,n){e(i()({},t,{excel_types:s,excel_type:1})).then(function(e){Object(r.c)(e),a&&a(e)}).catch(function(e){n&&n(e)})})}},deactivated:function(){}}},"74lk":function(e,t,s){"use strict";s.d(t,"a",function(){return i}),s.d(t,"b",function(){return n}),s.d(t,"d",function(){return l}),s.d(t,"e",function(){return o}),s.d(t,"c",function(){return u});var a=s("t3Un");function i(e){return Object(a.a)({url:"bi/achievement/statistics",method:"post",data:e})}function n(e){return Object(a.a)({url:"bi/achievement/excelExport",method:"post",data:e,responseType:"blob"})}function l(e){return Object(a.a)({url:"bi/product/statistics",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(e){return Object(a.a)({url:"bi/product/excelExport",method:"post",data:e,responseType:"blob",headers:{"Content-Type":"application/json;charset=UTF-8"}})}function u(e){return Object(a.a)({url:"bi/business/funnel",method:"post",data:e,headers:{"Content-Type":"application/json;charset=UTF-8"}})}},"77fj":function(e,t,s){"use strict";var a=s("Btlj");s.n(a).a},"9kPm":function(e,t,s){"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,s=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,a){if(e[t]===a[t])return 0;var i=isNaN(Number(e[t]))||isNaN(Number(a[t]))?e[t]<a[t]:Number(e[t])<Number(a[t]);return"descending"===s?i?1:-1:i?-1:1})}}}},Btlj:function(e,t,s){},CMIa:function(e,t,s){"use strict";var a=s("QbLZ"),i=s.n(a),n=s("KTTK"),l=s("ERJp"),o=s("6iAj"),u=s("UCfG"),r=s("HHBN"),c=s("ZX9L"),h=s("wd/R"),p=s.n(h),d=s("L2JU"),f={name:"FiltrateHandleView",components:{TimeTypeSelect:c.a,XhStructureCell:u.a,XhUserCell:r.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:[],userSelectValue:[],businessOptions:[],businessStatusValue:"",productValue:[],productOptions:[],