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-3760.ed5eb105.js

1 line
40 KiB

4 years ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3760"],{"31UX":function(t,e,i){"use strict";var s=i("QbLZ"),a=i.n(s),n=i("4d7F"),o=i.n(n),l=i("CMIa"),c=i("ehos"),r=i("7Qib");e.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:l.a},props:{},computed:{},watch:{},mounted:function(){var t=this;this.debouncedResize=Object(c.debounce)(300,this.resizeFn),this.$nextTick(function(){window.addEventListener("resize",t.debouncedResize)})},beforeDestroy:function(){window.removeEventListener("resize",this.debouncedResize)},methods:{resizeFn:function(){this.chartObj&&this.chartObj.resize(),this.chartOtherObj&&this.chartOtherObj.resize()},handleSizeChange:function(t){this.pageData.limit=t,this.getList(this.pageData)},handleCurrentChange:function(t){this.pageData.page=t,this.getList(this.pageData)},requestExportInfo:function(t,e,i){return new o.a(function(s,n){t(a()({},e,{excel_types:i,excel_type:1})).then(function(t){Object(r.c)(t),s&&s(t)}).catch(function(t){n&&n(t)})})}},deactivated:function(){}}},"74lk":function(t,e,i){"use strict";i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n}),i.d(e,"d",function(){return o}),i.d(e,"e",function(){return l}),i.d(e,"c",function(){return c});var s=i("t3Un");function a(t){return Object(s.a)({url:"bi/achievement/statistics",method:"post",data:t})}function n(t){return Object(s.a)({url:"bi/achievement/excelExport",method:"post",data:t,responseType:"blob"})}function o(t){return Object(s.a)({url:"bi/product/statistics",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function l(t){return Object(s.a)({url:"bi/product/excelExport",method:"post",data:t,responseType:"blob",headers:{"Content-Type":"application/json;charset=UTF-8"}})}function c(t){return Object(s.a)({url:"bi/business/funnel",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}},"77fj":function(t,e,i){"use strict";var s=i("Btlj");i.n(s).a},"9/X1":function(t,e,i){"use strict";var s=i("gQl/");i.n(s).a},Btlj:function(t,e,i){},BzA1:function(t,e,i){"use strict";var s=i("a/5N"),a={name:"ImportInfo",components:{},props:{list:Array},data:function(){return{}},computed:{showList:function(){return this.list.filter(function(t){return"file"!==t.form_type})}},watch:{},mounted:function(){},beforeDestroy:function(){},methods:{getValueContent:function(t){if("map_address"===t.form_type)return t.value?t.value.detail_address:"";if("structure"===t.form_type||"user"===t.form_type||"checkbox"===t.form_type){if(Object(s.a)(t.value)){var e={structure:"name",user:"realname",checkbox:""}[t.form_type];return t.value.map(function(t){return e?t[e]:t}).join("")}return""}if("single_user"===t.form_type)return Object(s.c)(t.value)&&t.value.realname?t.value.realname:"";if("customer"===t.form_type||"business"===t.form_type||"contract"===t.form_type||"contacts"===t.form_type||"category"===t.form_type||"statusName"===t.form_type||"typeName"===t.form_type){var i={customer:"name",business:"name",contract:"name",contacts:"name",category:"name",statusName:"name",typeName:"name"}[t.form_type];return Object(s.a)(t.value)?t.value.length>0?t.value[0][i]:"":t.value?t.value[i]:""}return t.value}}},n=(i("m7P8"),i("KHd+")),o=Object(n.a)(a,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"content"},[i("div",{staticClass:"content-title"},[t._v("基本信息")]),t._v(" "),t._l(t.showList,function(e,s){return i("p",{key:s,staticClass:"detai