(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2361ba6c"],{"085e":function(t,e,s){},"09c2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAFyyC95AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHKADAAQAAAABAAAAEAAAAAChTRmjAAACIUlEQVQ4EWO08gwN+fefYTUDMrDwCP0PwiAxRhgDxGGS5WVgBzFAgBFEIMuC+DAAlgRxrLyi5P/9+/0AxD6xYzVYHMVMkAQcMDJcYoJz0Bn/Gfuw2snIyHD5+PbVenA74Y5iZPh1YvtqsIsZLTxDrzL8Z9BCN5UQH2zq////GS09w/4RUgyVXwD0aSLcOSBBh4AEgR8/vr7HZgBQ4bvjO1YLw+RQNMIEbXzC9f/8+XcBwmf8fWLHKjaYHIwGOjH07v//DEowAWJoFiZmCyZSNYEM/vv/bxKzjIoOiO0AIogFwMAxYX5y5+pBWRVtZaAmfWI0wtIOOHkAQysOGOu7CGkUZGTjh6lBCVULjzBgSP7HajMzK4vO0c3Lr8I0oiRIYLAbAJP+Y5gkjGZiZHJH1gQSR9EIEgBqlgNFNogNBkxMqce2r8TwBigenwCjRBqmjpY0IyPjZiagqwpoaQnMbGCk/WRl+Z8PjwxgREwERkQeTAF1acYGYJA3gsyExwVQIB9YirEAXbKeWpYxMjDu0ZMTZINZBjIX7kNkS3x907je/H6/G1iyWiGLE8sGOvopKxuz5aGNKzBSIFYLYQY7+0WKf/395zCwAFSFieGnGb+yMDE5H9m24iQudXgthGmy9gtV//eL4RDQx2IwMRSakfEfMKwiT2xbtQpFHAuHKAth+myDYiT/fv/VDazc7IAJjAuo+QQzM0P9ka2rz8LUEKIBDd2ifbZ0b34AAAAASUVORK5CYII="},"0af5":function(t,e,s){"use strict";s("ff7d")},"0f7e":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{ref:"allpage",staticClass:"customerbox",class:{customertit:1==t.toptype&&1==t.searchflag||5==t.toptype&&t.sharesearchflag||(4==t.toptype||6==t.toptype||7==t.toptype)&&t.showSearchBtn,newcrmtit:2==t.toptype&&t.newcrmflag&&!t.unvisitflag,nosearch:0==t.searchflag&&1==t.toptype||(4==t.toptype||6==t.toptype||7==t.toptype)&&!t.showSearchBtn||5==t.toptype&&!t.sharesearchflag,visitnosearch:3==t.toptype&&!t.poolsearchflag,poolsearch:3==t.toptype&&t.poolsearchflag,visitsearch:2==t.toptype&&!t.newcrmflag},style:{paddingBottom:"browser"!=t.platform&&t.hideshow?"":"0px"}},[e("div",{ref:"topref",staticClass:"topsearch clearfix"},[t.searchflag&&1==t.toptype?e("div",{staticClass:"inputbox relative"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],staticClass:"fontfpr font24 color384855",attrs:{placeholder:"请输入客户姓名/小区/电话"},domProps:{value:t.keyword},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchtap.apply(null,arguments)},input:function(e){e.target.composing||(t.keyword=e.target.value)}}}),e("img",{staticClass:"searchimg",attrs:{src:s("1e5e")},on:{click:t.searchtap}})]):t._e(),!t.showSearchBtn||4!=t.toptype&&6!=t.toptype?t._e():e("div",{staticClass:"inputbox relative"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.assignKeyword,expression:"assignKeyword"}],staticClass:"fontfpr font24 color384855",attrs:{placeholder:"请输入客户姓名/小区/电话"},domProps:{value:t.assignKeyword},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchtap.apply(null,arguments)},input:function(e){e.target.composing||(t.assignKeyword=e.target.value)}}}),e("img",{staticClass:"searchimg",attrs:{src:s("1e5e")},on:{click:t.searchtap}})]),t.poolsearchflag&&3==t.toptype?e("div",{staticClass:"inputbox relative"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.poolkeyword,expression:"poolkeyword"}],staticClass:"fontfpr font24 color384855",attrs:{placeholder:"请输入客户姓名/小区"},domProps:{value:t.poolkeyword},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchtap.apply(null,arguments)},input:function(e){e.target.composing||(t.poolkeyword=e.target.value)}}}),e("img",{staticClass:"searchimg",attrs:{src:s("1e5e")}})]):t._e(),t.sharesearchflag&&5==t.toptype?e("div",{staticClass:"inputbox relative"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.sharekeyword,expression:"sharekeyword"}],staticClass:"fontfpr font24 color384855",attrs:{placeholder:"请输入业主姓名/小区名/业主电话"},domProps:{value:t.sharekeyword},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchtap.apply(null,arguments)},input:function(e){e.target.composing||(t.sharekeyword=e.target.value)}}}),e("img",{staticClass:"searchimg",attrs:{src:s("1e5e")}})]):t._e(),e("div",{staticClass:"customertitbox clearfix colorB5DEFF font28 fontfpr"},[e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"2"==t.toptype},on:{click:function(e){return t.switchstatetap(2)}}},[t._v(" 待回访 ")]),e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"1"==t.toptype},on:{click:function(e){return t.switchstatetap(1)}}},[t._v(" 全部客户 ")]),e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"4"==t.toptype},on:{click:function(e){return t.switchstatetap(4)}}},[t._v(" 分配资源 ")]),t.isFishBol?e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"6"==t.toptype},on:{click:function(e){return t.switchstatetap(6)}}},[t._v(" 飞鱼线索 ")]):t._e(),t.isTengXun?e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"7"==t.toptype},on:{click:function(e){return t.switchstatetap(7)}}},[t._v(" 腾讯线索 ")]):t._e(),e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"5"==t.toptype},on:{click:function(e){return t.switchstatetap(5)}}},[t._v(" 共有客户 ")]),e("div",{staticClass:"pull-left center everytoptit lh50",class:{nowtitbox:"3"==t.toptype},on:{click:function(e){return t.switchstatetap(3)}}},[t._v(" 公海池 ")])])]),e("v-touch",{directives:[{name:"show",rawName:"v-show",value:2==t.toptype&&t.unvisitflag&&0==t.newcrmflag,expression:"toptype == 2 && unvisitflag && newcrmflag == false"}],on:{swipeup:function(e){t.unvisitflag=!1}}},[2==t.toptype&&t.unvisitflag&&0==t.newcrmflag?e("van-calendar",{ref:"topcalendar",staticClass:"visitdatebox",style:{height:"320px"},attrs:{formatter:t.formatter,"show-confirm":!1,"min-date":t.minvisitDate,"max-date":t.curMaxVisitDate,color:"#249EFB","default-date":t.topdate,poppable:!1},on:{confirm:t.onvisitConfirm,"month-show":t.monthshowtap}}):t._e()],1),e("v-touch",{directives:[{name:"show",rawName:"v-show",value:2==t.toptype&&t.unvisitflag&&0==t.newcrmflag,expression:"toptype == 2 && unvisitflag && newcrmflag == false"}],on:{swipeup:function(e){t.unvisitflag=!1}}},[2==t.toptype&&t.unvisitflag&&0==t.newcrmflag?e("div",{staticClass:"dowimg",on:{click:function(e){t.unvisitflag=!1}}},[e("img",{attrs:{src:s("09c2")}})]):t._e()]),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.toptype&&0==t.newcrmflag,expression:"toptype == 2 && newcrmflag == false"}],staticClass:"visititbox"},[t.unvisitflag?t._e():e("v-touch",{on:{swipeup:function(e){t.unvisitflag=!1},panstart:t.showcaletap}},[e("div",{staticClass:"caletitbox relative"},[e("div",{staticClass:"flex-row"},t._l(t.visitarr,(function(s,a){return e("div",{key:s.id,staticClass:"flex-sub center everycalebox"},[e("div",{staticClass:"fontfps font24 colorC0C4D0 fontw600 lh34"},[t._v(" "+t._s(s.text)+" ")]),e("div",{staticClass:"datebox",class:{nowdatebox:1==s.now},on:{click:function(e){return e.stopPropagation(),t.setimearrtap(a)}}},[e("div",{staticClass:"fontfpr font16 lh22 everydaycrmnum",class:{colorfff:1==s.now,colorFF0000:1!=s.isnow&&1!=s.now,color000:1==s.isnow&&1!=s.now}},[t._v(" "+t._s(s.crmnum?s.crmnum:"")+" ")]),e("div",{staticClass:"fontfps font24 fontw600 lh34 datenumbox",class:{colorc8c9cc:!s.crmnum&&"今天"!=s.num,colorfff:1==s.now&&"今天"==s.num,color384855:1!=s.now&&"今天"!=s.num}},[t._v(" "+t._s(s.num)+" ")])])])})),0),e("div",{staticClass:"dowimg",on:{click:function(e){return e.stopPropagation(),t.showcaletap.apply(null,arguments)}}},[e("img",{attrs:{src:s("09c2")}})])])]),e("div",{staticClass:"clearfix visitsecondtitbox relative lh44 fontfpr font28 color384855",staticStyle:{background:"#f0f4f7"}},[e("div",{staticClass:"pull-left",class:{"nowtudotit fontfps":1==t.visitype},on:{click:function(e){return t.setvisitap(1)}}},[t._v(" 跟进"+t._s(t.visitnum?"("+t.visitnum+")":"(0)")+" ")]),e("div",{staticClass:"tudobox",class:{"nowtudotit fontfps":2==t.visitype},on:{click:function(e){return t.setvisitap(2)}}},[t._v(" 提醒"+t._s(t.allCount?"("+t.allCount+")":"(0)")+" ")]),e("div",{staticClass:"pull-right allstatebox",on:{click:t.visitstatap}},[e("div",{staticClass:"pull-left lh44"},[t._v(" "+t._s(""==t.statetype?"状态":t.statetype)+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda"),alt:""}})]),t.visitstateflag?e("div",{staticClass:"openlayerbox",on:{click:t.closevisitstate}}):t._e(),t.visitstateflag?e("div",{staticClass:"visitstatebox center",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("div",{staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.statetap("")}}},[t._v("全部")]),t._l(t.statearr,(function(s){return e("div",{directives:[{name:"show",rawName:"v-show",value:0==s.show&&2==t.visitype||1==t.visitype&&1==s.show,expression:"\n\t\t\t\t\t\t(item.show == 0 && visitype == 2) || (visitype == 1 && item.show == 1)\n\t\t\t\t\t"}],key:s.id,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.statetap(s.name)}}},[t._v(" "+t._s(s.name)+" ")])}))],2):t._e()])],1),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.toptype&&1==t.newcrmflag,expression:"toptype == 2 && newcrmflag == true"}],staticClass:"newcrmvisitop",on:{click:t.closenewcrmtap}},[e("div",{staticClass:"newcrmvisitext fontfpr font24"},[t._v(" "+t._s(t.unVisitCount)+"个新客户未联系,点击进行初次跟进 ")]),e("img",{attrs:{src:s("785e")}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.toptype,expression:"toptype == '3'"}],staticClass:"pooltitlebox clearfix nosearchvisititlebox",class:{nopooltit:t.poolsearchflag}},[e("div",{staticClass:"pull-left color9DB6CF font28"},[t._v(" "+t._s(t.$store.state.personObj.org?"当前公海:"+t.$store.state.personObj.org.name:"")+" ")]),e("div",{staticClass:"color9DB6CF font28 pull-left"},[t._v(",共"+t._s(t.poolnum)+"条资源")]),e("img",{staticClass:"opensearchimg pull-right",attrs:{src:s("63dd")},on:{click:function(e){t.poolsearchflag=!t.poolsearchflag}}})]),e("client",{directives:[{name:"show",rawName:"v-show",value:5==t.toptype,expression:"toptype == 5"}],ref:"client",attrs:{from:"mainCustomer"}}),e("mescroll-vue",{directives:[{name:"show",rawName:"v-show",value:5!=t.toptype,expression:"toptype != 5"}],ref:"mescroll",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[2==t.toptype&&0==t.newcrmflag&&1==t.visitype?e("div",[t._l(t.customerlist,(function(a,i){return e("div",{key:a.id,staticClass:"everyvisitcrm fontfpr font24 color384855",class:{clickborder:t.lastcrm==a.id},on:{click:function(e){return t.customermsgtap(a.id,i)}}},[e("img",{directives:[{name:"show",rawName:"v-show",value:!!a.addtoptime,expression:"!!item.addtoptime"}],staticClass:"crmstar",attrs:{src:s("ef21")},on:{click:function(e){return e.stopPropagation(),t.setoptap(i,a.id,2)}}}),e("div",{staticClass:"clearfix"},[e("img",{directives:[{name:"show",rawName:"v-show",value:2!=a.sex,expression:"item.sex != 2"}],staticClass:"pull-left seximg",attrs:{src:s("6725")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:2==a.sex,expression:"item.sex == 2"}],staticClass:"pull-left seximg",attrs:{src:s("922c")}}),e("div",{staticClass:"pull-left ellipsis crmname lh40"},[t._v(" "+t._s(a.name?a.name:"未知")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.level,expression:"item.level"}],staticClass:"pull-left crmlev font20 colorFA6400 lh36 center"},[t._v(" "+t._s(a.level)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"待确认"==a.state,expression:"item.state == '待确认'"}],staticClass:"pull-left everystatebtn bgB6CADE"},[t._v(" 待确认 ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.measure>0,expression:"item.stateNum && item.stateNum.measure > 0"}],staticClass:"pull-left bgFF8383 everystatebtn"},[t._v(" 量"+t._s(a.stateNum.measure>1?"("+a.stateNum.measure+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.shop>0,expression:"item.stateNum && item.stateNum.shop > 0"}],staticClass:"pull-left everystatebtn bgCDB8F6"},[t._v(" 店"+t._s(a.stateNum.shop>1?"("+a.stateNum.shop+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.activity>0,expression:"item.stateNum && item.stateNum.activity > 0"}],staticClass:"pull-left everystatebtn bgFFD483"},[t._v(" 活"+t._s(a.stateNum.activity>1?"("+a.stateNum.activity+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.deposit>0,expression:"item.stateNum && item.stateNum.deposit > 0"}],staticClass:"pull-left everystatebtn bgFFBC83"},[t._v(" "+t._s(t.deliveryTagText)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.signed>0,expression:"item.stateNum && item.stateNum.signed > 0"}],staticClass:"pull-left everystatebtn bgff9800"},[t._v(" "+t._s(t.signOrderTagText)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.agent&&a.agent.agent_name,expression:"item.agent && item.agent.agent_name"}],staticClass:"pull-left everystatebtn bgFF7161"},[t._v(" 荐 ")]),e("div",{staticClass:"pull-left color9DB6CF lastdate lh36",class:t.getCurWarnning(a.lastday)},[t._v(" "+t._s(a.lastday<=0?"今天":a.lastday+"天前")+" ")])]),e("div",{staticClass:"clearfix housemsgbox lh40"},[e("img",{staticClass:"pull-left houseicon",attrs:{src:s("aa68")}}),e("div",{staticClass:"pull-left flex align-center"},[e("span",{staticClass:"limitCommunityWidth1 ellipsis"},[t._v(t._s(a.community_name?a.community_name:"未知小区"))]),e("span",{staticClass:"mlr10"},[t._v("|")]),e("span",[t._v(t._s(a.square?a.square+"m²":"未知面积"))]),e("span",[t._v(t._s(a.agent&&a.agent.agent_name?" | "+a.agent.agent_name:""))])])]),t.outCallSystem?[e("div",{staticClass:"phonebox",on:{click:function(t){t.stopPropagation()}}},[e("van-popover",{attrs:{trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,t.idx,a,1)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:s("9347"),alt:""}})]},proxy:!0}],null,!0),model:{value:a.showPopover,callback:function(e){t.$set(a,"showPopover",e)},expression:"item.showPopover"}})],1)]:[e("div",{staticClass:"phonebox",on:{click:function(e){return e.stopPropagation(),t.callphonetap(i,a)}}},[e("img",{attrs:{src:s("9347"),alt:""}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+a.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])])],e("div",{staticClass:"addtextbox font28 fontfpr center",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.addtracktap(a.id,a,i)}}},[t._v(" 跟进"+t._s(a.stateNum.count>1?"("+a.stateNum.count+")":"")+" ")])],2)})),e("nonedata",{attrs:{datashow:t.datashow,len:t.customerlist.length}})],2):t._e(),2==t.toptype&&0==t.newcrmflag&&2==t.visitype?e("div",[t._l(t.customerlist,(function(a,i){return e("div",{key:a.id,staticClass:"everyvisitcrm fontfpr font24 color384855",class:{clickborder:t.lastcrm==a.id},on:{click:function(e){return t.customermsgtap(a.id,i)}}},[e("img",{directives:[{name:"show",rawName:"v-show",value:!!a.addtoptime,expression:"!!item.addtoptime"}],staticClass:"crmstar",attrs:{src:s("ef21")},on:{click:function(e){return e.stopPropagation(),t.setoptap(i,a.id,2)}}}),e("div",{staticClass:"clearfix"},[e("img",{directives:[{name:"show",rawName:"v-show",value:2!=a.sex,expression:"item.sex != 2"}],staticClass:"pull-left seximg",attrs:{src:s("6725")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:2==a.sex,expression:"item.sex == 2"}],staticClass:"pull-left seximg",attrs:{src:s("922c")}}),e("div",{staticClass:"pull-left ellipsis crmname lh40"},[t._v(" "+t._s(a.name?a.name:"未知")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.level,expression:"item.level"}],staticClass:"pull-left crmlev font20 colorFA6400 lh36 center"},[t._v(" "+t._s(a.level)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"待确认"==a.state,expression:"item.state == '待确认'"}],staticClass:"pull-left everystatebtn bgB6CADE"},[t._v(" 待确认 ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.measure>0,expression:"item.stateNum && item.stateNum.measure > 0"}],staticClass:"pull-left bgFF8383 everystatebtn"},[t._v(" 量"+t._s(a.stateNum.measure>1?"("+a.stateNum.measure+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.shop>0,expression:"item.stateNum && item.stateNum.shop > 0"}],staticClass:"pull-left everystatebtn bgCDB8F6"},[t._v(" 店"+t._s(a.stateNum.shop>1?"("+a.stateNum.shop+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.activity>0,expression:"item.stateNum && item.stateNum.activity > 0"}],staticClass:"pull-left everystatebtn bgFFD483"},[t._v(" 活"+t._s(a.stateNum.activity>1?"("+a.stateNum.activity+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.deposit>0,expression:"item.stateNum && item.stateNum.deposit > 0"}],staticClass:"pull-left everystatebtn bgFFBC83"},[t._v(" "+t._s(t.deliveryTagText)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.signed>0,expression:"item.stateNum && item.stateNum.signed > 0"}],staticClass:"pull-left everystatebtn bgff9800"},[t._v(" "+t._s(t.signOrderTagText)+" ")]),e("div",{staticClass:"pull-left color9DB6CF lastdate lh36",class:t.getCurWarnning(a.lastday)},[t._v(" "+t._s(a.lastday<=0?"今天":a.lastday+"天前")+" ")])]),e("div",{staticClass:"clearfix housemsgbox lh40"},[e("img",{staticClass:"pull-left houseicon",attrs:{src:s("aa68")}}),e("div",{staticClass:"pull-left flex align-center"},[e("span",{staticClass:"limitCommunityWidth1 ellipsis"},[t._v(t._s(a.community_name?a.community_name:"未知小区"))]),e("span",{staticClass:"mlr10"},[t._v("|")]),e("span",[t._v(t._s(a.square?a.square+"m²":"未知面积"))])])]),t.outCallSystem?e("div",{staticClass:"phonebox",on:{click:function(t){t.stopPropagation()}}},[e("van-popover",{attrs:{trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,t.idx,a,1)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:s("9347"),alt:""}})]},proxy:!0}],null,!0),model:{value:a.showPopover,callback:function(e){t.$set(a,"showPopover",e)},expression:"item.showPopover"}})],1):e("div",{staticClass:"phonebox",on:{click:function(e){return e.stopPropagation(),t.callphonetap(i,a)}}},[e("img",{attrs:{src:s("9347"),alt:""}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+a.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])]),e("div",{staticClass:"addtextbox font28 fontfpr center",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.addtracktap(a.id,a,i)}}},[t._v(" "+t._s("预约到店"==a.subscribe_state?"确认到店":"预约量房"==a.subscribe_state?"确认量房":"确认到场")+" ")])])})),e("nonedata",{attrs:{datashow:t.datashow,len:t.customerlist.length}})],2):t._e(),2==t.toptype&&1==t.newcrmflag?e("div",t._l(t.newcrmarr,(function(a,i){return e("div",{key:a.id,staticClass:"everynewcrm fontfpr font24 color384855 clearfix",class:{clickborder:t.lastcrm==a.id},on:{click:function(e){return t.customermsgtap(a.id,i)}}},[e("img",{directives:[{name:"show",rawName:"v-show",value:a.new&&1==a.new,expression:"item.new && item.new == 1"}],staticClass:"newcustomerimg",attrs:{src:s("d1c9")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:2!=a.sex,expression:"item.sex != 2"}],staticClass:"pull-left seximg",attrs:{src:s("6725")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:2==a.sex,expression:"item.sex == 2"}],staticClass:"pull-left seximg",attrs:{src:s("922c")}}),e("div",{staticClass:"pull-left ellipsis crmname lh40"},[t._v(" "+t._s(a.name?a.name:"未知")+" ")]),e("img",{staticClass:"pull-left houseicon",attrs:{src:s("aa68")}}),e("div",{staticClass:"pull-left lh40"},[e("span",{staticClass:"communityname ellipsis pull-left"},[t._v(t._s(a.community_name?a.community_name:"未知小区")+" ")]),e("span",{staticClass:"pull-left"},[t._v(t._s(a.square&&0!=a.square?"|"+a.square+"m²":"|未知面积")+" ")])]),t.outCallSystem?e("div",{staticClass:"phonebox",on:{click:function(t){t.stopPropagation()}}},[e("van-popover",{attrs:{trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,t.idx,a,1)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:s("9347"),alt:""}})]},proxy:!0}],null,!0),model:{value:a.showPopover,callback:function(e){t.$set(a,"showPopover",e)},expression:"item.showPopover"}})],1):e("div",{staticClass:"phonebox",on:{click:function(e){return e.stopPropagation(),t.callphonetap(i,a)}}},[e("img",{attrs:{src:s("9347"),alt:""}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+a.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])]),e("div",{staticClass:"addtextbox font28 fontfpr center",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.addtracktap(a.id,a,i)}}},[t._v(" 跟进 ")])])})),0):t._e(),"1"==t.toptype?e("div",[e("crmtopnum",{attrs:{customerobj:t.customerobj}}),"1"==t.toptype?e("van-sticky",{staticClass:"customerstatebox clearfix relative",attrs:{"offset-top":t.topheight}},[e("div",{staticClass:"pull-left customerbtnbox font28 color384855 fontfpr lh40 clearfix center",on:{click:t.setcustsourcetap}},[e("div",{staticClass:"inline-block clearfix"},[e("div",{staticClass:"pull-left"},[t._v(" "+t._s(""==t.custsourcetype?"客户种类":"ownadd"==t.custsourcetype?"自建":"crmres"==t.custsourcetype?"资源库分配":"agent"==t.custsourcetype?"推荐官推荐":"agent_crm_add"==t.custsourcetype?"客户报名":"公共库获取")+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")}})])]),t.customersourceshow?e("div",{staticClass:"openlayerbox",on:{click:t.closecustsourcetap}}):t._e(),t.customersourceshow?e("div",{staticClass:"customersourcebox center",on:{click:t.dothis}},[e("div",{staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setcustomersourcebox("")}}},[t._v(" 全部 ")]),t._l(t.sourcearr,(function(s){return e("div",{key:s.id,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setcustomersourcebox(s.type)}}},[t._v(" "+t._s(s.text)+" ")])}))],2):t._e(),e("div",{staticClass:"pull-left customerbtnbox customerstattebox font28 color384855 fontfpr lh40 clearfix",on:{click:t.setcusttexttap}},[e("div",{staticClass:"pull-left"},[t._v(" "+t._s(""==t.custstate?"状态":t.custstate)+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")}})]),t.custstatelayershow?e("div",{staticClass:"openlayerbox",on:{click:t.closecustsourcetap}}):t._e(),t.custstatelayershow?e("div",{staticClass:"custstatebox center",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("div",{staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.custstatetap("")}}},[t._v(" 全部 ")]),t._l(t.statearr,(function(s){return e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.toptype&&1==s.show,expression:"toptype == 1 && item.show == 1"}],key:s.id,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.custstatetap(s.name)}}},[t._v(" "+t._s(s.name)+" ")])}))],2):t._e(),e("div",{staticClass:"ml10 pull-left customerbtnbox customerLevel font28 color384855 fontfpr lh40 clearfix",on:{click:t.setleveltap}},[e("div",[t._v(t._s(""==t.nowlev?"等级":t.nowlev))]),e("img",{attrs:{src:s("4eda")}})]),t.crmlevelayershow?e("div",{staticClass:"openlayerbox",on:{click:t.closecustleveltap}}):t._e(),t.crmlevelayershow?e("div",{staticClass:"custlevelbox center",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("div",{staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.custleveltap("")}}},[t._v(" 全部 ")]),t._l(t.levelarr,(function(s,a){return e("div",{key:a,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.custleveltap(s)}}},[t._v(" "+t._s(s)+" ")])}))],2):t._e(),e("div",{staticClass:"ml30 pull-left customerbtnbox timebtnbox relative font28 color384855 fontfpr lh40 clearfix",on:{click:function(e){return e.stopPropagation(),t.handleSort.apply(null,arguments)}}},[e("div",{staticClass:"pull-left sortWidth",on:{click:function(e){return e.stopPropagation(),t.handleSort.apply(null,arguments)}}},[t._v(" "+t._s(t.sortText?t.sortText:"时间")+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")},on:{click:function(e){return e.stopPropagation(),t.handleSort.apply(null,arguments)}}}),t.showSort?e("div",{staticClass:"timefilter",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},t._l(t.timeSort,(function(s,a){return e("div",{key:a,staticClass:"color384855 font28 fontfpr lh48 center",on:{click:function(e){return e.stopPropagation(),t.handleSortlist(s)}}},[t._v(" "+t._s(s.text)+" ")])})),0):t._e()]),t.showSort?e("div",{staticClass:"openlayerbox",on:{click:t.handleSort}}):t._e(),e("img",{staticClass:"opensearchimg pull-right",attrs:{src:s("63dd")},on:{click:t.opensearchtap}})]):t._e(),e("div",{staticClass:"minecustomerbox"},[t._l(t.minecustomer,(function(a,i){return e("div",{key:a.id,staticClass:"everyvisitcrm fontfpr font24 color384855",class:{clickborder:t.mylastcrm==a.id},on:{click:function(e){return t.customermsgtap(a.id,i)}}},[e("img",{directives:[{name:"show",rawName:"v-show",value:1==a.is_new,expression:"item.is_new == 1"}],staticClass:"newcustomerimg",attrs:{src:s("d1c9")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:!!a.addtoptime,expression:"!!item.addtoptime"}],staticClass:"crmstar",attrs:{src:s("ef21")},on:{click:function(e){return e.stopPropagation(),t.setoptap(t.index,a.id,2)}}}),e("div",{staticClass:"clearfix"},[e("img",{directives:[{name:"show",rawName:"v-show",value:2!=a.sex,expression:"item.sex != 2"}],staticClass:"pull-left seximg",attrs:{src:s("6725")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:2==a.sex,expression:"item.sex == 2"}],staticClass:"pull-left seximg",attrs:{src:s("922c")}}),e("div",{staticClass:"pull-left ellipsis crmname lh40"},[t._v(" "+t._s(a.name?a.name:"未知")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.level,expression:"item.level"}],staticClass:"pull-left crmlev font20 colorFA6400 lh36 center"},[t._v(" "+t._s(a.level)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"待确认"==a.state,expression:"item.state == '待确认'"}],staticClass:"pull-left everystatebtn bgB6CADE"},[t._v(" 待确认 ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.measure>0,expression:"item.stateNum && item.stateNum.measure > 0"}],staticClass:"pull-left bgFF8383 everystatebtn"},[t._v(" 量"+t._s(a.stateNum.measure>1?"("+a.stateNum.measure+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.shop>0,expression:"item.stateNum && item.stateNum.shop > 0"}],staticClass:"pull-left everystatebtn bgCDB8F6"},[t._v(" 店"+t._s(a.stateNum.shop>1?"("+a.stateNum.shop+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.activity>0,expression:"item.stateNum && item.stateNum.activity > 0"}],staticClass:"pull-left everystatebtn bgFFD483"},[t._v(" 活"+t._s(a.stateNum.activity>1?"("+a.stateNum.activity+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.deposit>0,expression:"item.stateNum && item.stateNum.deposit > 0"}],staticClass:"pull-left everystatebtn bgFFBC83"},[t._v(" "+t._s(t.deliveryTagText)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.stateNum&&a.stateNum.signed>0,expression:"item.stateNum && item.stateNum.signed > 0"}],staticClass:"pull-left everystatebtn bgff9800"},[t._v(" "+t._s(t.signOrderTagText)+" ")]),a.agent&&a.agent.agent_name?e("div",{staticClass:"pull-left everystatebtn bgFF7161"},[t._v(" 荐 ")]):t._e(),e("div",{staticClass:"pull-left color9DB6CF lastdate lh36",class:t.getCurWarnning(a.last_visit_day)},[t._v(" "+t._s(0==a.last_visit_day?"今天":a.last_visit_day>0?a.last_visit_day+"天前":"")+" ")])]),e("div",{staticClass:"clearfix housemsgbox lh40"},[e("img",{staticClass:"pull-left houseicon",attrs:{src:s("aa68")}}),e("div",{staticClass:"pull-left flex align-center"},[e("span",{staticClass:"limitCommunityWidth1 ellipsis"},[t._v(t._s(a.community_name?a.community_name:"未知小区"))]),e("span",{staticClass:"mlr10"},[t._v("|")]),e("span",[t._v(t._s(a.square?a.square+"m²":"未知面积"))]),e("span",[t._v(t._s(a.agent&&a.agent.agent_name?" | "+a.agent.agent_name:""))])]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.protected_tips,expression:"item.protected_tips"}],staticClass:"pull-left font-20 color999 ml5"},[t._v(" |"+t._s(a.protected_tips)+" ")])]),t.outCallSystem?e("div",{staticClass:"phonebox",on:{click:function(t){t.stopPropagation()}}},[e("van-popover",{attrs:{trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,i,a,1)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:s("9347"),alt:""}})]},proxy:!0}],null,!0),model:{value:a.showPopover,callback:function(e){t.$set(a,"showPopover",e)},expression:"item.showPopover"}})],1):e("div",{staticClass:"phonebox",on:{click:function(e){return e.stopPropagation(),t.callphonetap(i,a)}}},[e("img",{attrs:{src:s("9347"),alt:""}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+a.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])]),e("div",{staticClass:"addtextbox font28 fontfpr center",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.addtracktap(a.id,a,i)}}},[t._v(" 跟进"+t._s(a.stateNum.count>1?"("+a.stateNum.count+")":"")+" ")])])})),e("nonedata",{attrs:{datashow:t.datashow,len:t.minecustomer.length}})],2)],1):t._e(),"3"==t.toptype?e("div",{staticClass:"poolcustomerbox"},[t._l(t.commoncustomerlist,(function(a,i){return e("div",{key:a.id,staticClass:"everypoolcustomerbox relative"},[e("div",{staticClass:"clearfix lh40 fontfpr color384855"},[e("img",{directives:[{name:"show",rawName:"v-show",value:2!=a.sex,expression:"item.sex != 2"}],staticClass:"pull-left seximg",attrs:{src:s("6725")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:2==a.sex,expression:"item.sex == 2"}],staticClass:"pull-left seximg",attrs:{src:s("922c")}}),e("div",{staticClass:"pull-left"},[t._v(t._s(a.name?a.name:"未知"))]),e("div",{directives:[{name:"show",rawName:"v-show",value:a.level,expression:"item.level"}],staticClass:"pull-left levelbox"},[t._v(" "+t._s(a.level)+" ")]),e("div",{staticClass:"pull-left textlh1 comnitybox"},[t._v(" "+t._s(a.community_name?a.community_name:"未知小区")+" ")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!!a.before_pool,expression:"!!item.before_pool"}],staticClass:"clearfix mgt12 color9DB6CF lh34 fontfpr font24"},[e("img",{staticClass:"pull-left lastpersonimg",attrs:{src:s("46f3")}}),e("div",{staticClass:"pull-left"},[t._v(" "+t._s(a.before_pool?a.before_pool.name:"")+" ")]),e("div",{staticClass:"pull-left lastimebox"},[t._v(" 上次跟进时间:"+t._s(a.before_pool?a.before_pool.addtime.split(" ")[0]:"")+" ")]),e("div",{staticClass:"pull-left statebtn"},[t._v(" "+t._s(a.before_pool?a.before_pool.state:"")+" ")])]),e("div",{staticClass:"clearfix mgt10 color9DB6CF lh34 fontfpr font24"},[a.recoverLatelyDate?e("div",{staticClass:"pull-left"},[t._v(" 回收时间:"+t._s(a.recoverLatelyDate.split(" ")[0])+" ")]):t._e(),e("div",{staticClass:"pull-left mglr20"},[t._v("回收次数:"+t._s(a.recoverNum))])]),e("div",{staticClass:"addtextbox font28 fontfpr center",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.retracetap(a.id,i)}}},[t._v(" 获取 ")]),e("button",{staticClass:"copyphonebtn",on:{click:function(e){return e.stopPropagation(),t.copyphonetap(e,a)}}},[e("img",{attrs:{src:s("9347"),width:"16px",alt:""}})])])})),e("nonedata",{attrs:{datashow:t.datashow,len:t.commoncustomerlist.length}})],2):t._e(),"4"==t.toptype?[e("assign-total",{attrs:{customerobj:t.assignCustomerTotal,assignType:1}}),e("van-sticky",{staticClass:"relative",attrs:{"offset-top":t.topheight}},[e("div",{staticClass:"width100 flex align-center justify-between xq-assign-bg"},[e("div",{ref:"assginElement",staticClass:"xq-assign-box",staticStyle:{"background-color":"#f0f4f7"}},t._l(t.assignArr,(function(a,i){return e("div",{directives:[{name:"show",rawName:"v-show",value:"label"==a.type&&0!=t.signarr.length||"label"!=a.type,expression:"\n\t\t\t\t\t\t\t\t\t\t(item.type == 'label' && signarr.length != 0) || item.type != 'label'\n\t\t\t\t\t\t\t\t\t"}],key:i,class:{"xq-assign-active":t.activeIndex==i},on:{click:function(e){return t.switchFunc(a,i,1)}}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"label"!=a.type&&"date"!=a.type&&"source_id"!=a.type,expression:"item.type != 'label' && item.type != 'date'&&item.type != 'source_id'"}]},[t._v(" "+t._s(a.name)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"label"==a.type,expression:"item.type == 'label'"}],staticClass:"clearfix customerLevel1"},[e("div",{staticClass:"pull-left ellipsis"},[t._v(" "+t._s(t.resourcestext?t.resourcestext:a.name)+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:"source_id"==a.type,expression:"item.type == 'source_id'"}],staticClass:"clearfix customerLevel1"},[e("div",{staticClass:"pull-left ellipsis"},[t._v(" "+t._s(t.sourceMsg?t.sourceMsg:a.name)+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:"date"==a.type&&!t.filterObj.start_date,expression:"item.type == 'date' && !filterObj.start_date"}]},[t._v(" "+t._s(a.name)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"date"==a.type&&t.filterObj.start_date,expression:"item.type == 'date' && filterObj.start_date"}],staticClass:"ellipsis date12"},[e("van-notice-bar",{attrs:{background:"#f0f4f7",color:"#333",scrollable:"",text:t.filterObj.start_date+"至"+t.filterObj.end_date}})],1)])})),0),e("img",{staticClass:"mr20",attrs:{width:"17px",src:s("63dd")},on:{click:t.setSearchEle}})]),t.assignflag||t.sourcePopover?e("div",{staticClass:"assignlayer",on:{click:function(e){t.assignflag=!1,t.sourcePopover=!1}}}):t._e(),t.assignflag?e("div",{staticClass:"assignbox center",style:{left:"calc(4.85rem - "+t.appointleft+"px)"}},t._l(t.signarr,(function(s,a){return e("div",{key:a,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setassigntap(s,1)}}},[t._v(" "+t._s(s)+" ")])})),0):t._e(),t.sourcePopover?e("div",{staticClass:"assignbox1 center",style:{left:"calc(7.253rem - "+t.appointleft1+"px)"}},t._l(t.sourceArray,(function(s,a){return e("div",{key:a,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setassigntap(s,2)}}},[t._v(" "+t._s(s.source)+" ")])})),0):t._e()]),e("div",{staticClass:"xq-assign-padding"},[t._l(t.customerArr,(function(a,i){return e("div",{key:i,staticClass:"xq-customer-item flex relative",class:{"xq-active-border":t.activeItem==a.id},on:{click:function(e){return e.stopPropagation(),t.callphonetap1(i,a,1)}}},[e("div",{staticClass:"xq-custmoer-left flex-column"},[e("div",{staticClass:"flex align-center"},[2==a.sex?e("img",{attrs:{src:s("922c"),width:"20px",height:"20px",alt:""}}):e("img",{attrs:{src:s("3347"),width:"20px",height:"20px",alt:""}}),e("span",{staticClass:"font24 color384855 ml10 xq-customer-name"},[t._v(t._s(a.name||"未知"))]),e("span",{staticClass:"ml10"},[t._v(t._s(t.getPhonePass(a.phone)))]),e("img",{staticClass:"ml10",attrs:{src:s("e61d"),width:"14px",alt:""},on:{click:function(e){return e.stopPropagation(),t.copyText(e,a.phone)}}})]),e("div",{staticClass:"flex align-center mt20"},[e("img",{attrs:{src:s("aa68"),width:"16px",height:"16px",alt:""}}),e("span",{staticClass:"font24 color333 ml10 limitCommunityWidth ellipsis"},[t._v(t._s(a.community_name||"未知小区"))]),e("span",{staticClass:"mlr10"},[t._v(" | ")]),e("span",{staticClass:"font24 color333"},[t._v(t._s(a.square?a.square+"㎡":"未知面积"))])]),e("div",{staticClass:"flex align-center mt20"},[e("span",{staticClass:"color8A9AAA"},[t._v("分配时间:"+t._s(a.employee_time||"未知"))])])]),e("div",{staticClass:"xq-customer-right"},[t.outCallSystem?e("div",{staticClass:"xq-call-operate",on:{click:function(t){t.stopPropagation()}}},[e("van-popover",{attrs:{placement:"bottom-end",trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,i,a,2)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{staticStyle:{"margin-top":"1px"},attrs:{src:s("9347"),width:"16px"}})]},proxy:!0}],null,!0),model:{value:a.showPopover,callback:function(e){t.$set(a,"showPopover",e)},expression:"item.showPopover"}})],1):e("div",{staticClass:"xq-call-operate",class:{callremarkbox:a.remark},on:{click:function(e){return e.stopPropagation(),t.callphonetap1(i,a)}}},[e("img",{attrs:{src:s("9347"),width:"16px",alt:""}}),e("a",{staticClass:"callphonebox1",staticStyle:{display:"none"},attrs:{href:"tel:"+a.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])]),e("div",{staticClass:"font24 color249EFB lh40 remarkbox"},[t._v(t._s(a.remark))])])])})),e("nonedata",{attrs:{datashow:t.datashow,len:t.customerArr.length}})],2)]:t._e(),"6"==t.toptype||"7"==t.toptype?[e("assign-total",{attrs:{customerobj:t.flyingfishTotal,assignType:2}}),e("van-sticky",{staticClass:"relative",attrs:{"offset-top":t.topheight}},[e("div",{staticClass:"width100 flex align-center justify-between xq-assign-bg"},[e("div",{ref:"assginElement",staticClass:"xq-assign-box",staticStyle:{"background-color":"#f0f4f7"}},t._l(t.assignFishArr,(function(a,i){return e("div",{directives:[{name:"show",rawName:"v-show",value:"label"==a.type&&0!=t.signarr.length||"label"!=a.type,expression:"\n\t\t\t\t\t\t\t\t\t\t(item.type == 'label' && signarr.length != 0) || item.type != 'label'\n\t\t\t\t\t\t\t\t\t"}],key:i,class:{"xq-assign-active":t.activeIdx==i},on:{click:function(e){return t.switchFunc(a,i,2)}}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"label"!=a.type&&"date"!=a.type&&"source_id"!=a.type,expression:"item.type != 'label' && item.type != 'date'&&item.type != 'source_id'"}]},[t._v(" "+t._s(a.name)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"label"==a.type,expression:"item.type == 'label'"}],staticClass:"clearfix customerLevel1"},[e("div",{staticClass:"pull-left ellipsis"},[t._v(" "+t._s(t.resourcestext?t.resourcestext:a.name)+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:"source_id"==a.type,expression:"item.type == 'source_id'"}],staticClass:"clearfix customerLevel1"},[e("div",{staticClass:"pull-left ellipsis"},[t._v(" "+t._s(t.sourceMsg?t.sourceMsg:a.name)+" ")]),e("img",{staticClass:"pull-left",attrs:{src:s("4eda")}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:"date"==a.type&&!t.searchObj.start_date,expression:"item.type == 'date' && !searchObj.start_date"}]},[t._v(" "+t._s(a.name)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"date"==a.type&&t.searchObj.start_date,expression:"item.type == 'date' && searchObj.start_date"}],staticClass:"ellipsis date12"},[e("van-notice-bar",{attrs:{background:"#f0f4f7",color:"#333",scrollable:"",text:t.searchObj.start_date+"至"+t.searchObj.end_date}})],1)])})),0),e("img",{staticClass:"mr20",attrs:{width:"17px",src:s("63dd")},on:{click:t.setSearchEle}})]),t.assignflag||t.sourcePopover?e("div",{staticClass:"assignlayer",on:{click:function(e){t.assignflag=!1,t.sourcePopover=!1}}}):t._e(),t.assignflag?e("div",{staticClass:"assignbox center",style:{left:"calc(4.85rem - "+t.appointleft+"px)"}},t._l(t.signarr,(function(s,a){return e("div",{key:a,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setassigntap(s,1)}}},[t._v(" "+t._s(s)+" ")])})),0):t._e(),t.sourcePopover?e("div",{staticClass:"assignbox1 center",style:{left:"calc(7.253rem - "+t.appointleft1+"px)"}},t._l(t.sourceArray,(function(s,a){return e("div",{key:a,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setassigntap(s,2)}}},[t._v(" "+t._s(s.source)+" ")])})),0):t._e()]),e("div",{staticClass:"xq-assign-padding"},[t._l(t.flyingFishArr,(function(a,i){return e("div",{key:i,staticClass:"xq-customer-item flex relative",class:{"xq-active-border":t.activeItem==a.id},on:{click:function(e){return t.clueAssignFun(i,a,0)}}},[e("div",{staticClass:"xq-custmoer-left flex-column"},[e("div",{staticClass:"flex align-center"},[2==a.sex?e("img",{attrs:{src:s("922c"),width:"20px",height:"20px",alt:""}}):e("img",{attrs:{src:s("3347"),width:"20px",height:"20px",alt:""}}),e("span",{staticClass:"font24 color384855 ml10 xq-customer-name"},[t._v(t._s(a.name||"未知"))]),e("span",{staticClass:"ml10"},[t._v(t._s(t.getPhonePass(a.phone)))]),e("img",{staticClass:"ml10",attrs:{src:s("e61d"),width:"14px",alt:""},on:{click:function(e){return e.stopPropagation(),t.copyText(e,a.phone)}}})]),e("div",{staticClass:"flex align-center mt20"},[e("img",{attrs:{src:s("aa68"),width:"16px",height:"16px",alt:""}}),e("span",{staticClass:"font24 color333 ml10 limitCommunityWidth ellipsis"},[t._v(t._s(a.location||"未知小区"))])]),e("div",{staticClass:"flex align-center mt20"},[e("span",{staticClass:"color8A9AAA"},[t._v("分配时间:"+t._s(a.create_time_detail||"未知"))])])]),e("div",{staticClass:"xq-customer-right"},[e("div",{directives:[{name:"show",rawName:"v-show",value:0==a.is_allocation,expression:"item.is_allocation == 0"}],staticClass:"xq-call-operate",on:{click:function(e){return e.stopPropagation(),t.clueAssignFun(i,a,2)}}},[e("img",{attrs:{src:s("9347"),width:"16px",alt:""}}),e("a",{staticClass:"callphonebox1",staticStyle:{display:"none"},attrs:{href:"tel:"+a.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:0==a.is_allocation&&2==a.is_followup,expression:"item.is_allocation == 0&&item.is_followup == 2"}],staticClass:"xq-call-operate",on:{click:function(e){return e.stopPropagation(),t.clueAssignFun(i,a,4)}}},[t._v("转 化")]),e("div",{directives:[{name:"show",rawName:"v-show",value:0==a.is_allocation&&1==a.is_followup,expression:"item.is_allocation == 0&&item.is_followup == 1"}],staticClass:"xq-call-operate",on:{click:function(e){return e.stopPropagation(),t.clueAssignFun(i,a,3)}}},[t._v("分 配")]),e("div",{directives:[{name:"show",rawName:"v-show",value:1!=a.is_allocation,expression:"item.is_allocation != 1"}],staticClass:"xq-call-operate",on:{click:function(e){return e.stopPropagation(),t.clueAssignFun(i,a,1)}}},[t._v("记 录")])])])})),e("nonedata",{attrs:{datashow:t.datashow,len:t.flyingFishArr.length}})],2)]:t._e()],2),e("v-touch",{directives:[{name:"show",rawName:"v-show",value:t.unvisitflag,expression:"unvisitflag"}],on:{swipeup:function(e){t.unvisitflag=!1},tap:function(e){t.unvisitflag=!1}}},[t.unvisitflag?e("div",{staticClass:"wzhcalelayer",style:{height:t.caleght+"px",bottom:"browser"==t.platform?"0px":""},on:{click:function(e){t.unvisitflag=!1}}}):t._e()]),t.poolstate?e("div",{staticClass:"openlayerbox",on:{click:t.closepoolstatetap}},[e("div",{staticClass:"oldstatebox center",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("div",{staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setpoolstatetap("")}}},[t._v(" 全部 ")]),t._l(t.statearr,(function(s){return e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.visitype&&1==s.show,expression:"visitype == 1 && item.show == 1"}],key:s.id,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setpoolstatetap(s.name)}}},[t._v(" "+t._s(s.name)+" ")])}))],2)]):t._e(),1==t.toptype?e("div",{staticClass:"footeradd center",on:{click:t.addcustomertap}},[e("img",{attrs:{src:s("1f28")}}),e("div",{staticClass:"colorfff fontfpr font28"},[t._v("添加客户")])]):t._e(),e("xqloading",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),e("callload",{directives:[{name:"show",rawName:"v-show",value:t.loadshow,expression:"loadshow"}]}),t.firstid&&1==t.toptype&&t.minecustomer.length>0&&t.hideshow?e("div",{staticClass:"latelysetcrm",class:{visitlateCRM:2==t.nowtoptype},style:{bottom:"browser"==t.platform?"0px":""},on:{click:t.gotolasttap}},[t._v(" 最近操作的客户>> ")]):t._e(),e("van-action-sheet",{class:{phonebrowser:"browser"==t.$store.state.platform},attrs:{actions:t.actions,"cancel-text":"取消",description:"拨打电话","close-on-click-action":""},on:{cancel:t.cancelCallPhone,select:t.callMobile,close:function(e){t.showAction=!1}},model:{value:t.showAction,callback:function(e){t.showAction=e},expression:"showAction"}}),e("van-action-sheet",{class:{phonebrowser:"browser"==t.$store.state.platform},attrs:{actions:t.outCallActions,"cancel-text":"取消",description:"请选择外呼号码","close-on-click-action":""},on:{cancel:t.cancelOutCallPhone,select:t.outCallMobile,close:function(e){t.showOutAction=!1}},model:{value:t.showOutAction,callback:function(e){t.showOutAction=e},expression:"showOutAction"}}),e("customer-reporting",{ref:"customerReporting"}),e("xq-addtrack",{ref:"xqaddtrack",attrs:{toptype:t.toptype,nidx:t.nidx,cid:t.nowcid,nowitem:t.nowitem},model:{value:t.trackflag,callback:function(e){t.trackflag=e},expression:"trackflag"}}),t.showSelect?e("div",{staticClass:"mask",on:{click:function(e){t.showSelect=!1}}},[e("div",{staticClass:"blockBox",on:{click:function(t){t.stopPropagation()}}},[e("van-cell",{attrs:{title:"选择时间段","is-link":"",value:t.fDateVal},on:{click:function(e){t.showCalendar=!0}}}),e("div",{staticClass:"confirmBtn"},[e("van-button",{attrs:{type:"info"},on:{click:t.confirmFilter}},[t._v("确定")])],1)],1)]):t._e(),e("van-calendar",{attrs:{"min-date":t.minDate,"max-date":t.totalMaxDate,"allow-same-day":"",color:"#249EFB",type:"range","default-date":t.defaultDateVal},on:{confirm:t.onConfirm},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}}),e("van-calendar",{attrs:{"min-date":t.minDate,"max-date":t.maxDate1,"allow-same-day":"",color:"#249EFB",type:"range","show-confirm":!1},on:{confirm:t.onConfirm1},model:{value:t.assignCalendar,callback:function(e){t.assignCalendar=e},expression:"assignCalendar"}}),t.signflag?e("div",{staticClass:"resourcelayer",on:{click:t.closesigntap}},[e("div",{staticClass:"addsignbox",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("div",{staticClass:"clearfix signtextbox"},[e("div",{staticClass:"pull-left",class:{nowsigndivbox:-1==t.signidx&&""!==t.signidx&&(0==t.signtextstr.search("有效")||t.dscText.indexOf("有效")>-1)},on:{click:function(e){return t.setsignidxtap(-1,"有效")}}},[t._v(" 有效 ")]),t._l(t.signarr,(function(s,a){return e("div",{key:a,staticClass:"pull-left",class:{nowsigndivbox:t.signidx==a&&""!==t.signidx&&t.signtextstr.indexOf(s)>-1},on:{click:function(e){return t.setsignidxtap(a,s)}}},[t._v(" "+t._s(s)+" ")])}))],2),e("div",{staticClass:"colorB6CADE lh40 font24"},[t._v(" 备注: 标记为有效线索后直接在我的客户中进一步跟进客户 ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.signtextstr,expression:"signtextstr"}],staticClass:"addsigntext color384855",staticStyle:{resize:"none"},attrs:{placeholder:"请输入客户备注"},domProps:{value:t.signtextstr},on:{input:function(e){e.target.composing||(t.signtextstr=e.target.value)}}}),e("button",{staticClass:"addsignbtn",attrs:{type:"button"},on:{click:t.addsigntap}},[t._v("确认标记")]),t.labelogArr.length?[e("div",{staticClass:"markRecordTitle mt40 color000 fontw700 font28"},[t._v("标记记录")]),e("div",{staticClass:"markRecord"},t._l(t.labelogArr,(function(s){return e("div",{key:s.id,staticClass:"markRecordItem"},[e("div",{staticClass:"color999"},[t._v(t._s(s.addtime))]),e("div",{staticClass:"font26 mt20"},[t._v(t._s(s.remark))])])})),0)]:t._e()],2)]):t._e(),t.flayfishflag?e("div",{staticClass:"resourcelayer",on:{click:t.closesigntap}},[e("div",{staticClass:"addsignbox",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[[e("div",{staticClass:"markRecordTitle color000 fontw700 font28"},[t._v("通话记录")]),e("div",{staticClass:"markRecord"},[t._l(t.calllogArr,(function(s){return e("div",{key:s.id,staticClass:"markRecordItem"},[e("div",{staticClass:"color999"},[t._v(t._s(s.addtime))]),e("div",{staticClass:"font26 mt20"},[t._v(t._s(s.remark))])])})),e("nonedata",{attrs:{datashow:t.callShow,len:t.calllogArr.length}})],2)]],2)]):t._e(),e("checkDesignerVue",{directives:[{name:"show",rawName:"v-show",value:t.showDepartment,expression:"showDepartment"}],attrs:{designerlist:JSON.stringify(t.departmentArr),title:"线索分配",select:0,isdepart:2},on:{onSearch:t.designerfun,submit:t.submitdepart}}),e("a",{ref:"callMobileEle",staticStyle:{"pointer-events":"none",display:"none"},attrs:{href:"tel:"+t.telString}})],1)},i=[],o=(s("66b9"),s("b650")),n=(s("d82d"),s("7278")),l=(s("2cbd"),s("ab2c")),r=(s("e17f"),s("2241")),c=(s("14d9"),s("3c65"),s("8d6b")),p=s("11fe"),m=s("5880"),d=function(){var t=this,e=t._self._c;return e("div",{staticClass:"datasurveybox"},[e("div",{staticClass:"surveybox"},[e("div",{staticClass:"clearfix"},[e("div",{staticClass:"pull-left leftsurveytext"},[e("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/survey.png"}}),e("div",{staticClass:"pull-left lh48"},[t._v("数据概况")])]),e("div",{staticClass:"pull-right rightsurveybtn bgF0F4F7 fontfpr color384855 font24 radius10 clearfix"},[e("div",{class:{nowsurvey:"today"==t.numtype},on:{click:function(e){return t.numtypetap("today")}}},[t._v(" 今日 ")]),e("div",{class:{nowsurvey:"yesterday"==t.numtype},on:{click:function(e){return t.numtypetap("yesterday")}}},[t._v(" 昨天 ")]),e("div",{class:{nowsurvey:"serven"==t.numtype},on:{click:function(e){return t.numtypetap("serven")}}},[t._v(" 近7日 ")]),e("div",{class:{nowsurvey:"month"==t.numtype},on:{click:function(e){return t.numtypetap("month")}}},[t._v(" 近一月 ")]),e("div",{class:{nowsurvey:"other"==t.numtype},on:{click:function(e){return t.numtypetap("other")}}},[t._v(" 其他 ")]),e("div",{class:{nowsurvey:""==t.numtype},on:{click:function(e){return t.numtypetap("")}}},[t._v("累计")])])]),e("div",{staticClass:"surveynumbox clearfix padding-bottom-20"},[e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.total?t.customerobj.total:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("客户总数")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.wechat_count?t.customerobj.wechat_count:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("加微")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.make_house?t.customerobj.make_house:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("预计量房")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.ok_house?t.customerobj.ok_house:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("量房")])])]),e("div",{staticClass:"surveynumbox clearfix additional"},[e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.make_store?t.customerobj.make_store:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("预计到店")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.ok_store?t.customerobj.ok_store:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("到店")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.ding?t.customerobj.ding:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v(t._s(t.deliveryTagText))])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.sign?t.customerobj.sign:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v(t._s(t.signTagText))])])])])])},h=[],u={data(){return{numtype:""}},props:["customerobj"],computed:{...Object(m["mapState"])({clientype:t=>t.clientype}),deliveryTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"交定":"签单"},signTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"签单":"转单"}},methods:{numtypetap:function(t){"other"==t?(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.showCalendar=!0):(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.countfun())}},created(){}},f=u,g=(s("7e76"),s("2877")),v=Object(g["a"])(f,d,h,!1,null,"2b57d18a",null),A=v.exports,w=s("6138"),y=function(){var t=this,e=t._self._c;return e("div",{staticClass:"datasurveybox"},[e("div",{staticClass:"surveybox"},[e("div",{staticClass:"clearfix"},[e("div",{staticClass:"pull-left leftsurveytext"},[e("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/survey.png"}}),e("div",{staticClass:"pull-left lh48"},[t._v("数据概况")])]),e("div",{staticClass:"pull-right rightsurveybtn bgF0F4F7 fontfpr color384855 font24 radius10 clearfix"},[e("div",{class:{nowsurvey:"today"==t.numtype},on:{click:function(e){return t.numtypetap("today")}}},[t._v(" 今日 ")]),e("div",{class:{nowsurvey:"yesterday"==t.numtype},on:{click:function(e){return t.numtypetap("yesterday")}}},[t._v(" 昨天 ")]),e("div",{class:{nowsurvey:"serven"==t.numtype},on:{click:function(e){return t.numtypetap("serven")}}},[t._v(" 近7日 ")]),e("div",{class:{nowsurvey:"month"==t.numtype},on:{click:function(e){return t.numtypetap("month")}}},[t._v(" 近一月 ")]),e("div",{class:{nowsurvey:"other"==t.numtype},on:{click:function(e){return t.numtypetap("other")}}},[t._v(" 其他 ")]),e("div",{class:{nowsurvey:""==t.numtype},on:{click:function(e){return t.numtypetap("")}}},[t._v("累计")])])]),e("div",{staticClass:"surveynumbox clearfix padding-bottom-20"},[e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.total?t.customerobj.total:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("分配资源数")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.call_total?t.customerobj.call_total:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("拨打电话数")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.call_put_on?t.customerobj.call_put_on:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("接通数")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.not_connected?t.customerobj.not_connected:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("未接通数")])])]),e("div",{staticClass:"surveynumbox clearfix additional"},[e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.billsec?t.customerobj.billsec:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("通话时长(min)")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.assignType,expression:"assignType == 1"}],staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.wechat_num?t.customerobj.wechat_num:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("已加微信数")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.assignType,expression:"assignType == 1"}],staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.intention?t.customerobj.intention:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("意向客户")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.assignType,expression:"assignType == 2"}],staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.allocation?t.customerobj.allocation:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("已转化数")])]),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.assignType,expression:"assignType == 2"}],staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(" "+t._s(t.customerobj.zhuang?t.customerobj.zhuang:0)+" ")]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("撞单数")])])])])])},x=[],C={data(){return{numtype:""}},props:["customerobj","assignType"],computed:{...Object(m["mapState"])({clientype:t=>t.clientype}),deliveryTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"交定":"签单"},signTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"签单":"转单"}},methods:{numtypetap:function(t){"other"==t?(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.showCalendar=!0):1==this.assignType?(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.assignTotalfun()):(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.flyingfishTotalFun())}}},b=C,D=(s("1b83"),Object(g["a"])(b,y,x,!1,null,"3f4b263d",null)),k=D.exports,_=s("4807"),S=function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{name:"slide-fade"}},[t.dialog?e("div",{staticClass:"dialogMask",on:{click:function(e){t.dialog=!1}}},[e("div",{staticClass:"dialogCustomer",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"dialogTitle"},[t._v("客户报备")]),e("div",{ref:"contentData",staticClass:"dialogContent",class:t.isScroll?"disableScroll":"autoScroll"},[e("addcrmmsg",{ref:"addcrmmsg",attrs:{cid:t.cid,customertype:t.customertype}}),e("div",{staticClass:"confirmBtn"},[e("van-button",{attrs:{type:"info","loading-text":"正在提交数据...",loading:t.loading,disabled:t.loading},on:{click:t.sureditap}},[t._v("确定添加")])],1)],1)]),e("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1):t._e()])],1)},T=[],N=s("51fe"),B={components:{[o["a"].name]:o["a"],[r["a"].name]:r["a"],addcrmmsg:N["a"]},data(){return{loadFlag:!1,dialog:!1,loading:!1,cid:"",customertype:0}},props:[],computed:{...Object(m["mapState"])({isScroll:t=>t.isScroll})},mounted(){},methods:{handleAddCustomer(){this.cid="",this.dialog=!0,this.$nextTick(()=>{this.$refs.addcrmmsg.fieldfun()})},checkParamsState(){let t=this,e=!0,s=this.$refs.addcrmmsg.crmvalarr[0].child,a=this.$refs.addcrmmsg.extarr;for(let i=0;i{"house_type"==a[e].keyname&&(t=a[e].keytext)}),"期房"==t&&!a[s[i].id].value)return this.$toast(s[i].name+"必填!"),!1}else if("live_broadcast_business"==s[i].keyname&&0==s[i].status&&0==s[i].is_must){let t="";if(Object.keys(a).forEach(e=>{"live_broadcast"==a[e].keyname&&(t=a[e].keytext.filter(t=>"1对1业务直播"==t))}),t.length&&!a[s[i].id].value)return this.$toast(s[i].name+"必填!"),!1}else if("live_broadcast_design"==s[i].keyname&&0==s[i].status&&0==s[i].is_must){let t="";if(Object.keys(a).forEach(e=>{"live_broadcast"==a[e].keyname&&(t=a[e].keytext.filter(t=>"1对1设计直播"==t))}),t.length&&!a[s[i].id].value)return this.$toast(s[i].name+"必填!"),!1}else if("live_broadcast_personnel"==s[i].keyname&&0==s[i].status&&0==s[i].is_must){let t="";if(Object.keys(a).forEach(e=>{"live_broadcast"==a[e].keyname&&(t=a[e].keytext.filter(t=>"一对多直播"==t))}),t.length&&!a[s[i].id].value)return this.$toast(s[i].name+"必填!"),!1}else if(0==s[i].status&&0==s[i].is_must&&a[s[i].id]&&(Array.isArray(a[s[i].id].value)&&!a[s[i].id].value.length||!a[s[i].id].value))return this.$toast(s[i].name+"必填!"),e=!1,!1}return e},sureditap(){const t=this;if(!t.$refs.addcrmmsg.phonenum)return t.$toast("客户手机号不能为空!"),!1;let e=this.checkParamsState();e&&r["a"].confirm({title:"客户报备确认",message:"您确定进行客户报备吗",confirmButtonColor:"#28A1FF",confirmButtonText:"确定",cancelButtonText:"再想想"}).then(()=>{t.loadFlag=!0,t.editcustomermsg()}).catch(()=>{})},editcustomermsg:function(){const t=this;let e={clue_id:2==t.customertype?t.cid:"",id:2!=t.customertype?t.cid:"",name:t.$refs.addcrmmsg.personame,phone:t.$refs.addcrmmsg.phonenum,phone1:t.$refs.addcrmmsg.phonenum1,phone2:t.$refs.addcrmmsg.phonenum2,sex:"男"==this.$refs.addcrmmsg.sex?1:"女"==this.$refs.addcrmmsg.sex?2:"",level:t.$refs.addcrmmsg.level,source_id:t.$refs.addcrmmsg.source};Object(p["b"])(e).then(e=>{0==e.data.code?(this.cid=e.data.data,this.extfun()):(t.loadFlag=!1,3==e.data.code&&r["a"].confirm({title:"客户报备提示",message:"您报备的客户已经存在于公海池,是否直接获取该客户",confirmButtonText:"获取"}).then(()=>{this.transferfun(e.data.data)}).catch(()=>{}))})},extfun(){const t=this;let e,s=[],a=this.$refs.addcrmmsg.extarr;for(let i in a){let t;"1"==a[i].type||"2"==a[i].type||"5"==a[i].type||"3"==a[i].type?t="live_broadcast_personnel"==a[i].keyname?{id:i,keyname:a[i].keyname,type:a[i].type,value:Array.isArray(a[i].value)?a[i].value.join(","):a[i].value?a[i].value:""}:{id:i,keyname:a[i].keyname,type:a[i].type,value:a[i].value}:"4"==a[i].type?t={id:i,keyname:a[i].keyname,type:a[i].type,value:a[i].value?a[i].value.join(","):""}:"6"==a[i].type&&(t={id:i,keyname:a[i].keyname,type:a[i].type,value:a[i].value.length?a[i].value.map(t=>({serverId:t.serverId||"",img:t.url||""})):""}),s.push(t)}s.length?(e={id:this.cid,ext:s.filter(t=>t.id)},Object(p["o"])(e).then(e=>{t.loadFlag=!1,0==e.data.code&&(t.$toast("添加成功!"),t.$parent.mescroll.resetUpScroll(),setTimeout(()=>{t.dialog=!1},1e3))})):t.$toast("添加成功!")},transferfun(t){let e=this,s={customer_id:t};Object(p["z"])(s).then(t=>{0==t.data.code&&(e.$toast("获取成功!"),e.dialog=!1,e.$parent.mescroll.resetUpScroll())})}}},Y=B,M=(s("6f65"),Object(g["a"])(Y,S,T,!1,null,"444949fa",null)),I=M.exports,j=s("92d9"),E=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page box-module"},[e("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",class:{pt88:t.unVisitShow},attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[t.unVisitShow?t._l(t.customerlist,(function(a,i){return e("div",{key:a.id,staticClass:"content"},[e("div",{staticClass:"unVisitCBox flex align-center"},[e("div",{staticClass:"flex-threw flex align-center"},[e("img",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"newcustomerimg",attrs:{src:s("d1c9")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:1==a.sex,expression:"item.sex == 1"}],staticClass:"seximg",attrs:{src:s("6725")}}),e("img",{directives:[{name:"show",rawName:"v-show",value:1!=a.sex,expression:"item.sex != 1"}],staticClass:"seximg",attrs:{src:s("922c")}}),e("span",{staticClass:"font26 color333 ml10"},[t._v(t._s(a.name||"未知"))]),e("img",{staticClass:"houseicon ml10",attrs:{src:s("aa68")}}),e("span",{staticClass:"font26 color333 ml10"},[t._v(t._s(a.community_name||"未知小区")+" | "+t._s(a.square||"未知面积"))])]),e("div",{staticClass:"flex-sub flex align-center justify-between"},[t.outCallSystem?e("div",{staticClass:"flex align-center"},[e("van-popover",{attrs:{trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,a,i)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{staticClass:"phoneIcon",attrs:{src:s("9347"),alt:""}})]},proxy:!0}],null,!0),model:{value:a.showPopover,callback:function(e){t.$set(a,"showPopover",e)},expression:"item.showPopover"}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+t.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])],1):e("div",{staticClass:"flex align-center",on:{click:function(e){return e.stopPropagation(),t.callphonetap(a.id)}}},[e("img",{staticClass:"phoneIcon",attrs:{src:s("9347"),alt:""}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+t.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])]),e("van-button",{directives:[{name:"show",rawName:"v-show",value:1==a.btn_type,expression:"item.btn_type == 1"}],attrs:{plain:"",size:"mini",type:"info"},on:{click:function(e){return t.handleToStore(a,i)}}},[t._v("到店")]),e("van-button",{directives:[{name:"show",rawName:"v-show",value:3==a.btn_type,expression:"item.btn_type == 3"}],attrs:{plain:"",size:"mini",type:"info"},on:{click:function(e){return t.handleVisit(a,i)}}},[t._v("量房")])],1)])])})):[e("clientop",{attrs:{customerobj:t.topnumobj}}),e("van-sticky",{staticClass:"relative",attrs:{"offset-top":t.topheight}},[e("div",{staticClass:"clearfix clientitbox font26 lh48"},[e("div",{staticClass:"pull-left",on:{click:function(e){return t.shareinitap(1)}}},[t._v("全部")]),e("div",{staticClass:"pull-left mglr20 center sharestatebox",on:{click:t.opensharestatetap}},[e("div",{staticClass:"clearfix inline-block"},[e("div",{staticClass:"pull-left"},[t._v(" "+t._s(t.sharestate?t.sharestate:"状态")+" ")]),e("img",{staticClass:"pull-left rangleimg",attrs:{src:s("4eda")}})])]),e("div",{staticClass:"pull-left mglr20 sharetmebox",on:{click:t.opentimetap}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.sharestart_date,expression:"!sharestart_date"}]},[t._v("指派时间")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.sharestart_date,expression:"sharestart_date"}],staticClass:"font24"},[t._v(t._s(t.sharestart_date+"至"+t.sharend_date))])]),e("div",{staticClass:"pull-left mglr20 ml30",on:{click:t.searchClick}},[t._v(" 员工筛选 ")]),t.fixedtop?e("img",{staticClass:"opensearchimg pull-right",attrs:{src:s("63dd")},on:{click:t.opensearchtap}}):t._e()]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showSearch,expression:"showSearch"}],staticClass:"searchInput"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.employee_name,expression:"employee_name"}],attrs:{type:"text",placeholder:"请输入员工名称"},domProps:{value:t.employee_name},on:{input:function(e){e.target.composing||(t.employee_name=e.target.value)}}}),e("span",{on:{click:function(e){return t.shareinitap(2)}}},[t._v("搜索")])]),t.stateflag?e("div",{staticClass:"assignlayer",on:{click:function(e){t.stateflag=!1}}}):t._e(),t.stateflag?e("div",{staticClass:"assign1box center"},t._l(t.statearr,(function(s){return e("div",{key:s.id,staticClass:"color384855 font28 fontfpr lh48",on:{click:function(e){return t.setstatetap(s)}}},[t._v(t._s(s.name))])})),0):t._e()]),t._l(t.customerlist,(function(s,a){return e("div",{key:s.id,staticClass:"content"},[e("client-content-item-vue",{class:{"xq-active-border":t.activeItem==s.id},attrs:{from:t.from,item:s,idx:a},on:{assign:t.assignFunc}})],1)})),e("nonedata",{attrs:{datashow:t.datashow,len:t.customerlist.length}})]],2),e("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),e("callload",{directives:[{name:"show",rawName:"v-show",value:t.loadshow,expression:"loadshow"}]}),e("xq-addtrack",{ref:"xqaddtrack",attrs:{shareval:t.shareval,toptype:t.toptype,nidx:t.nowidx,cid:t.nowcid,nowitem:t.customerlist[t.nowidx]},model:{value:t.trackflag,callback:function(e){t.trackflag=e},expression:"trackflag"}}),t.visitCount?e("div",{staticClass:"fixedTips flex align-center justify-center",class:t.unVisitShow?"fixedTop":"fixedBottom",style:{top:t.unVisitShow?t.fixedtop+"px":""},on:{click:t.handleShowVisit}},[e("span",[t._v(t._s(t.visitCount)+"个客户待处理,点击进行处理")]),e("img",{class:t.unVisitShow?"rotate_90":"rotate90",attrs:{src:s("785e")}})]):t._e(),e("toStore",{ref:"toStoreEl",attrs:{cid:t.visitId,index:t.indexNum},on:{update:t.handleUpdate}}),e("measuringRoom",{ref:"measuringRoomEl",attrs:{cid:t.visitId,index:t.indexNum},on:{update:t.handleUpdate}}),e("van-calendar",{attrs:{"min-date":t.minDate,"max-date":t.maxDate,"allow-same-day":"",color:"#249EFB","show-confirm":!1,type:"range"},on:{confirm:t.onConfirm1},model:{value:t.stateCalendar,callback:function(e){t.stateCalendar=e},expression:"stateCalendar"}}),t.showSelect?e("div",{staticClass:"mask",on:{click:function(e){t.showSelect=!1}}},[e("div",{staticClass:"blockBox",on:{click:function(t){t.stopPropagation()}}},[e("van-cell",{attrs:{title:"选择时间段","is-link":"",value:t.fDateVal},on:{click:function(e){t.showCalendar=!0}}}),e("div",{staticClass:"confirmBtn"},[e("van-button",{attrs:{type:"info"},on:{click:t.confirmFilter}},[t._v("确定")])],1)],1)]):t._e(),e("van-calendar",{attrs:{"min-date":t.minDate,"max-date":t.maxDate,"allow-same-day":"",color:"#249EFB","show-confirm":!1,type:"range"},on:{confirm:t.onConfirm},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}}),e("van-action-sheet",{class:{phonebrowser:"browser"==t.$store.state.platform},attrs:{actions:t.outCallActions,"cancel-text":"取消",description:"请选择外呼号码","close-on-click-action":""},on:{cancel:t.cancelOutCallPhone,select:t.outCallMobile,close:function(e){t.showOutAction=!1}},model:{value:t.showOutAction,callback:function(e){t.showOutAction=e},expression:"showOutAction"}}),e("checkDesignerVue",{directives:[{name:"show",rawName:"v-show",value:t.showPopup,expression:"showPopup"}],attrs:{designerlist:JSON.stringify(t.departmentArr),title:"指派人员",select:4,isdepart:1,assignType:t.curItemObj.assign_type,showval:t.curItemObj.assigned_personnel},on:{onSearch:t.designerfun,submit:t.submitDesigner},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}})],1)},F=[],O=function(){var t=this,e=t._self._c;return e("div",{staticClass:"datasurveybox"},[e("div",{staticClass:"surveybox"},[e("div",{staticClass:"clearfix"},[e("div",{staticClass:"pull-left leftsurveytext"},[e("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/survey.png"}}),e("div",{staticClass:"pull-left lh48"},[t._v("数据概况")])]),e("div",{staticClass:"pull-right rightsurveybtn bgF0F4F7 fontfpr color384855 font24 radius10 clearfix"},[e("div",{class:{nowsurvey:"1"==t.numtype},on:{click:function(e){return t.numtypetap("1")}}},[t._v(" 今日 ")]),e("div",{class:{nowsurvey:"2"==t.numtype},on:{click:function(e){return t.numtypetap("2")}}},[t._v(" 昨天 ")]),e("div",{class:{nowsurvey:"7"==t.numtype},on:{click:function(e){return t.numtypetap("7")}}},[t._v(" 近7日 ")]),e("div",{class:{nowsurvey:"30"==t.numtype},on:{click:function(e){return t.numtypetap("30")}}},[t._v(" 近一月 ")]),e("div",{class:{nowsurvey:"other"==t.numtype},on:{click:function(e){return t.numtypetap("other")}}},[t._v(" 其他 ")]),e("div",{class:{nowsurvey:""==t.numtype},on:{click:function(e){return t.numtypetap("")}}},[t._v("累计")])])]),e("div",{staticClass:"surveynumbox clearfix padding-bottom-20"},[e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(t._s(t.customerobj&&t.customerobj.asg_num?t.customerobj.asg_num:0))]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("指派客户")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(t._s(t.customerobj&&t.customerobj.measure_num?t.customerobj.measure_num:0))]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("量房")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(t._s(t.customerobj&&t.customerobj.toshop_num?t.customerobj.toshop_num:0))]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v("到店")])]),e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(t._s(t.customerobj&&t.customerobj.deposit_num?t.customerobj.deposit_num:0))]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v(t._s(t.deliveryTagText))])])]),e("div",{staticClass:"surveynumbox clearfix additional"},[e("div",{staticClass:"width25 pull-left center"},[e("div",{staticClass:"lh48 font40 familyimpact"},[t._v(t._s(t.customerobj&&t.customerobj.sing_num?t.customerobj.sing_num:0))]),e("div",{staticClass:"fontfpr color384855 font24 lh34 mgt6"},[t._v(t._s(t.signTagText))])])])])])},U=[],P={data(){return{numtype:""}},props:["customerobj"],computed:{...Object(m["mapState"])({clientype:t=>t.clientype}),deliveryTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"交定":"签单"},signTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"签单":"转单"}},methods:{numtypetap:function(t){"other"==t?(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.showSelect=!0):(this.numtype=t,this.$parent.$parent.numtype=t,this.$parent.$parent.topdatafun())}}},Q=P,R=(s("ffaf"),Object(g["a"])(Q,O,U,!1,null,"7d9bcb0a",null)),V=R.exports,L=function(){var t=this,e=t._self._c;return e("div",{staticClass:"followed-up-item relative"},[e("div",{staticClass:"followed-up-left",on:{click:function(e){return t.clientcrmtap(t.item.id)}}},[e("div",{staticClass:"followed-up-left-top"},[e("img",{directives:[{name:"show",rawName:"v-show",value:1==t.item.sex,expression:"item.sex == 1"}],attrs:{src:s("6725"),width:"18px",height:"18px"}}),e("img",{directives:[{name:"show",rawName:"v-show",value:1!=t.item.sex,expression:"item.sex != 1"}],attrs:{src:s("922c"),alt:"女",width:"18px",height:"18px"}}),e("span",{staticClass:"font-14 ml-10 ellipsis namebox"},[t._v(t._s(t.item.name?t.item.name:"未知"))]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.level,expression:"item.level"}],staticClass:"crmlev ml-10 font20 colorFA6400 lh36 center"},[t._v(" "+t._s(t.item.level)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"待确认"==t.item.state,expression:"item.state == '待确认'"}],staticClass:"pull-left everystatebtn bgB6CADE"},[t._v(" 待确认 ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.stateNum&&t.item.stateNum.measure>0,expression:"item.stateNum && item.stateNum.measure > 0"}],staticClass:"pull-left bgFF8383 everystatebtn"},[t._v(" 量"+t._s(t.item.stateNum.measure>1?"("+t.item.stateNum.measure+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.stateNum&&t.item.stateNum.shop>0,expression:"item.stateNum && item.stateNum.shop > 0"}],staticClass:"pull-left everystatebtn bgCDB8F6"},[t._v(" 店"+t._s(t.item.stateNum.shop>1?"("+t.item.stateNum.shop+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.stateNum&&t.item.stateNum.activity>0,expression:"item.stateNum && item.stateNum.activity > 0"}],staticClass:"pull-left everystatebtn bgFFD483"},[t._v(" 活"+t._s(t.item.stateNum.activity>1?"("+t.item.stateNum.activity+")":"")+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.stateNum&&t.item.stateNum.deposit>0,expression:"item.stateNum && item.stateNum.deposit > 0"}],staticClass:"pull-left everystatebtn bgFFBC83"},[t._v(" "+t._s(t.deliveryTagText)+" ")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.stateNum&&t.item.stateNum.signed>0,expression:"item.stateNum && item.stateNum.signed > 0"}],staticClass:"pull-left everystatebtn bgff9800"},[t._v(" "+t._s(t.signOrderTagText)+" ")]),t.item.agent?e("div",{staticClass:"pull-left everystatebtn bgFF7161"},[t._v("荐")]):t._e(),e("div",{staticClass:"pull-left color9DB6CF lastdate lh36",class:t.getCurWarnning(t.item.last_visit_day)},[t._v(" "+t._s(0==t.item.last_visit_day?"今天":t.item.last_visit_day>0?t.item.last_visit_day+"天前":"")+" ")])]),e("div",{staticClass:"clearfix mgtr20"},[e("img",{staticClass:"pull-left houseicon",attrs:{src:s("aa68")}}),e("div",{staticClass:"pull-left lh40"},[e("span",{staticClass:"font-14 ellipsis communitybox pull-left"},[t._v(t._s(t.item.community_name?t.item.community_name:"未知小区"))]),e("span",{staticClass:"font-14 pull-left"},[t._v(t._s(t.item.square&&0!=t.item.square?"|"+t.item.square+"m²":"|未知面积"))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.designer&&2!=t.$store.state.personObj.org.org_type||t.item.assign_list.length,expression:"\n\t\t\t(item.designer && $store.state.personObj.org.org_type != 2) ||\n\t\t\titem.assign_list.length\n\t\t"}],staticClass:"clearfix mgtr20"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.designer&&2!=t.$store.state.personObj.org.org_type,expression:"item.designer && $store.state.personObj.org.org_type != 2"}],staticClass:"clearfix inline-block color384855 mr20"},[e("div",{staticClass:"pull-left lh32 center font20 colorfff designerbox mr12 bgffb582"},[t._v(" 设 ")]),e("div",{staticClass:"pull-left color000 font24 lh32 personamebox ellipsis"},[t._v(" "+t._s(t.item.designer&&t.item.designer.name?t.item.designer.name:"")+" ")])]),t._l(t.item.assign_list,(function(s,a){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.item.assign_list.length,expression:"item.assign_list.length"}],key:a,staticClass:"clearfix inline-block mr20"},[e("div",{staticClass:"pull-left lh32 center font20 colorfff salebox mr12 bg5AC8FA"},[t._v(" 销 ")]),e("div",{staticClass:"pull-left color000 font24 lh32 personamebox ellipsis"},[t._v(" "+t._s(s)+" ")])])}))],2),e("span",{directives:[{name:"show",rawName:"v-show",value:t.item.assign_type,expression:"item.assign_type"}],staticClass:"font24 color249DFA mt10"},[t._v("["+t._s(t.item.assign_type_name)+"]")]),e("div",{staticClass:"followed-up-left-bottom clearfix"},[t._v(" 指派时间:"+t._s(t.item.assign_time?t.item.assign_time:"未知")+" ")])]),e("div",{staticClass:"followed-up-right"},[t.outCallSystem?e("div",{staticClass:"phonebox"},[e("van-popover",{attrs:{trigger:"click",actions:t.actionsArr},on:{select:function(e){return t.onSelectFunc(e,t.item)}},scopedSlots:t._u([{key:"reference",fn:function(){return[e("img",{attrs:{src:s("87ff"),alt:"电话",width:"16px",height:"16px"}})]},proxy:!0}],null,!1,3168595473),model:{value:t.item.showPopover,callback:function(e){t.$set(t.item,"showPopover",e)},expression:"item.showPopover"}})],1):e("div",{staticClass:"phonebox",on:{click:function(e){return e.stopPropagation(),t.callphonetap(t.item.id)}}},[e("img",{attrs:{src:s("87ff"),alt:"电话",width:"16px",height:"16px"}}),e("a",{staticClass:"callphonebox",staticStyle:{display:"none"},attrs:{href:"tel:"+t.custphone},on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[e("img",{attrs:{src:s("9347"),alt:""}})])])]),e("div",{staticClass:"followed-up-right"},[e("van-button",{staticClass:"btn1 btn2",attrs:{plain:"",type:"info",size:"mini"},on:{click:function(e){return e.stopPropagation(),t.setdeportap()}}},[t._v("跟进")]),1==t.personObj.is_manager?e("van-button",{staticClass:"btn1 btn2 ml0 mt20",attrs:{plain:"",type:"info",size:"mini"},on:{click:function(e){return t.assignPerson()}}},[t._v("指派")]):t._e()],1),e("van-calendar",{attrs:{color:"#2283F4","min-date":t.minDate,"max-date":t.maxDate,"show-confirm":!1},on:{confirm:t.onvisitConfirm},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}})],1)},H=[],z=(s("c194"),s("7744")),K=(s("6d73"),s("473d")),q=(s("68ef"),s("a71a"),s("6e47")),G={components:{[o["a"].name]:o["a"],[q["a"].name]:q["a"],[K["a"].name]:K["a"],[z["a"].name]:z["a"],[l["a"].name]:l["a"],[n["a"].name]:n["a"]},props:["item","idx","from"],data(){return{crmimgflag:!0,custphone:"",loading:!1,trackflag:!1,showCalendar:!1,minDate:new Date(2010,0,31),maxDate:new Date(2050,0,31),type:"",moneytime:"",money:"",actionsArr:[{text:"外呼系统",type:1},{text:"直接拨打",type:2}]}},computed:{...Object(m["mapState"])({personObj:t=>t.personObj,outCallSystem:t=>t.outCallSystem,clientype:t=>t.clientype}),deliveryTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"定":"签"},signOrderTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"签":"转"}},methods:{getCurWarnning(t){return t>=3&&t<7?"warnning":t>=7?"danger":""},onSelectFunc(t,e){1==t.type?this.callphonetap(e.id):this.callphonetap(e.id,"Pass")},delcrm(t,e,s){1!=e&&this.$parent.$parent.delcrm(t)},clientcrmtap(t){this.$parent.$parent.activeItem=t,sessionStorage.setItem("CURCLIENTSCROLLPOSITION",this.$parent.$parent.scrollPosition),this.$router.push({path:"/customerMsg",query:{cid:t,shareval:1}})},setdeportap(t){this.trackflag=!0,this.$parent.$parent.showadd(this.idx,this.item.id)},assignPerson(){this.$emit("assign",this.item)},closetap(){this.show=!1,this.money=""},oformatDate(t){return`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`},dayDiff(t,e){let s=Math.ceil((t.getTime()-e.getTime())/864e5);return s},onvisitConfirm(t){let e=new Date;this.moneytime=this.moneytime?this.moneytime:e.getFullYear()+"/"+(1*e.getMonth()+1)+"/"+e.getDate();let s=this.oformatDate(t);this.dayDiff(new Date(this.moneytime),new Date(s))>0?this.getime(s,2):this.dayDiff(new Date(this.moneytime),new Date(s))<0&&this.getime(s,3),this.moneytime=s,this.showCalendar=!1},dothis(){},callphonetap(t,e){this.$parent.$parent.loadFlag=!0,this.$parent.$parent.callphonetap(t,e,this.idx)},addrecordfun:function(t){let e=this;if(1==e.type){if(!e.moneytime)return this.$toast("交定时间,不能为空!"),!1;if(!e.money)return this.$toast("交定金额,不能为空!"),!1}else{if(!e.moneytime)return this.$toast("签单时间,不能为空!"),!1;if(!e.money)return this.$toast("签单金额,不能为空!"),!1}this.$parent.$parent.loadFlag=!0;var s={customer_id:this.item.id,img:"",type:"",next_contact_date:"",remark:"",state:1==e.type?"已交定":"已签单",deposit_date:e.moneytime,sign_date:e.moneytime,money:e.money};Object(p["c"])(s).then(t=>{e.show=!1,t.data.code,e.$toast(t.data.msg),e.$parent.$parent.loadFlag=!1,this.$parent.$parent.mescroll.resetUpScroll()})},getime(t,e){let s=new Date(t);1==e?(s.getMonth()<=3?this.minDate=new Date(s.getFullYear()-1,10,1):this.minDate=new Date(s.getFullYear(),0,1),s.getMonth()>=9?this.maxDate=new Date(1*s.getFullYear()+1,1,31):this.maxDate=new Date(s.getFullYear(),11,30)):2==e?s.getMonth()<=3?this.minDate=new Date(s.getFullYear()-1,10,1):this.minDate=new Date(s.getFullYear(),0,1):3==e&&(s.getMonth()>=9?this.maxDate=new Date(1*s.getFullYear()+1,1,31):this.maxDate=new Date(s.getFullYear(),11,30))}},mounted(){let t=new Date,e=t.getFullYear()+"/"+(1*t.getMonth()+1)+"/"+t.getDate();this.getime(e,1)}},J=G,X=(s("0af5"),s("9682"),Object(g["a"])(J,L,H,!1,null,"1e3b1bd4",null)),W=X.exports,Z=function(){var t=this,e=t._self._c;return e("div",{staticClass:"toStoreComponent"},[t.showToStore?e("div",{staticClass:"toStoreMask"},[e("div",{staticClass:"toStoreBlock"},[e("div",{staticClass:"toStoreTitle"},[t._v("确认到店 "),e("van-icon",{attrs:{name:"clear",size:"20"},on:{click:function(e){t.showToStore=!1}}})],1),e("div",{staticClass:"toStoreContent"},[e("div",{staticClass:"toStoreItem",on:{click:function(e){t.showCalendar=!0}}},[e("div",{staticClass:"flex-sub font26"},[t._v("选择到店时间:")]),e("div",{staticClass:"flex-sub dateBox"},[e("span",[t._v(t._s(t.date))]),e("img",{attrs:{src:t.$store.state.imgUrl+"/xcx/caleimg.png"}})])]),e("div",{staticClass:"toStoreItem"},[e("div",{staticClass:"flex-sub font26"},[t._v("输入到店人数:")]),e("div",{staticClass:"flex-sub dateBox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.storeNum,expression:"storeNum"}],attrs:{type:"number",onkeyup:"value=value.replace('-','')",oninput:"if(value.length>5) value=value.slice(0,5)",placeholder:"请输入"},domProps:{value:t.storeNum},on:{input:function(e){e.target.composing||(t.storeNum=e.target.value)}}}),e("span",{staticClass:"unity"},[t._v("人")])])]),e("div",{staticClass:"toStoreItem"},[e("div",{staticClass:"flex-sub font26"},[t._v("谈单时长:")]),e("div",{staticClass:"flex-sub dateBox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.orderTime,expression:"orderTime"}],attrs:{type:"number",onkeyup:"value=value.replace('-','')",oninput:"if(value.length>5) value=value.slice(0,5)",placeholder:"请输入"},domProps:{value:t.orderTime},on:{input:function(e){e.target.composing||(t.orderTime=e.target.value)}}}),e("span",{staticClass:"unity"},[t._v("分钟")])])]),e("div",{staticClass:"textareaBox"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.remark,expression:"remark"}],attrs:{placeholder:"请输入备注"},domProps:{value:t.remark},on:{input:function(e){e.target.composing||(t.remark=e.target.value)}}})]),e("div",{staticClass:"submitBtn"},[e("van-button",{attrs:{type:"info",loading:t.loading,"loading-text":"正在提交数据..."},on:{click:t.submit}},[t._v("提交本次转化数据")])],1)])])]):t._e(),e("van-calendar",{attrs:{color:"#249EFB","min-date":t.minDate,"max-date":t.maxDate},on:{confirm:t.onConfirm},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}})],1)},$=[],tt=s("5a0c"),et=s.n(tt),st={components:{[o["a"].name]:o["a"],[K["a"].name]:K["a"]},props:{cid:{type:String|Number,default:""},index:{type:Number,default:0}},data(){return{loading:!1,showToStore:!1,showCalendar:!1,maxDate:new Date,minDate:new Date(2018,0,1),date:"",storeNum:1,orderTime:"",remark:"",next_contact_date:""}},watch:{showToStore(t){t&&(this.date=et()(new Date).format("YYYY/MM/DD"),this.storeNum=1,this.orderTime="",this.remark="")}},mounted(){this.date=et()(new Date).format("YYYY/MM/DD"),this.next_contact_date=et()(new Date).format("YYYY/MM/DD")},methods:{onConfirm(t){this.date=et()(t).format("YYYY/MM/DD"),this.showCalendar=!1},submit(){if(!this.storeNum)return this.$toast("请输入到店人数!"),!1;this.loading=!0;let t={confirm_date:this.date,customer_id:this.cid,deposit_mode:1,number_of_visitors:this.storeNum,remark:this.remark,state:"已到店",type:"",talking_order_time:this.orderTime,next_contact_date:this.next_contact_date};Object(p["c"])(t).then(t=>{this.loading=!1,0==t.data.code&&(this.$toast("确认到店成功!"),this.showToStore=!1,this.$emit("update",{state:200,index:this.index}))}).catch(t=>{this.loading=!1})}}},at=st,it=(s("b68e"),Object(g["a"])(at,Z,$,!1,null,"7b3e590b",null)),ot=it.exports,nt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"measuringRoomComponent"},[t.showmroom?e("div",{staticClass:"measuringRoomMask"},[e("div",{staticClass:"measuringRoomBlock",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"measuringRoomTitle"},[t._v("确认量房 "),e("van-icon",{attrs:{name:"clear",size:"20"},on:{click:function(e){t.showmroom=!1}}})],1),e("div",{staticClass:"measuringRoomContent"},[e("div",{staticClass:"measuringRoomItemBox"},[e("div",{staticClass:"measuringRoomItem",on:{click:function(e){t.showCalendar=!0}}},[e("div",{staticClass:"flex-sub font26"},[t._v("选择量房时间:")]),e("div",{staticClass:"flex-sub dateBox"},[e("span",[t._v(t._s(t.form.confirm_date))]),e("img",{attrs:{src:t.$store.state.imgUrl+"/xcx/caleimg.png"}})])]),e("div",{staticClass:"pull-right amountimgStyle font24",on:{click:function(e){return e.stopPropagation(),t.addrecordimgtap.apply(null,arguments)}}},[e("img",{attrs:{src:s("8a21")}}),e("input",{ref:"refrecordUpload",attrs:{type:"file",accept:"image/*",hidden:""},on:{change:function(e){return t.getImageFile(e)}}})])]),t.form.cover.length?e("div",{staticClass:"measuringRoomImgBox"},t._l(t.form.cover,(function(s,a){return e("div",{key:a,staticClass:"mrimgItem"},[e("img",{attrs:{src:`${t.imgUrl}/${s.img}`,width:"100%",height:"100%",alt:""}}),e("div",{staticClass:"delimgBox",on:{click:function(e){return t.imageDel(a)}}},[e("van-icon",{attrs:{name:"cross",size:"16",color:"#ffffff"}})],1)])})),0):t._e(),e("div",{staticClass:"textareaBox"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.form.remark,expression:"form.remark"}],attrs:{placeholder:"请输入备注"},domProps:{value:t.form.remark},on:{input:function(e){e.target.composing||t.$set(t.form,"remark",e.target.value)}}})]),e("div",{staticClass:"submitBtn"},[e("van-button",{attrs:{type:"info",loading:t.loading,"loading-text":"正在提交数据..."},on:{click:t.submit}},[t._v("提交本次转化数据 ")])],1)])])]):t._e(),e("van-action-sheet",{attrs:{round:!1,actions:t.amountarr,"close-on-click-action":!0},on:{select:t.onSelect},model:{value:t.amountshow,callback:function(e){t.amountshow=e},expression:"amountshow"}}),e("van-calendar",{attrs:{color:"#249EFB","min-date":t.minDate,"max-date":t.maxDate},on:{confirm:t.onConfirm},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}})],1)},lt=[],rt={components:{[o["a"].name]:o["a"],[l["a"].name]:l["a"],[K["a"].name]:K["a"]},props:{cid:{type:String|Number,default:""},index:{type:Number,default:0}},data(){return{loading:!1,showmroom:!1,amountshow:!1,showCalendar:!1,amountarr:[],amountext:[],fileName:"",minDate:new Date(2018,0,1),maxDate:new Date,form:{cover:[],confirm_date:"",remark:"",next_contact_date:""}}},computed:{...Object(m["mapState"])({platform:t=>t.platform,imgUrl:t=>t.imgUrl}),plaform(){return"browser"==this.platform||"windows"==this.platform||"mac"==this.platform?"pc":"mobile"},isIosOrAndroid(){var t=navigator.userAgent,e=t.indexOf("Android")>-1||t.indexOf("Adr")>-1;if(e)return 1;var s=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return s?2:0}},watch:{showmroom(t){t&&(this.form={cover:[],confirm_date:et()(new Date).format("YYYY/MM/DD"),remark:"",next_contact_date:et()(new Date).format("YYYY/MM/DD")},this.amountarr=[],this.amountext=[],this.fileName="")}},mounted(){this.form.confirm_date=et()(new Date).format("YYYY/MM/DD"),this.form.next_contact_date=et()(new Date).format("YYYY/MM/DD"),this.crmcustfun();const t=this;window.getimagefile=function(e){if(e){let s=e.split(","),a=s.map(t=>({img:"",url:t}));t.form.cover.push(...a)}}},methods:{submit(){if(!this.form.cover.length)return this.$toast("请上传量房图片!"),!1;this.loading=!0;let t=this.handleParams();Object(p["c"])(t).then(t=>{this.loading=!1,0==t.data.code&&(this.$toast("确认量房成功!"),this.showmroom=!1,this.$emit("update",{state:200,index:this.index}))}).catch(t=>{this.loading=!1})},handleParams(){let t={confirm_date:this.form.confirm_date,customer_id:this.cid,media_id:"",deposit_mode:1,measure_room_img_type:this.amountext.join(","),next_contact_date:this.form.next_contact_date,remark:this.form.remark,state:"已量房",type:"",weixin_media:!0,img:this.form.cover.map(t=>t.url).join(",")};return t},onConfirm(t){this.form.confirm_date=et()(t).format("YYYY/MM/DD"),this.showCalendar=!1},crmcustfun(){const t=this;let e={};Object(p["m"])(e).then(e=>{if(0==e.data.code){var s=e.data.data.img_type;t.amountarr=[];for(let e in s){let a={id:e,name:"上传"+s[e],color:"#384855"};t.amountarr.push(a)}}})},addrecordimgtap(){if(this.amountarr.length>1)return this.amountshow=!0,!1;this.upload()},onSelect(t){this.amountshow=!1,this.amountext.push(t.name.slice(2,t.name.length)),this.upload()},upload(){let t=9-this.form.cover.length;if(0==t)return this.$toast("最多只能选9张图片"),!1;window.android?window.android.handleSelectedImages(t):window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.handleSelectedImages&&window.webkit.messageHandlers.handleSelectedImages.postMessage(t)},getImageFile(t){let e=window.URL||window.webkitURL,s=t.target.files[0];this.form.cover.push({img:e.createObjectURL(s),file:s,id:this.form.cover.length+1})},uploadALY(t){const e=this;return new Promise((function(s,a){let i=new OSS({region:"oss-cn-hangzhou",accessKeyId:"LTAI5tHjWupJSCAycy2yVbQZ",accessKeySecret:"eNFicm77Cfq3u7ZnQyw1urFmFNpf3w",bucket:"zyzswzh",secure:!0});var o=new Date;let n=o.getFullYear()+""+(1*o.getMonth()+1)+o.getDate();e.fileName="broker/"+n+"/"+Date.now()+".jpeg",i.multipartUpload(e.fileName,t).then((function(t){s(t.name)})).catch((function(t){a(t)}))}))},imageDel(t){this.form.cover.splice(t,1)}}},ct=rt,pt=(s("b4ab"),Object(g["a"])(ct,nt,lt,!1,null,"709b72d2",null)),mt=pt.exports;let dt=[{text:"加微",type:"jiav"},{text:"交房",type:"jiaofang"},{text:"预计量房",type:"yjlf"},{text:"量房",type:"liangfang"},{text:"预计到店",type:"yjdd"},{text:"到店",type:"daodian"},{text:"预约到场",type:"yydc"},{text:"已到场",type:"daochang"},{text:"预约公司外见面",type:"yygswjm"},{text:"公司外见面",type:"gswjm"},{text:"交定",type:"jiaoding"},{text:"签单",type:"qiandan"}],ht=[{text:"加微",type:"jiav"},{text:"交房",type:"jiaofang"},{text:"预计量房",type:"yjlf"},{text:"量房",type:"liangfang"},{text:"预计到店",type:"yjdd"},{text:"到店",type:"daodian"},{text:"预约到场",type:"yydc"},{text:"已到场",type:"daochang"},{text:"预约公司外见面",type:"yygswjm"},{text:"公司外见面",type:"gswjm"},{text:"签单",type:"jiaoding"},{text:"转单",type:"qiandan"}],ut=[{id:1,name:"待确认",show:1},{id:10,name:"有效",show:1},{id:2,name:"已到店",show:1},{id:3,name:"已量房",show:1},{id:4,name:"已到场",show:1},{id:5,name:"已交定",show:1},{id:6,name:"已签单",show:1},{id:7,name:"已卖卡",show:1},{id:8,name:"预约到店",show:0},{id:9,name:"预约量房",show:0},{id:10,name:"预约活动",show:0}],ft=[{id:1,name:"待确认",show:1},{id:10,name:"有效",show:1},{id:2,name:"已到店",show:1},{id:3,name:"已量房",show:1},{id:4,name:"已到场",show:1},{id:5,name:"已签单",show:1},{id:6,name:"已转单",show:1},{id:7,name:"已卖卡",show:1},{id:8,name:"预约到店",show:0},{id:9,name:"预约量房",show:0},{id:10,name:"预约活动",show:0}],gt=[{text:"全部",type:""},{text:"加微",type:"jiav"},{text:"交房",type:"jiaofang"},{text:"预计量房",type:"yjlf"},{text:"量房",type:"liangfang"},{text:"预计到店",type:"yjdd"},{text:"到店",type:"daodian"},{text:"预约到场",type:"yydc"},{text:"已到场",type:"daochang"},{text:"预约公司外见面",type:"yygswjm"},{text:"公司外见面",type:"gswjm"},{text:"交定",type:"jiaoding"},{text:"签单",type:"qiandan"}],vt=[{text:"全部",type:""},{text:"加微",type:"jiav"},{text:"交房",type:"jiaofang"},{text:"预计量房",type:"yjlf"},{text:"量房",type:"liangfang"},{text:"预计到店",type:"yjdd"},{text:"到店",type:"daodian"},{text:"预约到场",type:"yydc"},{text:"已到场",type:"daochang"},{text:"预约公司外见面",type:"yygswjm"},{text:"公司外见面",type:"gswjm"},{text:"签单",type:"jiaoding"},{text:"转单",type:"qiandan"}],At=[{id:1,name:"全部",show:1},{id:2,name:"待确认",show:1},{id:3,name:"有效",show:1},{id:4,name:"已到店",show:1},{id:5,name:"已量房",show:1},{id:6,name:"已到场",show:1},{id:7,name:"已交定",show:1},{id:8,name:"已签单",show:1}],wt=[{id:1,name:"全部",show:1},{id:2,name:"待确认",show:1},{id:3,name:"有效",show:1},{id:4,name:"已到店",show:1},{id:5,name:"已量房",show:1},{id:6,name:"已到场",show:1},{id:7,name:"已签单",show:1},{id:8,name:"已转单",show:1}],yt=[{id:"",text:"全部",show:1},{id:1,text:"待确认",show:1},{id:10,text:"有效",show:1},{id:2,text:"已到店",show:1},{id:3,text:"已量房",show:1},{id:4,text:"已到场",show:1},{id:5,text:"已交定",show:1},{id:6,text:"已签单",show:1}],xt=[{id:"",text:"全部",show:1},{id:1,text:"待确认",show:1},{id:10,text:"有效",show:1},{id:2,text:"已到店",show:1},{id:3,text:"已量房",show:1},{id:4,text:"已到场",show:1},{id:5,text:"已签单",show:1},{id:6,text:"已转单",show:1}],Ct=[{id:"",text:"全部",show:1},{id:1,text:"待确认",show:1},{id:10,text:"有效",show:1},{id:2,text:"已到店",show:1},{id:3,text:"已量房",show:1},{id:4,text:"已到场",show:1},{id:5,text:"已交定",show:1},{id:6,text:"已签单",show:1}],bt=[{id:"",text:"全部",show:1},{id:1,text:"待确认",show:1},{id:10,text:"有效",show:1},{id:2,text:"已到店",show:1},{id:3,text:"已量房",show:1},{id:4,text:"已到场",show:1},{id:5,text:"已签单",show:1},{id:6,text:"已转单",show:1}];var Dt={searchType:dt,searchType1:ht,searchType2:ut,searchType3:ft,searchType4:gt,searchType5:vt,searchType6:At,searchType7:wt,searchType8:yt,searchType9:xt,searchType10:Ct,searchType11:bt},kt={props:{from:{type:String,default:""}},components:{[o["a"].name]:o["a"],[l["a"].name]:l["a"],[n["a"].name]:n["a"],clientContentItemVue:W,MescrollVue:c["a"],xqAddtrack:_["a"],toStore:ot,measuringRoom:mt,clientop:V,checkDesignerVue:j["a"]},data(){return{loadFlag:!0,showPopup:!1,loadshow:!1,unVisitShow:!1,showOutAction:!1,showSearch:!1,visitCount:0,indexNum:0,scrollPosition:0,keyword:"",state:"",visitId:"",custphone:"",customerlist:"",activeItem:"",shareval:"1",employee_name:"",departmentArr:null,outCallActions:[],actionsArr:[{text:"外呼系统",type:1},{text:"直接拨打",type:2}],curItemObj:{},itemData:{},datashow:!1,mescroll:null,mescrollDown:{},mescrollUp:{callback:this.crmlistfun,onScroll:this.onScroll,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:0},trackflag:!1,toptype:1,nowidx:"",nowcid:"",topheight:0,stateflag:!1,sharestate:"",sharestart_date:"",sharend_date:"",stateCalendar:!1,minDate:new Date(2015,0,1),maxDate:new Date(2030,12,31),topnumobj:null,topstart_time:"",topend_time:"",numtype:"",fixedtop:"0",showSelect:!1,showCalendar:!1,fDateVal:""}},computed:{...Object(m["mapState"])({clientype:t=>t.clientype,outCallSystem:t=>t.outCallSystem}),statearr(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?Dt.searchType6:Dt.searchType7},isIosOrAndroid(){var t=navigator.userAgent,e=t.indexOf("Android")>-1||t.indexOf("Adr")>-1;if(e)return 1;var s=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return s?2:0}},mounted(){let t=new Date;this.maxDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.getVisitCount(),this.designerfun(),this.$nextTick(t=>{this.$parent.topheight?(this.topheight=this.$parent.$refs.topref.clientHeight,this.fixedtop=this.$parent.$refs.topref.clientHeight):this.fixedtop=0})},activated(){let t=sessionStorage.getItem("CURCLIENTSCROLLPOSITION");t&&(this.mescroll.scrollTo(parseInt(t||0),0),sessionStorage.removeItem("CURCLIENTSCROLLPOSITION"))},methods:{onScroll(t,e,s){this.scrollPosition=e},onSelectFunc(t,e,s){1==t.type?this.callphonetap(e.id,"",s):this.callphonetap(e.id,"Pass",s)},searchClick(){this.showSearch=!this.showSearch,this.showSearch||(this.employee_name="")},designerfun(t){let e={};t&&(t.val||""==t.val)&&(e.keyword=t.val),this.$store.state.personObj.org&&2==this.$store.state.personObj.org.org_type?(e.from="team",e.org_type=2):e.org_type=0,Object(p["F"])(e).then(t=>{0==t.data.code&&(this.departmentArr=t.data.data)})},submitDesigner(t,e,s){this.showPopup=!1;let a={id:this.nowcid,designerId:t.join(",")};e&&!s&&(a["assign_type"]=e),Object(p["ib"])(a).then(t=>{this.loadFlag=!1,0==t.data.code&&(this.$toast(t.data.msg),this.mescroll.resetUpScroll())})},assignFunc(t){this.curItemObj=t,this.nowcid=t.id,this.showPopup=!0},opensearchtap(){this.$parent.sharesearchflag=!this.$parent.sharesearchflag,this.$nextTick(()=>{this.topheight=this.$parent.$refs.topref.clientHeight,this.fixedtop=this.$parent.$refs.topref.clientHeight})},confirmFilter(){this.fDateVal?(this.showSelect=!1,this.topdatafun()):this.$toast("请选择时间")},opensharestatetap(){this.stateflag=!0},cancelOutCallPhone(){},outCallMobile(t){let e=this.itemData.cid,s=t.name,a=this.itemData.dataObj;this.outCallBindFunc(e,s,a)},setstatetap(t){this.stateflag=!1,this.sharestate="全部"==t.name?"":t.name,this.mescroll.resetUpScroll()},opentimetap(){this.stateCalendar=!0},shareinitap(t){1===t&&(this.sharestate="",this.sharestart_date="",this.sharend_date="",this.employee_name=""),this.mescroll.resetUpScroll()},onConfirm(t){const[e,s]=t;this.showCalendar=!1,this.fDateVal=et()(e).format("YYYY-MM-DD")+"至"+et()(s).format("YYYY-MM-DD")},onConfirm1(t){const[e,s]=t;this.stateCalendar=!1,this.sharestart_date=et()(e).format("YYYY-MM-DD"),this.sharend_date=et()(s).format("YYYY-MM-DD"),this.mescroll.resetUpScroll()},crmsetoptap(){},closevisitlogtap(){},handleUpdate(t){200==t.state&&(this.visitCount=this.visitCount-1,this.customerlist.splice(t.index,1),this.customerlist.length||(this.unVisitShow=!1,this.mescroll.resetUpScroll()))},handleToStore(t,e){this.indexNum=e,this.visitId=t.id,this.$refs.toStoreEl.showToStore=!0},handleVisit(t,e){this.indexNum=e,this.visitId=t.id,this.$refs.measuringRoomEl.showmroom=!0},outCallMobileApi(t){Object(p["fb"])({id:t,type:this.isIosOrAndroid}).then(t=>{t.data.code})},callphonetap(t,e,s){this.loadFlag=!0;let a={id:t};Object(p["O"])(a).then(a=>{if(this.loadFlag=!1,0==a.data.code){let i=a.data;if(this.itemData={cid:t,dataObj:i},1==this.isIosOrAndroid)return this.outCallMobileApi(t),this.callPhoneAction(i,t),!1;if("Pass"==e)return this.outCallMobileApi(t),this.callPhoneAction(i,t),!1;s&&void 0!==s&&"undefined"!=s&&(this.nowidx=s),1==i.out_call_check?1==i.out_call_phone.length?this.outCallBindFunc(t,i.out_call_phone[0],i):(this.outCallActions=i.out_call_phone.map(t=>({name:t})),this.showOutAction=!0):(this.outCallMobileApi(t),this.callPhoneAction(i,t))}})},outCallBindFunc(t,e,s){this.loadFlag=!0,Object(p["eb"])({phone:e,customer_id:t}).then(e=>{0==e.data.code?(this.loadFlag=!1,e.data.mobile?(this.createCallElement(e.data.mobile,t),setTimeout(()=>{this.showadd(this.nowidx,t)},3e3)):(this.loadshow=!0,setTimeout(()=>{this.loadshow=!1,this.showadd(this.nowidx,t)},6e3))):(this.$toast(e.data.msg),this.loadFlag=!1)})},callPhoneAction(t,e){0==t.code&&(this.custphone=t.phone?t.phone.phone:"",this.$nextTick((function(){this.loadFlag=!1,this.createCallElement(this.custphone,e)})))},createCallElement(t,e){if(2==this.isIosOrAndroid){let e=document.createElement("a");e.href="tel:"+t,e.click(),e.remove()}else window.android.callPhone(""+e,""+t)},handleShowVisit(){this.loadFlag=!0,this.customerlist=[],this.unVisitShow=!this.unVisitShow,this.unVisitShow,this.mescroll.resetUpScroll()},crmeditap(t,e,s){"无效"!=t.state&&this.setatetap(t.state,this.nowidx),"未量房"!=t.state&&"未到店"!=t.state&&"未到场"!=t.state||(this.trackflag=!0)},getVisitCount(){let t={search_type:1,page:1,limit:10};Object(p["t"])(t).then(t=>{0==t.data.code&&(this.visitCount=t.data.count)})},mescrollInit(t){this.mescroll=t},topdatafun(){const t=this;let e=null,s=new Date;if(""==this.numtype)this.fDateVal="",this.topstart_time=this.topend_time="";else if("1"==this.numtype)this.topstart_time=this.topend_time=s.getFullYear()+"-"+(1*s.getMonth()+1)+"-"+s.getDate(),this.fDateVal="";else if("2"==this.numtype)this.fDateVal="",this.topstart_time=s.getFullYear()+"-"+(1*s.getMonth()+1)+"-"+s.getDate(),this.topend_time=this.getDatetime(s.getTime()-864e5);else if("7"==this.numtype)this.fDateVal="",this.topstart_time=s.getFullYear()+"-"+(1*s.getMonth()+1)+"-"+s.getDate(),this.topend_time=this.getDatetime(s.getTime()-5184e5);else if("30"==this.numtype)this.fDateVal="",this.topstart_time=s.getFullYear()+"-"+(1*s.getMonth()+1)+"-"+s.getDate(),this.topend_time=this.getXmonthToday(-1);else if("other"==this.numtype){let t=this.fDateVal.split("至");this.topstart_time=t[0],this.topend_time=t[1]}e={start_time:this.topstart_time,end_time:this.topend_time},Object(p["lb"])(e).then(e=>{0==e.data.code&&(t.topnumobj=e.data.data)})},getDatetime:function(t){var e=new Date(t),s=e.getFullYear()+"-",a=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",i=e.getDate()<10?"0"+e.getDate():e.getDate();return s+a+i},getXmonthToday(t){var e=new Date,s=e.getFullYear(),a=e.getMonth()+1,i=e.getDate();parseInt(a)<10&&(a="0"+a),parseInt(i)<10&&(i="0"+i),e=s+"-"+a+"-"+i;let o=Math.abs(t);var n=0;let l=0;return parseInt(a)===o?(n=parseInt(a)+1,n=n<10?"0"+n:n,l=new Date(s-1,parseInt(a),0).getDate(),i>l?parseInt(s)-1+"-"+n+"-"+l:(console.warn(parseInt(s)-1+"-"+n+"-"+i),parseInt(s)-1+"-"+n+"-"+i)):(l=new Date(s,parseInt(a),0).getDate(),n=parseInt(a)-o,n=n<10?"0"+n:n,i>l?parseInt(s)+"-"+n+"-"+l:parseInt(s)+"-"+n+"-"+i)},crmlistfun(t,e){const s=this;let a={},i="";i="vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?this.sharestate:"已签单"==this.sharestate?"已交定":"已转单"==this.sharestate?"已签单":this.sharestate,a=this.unVisitShow?{page:t.num,keyword:"",state:i,limit:10,search_type:1}:{page:t.num,keyword:this.$parent.sharekeyword?this.$parent.sharekeyword:"",state:i,limit:10,assign_start_time:this.sharestart_date,assign_end_time:this.sharend_date,employee_name:this.employee_name},1==t.num&&s.getVisitCount(),s.loadFlag=!0,Object(p["t"])(a).then(a=>{if(s.datashow=!0,s.loadFlag=!1,0==a.data.code){for(let t in a.data.data)0!=a.data.data[t].deposit_num&&(a.data.data[t].stateNum.deposit=1),0!=a.data.data[t].sign_num&&(a.data.data[t].stateNum.signed=1),a.data.data[t].addtoptime="",a.data.data[t].showPopover=!1;1===t.num&&(s.customerlist=[],s.topdatafun()),s.datashow=!0,s.customerlist=s.customerlist.concat(a.data.data),s.$nextTick(()=>{e.endSuccess(a.data.data.length)})}})},setatetap(t,e){this.customerlist[e].state=t,"已交定"==t&&(this.customerlist[e].deposit_num=1,this.customerlist[e].stateNum.deposit=1),"已签单"==t&&(this.customerlist[e].sign_num=1,this.customerlist[e].stateNum.deposit=1,this.customerlist[e].stateNum.signed=1)},delcrm(t){this.trackflag=!1,this.customerlist.splice(t,1)},showadd(t,e){this.trackflag=!0,this.nowidx=t,this.nowcid=e,this.$nextTick(()=>{this.$refs.xqaddtrack.showDialogFunc(),this.$refs.xqaddtrack.customerfun(this.nowcid)})},setstatefun(t){this.customerlist[this.nowidx].addtoptime=t}}},_t=kt,St=(s("2ba0"),s("4090"),Object(g["a"])(_t,E,F,!1,null,"1d632388",null)),Tt=St.exports,Nt=s("fa7d"),Bt={name:"customer",data(){return{caleght:"0",datashow:!1,showAction:!1,showSelect:!1,showCalendar:!1,showPopover:!1,showPopoverTwo:!1,loadFlag:!0,loadshow:!1,poolnum:0,newcrmflag:!1,showSort:!1,showOutAction:!1,sourcePopover:!1,flayfishflag:!1,callShow:!1,showDepartment:!1,isTengXun:!1,visitype:1,toptype:2,rCounts:1,activeIndex:0,activeIdx:0,appointleft:0,appointleft1:0,assignIndex:0,isContact:!1,rquestApi:!1,oloading:!0,telString:"",keyword:"",following:"",repay:"",remarkMsg:"",sourceMsg:"",sortText:"",crminfo:"",fDateVal:"",defaultVal:"",dscText:"",assignKeyword:"",showSearchBtn:!1,activeItem:null,searchflag:!1,itemDataMsg:{},sourceArray:[],minecustomer:[],customerlist:[],commoncustomerlist:[],visitarr:[],actions:[],outCallActions:[],customerArr:[],labelogArr:[],flyingFishArr:[],calllogArr:[],nowday:"",minDate:new Date(2015,0,1),maxDate:new Date(2030,12,31),maxDate1:new Date(2030,12,31),minvisitDate:new Date(2020,0,31),maxvisitDate:new Date(2030,0,31),curMaxVisitDate:new Date,totalMaxDate:new Date,appointdate:"",visitstateflag:!1,statetype:"",mescroll:null,mescrollDown:{},mescrollUp:{auto:!1,callback:this.customerlistfun,page:{num:0,size:10},onScroll:this.onScroll,htmlLoading:"",htmlNodata:"",noMoreSize:5},filterObj:{connect:"",label:"",start_date:"",end_date:"",source_id:""},searchObj:{connect:"",start_date:"",end_date:""},customerobj:{},assignCustomerTotal:{},flyingfishTotal:{},scrollTop:0,trackflag:!1,topheight:0,customersourceshow:!1,custsourcetype:"",custstatelayershow:!1,schedulelist:[],custstate:"",actionsArr:[{text:"外呼系统",type:1},{text:"直接拨打",type:2}],assignArr:[{name:"全部",type:""},{name:"已联系",type:"connect",val:"1"},{name:"未联系",type:"connect",val:"-1"},{name:"标记筛选",type:"label"},{name:"分配时间",type:"date"}],assignFishArr:[{name:"全部",type:""},{name:"已联系",type:"connect",val:"1"},{name:"未联系",type:"connect",val:"-1"},{name:"分配时间",type:"date"}],sourcearr:[{id:1,text:"自建",type:"ownadd"},{id:2,text:"资源库分配",type:"crmres"},{id:3,text:"公共库获取",type:"public"},{id:4,text:"推荐官推荐",type:"agent"},{id:5,text:"客户报名",type:"agent_crm_add"}],timeSort:[{text:"默认排序",sort:"",type:""},{text:"上次跟进时间正序",sort:"asc",type:"following"},{text:"上次跟进时间倒序",sort:"desc",type:"following"},{text:"下次回访时间正序",sort:"asc",type:"repay"},{text:"下次回访时间倒序",sort:"desc",type:"repay"}],poolstatetext:"",poolstate:!1,visitime:"",unvisitflag:!1,nowmonth:"",nowcid:"",nowitem:{},nidx:"0",unVisitCount:0,visitnum:0,allCount:0,newcrmarr:[],lastcrm:"",mylastcrm:"",phoneflag:!1,firstid:"",load:!1,page:1,gotolastflag:!1,nowtoptype:0,topdate:new Date,poolsearchflag:!1,poolkeyword:"",platform:"",numtype:"",levelarr:["A","B","C","D"],nowlev:"",crmlevelayershow:!1,docmHeight:document.documentElement.clientHeight||document.body.clientHeight,showHeight:document.documentElement.clientHeight||document.body.clientHeight,hideshow:!0,resourcestext:"",signarr:[],signtextstr:"",signflag:!1,signcid:"",signidx:"",assignidx:"",assignflag:!1,assignCalendar:!1,sharesearchflag:!1,sharekeyword:""}},components:{MescrollVue:c["a"],[r["a"].Component.name]:r["a"].Component,[l["a"].name]:l["a"],[n["a"].name]:n["a"],[o["a"].name]:o["a"],crmtopnum:A,customerReporting:I,xqAddtrack:_["a"],client:Tt,assignTotal:k,checkDesignerVue:j["a"]},computed:{...Object(m["mapState"])({clientype:t=>t.clientype,outCallSystem:t=>t.outCallSystem}),deliveryTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"定":"签"},signOrderTagText(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?"签":"转"},defaultDateVal(){return this.fDateVal&&this.fDateVal.indexOf(" - ")>-1?[new Date(this.fDateVal.split(" - ")[0]),new Date(this.fDateVal.split(" - ")[1])]:this.defaultVal&&this.defaultVal.indexOf(" - ")>-1?[new Date(this.defaultVal.split(" - ")[0]),new Date(this.defaultVal.split(" - ")[1])]:[null,null]},statearr(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?Dt.searchType2:Dt.searchType3},actionColumns(){return"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?Dt.searchType4:Dt.searchType5},isIosOrAndroid(){var t=navigator.userAgent,e=t.indexOf("Android")>-1||t.indexOf("Adr")>-1;if(e)return 1;var s=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return s?2:0}},methods:{getCurWarnning(t){return t>=3&&t<7?"warnning":t>=7?"danger":""},designerfun(t){let e={};t&&(t.val||""==t.val)&&(e.keyword=t.val),t&&2==t.type&&(e.org_type=1),Object(p["F"])(e).then(e=>{0==e.data.code&&2==t.type&&(this.departmentArr=e.data.data)})},submitdepart(t){this.$toast.loading({duration:0,message:"加载中...",forbidClick:!0});let e={customer_id:this.activeItem,employee_id:t};Object(p["J"])(e).then(t=>{this.$toast.clear(),0==t.data.code?(this.$toast(t.data.msg),this.mescroll.resetUpScroll()):this.$toast(t.data.msg)})},getSourcelist(){Object(p["W"])({}).then(t=>{0==t.data.code&&(this.isFishBol=t.data.data.fish,this.isTengXun=t.data.data.tx)})},copyphonetap(t,e){const s=this;s.loadFlag=!0;let a={id:e.id};Object(p["O"])(a).then(t=>{s.loadFlag=!1,0==t.data.code&&s.createCallElement(t.data.phone.phone,e.id)})},onSelectFunc(t,e,s,a){1==a?1==t.type?this.callphonetap(e,s):this.callphonetap(e,s,"Pass"):1==t.type?this.callphonetap1(e,s):this.callphonetap1(e,s,"","Pass")},getPhonePass(t){let e=JSON.parse(JSON.stringify(t)).toString();return`${e.substring(0,3)}******${e.substring(9,12)}`},copyText(t,e){Nt["a"].handleClipboard(e,t,this)},setassigntap(t,e){1==e?(this.assignflag=!1,this.resourcestext=t,this.filterObj.label=t,this.mescroll.resetUpScroll()):(this.sourcePopover=!1,this.sourceMsg="全部"==t.source?"":t.source,this.filterObj.source_id=t.id,this.mescroll.resetUpScroll())},closesigntap(){this.flayfishflag=!1,this.signflag=!1,this.signtextstr="",this.signcid="",this.signidx="",this.assignidx="",this.dscText="",this.isContact&&(this.assignIndex||0==this.assignIndex)&&(this.customerArr.splice(this.assignIndex,1),this.isContact=!1,this.$forceUpdate())},setsignidxtap(t,e){this.signidx=t,"有效"==e?(this.dscText=`#${e}#`,this.signtextstr=""):(this.dscText="",this.signtextstr=`#${e}#`)},addsigntap(){const t=this;let e=this.dscText?this.dscText+this.signtextstr:this.signtextstr,s={cid:this.signcid,v:e};Object(p["e"])(s).then(e=>{0==e.data.code&&(t.$toast(e.data.msg),t.mescroll.resetUpScroll()),t.closesigntap()})},getlabelog(t){Object(p["U"])({cid:t}).then(t=>{0==t.data.code&&(this.labelogArr=t.data.data)})},getCallArrlog(t){Object(p["V"])({cid:t}).then(t=>{0==t.data.code&&(this.calllogArr=t.data.data,this.callShow=!0)})},refunCustomer(){if(!this.remarkMsg)return this.$toast("请输入备注信息"),!1;this.$toast.loading({duration:0,message:"加载中...",forbidClick:!0}),Object(p["K"])({customer_id:this.activeItem,remark:this.remarkMsg}).then(t=>{this.$toast.clear(),0==t.data.code&&(this.remarkMsg="",this.$toast(t.data.msg),this.flayfishflag=!1,this.mescroll.resetUpScroll())}).catch(t=>{this.$toast.clear()})},callphonetap1(t,e,s,a){if(this.activeItem=e.id,1==s)return this.firstid="",this.signcid=e.id,this.assignidx=t,this.signflag=!0,this.labelogArr=[],this.getlabelog(e.id),"2"==this.toptype?this.lastcrm=e.id:this.mylastcrm=e.id,!1;this.loadFlag=!0,this.signcid=e.id,this.assignidx=t;let i={id:e.id};Object(p["O"])(i).then(s=>{if(this.loadFlag=!1,0==s.data.code){let i=s.data;if(this.itemDataMsg={id:e.id,item:e,idx:t,dataObj:i,type:2},1==this.isIosOrAndroid)return this.callPhoneFunc1(t,e,i),!1;if("Pass"==a)return this.callPhoneFunc1(t,e,i),!1;1==i.out_call_check?1==i.out_call_phone.length?this.getOutCallPhone(t,e,i.out_call_phone[0],i,2):(this.outCallActions=i.out_call_phone.map(t=>({name:t})),this.showOutAction=!0):this.callPhoneFunc1(t,e,i)}})},outCallMobileApi(t,e){Object(p["fb"])({id:t.id,type:this.isIosOrAndroid}).then(t=>{0==t.data.code&&(this.assignIndex=e,this.isContact=!0)})},callPhoneFunc1(t,e,s){const a=this;if(this.firstid="","2"==this.toptype?this.lastcrm=e.id:this.mylastcrm=e.id,0==s.code){var i=s.phone;a.customerArr[t].custphone=i.phone,a.phoneflag=!0,a.$nextTick((function(){a.loadFlag=!1,a.outCallMobileApi(e,t),a.createCallElement(i.phone,e.id),setTimeout(()=>{a.signflag=!0},600)}))}},clueAssignFun(t,e,s){if(this.activeItem=e.id,0==s)return this.oloading&&(this.oloading=!1,setTimeout(()=>{this.oloading=!0},800),this.$router.push({path:"/clueMsg",query:{cid:e.id}})),!1;if(1==s){if(1==e.is_allocation)return this.$toast("当前线索已转化为有效线索"),!1;this.flayfishflag=!0,this.callShow=!1,this.getCallArrlog(e.id)}else 3==s?this.showDepartment=!0:4==s?r["a"].confirm({title:"线索转化",message:"确认转化为有效线索?"}).then(()=>{this.$toast.loading({duration:0,message:"加载中...",forbidClick:!0}),Object(p["I"])({customer_id:this.activeItem}).then(t=>{this.$toast.clear(),0==t.data.code&&(this.$toast(t.data.msg),this.mescroll.resetUpScroll())})}).catch(()=>{}):(this.$toast.loading({duration:0,message:"加载中...",forbidClick:!0}),Object(p["l"])({customer_id:e.id}).then(t=>{this.$toast.clear(),0==t.data.code?this.createCallElement(t.data.mobile,e.id):this.$toast(t.data.msg)}))},resignfun(){const t=this;let e={};Object(p["f"])(e).then((function(e){0==e.data.code&&(t.signarr=e.data.data)}))},switchFunc(t,e,s){1==s?(this.activeIndex=e,this.filterObj.connect="","connect"==t.type?this.filterObj.connect=t.val:"label"==t.type?(this.appointleft=Math.abs(this.$refs.assginElement.offsetLeft-this.$refs.assginElement.scrollLeft),this.assignflag=!0):"date"==t.type?this.assignCalendar=!0:"source_id"==t.type&&(this.appointleft1=Math.abs(this.$refs.assginElement.offsetLeft-this.$refs.assginElement.scrollLeft),this.sourcePopover=!0),"connect"!=t.type&&"date"!=t.type&&""!==t.type||(this.filterObj.label="",this.resourcestext=""),"label"!=t.type&&"connect"!=t.type&&""!==t.type||(this.filterObj.start_date="",this.filterObj.end_date=""),"connect"==t.type&&this.mescroll.resetUpScroll(),""===t.type&&(this.filterObj={connect:"",label:"",start_date:"",end_date:""},this.mescroll.resetUpScroll())):(this.activeIdx=e,this.searchObj.connect="","connect"==t.type?this.searchObj.connect=t.val:"date"==t.type&&(this.assignCalendar=!0),"connect"!=t.type&&""!==t.type||(this.searchObj.start_date="",this.searchObj.end_date=""),"connect"==t.type&&this.mescroll.resetUpScroll(),""===t.type&&(this.searchObj={connect:"",start_date:"",end_date:""},this.mescroll.resetUpScroll()))},setleveltap(){this.crmlevelayershow=!0},closecustleveltap(){this.crmlevelayershow=!1},custleveltap(t){this.nowlev=t,this.crmlevelayershow=!1,this.countfun(),this.mescroll.resetUpScroll()},handleSort(){this.showSort=!this.showSort},onConfirm1(t){const[e,s]=t;this.assignCalendar=!1,4==this.toptype&&(this.filterObj.start_date=et()(e).format("YYYY-MM-DD"),this.filterObj.end_date=et()(s).format("YYYY-MM-DD")),6==this.toptype&&(this.searchObj.start_date=et()(e).format("YYYY-MM-DD"),this.searchObj.end_date=et()(s).format("YYYY-MM-DD")),this.mescroll.resetUpScroll()},onConfirm(t){const[e,s]=t;this.showCalendar=!1,this.fDateVal=`${et()(e).format("YYYY/MM/DD")} - ${et()(s).format("YYYY/MM/DD")}`,this.mescroll.resetUpScroll()},confirmFilter(){this.fDateVal?(this.showSelect=!1,this.mescroll.resetUpScroll()):this.$toast("请选择时间")},handleSortlist(t){t.sort?("following"==t.type?this.repay="":this.following="",this.sortText=t.text.substring(2),this[t.type]=t.sort,this.mescroll.resetUpScroll(),this.showSort=!1):(this.sortText="",this.following="",this.repay="",this.showSort=!1,this.mescroll.resetUpScroll())},crmsetoptap(t,e,s){const a=this;if(1==s)if(2==a.toptype){a.customerlist[t].addtoptime="2021";var i=a.customerlist.splice(t,1);a.customerlist.unshift(i[0])}else{a.minecustomer[t].addtoptime="2021";i=a.minecustomer.splice(t,1);a.minecustomer.unshift(i[0])}else 2==a.toptype?a.customerlist[t].addtoptime="":a.minecustomer[t].addtoptime="",a.mescroll.resetUpScroll()},newcrmtap(){this.newcrmflag=!0,this.mescroll.resetUpScroll()},showcaletap(){let t=new Date;t.getFullYear(),t.getMonth(),t.getDate();if(this.unvisitflag=!this.unvisitflag,this.unvisitflag){setTimeout(()=>{this.caleght=this.$refs.allpage.clientHeight-(1*this.$refs.topref.clientHeight+300)},200);let e=t.getFullYear()+"/"+(1*t.getMonth()+1)+"/"+t.getDate();this.topdate=new Date(e),this.rCounts=1,this.rquestApi=!1,setTimeout(()=>{this.rCounts=0},600);let s=this.getCurMinVisitDate(this.visitime),a=this.getCurMaxVisitDate(this.visitime);this.minvisitDate=new Date(parseInt(s[0]),parseInt(s[1]),parseInt(s[2])),this.curMaxVisitDate=new Date(parseInt(a[0]),parseInt(a[1]),parseInt(a[2])),this.$nextTick(t=>{setTimeout(()=>{let t=this.visitime.split("/");t[1]=t[1]-1,this.$refs.topcalendar.scrollToDate(new Date(t[0],t[1],t[2]))},300)})}},getCurMinVisitDate(t){let e=t.split("/"),s=e[0],a=e[1],i=e[2];return 1==a&&(a=11,s-=1),a--,[s,a,i]},getCurMaxVisitDate(t){let e=t.split("/"),s=e[0],a=e[1],i=e[2];return 12==a&&(a=0,s=parseInt(s)+1),[s,a,i]},monthshowtap(t){const e=this;if("min"===t.type){let i=new Date(t.date);var s=1==i.getMonth()?11:0==i.getMonth()?10:i.getMonth()-2,a=i.getMonth()<=1?i.getFullYear()-1:i.getFullYear();let o=0==i.getMonth()?11:i.getMonth()-1,n=0==i.getMonth()?i.getFullYear()-1:i.getFullYear();i.getFullYear(),i.getMonth();let l=11==i.getMonth()?0:i.getMonth(),r=11==i.getMonth()?1*i.getFullYear()+1:i.getFullYear();this.topdate=new Date(r,l,1);let c=1*o+1;e.schedulefun(n+"-"+(c<10?"0"+c:c),0,2);let p=1*s+1;if(e.schedulefun(a+"-"+(p<10?"0"+p:p),0,2),e.minvisitDate=new Date(a,s,1),2==this.visitype){let t=new Date(this.visitime),s=t.getFullYear(),a=t.getMonth()+2,i=t.getMonth()+1;if(this.rCounts){let t=s+"-"+(a<10?"0"+a:a),o=s+"-"+(i<10?"0"+i:i);return void(this.rquestApi||(this.rquestApi=!0,e.schedulefun(t,0,2),e.schedulefun(o,0,2)))}}}else{let s=new Date(t.date),a=s.getFullYear(),i=s.getMonth()+1,o=(s.getDate(),new Date(this.visitime));o.getFullYear(),o.getMonth();if(this.rCounts)return;let n=i+1>12?1:i+1,l=i+1>12?a+1:a,r=l+"/"+(n<10?"0"+n:n),c=n+1>12?1:n+1,p=n+1>12?l+1:l,m=p+"/"+(c<10?"0"+c:c),d=c+1>12?1:c+1,h=c+1>12?p+1:p,u=h+"/"+(d<10?"0"+d:d),f=new Date(u+"/01").getTime(),g=new Date(this.maxvisitDate).getTime();g-f>0?(e.schedulefun(a+"-"+(i<10?"0"+i:i),0,2),e.schedulefun(r.split("/").join("-"),0,2),e.schedulefun(m.split("/").join("-"),0,2),e.schedulefun(u.split("/").join("-"),0,2),this.curMaxVisitDate=new Date(p,c,1)):g-f>=-43568e5?(e.schedulefun(r.split("/").join("-"),0,2),e.schedulefun(m.split("/").join("-"),0,2),e.schedulefun(u.split("/").join("-"),0,2),this.curMaxVisitDate=this.maxvisitDate):this.curMaxVisitDate=this.maxvisitDate}},oformatDate(t){return`${t.getFullYear()}/${t.getMonth()+1}/${t.getDate()}`},formatter(t,e){const s=this;let a=1*t.date.getMonth()+1,i=t.date.getDate(),o=t.date.getFullYear(),n=o+"/"+(a<10?"0"+a:a)+"/"+(i<10?"0"+i:i),l=s.schedulelist,r=new Date;s.nowday=r.getFullYear()+"/"+(1*r.getMonth()+1)+"/"+r.getDate();let c=!1;for(let p in l){let e=p.split("-").join("/");n==e&&(t.type="",t.topInfo=l[p],c=!0)}return c||(t.type="disabled"),0==s.utils.dayDiff(new Date(n.split("-").join("/")),new Date(s.nowday.split("-").join("/")))&&(t.text="今天",t.type=""),s.utils.dayDiff(new Date(n.split("-").join("/")),new Date(s.nowday.split("-").join("/")))<0&&"disabled"!=t.type&&(t.className="nowvisitdate"),setTimeout(()=>{for(let e in l){let s=e.split("-").join("/");n==s&&"disabled"==t.type&&(t.type="",t.topInfo=l[e])}},550),t},onvisitConfirm(t){this.unvisitflag=!1,this.visitarr=[],this.visitime=this.oformatDate(t);for(var e=0;e<7;e++){var s=this.getdate(e,this.visitime);this.visitarr.push(s)}this.confirmListfun(),this.mescroll.resetUpScroll()},setoptap(t,e,s){const a=this;this.firstid="";let i={type:1==this.toptype?2:1,id:e};Object(p["B"])(i).then((function(e){if(0==e.data.code)if(1==s)if(2==a.toptype&&0!=t?a.lastcrm=a.customerlist[t-1].id:0!=t?a.mylastcrm=a.minecustomer[t-1].id:2==a.toptype&&0==t?a.lastcrm=a.customerlist[0].id:a.mylastcrm=a.minecustomer[0].id,2==a.toptype){a.customerlist[t].addtoptime="2021";var i=a.customerlist.splice(t,1);a.customerlist.unshift(i[0])}else{a.minecustomer[t].addtoptime="2021";i=a.minecustomer.splice(t,1);a.minecustomer.unshift(i[0])}else 2==a.toptype?(a.customerlist[t].addtoptime="",a.lastcrm=0==t?a.customerlist[1].id:a.customerlist[t-1].id):(a.minecustomer[t].addtoptime="",a.mylastcrm=0==t?a.minecustomer[1].id:a.minecustomer[t-1].id),a.mescroll.resetUpScroll()}))},customermsgtap:function(t,e){if(this.firstid="","2"==this.toptype?this.lastcrm=t:this.mylastcrm=t,"browser"==this.platform){var s=CryptoJS.AES.encrypt(t+"_志远装饰",CryptoJS.enc.Utf8.parse(this.$store.state.PUBLIC_KEY),{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7}).toString();this.$router.push({name:"customermsg",query:{cid:escape(s),idx:e,platform:this.$store.state.platform}})}else this.oloading&&(this.oloading=!1,setTimeout(()=>{this.oloading=!0},800),this.$router.push({path:"/customerMsg",query:{cid:t,idx:e}}))},closenewcrmtap(){this.newcrmflag=!1,this.schedulelist=[],this.schedulefun(this.visitime,1,2),this.mescroll.resetUpScroll()},closevisitlogtap(){this.schedulelist=[],this.schedulefun(this.visitime,1,2),2==this.toptype&&this.mescroll.resetUpScroll(),1==this.toptype&&(this.minecustomer[this.nidx].is_new=0)},crmeditap(t,e,s){const a=this;"未量房"!=t.state&&"未到店"!=t.state&&"未到场"!=t.state||(this.trackflag=!0),"已交定"==t.state?1==this.toptype?this.minecustomer[s].stateNum.deposit=1:2!=this.toptype||this.newcrmflag||(this.customerlist[s].stateNum.deposit=1):"已签单"==t.state&&(1==this.toptype?(this.minecustomer[s].stateNum.deposit=1,this.minecustomer[s].stateNum.signed=1):2!=this.toptype||this.newcrmflag||(this.customerlist[s].stateNum.deposit=1,this.customerlist[s].stateNum.signed=1)),2==this.toptype&&this.newcrmflag?(this.trackflag=!1,this.newcrmarr.splice(s,1),this.unVisitCount=this.unVisitCount-1,this.lastcrm=0!=this.newcrmarr.length?0!=s?this.newcrmarr[s-1].id:this.newcrmarr[0].id:""):1==this.toptype&&(this.minecustomer[s].stateNum.count=1*this.minecustomer[s].stateNum.count+1,this.minecustomer[s].is_new=0),"预约回访"!=t.state||2!=this.toptype||this.newcrmflag||(this.lastcrm=0!=this.customerlist.length?0!=s?this.customerlist[s-1].id:this.customerlist[0].id:"");let i=new Date;if(2==this.toptype&&(this.minvisitDate=new Date(i.getFullYear(),i.getMonth(),1),this.timelimitfun()),"预约"==t.state.slice(0,2)&&2==this.toptype){this.mescroll.resetUpScroll();for(let t in a.visitarr)1==a.visitarr[t].now&&(a.visitarr[t].crmnum=a.visitarr[t].crmnum-1)}},delcrm(t,e,s){1==e?1==this.toptype?this.minecustomer[t].addtoptime=s:2==this.toptype&&(this.customerlist[t].addtoptime=s):(this.trackflag=!1,1==this.toptype?(this.minecustomer.splice(t,1),this.mylastcrm=t<=this.minecustomer.length&&t-1>=0?this.minecustomer[t-1].id:""):2==this.toptype&&(this.newcrmflag||(this.customernum--,this.customerlist.splice(t,1),this.lastcrm=0!=this.customerlist.length?0!=t?this.customerlist[t-1].id:this.customerlist[0].id:""),this.schedulefun(this.visitime,1,2),this.mescroll.resetUpScroll()),this.countfun())},addtracktap:function(t,e,s){"2"==this.toptype?this.lastcrm=t:this.mylastcrm=t,this.nidx=s,this.firstid="",this.trackflag=!0,this.nowcid=t,this.nowitem=e,this.$nextTick(s=>{this.$refs.xqaddtrack.showDialogFunc(e.subscribe_state),this.$refs.xqaddtrack.customerfun(t)})},callphonetap(t,e,s){this.loadFlag=!0;let a={id:e.id};Object(p["O"])(a).then(a=>{if(this.loadFlag=!1,0==a.data.code){let i=a.data;if(this.itemDataMsg={id:e.id,item:e,idx:t,dataObj:i,type:1},1==this.isIosOrAndroid)return this.callPhoneFunc(t,e,i),!1;if("Pass"==s)return this.callPhoneFunc(t,e,i),!1;1==i.out_call_check?1==i.out_call_phone.length?this.getOutCallPhone(t,e,i.out_call_phone[0],i,1):(this.outCallActions=i.out_call_phone.map(t=>({name:t})),this.showOutAction=!0):this.callPhoneFunc(t,e,i)}})},getOutCallPhone(t,e,s,a,i){Object(p["eb"])({phone:s,customer_id:e.id}).then(s=>{0==s.data.code?(this.loadFlag=!1,this.isContact=!0,this.assignIndex=t,2==i&&(this.signflag=!0),s.data.mobile?(this.createCallElement(s.data.mobile,e.id),1==i&&setTimeout(()=>{this.addtracktap(e.id,e,t)},3e3)):(this.loadshow=!0,setTimeout(()=>{this.loadshow=!1,1==i&&this.addtracktap(e.id,e,t)},6e3))):this.$toast(s.data.msg)})},callPhoneFunc(t,e,s){const a=this;if(this.firstid="","2"==this.toptype?this.lastcrm=e.id:this.mylastcrm=e.id,0==s.code){var i=s.phone;!i.phone||i.phone1||i.phone2||"browser"==a.$store.state.platform?(a.loadFlag=!1,a.actions=[],Object.keys(i).forEach(t=>{i[t]&&a.actions.push({name:i[t]})}),a.showAction=!0):("2"==a.toptype?1==this.newcrmflag?a.newcrmarr[t].custphone=i.phone:a.customerlist[t].custphone=i.phone:"1"==a.toptype&&(a.minecustomer[t].custphone=i.phone),a.phoneflag=!0,a.$nextTick((function(){a.loadFlag=!1,this.outCallMobileApi(e,t),this.createCallElement(i.phone,e.id),setTimeout(()=>{a.addtracktap(e.id,e,t)},3e3)})))}},createCallElement(t,e){2==this.isIosOrAndroid?(this.telString=t,setTimeout(()=>{this.$refs.callMobileEle.click()},300)):window.android.callPhone(""+e,""+t)},cancelCallPhone(){this.addtracktap(this.itemDataMsg.id,this.itemDataMsg.item,this.itemDataMsg.idx)},cancelOutCallPhone(){let t=this.itemDataMsg.type;1==t?this.addtracktap(this.itemDataMsg.id,this.itemDataMsg.item,this.itemDataMsg.idx):this.callPhoneFunc1(this.itemDataMsg.idx,this.itemDataMsg.item,this.itemDataMsg.dataObj)},callMobile(t){"browser"!=this.$store.state.platform&&(this.createCallElement(t.name,this.itemDataMsg.id),this.addtracktap(this.itemDataMsg.id,this.itemDataMsg.item,this.itemDataMsg.idx))},outCallMobile(t){if("browser"!=this.$store.state.platform){let e=this.itemDataMsg.idx,s=this.itemDataMsg.item,a=t.name,i=this.itemDataMsg.dataObj,o=this.itemDataMsg.type;this.getOutCallPhone(e,s,a,i,o)}},retracetap:function(t,e){this.minecustomer.length||(localStorage.removeItem(this.$store.state.clientype+"minecrm"),localStorage.removeItem("minecrm"));const s=this;r["a"].confirm({title:"提示",message:"您确认要获取这个客户吗?"}).then(()=>{s.loadFlag=!0,s.transferfun(t,e)}).catch(()=>{})},transferfun:function(t,e){let s=this,a={customer_id:t};var i=s.commoncustomerlist;Object(p["z"])(a).then(t=>{0==t.data.code&&(s.$toast("获取成功!"),i.splice(e,1),s.commoncustomerlist=i),s.loadFlag=!1})},poolstatetap(){this.poolstate=!0},closepoolstatetap(){this.poolstate=!1},setpoolstatetap(t){this.poolstatetext=t,this.poolstate=!1,this.mescroll.resetUpScroll()},opensearchtap(){const t=this;this.searchflag=!this.searchflag,this.$nextTick(()=>{t.topheight=t.$refs.topref.clientHeight})},setSearchEle(){this.showSearchBtn=!this.showSearchBtn,this.$nextTick(()=>{this.topheight=this.$refs.topref.clientHeight})},custstatetap(t){this.custstate=t,this.custstatelayershow=!1,this.mescroll.resetUpScroll()},closecustsourcetap(){this.customersourceshow=!1,this.custstatelayershow=!1},setcustomersourcebox(t){this.custsourcetype=t,this.customersourceshow=!1,this.mescroll.resetUpScroll()},setcusttexttap(){this.custstatelayershow=!0},setcustsourcetap(){this.customersourceshow=!0},countfun:function(){const t=this;let e={};e="other"==this.numtype?{type:"none",start_date:this.fDateVal.split(" - ")[0],end_date:this.fDateVal.split(" - ")[1]}:{date:this.numtype},Object(p["y"])(e).then(e=>{0==e.data.code&&(t.customerobj=e.data.data)})},assignTotalfun:function(){const t=this;let e={};e="other"==this.numtype?{type:"none",start_date:this.fDateVal.split(" - ")[0],end_date:this.fDateVal.split(" - ")[1]}:"today"==this.numtype?{start_date:et()(new Date).format("YYYY/MM/DD"),end_date:et()(new Date).format("YYYY/MM/DD")}:"yesterday"==this.numtype?this.getLastDate():"serven"==this.numtype?this.getWeekDate():"month"==this.numtype?this.getMonthDate():{start_date:"",end_date:""},Object(p["g"])(e).then(e=>{0==e.data.code&&(t.assignCustomerTotal=e.data.data,t.assignCustomerTotal.billsec=parseInt(t.assignCustomerTotal.billsec/60))})},flyingfishTotalFun:function(){const t=this;let e={};e="other"==this.numtype?{start_date:this.fDateVal.split(" - ")[0],end_date:this.fDateVal.split(" - ")[1]}:"today"==this.numtype?{start_date:et()(new Date).format("YYYY/MM/DD"),end_date:et()(new Date).format("YYYY/MM/DD")}:"yesterday"==this.numtype?this.getLastDate():"serven"==this.numtype?this.getWeekDate():"month"==this.numtype?this.getMonthDate():{start_date:"",end_date:""},e.type="6"==this.toptype?1:2,Object(p["nb"])(e).then(e=>{0==e.data.code&&(t.flyingfishTotal=e.data.data,t.flyingfishTotal.billsec=parseInt(t.assignCustomerTotal.billsec/60))})},getLastDate(){let t=new Date,e=t.getTime()-864e5,s=et()(new Date(e)).format("YYYY/MM/DD"),a=et()(new Date(e)).format("YYYY/MM/DD");return{start_date:s,end_date:a}},getWeekDate(){let t=new Date,e=t.getTime()-5184e5,s=et()(new Date(e)).format("YYYY/MM/DD"),a=et()(t).format("YYYY/MM/DD");return{start_date:s,end_date:a}},getMonthDate(){let t=new Date,e=t.getTime()-2592e6,s=et()(new Date(e)).format("YYYY/MM/DD"),a=et()(t).format("YYYY/MM/DD");return{start_date:s,end_date:a}},dothis(){},setvisitap(t){this.statetype="",this.customerlist=[],this.loadFlag=!0,this.visitype=t,this.schedulelist=[];let e=new Date;this.minvisitDate=new Date(e.getFullYear(),e.getMonth(),1),this.timelimitfun("2"),this.mescroll.resetUpScroll()},followupSchedulefun:function(t,e,s){const a=this;let i=new Date(this.visitime),o=1*i.getMonth()+1,n=t||i.getFullYear()+"-"+(o<10?"0"+o:o),l=t.split("/");t=l.length>2?l[0]+"-"+(l[1]<10?"0"+l[1]:l[1]):n;let r={date:t};Object(p["L"])(r).then((function(i){if(0==i.data.code){var o={};let r={},c=new Date(a.appointdate+"/1"),p=c.getFullYear(),m=1*c.getMonth()+1,d=p+"-"+(m<10?"0"+m:m);for(let e in i.data.data)o[e.split("-").join("/")]=i.data.data[e],r={bottomInfo:"",date:new Date(e.split("-").join("/")),text:e.split("-")[2],type:"disabled"},t!=d&&a.formatter(r,1);t==d&&(a.schedulelist={});for(let t in o)a.schedulelist[t]=o[t];if(1==e)if(2==s)for(let t in a.visitarr){let e=!1;for(let s in a.schedulelist)0==a.utils.dayDiff(new Date(s.split("-").join("/")),new Date(a.visitarr[t].date.split("-").join("/")))&&(a.visitarr[t].crmnum=a.schedulelist[s],e=!0);e||(a.visitarr[t].crmnum=0)}else{a.visitarr=[];for(var n=0;n<7;n++){var l=a.getdate(n,a.visitime);a.visitarr.push(l)}}}}))},onScroll(t,e,s){s||1==this.page||this.load||1!=this.toptype||(this.load=!0,this.precustomerfun()),this.scrollTop=e},searchtap(){5==this.toptype?this.$refs.client.mescroll.resetUpScroll():this.mescroll.resetUpScroll()},switchstatetap(t){this.toptype=t,1==t&&0==this.minecustomer.length?(this.numtype="",this.fDateVal="",this.loadFlag=!0,this.mescroll.resetUpScroll()):2==t?(this.newcrmflag=!1,this.loadFlag=!0,this.timelimitfun("2"),this.mescroll.resetUpScroll()):3==t&&0==this.commoncustomerlist.length?(this.loadFlag=!0,this.mescroll.resetUpScroll()):4==t?(this.filterObj={connect:"",label:"",start_date:"",end_date:"",source_id:""},this.resourcestext="",this.activeIndex=0,this.numtype="",this.fDateVal="",this.loadFlag=!0,this.mescroll.resetUpScroll()):6==t||7==t?(this.searchObj={connect:"",start_date:"",end_date:""},this.activeIdx=0,this.numtype="",this.fDateVal="",this.loadFlag=!0,this.mescroll.resetUpScroll()):(this.customerArr.length&&this.assignTotalfun(),this.flyingFishArr.length&&this.flyingfishTotalFun()),4==t&&this.resignfun()},visitstatap(){this.visitstateflag=!0},closevisitstate(){this.visitstateflag=!1},mescrollInit(t){this.mescroll=t},gotolasttap(){localStorage.getItem(this.$store.state.clientype+"minecrm")?(this.toptype=1,this.mylastcrm=localStorage.getItem(this.$store.state.clientype+"minecrm"),this.firstid=localStorage.getItem(this.$store.state.clientype+"minecrm"),this.nowtoptype=1):localStorage.getItem("minecrm")&&(this.toptype=1,this.mylastcrm=localStorage.getItem("minecrm"),this.firstid=localStorage.getItem("minecrm"),this.nowtoptype=1),this.gotolastflag||(this.gotolastflag=!0,this.$nextTick(t=>{let e=document.getElementsByClassName("clickborder")[0];e?(this.load=!1,this.page=1,this.firstid="",this.mescroll.scrollTo(document.getElementsByClassName("clickborder")[0].offsetTop-50,2)):this.mescroll.resetUpScroll()}))},precustomerfun(t){const e=this;let s=this.page;s=s<=1?1:s-1,this.page=s,this.phoneflag=!1,this.countfun();let a={page:s,limit:10,state:e.custstate,keyword:e.keyword,visit:"",source:e.custsourcetype,date:"",addtime:e.addcustime,id:""};Object(p["db"])(a).then(a=>{if(0==a.data.code){1==s&&(e.minecustomer=[],0==a.data.data.list.length&&(localStorage.removeItem("visitcrm"),localStorage.removeItem("minecrm"),localStorage.removeItem(this.$store.state.clientype+"minecrm")));for(let t=0;t{e.load=!1,t&&e.mescroll.scrollTo(document.getElementsByClassName("clickborder")[0].offsetTop-50,2)})}})},nowalltap(){this.custsourcetype="",this.custstate="",this.keyword="",this.mescroll.resetUpScroll()},customerlistfun(t,e){const s=this;if(this.phoneflag=!1,1==t.num&&(s.datashow=!1),3==this.toptype){let a={page:t.num,limit:10,org:s.$store.state.org_id,state:s.poolstatetext,keyword:s.poolkeyword};Object(p["A"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.poolnum=a.data.count,s.commoncustomerlist=[]);for(let t=0;t{e.endSuccess(a.data.data.length)})}setTimeout(()=>{s.loadFlag=!1},700)})}else if(2==this.toptype){if(this.newcrmflag){let a={page:t.num,limit:20};Object(p["r"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.newcrmarr=[]);for(let t=0;t{e.endSuccess(a.data.data.length)})}setTimeout(()=>{s.loadFlag=!1},700)})}else if(1==this.visitype){let a={page:t.num,limit:10,state:s.getStateName(1),keyword:"",visit:"1",source:s.sourcetype,date:s.visitime,addtime:"",id:this.gotolastflag?this.firstid:""};Object(p["db"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.customernum=a.data.data.count,s.customerlist=[]),s.visitnum=a.data.data.count;for(let t=0;t{e.endSuccess(a.data.data.list.length)})}setTimeout(()=>{s.loadFlag=!1},700)})}else if(2==this.visitype){let a={page:t.num,limit:10,state:s.statetype.slice(2,4),date:s.visitime,id:this.gotolastflag?this.firstid:""};Object(p["x"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.customerlist=[]),s.allCount=a.data.data.count;for(let t=0;t{e.endSuccess(a.data.data.list.length)})}setTimeout(()=>{s.loadFlag=!1},700)})}}else if(4==this.toptype){let a={page:t.num,limit:10,...this.filterObj,keyword:this.assignKeyword};"other"==this.numtype&&(a={...a,start_date:this.fDateVal?this.fDateVal.split(" - ")[0]:"",end_date:this.fDateVal?this.fDateVal.split(" - ")[1]:""}),1==t.num&&this.assignTotalfun(),this.loadFlag=!0,Object(p["d"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.customerArr=[]);for(let t=0;t{e.endSuccess(a.data.data.length)})}setTimeout(()=>{s.loadFlag=!1},700)})}else if(6==this.toptype||7==this.toptype){let a={page:t.num,limit:10,...this.searchObj,keyword:this.assignKeyword,type:6==this.toptype?1:2};"other"==this.numtype&&(a={...a,start_date:this.fDateVal?this.fDateVal.split(" - ")[0]:"",end_date:this.fDateVal?this.fDateVal.split(" - ")[1]:""}),1==t.num&&this.flyingfishTotalFun(),this.loadFlag=!0,Object(p["X"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.flyingFishArr=[]);for(let t=0;t{e.endSuccess(a.data.data.length)})}setTimeout(()=>{s.loadFlag=!1},700)})}else{this.countfun();let a={page:t.num,limit:10,state:s.getStateName(3),keyword:s.keyword,visit:"",source:s.custsourcetype,date:"",addtime:"",id:this.gotolastflag?this.firstid:"",following:this.following,repay:this.repay,level:this.nowlev,type:"none",start_date:this.fDateVal?this.fDateVal.split(" - ")[0]:"",end_date:this.fDateVal?this.fDateVal.split(" - ")[1]:""};Object(p["db"])(a).then(a=>{if(0==a.data.code){1===t.num&&(s.minecustomer=[],0==a.data.data.list.length&&(localStorage.removeItem("visitcrm"),localStorage.removeItem("minecrm"),localStorage.removeItem(this.$store.state.clientype+"minecrm")));for(let t=0;t{e.endSuccess(a.data.data.list.length)}),""!=this.firstid&&this.gotolastflag&&(e.setPageNum(1*a.data.page+1),this.page=a.data.page,this.firstid="",0!=a.data.page&&this.precustomerfun("156"))}setTimeout(()=>{s.loadFlag=!1},700)})}},getStateName(t){return 1==t?"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?this.statetype:"已签单"==this.statetype?"已交定":"已转单"==this.statetype?"已签单":this.statetype:3==t?"vL0CQQ"==this.clientype||"T2qxut"==this.clientype||"7Qn1dz"==this.clientype?this.custstate:"已签单"==this.custstate?"已交定":"已转单"==this.custstate?"已签单":this.custstate:void 0},confirmListfun(){const t=this;let e={page:1,limit:1,state:"",date:t.visitime,id:""};Object(p["x"])(e).then(e=>{0==e.data.code&&(t.allCount=e.data.data.count)})},statetap(t){this.statetype=t,this.visitstateflag=!1,this.mescroll.resetUpScroll()},schedulefun:function(t,e,s){if(2==this.visitype)return this.followupSchedulefun(t,e,s),!1;const a=this;let i=new Date(this.appointdate+"/1"),o=1*i.getMonth()+1,n=t||i.getFullYear()+"-"+(o<10?"0"+o:o),l=t.split("/");t=l.length>2?l[0]+"-"+(l[1]<10?"0"+l[1]:l[1]):n;let r={date:t};Object(p["rb"])(r).then((function(i){if(0==i.data.code){var o={};let r={},c=new Date(a.appointdate+"/1"),p=c.getFullYear(),m=1*c.getMonth()+1,d=p+"-"+(m<10?"0"+m:m);for(let e in i.data.data)o[e.split("-").join("/")]=i.data.data[e],r={bottomInfo:"",date:new Date(e.split("-").join("/")),text:e.split("-")[2],type:"disabled"},t!=d&&a.formatter(r,1);t==d&&(a.schedulelist={});for(let t in o)a.schedulelist[t]=o[t];if(1==e)if(2==s)for(let t in a.visitarr){let e=!1;for(let s in a.schedulelist)0==a.utils.dayDiff(new Date(s.split("-").join("/")),new Date(a.visitarr[t].date.split("-").join("/")))&&(a.visitarr[t].crmnum=a.schedulelist[s],e=!0);e||(a.visitarr[t].crmnum=0)}else{a.visitarr=[];for(var n=0;n<7;n++){var l=a.getdate(n,a.visitime);a.visitarr.push(l)}}}}))},...Object(m["mapMutations"])(["setorgid","setplatform"]),timelimitfun(t){const e=this;Object(p["q"])({}).then(s=>{if(0==s.data.code){let c=new Date;var a=c.getFullYear(),i=c.getMonth()+1,o=new Date(a,i,0).getDate();if(1==this.visitype)if(s.data.data.followup){this.appointdate=s.data.data.followup;let t=this.appointdate.split("-");e.minvisitDate=new Date(t[0],t[1]-1,1),e.maxvisitDate=new Date(t[0],t[1]-1,new Date(t[0],t[1],0).getDate())}else this.appointdate=c.getFullYear()+"-"+i,e.minvisitDate=new Date(c.getFullYear(),1*c.getMonth()+1,1),e.maxvisitDate=new Date(c.getFullYear(),c.getMonth(),o);else if(2==this.visitype)if(s.data.data.remind){this.appointdate=s.data.data.remind;let t=this.appointdate.split("-");e.minvisitDate=new Date(t[0],t[1]-1,1),e.maxvisitDate=new Date(t[0],t[1]-1,new Date(t[0],t[1],0).getDate())}else this.appointdate=c.getFullYear()+"-"+i,e.minvisitDate=new Date(c.getFullYear(),1*c.getMonth()+1,1),e.maxvisitDate=new Date(c.getFullYear(),c.getMonth(),o);this.appointdate=this.appointdate.split("-").join("/");var n=new Date,l=n.getMonth()+1,r=l+1<10?"0"+(l+1):l+1;a=n.getFullYear();12==l&&(a++,r="01"),i=i<10?"0"+i:i,2==t?(this.schedulefun(a+"-"+r,1,this.visitarr.length>0?2:1),this.schedulefun(a+"-"+i,1,this.visitarr.length>0?2:1)):(this.schedulefun(a+"-"+r,1),this.schedulefun(a+"-"+i,1))}})},setimearrtap(t){if(!this.visitarr[t].crmnum&&"今天"!=this.visitarr[t].num)return!1;for(let e in this.visitarr)e!=t&&(this.visitarr[e].now=0);this.visitarr[t].now=1,this.visitime=this.visitarr[t].date,this.confirmListfun(),this.mescroll.resetUpScroll()},getdate(t,e){let s=null;s=e?new Date(e):new Date;let a=s.getTime(),i=(s.getDay(),864e5),o=s.getMonth(),n=s.getFullYear(),l=s.getDate();this.visitime=n+"/"+(1*o+1)+"/"+l;let r={},c=0,p=0,m=["日","一","二","三","四","五","六"];if(t<3){c=3-t,p=a-c*i;new Date(p).getFullYear(),new Date(p).getMonth();let e=new Date(p).getDay();r={id:1*t+1,text:m[e],num:new Date(p).getDate(),crmnum:0,now:0,show:0,last:0}}else if(t>3){c=t-3,p=a+c*i;new Date(p).getFullYear(),new Date(p).getMonth();let e=new Date(p).getDay();r={id:1*t+1,text:m[e],num:new Date(p).getDate(),crmnum:0,now:0,show:0,last:0}}else{p=a;new Date(p).getFullYear(),new Date(p).getMonth();let e=new Date(p).getDay();r={id:1*t+1,text:m[e],num:new Date(p).getDate(),crmnum:0,now:1,show:0,last:0}}let d=new Date(p).getFullYear(),h=new Date(p).getMonth(),u=new Date(p).getDate();for(let y in this.schedulelist){let t=y.split("/");d==t[0]&&1*h+1==t[1]&&u==t[2]&&(r.crmnum=this.schedulelist[y])}let f=new Date,g=f.getFullYear(),v=f.getMonth(),A=f.getDate();g==d&&v==h&&A==u&&(r.num="今天"),r.date=d+"/"+(1*h+1)+"/"+u;var w=this.utils.dayDiff(new Date(r.date),new Date);return r.isnow=w>=0?1:0,r.last=n>d||n==d&&(o>h||l>u)?1:0,r},addcustomertap:function(){this.minecustomer.length||(localStorage.removeItem(this.$store.state.clientype+"minecrm"),localStorage.removeItem("minecrm")),this.$refs.customerReporting.handleAddCustomer()},showFieldsfun(){let t={};Object(p["mb"])(t).then(t=>{this.crminfo=t.data.data})},getUnvisitCount(){let t={page:1,limit:10};Object(p["r"])(t).then(t=>{0==t.data.code&&(this.unVisitCount=t.data.count)})}},created(){var t=this.utils.getQueryStringArgs(window.location.href);t.orgid&&this.setorgid(t.orgid),t.type&&(this.toptype=t.type),t.platform&&(this.platform=t.platform,this.setplatform(t.platform));let e=new Date;this.nowday=e.getFullYear()+"/"+(1*e.getMonth()+1)+"/"+e.getDate(),this.visitime=this.nowday,this.topdate=new Date(this.nowday),this.maxDate1=new Date(e.getFullYear(),e.getMonth(),e.getDate()),localStorage.getItem(this.$store.state.clientype+"minecrm")?this.firstid=localStorage.getItem(this.$store.state.clientype+"minecrm"):localStorage.getItem("minecrm")&&(this.firstid=localStorage.getItem("minecrm")),window.android?window.android.loadVRfinish():window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.loadfinish&&window.webkit.messageHandlers.loadfinish.postMessage("nil")},mounted(){const t=this;w["a"].$on("delcrm",(e,s,a)=>{t.delcrm(e,s,a)}),this.getSourcelist(),this.getUnvisitCount(),this.showFieldsfun(),this.designerfun({type:2}),this.topheight=this.$refs.topref.clientHeight,window.onresize=()=>(()=>{this.utils.ismobilephone()&&(this.showHeight=document.documentElement.clientHeight||document.body.clientHeight)})()},beforeDestroy(){window.onresize=()=>{}},beforeRouteEnter(t,e,s){null==e.name||"addcustomer"==e.name?t.meta.isBack=!0:t.meta.isBack=!1,s()},watch:{mylastcrm(t,e){e||t!=localStorage.getItem(this.$store.state.clientype+"minecrm")?""!=t&&(localStorage.removeItem("visitcrm"),localStorage.removeItem(this.$store.state.clientype+"minecrm"),localStorage.setItem(this.$store.state.clientype+"minecrm",t)):(localStorage.removeItem("visitcrm"),localStorage.removeItem("minecrm"))},showHeight:function(){this.docmHeight>this.showHeight?this.hideshow=!1:this.hideshow=!0},numtype:{handler(t){let e=new Date;switch(t){case"today":this.fDateVal="",this.defaultVal=`${et()(e).format("YYYY/MM/DD")} - ${et()(e).format("YYYY/MM/DD")}`;break;case"yesterday":this.fDateVal="";let t=e.getTime()-864e5;this.defaultVal=`${et()(t).format("YYYY/MM/DD")} - ${et()(t).format("YYYY/MM/DD")}`;break;case"serven":this.fDateVal="";let s=e.getTime()-5184e5;this.defaultVal=`${et()(s).format("YYYY/MM/DD")} - ${et()(e).format("YYYY/MM/DD")}`;break;case"month":this.fDateVal="";let a=e.getTime()-25056e5;this.defaultVal=`${et()(a).format("YYYY/MM/DD")} - ${et()(e).format("YYYY/MM/DD")}`;break;case"other":break;default:this.defaultVal="",this.fDateVal="";break}},immediate:!0}},activated:function(){var t=this;if(this.$route.meta.isBack){localStorage.getItem(this.$store.state.clientype+"minecrm")?this.firstid=localStorage.getItem(this.$store.state.clientype+"minecrm"):localStorage.getItem("minecrm")&&(this.firstid=localStorage.getItem("minecrm")),this.phoneflag=!1,this.toptype=2;var e=this.utils.getQueryStringArgs(window.location.href);e.type&&(this.toptype=e.type),this.confirmListfun(),t.schedulelist=[],this.visitarr=[],this.countfun(""),this.timelimitfun(),t.mescroll.resetUpScroll()}else this.mescroll.scrollTo(this.scrollTop,2)}},Yt=Bt,Mt=(s("5991"),s("ed23"),Object(g["a"])(Yt,a,i,!1,null,"4af07481",null));e["default"]=Mt.exports},1328:function(t,e,s){},"146e":function(t,e,s){},"1ab2":function(t,e,s){},"1b83":function(t,e,s){"use strict";s("1ab2")},"1e5e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAFZ0lEQVRYCbVXa2xURRSeM3dblz4AgdKUSLfbRIPhIbRbfCCahsJ2EV/RHyCGxAAmEhE1Gt8JiQRNTPxRlR9YNTEEMBqJQbtLATcSlNgtlUgbfCTsFqQKRYS2lEJ75/idW26zlLu0pGV+7Jk7c8433zlz5swsqRE0ZrbqE21TmEwRWyZf23TSytN/V91+y7/DhaXhKrp6/YumHrdJPUqKq5nVOHduQBIdIaLvfMr6fGFo6uGBcY/OdRGIJVKPseINIDEtHYsUnWFSnYrVZKV4jDsHEoz+9iyl36yqCBx1x9PlsAi0tHD2se7kJni7Uoxh1MGaPiOtd3J+8f7Ft9JFFzTWmCpSBpEhtRREF7n62rKWh8sD37p6rhySQLzl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6OjtechE6o5QKXyAP9AOpzNCzAuhFRZgHRoysQMZETwOfbAJ+g/XQLd1A2Rv4fKBNJMIYuXQBYsgU6Nl+JIe9TiV6Tk9DE3g9OKxXiTFx+A5xEFNO6AO9hw/fLq4+zAOMv36KqtwkJOiMpiCn/AM9Cp0MnLrYRqWVcBYAYWhxSRdgq8wB9WhBZYE6rThUjub8Tvcs6Ttukg4CTOgKy7ZjUSfoaM90WZTKDCcPczV8BrP3BXDn5NpqjFXdR31m3CbprM56eQTTW19Gr/Hn6BprS/uvESjhuQLvoJe1j0QM/x6g8W08ypB1mwE9z2lXl+fLqYzX6fGT0BHR6+zyEZ9AegT2ESb65HPlzqe+o9vwCi3OR65K4XUbzKsmRo01DJO7B+/nHoSlcGcFodpaqyP8YXDbKpeavwaBrXIgX1E87NNdwvEcFbPvExLVAAAAABJRU5ErkJggg=="},"2ba0":function(t,e,s){"use strict";s("3a04")},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="},"3a04":function(t,e,s){},4090:function(t,e,s){"use strict";s("939e")},4387:function(t,e,s){},"43f6":function(t,e,s){},"46db":function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XtQAAAABJRU5ErkJggg=="},5991:function(t,e,s){"use strict";s("43f6")},"5ba3":function(t,e,s){},"63dd":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAEAiJpfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIqADAAQAAAABAAAAIAAAAAB4uvI0AAAC/UlEQVRYCeWX24tPURTHD6aQWxKGGJMH9weXB0luk8j1VXjxoJDyFyh54IEHL16RkBcPplF4mDKSKSk8IEUzhJrcZdxvn++x12/2nN8+l9+vU5JV399a67vWXmefffZe5/yiKIo6wS8PmH2yBPNMn1vEGkCS6pnIr4gfiMZVaGdYtD0ZKOQ/TWR9SPixOyhEhrhWSM3nO5hkCSJC6LaEmvULVzE4cEWCbfL9877j7N6BHjnGs818ZYbpYWY4vTHhx67d8rtQ8O9yZ7l8VwJD3ZS0tm3ONjUD4ydYb0SabiRwNy3o8SoWy2N+baGktdN64kj+zyVS+p0Tf8hinGM+kWLropmizaGkZYGsG3DnjNdU9oOFRgT0a7gtAV4XiG9FP7lTChTQ0/sc4P8X6jg3qnUT3oDVoEq6YHxccxlL0Ro43/mmdEzem5Ol1TS+ZiTMJaZHnylfiOY12g5ydBhTpXKwUjOiaAix6xbXfRusU92yYI7+kRX/mBX0Yrc9u8rUzPLkAAnBx20DWzCyrtJAvMiFIu2H+1bV0wtcgcEel2nOJqrFs4WXvgj67RFNSy0uS7Tx3iYSTuNvBppt3FTympLyypBuiuwChdayjAv+2zXyznotd6eX1AQwDUwGeo30gkKPQsknQdaLi3D0HKwF/numGf8oWAckj8BVoFz1oolgEZgFJFfAbnAPlCI6e2o1n0DozZp2kTUEdHK+gZVpSUX5IyRqqfcUHRDI2+Rq6PjWJTsYpUlsr2t0/0EbXK29RmuPjAZNRiT0M/yXjruD1r8UbcgyRL17PIjrNWCsAvNASB5AnnCB4ejg/5n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YDJHeTXodBBsCd4TqEnywrmJQLNHcNJ6mYVO2dQi4qYM8Fr9ywuTZWB+iqzqKQbFEC6Fpfs0z1/u+gYrZ0inQ3AzKjNLI4k76KlcsEY1Whyi7OgQ1vLdmEk/yOEn0oMz6EIvsHjWnOF3BU2tjcOgzHH+Z9NOhovyuJ+4Px7Fh7gpK9PeS1ctC6WtcSqNGj/qbshgSyBSz4nsG/u/yFfzN/nL2V8R+BKfofC1nsjuTX+BS42DMYPjRDTmsNxGeJbDfYjuD2ywYvctkGfpJN1J+LINf0MZ0cST62hm2ZILXDxXlNRtkoGpKCwbNb4KCVw9ulnOqY4x5dKCKw5yp561NKjX4IyKYyVQlK+RN7oJR9lBBviA5alVIK0N9eM/29XBcczteVL7lpVHFEnFa49GkKXIWz+d78LJXJ8IO8mf1H8WvIdxNzrNjncx2dWMLfcw4bG+TOhP0gRGv1GUKPtAL02XZNl/eT0eCQa7/fs7YL5bv0sHN8icH/onL87ZZqUTLVuJLIpv3KihTMMeqYThRTsEC99aqAt5M0+Fd8E6aXDFo2UQK7K6Yb7jxHvcaMFO4dx7xyjIySxUzzoN4nc+MM/wt37GeiNNe6yafkvKIOOh2T7Jv4hucbuo7HYshBqRFHBFWHXmjSX5YFjYskhsc3FmfVGPbQrJxMGoR51PmFPPOW5yH6feXz5MbO95DVolr/BYBtF2KHMEY1+6znODrTb04mVTkWT+W6v12vIJCXeJXnGfou/1CZuHIPbrL2jQBUgffVXCUI0ksEAlO774TdD5OvTMEep4jvMwTW393UmY/PtxF5w8wWW61wVop5SO9RTzpDrAJkBosqUIxBsTyVitKRd86osXqq29f1ar+22bIBtXli4s4z56yOtdFr+djgxtoyXyOcUFpe8l8sGoFpqWKVgf6Qs6sWs01t1ml6x9/0mPjnF7aek+GFJVujKut4p0hy3Sc8gAAAABJRU5ErkJggg=="},"6f65":function(t,e,s){"use strict";s("1328")},"774f":function(t,e,s){},"785e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAACn0lEQVR4XuXb74dVQRjA8fkq0YsSxa7NRhGRRFIiafUi0g9R+0e2olKiF6mIVCxJRBT93ChSLyI1OdzlvtjsPM88M/Ocad9d5tw938+ZO657zhBG9hdjvB5CODw57afAhZwEcg6ufWyMMa71PwF1h/pAL/GT81gCFjXnNAqAf135qeAVYLZLgIT4ofsDsLM7gMT4ofuGdjF0+xEQxIfuFkFJfAhhA/BHM/2HY9zNAGH8JuCXNt4dgDB+M/AzJ94VgDB+C/AjN94NgDB+G/DNIt4FgDB+B/DFKr45gDB+BvhsGd8UQBg/B3y0jm8GIIzfBbwtEd8EQBi/G3hTKr46gDB+L/CqZHxVAGH8PuBl6fhqAML4/cCLGvFVAITxB4FnteKLAwjjDwHLNeOLAgjjjwBPascXAxDGHwMetYgvAiCMPw48bBVvDiCMPwncbxlvCiCMPwXcbR1vBiCMPw3c8RBvAiCMPwPc9hKfDSCMPwfc9BSfBRBjvBJCuJwYdBG4lji26jD1z+Ixxk8hhJmEs70EXE0Y12RIDsD7EMJcwlkvAksJ45oMyQEYHlQ4n3jWbhHUAEO4cBF0iZAF0ANCNsDYEUwAxoxgBjBWBFOAMSKYA4wNoQiAAqHZV+ViAAqEs8CtxC9WZsOKAigQqv9WUBxAgbAA3DO7xOu8URUABUK1H0urASgQjgKPS8+EqgAKhOJ3i6oDKBAOAM9LzYQmAAqEYrfLmwEoEPYAr61nQlMABcI88M4SoTmAAmEWWLFCcAGgQNgOfLVAcAOgQNgKfM9FcAWgQMh+YtwdgAJhI/BbOxNcAkgRutsys3o1Bfcd+t03mIjQ777BxI9Dn/sGpxe2dWZCf/sG11rV/+vN01ML4/BgxonJ6wfaTdOr7/cXtFY8UHw0Kr4AAAAASUVORK5CYII="},"7e76":function(t,e,s){"use strict";s("774f")},"87ff":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAEAiJpfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKg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nCZVzxGfaK/ndviZYQZhbr7lt3ove4smwQXQqeEPeT60sgrzU93ipFyxUzSXo0dQ3T6L5uhjxeYRJ8DxZiuwAOantMNgWaTfip6fc9RiaHkntJ0KgHXAEj4CbQX6UcrYKQhybQ6sbtqDTWw51hAraBzzoQ+RVY4ZRMNZEjXzhZGudBcDRITbBOkvSoIoxzAPzQQUoW0uGL3pZujq6aixgjjN4NXosjZdxpDrOEqoaIJXzD+JPUHQnlazbToB8k7w/DICKMvQ/8Mv4k9QWO3Bs46S6oIZtaxjQoenFpTS6TkHdTbCH2pNegRtuRcrzM8C4v1yXM3a0i+JSXkGK7Rl5Xij9wEdOdEjNL+bQcmV3CeOWkNCeKyiesI+x0UihEZYmN4p/hKqeyDUmxqXYS9RhE6QQftbEGeZLYqhnE1gumTJ0v6PpALz/V6jpe7uYO16beZbJzDS5vLT/AvtKkLUO/a2yZvye9JTFkitSqyk6PNivydgocSihyFP+A8pWU7IqWsOjJJyW3RJWxiOWEsl5SshVlRs9ZY5puCW8luDctIafvKjPXBWSJ7MvIGSIu3OCZSyJ6dOWiezOK53X3EXgWyGvOToqtsQDDHvDYOjzdEm7YJ5Zm18Gk19SxDTPL8udfj+OLmQoEZi70WMa/U87wt4C8XWIj63HFgttBaWfC7pMXwhPtMHMOhw+OLdjB9zxHi21v6D/qcmDPydnhIngH/oBWDjkHPwLyx587/gKUeO+XHeYIMAAAAABJRU5ErkJggg=="},"8d6b":function(t,e,s){"use strict";var a=function(){var t=this,e=t._self._c;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},i=[],o=s("f868"),n=s.n(o),l=(s("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new n.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter(){this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout(()=>{this.mescroll.setTopBtnFadeDuration(0)},16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),r=l,c=s("2877"),p=Object(c["a"])(r,a,i,!1,null,null,null);e["a"]=p.exports},"922c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAJKADAAQAAAABAAAAJAAAAAAqDuP8AAAEnElEQVRYCc1YXWhcRRQ+390lWUiLPyXFHyKKWOqD6IO+xN8KebBWtFACNVkhWvxpEm0RBfGlIPRBEdT82aegm2iJD/HBUkSwDzURQWn7pJYq2kKUGqmYFLIku8dv5u7d3Ls7d3e2LdiB3Ttz5jv3fHfunHPmXEiLTcenrxPRx6WkPQK5hf2bRMCfabrA/oKonJUMvmL/CPb2XQjn/P7hB6Op0amdIuVhUTzIUdZPD2sCPS4SjGCof9ZHpykhnZi6n6vxtqh2+9wwFQPMc9Vex0v9c6kYTqQS0pmZjPxVfFfK+kqjG7Q8F+B96Wx/Fb29JZeuk5BOzl4rF5dnuCo9LqXLloH7q2NDLwZ2/lN7rzpCIZmleW7MO2vBV3QM+VE6NnbXkkoQsq/pfPFoCytzVoAj3Lg/8AE6SPhe/p5if6MXebNSm9sfi7++pLeYPeP7mgL5UCT3GgZ7l+PGdeLTW6W0Nsn7PBKXO/vGlrEpsi+ar66Q9aa18jfRRMMrMI2hfH8aRieP5WT53AnOb03DJOTZ4IHI+4LqhHFtnwZckCAYbgTFwLYVyQZ7GmESczHblpANet5xRr/1ir4v9s3TaJ0XJYhEA9oOAy9DaChjBPZuOOkDBaDEnfLBhpiQQ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I8QzhOtOguejN2i1g9/tzMs3uVP2qeZi1ut3BeoLdN1G/hcxensLL58mVuGvMS37yXqjWzFChokoEVKEEYBHsaA/XSEnmQ4c87zeb0eP4kt6Ihc6OXRnx3RnHg9O/tNDZ7VxzRhbISTCDUlzpqadh5G/io/pPh0yxuqW6oHBZrVi95uYtjokL+jM0DuGj5+XG3Wg52JsDDA0zLPFx9bI6+2nLz+48KDKhgPWcWZ2pmVY4EaH4b9yyChM8nS/DcJ/EQYvDpVJzK+qcWehjcNfbyPXF+THyG8FfxtfSaLKPRzTfIMtv1cO2Yqonwtwqy3mYcop06QXDq5x56xppK22XCmOt+tcRGkWPryKZ1Qp/z87ZBvqvYxx14mwwOFgD2K/DHW0DCNjdcIXW3ZJf7z2RQsOMBB1lkXjXGPbMPj/4pAxZiB3ngpUY0B0GqLITg5CY3yHGdd6qHDnmjFi5G34F7Q8hnXvtMxlAAAAAElFTkSuQmCC"},"939e":function(t,e,s){},9682:function(t,e,s){"use strict";s("46db")},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"},b4ab:function(t,e,s){"use strict";s("085e")},b68e:function(t,e,s){"use strict";s("146e")},d1c9:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAE3klEQVRYCc2Yf2yTRRjHv3dvu66dEkFAEUWMghn+ATFiQuKPqIkaHVswARP/EIR1IjAiKDEKuKkDxOGYCOjaMhFN/PHX2pqY6KIJoKiooFFRgYiCIg624aTt1r53Pu917/IW3nbd2q27ZLnnnnvuuU+f5567rixaXlkjJGpR8MY6wOTXGmebi1v8H5o4zBCi5VVrhRTPm8qC94zt8IyZuIztrI1xA8Yd8r3AGX+24GAmgJSLou0n6oyhiqCpj1ZUrRZCqAlTN+je7QKffBXkv12Qf55K76bICXCKU6w7x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f2y1vI2atovD38j7uhWxubh4pcHAPh9evdJ5pdHgyJ+efjl8Ze/eq3KI/0sP8uYNu3oYntQG3E+U1jkGr8mndzGDwraWHp9JdQVei5JQrlUrCbies1t2j0sbyMHBa3g0pnVYQIaZaTN3pg496kjoFvdftTzf07p/xdaCHMlEdeH21GgVcxGy+Nrys61uti2en/Lh7EKbNyI2xZCuymbx6XTy1EK8+8A0LVv0MpZIknrgPCmNpELl4lIEiCqFnZe7SUrs6ZdWZptxC8AcHzbFlNGvyNzaQ9H3RZjTLlX8snJvlIyFovZ+tDUDHo5EAgOVauVdhdvMw5BQUshkomrumHzZevfO5fLh35KfNkTjl6sK2M3cbN4pVK5XFTAOxxTO/ld+3N2JvMq1of2SslWef4AVF5wWzwaFucAAAAASUVORK5CYII="},ed23:function(t,e,s){"use strict";s("5ba3")},ef21:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAgCAYAAAASYli2AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFKADAAQAAAABAAAAIAAAAADmfO67AAAB40lEQVRIDe2Vu0oDQRSG/9ndEBPRUlQEQYyNihb6AHYaLcVWBcHKB/BS2Ig+hEUstY9aCrYBi2AKBUFQBC+NlyQm2YxnRnfZzc7sRknpgcmenf8/X2ZOZjeslAVHi8K0MGG0iOVi/oFuK/6cNNlDYWvO2pTL6FmAGM2EFW1isAa3pK3ycEjX8GMbuUKjex5Gx/D3oDwq1CtkMbDkAFh7ClZq22WIvFYvgX9cgxdvaLFVV3MS5n/0aHuj+zD7FsGY6XiUV85t2HcHqOVXSP9ug+LR46hdrqH+cqaEeCeFR3gdmKMFe1gvopqbg/106ngCV6EJD8jbGEGgcNTLqOZXG73uvdTIowo1kJxG+5DKL+dCNV0V6xiREucc9sORHCIX4WjypuFDfWx+iuzHE9SuNsFfL2QZ69yDNbQTCmw4Np6va+sHyreeCU+q0RTHxlOkgwlLiKb9UTzoX6X/QHW7GPCmVoKz0T1kOIgn0UvGDQLbQYR/Rguk4iL9jSwn0lhiU3iPz2LXNDFF5fd+hP9OCWQMBRqTiRlkvPbYNM7bkhinL9O+ioJAscUuTMbTKHhhTk6rfSYtrWuBC/RtcYK2GxK0eq5rgQTqthjClJKyBaVjZHgOyajiMJ3eauwzi/XKKca+AMntinqzgEtoAAAAAElFTkSuQmCC"},f2fd:function(t,e,s){},f868:function(t,e,s){var a,i;(function(o,n){a=n,i="function"===typeof a?a.call(e,s,e,t):a,void 0===i||(t.exports=i)})(0,(function(){var t=function(t,e){var s=this;if(s.version="1.4.0",s.isScrollBody=!t||"body"===t,s.scrollDom=s.isScrollBody?document.body:s.getDomById(t),s.scrollDom){s.options=e||{};var a=navigator.userAgent,i=!!a.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),o="undefined"===typeof window.orientation,n=a.indexOf("Android")>-1||a.indexOf("Adr")>-1;s.os={ios:i,pc:o,android:n},s.isDownScrolling=!1,s.isUpScrolling=!1;var l=s.options.down&&s.options.down.callback;s.initDownScroll(),s.initUpScroll(),setTimeout((function(){s.optDown.use&&s.optDown.auto&&l&&(s.optDown.autoShowLoading?s.triggerDownScroll():s.optDown.callback&&s.optDown.callback(s)),s.optUp.use&&s.optUp.auto&&!s.isUpAutoLoad&&s.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(e){t.extend(e,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'

',inited:function(t,e){t.downTipDom=e.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=e.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,e,s){if(t.downProgressDom){var a=360*e;t.downProgressDom.style.webkitTransform="rotate("+a+"deg)",t.downProgressDom.style.transform="rotate("+a+"deg)"}},beforeLoading:function(t,e){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(e){var s=this.os.pc;t.extend(e,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'

加载中..

',htmlNodata:'

-- END --

',inited:function(t,e){},showLoading:function(t,e){e.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,e){e.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:s,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(e,s){if(!e)return s;for(var a in s)null==e[a]?e[a]=s[a]:"object"===typeof e[a]&&t.extend(e[a],s[a]);return e},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(e){t.isScrollTo&&t.preventDefault(e),t.startPoint=t.getPoint(e),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var s=t.getScrollTop();t.isKeepTop=0===s,t.os.pc&&s<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(e){if(t.startPoint){var s=t.getScrollTop();s>0&&(t.isKeepTop=!1);var a=t.getPoint(e),i=a.y-t.startPoint.y;if(i>0){if(s<=0&&(t.preventDefault(e),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var o=Math.abs(t.lastPoint.x-a.x),n=Math.abs(t.lastPoint.y-a.y),l=Math.sqrt(o*o+n*n);if(0!==l){var r=Math.asin(n/l)/Math.PI*180;if(r0&&a.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=a.y-t.lastPoint.y;t.downHight||(t.downHight=0),t.downHight0?c*t.optDown.outOffsetRate:c),t.downwarp.style.height=t.downHight+"px";var p=t.downHight/t.optDown.offset;t.optDown.onMoving(t,p,t.downHight)}}else if(i<0){var m=t.getScrollHeight(),d=t.getClientHeight(),h=m-d-s;!t.optUp.isBounce&&h<=0&&t.preventDefault(e),t.optUp.use&&!t.optUp.isLock&&t.optUp.hasNext&&!t.isUpScrolling&&(!t.isDownScrolling||t.isDownScrolling&&t.optDown.isBoth)&&(d+t.optUp.offset>=m||h<=0)&&t.triggerUpScroll()}t.lastPoint=a}},t.scrollDom.addEventListener("touchmove",t.touchmoveEvent,{passive:!1}),t.touchendEvent=function(){t.optDown.use&&t.isMoveDown&&(t.downHight>=t.optDown.offset?t.triggerDownScroll():(t.downwarp.classList.add(t.optDown.resetClass),t.downHight=0,t.downwarp.style.height=0),t.isSetScrollAuto&&(t.scrollDom.style.webkitOverflowScrolling="touch",t.scrollDom.classList.remove(t.optDown.hardwareClass),t.isSetScrollAuto=!1),t.movetype=0,t.isMoveDown=!1),t.os.pc&&(t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),document.ondragstart=function(){return!0})},t.scrollDom.addEventListener("mouseup",t.touchendEvent),t.scrollDom.addEventListener("mouseleave",t.touchendEvent),t.scrollDom.addEventListener("touchend",t.touchendEvent),t.scrollDom.addEventListener("touchcancel",t.touchendEvent),t.optDown.use){t.downwarp=document.createElement("div"),t.downwarp.className=t.optDown.warpClass,t.downwarp.innerHTML='
'+t.optDown.htmlContent+"
";var e=t.optDown.warpId?t.getDomById(t.optDown.warpId):t.scrollDom;t.optDown.warpId&&e?e.appendChild(t.downwarp):(e||(e=t.scrollDom),e.insertBefore(t.downwarp,t.scrollDom.firstChild)),setTimeout((function(){t.optDown.inited(t,t.downwarp)}),0)}},t.prototype.preventDefault=function(t){t&&t.cancelable&&!t.defaultPrevented&&t.preventDefault()},t.prototype.getPoint=function(t){return{x:t.touches?t.touches[0].pageX:t.clientX,y:t.touches?t.touches[0].pageY:t.clientY}},t.prototype.triggerDownScroll=function(){this.optDown.beforeLoading(this,this.downwarp)||(this.showDownScroll(),this.optDown.callback&&this.optDown.callback(this))},t.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.showLoading(this),this.downHight=this.optDown.offset,this.downwarp.classList.add(this.optDown.resetClass),this.downwarp.style.height=this.optDown.offset+"px"},t.prototype.endDownScroll=function(){var t=this,e=function(){t.downHight=0,t.downwarp.style.height=0,t.isDownScrolling=!1,t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},s=t.optDown.afterLoading(t);"number"===typeof s&&s>0?setTimeout(e,s):e()},t.prototype.lockDownScroll=function(t){null==t&&(t=!0),this.optDown.isLock=t},t.prototype.initUpScroll=function(){var t,e=this;(e.optUp=e.options.up||{use:!1},e.extendUpScroll(e.optUp),e.optUp.scrollbar.use&&e.scrollDom.classList.add(e.optUp.scrollbar.barClass),e.optUp.isBounce||e.setBounce(!1),!1!==e.optUp.use)&&(e.optUp.hasNext=!0,e.upwarp=document.createElement("div"),e.upwarp.className=e.optUp.warpClass,e.optUp.warpId&&(t=e.getDomById(e.optUp.warpId)),t||(t=e.scrollDom),t.appendChild(e.upwarp),e.preScrollY=0,e.lazyStartTime=(new Date).getTime(),e.lazyTag="mescroll-lazying",e.scrollEvent=function(){var t=e.getScrollTop(),s=t-e.preScrollY>0;if(e.preScrollY=t,!e.isUpScrolling&&(!e.isDownScrolling||e.isDownScrolling&&e.optDown.isBoth)&&!e.optUp.isLock&&e.optUp.hasNext){var a=e.getScrollHeight()-e.getClientHeight()-t;a<=e.optUp.offset&&s&&e.triggerUpScroll()}var i=e.optUp.toTop;if((i.src||i.html)&&(t>=i.offset?e.showTopBtn():e.hideTopBtn()),e.optUp.lazyLoad.use){var o=(new Date).getTime();e.lazyTimer&&clearTimeout(e.lazyTimer),o-e.lazyStartTime>=e.optUp.lazyLoad.delay?(e.lazyStartTime=o,e.lazyLoad(0)):e.lazyTimer=e.lazyLoad()}e.optUp.onScroll&&e.optUp.onScroll(e,t,s)},e.isScrollBody?window.addEventListener("scroll",e.scrollEvent):e.scrollDom.addEventListener("scroll",e.scrollEvent),setTimeout((function(){e.optUp.inited(e,e.upwarp)}),0))},t.prototype.setBounce=function(t){!this.isScrollBody&&this.os.ios&&(!1===t?(this.optUp.isBounce=!1,window.addEventListener("touchmove",this.bounceTouchmove,{passive:!1})):(this.optUp.isBounce=!0,window.removeEventListener("touchmove",this.bounceTouchmove)))},t.prototype.bounceTouchmove=function(t){var e=this,s=t.target,a=!0;while(s!==document.body&&s!==document){var i=s.classList;if(i){if(i.contains("mescroll")||i.contains("mescroll-touch")){a=!1;break}if(i.contains("mescroll-touch-x")||i.contains("mescroll-touch-y")){var o=t.touches?t.touches[0].pageX:t.clientX,n=t.touches?t.touches[0].pageY:t.clientY;e.preWinX||(e.preWinX=o),e.preWinY||(e.preWinY=n);var l=Math.abs(e.preWinX-o),r=Math.abs(e.preWinY-n),c=Math.sqrt(l*l+r*r);if(e.preWinX=o,e.preWinY=n,0!==c){var p=Math.asin(r/c)/Math.PI*180;if(p<=45&&i.contains("mescroll-touch-x")||p>45&&i.contains("mescroll-touch-y")){a=!1;break}}}}s=s.parentNode}a&&t.cancelable&&!t.defaultPrevented&&"function"===typeof t.preventDefault&&t.preventDefault()},t.prototype.triggerUpScroll=function(){this.optUp.callback&&!this.isUpScrolling&&(this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.optUp.callback(this.optUp.page,this))},t.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.upwarp.classList.add(this.optUp.hardwareClass),this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.showLoading(this,this.upwarp)},t.prototype.showNoMore=function(){this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.hasNext=!1,this.optUp.showNoMore(this,this.upwarp)},t.prototype.hideUpScroll=function(t){t?this.upwarp.style.display="none":this.upwarp.style.visibility="hidden",this.upwarp.classList.remove(this.optUp.hardwareClass);var e=this.upwarp.getElementsByClassName("upwarp-progress")[0];e&&e.classList.remove("mescroll-rotate")},t.prototype.endUpScroll=function(t,e){null!=t&&(t?this.showNoMore():this.hideUpScroll(e)),this.isUpScrolling=!1},t.prototype.resetUpScroll=function(t){if(this.optUp&&this.optUp.use){var e=this.optUp.page;this.prePageNum=e.num,this.prePageTime=e.time,e.num=1,e.time=null,this.isDownScrolling||!1===t||(null==t?(this.removeEmpty(),this.clearDataList(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.optUp.callback&&this.optUp.callback(e,this)}},t.prototype.setPageNum=function(t){this.optUp.page.num=t-1},t.prototype.setPageSize=function(t){this.optUp.page.size=t},t.prototype.clearDataList=function(){var t=this.optUp.clearId||this.optUp.clearEmptyId;if(t){var e=this.getDomById(t);e&&(e.innerHTML="")}},t.prototype.endByPage=function(t,e,s){var a;this.optUp.use&&null!=e&&(a=this.optUp.page.num'),e.tip&&(i+='

'+e.tip+"

"),e.btntext&&(i+='

'+e.btntext+"

"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=i,a.appendChild(t.emptyDom),e.btnClick){var o=t.emptyDom.getElementsByClassName("empty-btn")[0];e.supportTap?o.addEventListener("tap",(function(s){s.stopPropagation(),t.preventDefault(s),e.btnClick()})):o.onclick=function(){e.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var e,s=this,a=s.optUp.toTop;if(null==s.toTopBtn)a.html?(s.toTopBtn=document.createElement("div"),s.toTopBtn.innerHTML=a.html):(s.toTopBtn=document.createElement("img"),s.toTopBtn.src=a.src),s.toTopBtn.className=a.warpClass,a.supportTap?s.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),s.preventDefault(t);var e=a.btnClick&&a.btnClick();!0!==e&&s.scrollTo(0,s.optUp.toTop.duration)})):s.toTopBtn.onclick=function(){var t=a.btnClick&&a.btnClick();!0!==t&&s.scrollTo(0,s.optUp.toTop.duration)},a.warpId&&(e=s.getDomById(a.warpId)),e||(e=document.body),e.appendChild(s.toTopBtn);s.toTopBtn.classList.remove(a.hideClass),s.toTopBtn.classList.add(a.showClass),s.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var e=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=e,this.toTopBtn.style.webkitAnimationDuration=e}},t.prototype.scrollTo=function(t,e){var s=this,a=s.getScrollTop(),i=t;if(i>0){var o=s.getScrollHeight()-s.getClientHeight();i>o&&(i=o)}else i=0;s.isScrollTo=!0,s.scrollDom.style.webkitOverflowScrolling="auto",s.getStep(a,i,(function(t){s.setScrollTop(t),t===i&&(s.scrollDom.style.webkitOverflowScrolling="touch",s.isScrollTo=!1)}),e)},t.prototype.getStep=function(t,e,s,a,i){var o=e-t;if(0!==a&&0!==o){a=a||300,i=i||30;var n=a/i,l=o/n,r=0,c=window.setInterval((function(){r=a||i<=o&&i>a},t.prototype.getOffsetTop=function(t){var e=t.offsetTop,s=t.offsetParent;while(null!=s&&s!==this.scrollDom)e+=s.offsetTop+s.clientTop,s=s.offsetParent;return e},t.prototype.getScrollHeight=function(){return this.scrollDom.scrollHeight},t.prototype.getClientHeight=function(){return this.isScrollBody&&"CSS1Compat"===document.compatMode?document.documentElement.clientHeight:this.scrollDom.clientHeight},t.prototype.getBodyHeight=function(){return document.body.clientHeight||document.documentElement.clientHeight},t.prototype.getScrollTop=function(){return this.isScrollBody?document.documentElement.scrollTop||document.body.scrollTop:this.scrollDom.scrollTop},t.prototype.getToBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},t.prototype.setScrollTop=function(t){"number"===typeof t&&(this.isScrollBody?(document.documentElement.scrollTop=t,document.body.scrollTop=t):this.scrollDom.scrollTop=t)},t.prototype.getDomById=function(t){var e;return t&&("string"===typeof t?e=document.getElementById(t):t.nodeType&&(e=t)),e||console.error('the element with id as "'+t+'" can not be found: document.getElementById("'+t+'")==null'),e},t.prototype.removeChild=function(t){if(t){var e=t.parentNode;e&&e.removeChild(t),t=null}},t.prototype.destroy=function(){var t=this;t.scrollDom.removeEventListener("touchstart",t.touchstartEvent),t.scrollDom.removeEventListener("touchmove",t.touchmoveEvent),t.scrollDom.removeEventListener("touchend",t.touchendEvent),t.scrollDom.removeEventListener("touchcancel",t.touchendEvent),t.scrollDom.removeEventListener("mousedown",t.touchstartEvent),t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),t.scrollDom.removeEventListener("mouseup",t.touchendEvent),t.scrollDom.removeEventListener("mouseleave",t.touchendEvent),t.removeChild(t.downwarp),t.isScrollBody?window.removeEventListener("scroll",t.scrollEvent):t.scrollDom.removeEventListener("scroll",t.scrollEvent),t.removeChild(t.upwarp),t.removeChild(t.toTopBtn),t.setBounce(!0)},t}))},ff7d:function(t,e,s){},ffaf:function(t,e,s){"use strict";s("4387")}}]);