1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16af5f34"],{"08c8":function(t,e,a){},"0afc":function(t,e,a){t.exports=a.p+"img/noneData.919a3c84.png"},"0b1b":function(t,e,a){t.exports=a.p+"img/zactivity.51ffb58d.png"},"14ed":function(t,e,a){},"196b":function(t,e,a){"use strict";a("08c8")},3347:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAEFklEQVRYCcVXXUgUURQ+Z9zdoEz7oT/rwaAfMCjoj9wN+kFCKiQhevEp+nkoiBTNh6CWIirTLesp6C18CSIUogjEEDX7eykqK4uK0JaCMo1IW2/fmfYut93ZmbGoLgxz77nf+b5z75y5c4bJZ4s+UqHBAVpHispGFRUxUYHCJe7o96HfZzE9xqBlYj61RRfxsB9q+Lq3mjtqZmKEDkGgAuJ57ujkLNNnEDflBOnIqZX8zs0nawBnn6txr+J0EM5VEJ/gRpJtDuRfMBcrnEHH9s3nb044xwDsVQ/TFQivcnIaqw0i3TkhKnfajYwAqrvV4kSCrmK754xVyBXP9Bb5sfF0mB+auF8CkJV/H6G7vsSFkOg+KxoP4mVK0RST2LEPn0CQVpg7kQog+cxvem07HD5YObS3vpgvaZFLSuV036IDCDyKQELa7nSHfzdyYq3OCUuDJOG8xLHSEQpSiSku/tuYE7EwH8f8Ls2X7S4ayeS2IfYOJJOuF5Ou2c5MdbEI12YjF3tlp2rFTqx3w0D0C5JynjwKeweS77mruE3IdMONWOZA7omRhYqm4C054WCokIFXCzG98MIggpeeGABEU7St5PHq64QbTlCRJzmOaU+MAHCqiraFTpkvBwExlbth5W3AyvzzQduSD4sbqTkH8h01nWqDaTP7tzupFgtaatrc+vZHrapDPQXxAjegOYc3Qb5yR6xcOlO/hOWsp+pONR0cJ0C43cR69ZGwz7iyQw0CmOsF1vMIoB2rDONxyOPrUYyTUFGhzGOuFwfRPI31cR9KHUReYJD34dqKc2CNsugchCysukiLI6DmvDAttCzaD64hLz6ZB59CDUF9XmBgPgYsKoH4ZcEGR+kwbv3aD0QDQUV7osyjDWFuBOkm2LwLEkX9sgqvABIg21JXzE+0YN1qHsTW1egx7jWwpXgaItyOoHca845d0bbsMspxOmVsFsLUKNlpWM1NCKwdV1tDmC5kzEf4IoLoSLebY9G28OxaTGN6H6DGdJseYxf2Igl3M+Oj7NAQXFZfGw5tluNw4BO9RzJlnoZMr05HeK4Dty+THEy3uigO7qkZDqgb8yfRNEuqV2xVUwZADIp6He0+jfKZBkePE1w0Rdt+DaV6hcE+VEwwbK/N8W/1HT5OoiWawmcHkCyRYukCeL6J8/dUMN3ud4zyKADsVwd8TJdlCOZny1aSIZHkpGzF/VogRNdPLuc32sfpXtmlpDYsRVpuxvaXIjsnmzgI/lKSpQIQkK+iFMkDaBwCceyQ/HR8hdAsvE2zQVaAEzJfuBybW1GqHf51WW7ngBaXe/0qfiCls2yVaf+TvnAJZ/o/gXBmBCBGSRApneF4FFfG2yEYP018hUO4dNKl+2HevdkV8//4OU0P62/9nv8AxwV3K84ldD8AAAAASUVORK5CYII="},"48a2":function(t,e,a){"use strict";a.r(e);var i,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"xq-measureCus-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-item mb0 radius10"},[i("div",{staticClass:"xq-activity-box flex align-center",on:{click:function(e){t.showPicker=!0}}},[i("span",{staticClass:"font30 color384855 ml10 widthActive"},[t._v(t._s(t.filterObj.name))]),i("van-icon",{staticClass:"rotate___90",attrs:{name:"play",size:"14"}})],1),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:a("0b1b"),width:"100%",height:"100%",alt:""}})]),i("span",{staticClass:"font30 color384855 ml10"},[t._v(t._s(t.totalObj.employee_name)+"-活动预约数量")])]),i("div",{staticClass:"xq-total-right flex align-center justify-end"},[i("span",{staticClass:"color2476FE font32 fontw700"},[t._v(t._s(t.totalObj.subscribe_count))])])]),i("div",{staticClass:"xq-callupall-content"},t._l(t.showFieldArr,(function(e,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"!item.hidden"}],key:a},[i("span",{staticClass:"font36"},[t._v(t._s(t.totalObj[e.field])+t._s(e.unity))]),i("span",{staticClass:"mt10 xq-block ellipsis color89A0B7 font24"},[t._v(t._s(e.name))])])})),0)]),i("div",{staticClass:"xq-filter-box flex align-center"},[i("div",{on:{click:function(e){return t.searchFunc("")}}},[i("span",{class:{"xq-active-filter":""==t.filterObj.type}},[t._v("预约客户")])]),i("div",{on:{click:function(e){return t.searchFunc("daochang")}}},[i("span",{class:{"xq-active-filter":"daochang"==t.filterObj.type}},[t._v("到场客户")])]),i("div",{on:{click:function(e){return t.searchFunc("qiandan")}}},[i("span",{class:{"xq-active-filter":"qiandan"==t.filterObj.type}},[t._v("定金客户")])]),i("div",{on:{click:function(e){return t.searchFunc("zhuandan")}}},[i("span",{class:{"xq-active-filter":"zhuandan"==t.filterObj.type}},[t._v("合同客户")])])]),t._l(t.customerArr,(function(e,n){return i("div",{key:n,staticClass:"xq-customer-item flex",class:{"xq-active-border":t.activeItem==e.id},on:{click:function(a){return t.jumpInfoPage(e,n)}}},[i("div",{staticClass:"xq-custmoer-left flex-column"},[i("div",{staticClass:"flex align-center"},[i("img",{attrs:{src:a("3347"),width:"20px",height:"20px",alt:""}}),i("span",{staticClass:"font24 color384855 ml10 xq-customer-name"},[t._v(t._s(e.name||"未知"))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.level,expression:"item.level"}],staticClass:"xq-customer-level"},[t._v(t._s(e.level))]),i("span",{directives:[{name:"show",rawName:"v-show",value:"待确认"==e.state,expression:"item.state=='待确认'"}],staticClass:"xq-label bgB6CADE"},[t._v(t._s(e.state))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.stateNum&&e.stateNum.measure>0,expression:"item.stateNum && item.stateNum.measure > 0"}],staticClass:"xq-label bgFF8383"},[t._v("量"+t._s(e.stateNum.measure>1?"("+e.stateNum.measure+")":""))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.stateNum&&e.stateNum.shop>0,expression:"item.stateNum && item.stateNum.shop > 0"}],staticClass:"xq-label bgCDB8F6"},[t._v("店"+t._s(e.stateNum.shop>1?"("+e.stateNum.shop+")":""))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.stateNum&&e.stateNum.activity>0,expression:"item.stateNum && item.stateNum.activity > 0"}],staticClass:"xq-label bgFFD483"},[t._v("活"+t._s(e.stateNum.activity>1?"("+e.stateNum.activity+")":""))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.stateNum&&e.stateNum.deposit>0,expression:"item.stateNum && item.stateNum.deposit > 0"}],staticClass:"xq-label bgFFBC83"},[t._v(t._s(t.deliveryTag))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.stateNum&&e.stateNum.signed>0,expression:"item.stateNum && item.stateNum.signed > 0"}],staticClass:"xq-label bgff9800"},[t._v(t._s(t.signOrderTag))]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.last_contact_date,expression:"item.last_contact_date"}],staticClass:"font24 color708596 ml10 whitespace"},[t._v(t._s(t.getFollowUpTime(e.last_contact_date)))])]),i("div",{staticClass:"flex align-center mt20"},[i("img",{attrs:{src:a("aa68"),width:"16px",height:"16px",alt:""}}),i("span",{staticClass:"font24 color333 ml10"},[t._v(t._s(e.community_name||"未知小区")+" | "+t._s(e.square?e.square+"㎡":"未知面积"))])])]),i("div",{staticClass:"xq-customer-right"})])})),i("nonedata",{attrs:{len:t.customerArr.length,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"}]}),i("van-popup",{attrs:{position:"bottom"},model:{value:t.showPicker,callback:function(e){t.showPicker=e},expression:"showPicker"}},[i("van-picker",{attrs:{title:"选择活动","show-toolbar":"",columns:t.activityArr,"value-key":"title","default-index":t.defaultIndex},on:{confirm:t.onConfirmActivity,cancel:t.onCancel}})],1)],1)},s=[],r=a("d0afc"),c=a("f3f3"),o=a("fc11"),u=(a("5f5f"),a("f253")),l=(a("8a58"),a("e41f")),d=(a("6d73"),a("473d")),f=(a("b0c0"),a("d3b7"),a("159b"),a("4de4"),a("b64b"),a("99af"),a("4f8e")),m=a("5880"),h=a("8d6b"),p=a("a92e"),A=a("5a0c"),b=a.n(A),v=a("d0af"),g={components:(i={},Object(o["a"])(i,d["a"].name,d["a"]),Object(o["a"])(i,l["a"].name,l["a"]),Object(o["a"])(i,u["a"].name,u["a"]),Object(o["a"])(i,"MescrollVue",h["a"]),Object(o["a"])(i,"nonedata",p["a"]),Object(o["a"])(i,"statisticstop",v["a"]),i),data:function(){return{loadFlag:!1,datashow:!1,showPicker:!1,showCalendar:!1,employeeId:"",activeIndex:"0",defaultIndex:0,activeItem:null,scrollPosition:0,minDate:new Date(2018,0,1),maxDate:new Date,customerArr:[],activityArr:[],totalObj:{},filterObj:{type:"",id:"",name:"",employee_id:"",start_time:"",end_time:""},tab:[{name:"今日",type:"0"},{name:"近一周",type:"1"},{name:"近一月",type:"2"},{name:"其他时间",type:"3"}],showFieldArr:[{name:"到场",field:"daochang_count"},{name:"到场率",field:"daochang_lv",unity:"%",hidden:!0},{name:"定金量",field:"jiaoding_count"},{name:"定金率",field:"jiaoding_lv",unity:"%",hidden:!0},{name:"合同量",field:"zhuandan_count"},{name:"合同率",field:"zhuandan_lv",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(c["a"])(Object(c["a"])({},Object(m["mapState"])({jumpNewPage:function(t){return t.jumpNewPage},clientype:function(t){return t.clientype}})),{},{deliveryTag:function(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"定":"签"},signOrderTag:function(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"签":"转"},defaultDate:function(){return[new Date(this.filterObj.start_time),new Date(this.filterObj.end_time)]}}),mounted:function(){this.initPageData()},activated:function(){this.initPageData()},methods:Object(c["a"])(Object(c["a"])({},Object(m["mapMutations"])(["setJumpNewPage"])),{},{onScroll:function(t,e,a){this.scrollPosition=e},initPageData:function(){var t=this,e=this.$route.query;if(this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{employee_id:this.$route.query.eid,id:e.aid}),this.jumpNewPage)this.customerArr=[],this.setJumpNewPage(!1),this.getActivity({type:e.dateType},"jump",e),this.$nextTick((function(){t.mescroll.scrollTo(0,0)}));else{var a=sessionStorage.getItem("activityCus&".concat(this.filterObj.employee_id));a&&this.$nextTick((function(){t.mescroll.scrollTo(parseInt(a||0),0)}))}},calendarOpened:function(){var t=document.querySelector(".van-calendar__body").scrollTop;document.querySelector(".van-calendar__body").scrollTop=t-1},switchDate:function(t,e,a){switch(this.activeIndex=t.type,t.type){case"0":this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{start_time:b()(new Date).format("YYYY/MM/DD"),end_time:b()(new Date).format("YYYY/MM/DD")}),this.mescroll.resetUpScroll();break;case"-1":this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{start_time:this.utils.getTragetTime(1,"/"),end_time:this.utils.getTragetTime(1,"/")}),this.mescroll.resetUpScroll();break;case"1":this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{start_time:this.utils.getCurrentWeekFirstDay(),end_time:this.utils.getCurrentWeekLastDay()}),this.mescroll.resetUpScroll();break;case"2":this.getMonthDate();this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{start_time:this.utils.getmonthfirstday(),end_time:this.utils.getmonthlastday()}),this.mescroll.resetUpScroll();break;case"3":if("jump"==e){var i=a.start_time,n=a.end_time;this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{start_time:i,end_time:n}),this.mescroll.resetUpScroll()}else this.showCalendar=!0;break;default:this.mescroll.resetUpScroll();break}},getWeekDate:function(){var t=new Date,e=t.getTime()-5184e5,a=b()(new Date(e)).format("YYYY/MM/DD"),i=b()(t).format("YYYY/MM/DD");return{start_time:a,end_time:i}},getMonthDate:function(){var t=new Date,e=t.getTime()-2592e6,a=b()(new Date(e)).format("YYYY/MM/DD"),i=b()(t).format("YYYY/MM/DD");return{start_time:a,end_time:i}},onConfirm:function(t){var e=Object(r["a"])(t,2),a=e[0],i=e[1];this.filterObj=Object(c["a"])(Object(c["a"])({},this.filterObj),{},{start_time:b()(a).format("YYYY/MM/DD"),end_time:b()(i).format("YYYY/MM/DD")}),this.mescroll.resetUpScroll(),this.showCalendar=!1},onConfirmActivity:function(t){var e=this;this.filterObj.id=t.id,this.filterObj.name=t.title,this.showPicker=!1,this.mescroll.resetUpScroll(),this.activityArr.forEach((function(t,a){t.id==e.filterObj.id&&(e.defaultIndex=a)}))},onCancel:function(){this.showPicker=!1},getActivity:function(t,e,a){var i=this;Object(f["a"])({}).then((function(n){if(0==n.data.code)if(i.activityArr=n.data.data,i.activityArr.length){if(i.filterObj.id){var s=i.activityArr.filter((function(t){return t.id==i.filterObj.id}));i.filterObj.name=s.length?s[0].title:"",i.activityArr.forEach((function(t,e){t.id==i.filterObj.id&&(i.defaultIndex=e)}))}else i.filterObj.id=i.activityArr[0].id,i.filterObj.name=i.activityArr[0].title;i.switchDate(t,e,a)}else i.customerArr=[]}))},searchFunc:function(t){this.filterObj.type=t,this.mescroll.resetUpScroll()},jumpInfoPage:function(t,e){sessionStorage.setItem("activityCus&".concat(this.filterObj.employee_id),this.scrollPosition),this.activeItem=t.id,this.$router.push({path:"/customermsg",query:{cid:t.id,idx:e,total:1}})},getFollowUpTime:function(t){if(t){var e=this.utils.nowdayDiff(t);return 0==e?"今天":e>0?e+"天前":""}return""},mescrollInit:function(t){this.mescroll=t},getFuncList:function(t,e){var a=this;a.loadFlag=!0,a.datashow=!1;var i=Object(c["a"])({page:t.num,limit:10},this.filterObj);delete i.name,Object.keys(i).forEach((function(t){i[t]||delete i[t]})),Object(f["I"])(i).then((function(i){"0"==i.data.code&&(1===t.num&&(a.customerArr=[]),a.totalObj=i.data.data.employee,a.totalObj.org_name=a.$route.query.orgName,a.customerArr=a.customerArr.concat(i.data.data.customer),a.$nextTick((function(){e.endSuccess(i.data.data.customer.length)}))),a.loadFlag=!1,a.datashow=!0}))}})},O=g,y=(a("bb8b"),a("2877")),w=Object(y["a"])(O,n,s,!1,null,"431ebdbf",null);e["default"]=w.exports},"4f8e":function(t,e,a){"use strict";a.d(e,"j",(function(){return n})),a.d(e,"B",(function(){return s})),a.d(e,"C",(function(){return r})),a.d(e,"A",(function(){return c})),a.d(e,"z",(function(){return o})),a.d(e,"F",(function(){return u})),a.d(e,"G",(function(){return l})),a.d(e,"E",(function(){return d})),a.d(e,"D",(function(){return f})),a.d(e,"k",(function(){return m})),a.d(e,"n",(function(){return h})),a.d(e,"o",(function(){return p})),a.d(e,"m",(function(){return A})),a.d(e,"p",(function(){return b})),a.d(e,"l",(function(){return v})),a.d(e,"L",(function(){return g})),a.d(e,"b",(function(){return O})),a.d(e,"e",(function(){return y})),a.d(e,"d",(function(){return w})),a.d(e,"c",(function(){return _})),a.d(e,"i",(function(){return j})),a.d(e,"h",(function(){return x})),a.d(e,"g",(function(){return D})),a.d(e,"f",(function(){return C})),a.d(e,"a",(function(){return M})),a.d(e,"H",(function(){return S})),a.d(e,"K",(function(){return k})),a.d(e,"J",(function(){return $})),a.d(e,"I",(function(){return N})),a.d(e,"q",(function(){return Y})),a.d(e,"t",(function(){return q})),a.d(e,"s",(function(){return E})),a.d(e,"r",(function(){return I})),a.d(e,"y",(function(){return T})),a.d(e,"x",(function(){return F})),a.d(e,"w",(function(){return U})),a.d(e,"v",(function(){return B})),a.d(e,"u",(function(){return P}));var i=a("b775");function n(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 c(t){return Object(i["a"])({url:"/api/crm_statistics/measure_house_employee",method:"post",data:t})}function o(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 A(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 g(t){return Object(i["a"])({url:"/api/crmStatistics/weChatStatistics",method:"post",data:t})}function O(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 _(t){return Object(i["a"])({url:"/api/crm_statistics/arrivalCustomer",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/api/crm_statistics/call",method:"post",data:t})}function x(t){return Object(i["a"])({url:"/api/crm_statistics/callOrg",method:"post",data:t})}function D(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 M(t){return Object(i["a"])({url:"/api/crm_statistics/activity",method:"post",data:t})}function S(t){return Object(i["a"])({url:"/api/crm_statistics/subscribeActivity",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/api/crm_statistics/subscribeActivityOrg",method:"post",data:t})}function $(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 Y(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimes",method:"post",data:t})}function q(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimesOrg",method:"post",data:t})}function E(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimesEmployee",method:"post",data:t})}function I(t){return Object(i["a"])({url:"/api/crm_statistics/followUpTimesCustomer",method:"post",data:t})}function T(t){return Object(i["a"])({url:"/api/crm_statistics/maika_org",method:"post",data:t})}function F(t){return Object(i["a"])({url:"/api/crm_statistics/maika_index",method:"post",data:t})}function U(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 P(t){return Object(i["a"])({url:"/api/crm_statistics/getSetting",method:"post",data:t})}},"5a0c":function(t,e,a){!function(e,a){t.exports=a()}(0,(function(){"use strict";var t=1e3,e=6e4,a=36e5,i="millisecond",n="second",s="minute",r="hour",c="day",o="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,A={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,a){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(a)+t},v={s:b,z:function(t){var e=-t.utcOffset(),a=Math.abs(e),i=Math.floor(a/60),n=a%60;return(e<=0?"+":"-")+b(i,2,"0")+":"+b(n,2,"0")},m:function t(e,a){if(e.date()<a.date())return-t(a,e);var i=12*(a.year()-e.year())+(a.month()-e.month()),n=e.clone().add(i,u),s=a-n<0,r=e.clone().add(i+(s?-1:1),u);return+(-(i+(a-n)/(s?n-r:r-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:o,d:c,D:f,h:r,m:s,s:n,ms:i,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",O={};O[g]=A;var y=function(t){return t instanceof x},w=function(t,e,a){var i;if(!t)return g;if("string"==typeof t)O[t]&&(i=t),e&&(O[t]=e,i=t);else{var n=t.name;O[n]=t,i=n}return!a&&i&&(g=i),i||!a&&g},_=function(t,e){if(y(t))return t.clone();var a="object"==typeof e?e:{};return a.date=t,a.args=arguments,new x(a)},j=v;j.l=w,j.i=y,j.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var x=function(){function A(t){this.$L=w(t.locale,null,!0),this.parse(t)}var b=A.prototype;return b.parse=function(t){this.$d=function(t){var e=t.date,a=t.utc;if(null===e)return new Date(NaN);if(j.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 n=i[2]-1||0,s=(i[7]||"0").substring(0,3);return a?new Date(Date.UTC(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],n,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 j},b.isValid=function(){return!(this.$d.toString()===m)},b.isSame=function(t,e){var a=_(t);return this.startOf(e)<=a&&a<=this.endOf(e)},b.isAfter=function(t,e){return _(t)<this.startOf(e)},b.isBefore=function(t,e){return this.endOf(e)<_(t)},b.$g=function(t,e,a){return j.u(t)?this[e]:this.set(a,t)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(t,e){var a=this,i=!!j.u(e)||e,l=j.p(t),m=function(t,e){var n=j.w(a.$u?Date.UTC(a.$y,e,t):new Date(a.$y,e,t),a);return i?n:n.endOf(c)},h=function(t,e){return j.w(a.toDate()[t].apply(a.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),a)},p=this.$W,A=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,A):m(0,A+1);case o:var g=this.$locale().weekStart||0,O=(p<g?p+7:p)-g;return m(i?b-O:b+(6-O),A);case c:case f:return h(v+"Hours",0);case r:return h(v+"Minutes",1);case s:return h(v+"Seconds",2);case n:return h(v+"Milliseconds",3);default:return this.clone()}},b.endOf=function(t){return this.startOf(t,!1)},b.$set=function(t,e){var a,o=j.p(t),l="set"+(this.$u?"UTC":""),m=(a={},a[c]=l+"Date",a[f]=l+"Date",a[u]=l+"Month",a[d]=l+"FullYear",a[r]=l+"Hours",a[s]=l+"Minutes",a[n]=l+"Seconds",a[i]=l+"Milliseconds",a)[o],h=o===c?this.$D+(e-this.$W):e;if(o===u||o===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[j.p(t)]()},b.add=function(i,l){var f,m=this;i=Number(i);var h=j.p(l),p=function(t){var e=_(m);return j.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===c)return p(1);if(h===o)return p(7);var A=(f={},f[s]=e,f[r]=a,f[n]=t,f)[h]||1,b=this.$d.getTime()+i*A;return j.w(b,this)},b.subtract=function(t,e){return this.add(-1*t,e)},b.format=function(t){var e=this,a=this.$locale();if(!this.isValid())return a.invalidDate||m;var i=t||"YYYY-MM-DDTHH:mm:ssZ",n=j.z(this),s=this.$H,r=this.$m,c=this.$M,o=a.weekdays,u=a.months,l=function(t,a,n,s){return t&&(t[a]||t(e,i))||n[a].substr(0,s)},d=function(t){return j.s(s%12||12,t,"0")},f=a.meridiem||function(t,e,a){var i=t<12?"AM":"PM";return a?i.toLowerCase():i},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:c+1,MM:j.s(c+1,2,"0"),MMM:l(a.monthsShort,c,u,3),MMMM:l(u,c),D:this.$D,DD:j.s(this.$D,2,"0"),d:String(this.$W),dd:l(a.weekdaysMin,this.$W,o,2),ddd:l(a.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:j.s(s,2,"0"),h:d(1),hh:d(2),a:f(s,r,!0),A:f(s,r,!1),m:String(r),mm:j.s(r,2,"0"),s:String(this.$s),ss:j.s(this.$s,2,"0"),SSS:j.s(this.$ms,3,"0"),Z:n};return i.replace(p,(function(t,e){return e||h[t]||n.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(i,f,m){var h,p=j.p(f),A=_(i),b=(A.utcOffset()-this.utcOffset())*e,v=this-A,g=j.m(this,A);return g=(h={},h[d]=g/12,h[u]=g,h[l]=g/3,h[o]=(v-b)/6048e5,h[c]=(v-b)/864e5,h[r]=v/a,h[s]=v/e,h[n]=v/t,h)[p]||v,m?g:j.a(g)},b.daysInMonth=function(){return this.endOf(u).$D},b.$locale=function(){return O[this.$L]},b.locale=function(t,e){if(!t)return this.$L;var a=this.clone(),i=w(t,e,!0);return i&&(a.$L=i),a},b.clone=function(){return j.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()},A}(),D=x.prototype;return _.prototype=D,[["$ms",i],["$s",n],["$m",s],["$H",r],["$W",c],["$M",u],["$y",d],["$D",f]].forEach((function(t){D[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,x,_),t.$i=!0),_},_.locale=w,_.isDayjs=y,_.unix=function(t){return _(1e3*t)},_.en=O[g],_.Ls=O,_.p={},_}))},"99af":function(t,e,a){"use strict";var i=a("23e7"),n=a("da84"),s=a("d039"),r=a("e8b5"),c=a("861d"),o=a("7b0b"),u=a("07fa"),l=a("8418"),d=a("65f0"),f=a("1dde"),m=a("b622"),h=a("2d00"),p=m("isConcatSpreadable"),A=9007199254740991,b="Maximum allowed index exceeded",v=n.TypeError,g=h>=51||!s((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),O=f("concat"),y=function(t){if(!c(t))return!1;var e=t[p];return void 0!==e?!!e:r(t)},w=!g||!O;i({target:"Array",proto:!0,forced:w},{concat:function(t){var e,a,i,n,s,r=o(this),c=d(r,0),f=0;for(e=-1,i=arguments.length;e<i;e++)if(s=-1===e?r:arguments[e],y(s)){if(n=u(s),f+n>A)throw v(b);for(a=0;a<n;a++,f++)a in s&&l(c,f,s[a])}else{if(f>=A)throw v(b);l(c,f++,s)}return c.length=f,c}})},a92e:function(t,e,a){"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:a("0afc")}}),i("div",[t._v(t._s(t.text))])])])},n=[],s=(a("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,c=(a("bf10"),a("2877")),o=Object(c["a"])(r,i,n,!1,null,"e6e9b0c4",null);e["a"]=o.exports},aa68:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAACi0lEQVRIDbVVz2sTQRT+ZnbbhEhDG2qMoqIVUkvAgx5U8CLYGis5aE7i1YMIpf4FxYN3/Qd6EhEsKC3YEAMeBH8ggoJIraEqVUrV0B+0Sdtkd55vohtWs9kUYmYzzOR9b7735s17MwLbbKnZ7OEtUkMKYi3UaU5P9Z35vp2lopnSSH468NGWSUU4WtOVsA3QkxPx5PMbQqia3GPiayD1Prd/w6hcFCR7PNYCZH/t7jIeTOxLLnniLPQ0cJ/IGM9nT5NNpwjCU8chFIIqQliPs/2pV47MPdYtPpd/utOyS2kQdrsV9bzXDKJgbf4rrv6XhLlwwJicODS46laoGSAiMTyTOW5JOcjkpltpb2cIo7EEuqSJq19euKG/5kLSJlkqk0ucf+sAVQOX8y/DP63lCxyOPgfQoyklLkUOIh05gMmledxdmkNZ+Z7pn+X0IdYjp+7EzhbZ60dxC0gTjKCb/EgoguuxAaxaZdxanMF8ed0NN58LFANKPjQr0khBoUauvR6NDuBkOIrxH3lkVr41J/PSIOzYMuyUyeQBjY9E+5EIduPm4jssWCVc+fQMK+x9S42ow4RkCg7rsVAvopwle8wQ7hU+t8TrLOa8ESaR4kSXGFt4A50tr0sFB295lFCC09FgIuJDLFV7y6xuAj5P/qlaLbix/zHXtwAXoP9V0IohHX59xG1rUu+Ar7u2hUh73tYd6PCbpDhZfTYhDLXGeVBXcbyqg+sn7BtfJuZC403wc+XVSKjlXHz4themZUOzmWt8jrsa4dp5KVXjNJWi3nM3GYegbmduXDuvv7Y1XWOyelM0MsGvUCOoKrdtX1hzc6HRhtbiGQeMO353kkJxDP0fASGLfhb4vV7/BQrJ5GEsMbOnAAAAAElFTkSuQmCC"},bb8b:function(t,e,a){"use strict";a("14ed")},bf10:function(t,e,a){"use strict";a("c93c")},c93c:function(t,e,a){},d0af:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"xq-statistics-header"},[a("div",{staticClass:"xq-header-company flex align-center font26"},[a("span",{staticClass:"ellipsis"},[t._v(t._s(t.orgName))])]),a("div",{staticClass:"xq-header-date flex align-center justify-around"},t._l(t.tab,(function(e){return a("div",{key:e.type,class:{"xq-active":t.type==e.type},on:{click:function(a){return t.switchDate(e)}}},[t._v(t._s(e.name))])})),0)])},n=[],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,c=(a("196b"),a("2877")),o=Object(c["a"])(r,i,n,!1,null,"4feecd16",null);e["a"]=o.exports}}]);
|