(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b704","chunk-71dc","chunk-0069"],{"/G0b":function(t,e,i){"use strict";var a=i("m1cH"),s=i.n(a),n=i("KTTK"),l=i("6iAj"),o=i("4XAY"),c=i("7Dod"),r=i("7Qib"),d=i("mkuN"),u=i("zMq1"),h=i("ye9D"),m=i("NYF1"),p=i("YIeP"),v=i("ZoMv"),f={name:"LogEditDialog",components:{CrmRelative:d.a,AddImageList:u.a,AddFileList:h.a,AddRelateList:m.a,CommonWords:p.a},props:{visible:{type:Boolean,required:!0,default:!1},data:Object},data:function(){return{loading:!1,crmType:"",content:"",imgFiles:[],businessAction:{},files:[],showBusinessPopover:!1,business:[],contacts:[],selectContactsId:"",followTypes:[],followType:"",next_time:"",showRelativeType:"",batchId:""}},computed:{autosize:function(){return{minRows:4,maxRows:8}},id:function(){return this.data?this.data.activity_type_id:""},showBusiness:function(){return"customer"==this.crmType},showContacts:function(){return this.showBusiness}},watch:{visible:{handler:function(t){if(t){var e=v.a.convertTypeToKey(this.data.activity_type);this.crmType!=e&&(this.crmType=e),this.handleDetailInfo(Object(r.t)(this.data))}},immediate:!0,deep:!0},id:{handler:function(){this.businessAction={type:"condition",data:{moduleType:this.crmType,customerId:this.id}}},immediate:!0}},created:function(){},beforeDestroy:function(){},methods:{handleDetailInfo:function(t){var e=this;this.showContacts&&this.getContactsList(),0==this.followTypes.length&&this.getLogTypeList(),this.content=t.content,this.imgFiles=t.imgList||[];var i=t.fileList||[];this.files=i.map(function(t){return t.icon=e.getFileTypeIcon(t.name),t});var a=t.business_list||[];this.business=a.map(function(t){return{businessName:t.name,business_id:t.business_id}}),this.selectContactsId=t.contacts_ids&&parseInt(t.contacts_ids),this.followType=t.category,this.next_time=t.next_time,this.batchId=t.batchId},getFileTypeIcon:function(t){if(!t)return"";var e=t?t.split("."):[],i="";return i=e.length>0?e[e.length-1]:"",Object(r.n)(i)},getLogTypeList:function(){var t=this;Object(l.r)().then(function(e){t.followTypes=e.data.map(function(t){return{value:t,label:t}})}).catch(function(){})},getContactsList:function(){var t=this;Object(c.I)({customer_id:this.id}).then(function(e){t.contacts=e.data.list}).catch(function(){})},getDefalutFollowType:function(){this.followTypes&&this.followTypes.length>0?this.followType=this.followTypes[0].value:this.followType=""},resetInfo:function(){this.next_time="",this.content="",this.imgFiles=[],this.files=[],this.business=[],this.selectContactsId=this.contactsId||"",this.showRelativeType="",this.batchId="",this.getDefalutFollowType()},commonWordsSelect:function(t){var e=this;this.content?this.$confirm("您选中的常用语将覆盖当前填写内容?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",customClass:"is-particulars"}).then(function(){e.content=t}).catch(function(){}):this.content=t},checkRelativeInfos:function(t){"business"==this.showRelativeType&&(this.business=t.data)},barClick:function(t){this.showRelativeType=t,"business"==t?this.showBusinessPopover=!0:"file"==t?this.$refs.fileInput.click():"img"==t&&this.$refs.imgInput.click()},uploadFile:function(t){var e=t.target.files;if(e.length){for(var i=0;i0?i("add-image-list",{attrs:{data:t.imgFiles},on:{delete:t.deleteImage,"delete-all":function(e){t.deleteAllFile(2)},upload:t.uploadFile}}):t._e(),t._v(" "),t.files.length>0?i("add-file-list",{attrs:{data:t.files},on:{delete:t.deleteFile,"delete-all":function(e){t.deleteAllFile(1)}}}):t._e(),t._v(" "),t.business.length>0?i("add-relate-list",{attrs:{data:t.business,type:"business"},on:{delete:t.deleteRelate}}):t._e()],1),t._v(" "),i("div",{staticClass:"bar-cont"},[i("el-button",{staticClass:"handle-button",attrs:{type:"text",icon:"wk wk-picture"},on:{click:function(e){t.barClick("img")}}},[t._v("图片")]),t._v(" "),i("el-button",{staticClass:"handle-button",attrs:{type:"text",icon:"wk wk-file"},on:{click:function(e){t.barClick("file")}}},[t._v("附件")]),t._v(" "),t.showBusiness?i("el-popover",{attrs:{placement:"bottom",width:"700","popper-class":"no-padding-popover",trigger:"click"},model:{value:t.showBusinessPopover,callback:function(e){t.showBusinessPopover=e},expression:"showBusinessPopover"}},[i("crm-relative",{ref:"crmrelative",attrs:{show:t.showBusinessPopover,radio:!1,action:t.businessAction,"selected-data":{business:t.business},"crm-type":"business"},on:{close:function(e){t.showBusinessPopover=!1},changeCheckout:t.checkRelativeInfos}}),t._v(" "),i("el-button",{staticClass:"handle-button",staticStyle:{"margin-left":"10px"},attrs:{slot:"reference",type:"text",icon:"wk wk-associate"},on:{click:function(e){t.barClick("business")}},slot:"reference"},[t._v("关联商机")])],1):t._e()],1),t._v(" "),i("input",{ref:"fileInput",staticClass:"file-input",attrs:{accept:"*.*",type:"file",multiple:""},on:{change:t.uploadFile}}),t._v(" "),i("input",{ref:"imgInput",staticClass:"file-input",attrs:{accept:"image/*",type:"file",multiple:""},on:{change:t.uploadFile}})]),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(e){return t.handleCancel(e)}}},[t._v("取消")]),t._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:t.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[t._v("确定")])],1)])},[],!1,null,"4baabbc8",null);g.options.__file="LogEditDialog.vue";e.a=g.exports},"0H8t":function(t,e,i){"use strict";var a=i("QVgs");i.n(a).a},"3ojK":function(t,e,i){"use strict";var a=i("c2Co"),s=i("4XAY"),n=i("Ew9n"),l=i("raay"),o=i("eOwn"),c=i("BzA1"),r=i("w4ZA"),d=i("3gPr"),u=i("CjUg"),h=i("8OTK"),m=i("f6dm"),p={name:"LeadsDetail",components:{SlideView:n.a,CRMDetailHead:l.a,Activity:o.a,CRMEditBaseInfo:r.a,RelativeFiles:d.a,RelativeHandle:u.a,ImportInfo:c.a,CRMAllCreate:h.default},mixins:[m.a],props:{id:[String,Number],listenerIDs:{type:Array,default:function(){return["crm-main-container"]}},noListenerIDs:{type:Array,default:function(){return[]}},noListenerClass:{type:Array,default:function(){return["el-table__body"]}}},data:function(){return{loading:!1,crmType:"leads",headDetails:[{title:"姓名",value:""},{title:"线索来源",value:""},{title:"手机",value:""},{title:"负责人",value:""},{title:"创建时间",value:""}],tabCurrentName:"Activity",isCreate:!1,showImportInfo:!0,importList:[]}},computed:{activityHandle:function(){var t=[];return this.canCreateFollowRecord&&(t=[{type:"log",label:"写跟进"}]),t},tabNames:function(){return[{label:"活动",name:"Activity"},{label:"详细资料",name:"CRMEditBaseInfo"},{label:this.getTabName("附件",this.tabsNumber.fileCount),name:"RelativeFiles"},{label:"操作记录",name:"RelativeHandle"}]}},mounted:function(){},methods:{getDetial:function(){var t=this;this.loading=!0,Object(a.i)({id:this.id}).then(function(e){t.detailData=e.data,0!==t.detailData.dataAuth&&(t.headDetails[0].value=e.data.name,t.headDetails[1].value=e.data.source,t.headDetails[2].value=e.data.mobile,t.headDetails[3].value=e.data.owner_user_id_info.realname||"",t.headDetails[4].value=e.data.create_time,t.loading=!1)}).catch(function(){t.loading=!1,t.hideView()}),this.getBaseInfo()},getBaseInfo:function(){var t=this;this.loading=!0,Object(s.y)({id:this.id,types:"crm_"+this.crmType,action_id:this.id,module:"crm",controller:this.crmType,action:"read",system:1}).then(function(e){t.importList=e.data,t.loading=!1}).catch(function(){t.loading=!1})},hideView:function(){this.$emit("hide-view")}}},v=(i("H4tY"),i("KHd+")),f=Object(v.a)(p,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("slide-view",{directives:[{name:"empty",rawName:"v-empty",value:!t.canShowDetail,expression:"!canShowDetail"}],attrs:{"listener-ids":t.listenerIDs,"no-listener-ids":t.noListenerIDs,"no-listener-class":t.noListenerClass,"body-style":{padding:0,height:"100%"},"xs-empty-icon":"nopermission","xs-empty-text":"暂无权限"},on:{afterEnter:t.viewAfterEnter,close:t.hideView}},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"crmDetailMain",staticClass:"detail-main"},[t.canShowDetail&&t.detailData?i("flexbox",{staticClass:"d-container",attrs:{direction:"column",align:"stretch"}},[i("c-r-m-detail-head",{attrs:{detail:t.detailData,"head-details":t.headDetails,id:t.id,"crm-type":t.crmType},on:{handle:t.detailHeadHandle,close:t.hideView}},[i("template",{slot:"name"},[i("el-tooltip",{attrs:{content:0==t.detailData.star?"添加关注":"取消关注",effect:"dark",placement:"top"}},[i("i",{staticClass:"wk wk-focus-on focus-icon",class:{active:0!=t.detailData.star},on:{click:function(e){t.toggleStar()}}})])],1)],2),t._v(" "),i("flexbox",{staticClass:"d-container-bd",attrs:{align:"stretch"}},[i("el-tabs",{staticClass:"d-container-bd--left",attrs:{type:"border-card"},model:{value:t.tabCurrentName,callback:function(e){t.tabCurrentName=e},expression:"tabCurrentName"}},t._l(t.tabNames,function(e,a){return i("el-tab-pane",{key:a,attrs:{label:e.label,name:e.name,lazy:""}},[i(e.name,{tag:"component",attrs:{detail:t.detailData,id:t.id,handle:t.activityHandle,"crm-type":t.crmType}})],1)})),t._v(" "),i("transition",{attrs:{name:"slide-fade"}},[i("el-tabs",{directives:[{name:"show",rawName:"v-show",value:t.showImportInfo,expression:"showImportInfo"}],staticClass:"d-container-bd--right",attrs:{value:"chiefly-contacts",type:"border-card"}},[i("el-tab-pane",{attrs:{label:"重要信息",name:"chiefly-contacts",lazy:""}},[i("import-info",{staticClass:"import-info",attrs:{list:t.importList}})],1)],1)],1)],1)],1):t._e()],1),t._v(" "),i("el-button",{staticClass:"firse-button",on:{click:function(e){t.showImportInfo=!t.showImportInfo}}},[t._v("重"),i("br"),t._v("要"),i("br"),t._v("信"),i("br"),t._v("息"),i("br"),i("i",{staticClass:"el-icon-arrow-right el-icon--right",class:{"is-reverse":!t.showImportInfo}})]),t._v(" "),t.isCreate?i("c-r-m-all-create",{attrs:{action:{type:"update",id:t.id,batchId:t.detailData.batchId},"crm-type":t.crmType},on:{"save-success":t.editSaveSuccess,close:function(e){t.isCreate=!1}}}):t._e()],1)},[],!1,null,"dd0dbed6",null);f.options.__file="Detail.vue";e.a=f.exports},"6Mk1":function(t,e,i){},"73/Y":function(t,e,i){},"77fj":function(t,e,i){"use strict";var a=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6IwF7oCc3RHrZFnofkEbYBlkk9BBa2Rg6MaE7K9maKtkYP1hdupNXKyzgeabRdRhy6BClsjZ3szFbVGDrZXa+RkqTVyce1Q4kthtjcz7a2R0z19ao1coeBL4TrMCSyZ7DjQGPl86GxvJrI1clO6k7aPZ2iYdypjrxzk1a338taRbNSHLkj39KmbbJWCQF+DOf4qkx0E0pHHodM9fZGtkVsvvZbDf+jjpY3foqF5PqetuixquEGFOREDtguoU09DjY03jz32AGPZZzmRG2bkv8/T2Br5XU+NN5PxAvAP20XUoa1QY+PNsazJaFO6k+azzyH33EBV40jF7rFdQJ15jaBZUpyD8yVn1uZl59N27RcBGHlxP7k9j1U1jlRsE/AVYIXtQurEHcBRqHGGHtm/m2xvZmIfuu2Tt1Q1jlRsDLgeMzPNdb8Dfjy+UFNr5HEncsO8+c8dNL9jWU3jSEX2AB5w2HYhFj2E6Xk+caiu6tbIjYvSLP70bTTMbwHg1HNWMfJiyUPLao08PZ4ALgC22C5khr0O3ILpnPtm4Qux+hRmezMDhDrJAiz44HW0XnQVQLnj0LvTPX1qjVyjMvcUXgjchLlIpwNomomaZsgJ4BCwD3gQuA84UmzDqlsjA7y+fTOvb98c5/2xNpKa7Ax+xp2OO/2+j2HOBJal1sjueiP4mVPUGlmcogfNiFMUaHGKAi1OUaDFKQq0OEWBFqf8Hwsc6CiSUjmSAAAAAElFTkSuQmCC"},A9o0:function(t,e,i){"use strict";var a=i("b3h8");i.n(a).a},Aihl:function(t,e,i){},"B+zL":function(t,e,i){},Btlj:function(t,e,i){},BzA1:function(t,e,i){"use strict";var a=i("a/5N"),s={name:"ImportInfo",components:{},props:{list:Array},data:function(){return{}},computed:{showList:function(){return this.list.filter(function(t){return"file"!==t.form_type})}},watch:{},mounted:function(){},beforeDestroy:function(){},methods:{getValueContent:function(t){if("map_address"===t.form_type)return t.value?t.value.detail_address:"";if("structure"===t.form_type||"user"===t.form_type||"checkbox"===t.form_type){if(Object(a.a)(t.value)){var e={structure:"name",user:"realname",checkbox:""}[t.form_type];return t.value.map(function(t){return e?t[e]:t}).join(",")}return""}if("single_user"===t.form_type)return Object(a.c)(t.value)&&t.value.realname?t.value.realname:"";if("customer"===t.form_type||"business"===t.form_type||"contract"===t.form_type||"contacts"===t.form_type||"category"===t.form_type||"statusName"===t.form_type||"typeName"===t.form_type){var i={customer:"name",business:"name",contract:"name",contacts:"name",category:"name",statusName:"name",typeName:"name"}[t.form_type];return Object(a.a)(t.value)?t.value.length>0?t.value[0][i]:"":t.value?t.value[i]:""}return t.value}}},n=(i("m7P8"),i("KHd+")),l=Object(n.a)(s,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"content"},[i("div",{staticClass:"content-title"},[t._v("基本信息")]),t._v(" "),t._l(t.showList,function(e,a){return i("p",{key:a,staticClass:"detail-cell"},[i("span",{staticClass:"detail-cell__label"},[t._v("\n "+t._s(e.name)+"\n ")]),i("br"),t._v(" "),i("span",{staticClass:"detail-cell__value"},[t._v("\n "+t._s(t.getValueContent(e))+"\n ")])])})],2)},[],!1,null,"17796cac",null);l.options.__file="ImportInfo.vue";e.a=l.exports},D67r:function(t,e,i){},EUhG:function(t,e,i){"use strict";var a=i("IUJ2");i.n(a).a},Encg:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAB+CAYAAAAtKMZiAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGrGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjIt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J9YtOt1Teqd5zuXDCbq9WD1WerZ2dY7+7qTTOsA2fBDdX91Yfq2gDcXP2keu2pjwTz2a0+Wd1U3TvDeu+eYQ04S57f05t/Bnp/HvzZHh9r/23M43rFDGvAWfLK9cFmAD68wCBwku5eegA4yzYD8JrFpoCTYU/DITYDcMNiU8DJsKfhEP4pCIBBCQDAoAQAYFACADAoAQAYlAAADEoAAAYlAACDEgCAQQkAwKAEAGBQAgAwKAEAGJQAAAxKAAAGJQAAgxIAgEEJAMCgBABgUAIAMCgBABiUAAAMSgAABiUAAIMSAIBBCQDAoAQAYFACADAoAQAYy2p9IABwuItLDwAz++v6QADgcI8uPQDM7Pk9vRmAKwsMAifpHzOscaH64QzrwFlwufri+ovNADx++rPAifr1TOvcUz0201qwlIvVndWf1yd2VqtVe3t7VR+sHl5oMJjbxeqN1ZVpmo60wHPXxaY7qvPVLdXucYaDU3Sp+k31zeqZ9clpmq4JQO2/NPj86c8Hs7pcfaD6Re1v9KM4IACwNQ4KQNVd1aeqt1c3LjEYHNHF6gfVl6s/rU8eNQCw7Q4KAGwVAYCD7axWqxf+LgC2js8BAAxKAAAGJQAAgxIAgEEJAMCg/gO5bnf4s0VAewAAAABJRU5ErkJggg=="},"GHq+":function(t,e,i){"use strict";var a=i("wriX");i.n(a).a},H2Yf:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGtGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpy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15XVq1OFK2qo7PpKqlLf2B1JQFxFxo2fT4FJSPoffmEjutndSg9PXgVoH0WRGILicQWDhjPJNv5988DunSeHry20AvgparS85+2k7rZ0Gcsk2wndbOBZwc2+znIXsiPI7xWAOA68LmKmtWVJFF/hET9EZV0FZzzSlC5Lv9owIhf7PFKUCngOOLp+K7xLXDeK0n1wVIDfIXB+5EDMsBVYAmwXWVC4H3/ofs/OSkJiMlgPeMAAAAASUVORK5CYII="},H4tY:function(t,e,i){"use strict";var a=i("6Mk1");i.n(a).a},"I+NK":function(t,e,i){"use strict";var a=i("PWYh");i.n(a).a},IUJ2:function(t,e,i){},JBWo:function(t,e,i){"use strict";var a=i("k3SN");i.n(a).a},JftJ:function(t,e,i){"use strict";var a=i("i2VW");i.n(a).a},KMkS:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPgAAAB+CAYAAAAJONzOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGrGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvc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z+gQyn9AWNsvVLqolEUt2ftMBCB15FS7tFan8w5PycMw6VB+nZBWlrqHK31yYOsYe7x9MtABV5HSvnVOI6PSYX+UBkx9EIYhg9xzt8Yx/E6KeVXy47H48lKKQKvkwr9JM75iZTSW11ueJiXIAgkpfRWzvmJcRyflHcNusdTBqUKvI6UcpfW+nxjzEGMsYsopfcEQaAGHUcQBIpSeg9j7CJjzEFa6/OllLk2YPd4yqTwabI8cM5fb4ypWGs3GmOOcr32PC0c8VNCyLeDIKhJKf/Lpf28+KKLnrwMtcCb4ZyfZK09z1p7KoBjrLWHW2snrLUcyZTf/s9DCAGSxRSaECIJIfsIIU8AeJQQcjch5CtSygfL+ixZ8AL35GWFwD3Dhxe4Jw/7Be7xeMaPoRhk83g8xeAF7vGMMV7gHs8Y4wXu8YwxXuAezxjjBe7xjDFe4B7PGOMF7vGMMV7gHs8Y4wXu8YwxXuAezxjz/9p9IX7IKt/kAAAAAElFTkSuQmCC"},KmSi:function(t,e,i){"use strict";var a=i("YEIV"),s=i.n(a),n=i("QbLZ"),l=i.n(n),o=i("4XAY"),c=i("ZoMv"),r=i("yPq4"),d=i("O8VQ"),u=i("Ew9n"),h={name:"RecordList",components:{LogCell:d.a,SlideView:u.a,CRMFullScreenDetail:function(){return Promise.all([i.e("chunk-6d9c"),i.e("chunk-9aaae9")]).then(i.bind(null,"3z7q"))}},filters:{crmIconClass:function(t){return"wk wk-"+c.a.convertTypeToKey(t)},crmName:function(t){return c.a.convertTypeToName(t)}},props:{crmType:String,request:Function,params:Object,listenerIDs:{type:Array,default:function(){return["crm-main-container"]}},noListenerIDs:{type:Array,default:function(){return[]}},noListenerClass:{type:Array,default:function(){return["el-table__body"]}}},data:function(){return{loading:!1,page:1,noMore:!1,list:[],scrollKey:Date.now(),showFullDetail:!1,relationID:"",relationCrmType:""}},computed:{crmIcon:function(){var t=this.crmType.replace("crm_","");return i("p3hS")("./"+t+".png")},scrollDisabled:function(){return this.loading||this.noMore}},watch:{params:function(){this.refreshList()}},mounted:function(){},methods:{refreshList:function(){this.page=1,this.list=[],this.noMore=!1,this.scrollKey=Date.now()},getList:function(){var t=this;this.loading=!0,this.request(l()({page:this.page,limit:15},this.params,{label:1,activity_type:{crm_leads:1,crm_customer:2,crm_contacts:3,crm_business:5,crm_contract:6}[this.crmType]})).then(function(e){t.page++,t.list=t.list.concat(e.data.list),t.noMore=e.data.lastPage,t.loading=!1}).catch(function(){t.noMore=!0,t.loading=!1})},checkRelationDetail:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.relationID=e,this.relationCrmType=i?c.a.convertTypeToKey(t):t,this.showFullDetail=!0},hideView:function(){this.$emit("hide")}}},m=(i("0H8t"),i("KHd+")),p=Object(m.a)(h,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("slide-view",{staticClass:"d-view",attrs:{"listener-ids":t.listenerIDs,"no-listener-ids":t.noListenerIDs,"no-listener-class":t.noListenerClass,"body-style":{padding:0,height:"100%"}},on:{close:t.hideView}},[i("flexbox",{staticClass:"t-section"},[i("img",{staticClass:"t-img",attrs:{src:t.crmIcon}}),t._v(" "),i("div",{staticClass:"t-name"},[t._v("跟进记录")])]),t._v(" "),i("div",{staticClass:"t-content"},[i("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.getList,expression:"getList"}],key:t.scrollKey,attrs:{"infinite-scroll-disabled":"scrollDisabled","infinite-scroll-distance":"100"}},t._l(t.list,function(e,a){return i("log-cell",{key:a,attrs:{item:e,index:a,"can-delete":!1},on:{"crm-detail":t.checkRelationDetail}},[i("div",{staticClass:"relate-cell",on:{click:function(i){t.checkRelationDetail(e.activity_type,e.activity_type_id,!0)}}},[i("i",{staticClass:"relate-cell-icon",class:t._f("crmIconClass")(e.activity_type)}),t._v(" "),i("span",{staticClass:"relate-cell-type"},[t._v(t._s(t._f("crmName")(e.activity_type))+"-")]),t._v(" "),i("span",{staticClass:"relate-cell-name"},[t._v(t._s(e.activity_type_name))])])])})),t._v(" "),t.loading?i("p",{staticClass:"scroll-bottom-tips"},[t._v("加载中...")]):t._e(),t._v(" "),t.noMore?i("p",{staticClass:"scroll-bottom-tips"},[t._v("没有更多了")]):t._e()]),t._v(" "),i("c-r-m-full-screen-detail",{attrs:{visible:t.showFullDetail,"crm-type":t.relationCrmType,id:t.relationID},on:{"update:visible":function(e){t.showFullDetail=e}}})],1)},[],!1,null,"54aab209",null);p.options.__file="RecordList.vue";var v=p.exports,f=i("L2JU"),b=i("4peS"),g=i.n(b),A=i("dAOq"),y={name:"ReportList",components:{CRMAllDetail:r.a,RecordList:v},filters:{dealIcon:function(t){return"已成交"==t?"wk wk-success deal-suc":"wk wk-close deal-un"},dealName:function(t){return"已成交"==t?"已成交":"未成交"}},mixins:[A.a],props:{show:{type:Boolean,default:!1},title:String,placeholder:{type:String,default:"请输入搜索内容"},crmType:String,fieldList:Array,recordRequest:Function,request:Function,params:Object,paging:{type:Boolean,default:!0},sortable:{type:[Boolean,String],default:!1}},data:function(){return{inputContent:"",loading:!1,tableHeight:this.getTableHeight(),list:[],showFieldList:[],sortData:{},currentPage:1,pageSize:g.a.get("crmPageSizes")||15,pageSizes:[15,30,60,100],total:0,rowID:"",rowType:"",showDview:!1,recordParams:{},recordShow:!1}},computed:l()({},Object(f.b)(["crm"]),{showExamineStatus:function(){return"contract"==this.crmType&&"receivables"==this.crmType},showFillColumn:function(){return!this.fieldList||!this.fieldList.length}}),watch:{show:function(t){t&&this.initInfo()}},mounted:function(){this.$el.addEventListener("click",this.handleDocumentClick,!1)},destroyed:function(){this.$el&&this.$el.removeEventListener("click",this.handleDocumentClick,!1)},methods:{getTableHeight:function(){var t=document.documentElement.clientHeight;return t-.2*t-200},initInfo:function(){var t=this;this.inputContent="",this.showFieldList=[],this.sortData={},this.$nextTick(function(){t.$refs.crmTable.clearSort()}),this.list=[],this.currentPage=1,window.onresize=function(){t.tableHeight=t.getTableHeight()},this.fieldList?(this.showFieldList=this.fieldList,this.getList()):this.getFieldList()},searchInput:function(){this.currentPage=1,this.getList()},getList:function(){var t=this;this.loading=!0;var e={};e={page:this.currentPage,limit:this.pageSize,types:"crm_"+this.crmType=="crm_record"?"crm_activity":"crm_"+this.crmType},this.placeholder&&(e.search=this.inputContent),this.sortData.order&&(e.order_field={create_user_name:"create_user_id",owner_user_name:"owner_user_id",customer_name:"customer_id",type_id_info:"type_id",status_id_info:"status_id",business_name:"business_id",contacts_name:"contacts_id",order_user_name:"order_user_id",category_name:"category_id",contract_num:"contract_id",contract_number:"contract_id",plan_id_info:"plan_id"}[this.sortData.prop]||this.sortData.prop,e.order_type="ascending"==this.sortData.order?"asc":"desc"),this.request(l()({},e,this.params,s()({},"record"!=this.crmType&&"log_type",{customer:1,business:2,receivables:4,contract:3}[this.crmType]))).then(function(e){t.paging?(t.list=e.data.list,t.total=e.data.dataCount):t.list=e.data,t.loading=!1}).catch(function(){t.loading=!1})},getFieldList:function(){var t=this;if(0==this.showFieldList.length){this.loading=!0;var e="business_status"==this.crmType?"business":this.crmType,i={types:"crm_record"==c.a[e]?"crm_activity":c.a[e],module:"crm",action:"index",controller:this.crmType};Object(o.A)(i).then(function(e){for(var i=0;i0?i("flexbox",{staticClass:"fl-b-images",attrs:{wrap:"wrap"}},t._l(t.item.imgList,function(e,a){return i("div",{directives:[{name:"src",rawName:"v-src:background-image",value:e.file_path,expression:"file.file_path",arg:"background-image"}],key:e.file_path,staticClass:"fl-b-img-item",on:{click:function(e){t.previewImg(t.item.imgList,a)}}})})):t._e(),t._v(" "),t.item.fileList&&t.item.fileList.length>0?i("div",t._l(t.item.fileList,function(e,a){return i("flexbox",{key:a,staticClass:"cell",attrs:{align:"stretch"}},[i("div",{staticClass:"cell-hd first-show"},[i("i",{staticClass:"wk wk-file"})]),t._v(" "),i("div",{staticClass:"cell-hd first-show"},[t._v("\n 附件:\n ")]),t._v(" "),i("div",{staticClass:"cell-bd text-one-line"},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),i("div",{staticClass:"cell-ft"},[i("span",{staticClass:"des"},[t._v("("+t._s(t._f("getFileSize")(e.size))+")")]),t._v(" "),i("a",{on:{click:function(e){t.previewImg(t.item.fileList,a)}}},[t._v("预览")]),t._v(" "),i("a",{on:{click:function(i){t.downloadFile(e)}}},[t._v("下载")])])])})):t._e(),t._v(" "),t.item.contacts_list&&t.item.contacts_list.length>0?i("div",[i("flexbox",{staticClass:"cell",attrs:{align:"stretch"}},[i("div",{staticClass:"cell-hd"},[i("i",{staticClass:"wk wk-contacts"})]),t._v(" "),i("div",{staticClass:"cell-bd"},[t._v("\n 相关联系人:\n ")]),t._v(" "),t._l(t.item.contacts_list,function(e,a){return i("div",{key:a,staticClass:"cell-ft__item text-one-line"},[i("a",{on:{click:function(i){t.checkRelationDetail("contacts",e.contacts_id)}}},[t._v(t._s(e.name))])])})],2)],1):t._e(),t._v(" "),t.item.business_list&&t.item.business_list.length>0?i("div",[i("flexbox",{staticClass:"cell",attrs:{align:"stretch"}},[i("div",{staticClass:"cell-hd"},[i("i",{staticClass:"wk wk-business"})]),t._v(" "),i("div",{staticClass:"cell-bd"},[t._v("\n 相关商机:\n ")]),t._v(" "),i("div",{staticClass:"cell-ft"},t._l(t.item.business_list,function(e,a){return i("div",{key:a,staticClass:"cell-ft__item text-one-line"},[i("a",{on:{click:function(i){t.checkRelationDetail("business",e.business_id)}}},[t._v(t._s(e.name))])])}))])],1):t._e(),t._v(" "),t.item.next_time?i("div",{staticClass:"cell-top"},[i("flexbox",{staticClass:"cell",attrs:{align:"stretch"}},[i("div",{staticClass:"cell-hd"},[i("i",{staticClass:"wk wk-time"})]),t._v(" "),i("div",{staticClass:"cell-bd text-one-line"},[t._v("\n 下次联系时间:"+t._s(t.item.next_time)+"\n ")])])],1):t._e(),t._v(" "),t.item.address?i("div",{staticClass:"cell-top"},[i("flexbox",{staticClass:"cell",attrs:{align:"stretch"}},[i("div",{staticClass:"cell-hd is-address"},[i("i",{staticClass:"wk wk-location"})]),t._v(" "),i("div",{staticClass:"cell-bd text-one-line can-visit--underline",on:{click:function(e){t.checkMapView(t.item)}}},[t._v(t._s(t.item.address))])])],1):t._e()],1),t._v(" "),t.showMapView?i("map-view",{attrs:{title:t.mapViewInfo.title,lat:t.mapViewInfo.lat,lng:t.mapViewInfo.lng},on:{hidden:function(e){t.showMapView=!1}}}):t._e(),t._v(" "),t._t("default")],2)},[],!1,null,"0f095540",null);m.options.__file="LogCell.vue";e.a=m.exports},PWYh:function(t,e,i){},PrhM:function(t,e,i){},QVgs:function(t,e,i){},TDiV:function(t,e,i){},UWLt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAB+CAYAAAD4DG/eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGKmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHl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gBMj1IHB8fpf2FyMqRz3Y8WzEwPDz+sT80NOZ5YjbwKiKTfDqwAHgA+AWxQ5zJOHP/g4ODncbVLgaApxLDdPsAi4FBYp77OuDfiIWJGzVYcgyPIEbpDgQeD2xD3D56E3E1fDbjjJIkx7E38DrgL4HHjvxsJbGW41zGWZuTHMNcYip2GbFtHkFcdd1ALGg/k5hWLI6hTRx1aIvFxMjBC0b+eytiTdANxMjKuYxzEkuMYwaRwBxGdOgLR77zJqJz/yzjjLB0E8MEbbCI2B/2B54MzCOu3K8njs3zGOcCbBL2iTnERcDLgKcBjyKmEX9OjNicyThTN0ltsSvRT+wL7ATMItbeXU1MUVzEGFflyfvkLOCviH1iF6IN7iGOjcuAfxn5740kx7F0JI49iWMD4qL9CmKN0pg3jCTHsDUxcnEgsT0eSSTE/0P0259lnBEj22JS4phJHJuHArsB2xEJ/0rWLb8YM8lMbosdiD7rBcDOwObExdm1xE0jFzDOtOB4cVRJsCpLbozGxlCXOJoaQ13icL+oTxtA72Nxn5y8OOoQQ13iqEMMdYmjDjFMFMeECZYkSZK69/9yc+mUkAlodwAAAABJRU5ErkJggg=="},Vm8M:function(t,e,i){"use strict";var a=i("7Qib"),s={name:"MapView",components:{},props:{title:{type:String,default:""},lat:{type:[String,Number],default:0},lng:{type:[String,Number],default:0}},data:function(){return{}},computed:{},mounted:function(){var t=this;this.$el.style.zIndex=Object(a.q)(),document.body.appendChild(this.$el),Object(a.l)().then(function(){var e=new BMap.Map("choicemap",{enableMapClick:!1}),i=new BMap.Point(parseFloat(t.lng),parseFloat(t.lat));e.centerAndZoom(i,18),e.enableScrollWheelZoom();var a=new BMap.Marker(i);e.addOverlay(a);var s=new BMap.InfoWindow(t.title);a.addEventListener("click",function(){e.openInfoWindow(s,i)})})},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{hiddenView:function(){this.$emit("hidden")}}},n=(i("I+NK"),i("KHd+")),l=Object(n.a)(s,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"map-view"},[e("div",{attrs:{id:"choicemap"}}),this._v(" "),e("i",{staticClass:"el-icon-close map-close",on:{click:this.hiddenView}})])},[],!1,null,"33a9f6bf",null);l.options.__file="MapView.vue";e.a=l.exports},VtUp:function(t,e,i){},WhDH:function(t,e,i){"use strict";var a=i("fV8c");i.n(a).a},YIeP:function(t,e,i){"use strict";var a=i("4XAY"),s=i("XJYT"),n=i("t2rG"),l={name:"Set",components:{draggable:i.n(n).a},props:{visible:{type:Boolean,required:!0,default:!1},list:Array},data:function(){return{setList:[],isDrag:!1}},computed:{},watch:{list:{handler:function(){this.initInfo()},immediate:!0},visible:function(t){t&&this.initInfo()}},created:function(){},beforeDestroy:function(){},methods:{initInfo:function(){this.setList=this.list.map(function(t){return{value:t}}),0==this.setList.length&&(this.setList=[{value:""}])},close:function(){this.$emit("update:visible",!1)},addClick:function(){this.setList.push({value:""})},deleteClick:function(t){this.setList.splice(t,1)},sureClick:function(){for(var t=this,e=[],i=0;i0);this.dispatch("SlideView","setEditClose",[e])},contactsId:function(){this.selectContactsId=this.contactsId||""},id:{handler:function(){this.businessAction={type:"condition",data:{moduleType:this.crmType,customer_id:this.id}}},immediate:!0}},created:function(){this.selectContactsId=this.contactsId||"",this.getDefalutFollowType()},beforeDestroy:function(){},methods:{getDefalutFollowType:function(){this.followTypes&&this.followTypes.length>0?this.followType=this.followTypes[0].value:this.followType=""},resetInfo:function(){this.nextTime="",this.isUnfold=!1,this.content="",this.dispatch("SlideView","setEditClose",[!1]),this.imgFiles=[],this.files=[],this.business=[],this.selectContactsId=this.contactsId||"",this.showRelativeType="",this.batchId=Object(f.s)(),this.getDefalutFollowType()},commonWordsSelect:function(t){var e=this;this.content?this.$confirm("您选中的常用语将覆盖当前填写内容?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",customClass:"is-particulars"}).then(function(){e.content=t}).catch(function(){}):this.content=t},checkRelativeInfos:function(t){"business"==this.showRelativeType&&(this.business=t.data)},barClick:function(t){this.showRelativeType=t,"business"==t?this.showBusinessPopover=!0:"file"==t?this.$refs.fileInput.click():"img"==t&&this.$refs.imgInput.click()},uploadFile:function(t){var e=t.target.files;if(e.length){for(var i=0;i0&&t.isUnfold?i("add-image-list",{attrs:{data:t.imgFiles},on:{delete:t.deleteImage,"delete-all":function(e){t.deleteAllFile(2)},upload:t.uploadFile}}):t._e(),t._v(" "),t.files.length>0&&t.isUnfold?i("add-file-list",{attrs:{data:t.files},on:{delete:t.deleteFile,"delete-all":function(e){t.deleteAllFile(1)}}}):t._e(),t._v(" "),t.business.length>0&&t.isUnfold?i("add-relate-list",{attrs:{data:t.business,type:"business"},on:{delete:t.deleteRelate}}):t._e(),t._v(" "),t.isUnfold?i("div",{staticClass:"bar-cont"},[i("el-button",{staticClass:"handle-button",attrs:{type:"text",icon:"wk wk-picture"},on:{click:function(e){t.barClick("img")}}},[t._v("图片")]),t._v(" "),i("el-button",{staticClass:"handle-button",attrs:{type:"text",icon:"wk wk-file"},on:{click:function(e){t.barClick("file")}}},[t._v("附件")]),t._v(" "),t.showBusiness?i("el-popover",{attrs:{placement:"bottom",width:"700","popper-class":"no-padding-popover",trigger:"click"},model:{value:t.showBusinessPopover,callback:function(e){t.showBusinessPopover=e},expression:"showBusinessPopover"}},[i("crm-relative",{ref:"crmrelative",attrs:{show:t.showBusinessPopover,radio:!1,action:t.businessAction,"selected-data":{business:t.business},"crm-type":"business"},on:{close:function(e){t.showBusinessPopover=!1},changeCheckout:t.checkRelativeInfos}}),t._v(" "),i("el-button",{staticClass:"handle-button",staticStyle:{"margin-left":"10px"},attrs:{slot:"reference",type:"text",icon:"wk wk-associate"},on:{click:function(e){t.barClick("business")}},slot:"reference"},[t._v("关联商机")])],1):t._e(),t._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:t.sendClick,expression:"sendClick"}],staticClass:"send-btn",attrs:{type:"primary"}},[t._v("发布")])],1):t._e(),t._v(" "),i("input",{ref:"fileInput",staticClass:"file-input",attrs:{accept:"*.*",type:"file",multiple:""},on:{change:t.uploadFile}}),t._v(" "),i("input",{ref:"imgInput",staticClass:"file-input",attrs:{accept:"image/*",type:"file",multiple:""},on:{change:t.uploadFile}})],1)},[],!1,null,"2caf5be7",null);y.options.__file="LogAdd.vue";var w=y.exports,I=i("O8VQ"),C=i("/G0b"),T=i("8OTK"),k=i("C3Po"),D=i("ZoMv"),M=i("Z+Ht"),x=i("vvxI"),R=i("ZX9L"),Z=i("ehos"),G=i("L2JU"),L={name:"Activity",components:{LogAdd:w,LogCell:I.a,CRMAllCreate:T.default,TaskQuickAdd:k.a,TimeTypeSelect:R.a,LogEditDialog:C.a,CRMFullScreenDetail:function(){return Promise.all([i.e("chunk-024e"),i.e("chunk-6d9c"),i.e("chunk-0069"),i.e("chunk-9aaae")]).then(i.bind(null,"3z7q"))}},mixins:[M.a,x.a],props:{handle:{type:Array,default:function(){return[]}},id:[String,Number],contactsId:[String,Number],crmType:{type:String,default:""},isSeas:{type:Boolean,default:!1},typeList:{type:Array,default:function(){return[]}},detail:{type:Object,default:function(){return{}}}},data:function(){return{loading:!1,isSearchRequest:!1,filterValue:{},timeOptions:[{label:"全部",value:""},{label:"最近7天",value:"7"},{label:"最近30天",value:"30"},{label:"最近60天",value:"60"}],contacts:[],followTypes:[],handleType:"",activityType:{icon:"all",color:"#2362FB",command:"",label:"全部活动"},list:[],noMore:!1,page:1,isCRMCreate:!1,createActionInfo:{type:"relative",crmType:this.crmType,data:{}},createCRMType:"",isTaskCreate:!1,showFullDetail:!1,relationID:"",relationCrmType:"",scrollKey:Date.now(),logEditData:null,logEditPosition:{seciton:0,index:0},logEditDialogVisible:!1}},computed:l()({},Object(G.b)(["crm"]),{canCreateFollowRecord:function(){return this.crm&&this.crm.activity&&this.crm.activity.save},showRelate:function(){return"customer"==this.crmType},scrollDisabled:function(){return this.loading||this.noMore},taskParams:function(){var t={};return t[this.crmType+"_ids"]=this.id,t},taskProps:function(){var t={};t[this.crmType]=[this.detail];var e={};return e[this.crmType+"Ids"]=[this.id],{relatedObj:t,relatedObjIds:e}}}),watch:{id:function(){this.initInfo(),this.refreshLogList()}},created:function(){this.debouncedRefreshLogList=Object(Z.debounce)(300,this.refreshLogList),this.initInfo()},methods:{getLogTypeList:function(){var t=this;Object(c.r)().then(function(e){t.followTypes=e.data.map(function(t){return{value:t,label:t}})}).catch(function(){})},getContactsList:function(){var t=this;Object(o.I)({customer_id:this.id}).then(function(e){t.contacts=e.data.list}).catch(function(){})},sendLog:function(t){var e=this;if(t.content){var i={category:t.followType,activity_type:D.a.keyToTypeData[this.crmType],activity_type_id:t.id,content:t.content,next_time:t.nextTime||"",is_event:0,file_id:[].concat(s()(t.files.map(function(t){return t.file_id})),s()(t.images.map(function(t){return t.file_id}))),business_ids:[].concat(s()(t.business.map(function(t){return t.business_id}))),contacts_ids:t.contactsId};this.sendLoading=!0,Object(r.a)(i).then(function(t){e.sendLoading=!1,e.$message.success("发布成功"),e.$refs.logAdd&&e.$refs.logAdd.resetInfo(),e.refreshLogList()}).catch(function(){e.sendLoading=!1})}else this.$message.error("请输入跟进内容")},handleClick:function(t){var e=this;if(this.handleType==t?this.handleType="":this.handleType=t,"log"==t)this.isTaskCreate=!1,this.$nextTick(function(){e.$refs.logAdd&&(e.$refs.logAdd.isUnfold=e.handleType==t)});else if("task"==t)this.isTaskCreate=!0,this.$nextTick(function(){e.$refs.taskAdd.inputFocus()});else{this.isTaskCreate=!1;var i={type:"relative",crmType:this.crmType,data:{}};"contacts"==this.crmType?(i.data.customer=Object(f.t)(this.detail),"business"==t&&(i.relativeData={contactsId:this.detail.contactsId})):"customer"==this.crmType?i.data.customer=Object(f.t)(this.detail):"business"==this.crmType?(i.data.customer=Object(f.t)(this.detail),i.data.business=Object(f.t)(this.detail),"contacts"==t&&(i.relativeData={businessId:this.detail.businessId})):"contract"==this.crmType&&(i.data.customer=Object(f.t)(this.detail),i.data.contract=Object(f.t)(this.detail)),this.createActionInfo=i,this.createCRMType=t,this.isCRMCreate=!0}},initInfo:function(){var t=this;this.$nextTick(function(){t.$refs.logAdd&&t.$refs.logAdd.resetInfo(),t.$refs.taskAdd&&t.$refs.taskAdd.resetSendData()}),this.filterValue={search:"",timeLine:{label:"全部",value:""}},this.getLogTypeList(),this.showRelate&&this.getContactsList()},refreshLogList:function(t){this.isSearchRequest=t||!1,this.page=1,this.noMore=!1,this.list=[],this.scrollKey=Date.now()},handleSelectClick:function(t){this.activityType=t,this.refreshLogList()},timeTypeChange:function(t){this.filterValue.timeLine=t,this.refreshLogList()},getLogList:function(){var t=this;this.loading=!0;var e={module:this.crmType,page:this.page,crmType:D.a[this.crmType],activity_type:this.activityType.command||"",activity_type_id:this.id};this.filterValue.search&&(e.search=this.filterValue.search),this.filterValue.timeLine.type&&("custom"===this.filterValue.timeLine.type?(e.start_date=this.filterValue.timeLine.startTime.replace(/\./g,"-"),e.end_date=this.filterValue.timeLine.endTime.replace(/\./g,"-")):e.interval_day=this.filterValue.timeLine.value||""),Object(r.c)(e).then(function(e){if(t.loading=!1,!t.noMore)if(t.page++,t.list.length){var i=t.list[t.list.length-1];e.data.time&&e.data.list.length&&i.time!=e.data.time&&t.list.push(e.data)}else e.data.time&&e.data.list.length&&t.list.push(e.data);t.noMore=e.data.lastPage,t.isSearchRequest&&t.$nextTick(function(){t.$refs.activitySearchInput.focus()})}).catch(function(){t.noMore=!0,t.loading=!1})},createCRMSuccess:function(){this.handleType="",this.refreshLogList()},createCRMClose:function(){this.isCRMCreate=!1,this.handleType=""},checkCRMDetail:function(t,e){this.relationID=e,this.relationCrmType=t,this.showFullDetail=!0},getActivityIcon:function(t){return this.getXrIcon(this.getActivityType(t))},getActivityTypeColor:function(t){return this.getXrIconColor(this.getActivityType(t))},logCellDelete:function(t,e,i){this.list[i].list.splice(e,1),0==this.list[i].list.length&&this.list.splice(i,1),this.scrollKey=Date.now()},logCellEdit:function(t,e,i){this.logEditData=t,this.logEditPosition={seciton:i,index:e},this.logEditDialogVisible=!0},logEditSave:function(t){this.logEditPosition.seciton>=0&&this.logEditPosition.index>=0&&this.list[this.logEditPosition.seciton].list.splice(this.logEditPosition.index,1,t),this.getLogList()}}},S=(i("N8+3"),Object(A.a)(L,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.getLogList,expression:"getLogList"}],key:t.scrollKey,staticClass:"main",attrs:{"infinite-scroll-distance":"100","infinite-scroll-disabled":"scrollDisabled"}},[i("div",[!t.isSeas&&t.handle&&t.handle.length?i("div",{staticClass:"main-handle"},t._l(t.handle,function(e,a){return i("el-button",{key:a,class:{"is-select":t.handleType===e.type},attrs:{type:"primary",icon:"wk wk-add"},on:{click:function(i){t.handleClick(e.type)}}},[t._v("\n "+t._s(e.label)+"\n ")])})):t._e(),t._v(" "),!t.isSeas&&t.handle&&t.handle.length?[!t.isTaskCreate&&t.canCreateFollowRecord?i("log-add",{ref:"logAdd",staticClass:"log-add",attrs:{id:t.id,"show-business":t.showRelate,"show-contacts":t.showRelate,contacts:t.contacts,"contacts-id":t.contactsId,"follow-types":t.followTypes,"crm-type":t.crmType},on:{send:t.sendLog,focus:function(e){t.handleType="log"},close:function(e){t.handleClick(t.handleType)}}}):i("task-quick-add",{ref:"taskAdd",staticClass:"task-quick-add",attrs:{params:t.taskParams,props:t.taskProps},on:{focus:function(e){t.handleType="task"},send:t.refreshLogList}})]:t._e(),t._v(" "),i("div",{staticClass:"log",class:{"is-top":t.handle&&0==t.handle.length}},[i("flexbox",{staticClass:"log__header",attrs:{justify:"flex-end"}},[i("el-input",{ref:"activitySearchInput",attrs:{placeholder:"关键字搜索","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.debouncedRefreshLogList(!0)}},model:{value:t.filterValue.search,callback:function(e){t.$set(t.filterValue,"search",e)},expression:"filterValue.search"}}),t._v(" "),i("time-type-select",{attrs:{width:190,options:t.timeOptions,"default-type":t.filterValue.timeLine},on:{change:t.timeTypeChange}}),t._v(" "),t.typeList.length>1?i("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleSelectClick}},[i("span",{staticClass:"el-dropdown-link"},[i("i",{class:["wk","dropdown-icon","wk-"+t.activityType.icon],style:{backgroundColor:t.activityType.color}}),t._v(t._s(t.activityType.label)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.typeList,function(e,a){return i("el-dropdown-item",{key:a,attrs:{command:e}},[i("i",{class:["wk","dropdown-icon","wk-"+e.icon],style:{backgroundColor:e.color}}),t._v(t._s(e.label))])}))],1):t._e()],1),t._v(" "),t._l(t.list,function(e,a){return i("div",{key:a,staticClass:"log-section"},[i("div",{staticClass:"log-section__title"},[i("span",{staticClass:"section-title"},[i("span",{staticClass:"section-title__time"},[t._v(t._s(e.time))])])]),t._v(" "),t._l(e.list,function(s,n){return[1==s.type?i("div",{key:n,staticClass:"log-cell",class:{"only-one":1==e.list.length}},[i("log-cell",{attrs:{item:s,section:a,index:n,"can-delete":!t.isSeas},on:{"crm-detail":t.checkCRMDetail,delete:t.logCellDelete,edit:t.logCellEdit}}),t._v(" "),i("i",{staticClass:"wk wk-message log-cell__mark"})],1):i("div",{key:n,staticClass:"log-cell activity-cell",class:{"only-one":1==e.list.length}},[2==s.type?i("div",{staticClass:"activity-cell"},[i("span",{staticClass:"activity-cell__label"},[t._v(t._s(s.update_time)+" "+t._s(s.create_user_name)+"创建了"+t._s(t.getActivityTypeName(s.activity_type))+":")]),i("span",{staticClass:"activity-cell__content",on:{click:function(e){t.checkCRMDetail(t.getActivityType(s.activity_type),s.activity_type_id)}}},[t._v(t._s(s.activity_type_name||"查看详情"))])]):3==s.type?i("div",{staticClass:"activity-cell"},[i("span",{staticClass:"activity-cell__label"},[t._v(t._s(s.update_time)+" "+t._s(s.create_user_name)+"将商机:")]),t._v(" "),i("span",{staticClass:"activity-cell__content",on:{click:function(e){t.checkCRMDetail("business",s.activity_type_id)}}},[t._v(t._s(s.activity_type_name))]),t._v(" "),i("span",[t._v(t._s(" "+s.content))])]):4==s.type?i("log-cell",{attrs:{item:s,section:a,index:n,"can-delete":""},on:{"crm-detail":t.checkCRMDetail,delete:t.logCellDelete}}):t._e(),t._v(" "),i("i",{staticClass:"log-cell__mark",class:t.getActivityIcon(s.activity_type),staticStyle:{"background-color":"#FB9323"},style:{backgroundColor:t.getActivityTypeColor(s.activity_type)}})],1)]})],2)}),t._v(" "),t.loading?i("p",{staticClass:"scroll-bottom-tips"},[t._v("加载中...")]):t._e(),t._v(" "),t.noMore?i("p",{staticClass:"scroll-bottom-tips"},[t._v("没有更多了")]):t._e()],2)],2),t._v(" "),t.isCRMCreate?i("c-r-m-all-create",{attrs:{"crm-type":t.createCRMType,action:t.createActionInfo},on:{"save-success":t.createCRMSuccess,close:t.createCRMClose}}):t._e(),t._v(" "),i("c-r-m-full-screen-detail",{attrs:{visible:t.showFullDetail,"crm-type":t.relationCrmType,id:t.relationID},on:{"update:visible":function(e){t.showFullDetail=e}}}),t._v(" "),i("log-edit-dialog",{attrs:{visible:t.logEditDialogVisible,data:t.logEditData},on:{"update:visible":function(e){t.logEditDialogVisible=e},save:t.logEditSave}})],1)},[],!1,null,"344bab02",null));S.options.__file="index.vue";e.a=S.exports},ep8U:function(t,e,i){},epE4:function(t,e,i){},fV8c:function(t,e,i){},hXCY:function(t,e,i){"use strict";var a=i("B+zL");i.n(a).a},i2VW:function(t,e,i){},jjCA:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGtGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZ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TIDX4AxQtwc4/E4mUwG27YplUrk8/mwmxeh4YtfUHXf+ERAA/F4nGw2SywW+9OTt16DL1R3niDvr1iWtSi+UCiYEK/UoDIQaB+kUqnFb/63i9ufQKpBZSBQJ0omkwBMTU0FmaaCVINqD2ifBZZlEYu56drb26Xc3t7eIJtaqkG1AkXA6NcZEEXx8YVqBQDywDYVyXEcluH3tpcqgs6b1x0DQsLiuoqgY+AJ7qvj38Zl4JWKpPt/oS7gCIav2B74DrwBdgOXdCZE/vcfun8AQwsBYKA2zNwAAAAASUVORK5CYII="},k3SN:function(t,e,i){},k7BM:function(t,e,i){"use strict";var a=i("PrhM");i.n(a).a},kZxc:function(t,e,i){"use strict";i.d(e,"p",function(){return s}),i.d(e,"q",function(){return n}),i.d(e,"s",function(){return l}),i.d(e,"f",function(){return o}),i.d(e,"r",function(){return c}),i.d(e,"a",function(){return r}),i.d(e,"d",function(){return d}),i.d(e,"o",function(){return u}),i.d(e,"h",function(){return h}),i.d(e,"e",function(){return m}),i.d(e,"b",function(){return p}),i.d(e,"c",function(){return v}),i.d(e,"g",function(){return f}),i.d(e,"j",function(){return b}),i.d(e,"i",function(){return g}),i.d(e,"k",function(){return A}),i.d(e,"m",function(){return y}),i.d(e,"n",function(){return w}),i.d(e,"l",function(){return I});var a=i("t3Un");function s(t){return Object(a.a)({url:"crm/index/index",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function n(t){return Object(a.a)({url:"oa/log/oneBulletin",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function l(t){return Object(a.a)({url:"crm/index/queryDataInfo",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function o(t){return Object(a.a)({url:"crm/index/indexList",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function c(t){return Object(a.a)({url:"crm/index/indexList",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function r(t){return Object(a.a)({url:"crm/index/achievementData",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function d(t){return Object(a.a)({url:"crm/index/funnel",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function u(t){return Object(a.a)({url:"crmInstrument/sellFunnelBusinessList",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function h(t){return Object(a.a)({url:"crm/index/saletrend",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function m(t){return Object(a.a)({url:"crm/index/activityList",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function p(t){return Object(a.a)({url:"crm/index/forgottenCustomerCount",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function v(t){return Object(a.a)({url:"crm/index/forgottenCustomerPageList",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function f(t){return Object(a.a)({url:"crm/index/ranking",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function b(t){return Object(a.a)({url:"crm/index/dashboard",method:"post",data:t})}function g(t){return Object(a.a)({url:"crm/index/updateDashboard",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function A(t){return Object(a.a)({url:"crm/index/forgottenCustomerPageList",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function y(t){return Object(a.a)({url:"",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function w(t){return Object(a.a)({url:"",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}function I(t){return Object(a.a)({url:"",method:"post",data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})}},m1cH:function(t,e,i){"use strict";e.__esModule=!0;var a,s=i("rfXi"),n=(a=s)&&a.__esModule?a:{default:a};e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e 商机个数: {c}个"},calculable:!0,legend:{data:[],formatter:function(t){return t.split("(")[0]}},grid:{left:0,right:0,bottom:0,top:0},series:[{type:"funnel",sort:"none",gap:2,min:0,max:100,label:{normal:{show:!0,position:"right"},emphasis:{textStyle:{fontSize:16}}},labelLine:{normal:{length:20,lineStyle:{width:1,type:"solid"}}},itemStyle:{color:function(t){return["#6CA2FF","#6AC9D7","#72DCA2","#DBB375","#E164F7","#FF7474","#FFB270","#FECD51"][t.dataIndex%8]}},data:[]}]},chartObj:null,loading:!1,dataList:[],businessOptions:[],businessId:null,businessName:"",funnelData:{}}},mounted:function(){this.initChart(),this.getBusinessStatusList()},methods:{initChart:function(){this.chartObj=o.a.init(document.getElementById("sales-funnel")),this.chartObj.setOption(this.chartOption,!0)},getData:function(){var t=this;this.businessId&&(this.loading=!0,Object(n.d)(s()({},this.getBaseParams(),{type_id:this.businessId})).then(function(e){t.loading=!1;var i=[],a=0,s=e.data||{};t.dataList=s.list||[];for(var n=0;n0?t.handleCommand(0):t.loading=!1}).catch(function(){t.loading=!1})},handleCommand:function(t){this.businessId!==this.businessOptions[t].type_id&&(this.businessId=this.businessOptions[t].type_id||null,this.businessName=this.businessOptions[t].name||"",this.businessId&&this.getData())}}},A=(i("wsgJ"),Object(u.a)(g,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"sales-funnel card"},[i("flexbox",{staticClass:"card-title"},[i("span",{staticClass:"icon wk wk-funnel"}),t._v(" "),i("div",{staticClass:"card-title-center text-one-ellipsis"},[t._v("\n 销售漏斗\n "),t.businessId?[t._v("\n (商机组:"+t._s(t.businessName)+")\n ")]:t._e()],2),t._v(" "),i("div",{staticClass:"card-title-right"},[t.businessId?i("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[i("span",{staticClass:"box"},[t._v("\n "+t._s(t.businessName)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.businessOptions,function(e,a){return i("el-dropdown-item",{key:a,attrs:{command:a}},[t._v("\n "+t._s(e.name)+"\n ")])}))],1):t._e()],1)]),t._v(" "),i("div",{attrs:{id:"sales-funnel"}}),t._v(" "),i("flexbox",{staticClass:"info-box",attrs:{justify:"center"}},[i("flexbox",{staticClass:"info-item",attrs:{direction:"column"}},[i("div",{staticClass:"label"},[t._v("赢单")]),t._v(" "),i("div",{staticClass:"value"},[t._v(t._s(t.funnelData.winSingle)+"元")])]),t._v(" "),i("flexbox",{staticClass:"info-item",attrs:{direction:"column"}},[i("div",{staticClass:"label"},[t._v("输单")]),t._v(" "),i("div",{staticClass:"value"},[t._v(t._s(t.funnelData.loseSingle)+"元")])])],1)],1)},[],!1,null,"eaa15514",null));A.options.__file="SalesFunnel.vue";var y=A.exports,w={name:"PerformanceChart",mixins:[c],data:function(){return{chartOption:{tooltip:{formatter:"{a}
{b} : {c}%"},series:[{type:"gauge",detail:{formatter:"{value}%",fontSize:20,fontWeight:"bold",color:"#5F879D"},data:[{value:0,name:"完成率"}],axisLine:{lineStyle:{width:15,color:[[.2,"#FF7474"],[.8,"#FECD51"],[1,"#48E78D"]]}},splitLine:{length:13,lineStyle:{width:0}},axisTick:{show:!1},axisLabel:{fontSize:9},pointer:{length:"70%",width:4},itemStyle:{color:"#5F879D"},title:{fontSize:13,color:"#666"}}]},loading:!1,data:{achievementMoney:0,contractMoney:0,receivablesMoney:0},options:[{name:"回款金额",value:2},{name:"合同金额",value:1}],optionName:"回款金额",optionValue:2}},mounted:function(){this.initChart(),this.getData()},methods:{initChart:function(){this.chartObj=o.a.init(document.getElementById("performance-chart")),this.chartObj.setOption(this.chartOption,!0)},getData:function(){var t=this;this.loading||(this.loading=!0,Object(n.a)(s()({},this.getBaseParams(),{label:this.optionValue})).then(function(e){t.loading=!1,e.data&&(t.data=e.data,t.chartOption.series[0].data[0].value=e.data.rate||"0",t.chartObj.setOption(t.chartOption,!0))}).catch(function(){t.loading=!1}))},handleCommand:function(t){this.optionValue!==this.options[t].value&&(this.optionName=this.options[t].name,this.optionValue=this.options[t].value,this.getData())}}},I=(i("M5ds"),Object(u.a)(w,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"performance-chart card"},[i("flexbox",{staticClass:"card-title"},[i("span",{staticClass:"icon wk wk-performance"}),t._v(" "),i("div",{staticClass:"card-title-center text-one-ellipsis"},[t._v("\n 业绩指标完成率 ("+t._s(t.optionName)+")\n ")]),t._v(" "),i("div",{staticClass:"card-title-right"},[i("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[i("span",{staticClass:"box"},[t._v("\n "+t._s(t.optionName)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.options,function(e,a){return i("el-dropdown-item",{key:a,attrs:{command:a}},[t._v("\n "+t._s(e.name)+"\n ")])}))],1)],1)]),t._v(" "),i("div",{attrs:{id:"performance-chart"}}),t._v(" "),i("flexbox",{staticClass:"info-box",attrs:{justify:"center"}},[i("flexbox",{staticClass:"info-item",attrs:{direction:"column"}},[i("div",{staticClass:"label"},[t._v("目标")]),t._v(" "),i("div",{staticClass:"value"},[t._v(t._s(t.data.achievementMoney)+"元")])]),t._v(" "),1===t.optionValue?i("flexbox",{staticClass:"info-item",attrs:{direction:"column"}},[i("div",{staticClass:"label"},[t._v("合同金额")]),t._v(" "),i("div",{staticClass:"value"},[t._v(t._s(t.data.contractMoney)+"元")])]):t._e(),t._v(" "),2===t.optionValue?i("flexbox",{staticClass:"info-item",attrs:{direction:"column"}},[i("div",{staticClass:"label"},[t._v("回款金额")]),t._v(" "),i("div",{staticClass:"value"},[t._v(t._s(t.data.receivablesMoney)+"元")])]):t._e()],1)],1)},[],!1,null,"eea62382",null));I.options.__file="PerformanceChart.vue";var C=I.exports,T=i("GQeE"),k=i.n(T),D={name:"RankingStatistics",filters:{filterRankImage:function(t){return[i("d1oT"),i("jjCA"),i("H2Yf")][t-1]}},mixins:[c],data:function(){return{data:[],myData:s()({},this.userInfo,{value:"--",sort:"--"}),loading:!1,options:[{name:"回款金额",value:2},{name:"合同金额",value:1},{name:"合同数",value:3},{name:"新增客户数",value:4},{name:"新增联系人",value:5},{name:"新增跟进记录数",value:8}],optionName:"回款金额",optionValue:2}},computed:s()({},Object(r.b)(["userInfo"]),{optionInfo:function(){return 1==this.optionValue||2==this.optionValue||7==this.optionValue?{key:"money",unit:"元"}:{key:"count",unit:"个"}},rateShow:function(){return 1==this.optionValue||2==this.optionValue}}),created:function(){this.getData()},methods:{getData:function(){var t=this;this.loading=!0,Object(n.g)(s()({},this.getBaseParams(),{label:this.optionValue})).then(function(e){t.loading=!1;var i=e.data.ranking||[],a=e.data.self||{};t.data=i.map(function(e,i){return e.sort=i+1,e.value=e[t.optionInfo.key],e}),0===k()(a).length?t.myData=s()({},t.userInfo,{sort:"--",value:"--",rate:"--"}):(a.value=a[t.optionInfo.key],t.myData=a)}).catch(function(){t.loading=!1})},handleCommand:function(t){this.optionValue!==this.options[t].value&&(this.optionName=this.options[t].name,this.optionValue=this.options[t].value,this.getData())}}},M=(i("hXCY"),Object(u.a)(D,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ranking-statistics card"},[i("flexbox",{staticClass:"card-title"},[i("span",{staticClass:"icon wk wk-hollow-results"}),t._v(" "),i("div",{staticClass:"card-title-center text-one-ellipsis"},[t._v("排行榜")]),t._v(" "),i("div",{staticClass:"card-title-right"},[i("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[i("span",{staticClass:"box"},[t._v("\n "+t._s(t.optionName)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.options,function(e,a){return i("el-dropdown-item",{key:a,attrs:{command:a}},[t._v("\n "+t._s(e.name)+"\n ")])}))],1)],1)]),t._v(" "),i("div",{staticClass:"card-desc"},[t._v("\n "+t._s("对"+t.optionName+"进行的排行统计")+"\n ")]),t._v(" "),i("div",{staticClass:"content"},[i("div",{staticClass:"title"},[t._v(t._s(t.optionName+"排行榜"))]),t._v(" "),i("el-table",{staticStyle:{width:"100%"},attrs:{data:t.data,height:"233"}},[i("el-table-column",{attrs:{prop:"index",label:"排名"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.sort<4?i("img",{staticClass:"ranking-img",attrs:{src:t._f("filterRankImage")(e.row.sort)}}):[i("span",{staticClass:"user-sort"},[t._v(t._s(e.row.sort))])]]}}])}),t._v(" "),i("el-table-column",{attrs:{prop:"name",label:"姓名"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("xr-avatar",{staticClass:"user-img",attrs:{name:e.row.realname,size:30}}),t._v(" "),i("span",{staticClass:"user-name"},[t._v(t._s(e.row.realname))])]}}])}),t._v(" "),i("el-table-column",{attrs:{label:t.optionName+"("+t.optionInfo.unit+")",prop:"value"}}),t._v(" "),t.rateShow?i("el-table-column",{attrs:{label:"目标完成率(%)",prop:"rate"}}):t._e()],1),t._v(" "),i("div",{staticClass:"my-ranking"},[i("div",{staticClass:"row value"},[!isNaN(Number(t.myData.sort))&&t.myData.sort<4?i("img",{staticClass:"ranking-img",attrs:{src:t._f("filterRankImage")(t.myData.sort)}}):[i("span",{staticClass:"user-sort"},[t._v(t._s(t.myData.sort))])]],2),t._v(" "),i("div",{staticClass:"row"},[i("xr-avatar",{staticClass:"user-img",attrs:{name:t.myData.realname,size:30}}),t._v(" "),i("span",{staticClass:"user-name"},[t._v(t._s(t.myData.realname))])],1),t._v(" "),i("div",{staticClass:"row value"},[t._v(t._s(t.myData.value))]),t._v(" "),t.rateShow?i("div",{staticClass:"row value"},[t._v(t._s(t.myData.rate))]):t._e()])],1)],1)},[],!1,null,"12831e2e",null));M.options.__file="RankingStatistics.vue";var x=M.exports,R=i("KmSi"),Z={name:"RankingStatistics",components:{ReportList:R.a},mixins:[c],data:function(){return{data:[{label:"超过7天未联系的客户",value:0,key:"sevenDays",hidden:!1},{label:"超过15天未联系的客户",value:0,key:"fifteenDays",hidden:!1},{label:"超过30天未联系的客户",value:0,key:"oneMonth",hidden:!1},{label:"超过3个月未联系的客户",value:0,key:"threeMonth",hidden:!1},{label:"超过6个月未联系的客户",value:0,key:"sixMonth",hidden:!1},{label:"逾期未联系的客户",value:0,key:"unContactCustomerCount",hidden:!1}],loading:!1,reportListShow:!1,reportData:{title:"",placeholder:"",crmType:"",request:null,params:null,paging:!0,sortable:"custom"}}},computed:{showData:function(){return this.data.filter(function(t){return!t.hidden})}},methods:{getData:function(){var t=this;this.loading=!0,Object(n.b)(this.getBaseParams()).then(function(e){t.loading=!1,t.data=t.data.map(function(t){return t.hidden=!e.data.hasOwnProperty(t.key),t.value=e.data[t.key],t})}).catch(function(){t.loading=!1})},reportClick:function(t){if(this.reportData.title=t.label,this.reportData.placeholder="请输入客户名称/手机/电话",this.reportData.crmType="customer","unContactCustomerCount"==t.key)this.reportData.params=s()({},this.getBaseParams(),{isSub:1,label:1}),this.reportData.request=n.k;else{var e={sevenDays:7,fifteenDays:15,oneMonth:30,threeMonth:90,sixMonth:180}[t.key];this.reportData.params=s()({},this.getBaseParams(),{day:e,label:{sevenDays:2,fifteenDays:3,oneMonth:4,threeMonth:5,sixMonth:6}[t.key]}),this.reportData.request=n.c}this.reportData.paging=!0,this.reportData.sortable="custom",this.reportListShow=!0}}},G=(i("k7BM"),Object(u.a)(Z,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ranking-statistics card"},[i("flexbox",{staticClass:"card-title"},[i("span",{staticClass:"icon wk wk-clock"}),t._v(" "),i("div",{staticClass:"card-title-center text-one-ellipsis"},[t._v("遗忘提醒")])]),t._v(" "),i("div",{staticClass:"card-desc"},[t._v("\n 对一段时间内未联系的客户进行分类汇总\n ")]),t._v(" "),i("div",{staticClass:"content"},[i("flexbox",{attrs:{gutter:0,wrap:"wrap",align:"stretch"}},t._l(t.showData,function(e,a){return i("flexbox-item",{key:a,staticClass:"brief",attrs:{span:.45},nativeOn:{click:function(i){t.reportClick(e)}}},[i("div",{staticClass:"brief-item"},[i("div",{staticClass:"title"},[t._v("\n "+t._s(e.label)+"\n ")]),t._v(" "),i("div",{staticClass:"value"},[t._v("\n "+t._s(e.value)+"\n "),i("span",{staticClass:"value-unit"},[t._v("\n 个\n ")])])])])}))],1),t._v(" "),i("report-list",{attrs:{show:t.reportListShow,title:t.reportData.title,placeholder:t.reportData.placeholder,"crm-type":t.reportData.crmType,request:t.reportData.request,params:t.reportData.params,paging:t.reportData.paging,sortable:t.reportData.sortable},on:{"update:show":function(e){t.reportListShow=e}}})],1)},[],!1,null,"10a6e8c6",null));G.options.__file="ForgetRemind.vue";var L=G.exports,S=i("ZX9L"),N={name:"SetSortItem",props:{title:String,icon:String,iconColor:String,img:String},data:function(){return{}},methods:{}},O=(i("ahRh"),Object(u.a)(N,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"data-statistics card"},[i("flexbox",{staticClass:"card-title"},[i("div",{staticClass:"card-title-left"},[i("span",{staticClass:"icon",class:t.icon,style:{color:t.iconColor}}),t._v(" "),i("span",{staticClass:"text"},[t._v(t._s(t.title))])]),t._v(" "),t._t("header")],2),t._v(" "),i("div",{staticClass:"content"},[i("img",{attrs:{src:t.img}})])],1)},[],!1,null,"40cbc765",null));O.options.__file="SetSortItem.vue";var j=O.exports,B=i("t2rG"),_=i.n(B),Y=i("XJYT"),W={name:"SetSort",components:{SetSortItem:j,draggable:_.a},mixins:[],props:{visible:{type:Boolean,required:!0,default:!1}},data:function(){return{sortLeft:[],sortRight:[],data:{1:{title:"合同/回款金额目标及完成情况",icon:"wk wk-target",iconColor:"#4983EF",img:i("UWLt")},2:{title:"数据汇总",icon:"wk wk-data",iconColor:"#BF80FF",img:i("qtkR")},3:{title:"回款金额目标及完成情况",icon:"wk wk-icon-receivable",iconColor:"#FFD144",img:i("UWLt")},4:{title:"业绩指标完成率",icon:"wk wk-performance",iconColor:"#4983EF",img:i("KMkS")},5:{title:"销售漏斗",icon:"wk wk-funnel",iconColor:"#50CF9E",img:i("oK2H"),id:5},6:{title:"遗忘提醒",icon:"wk wk-clock",iconColor:"#ff8400",img:i("Encg")},7:{title:"排行榜",icon:"wk wk-hollow-results",iconColor:"#4a5bfd",img:i("7aVm")}}}},computed:{},watch:{},created:function(){this.getModelSort()},methods:{getModelSort:function(){var t=this,e=Y.Loading.service({target:document.querySelector('.el-dialog[aria-label="仪表盘模块设置"]')});Object(n.j)().then(function(i){var a=i.data.left||[],n=i.data.right||[];t.sortLeft=a.map(function(e){return e.show=0==e.isHidden,s()({},e,t.data[e.modelId])}),t.sortRight=n.map(function(e){return e.show=0==e.isHidden,s()({},e,t.data[e.modelId])}),e.close()}).catch(e.close())},handleCancel:function(){this.$emit("update:visible",!1)},handleConfirm:function(){var t=this,e=Y.Loading.service({target:document.querySelector('.el-dialog[aria-label="仪表盘模块设置"]')}),i={};i.left=this.sortLeft.map(function(t){var e={};return e.isHidden=t.show?0:1,e.modelId=t.modelId,e}),i.right=this.sortRight.map(function(t){var e={};return e.isHidden=t.show?0:1,e.modelId=t.modelId,e}),Object(n.i)(i).then(function(i){t.$message({type:"success",message:"操作成功"}),t.$emit("save"),t.handleCancel(),e.close()}).catch(function(){e.close()})}}},E=(i("EUhG"),Object(u.a)(W,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{visible:t.visible,"append-to-body":!0,"close-on-click-modal":!1,title:"仪表盘模块设置","custom-class":"no-padding-dialog",width:"650px"},on:{close:t.handleCancel}},[i("div",{staticClass:"handle-box"},[i("div",{staticClass:"title"},[t._v("拖动以下模块可设置模块位置,点击开启/关闭按钮可设置模块是否在仪表盘显示,点击保存按钮即可生效。")]),t._v(" "),i("flexbox",{staticClass:"section",attrs:{align:"stretch"}},[i("div",{staticClass:"left"},[i("draggable",{staticClass:"draggable-box",attrs:{group:{name:"sort"},options:{forceFallback:!1}},model:{value:t.sortLeft,callback:function(e){t.sortLeft=e},expression:"sortLeft"}},t._l(t.sortLeft,function(e,a){return i("set-sort-item",{key:a,staticClass:"content",attrs:{title:e.title,icon:e.icon,"icon-color":e.iconColor,img:e.img}},[i("el-switch",{attrs:{slot:"header"},slot:"header",model:{value:e.show,callback:function(i){t.$set(e,"show",i)},expression:"item.show"}})],1)}))],1),t._v(" "),i("div",{staticClass:"right"},[i("draggable",{staticClass:"draggable-box",attrs:{group:{name:"sort"},options:{forceFallback:!1}},model:{value:t.sortRight,callback:function(e){t.sortRight=e},expression:"sortRight"}},t._l(t.sortRight,function(e,a){return i("set-sort-item",{key:a,staticClass:"content",attrs:{title:e.title,icon:e.icon,"icon-color":e.iconColor,img:e.img}},[i("el-switch",{attrs:{slot:"header"},slot:"header",model:{value:e.show,callback:function(i){t.$set(e,"show",i)},expression:"item.show"}})],1)}))],1)])],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(e){return t.handleCancel(e)}}},[t._v("取消")]),t._v(" "),i("el-button",{attrs:{type:"primary"},nativeOn:{click:function(e){return t.handleConfirm(e)}}},[t._v("保存")])],1)])},[],!1,null,"1e67b2f6",null));E.options.__file="SetSort.vue";var z=E.exports,F={name:"XrRadioMenu",props:{width:{type:[String,Number],default:200},options:Array,value:[String,Number]},data:function(){return{popverVisible:!1}},computed:{},watch:{},mounted:function(){},methods:{selectClick:function(t){this.popverVisible=!1,this.$emit("input",t.command),this.$emit("select",t.command)}}},V=(i("azP7"),Object(u.a)(F,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-popover",{attrs:{width:t.width,placement:"bottom","popper-class":"no-padding-popover",trigger:"click"},model:{value:t.popverVisible,callback:function(e){t.popverVisible=e},expression:"popverVisible"}},[i("div",{staticClass:"xr-radio-menu"},[i("div",{staticClass:"xr-radio-menu__content"},t._l(t.options,function(e,a){return i("div",{key:a,staticClass:"xr-radio-menu-item",class:{selected:t.value==e.command},on:{click:function(i){t.selectClick(e)}}},[i("div",{staticClass:"mark"}),t._v(t._s(e.label)+"\n ")])}))]),t._v(" "),t._t("reference",null,{slot:"reference"})],2)},[],!1,null,"5a07f971",null));V.options.__file="index.vue";var J=V.exports,U={name:"MembersDepDialog",components:{EmployeeDepartment:i("jWYy").a},inheritAttrs:!1,props:{visible:{type:Boolean,required:!0,default:!1}},data:function(){return{visibled:!1}},computed:{},watch:{visible:function(){this.visibled=this.visible}},methods:{handleConfirm:function(){this.$emit("confirm",this.$refs.employeeDepartment.checkedUserDepList.filter(function(t){return"user"==t.type}),this.$refs.employeeDepartment.checkedUserDepList.filter(function(t){return"dep"==t.type})),this.handleCancel()},handleCancel:function(){this.$emit("close",this.$refs.employeeDepartment.checkedUserDepList.filter(function(t){return"user"==t.type}),this.$refs.employeeDepartment.checkedUserDepList.filter(function(t){return"dep"==t.type})),this.$emit("update:visible",!1)}}},P=(i("naT5"),Object(u.a)(U,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{visible:t.visibled,"append-to-body":!0,"close-on-click-modal":!1,title:"自定义展示数据",width:"700px","custom-class":"no-padding-dialog"},on:{"update:visible":function(e){t.visibled=e},close:t.handleCancel}},[i("div",{staticClass:"members-dep-dialog__content"},[i("employee-department",t._b({ref:"employeeDepartment",attrs:{"show-preview":""}},"employee-department",t.$attrs,!1))],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(e){return t.handleCancel(e)}}},[t._v("取消")]),t._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:t.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[t._v("确定")])],1)])},[],!1,null,"77061e7a",null));P.options.__file="MembersDepDialog.vue";var X=P.exports,H=i("jHPx"),Q=i("ehos"),K={name:"FitText",inserted:function(t,e,i){var a=e.value||{fontSize:14},s=Object(Q.debounce)(300,function(){var t=this.FitText,e=t.el,i=t.option.fontSize;e.style.fontSize=i+"px";for(var a=e.scrollWidth;e.scrollWidth>e.clientWidth;){if(a=e.scrollWidth,i-=.2,e.style.fontSize=i+"px",a<=e.clientWidth){e.style.overflowX="visible";break}if(i<=12){e.style.overflowX="hidden";break}}}.bind(t));t.FitText={el:t,option:a,debouncedResize:s},window.addEventListener("resize",s)},update:function(t,e,i){(0,t.FitText.debouncedResize)()},unbind:function(t){var e=t.FitText.debouncedResize;window.removeEventListener("resize",e)}},q=i("4peS"),$=i.n(q),tt={name:"Workbench",directives:{FitText:K},components:{SaleStatistics:m,DataStatistics:f,SalesFunnel:y,PerformanceChart:C,RankingStatistics:x,ForgetRemind:L,TimeTypeSelect:S.a,ReportList:R.a,XrRadioMenu:J,SetSort:z,MembersDepDialog:X},data:function(){return{briefList:[{label:"新增客户(人)",title:"新增客户",type:"customer",labelValue:2,field:"customerNum",icon:"wk-customer",num:"",rate:"",status:"",color:"#2362FB"},{label:"新增联系人(人)",title:"新增联系人",type:"contacts",labelValue:3,field:"contactsNum",icon:"wk-contacts",num:"",rate:"",status:"",color:"#27BA4A"},{label:"新增商机(个)",title:"新增商机",type:"business",labelValue:5,field:"businessNum",icon:"wk-business",num:"",rate:"",status:"",color:"#FB9323"},{label:"新增合同(个)",title:"新增合同",type:"contract",labelValue:6,field:"contractNum",icon:"wk-contract",num:"",rate:"",status:"",color:"#4A5BFD"},{label:"合同金额(元)",title:"合同金额",type:"contract",labelValue:6,field:"contractMoneyNum",icon:"wk-receivables",num:"",rate:"",status:"",color:"#19B5F6"},{label:"商机金额(元)",title:"商机金额",type:"business",labelValue:5,field:"businessMoneyNum",icon:"wk-icon-opportunities",num:"",rate:"",status:"",color:"#AD5CFF"},{label:"回款金额(元)",title:"回款金额",type:"receivables",labelValue:7,field:"receivablesMoneyNum",icon:"wk-receivables",num:"",rate:"",status:"",color:"#FFB940"},{label:"新增跟进记录(条)",title:"新增跟进记录",type:"activity",labelValue:"",field:"recordNum",icon:"wk-record",num:"",rate:"",status:"",color:"#4A5BFD"}],rangeOptions:[{label:"仅本人",command:1},{label:"本人及下属",command:2},{label:"仅本部门",command:3},{label:"本部门及下属部门",command:4},{label:"自定义",command:"custom"}],membersDepVisible:!1,filterDataType:2,filterValue:{dataType:2,users:[],strucs:[],timeLine:{type:"default",value:"month"}},loading:!1,reportListShow:!1,fieldReportList:null,reportData:{title:"",placeholder:"",crmType:"",request:null,recordRequest:n.e,params:null,paging:!0,sortable:!1},sortLeft:[],sortRight:[],setSortShow:!1}},computed:s()({},Object(r.b)(["userInfo","collapse"]),{avatarData:function(){if("custom"===this.filterValue.dataType){var t=this.filterValue.users||[];if(t.length)return t[0];var e=this.filterValue.strucs||[];if(e.length)return{realname:e[0].name,img:""}}return 1==this.filterValue.dataType?this.userInfo:{showIcon:!0,realname:{1:"仅本人",2:"本人及下属",3:"仅本部门",4:"本部门及下属部门"}[this.filterValue.dataType]}},rateText:function(){return"custom"===this.filterValue.timeLine.type?"":{today:"较昨天",yesterday:"较前天",week:"较上周",lastWeek:"较前周",month:"较上月",lastMonth:"较前月",quarter:"较上季度",lastQuarter:"较上上季度",year:"较去年",lastYear:"较前年"}[this.filterValue.timeLine.value||"month"]||""}}),watch:{collapse:function(){var t=this;setTimeout(function(){t.$bus.emit("window-resize")},300)},filterValue:{handler:function(){this.getBriefData()},deep:!0}},created:function(){var t=$.a.get("crmWorkbenchRangeFilter");t&&(this.filterDataType=t,this.filterValue.dataType=t),this.getBriefData(),this.getModelSort()},mounted:function(){var t=this;this.$nextTick(function(){window.addEventListener("resize",t.resizeFn)})},beforeDestroy:function(){window.removeEventListener("resize",this.resizeFn),this.$bus.off("window-resize")},methods:{resizeFn:function(){var t=this;this.timer||(this.timer=setTimeout(function(){clearTimeout(t.timer),t.timer=null},30),this.$bus.emit("window-resize"))},timeTypeChange:function(t){this.filterValue.timeLine=t},radioMenuSelect:function(){"custom"!=this.filterDataType?($.a.set("crmWorkbenchRangeFilter",this.filterDataType),this.filterValue.dataType=this.filterDataType):this.membersDepVisible=!0},membersDepSelect:function(t,e){t.length||e.length?(this.filterValue.dataType="custom",this.filterValue.users=t,this.filterValue.strucs=e):(this.filterDataType=1,this.filterValue.dataType=1,this.filterValue.users=[],this.filterValue.strucs=[])},membersDepCancel:function(t,e){"custom"!=this.filterValue.dataType&&(this.filterDataType=this.filterValue.dataType,this.filterValue.users=[],this.filterValue.strucs=[])},getBaseParams:function(){var t={};return"custom"!=this.filterDataType?t.dataType=this.filterDataType:this.filterValue.strucs.length?(t.isUser=0,t.structure_id=this.filterValue.strucs[0].id):(t.isUser=1,t.user_id=this.filterValue.users.length?this.filterValue.users[0].id:""),this.filterValue.timeLine.type&&("custom"===this.filterValue.timeLine.type?(t.start_time=this.filterValue.timeLine.startTime.replace(/\./g,"-"),t.end_time=this.filterValue.timeLine.endTime.replace(/\./g,"-")):t.type=this.filterValue.timeLine.value||""),t},getBriefData:function(){var t=this;this.loading=!0,Object(n.p)(this.getBaseParams()).then(function(e){t.loading=!1,t.briefList.forEach(function(i){"contractMoney"==i.field||"businessMoney"==i.field||"receivablesMoney"==i.field?i.num=Object(H.h)(Math.floor(e.data.data[i.field]||0)):i.num=e.data.data[i.field]||0,0!==Number(e.data.prev[i.field])?i.status=Number(e.data.prev[i.field])>0?"top":"bottom":i.status="",i.rate=t.accMul(e.data.prev[i.field],100)})}).catch(function(){t.loading=!1})},accMul:function(t,e){var i=0,a=t.toString(),s=e.toString();try{i+=a.split(".")[1].length}catch(t){}try{i+=s.split(".")[1].length}catch(t){}return Number(a.replace(".",""))*Number(s.replace(".",""))/Math.pow(10,i)},reportClick:function(t){t.type&&(this.reportData.title="销售简报-"+t.title,this.reportData.placeholder={customer:"请输入客户名称/手机/电话",contacts:"请输入联系人姓名/手机/电话",business:"请输入商机名称",business_status:"请输入商机名称",contract:"请输入合同名称",receivables:"请输入回款编号",activity:""}[t.type],this.reportData.crmType=t.type,this.reportData.params=this.getBaseParams(),"activity"==t.type?(this.fieldReportList=[{label:"模块",prop:"types",width:300},{label:"新增跟进记录数",prop:"dataCount"}],this.reportData.request=n.r,this.reportData.paging=!1,this.reportData.sortable=!1):(this.fieldReportList=null,this.reportData.request=n.f,this.reportData.paging=!0,this.reportData.sortable="custom","receivablesMoney"!==t.field&&"contractMoney"!==t.field||(this.reportData.params.checkStatus=1,this.reportData.params.moneyType={contractMoney:1,receivablesMoney:2}[t.field])),this.reportData.params.label=t.labelValue,this.reportListShow=!0)},getModelSort:function(){var t=this;Object(n.j)().then(function(e){var i=e.data.left||[],a=e.data.right||[],s=["SaleStatistics","DataStatistics","","PerformanceChart","SalesFunnel","ForgetRemind","RankingStatistics"];t.sortLeft=i.map(function(t){return t.component=s[t.modelId-1],t}).filter(function(t){return 0==t.isHidden}),t.sortRight=a.map(function(t){return t.component=s[t.modelId-1],t}).filter(function(t){return 0==t.isHidden})}).catch()},chartClick:function(t,e){this.reportData.title="销售漏斗-"+e.name,this.reportData.placeholder="请输入商机名称",this.reportData.crmType="business",this.reportData.params=this.getBaseParams(),this.reportData.params.entity={formType:"business_type",name:"statusId",type:1,values:[e.typeId,e.statusId]},this.fieldReportList=null,this.reportData.request=n.o,this.reportData.paging=!0,this.reportData.sortable="custom",this.reportData.params.label=5,this.reportListShow=!0}}},et=(i("GHq+"),Object(u.a)(tt,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"workbench",staticClass:"crm-workbench"},[i("div",{staticClass:"head"},[i("flexbox",{staticClass:"head__body"},[i("xr-radio-menu",{attrs:{options:t.rangeOptions,width:"170"},on:{select:t.radioMenuSelect},model:{value:t.filterDataType,callback:function(e){t.filterDataType=e},expression:"filterDataType"}},[i("flexbox",{staticClass:"user-box",attrs:{slot:"reference"},slot:"reference"},[t.avatarData.showIcon?i("i",{staticClass:"wk wk-multi-user user-icon"}):i("xr-avatar",{attrs:{name:t.avatarData.realname,size:28,src:t.avatarData.img}}),t._v(" "),i("span",{staticClass:"username"},[t._v(t._s(t.avatarData.realname))]),t._v(" "),i("span",{staticClass:"el-icon-caret-bottom icon"})],1)],1),t._v(" "),i("time-type-select",{attrs:{width:190,"default-type":"month"},on:{change:t.timeTypeChange}}),t._v(" "),i("el-button",{staticClass:"sort-btn",attrs:{icon:"wk wk-manage"},on:{click:function(e){t.setSortShow=!0}}})],1)],1),t._v(" "),i("div",{staticClass:"crm-workbench__body"},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"brief-box"},[t._m(0),t._v(" "),i("div",{staticClass:"brief"},t._l(t.briefList,function(e,a){return i("flexbox",{key:a,staticClass:"brief-item",attrs:{span:2},nativeOn:{click:function(i){t.reportClick(e)}}},[i("flexbox",{staticClass:"brief-item__body"},[i("div",{staticClass:"icon-box",style:{backgroundColor:e.color}},[i("span",{staticClass:"icon wk",class:e.icon})]),t._v(" "),i("div",{staticClass:"info"},[i("div",{staticClass:"title"},[t._v("\n "+t._s(e.label)+"\n ")]),t._v(" "),i("div",{directives:[{name:"fit-text",rawName:"v-fit-text",value:{fontSize:24},expression:"{ fontSize: 24 }"}],staticClass:"number"},[t._v("\n "+t._s(e.num)+"\n ")])])]),t._v(" "),""!==t.rateText?i("div",{staticClass:"brief-item__others"},[i("div",{staticClass:"text"},[t._v("\n "+t._s(t.rateText)+"\n ")]),t._v(" "),i("div",{staticClass:"rate text-one-line",class:e.status},[i("span",{staticClass:"rate__num"},[t._v(t._s(e.rate)+"%")]),t._v(" "),i("span",{staticClass:"rate__icon",class:"el-icon-"+e.status})])]):t._e()],1)}))]),t._v(" "),i("flexbox",{staticClass:"section",attrs:{align:"stretch"}},[i("div",{staticClass:"left"},t._l(t.sortLeft,function(e,a){return i(e.component,{key:a,tag:"component",staticClass:"left-content",attrs:{"filter-value":t.filterValue},on:{"chart-click":t.chartClick}})})),t._v(" "),i("div",{staticClass:"right"},t._l(t.sortRight,function(e,a){return i(e.component,{key:a,tag:"component",staticClass:"right-content",attrs:{"filter-value":t.filterValue},on:{"chart-click":t.chartClick}})}))])],1),t._v(" "),i("report-list",{attrs:{show:t.reportListShow,title:t.reportData.title,placeholder:t.reportData.placeholder,"crm-type":t.reportData.crmType,request:t.reportData.request,"record-request":t.reportData.recordRequest,params:t.reportData.params,"field-list":t.fieldReportList,paging:t.reportData.paging,sortable:t.reportData.sortable},on:{"update:show":function(e){t.reportListShow=e}}}),t._v(" "),t.setSortShow?i("set-sort",{attrs:{visible:t.setSortShow},on:{"update:visible":function(e){t.setSortShow=e},save:t.getModelSort}}):t._e(),t._v(" "),i("members-dep-dialog",{attrs:{visible:t.membersDepVisible,"user-checked-data":t.filterValue.users,"dep-checked-data":t.filterValue.strucs,radio:""},on:{"update:visible":function(e){t.membersDepVisible=e},close:t.membersDepCancel,confirm:t.membersDepSelect}})],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"brief-title"},[e("span",{staticClass:"icon wk wk-briefing"}),this._v(" "),e("span",{staticClass:"text"},[this._v("销售简报")])])}],!1,null,"38cce2f9",null));et.options.__file="index.vue";e.default=et.exports},oK2H:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAAB+CAYAAABcfGi5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGrGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9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WUI6HV43yqbAdyFTfU2iE2OkcpjANiOzaH50aw7UtpXtYL4Kj7rOK+ovbdk1wPchxWEXuAiYLJrovKdiXXsX4QNOrgNzSReiireVJkKvAycV9Jb78X+pz25rKhOZzqjCWLb8hDwLWpdy3SMFaNqLUSwwlTmyJUFaI3lvKxAxbCZbwI/9Q5RdVVsIdY9BXy14LfdBFzW+I/69O5M7W83E3gRnRq2MoSdjbyuY6wYVWwh1s3HRo4U5TgFTmWeoDmoGE5kMmHP/xm9KhfEHcCqAre/qvYeko9Z3gEiof1UoCqfMgOcA+wGzs357fZhpy6HxntSpzOdqf3thrCbKtLam8AHdIwVo8otRICDWNeFvC2mSTEUkXhVvSCCrbuyJcftbaltU/K1xztAJLSfCpRCQRwF5pHPOr8jtW1V4zpDWDZ6B4jEn7wDVFkKBRFshb77c9jOmtq2JH9r8Z/PMnRDwAPeIaoslYIIdt3vQIafPwDcnFMWOdUOYLV3iMDdCbzuHaLKUiqIB4ClGX5+KdkKqkysF3jCO0SgHgJu8Q5RdSkVRLBT3m1d/Ny22s9KsYaB2cBK8rnmWwXHgdsZM45ZilP1fojj+RLwNDCpzdePAl8E/tLuG6iPWGea/O1mAldhHZGnA2eUmcnZMLaU7WPYB/EpMynpGCtGigUR4DfAlR289nudbFwHa2c0QWzndIwVI9WC+EFsBMt7JnjdYeBCbGRK23SwisQptWuIdfuAZW28bhkdFkMRiVeqLUSwa1J/x8Ykj2cncClwrNMNq4UoEqdUW4hghe7aFs/Po4tiKCLxSrkgAjwJrB/n39djk7+KSEJSPmWum4at7HZW7ft+4GKgr9sN6pRZJE6ptxDBCt+tY75fToZiKCLxUgvRnImNpR0BPknGtZ3VQhSJ0+neAQIxiC1yDz4L3YtIANRCLIBaiCJxqkxBFBHJSjdVRERq/g95vBvxQDdCAAAAAABJRU5ErkJggg=="},pN7R:function(t,e,i){},paiq:function(t,e,i){"use strict";var a=i("D67r");i.n(a).a},q0fG:function(t,e,i){"use strict";var a=i("ep8U");i.n(a).a},qt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8CdgNfBE4PHpzmK7bBe2wfBx7GUpOaYCPwOeBB4MXBWSrVX2y7gT3AmqAskmJcAfwMWB8dpCq9Ynsb8MnIIJJCXQR8JTpEVVrtdnstxe5Ur4gOIyncTuARmP57bFdhqUkqfDQ6QBV6xSZJUNxvOyM6xKgSxdZWkgQwB1wWHWJUCdgcHULSRJn6Tkgss2+fpMZZjA4wqgQciQ4haaI8FR1gVAn4bXQISRPjNPBYdIhRJeD70SEkTYxHgYXoEKNKwH3A0eggkibCndEBqpCA48At0UEkhXsUuD86RBV6a0W/CtwTGURSqHngaqAbHaQK/dM9PgTsjQoiKcxfgbeQ0RsS/cV2ErgOuIEMHvdKWtYpiokeFwMHgrNUaqkJulCsFbuOYpzRa4FNOKdNysFR4CDFQNlvAH8ZduI0T/cYVmySGm6qi63bzeJeoST9x78Bnl0ZJOie02cAAAAASUVORK5CYII="},s357:function(t,e,i){"use strict";var a=i("TDiV");i.n(a).a},t1Sh:function(t,e,i){"use strict";var a=i("Lc7H");i.n(a).a},u1XZ:function(t,e,i){},"uhC+":function(t,e,i){"use strict";var a=i("Aihl");i.n(a).a},vvxI:function(t,e,i){"use strict";e.a={filters:{},methods:{getActivityType:function(t){return{1:"leads",2:"customer",3:"contacts",4:"product",5:"business",6:"contract",7:"receivables",8:"log",9:"examine",10:"schedule",11:"task"}[t]},getActivityTypeName:function(t){return{1:"线索",2:"客户",3:"联系人",4:"产品",5:"商机",6:"合同",7:"回款",8:"日志",9:"审批",10:"日程",11:"任务",12:"发邮件"}[t]},getRecordLogTypeName:function(t){return t?{1:"跟进记录",2:"创建记录",3:"商机阶段变更",4:"外勤签到"}[t]:"跟进记录"}}}},w3Ar:function(t,e,i){},wriX:function(t,e,i){},wsgJ:function(t,e,i){"use strict";var a=i("aKhV");i.n(a).a},ye9D:function(t,e,i){"use strict";var a={name:"AddFileList",components:{},props:{data:Array},data:function(){return{}},computed:{},watch:{},mounted:function(){},beforeDestroy:function(){},methods:{deleteItem:function(t,e){this.$emit("delete",t,e)},deleteAll:function(){this.$emit("delete-all")}}},s=(i("paiq"),i("KHd+")),n=Object(s.a)(a,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"file-cont"},[i("flexbox",{staticClass:"f-header"},[i("i",{staticClass:"wk wk-file"}),t._v(" "),i("div",{staticClass:"f-name"},[t._v("附件")])]),t._v(" "),i("div",{staticClass:"f-body"},t._l(t.data,function(e,a){return i("flexbox",{key:a,staticClass:"f-item"},[i("img",{staticClass:"f-img",attrs:{src:e.icon}}),t._v(" "),i("div",{staticClass:"f-name"},[t._v(t._s(e.name)),i("span",{staticClass:"f-size"},[t._v(t._s("("+e.size+")"))])]),t._v(" "),i("div",{staticClass:"close-button",on:{click:function(i){t.deleteItem(e,a)}}},[t._v("×")])])})),t._v(" "),i("el-button",{attrs:{type:"text"},on:{click:t.deleteAll}},[t._v("全部删除")])],1)},[],!1,null,"472fadca",null);n.options.__file="AddFileList.vue";e.a=n.exports},zMq1:function(t,e,i){"use strict";var a={name:"AddImageList",components:{},props:{data:Array},data:function(){return{}},computed:{},watch:{},mounted:function(){},beforeDestroy:function(){},methods:{mouseImgOver:function(t,e){t.showDelete=!0,this.$set(this.data,e,t)},mouseImgLeave:function(t,e){t.showDelete=!1,this.$set(this.data,e,t)},deleteItem:function(t,e){this.$emit("delete",t,e)},deleteAll:function(){this.$emit("delete-all")},uploadFile:function(t){this.$emit("upload",t)}}},s=(i("JftJ"),i("KHd+")),n=Object(s.a)(a,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"img-cont"},[i("flexbox",{attrs:{wrap:"wrap"}},[t._l(t.data,function(e,a){return i("div",{directives:[{name:"src",rawName:"v-src:background-image",value:e.file_path||e.path||e.url,expression:" item.file_path || item.path || item.url",arg:"background-image"}],key:a,staticClass:"img-item",on:{mouseover:function(i){t.mouseImgOver(e,a)},mouseleave:function(i){t.mouseImgLeave(e,a)}}},[e.showDelete?i("div",{staticClass:"img-delete",on:{click:function(i){t.deleteItem(e,a)}}},[t._v("×")]):t._e()])}),t._v(" "),i("div",{staticClass:"img-item-add"},[i("input",{staticClass:"img-item-iput",attrs:{type:"file",accept:"image/*",multiple:""},on:{change:t.uploadFile}})])],2),t._v(" "),i("el-button",{attrs:{type:"text"},on:{click:t.deleteAll}},[t._v("全部删除")])],1)},[],!1,null,"99238776",null);n.options.__file="AddImageList.vue";e.a=n.exports}}]);