chunk-1fc0e26a.6c806620.js 31 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1fc0e26a","chunk-1a2ba110"],{"08c8":function(t,e,n){},"0afc":function(t,e,n){t.exports=n.p+"img/noneData.919a3c84.png"},"196b":function(t,e,n){"use strict";n("08c8")},"47a3":function(t,e,n){},"4f8e":function(t,e,n){"use strict";n.d(e,"j",(function(){return a})),n.d(e,"B",(function(){return s})),n.d(e,"C",(function(){return r})),n.d(e,"A",(function(){return o})),n.d(e,"z",(function(){return c})),n.d(e,"F",(function(){return u})),n.d(e,"G",(function(){return l})),n.d(e,"E",(function(){return d})),n.d(e,"D",(function(){return f})),n.d(e,"k",(function(){return m})),n.d(e,"n",(function(){return h})),n.d(e,"o",(function(){return p})),n.d(e,"m",(function(){return g})),n.d(e,"p",(function(){return b})),n.d(e,"l",(function(){return v})),n.d(e,"L",(function(){return O})),n.d(e,"b",(function(){return j})),n.d(e,"e",(function(){return y})),n.d(e,"d",(function(){return w})),n.d(e,"c",(function(){return D})),n.d(e,"i",(function(){return x})),n.d(e,"h",(function(){return _})),n.d(e,"g",(function(){return A})),n.d(e,"f",(function(){return C})),n.d(e,"a",(function(){return S})),n.d(e,"H",(function(){return M})),n.d(e,"K",(function(){return Y})),n.d(e,"J",(function(){return k})),n.d(e,"I",(function(){return N})),n.d(e,"q",(function(){return T})),n.d(e,"t",(function(){return E})),n.d(e,"s",(function(){return I})),n.d(e,"r",(function(){return F})),n.d(e,"y",(function(){return $})),n.d(e,"x",(function(){return Z})),n.d(e,"w",(function(){return W})),n.d(e,"v",(function(){return B})),n.d(e,"u",(function(){return R}));var i=n("b775");function a(t){return Object(i["a"])({url:"/api/crm_statistics/index",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/api/crm_statistics/measure_house_index",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/api/crm_statistics/measure_house_org",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/api/crm_statistics/measure_house_employee",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/api/crm_statistics/measure_house_empcus",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/api/crm_statistics/sign_index",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/api/crm_statistics/sign_org",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/api/crm_statistics/sign_employee",method:"post",data:t})}function f(t){return Object(i["a"])({url:"/api/crm_statistics/sign_empcus",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/api/crmStatistics/customerDistribution",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/api/crm_statistics/deposit_index",method:"post",data:t})}function p(t){return Object(i["a"])({url:"/api/crm_statistics/deposit_org",method:"post",data:t})}function g(t){return Object(i["a"])({url:"/api/crm_statistics/deposit_employee",method:"post",data:t})}function b(t){return Object(i["a"])({url:"/api/crm_statistics/depsignmea_empcus",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/api/crmStatistics/customerDistributionList",method:"post",data:t})}function O(t){return Object(i["a"])({url:"/api/crmStatistics/weChatStatistics",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/api/crm_statistics/arrival",method:"post",data:t})}function y(t){return Object(i["a"])({url:"/api/crm_statistics/arrivalOrg",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/api/crm_statistics/arrivalEmployee",method:"post",data:t})}function D(t){return Object(i["a"])({url:"/api/crm_statistics/arrivalCustomer",method:"post",data:t})}function x(t){return Object(i["a"])({url:"/api/crm_statistics/call",method:"post",data:t})}function _(t){return Object(i["a"])({url:"/api/crm_statistics/callOrg",method:"post",data:t})}function A(t){return Object(i["a"])({url:"/api/crm_statistics/callEmployee",method:"post",data:t})}function C(t){return Object(i["a"])({url:"/api/crm_statistics/callCustomer",method:"post",data:t})}function S(t){return Object(i["a"])({url:"/api/crm_statistics/activity",method:"post",data:t})}function M(t){return Object(i["a"])({url:"/api/crm_statistics/subscribeActivity",method:"post",data:t})}function Y(t){return Object(i["a"])({url:"/api/crm_statistics/subscribeActivityOrg",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/api/crm_statistics/subscribeActivityEmployee",method:"post",data:t})}function N(t){return Object(i["a"])({url:"/api/crm_statistics/subscribeActivityCustomer",method:"post",data:t})}function T(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimes",method:"post",data:t})}function E(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimesOrg",method:"post",data:t})}function I(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimesEmployee",method:"post",data:t})}function F(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimesCustomer",method:"post",data:t})}function $(t){return Object(i["a"])({url:"/api/crm_statistics/maika_org",method:"post",data:t})}function Z(t){return Object(i["a"])({url:"/api/crm_statistics/maika_index",method:"post",data:t})}function W(t){return Object(i["a"])({url:"/api/crm_statistics/maika_employee",method:"post",data:t})}function B(t){return Object(i["a"])({url:"/api/crm_statistics/maika_customer",method:"post",data:t})}function R(t){return Object(i["a"])({url:"/api/crm_statistics/getSetting",method:"post",data:t})}},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t=1e3,e=6e4,n=36e5,i="millisecond",a="second",s="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,g={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,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},v={s:b,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+b(i,2,"0")+":"+b(a,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),a=e.clone().add(i,u),s=n-a<0,r=e.clone().add(i+(s?-1:1),u);return+(-(i+(n-a)/(s?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:s,s:a,ms:i,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},O="en",j={};j[O]=g;var y=function(t){return t instanceof _},w=function(t,e,n){var i;if(!t)return O;if("string"==typeof t)j[t]&&(i=t),e&&(j[t]=e,i=t);else{var a=t.name;j[a]=t,i=a}return!n&&i&&(O=i),i||!n&&O},D=function(t,e){if(y(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},x=v;x.l=w,x.i=y,x.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function g(t){this.$L=w(t.locale,null,!0),this.parse(t)}var b=g.prototype;return b.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(h);if(i){var a=i[2]-1||0,s=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}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 x},b.isValid=function(){return!(this.$d.toString()===m)},b.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},b.isAfter=function(t,e){return D(t)<this.startOf(e)},b.isBefore=function(t,e){return this.endOf(e)<D(t)},b.$g=function(t,e,n){return x.u(t)?this[e]:this.set(n,t)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(t,e){var n=this,i=!!x.u(e)||e,l=x.p(t),m=function(t,e){var a=x.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?a:a.endOf(o)},h=function(t,e){return x.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},p=this.$W,g=this.$M,b=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case d:return i?m(1,0):m(31,11);case u:return i?m(1,g):m(0,g+1);case c:var O=this.$locale().weekStart||0,j=(p<O?p+7:p)-O;return m(i?b-j:b+(6-j),g);case o:case f:return h(v+"Hours",0);case r:return h(v+"Minutes",1);case s:return h(v+"Seconds",2);case a:return h(v+"Milliseconds",3);default:return this.clone()}},b.endOf=function(t){return this.startOf(t,!1)},b.$set=function(t,e){var n,c=x.p(t),l="set"+(this.$u?"UTC":""),m=(n={},n[o]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[d]=l+"FullYear",n[r]=l+"Hours",n[s]=l+"Minutes",n[a]=l+"Seconds",n[i]=l+"Milliseconds",n)[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[x.p(t)]()},b.add=function(i,l){var f,m=this;i=Number(i);var h=x.p(l),p=function(t){var e=D(m);return x.w(e.date(e.date()+Math.round(t*i)),m)};if(h===u)return this.set(u,this.$M+i);if(h===d)return this.set(d,this.$y+i);if(h===o)return p(1);if(h===c)return p(7);var g=(f={},f[s]=e,f[r]=n,f[a]=t,f)[h]||1,b=this.$d.getTime()+i*g;return x.w(b,this)},b.subtract=function(t,e){return this.add(-1*t,e)},b.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||m;var i=t||"YYYY-MM-DDTHH:mm:ssZ",a=x.z(this),s=this.$H,r=this.$m,o=this.$M,c=n.weekdays,u=n.months,l=function(t,n,a,s){return t&&(t[n]||t(e,i))||a[n].substr(0,s)},d=function(t){return x.s(s%12||12,t,"0")},f=n.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:x.s(o+1,2,"0"),MMM:l(n.monthsShort,o,u,3),MMMM:l(u,o),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(s),HH:x.s(s,2,"0"),h:d(1),hh:d(2),a:f(s,r,!0),A:f(s,r,!1),m:String(r),mm:x.s(r,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:a};return i.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(i,f,m){var h,p=x.p(f),g=D(i),b=(g.utcOffset()-this.utcOffset())*e,v=this-g,O=x.m(this,g);return O=(h={},h[d]=O/12,h[u]=O,h[l]=O/3,h[c]=(v-b)/6048e5,h[o]=(v-b)/864e5,h[r]=v/n,h[s]=v/e,h[a]=v/t,h)[p]||v,m?O:x.a(O)},b.daysInMonth=function(){return this.endOf(u).$D},b.$locale=function(){return j[this.$L]},b.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=w(t,e,!0);return i&&(n.$L=i),n},b.clone=function(){return x.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()},g}(),A=_.prototype;return D.prototype=A,[["$ms",i],["$s",a],["$m",s],["$H",r],["$W",o],["$M",u],["$y",d],["$D",f]].forEach((function(t){A[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,_,D),t.$i=!0),D},D.locale=w,D.isDayjs=y,D.unix=function(t){return D(1e3*t)},D.en=j[O],D.Ls=j,D.p={},D}))},"97ae":function(t,e,n){"use strict";n.r(e);var i,a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"xq-statistics-page"},[i("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[i("div",{staticClass:"xq-header-box"},[i("statisticstop",{attrs:{orgName:t.totalObj.org_name,type:t.activeIndex},on:{switchDate:t.switchDate}})],1),i("div",{staticClass:"xq-callup-main"},[i("div",{staticClass:"xq-callup-all"},[i("div",{staticClass:"xq-measure-total flex align-center justify-between"},[i("div",{staticClass:"xq-total-left flex align-center"},[i("div",{staticClass:"xq-total-icon"},[i("img",{attrs:{src:n("9970"),width:"100%",height:"100%",alt:""}})]),i("span",{staticClass:"font30 color384855 ml10"},[t._v("合同数量及金额")])]),i("div",{staticClass:"xq-total-right flex align-center justify-end"},[i("span",{staticClass:"color2476FE font32 fontw700"},[t._v(t._s(t.totalObj.signmoney)+" 元")])])]),i("div",{staticClass:"xq-callupall-content"},t._l(t.showFieldArr,(function(e,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"!item.hidden"}],key:n},[i("span",{staticClass:"font32"},[t._v(t._s(t.totalObj[e.field])+t._s(e.unity))]),i("span",{staticClass:"mt10 font24 color89A0B7"},[t._v(t._s(e.name))])])})),0)]),i("div",{staticClass:"xq-filter-box flex align-center"},[i("div",{on:{click:function(e){return t.sortFunc("signnum")}}},[i("span",{class:{"xq-active-filter":t.signnumActive}},[t._v("合同数量")]),i("div",{staticClass:"flex-column align-center justify-center ml5"},[i("i",{staticClass:"iconfont icon-shixinjiantou-xiangshang upicon",class:{sortActive:"signnum asc"==t.filterObj.order}}),i("i",{staticClass:"iconfont icon-shixinjiantou-xiangshang-copy downicon",class:{sortActive:"signnum desc"==t.filterObj.order}})])]),i("div",{on:{click:function(e){return t.sortFunc("signmoney")}}},[i("span",{class:{"xq-active-filter":t.signmoneyActive}},[t._v("合同金额")]),i("div",{staticClass:"flex-column align-center justify-center ml5"},[i("i",{staticClass:"iconfont icon-shixinjiantou-xiangshang upicon",class:{sortActive:"signmoney asc"==t.filterObj.order}}),i("i",{staticClass:"iconfont icon-shixinjiantou-xiangshang-copy downicon",class:{sortActive:"signmoney desc"==t.filterObj.order}})])])]),t._l(t.signOrgArr,(function(e,n){return i("div",{key:e.id,staticClass:"xq-callup-item",class:{"xq-active-border":t.activeItem==e.id},on:{click:function(n){return t.jumpSignPage(e,"depart")}}},[i("div",{staticClass:"xq-callupall-header flex align-center justify-between font28 color384855"},[i("div",{staticClass:"flex align-center"},[i("div",{staticClass:"xq-vertical"}),i("span",{staticClass:"ml10 font28"},[t._v(t._s(e.name))]),i("span",{staticClass:"font24 color89A0B7 ml10"},[t._v("总"+t._s(e.employee_count)+"人")])]),i("div",{staticClass:"flex align-center justify-end"},[i("span",{staticClass:"color2476FE font24 fontw600"},[t._v("签订数量及金额:"+t._s(e.signmoney))]),i("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),i("div",{staticClass:"xq-callupall-content"},t._l(t.showFieldArr,(function(n,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:!n.hidden,expression:"!f.hidden"}],key:a},[i("span",{staticClass:"font32"},[t._v(t._s(e[n.field])+t._s(n.unity))]),i("span",{staticClass:"mt10 font24 color89A0B7"},[t._v(t._s(n.name))])])})),0)])})),t._l(t.signEmployeeArr,(function(e,a){return i("div",{key:e.id,staticClass:"xq-callup-item",class:{"xq-active-border":t.activeItem==e.id},on:{click:function(n){return t.jumpSignPage(e,"employee")}}},[i("div",{staticClass:"xq-callupall-header flex align-center justify-between font28 color384855"},[i("div",{staticClass:"flex align-center"},[i("div",{staticClass:"xq-staff-avatar"},[e.user&&e.user.headimgurl?[i("img",{attrs:{src:e.user.headimgurl,width:"100%",height:"100%",alt:""}})]:[i("img",{attrs:{src:n("ee87"),width:"100%",height:"100%",alt:""}})]],2),i("span",[t._v(t._s(e.name))])]),i("div",{staticClass:"flex align-center"},[i("span",{staticClass:"color2476FE font24 fontw600"},[t._v("签订数量及金额:"+t._s(e.signmoney))]),i("van-icon",{attrs:{name:"arrow",color:"#2476FE",size:"16"}})],1)]),i("div",{staticClass:"xq-callupall-content"},t._l(t.showFieldArr,(function(n,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:!n.hidden,expression:"!f.hidden"}],key:a},[i("span",{staticClass:"font32"},[t._v(t._s(e[n.field])+t._s(n.unity))]),i("span",{staticClass:"mt10 font24 color89A0B7"},[t._v(t._s(n.name))])])})),0)])})),i("nonedata",{attrs:{len:t.datalength,datashow:t.datashow}})],2)]),i("van-calendar",{attrs:{"allow-same-day":"","min-date":t.minDate,"max-date":t.maxDate,type:"range",color:"#249EFB","default-date":t.defaultDate},on:{confirm:t.onConfirm,opened:t.calendarOpened},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}}),i("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},s=[],r=n("d0afc"),o=n("f3f3"),c=n("fc11"),u=(n("6d73"),n("473d")),l=(n("b0c0"),n("d3b7"),n("159b"),n("b64b"),n("e9c4"),n("3ca3"),n("ddb0"),n("99af"),n("4f8e")),d=n("5a0c"),f=n.n(d),m=n("8d6b"),h=n("a92e"),p=n("5880"),g=n("d0af"),b={name:"signed",components:(i={},Object(c["a"])(i,u["a"].name,u["a"]),Object(c["a"])(i,"MescrollVue",m["a"]),Object(c["a"])(i,"nonedata",h["a"]),Object(c["a"])(i,"statisticstop",g["a"]),i),data:function(){return{loadFlag:!1,datashow:!1,showCalendar:!1,activeIndex:"0",activeItem:null,scrollPosition:0,minDate:new Date(2018,0,1),maxDate:new Date,totalObj:{},filterObj:{order:"",org_id:"",start_time:"",end_time:""},signOrgArr:[],signEmployeeArr:[],tab:[{name:"今日",type:"0"},{name:"近一周",type:"1"},{name:"近一月",type:"2"},{name:"其他时间",type:"3"}],showFieldArr:[{name:"合同数量",field:"signnum"},{name:"合同率",field:"signrate",unity:"%",hidden:!0},{name:"合同金额",field:"signmoney"},{name:"均单值",field:"signagv"},{name:"到店合同率",field:"shoprate",unity:"%",hidden:!0},{name:"签订合同率",field:"depositrate",unity:"%",hidden:!0}],mescroll:null,mescrollDown:{},mescrollUp:{auto:!1,callback:this.getFuncList,onScroll:this.onScroll,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:0}}},computed:Object(o["a"])(Object(o["a"])({},Object(p["mapState"])({jumpNewPage:function(t){return t.jumpNewPage}})),{},{datalength:function(){return this.signOrgArr.length+this.signEmployeeArr.length},defaultDate:function(){return[new Date(this.filterObj.start_time),new Date(this.filterObj.end_time)]},signnumActive:function(){return"signnum asc"==this.filterObj.order||"signnum desc"==this.filterObj.order},signmoneyActive:function(){return"signmoney asc"==this.filterObj.order||"signmoney desc"==this.filterObj.order}}),mounted:function(){this.initPageData()},activated:function(){this.initPageData()},methods:Object(o["a"])(Object(o["a"])({},Object(p["mapMutations"])(["setJumpNewPage"])),{},{onScroll:function(t,e,n){this.scrollPosition=e},initPageData:function(){var t=this;this.filterObj=Object(o["a"])(Object(o["a"])({},this.filterObj),{},{start_time:f()(new Date).format("YYYY/MM/DD"),end_time:f()(new Date).format("YYYY/MM/DD")});var e=this.$route.query;this.filterObj.org_id=e.orgid?e.orgid:"";var n=this.getSessionStorage();this.jumpNewPage?this.$nextTick((function(){t.setJumpNewPage(!1),t.mescroll.scrollTo(0,0),t.switchDate({type:e.dateType||"0"},"jump",e)})):n.orgid?(this.scrollPosition=n.position,this.signOrgArr=n.signOrgArr,this.signEmployeeArr=n.signEmployeeArr,this.totalObj=n.totalObj,this.filterObj=n.filterObj,this.activeItem=n.itemId,this.activeIndex=n.dateIndex,this.$nextTick((function(){t.mescroll.scrollTo(parseInt(n.position||0),0)}))):this.mescroll.resetUpScroll()},calendarOpened:function(){var t=document.querySelector(".van-calendar__body").scrollTop;document.querySelector(".van-calendar__body").scrollTop=t-1},switchDate:function(t,e,n){switch(this.activeIndex=t.type,t.type){case"0":this.filterObj=Object(o["a"])(Object(o["a"])({},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=Object(o["a"])(Object(o["a"])({},this.filterObj),{},{start_time:this.utils.getCurrentWeekFirstDay(),end_time:this.utils.getCurrentWeekLastDay()}),this.mescroll.resetUpScroll();break;case"2":this.filterObj=Object(o["a"])(Object(o["a"])({},this.filterObj),{},{start_time:this.utils.getmonthfirstday(),end_time:this.utils.getmonthlastday()}),this.mescroll.resetUpScroll();break;case"3":if("jump"==e){var i=n.start_time,a=n.end_time;this.filterObj=Object(o["a"])(Object(o["a"])({},this.filterObj),{},{start_time:i,end_time:a}),this.mescroll.resetUpScroll()}else this.showCalendar=!0;break;default:this.mescroll.resetUpScroll();break}},sortFunc:function(t){this.filterObj.order=="".concat(t," asc")?this.filterObj.order="".concat(t," desc"):this.filterObj.order="".concat(t," asc"),this.mescroll.resetUpScroll()},getWeekDate:function(){var t=new Date,e=t.getTime()-5184e5,n=f()(new Date(e)).format("YYYY/MM/DD"),i=f()(t).format("YYYY/MM/DD");return{start_time:n,end_time:i}},getMonthDate:function(){var t=new Date,e=t.getTime()-2592e6,n=f()(new Date(e)).format("YYYY/MM/DD"),i=f()(t).format("YYYY/MM/DD");return{start_time:n,end_time:i}},onConfirm:function(t){var e=Object(r["a"])(t,2),n=e[0],i=e[1];this.filterObj=Object(o["a"])(Object(o["a"])({},this.filterObj),{},{start_time:f()(n).format("YYYY/MM/DD"),end_time:f()(i).format("YYYY/MM/DD")}),this.mescroll.resetUpScroll(),this.showCalendar=!1},getSignIndex:function(){var t=this,e=Object(o["a"])({},this.filterObj);Object.keys(e).forEach((function(t){e[t]||delete e[t]})),Object(l["F"])(e).then((function(e){0==e.data.code&&(t.totalObj=e.data.data)}))},getSignOrg:function(){var t=this,e=Object(o["a"])({},this.filterObj);Object.keys(e).forEach((function(t){e[t]||delete e[t]})),Object(l["G"])(e).then((function(e){0==e.data.code&&(t.signOrgArr=e.data.data)}))},setSessionStorage:function(){this.setJumpNewPage(!0);var t={position:this.scrollPosition,signOrgArr:this.signOrgArr,signEmployeeArr:this.signEmployeeArr,totalObj:this.totalObj,filterObj:this.filterObj,orgid:this.filterObj.org_id||"0",itemId:this.activeItem,dateIndex:this.activeIndex};sessionStorage.setItem("signed#".concat(this.filterObj.org_id),JSON.stringify(t))},getSessionStorage:function(){var t=sessionStorage.getItem("signed#".concat(this.filterObj.org_id))?JSON.parse(sessionStorage.getItem("signed#".concat(this.filterObj.org_id))):{};return t},jumpSignPage:function(t,e){if(this.activeItem=t.id,this.setSessionStorage(),"depart"==e){var i=(new Date).getTime();this.$$router.addRoute({path:"/".concat(i),name:"".concat(i),component:function(){return n.e("chunk-1fcc4892").then(n.bind(null,"e128"))},meta:{title:"合同数量统计|".concat(t.name)}}),this.$router.push({path:"/".concat(i),query:{orgid:t.id,type:"depart",dateType:this.activeIndex,start_time:this.filterObj.start_time,end_time:this.filterObj.end_time}})}else this.$router.push({path:"/signedCus",query:{eid:t.id,type:"employee",dateType:this.activeIndex,start_time:this.filterObj.start_time,end_time:this.filterObj.end_time,orgName:this.totalObj.org_name}})},mescrollInit:function(t){this.mescroll=t},getFuncList:function(t,e){var n=this,i=this;i.datashow=!1,i.loadFlag=!0;var a=Object(o["a"])({page:t.num,limit:10},this.filterObj);Object.keys(a).forEach((function(t){a[t]||delete a[t]})),this.getSignIndex(),this.getSignOrg(),Object(l["E"])(a).then((function(a){"0"==a.data.code&&(1===t.num&&(n.signEmployeeArr=[]),n.signEmployeeArr=n.signEmployeeArr.concat(a.data.data),i.$nextTick((function(){e.endSuccess(a.data.data.length)}))),i.loadFlag=!1,i.datashow=!0}))}})},v=b,O=(n("e290"),n("2877")),j=Object(O["a"])(v,a,s,!1,null,"609b5698",null);e["default"]=j.exports},9970:function(t,e,n){t.exports=n.p+"img/zsign.3313a5ab.png"},"99af":function(t,e,n){"use strict";var i=n("23e7"),a=n("da84"),s=n("d039"),r=n("e8b5"),o=n("861d"),c=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),f=n("1dde"),m=n("b622"),h=n("2d00"),p=m("isConcatSpreadable"),g=9007199254740991,b="Maximum allowed index exceeded",v=a.TypeError,O=h>=51||!s((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),j=f("concat"),y=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:r(t)},w=!O||!j;i({target:"Array",proto:!0,forced:w},{concat:function(t){var e,n,i,a,s,r=c(this),o=d(r,0),f=0;for(e=-1,i=arguments.length;e<i;e++)if(s=-1===e?r:arguments[e],y(s)){if(a=u(s),f+a>g)throw v(b);for(n=0;n<a;n++,f++)n in s&&l(o,f,s[n])}else{if(f>=g)throw v(b);l(o,f++,s)}return o.length=f,o}})},a92e:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nonedata",staticStyle:{margin:"auto"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:"0"==t.len&&t.datashow,expression:"len == '0' && datashow"}],staticClass:"noneDataBox"},[i("img",{attrs:{src:n("0afc")}}),i("div",[t._v(t._s(t.text))])])])},a=[],s=(n("a9e3"),{name:"nonedata",props:{len:{type:Number,default:0},datashow:{type:Boolean,default:!1},text:{type:String,default:"暂无数据展示"}},data:function(){return{}},created:function(){},methods:{},mounted:function(){}}),r=s,o=(n("bf10"),n("2877")),c=Object(o["a"])(r,i,a,!1,null,"e6e9b0c4",null);e["a"]=c.exports},bf10:function(t,e,n){"use strict";n("c93c")},c93c:function(t,e,n){},d0af:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"xq-statistics-header"},[n("div",{staticClass:"xq-header-company flex align-center font26"},[n("span",{staticClass:"ellipsis"},[t._v(t._s(t.orgName))])]),n("div",{staticClass:"xq-header-date flex align-center justify-around"},t._l(t.tab,(function(e){return n("div",{key:e.type,class:{"xq-active":t.type==e.type},on:{click:function(n){return t.switchDate(e)}}},[t._v(t._s(e.name))])})),0)])},a=[],s={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=s,o=(n("196b"),n("2877")),c=Object(o["a"])(r,i,a,!1,null,"4feecd16",null);e["a"]=c.exports},e290:function(t,e,n){"use strict";n("47a3")},e9c4:function(t,e,n){var i=n("23e7"),a=n("da84"),s=n("d066"),r=n("2ba4"),o=n("e330"),c=n("d039"),u=a.Array,l=s("JSON","stringify"),d=o(/./.exec),f=o("".charAt),m=o("".charCodeAt),h=o("".replace),p=o(1..toString),g=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,v=/^[\uDC00-\uDFFF]$/,O=function(t,e,n){var i=f(n,e-1),a=f(n,e+1);return d(b,t)&&!d(v,a)||d(v,t)&&!d(b,i)?"\\u"+p(m(t,0),16):t},j=c((function(){return'"\\udf06\\ud834"'!==l("\udf06\ud834")||'"\\udead"'!==l("\udead")}));l&&i({target:"JSON",stat:!0,forced:j},{stringify:function(t,e,n){for(var i=0,a=arguments.length,s=u(a);i<a;i++)s[i]=arguments[i];var o=r(l,null,s);return"string"==typeof o?h(o,g,O):o}})},ee87:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAA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