chunk-db48025c.6a907d82.js 31 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-db48025c"],{"08c8":function(t,e,i){},"0b1b":function(t,e,i){t.exports=i.p+"img/zactivity.51ffb58d.png"},1615:function(t,e,i){t.exports=i.p+"img/zcallicon.9ad3f6ca.png"},"196b":function(t,e,i){"use strict";i("08c8")},2127:function(t,e,i){"use strict";i("e002")},2532:function(t,e,i){"use strict";var s=i("23e7"),a=i("e330"),n=i("5a34"),r=i("1d80"),o=i("577e"),c=i("ab13"),u=a("".indexOf);s({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})},"25e0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAZKADAAQAAAABAAAAZAAAAAAvu95BAAAMt0lEQVR4Ae1dfYwUZxl/Zmbvdikc5aNyR8NxWIxHNbU0CETbphYIBVJFQ9LIHyUhxY+YYLSNLWpi1MQE0VAjmvhHW+OVtP6DqX/wUcLRNKWJR21r1MQuSIGCcLSB0jvgdvd25vX3vOxuZ/dmdj72ndnZu32TzczOvO/zPu/vN/O+8349j0YJD+IQzSkK6i8S9ZNF/ZpG/UJQN45dUL1L4KcJeU5Co1GNaBTXRxFnFHEu4ZglnbIpwk+jrLaOriS5yNA/WUEcptsLJq0iQasA9oMAdJFKDUHSGRT6FdLoaKdBR7W1dEGl/EZlJYKQ3EH51G+BMptAQH+jhQqSHgRlQfw+HAcy6/E2NTk0jRBxhObmC7QZBDwKDFY0GYdy9sdBzPPpTnpRW0OXyxfjPMZOiDhAC/JET6JK2oYnc1qchfWbF0AZQ5X2TJpol7aBzvtNpyJebITkDtBiFHIHGuYtIKJThfJRywA4BXwQDODh2ZnZQK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yHWSR2VsgNH6oP6nGJbAhHAi9j5m6PRwmxRGozpIMoBNGA9tLAkfAOEDu88zx+kgJITYCxA+3wSnHOY3IywZXK6GCGEBbderjAKATILrVVaE60lMQ7I9jKn8STzEGIRpMxhDewjVhtgF8Dl/SWS66X48Jb+pvTfZ/3OZZdkVeIqWWKoGrO3gvjFEG25DnLKXA5JwgBXpKLFTxjFdw1sxCCP6j/kZmwqqUiSElJWQTsUE7Vbvx6qcQ8xHTC7xfEY9p16NahQpIawcOxcr+bParnKOvtGCB0kPkHgOfA/P9NWbXAoi0y1u5ISUM5YLJ9jNj0VbQEx96wDlRE0+ApwCus4DeMN3us2Bq1YxNkLKikuXSvDig0JuAzE+jZOUU8dzBChjeCOekWvUNtD5eHK9mUvshJQLJ735wJkJSNkCcpJhD0OjNwDIgFxSu4Yul3WN89g0QuyFzL9MS+D8+FEosynuTUP4YuL1Z/twHLCvQrfrF+d5IgixF5i9BEjD9DB/XjKB3me/r+D8rNzkij19vI2svHNJgVwlIhJHSG2p2Pw2W3zGSq5+tjGMJ7kfT3QPFGfjnWwNr4stsXE6tjeF62xMh01OXcP5MN64LBrmLFYEYg84to5h6zHHTWr4P5ulqYoix3ABAAAAAElFTkSuQmCC"},"44fb":function(t,e,i){t.exports=i.p+"img/zgoutong.56a602f3.png"},"4f8e":function(t,e,i){"use strict";i.d(e,"j",(function(){return a})),i.d(e,"B",(function(){return n})),i.d(e,"C",(function(){return r})),i.d(e,"A",(function(){return o})),i.d(e,"z",(function(){return c})),i.d(e,"F",(function(){return u})),i.d(e,"G",(function(){return l})),i.d(e,"E",(function(){return d})),i.d(e,"D",(function(){return f})),i.d(e,"k",(function(){return m})),i.d(e,"n",(function(){return h})),i.d(e,"o",(function(){return p})),i.d(e,"m",(function(){return v})),i.d(e,"p",(function(){return b})),i.d(e,"l",(function(){return g})),i.d(e,"L",(function(){return x})),i.d(e,"b",(function(){return w})),i.d(e,"e",(function(){return j})),i.d(e,"d",(function(){return _})),i.d(e,"c",(function(){return y})),i.d(e,"i",(function(){return O})),i.d(e,"h",(function(){return A})),i.d(e,"g",(function(){return C})),i.d(e,"f",(function(){return S})),i.d(e,"a",(function(){return D})),i.d(e,"H",(function(){return M})),i.d(e,"K",(function(){return T})),i.d(e,"J",(function(){return E})),i.d(e,"I",(function(){return F})),i.d(e,"q",(function(){return Y})),i.d(e,"t",(function(){return q})),i.d(e,"s",(function(){return k})),i.d(e,"r",(function(){return I})),i.d(e,"y",(function(){return z})),i.d(e,"x",(function(){return L})),i.d(e,"w",(function(){return N})),i.d(e,"v",(function(){return Z})),i.d(e,"u",(function(){return $}));var s=i("b775");function a(t){return Object(s["a"])({url:"/api/crm_statistics/index",method:"post",data:t})}function n(t){return Object(s["a"])({url:"/api/crm_statistics/measure_house_index",method:"post",data:t})}function r(t){return Object(s["a"])({url:"/api/crm_statistics/measure_house_org",method:"post",data:t})}function o(t){return Object(s["a"])({url:"/api/crm_statistics/measure_house_employee",method:"post",data:t})}function c(t){return Object(s["a"])({url:"/api/crm_statistics/measure_house_empcus",method:"post",data:t})}function u(t){return Object(s["a"])({url:"/api/crm_statistics/sign_index",method:"post",data:t})}function l(t){return Object(s["a"])({url:"/api/crm_statistics/sign_org",method:"post",data:t})}function d(t){return Object(s["a"])({url:"/api/crm_statistics/sign_employee",method:"post",data:t})}function f(t){return Object(s["a"])({url:"/api/crm_statistics/sign_empcus",method:"post",data:t})}function m(t){return Object(s["a"])({url:"/api/crmStatistics/customerDistribution",method:"post",data:t})}function h(t){return Object(s["a"])({url:"/api/crm_statistics/deposit_index",method:"post",data:t})}function p(t){return Object(s["a"])({url:"/api/crm_statistics/deposit_org",method:"post",data:t})}function v(t){return Object(s["a"])({url:"/api/crm_statistics/deposit_employee",method:"post",data:t})}function b(t){return Object(s["a"])({url:"/api/crm_statistics/depsignmea_empcus",method:"post",data:t})}function g(t){return Object(s["a"])({url:"/api/crmStatistics/customerDistributionList",method:"post",data:t})}function x(t){return Object(s["a"])({url:"/api/crmStatistics/weChatStatistics",method:"post",data:t})}function w(t){return Object(s["a"])({url:"/api/crm_statistics/arrival",method:"post",data:t})}function j(t){return Object(s["a"])({url:"/api/crm_statistics/arrivalOrg",method:"post",data:t})}function _(t){return Object(s["a"])({url:"/api/crm_statistics/arrivalEmployee",method:"post",data:t})}function y(t){return Object(s["a"])({url:"/api/crm_statistics/arrivalCustomer",method:"post",data:t})}function O(t){return Object(s["a"])({url:"/api/crm_statistics/call",method:"post",data:t})}function A(t){return Object(s["a"])({url:"/api/crm_statistics/callOrg",method:"post",data:t})}function C(t){return Object(s["a"])({url:"/api/crm_statistics/callEmployee",method:"post",data:t})}function S(t){return Object(s["a"])({url:"/api/crm_statistics/callCustomer",method:"post",data:t})}function D(t){return Object(s["a"])({url:"/api/crm_statistics/activity",method:"post",data:t})}function M(t){return Object(s["a"])({url:"/api/crm_statistics/subscribeActivity",method:"post",data:t})}function T(t){return Object(s["a"])({url:"/api/crm_statistics/subscribeActivityOrg",method:"post",data:t})}function E(t){return Object(s["a"])({url:"/api/crm_statistics/subscribeActivityEmployee",method:"post",data:t})}function F(t){return Object(s["a"])({url:"/api/crm_statistics/subscribeActivityCustomer",method:"post",data:t})}function Y(t){return Object(s["a"])({url:"/api/crm_statistics/followUpTimes",method:"post",data:t})}function q(t){return Object(s["a"])({url:"/api/crm_statistics/followUpTimesOrg",method:"post",data:t})}function k(t){return Object(s["a"])({url:"/api/crm_statistics/followUpTimesEmployee",method:"post",data:t})}function I(t){return Object(s["a"])({url:"/api/crm_statistics/followUpTimesCustomer",method:"post",data:t})}function z(t){return Object(s["a"])({url:"/api/crm_statistics/maika_org",method:"post",data:t})}function L(t){return Object(s["a"])({url:"/api/crm_statistics/maika_index",method:"post",data:t})}function N(t){return Object(s["a"])({url:"/api/crm_statistics/maika_employee",method:"post",data:t})}function Z(t){return Object(s["a"])({url:"/api/crm_statistics/maika_customer",method:"post",data:t})}function $(t){return Object(s["a"])({url:"/api/crm_statistics/getSetting",method:"post",data:t})}},"5a0c":function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){"use strict";var t=1e3,e=6e4,i=36e5,s="millisecond",a="second",n="minute",r="hour",o="day",c="week",u="month",l="quarter",d="year",f="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},b=function(t,e,i){var s=String(t);return!s||s.length>=e?t:""+Array(e+1-s.length).join(i)+t},g={s:b,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),s=Math.floor(i/60),a=i%60;return(e<=0?"+":"-")+b(s,2,"0")+":"+b(a,2,"0")},m:function t(e,i){if(e.date()<i.date())return-t(i,e);var s=12*(i.year()-e.year())+(i.month()-e.month()),a=e.clone().add(s,u),n=i-a<0,r=e.clone().add(s+(n?-1:1),u);return+(-(s+(i-a)/(n?a-r:r-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:c,d:o,D:f,h:r,m:n,s:a,ms:s,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",w={};w[x]=v;var j=function(t){return t instanceof A},_=function(t,e,i){var s;if(!t)return x;if("string"==typeof t)w[t]&&(s=t),e&&(w[t]=e,s=t);else{var a=t.name;w[a]=t,s=a}return!i&&s&&(x=s),s||!i&&x},y=function(t,e){if(j(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new A(i)},O=g;O.l=_,O.i=j,O.w=function(t,e){return y(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var A=function(){function v(t){this.$L=_(t.locale,null,!0),this.parse(t)}var b=v.prototype;return b.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var s=e.match(h);if(s){var a=s[2]-1||0,n=(s[7]||"0").substring(0,3);return i?new Date(Date.UTC(s[1],a,s[3]||1,s[4]||0,s[5]||0,s[6]||0,n)):new Date(s[1],a,s[3]||1,s[4]||0,s[5]||0,s[6]||0,n)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},b.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},b.$utils=function(){return O},b.isValid=function(){return!(this.$d.toString()===m)},b.isSame=function(t,e){var i=y(t);return this.startOf(e)<=i&&i<=this.endOf(e)},b.isAfter=function(t,e){return y(t)<this.startOf(e)},b.isBefore=function(t,e){return this.endOf(e)<y(t)},b.$g=function(t,e,i){return O.u(t)?this[e]:this.set(i,t)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(t,e){var i=this,s=!!O.u(e)||e,l=O.p(t),m=function(t,e){var a=O.w(i.$u?Date.UTC(i.$y,e,t):new Date(i.$y,e,t),i);return s?a:a.endOf(o)},h=function(t,e){return O.w(i.toDate()[t].apply(i.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(e)),i)},p=this.$W,v=this.$M,b=this.$D,g="set"+(this.$u?"UTC":"");switch(l){case d:return s?m(1,0):m(31,11);case u:return s?m(1,v):m(0,v+1);case c:var x=this.$locale().weekStart||0,w=(p<x?p+7:p)-x;return m(s?b-w:b+(6-w),v);case o:case f:return h(g+"Hours",0);case r:return h(g+"Minutes",1);case n:return h(g+"Seconds",2);case a:return h(g+"Milliseconds",3);default:return this.clone()}},b.endOf=function(t){return this.startOf(t,!1)},b.$set=function(t,e){var i,c=O.p(t),l="set"+(this.$u?"UTC":""),m=(i={},i[o]=l+"Date",i[f]=l+"Date",i[u]=l+"Month",i[d]=l+"FullYear",i[r]=l+"Hours",i[n]=l+"Minutes",i[a]=l+"Seconds",i[s]=l+"Milliseconds",i)[c],h=c===o?this.$D+(e-this.$W):e;if(c===u||c===d){var p=this.clone().set(f,1);p.$d[m](h),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else m&&this.$d[m](h);return this.init(),this},b.set=function(t,e){return this.clone().$set(t,e)},b.get=function(t){return this[O.p(t)]()},b.add=function(s,l){var f,m=this;s=Number(s);var h=O.p(l),p=function(t){var e=y(m);return O.w(e.date(e.date()+Math.round(t*s)),m)};if(h===u)return this.set(u,this.$M+s);if(h===d)return this.set(d,this.$y+s);if(h===o)return p(1);if(h===c)return p(7);var v=(f={},f[n]=e,f[r]=i,f[a]=t,f)[h]||1,b=this.$d.getTime()+s*v;return O.w(b,this)},b.subtract=function(t,e){return this.add(-1*t,e)},b.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return i.invalidDate||m;var s=t||"YYYY-MM-DDTHH:mm:ssZ",a=O.z(this),n=this.$H,r=this.$m,o=this.$M,c=i.weekdays,u=i.months,l=function(t,i,a,n){return t&&(t[i]||t(e,s))||a[i].substr(0,n)},d=function(t){return O.s(n%12||12,t,"0")},f=i.meridiem||function(t,e,i){var s=t<12?"AM":"PM";return i?s.toLowerCase():s},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:O.s(o+1,2,"0"),MMM:l(i.monthsShort,o,u,3),MMMM:l(u,o),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:l(i.weekdaysMin,this.$W,c,2),ddd:l(i.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(n),HH:O.s(n,2,"0"),h:d(1),hh:d(2),a:f(n,r,!0),A:f(n,r,!1),m:String(r),mm:O.s(r,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:a};return s.replace(p,(function(t,e){return e||h[t]||a.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(s,f,m){var h,p=O.p(f),v=y(s),b=(v.utcOffset()-this.utcOffset())*e,g=this-v,x=O.m(this,v);return x=(h={},h[d]=x/12,h[u]=x,h[l]=x/3,h[c]=(g-b)/6048e5,h[o]=(g-b)/864e5,h[r]=g/i,h[n]=g/e,h[a]=g/t,h)[p]||g,m?x:O.a(x)},b.daysInMonth=function(){return this.endOf(u).$D},b.$locale=function(){return w[this.$L]},b.locale=function(t,e){if(!t)return this.$L;var i=this.clone(),s=_(t,e,!0);return s&&(i.$L=s),i},b.clone=function(){return O.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},v}(),C=A.prototype;return y.prototype=C,[["$ms",s],["$s",a],["$m",n],["$H",r],["$W",o],["$M",u],["$y",d],["$D",f]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),y.extend=function(t,e){return t.$i||(t(e,A,y),t.$i=!0),y},y.locale=_,y.isDayjs=j,y.unix=function(t){return y(1e3*t)},y.en=w[x],y.Ls=w,y.p={},y}))},"5a34":function(t,e,i){var s=i("da84"),a=i("44e7"),n=s.TypeError;t.exports=function(t){if(a(t))throw n("The method doesn't accept regular expressions");return t}},"7c7e":function(t,e,i){t.exports=i.p+"img/zqdicon.cc8e06f8.png"},"97b2":function(t,e,i){t.exports=i.p+"img/zassign.b9bba6b4.png"},9970:function(t,e,i){t.exports=i.p+"img/zsign.3313a5ab.png"},"9bbb":function(t,e,i){t.exports=i.p+"img/zwechaticon.08405ad9.png"},ab13:function(t,e,i){var s=i("b622"),a=s("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[a]=!1,"/./"[t](e)}catch(s){}}return!1}},ac67:function(t,e,i){"use strict";i.r(e);var s,a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"xq-statistics-page"},[s("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[s("div",{staticClass:"xq-header-box"},[s("statisticstop",{attrs:{orgName:t.totalObj.org_name,type:t.activeIndex},on:{switchDate:t.switchDate}})],1),s("div",{staticClass:"xq-statistics-content"},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("valid"),expression:"isShowModule('valid')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(1)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("97b2"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("线索有效数")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.customer_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("call"),expression:"isShowModule('call')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(2)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("1615"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("打电话次数")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.call_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("jiav"),expression:"isShowModule('jiav')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(3)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("9bbb"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("加微统计")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.jiav_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("contact"),expression:"isShowModule('contact')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(4)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("44fb"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("沟通跟进次数")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.contact_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("subscribe"),expression:"isShowModule('subscribe')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(5)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("0b1b"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("预约活动数量")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.hd_subscribe_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("measure_room"),expression:"isShowModule('measure_room')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(6)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("daca"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("量房验房数量")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.lf_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("arrival"),expression:"isShowModule('arrival')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(7)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("fa60"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("到店数量")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("span",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.dd_count))]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("deposit"),expression:"isShowModule('deposit')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(8)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("7c7e"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("定金数量及金额")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("div",{staticClass:"mr10 flex-column align-end"},[s("div",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.jd_count))]),s("div",{staticClass:"font28 color2476FE mt10"},[s("span",{staticClass:"font32 fontw700"},[t._v(t._s(t.totalObj.jd_money))]),s("span",{staticClass:"font24 ml5"},[t._v("元")])])]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("signed"),expression:"isShowModule('signed')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(9)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("9970"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("合同数量及金额")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("div",{staticClass:"mr10 flex-column align-end"},[s("div",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.qd_count))]),s("div",{staticClass:"font28 color2476FE mt10"},[s("span",{staticClass:"font32 fontw700"},[t._v(t._s(t.totalObj.qd_money))]),s("span",{staticClass:"font24 ml5"},[t._v("元")])])]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowModule("maika"),expression:"isShowModule('maika')"}],staticClass:"xq-statistics-item flex",on:{click:function(e){return t.jumpTotalPage(10)}}},[s("div",{staticClass:"flex-sub flex align-center"},[s("div",{staticClass:"xq-avatar-box"},[s("img",{attrs:{src:i("25e0"),width:"100%",height:"100%",alt:""}})]),s("div",{staticClass:"xq-statistics-name font28 ml20"},[t._v("无忧统计")])]),s("div",{staticClass:"flex-sub flex align-center justify-end"},[s("div",{staticClass:"mr10 flex-column align-end"},[s("div",{staticClass:"font32 fontw700 color2476FE"},[t._v(t._s(t.totalObj.mk_count))])]),s("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)])])]),s("van-calendar",{attrs:{"allow-same-day":"","min-date":t.minDate,"max-date":t.maxDate,type:"range",color:"#249EFB"},on:{confirm:t.onConfirm,opened:t.calendarOpened},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}}),s("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},n=[],r=i("d0afc"),o=i("f3f3"),c=i("fc11"),u=(i("6d73"),i("473d")),l=(i("b0c0"),i("caad"),i("2532"),i("d3b7"),i("159b"),i("b64b"),i("4f8e")),d=i("5a0c"),f=i.n(d),m=i("8d6b"),h=i("5880"),p=i("d0af"),v={components:(s={},Object(c["a"])(s,u["a"].name,u["a"]),Object(c["a"])(s,"MescrollVue",m["a"]),Object(c["a"])(s,"statisticstop",p["a"]),s),data:function(){return{showCalendar:!1,loadFlag:!1,activeIndex:"0",scrollPosition:0,minDate:new Date(2018,0,1),maxDate:new Date,moduleArr:[],totalObj:{},filterObj:{start_time:"",end_time:""},tab:[{name:"今日",type:"0"},{name:"近一周",type:"1"},{name:"近一月",type:"2"},{name:"其他时间",type:"3"}],mescroll:null,mescrollDown:{},mescrollUp:{callback:this.getFuncList,onScroll:this.onScroll,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:0}}},mounted:function(){this.filterObj={start_time:f()(new Date).format("YYYY/MM/DD"),end_time:f()(new Date).format("YYYY/MM/DD")},this.getModuleFun()},activated:function(){var t=sessionStorage.getItem("STATISTICSPOSITION");t&&(this.mescroll.scrollTo(parseInt(t),0),sessionStorage.removeItem("STATISTICSPOSITION"))},methods:Object(o["a"])(Object(o["a"])({},Object(h["mapMutations"])(["setJumpNewPage"])),{},{onScroll:function(t,e,i){this.scrollPosition=e},getModuleFun:function(){var t=this;Object(l["u"])({}).then((function(e){0==e.data.code&&(t.moduleArr=e.data.data)}))},isShowModule:function(t){return this.moduleArr.includes(t)},calendarOpened:function(){var t=document.querySelector(".van-calendar__body").scrollTop;document.querySelector(".van-calendar__body").scrollTop=t-1},switchDate:function(t){switch(this.activeIndex=t.type,t.type){case"0":this.filterObj={start_time:f()(new Date).format("YYYY/MM/DD"),end_time:f()(new Date).format("YYYY/MM/DD")},this.mescroll.resetUpScroll();break;case"-1":this.filterObj={start_time:this.utils.getTragetTime(1,"/"),end_time:this.utils.getTragetTime(1,"/")},this.mescroll.resetUpScroll();break;case"1":this.filterObj={start_time:this.utils.getCurrentWeekFirstDay(),end_time:this.utils.getCurrentWeekLastDay()},this.mescroll.resetUpScroll();break;case"2":this.filterObj={start_time:this.utils.getmonthfirstday(),end_time:this.utils.getmonthlastday()},this.mescroll.resetUpScroll();break;case"3":this.showCalendar=!0;break}},getWeekDate:function(){var t=new Date,e=t.getTime()-5184e5,i=f()(new Date(e)).format("YYYY/MM/DD"),s=f()(t).format("YYYY/MM/DD");return{start_time:i,end_time:s}},getMonthDate:function(){var t=new Date,e=t.getTime()-2592e6,i=f()(new Date(e)).format("YYYY/MM/DD"),s=f()(t).format("YYYY/MM/DD");return{start_time:i,end_time:s}},onConfirm:function(t){var e=Object(r["a"])(t,2),i=e[0],s=e[1];this.filterObj={start_time:f()(i).format("YYYY/MM/DD"),end_time:f()(s).format("YYYY/MM/DD")},this.mescroll.resetUpScroll(),this.showCalendar=!1},jumpTotalPage:function(t){switch(this.setJumpNewPage(!0),sessionStorage.setItem("STATISTICSPOSITION",this.scrollPosition),t){case 1:this.$router.push({path:"/assign",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 2:this.$router.push({path:"/callup",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 3:this.$router.push({path:"/wechat",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 4:this.$router.push({path:"/interact",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 5:this.$router.push({path:"/activity",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 6:this.$router.push({path:"/measure",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 7:this.$router.push({path:"/store",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 8:this.$router.push({path:"/delivery",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 9:this.$router.push({path:"/signed",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break;case 10:this.$router.push({path:"/sellcard",query:{start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,dateType:this.activeIndex}});break}},mescrollInit:function(t){this.mescroll=t},getFuncList:function(t,e){var i=this;i.loadFlag=!0;var s=Object(o["a"])({},this.filterObj);Object.keys(s).forEach((function(t){s[t]||delete s[t]})),Object(l["j"])(s).then((function(s){"0"==s.data.code&&(t.num,i.totalObj=s.data.data,i.$nextTick((function(){e.endSuccess(1)}))),i.loadFlag=!1}))}})},b=v,g=(i("2127"),i("2877")),x=Object(g["a"])(b,a,n,!1,null,"18c24d54",null);e["default"]=x.exports},caad:function(t,e,i){"use strict";var s=i("23e7"),a=i("4d64").includes,n=i("44d2");s({target:"Array",proto:!0},{includes:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")},d0af:function(t,e,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"xq-statistics-header"},[i("div",{staticClass:"xq-header-company flex align-center font26"},[i("span",{staticClass:"ellipsis"},[t._v(t._s(t.orgName))])]),i("div",{staticClass:"xq-header-date flex align-center justify-around"},t._l(t.tab,(function(e){return i("div",{key:e.type,class:{"xq-active":t.type==e.type},on:{click:function(i){return t.switchDate(e)}}},[t._v(t._s(e.name))])})),0)])},a=[],n={name:"statisticstop",props:["orgName","type"],data:function(){return{tab:[{name:"今日",type:"0"},{name:"本周",type:"1"},{name:"本月",type:"2"},{name:"其他时间",type:"3"}]}},methods:{switchDate:function(t){this.$emit("switchDate",t)}}},r=n,o=(i("196b"),i("2877")),c=Object(o["a"])(r,s,a,!1,null,"4feecd16",null);e["a"]=c.exports},daca:function(t,e,i){t.exports=i.p+"img/zmeasure.1c5843f2.png"},e002:function(t,e,i){},fa60:function(t,e,i){t.exports=i.p+"img/zstore.60644c66.png"}}]);