|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2455"],{"+lNB":function(e,t,i){"use strict";var a=i("8GhS"),s=i("7Dod"),n=i("AAeT"),l=i("ERJp"),o=i("d9x6"),c=i("c2Co"),r=i("Y4Le"),d=i("1DpC"),u=i("VcMt"),h={name:"TransferHandle",components:{XhUserCell:a.p},mixins:[],props:{dialogVisible:{type:Boolean,required:!0,default:!1},crmType:{type:String,default:""},selectionList:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1,visible:!1,usersList:[],removeType:1,handleType:1,addsTypes:[]}},computed:{showRemoveType:function(){return"leads"!=this.crmType&&"contacts"!=this.crmType&&"receivables"!=this.crmType&&"product"!=this.crmType&&"invoice"!=this.crmType}},watch:{dialogVisible:{handler:function(e){this.visible=e,e||this.resetData()},deep:!0,immediate:!0}},mounted:function(){this.visible=this.dialogVisible},methods:{resetData:function(){this.usersList=[],this.removeType=1,this.handleType=1,this.addsTypes=[]},handleCancel:function(){this.visible=!1,this.$emit("update:dialogVisible",!1)},userChage:function(e){this.usersList=e.value},handleConfirm:function(){var e=this;0===this.usersList.length?this.$message.error("请选择变更负责人"):(this.loading=!0,this.getRequest()(this.getParams()).then(function(t){e.$message({type:"success",message:"操作成功"}),e.loading=!1,e.handleCancel(),"customer"!=e.crmType&&"contract"!=e.crmType&&"leads"!=e.crmType||e.$store.dispatch("GetMessageNum"),e.$emit("handle",{type:"transfer"})}).catch(function(){e.loading=!1}))},getRequest:function(){return"leads"===this.crmType?c.m:"customer"===this.crmType?s.W:"contacts"===this.crmType?n.n:"business"===this.crmType?l.r:"contract"===this.crmType?o.o:"receivables"===this.crmType?d.k:"product"===this.crmType?r.m:"invoice"===this.crmType?u.l:void 0},getParams:function(){var e=this,t=this.usersList[0].id,i={is_remove:this.removeType};return 2===this.removeType&&(i.type=this.handleType),i.owner_user_id=t,i[this.crmType+"_id"]=this.selectionList.map(function(t){return t[e.crmType+"_id"]}),"customer"===this.crmType&&(i.types=this.addsTypes),i}}},m=(i("OwoT"),i("KHd+")),p=Object(m.a)(h,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{visible:e.visible,"append-to-body":!0,"close-on-click-modal":!1,title:"批量转移",width:"450px"},on:{"update:visible":function(t){e.visible=t},close:e.handleCancel}},[i("div",{staticClass:"handle-box"},[i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("变更负责人为:")]),e._v(" "),i("xh-user-cell",{staticClass:"handle-item-content",attrs:{value:e.usersList},on:{"value-change":e.userChage}})],1),e._v(" "),e.showRemoveType?i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("将原负责人:")]),e._v(" "),i("el-radio-group",{model:{value:e.removeType,callback:function(t){e.removeType=t},expression:"removeType"}},[i("el-radio",{attrs:{label:1}},[e._v("移出")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("转为团队成员")])],1)],1):e._e(),e._v(" "),2==e.removeType?i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("权限:")]),e._v(" "),i("el-radio-group",{model:{value:e.handleType,callback:function(t){e.handleType=t},expression:"handleType"}},[i("el-radio",{attrs:{label:1}},[e._v("只读")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("读写")])],1)],1):e._e(),e._v(" "),"customer"===e.crmType?i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("同时变更负责人至:")]),e._v(" "),i("el-checkbox-group",{model:{value:e.addsTypes,callback:function(t){e.addsTypes=t},expression:"addsTypes"}},[i("el-checkbox",{attrs:{label:"crm_contacts"}},[e._v("联系人")]),e._v(" "),i("el-checkbox",{attrs:{label:"crm_business"}},[e._v("商机")]),e._v(" "),i("el-checkbox",{attrs:{label:"crm_contract"}},[e._v("合同")])],1)],1):e._e()],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(t){return e.handleCancel(t)}}},[e._v("取消")]),e._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:e.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[e._v("保存")])],1)])},[],!1,null,"7b9fdf60",null);p.options.__file="TransferHandle.vue";t.a=p.exports},"0Dkb":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1MkQ3RTM1MURBOTYxMUU5QkVDQ0Y5RUNFNjg0MjYxRiIgeG1wTU06RG9jdW1lbnRJ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PcrLuq/xZC5T9JHDpojDqV78fyBghffQ5QuHrJGveBO4He5POTu4FBU6XCQjpuqmpbFVg2DBCQ4PA2TOm5smycOKkBAG8eEHg7l89n/OV45qUa81HcDu266i+ATw9FkaJxiBWsU5GAX7ksAlZdSkBALml+eqL8FHU4RDYu1+TFgK+KxEGXN6LhC1bCcnJPddzB/HpJsKMmcCeb2PcLoWS9HQyGuCwaWGU2SDX1Zk+53IhCK6jA6it7fm/ZcsJy9+g+FuQ/ef7A1rY0QN3GXwFK8pNn3vz7WDLnTgucGCfwL5DmuGPgbL2LUJ5qcCDB3H2QYfD1EgFAVvypYJgq3BrxeA8ovg/IO/JE4TLVSLxo2iTF8jMhOGLoeTvgFFH5ggrJ47KGSRpgjTT38JJ8Sbd8r8VhPfeNy3d2RFDwH+bHx9wjIyON6uBxvvSL7Os5zxm5ESv+62DeHWOdY1/rYnhyKJKVh0+H0X0t1CSL1ND9Q2BMhk0ONA8kvETgI8+Dh0tf7mJqAZYTyxNtLRA5jw96rozUBYXmgOrY0cF/vg98nqej36zW398l+jPZJuj4eQpPDTqW57i6+b1msOmYreGmc+ED0i7vtTh8SA+gE9qUPXaXML8BfKaTiQkSadpuAucrxQ4dVKgvZ9tVdwB1UxGASpABagAFaACVID9Amy2MZ+PAStsDFjOgG6p/9gQjpncDMjNSIHUo9zq2QCspZuFmTwPBRgAkkZGeuRxtNwAAAAASUVORK5CYII="},"2q0V":function(e,t,i){"use strict";var a=i("QPC0");i.n(a).a},"3gPr":function(e,t,i){"use strict";var a=i("KTTK"),s=i("c2Co"),n=i("7Dod"),l=i("AAeT"),o=i("ERJp"),c=i("d9x6"),r=i("Y4Le"),d=i("1DpC"),u=i("zhwh"),h=i("VcMt"),m=i("7Qib"),p=i("ehos"),b={name:"RelativeFiles",components:{},props:{id:[String,Number],detail:{type:Object,default:function(){return{}}},crmType:{type:String,default:""},isSeas:{type:Boolean,default:!1}},data:function(){return{loading:!1,list:[],fieldList:[],tableHeight:"400px",editDialog:!1,editForm:{name:"",data:{}}}},inject:["rootTabs"],computed:{},watch:{id:function(e){this.list=[],this.getDetail()},"rootTabs.currentName":function(e){"RelativeFiles"===e&&this.getDetail(!1)}},mounted:function(){var e=this;this.fieldList.push({prop:"name",width:"200",label:"附件名称"}),this.fieldList.push({prop:"size",width:"100",label:"附件大小"}),this.fieldList.push({prop:"createUserName",width:"100",label:"上传人"}),this.fieldList.push({prop:"create_time",width:"200",label:"上传时间"}),this.fieldList.push({prop:"source",width:"100",label:"来源"}),this.getDetail(),this.debouncedGetDetail=Object(p.debounce)(300,function(){e.$bus.emit("crm-tab-num-update"),e.getDetail()})},methods:{getDetail:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.loading=t,(0,{leads:s.f,customer:n.j,contacts:l.f,business:o.e,contract:c.e,product:r.f,receivables:d.d,visit:u.b,invoice:h.d}[this.crmType])({module:"crm_"+this.crmType,module_id:this.id,by:"all"}).then(function(t){e.loading=!1,e.list=t.data.list.map(function(e){return e.size=Object(m.h)(e.size),e.createUserName=e.create_user_id_info.realname,e.source=e.source||"附件上传",e})}).catch(function(){e.loading=!1})},addFile:function(){document.getElementById("file").click()},uploadFile:function(e){for(var t=this,i=e.target.files,a=0;a<i.length;a++){var s=i[a],n={};n.batchId=this.detail.batchId,n.file=s,this.$wkUploadFile.upload({file:s,params:{batchId:this.detail.batchId,type:"file",module_id:this.id,module:"crm_"+this.crmType}}).then(function(e){t.debouncedGetDetail()}).catch(function(){})}e.target.value=""},handleRowClick:function(e,t,i){},showPreviewBtn:function(e){return Object(m.a)(e.row.name)},handleFile:function(e,t){var i=this;"preview"===e?Object(m.a)(t.row.name)?Object(m.B)(t.row.url,t.row.name):this.$bus.emit("preview-image-bus",{index:t.$index,data:this.list.map(function(e){return e.url=e.file_path,e})}):"delete"===e?this.$confirm("您确定要删除该文件吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(a.c)({module_id:i.id,module:"crm_"+i.crmType,save_name:t.row.save_name}).then(function(e){i.list.splice(t.$index,1),i.$bus.emit("crm-tab-num-update"),i.$message.success("操作成功")}).catch(function(){})}).catch(function(){}):"download"===e?Object(a.l)({name:t.row.name,save_name:t.row.save_name}).then(function(e){var i=new Blob([e.data],{type:""});Object(m.e)(i,t.row.name)}).catch(function(){}):(this.editForm.data=t,this.editForm.name=t.row.name,this.editForm.save_name=t.row.save_name,this.editDialog=!0)},confirmEdit:function(){var e=this;this.editForm.name&&Object(a.j)({name:this.editForm.name,save_name:this.editForm.save_name}).then(function(t){e.$message.success("编辑成功"),e.editDialog=!1,e.list[e.editForm.data.$index].name=e.editForm.name}).catch(function(){})}}},v=(i("a+dQ"),i("KHd+")),A=Object(v.a)(b,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"rc-cont"},[e.isSeas?e._e():i("flexbox",{staticClass:"rc-head",attrs:{direction:"row-reverse"}},[i("el-button",{staticClass:"rc-head-item",attrs:{type:"primary"},nativeOn:{click:function(t){return e.addFile(t)}}},[e._v("上传附件")]),e._v(" "),i("input",{staticClass:"rc-head-file",attrs:{id:"file",type:"file",accept:"*/*",multiple:""},on:{change:e.uploadFile}})],1),e._v(" "),i("el-table",{staticClass:"file-table",staticStyle:{width:"100%",border:"1px solid #E6E6E6"},attrs:{data:e.list,height:e.tableHeight,stripe:""},on:{"row-click":e.handleRowClick}},[e._l(e.fieldList,function(e,t){return i("el-table-column",{key:t,attrs:{prop:e.prop,label:e.label,"show-overflow-tooltip":""}})}),e._v(" "),i("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("flexbox",[i("el-button",{attrs:{type:"text"},nativeOn:{click:function(i){e.handleFile("preview",t)}}},[e._v("预览")]),e._v(" "),i("el-button",{attrs:{type:"text"},nativeOn:{click:function(i){e.handleFile("download",t)}}},[e._v("下载")]),e._v(" "),i("el-button",{attrs:{disabled:1==t.row.readOnly,type:"text"},nativeOn:{click:function(i){e.handleFile("edit",t)}}},[e._v("重命名")]),e._v(" "),i("el-button",{attrs:{disabled:1==t.row.readOnly,type:"text"},nativeOn:{click:function(i){e.handleFile("delete",t)}}},[e._v("删除")])],1)]}}])})],2),e._v(" "),i("el-dialog",{attrs:{"append-to-body":!0,"close-on-click-modal":!1,visible:e.editDialog,title:"编辑",width:"30%"},on:{"update:visible":function(t){e.editDialog=t}}},[i("el-form",{attrs:{model:e.editForm}},[i("el-form-item",{attrs:{label:"新名称","label-width":"100"}},[i("el-input",{attrs:{autocomplete:"off"},model:{value:e.editForm.name,callback:function(t){e.$set(e.editForm,"name",t)},expression:"editForm.name"}})],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.editDialog=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.confirmEdit}},[e._v("确 定")])],1)],1)],1)},[],!1,null,"822edc0c",null);A.options.__file="RelativeFiles.vue";t.a=A.exports},"5J4B":function(e,t,i){},"5XBl":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjp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F/sbYX6T/lVAAAAAElFTkSuQmCC"},ByPb:function(e,t,i){"use strict";var a=i("TmvB");i.n(a).a},CjUg:function(e,t,i){"use strict";var a=i("ZoMv"),s=i("4XAY"),n={name:"RelativeHandle",components:{},props:{id:[String,Number],detail:{type:Object,default:function(){return{}}},crmType:{type:String,default:""},isSeas:{type:Boolean,default:!1}},data:function(){return{loading:!1,list:[]}},inject:["rootTabs"],computed:{},watch:{id:function(e){this.list=[],this.getDetail()},"rootTabs.currentName":function(e){"RelativeHandle"===e&&this.getDetail(!1)}},mounted:function(){this.getDetail()},methods:{getDetail:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.loading=t,Object(s.k)({types:a.a[this.crmType],action_id:this.id}).then(function(t){e.loading=!1,e.list=t.data.map(function(e){return e.createTime=new Date(e.create_time).getTime(),e})}).catch(function(){e.loading=!1})}}},l=(i("xVOl"),i("KHd+")),o=Object(l.a)(n,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"},{name:"empty",rawName:"v-empty",value:e.list,expression:"list"}],staticClass:"rc-cont",staticStyle:{"padding-right":"10%","min-height":"500px"}},e._l(e.list,function(t,a){return i("flexbox",{key:a,staticClass:"ha-cont",attrs:{align:"stretch",justify:"flex-start"}},[i("div",{staticClass:"ha-week"},[e._v(e._s(e._f("filterTimestampToFormatTime")(t.createTime,"MM-DD dddd")))]),e._v(" "),i("div",{staticClass:"ha-circle"}),e._v(" "),i("div",{staticClass:"ha-time"},[e._v(e._s(e._f("filterTimestampToFormatTime")(t.createTime,"HH:mm")))]),e._v(" "),i("xr-avatar",{staticClass:"ha-img",attrs:{name:t.user_id_info.realname,id:t.createUserId,size:30,src:t.img||t.thumb_img,disabled:!1}}),e._v(" "),i("div",{staticClass:"ha-name"},[e._v(e._s(t.user_id_info.realname))]),e._v(" "),i("div",{staticClass:"ha-content"},e._l(t.content,function(t,a){return i("p",{key:a},[e._v(e._s(t))])})),e._v(" "),i("div",{staticClass:"ha-line"})],1)}))},[],!1,null,"52514ebe",null);o.options.__file="RelativeHandle.vue";t.a=o.exports},DQNM:function(e,t,i){},DVEp:function(e,t,i){},GduB:function(e,t,i){},JAjk:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1MUY1QkY1OERBOTYxMUU5QjhBM0ExNjhEMjE4QTdFNSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1MUY1QkY1OURBOTYxMUU5QjhBM0ExNjhEMjE4QTdFNSI+IDx4bXBNTTpE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yEVqwxswXiwImidocDagfuuYX7I+vPBXz2bmAtE90YbUfmxz3apugzfva/i7ZrlPBO378sVTsi2k9tMyxLrk2ed7bfNAS7oiT+BXyiUTq1Pfz6HN4WtC1r4wdvhAz+Do/+OyIozP8zuPomkTMImbmslr0wvuAlQ7pUmO5U8LKmoheFRkNSWDwwXdzWPRNkd9jpB/xm0dIGOGGZoh/wwfjjNWUn3lDzaBv9gMOYnZS/r4ZO/UcqHfOFyKymsrcOXs92MqMe5IIMB8gBcoAcIAfIATIP0MRivnkSUMliQAUJWINmYCEcyVRDAqrR5GjtaGYWgJkXWUgm9S8BBgDNKvPAuGUeNQAAAABJRU5ErkJggg=="},JCWM:function(e,t,i){"use strict";var a=i("7Dod"),s=i("XJYT"),n={name:"PutPoolHandle",components:{},mixins:[],props:{visible:{type:Boolean,required:!0,default:!1},id:[String,Number],selectionList:{type:Array,default:function(){return[]}}},data:function(){return{selectId:"",list:[]}},computed:{},watch:{list:{handler:function(){this.selectId=this.list&&this.list.length>0?this.list[0].pool_id:""},immediate:!0},visible:function(e){e&&0===this.list.length&&this.getList()}},mounted:function(){},methods:{getList:function(){var e=this,t=s.Loading.service({target:document.querySelector('.el-dialog[aria-label="放入公海"]')});this.list=[],Object(a.v)().then(function(i){e.list=i.data||[],t&&t.close()}).catch(function(){t&&t.close()})},handleCancel:function(){this.$emit("update:visible",!1)},handleConfirm:function(){var e=this;if(this.selectId){var t=s.Loading.service({target:document.querySelector('.el-dialog[aria-label="放入公海"]')});Object(a.G)({customer_id:this.selectionList.map(function(e){return e.customer_id}),pool_id:this.selectId}).then(function(i){e.$message({type:"success",message:"操作成功"}),t.close(),e.$emit("handle",{type:"put_seas"}),e.handleCancel()}).catch(function(){t.close()})}}}},l=(i("zJJs"),i("KHd+")),o=Object(l.a)(n,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{visible:e.visible,"append-to-body":!0,"close-on-click-modal":!1,title:"放入公海",width:"450px"},on:{close:e.handleCancel}},[i("div",{staticClass:"handle-box"},[i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("公海:")]),e._v(" "),i("el-select",{model:{value:e.selectId,callback:function(t){e.selectId=t},expression:"selectId"}},e._l(e.list,function(e){return i("el-option",{key:e.pool_id,attrs:{label:e.pool_name,value:e.pool_id}})}))],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(t){return e.handleCancel(t)}}},[e._v("取消")]),e._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:e.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[e._v("保存")])],1)])},[],!1,null,"54a60ff1",null);o.options.__file="PutPoolHandle.vue";t.a=o.exports},K4QM:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dH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yorK6Ouri6+ONIebWtro8XFRXVOUbvdTg0NDWnHdXR0xDL2cTH8fj/t7+/zAwaQExMT9PLyEvt7qsX7EkAlcFBBQQFVVFT88y1FRXHZw16VC89wksZ8jmz8lwMWFhYqN2TvE8WelYTDKJkeHx/jylw1QJSVUsknrZubDE44JUKm5GWnG8Dd3V26urpKO25jYyOjbGsGEJmZnJyk+/v7lGOOj4/5u1C3l+3Ly0saGxujra2thD23srLCj/3n52d9u4mbmxuamZlJyNzq6mrKk1LYJQEoALUHiPtqe3s7t1NyeTyejG5NmnH0H23XwMBAAhwEn1lTU0Pj4+P81NZlBuE4ksFJslqt3Hcq8ZGaA8zPz+etinRCt0Cpg9EUIHyl0sxUVVXpDzAvLy+jbKsG+Pb2lnbS8kxJV7hoNJrRrUk1QPlEUXZw8nLB1cufSePh6uHklToY1QAPDw9jP+fk5PDWIE5GlFV9fT35fL6k43FfVeI4APe/vjIr78FAIMC7ZlIZojs2NDSUdCw6bcFgMPY7um7otuF1kaxNgcWYnZ1V90WP/iVagN3d3Wl95PT0dEJ7Hv3To6Mjam1t5eWMhYKhhhXb3t7Wxk0GnWhM3OVyxfU/5YuATKQqNXTC5+fns39TyuaX4X8KKCnsOxw22IMoSXjEg4MDVTxi1u+iyGI4HOYh3IQAFIACUAAKQAGoPmDEwHxRAE4ZGNAPwGEWfwwIB6ZhAMKcdbL4xeLaAGDX7yxgCv4VYAAvcVwhxae3VAAAAABJRU5ErkJggg=="},"L+lS":function(e,t,i){e.exports=i.p+"static/img/nearby_not.016fa6f.png"},LNO1:function(e,t,i){e.exports={xrColorPrimary:"#2362FB"}},MqKM:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALsAAADTCAYAAADZN2JdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2V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XdXEsu2LOen8LMADibilw9YdKGAAAAABJRU5ErkJggg=="},"RU/L":function(e,t,i){i("Rqdy");var a=i("WEpk").Object;e.exports=function(e,t,i){return a.defineProperty(e,t,i)}},Rqdy:function(e,t,i){var a=i("Y7ZC");a(a.S+a.F*!i("jmDH"),"Object",{defineProperty:i("2faE").f})},SEkw:function(e,t,i){e.exports={default:i("RU/L"),__esModule:!0}},ShYU:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxNkY5MjUwQjE1OTAxMUVBOTMzNThFQjJBRUI2ODUwQiIgeG1w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EWHvnP04uFhcs5KAGli2oIbr8HNDUIF/w1kUgJq8DSs0wAeP0y8Ob1+AtPm8HSMoU7GhlQKSwDdzwjUj7WDZfH+gROd0DMmw+WnCJNxrhvsO8zeFurtsU8OgaIjDIGoPtU2cQmM5kxUUWknLlgDECWvh141Kit08rVxklRtn4ToEqPeNsJ3vLcz+agHmvpnVvgN2qAnm4/NJnpxPAweLUN/MkDwGIBW2sFYuLJ5y1Adwe4mvqDX3wM+KFHpNVvC/3E/xwItmYdEDxDvLnz1QJuaTSUghLaby4em/67D4CfqwJ/eN+HLnr6ONDZ/vcdMrLBcvbT7r0VvOG2Z/OsFNuonSuuu37Q0tMrlpGQWWBHisFPHgU0zE19TSZr1/hi+08RHCxMyVOk14v+m7eNgnOB37wGvHSA5RNUUBD9gIHtyAW3lfgI0LoBUKU1ujpEq845NWiuucuLgPZXYgAK9kIprQCWLKPCIBZcw639o1QLDBTt10HRUjoqefnegcvc6YHzxPdvBqxF4xJF22z3nrMoYLQ7UU5UAhHeUo5rLCT8ApBtTANmhoA31oM/bhInV8STyyaJNilZnKO1kddc+j+AvPeTfoShs8H2HRb3rSoHv3IRcPZ7rw8Ngd+thftYITDg1DZ4rtwMPuWRVz/8qs4ZFqFPFUMOrK6HngWdHBNRCyhVyQc/vqdCYGhqzzgdQCOE/GwoASWgBJSAElACSkBjA/abmG9ABawzMWCtClhK6jMhnMpUqgI6SFbSVZLTBGDOERaVyfFTgAEAHqnb4f/NuK8AAAAASUVORK5CYII="},UxRY:function(e,t,i){"use strict";var a=i("fhSb");i.n(a).a},WGjG:function(e,t,i){"use strict";var a=i("8GhS"),s=i("7Dod"),n={name:"AllocHandle",components:{XhUserCell:a.p},mixins:[],props:{dialogVisible:{type:Boolean,required:!0,default:!1},crmType:{type:String,default:""},pool_id:[String,Number],selectionList:{type:Array,default:function(){return[]}}},data:function(){return{loading:!0,visible:!1,usersList:[]}},computed:{},watch:{dialogVisible:{handler:function(e){this.visible=e,e||(this.usersList=[])},deep:!0,immediate:!0}},mounted:function(){this.visible=this.dialogVisible},methods:{handleCancel:function(){this.visible=!1,this.$emit("update:dialogVisible",!1)},userChage:function(e){this.usersList=e.value},handleConfirm:function(){var e=this;if(0===this.usersList.length)this.$message.error("请选择负责人");else{var t={user_id:this.usersList[0].id,pool_id:this.pool_id};t.customer_id=this.selectionList.map(function(t){return t[e.crmType+"_id"]}),this.loading=!0,Object(s.d)(t).then(function(t){e.$message({type:"success",message:"操作成功"}),e.loading=!1,e.$emit("handle",{type:"alloc"}),e.handleCancel()}).catch(function(){e.loading=!1})}}}},l=(i("XM5W"),i("KHd+")),o=Object(l.a)(n,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{visible:e.visible,"append-to-body":!0,"close-on-click-modal":!1,title:"批量分配",width:"400px"},on:{"update:visible":function(t){e.visible=t},close:e.handleCancel}},[i("div",{staticClass:"handle-box"},[i("flexbox",{staticClass:"handle-item",attrs:{align:"stretch"}},[i("div",{staticClass:"handle-item-name",staticStyle:{"margin-top":"8px"}},[e._v("请选择:")]),e._v(" "),i("xh-user-cell",{staticClass:"handle-item-content",attrs:{value:e.usersList},on:{"value-change":e.userChage}})],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(t){return e.handleCancel(t)}}},[e._v("取消")]),e._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:e.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[e._v("保存")])],1)])},[],!1,null,"389d669a",null);o.options.__file="AllocHandle.vue";t.a=o.exports},XBAh:function(e,t,i){"use strict";var a=i("DQNM");i.n(a).a},XM5W:function(e,t,i){"use strict";var a=i("DVEp");i.n(a).a},YEIV:function(e,t,i){"use strict";t.__esModule=!0;var a,s=i("SEkw"),n=(a=s)&&a.__esModule?a:{default:a};t.default=function(e,t,i){return t in e?(0,n.default)(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},ZiWE:function(e,t,i){"use strict";var a=i("ymSI");i.n(a).a},"a+dQ":function(e,t,i){"use strict";var a=i("jKQq");i.n(a).a},blFO:function(e,t,i){"use strict";var a=i("90GT");i.n(a).a},bok9:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0RjRENDlERURBOTYxMUU5QjhGNUE5OERENTZCOThGRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0RjRENDlERkRBOTYxMUU5QjhGNUE5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QBaW1APy7bZQCRQYCXypEiHBeBvoeQTos4CNx+T7c9ml0ykAGJ0vvriccRsOH2zN5ZSO3RWCk3WawsmMfP/geBFLPa6iHMTljCv3puO05xb+DRvvTog6sKiOAnyK9OfEFYil7lHAiPQVjH4CKWwpxb8J635sFkcO7r9FiveZnEXlKjCDoetWsDxJgHLLbeeNR8Uxv8rBeyUrABgUK9+Gw8EgpWzz09alaa0y+urFkfPPhGL5QndNlAKAK7ExSpxb7Dxjaa2xvS6oFYrqRnMOkBPqpepAwvQ5lKNW2maws04c04/YZlCfKX+v5ZJ1twJO9MoLDcevhBLbefcDa3pX5tFHGc7FQUu3431YdJzZTxN9CswgP5rgrN8Ry78syiVHbbhJgRnktKv/uYNDGSq/b/82c4conhVJtrlSGHztPvnjR5AtlS4Xvi5W9CQka0lIkncL0eH0y1Xj3zN41liU5ixe9tDJC037AVQD1AA1QA1QA/zfAc0q5rMwYIOKAZ8yYAXEP3CrzZipggHbyQvJH5KPqwBs3MrCTO2/BBgAMEwBgxORzVoAAAAASUVORK5CYII="},cLla:function(e,t,i){e.exports=i.p+"static/img/customer_not.7d40ec4.png"},dTTw:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMj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a=i("QbLZ"),s=i.n(a),n=i("L2JU"),l=i("c2Co"),o=i("7Dod"),c=i("AAeT"),r=i("ERJp"),d=i("d9x6"),u=i("Y4Le"),h=i("1DpC"),m=i("VcMt"),p=i("ehos");t.a={data:function(){return{showFirstDetail:!0,detailData:null,tabsNumber:{}}},props:{isSeas:{type:Boolean,default:!1},pageIndex:[String,Number],pageList:Array},computed:s()({},Object(n.b)(["crm"]),{canCreateFollowRecord:function(){return this.crm&&this.crm.activity&&this.crm.activity.save},canShowDetail:function(){return(!this.detailData||0!==this.detailData.dataAuth)&&(this.crm&&this.crm[this.crmType]&&this.crm[this.crmType].read)},showTabsNumber:function(){return"visit"!==this.crmType}}),watch:{id:function(){this.canShowDetail&&(this.detailData=null,this.tabsNumber={},this.getDetial(),this.getTabsNum())},detailData:function(){this.$refs.crmDetailMain&&"white"==this.$refs.crmDetailMain.style.background&&(this.$refs.crmDetailMain.style.background="inherit")}},mounted:function(){this.$refs.crmDetailMain.style.background="white",this.debouncedGetTabsNum=Object(p.debounce)(300,this.getTabsNum)},beforeDestroy:function(){this.$bus.off("crm-tab-num-update",this.debouncedGetTabsNum)},methods:{pageChange:function(e){if("left"===e)if(this.pageIndex>0){var t=this.pageIndex;this.$emit("update:pageIndex",--t),this.$emit("update:id",this.pageList[t][this.crmType+"_id"])}else this.$message.error("没有更多了");else if(this.pageIndex<this.pageList.length-1){var i=this.pageIndex;this.$emit("update:pageIndex",++i),this.$emit("update:id",this.pageList[i][this.crmType+"_id"])}else this.$message.error("没有更多了")},viewAfterEnter:function(){this.canShowDetail&&(this.getDetial(),this.getTabsNum(),this.$bus.on("crm-tab-num-update",this.debouncedGetTabsNum))},detailHeadHandle:function(e){if(!1!==this.detailHeadHandleClick(e)){if("edit"===e.type)this.isCreate=!0;else if("delete"===e.type||"exit-team"===e.type||"alloc"===e.type||"get"===e.type||"transfer"===e.type||"transform"===e.type||"delete"===e.type||"put_seas"===e.type)this.hideView();else if("state_start"===e.type||"state_disable"===e.type||"deal_status"===e.type||"cancel"===e.type||"examine"===e.type)this.getDetial();else if("save-success"===e.type)return void this.editSaveSuccess();this.$emit("handle",e)}},detailHeadHandleClick:function(){},editSaveSuccess:function(){this.$bus.$emit("crm-detail-update",this.crmType),this.$emit("handle",{type:"save-success"}),this.detailData=null,this.getDetial()},getTabsNum:function(){var e=this;if(this.showTabsNumber){var t={leads:l.h,customer:o.o,contacts:c.h,business:r.g,contract:d.g,product:u.h,receivables:h.f,invoice:m.f}[this.crmType],i={};i[this.crmType+"_id"]=this.id,t(i).then(function(t){e.tabsNumber=t.data||{}}).catch(function(){})}},getTabName:function(e,t){return e+(t&&t>0?"("+t+")":"")},toggleStar:function(){var e=this;this.loading=!0;var t={leads:l.l,customer:o.U,contacts:c.m,business:r.o}[this.crmType],i={};i.type="crm_"+this.crmType,i.crmType=this.crmType,i.target_id=this.id,t(i).then(function(){e.loading=!1,e.$message.success(e.detailData.star>0?"取消关注成功":"关注成功"),e.detailData.star=e.detailData.star>0?0:1,e.$emit("handle",{type:"star"})}).catch(function(){e.loading=!1})}},deactivated:function(){}}},fhSb:function(e,t,i){},gf9f:function(e,t,i){"use strict";var a=i("LNO1");i.n(a).a},"goM+":function(e,t,i){e.exports=i.p+"static/img/seas_not.68f3f48.png"},h59h:function(e,t,i){"use strict";var a={name:"Sections",components:{},props:{title:{type:String,default:""},mColor:{type:String,default:"#2362FB"},contentHeight:{type:String,default:"327px"},showF:{type:Boolean,default:!1},fItems:{type:Array,default:function(){return[]}},showNoData:{type:Boolean,default:!1}},data:function(){return{fIndex:-1}},computed:{},mounted:function(){},methods:{fClick:function(e){this.fIndex=e.type,this.$emit("f-click","val")}}},s=(i("XBAh"),i("KHd+")),n=Object(s.a)(a,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"section"},[e.title&&e.title.length>0?a("div",{staticClass:"section-header"},[a("div",{staticClass:"section-mark",style:{"border-left-color":e.mColor}}),e._v(" "),a("div",{staticClass:"section-title"},[e._v(e._s(e.title))]),e._v(" "),e.showF?a("flexbox",{staticClass:"f-container"},e._l(e.fItems,function(t,i){return a("div",{key:i,staticClass:"f-item",class:{"f-item-select":e.fIndex==t.type},on:{click:function(i){e.fClick(t)}}},[e._v(e._s(t.title))])})):e._e()],1):e._e(),e._v(" "),a("div",{staticClass:"content",style:{height:e.contentHeight}},[e.showNoData?a("div",{staticClass:"no-data-container"},[a("img",{staticClass:"no-data",attrs:{src:i("MqKM")}}),e._v(" "),a("div",{staticClass:"no-data-name"},[e._v("暂无数据")])]):e._e(),e._v(" "),e._t("default")],2)])},[],!1,null,"16dd4eb6",null);n.options.__file="Sections.vue";t.a=n.exports},iWcH:function(e,t,i){"use strict";i.r(t);var a=i("QbLZ"),s=i.n(a),n=i("W3mQ"),l=i("rrw3"),o=i("Vm8M"),c=i("u2hk"),r={name:"WkDetailTableView",components:{WkFieldView:function(){return Promise.resolve().then(i.bind(null,"iWcH"))}},props:{title:String,showType:{type:String,default:"defalut"},addFieldList:Array,fieldForm:{type:[Array,String],default:function(){return[]}},fieldList:{type:Array,default:function(){return[]}}},data:function(){return{}},computed:{},watch:{},created:function(){},mounted:function(){},beforeDestroy:function(){},methods:{getMinWidth:function(e){return"date_interval"===e||"dateRange"===e||"file"===e||"location"===e||"position"===e?250:150},getShowValue:function(e){return!e.hasOwnProperty("show")||e.show}}},d=(i("blFO"),i("KHd+")),u=Object(d.a)(r,function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.fieldForm&&e.fieldForm.length>0?i("div",{staticClass:"wk-detail-table-view"},["default"===e.showType?e._l(e.fieldList,function(t,a){return i("div",{key:a,staticClass:"detail-item"},[i("flexbox",{staticClass:"detail-item__head"},[i("div",{staticClass:"detail-item__head-title"},[e._v(e._s(e.title)+"("+e._s(a+1)+")")])]),e._v(" "),i("flexbox",{staticClass:"wk-form-items",attrs:{align:"flex-start",wrap:"wrap",justify:"flex-start"}},[e._l(t,function(t,s){return[e.getShowValue(t)?i("div",{key:s,staticClass:"wk-form-item",class:["is-"+t.form_type],style:{width:t.stylePercent?t.stylePercent+"%":"auto"},attrs:{label:t.name}},[i("div",{staticClass:"wk-form-item__label"},[e._v(e._s(t.name))]),e._v(" "),i("wk-field-view",{attrs:{props:t,form_type:t.form_type,value:e.fieldForm[a][t.field]},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.data;return[e._t("default",null,{data:i})]}}])})],1):e._e()]})],2)],1)}):"table"===e.showType?i("div",{staticClass:"detail-item"},[i("el-table",{staticClass:"wk-table-items",staticStyle:{width:"100%"},attrs:{data:e.fieldForm,"row-key":Date.now().toString()}},e._l(e.addFieldList,function(t,a){return e.getShowValue(t)?i("el-table-column",{key:a,attrs:{prop:t.field,label:t.name,"min-width":e.getMinWidth(t.form_type)},scopedSlots:e._u([{key:"default",fn:function(a){var s=a.row;return a.column,a.$index,[i("wk-field-view",{attrs:{props:t,form_type:t.form_type,value:s[t.field]},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.data;return[e._t("default",null,{data:i})]}}])})]}}])}):e._e()}))],1):e._e()],2):e._e()},[],!1,null,"26978622",null);u.options.__file="View.vue";var h=u.exports,m=i("jtZb"),p=i("a/5N"),b=i("m77o"),v={signatureHeight:"26px"},A={name:"WkFieldView",components:{WkSignatureImage:n.a,WkDescText:l.a,MapView:o.a,FileListView:c.a,WkDetailTableView:h},props:{props:Object,form_type:String,value:[String,Object,Array,Number],ignoreFields:{type:Array,default:function(){return[]}}},data:function(){return{mapViewShow:!1}},computed:{config:function(){return Object(m.a)(s()({},v),this.props||{})},isEmpty:function(){return Object(p.b)(this.value)},isCommonType:function(){return["text","textarea","website","select","checkbox","number","floatnumber","percent","mobile","email","date","datetime","date_interval","user","structure","position"].includes(this.form_type)}},watch:{},created:function(){},mounted:function(){},beforeDestroy:function(){},methods:{objectHasValue:function(e,t){return!!Object(p.c)(e)&&!Object(p.b)(e[t])},openUrl:function(e){e.match(/^https?:\/\//i)||(e="http://"+e),window.open(e)},getCommonShowValue:function(){return Object(b.a)(this.form_type,this.value,"",this.props)}}},f=(i("jCzd"),Object(d.a)(A,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"wk-field-view",class:"is-"+e.form_type},[e.ignoreFields.includes(e.props.field)?[e._t("default",null,{data:e.$props})]:e.isCommonType?i("span",[e._v(e._s(e.getCommonShowValue()))]):"boolean_value"==e.form_type?i("el-switch",{attrs:{value:e.value,disabled:"","active-value":"1","inactive-value":"0"}}):"handwriting_sign"==e.form_type?i("wk-signature-image",{attrs:{src:e.value?e.value.url:"",height:e.config.signatureHeight}}):"desc_text"==e.form_type?i("wk-desc-text",{key:Date.now().toString(),attrs:{value:e.value}}):"location"==e.form_type?i("span",{class:{"can-check":e.objectHasValue(e.value,"address")},on:{click:function(t){t.stopPropagation(),e.mapViewShow=!0}}},[e._v(e._s(e.objectHasValue(e.value,"address")?e.value.address:"--"))]):"website"==e.form_type?i("span",{class:{"can-check":!e.isEmpty},on:{click:function(t){t.stopPropagation(),e.openUrl(e.value)}}},[e._v(e._s(e.value))]):"file"==e.form_type?i("file-list-view",{attrs:{list:e.value||[]}}):"detail_table"==e.form_type?i("wk-detail-table-view",{attrs:{"show-type":2===e.props.precisions?"table":"default",title:e.props.name,"add-field-list":e.props.fieldExtendList,"field-form":e.value,"field-list":e.props.fieldList},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.data;return[e._t("default",null,{data:i})]}}])}):[e._t("default",null,{data:e.$props})],e._v(" "),e.mapViewShow?i("map-view",{attrs:{title:e.value.address,lat:e.value.lat,lng:e.value.lng},on:{hidden:function(t){e.mapViewShow=!1}}}):e._e()],2)},[],!1,null,"83097176",null));f.options.__file="WkFieldView.vue";t.default=f.exports},jCzd:function(e,t,i){"use strict";var a=i("GduB");i.n(a).a},jKQq:function(e,t,i){},keIY:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5cc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F65tn202KOKNruyAjFEpbB8W56r+3XSEB5N8vLx2hWFVOgvrI01X+n+f599OuhxRzSgmmZBJxvfZ8oHjQBDy6TUH/wVaGrJO5f8P14Ms3EzEjfi+hGzh/SAg41fiX8Is1nCS0JjmkrdrjZipOKRNbd2k5ENegw87dPfC8TRmPGPJelGexnbn89kbdTeiAOqAOqAPqgDpgOAD2aZjPyQEbNAxYzwEt3LNqEI4zWTigjYWZxWUWDg2AOdwsnMn2W4ABAMZRIqDkPImgAAAAAElFTkSuQmCC"},m77o:function(e,t,i){"use strict";i.d(t,"a",function(){return c});var a=i("a/5N"),s=i("dAOq"),n=i("IEYw"),l=i("jHPx"),o=i("7Qib");function c(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"--";arguments[3];if("position"===e)return Object(a.a)(t)?t.map(function(e){return e.name}).join():i;if("floatnumber"===e)return Object(a.b)(t)?"":Object(l.h)(t);if("date"===e)return Object(o.r)(t);if("location"===e)return Object(a.c)(t)?t.address:i;if("date_interval"===e)return Object(a.a)(t)?t.join("-"):i;if("percent"===e)return Object(a.b)(t)?i:t+"%";if("single_user"===e)return Object(a.c)(t)?t.realname||i:t||i;if("select"===e){var c=n.a.methods.getRealParams({form_type:e},t);return Object(a.b)(c)?i:c}if("checkbox"===e){var r=n.a.methods.getRealParams({form_type:e},t);return Object(a.b)(r)?i:Object(a.a)(r)?r.join(","):r}return"structure"===e?Object(a.a)(t)?t.map(function(e){return e.name}).join()||i:t||i:"user"===e?Object(a.a)(t)?t.map(function(e){return e.realname}).join()||i:t||i:"check_status"===e?s.a.methods.getStatusName(t):Object(a.b)(t)?i:t}},nslc:function(e,t,i){"use strict";var a=i("7Dod"),s={name:"DealStatusHandle",components:{},mixins:[],props:{value:Number,visible:{type:Boolean,required:!0,default:!1},crmType:{type:String,default:""},selectionList:{type:Array,default:function(){return[]}}},data:function(){return{loading:!0,status:1,options:[{label:"已成交",value:1},{label:"未成交",value:2}]}},computed:{},watch:{value:{handler:function(e){void 0!==e&&(this.status=2==e?1:2)},immediate:!0}},mounted:function(){},methods:{handleCancel:function(){this.status=1,this.$emit("update:visible",!1)},handleConfirm:function(){var e=this,t=this.selectionList.map(function(t){return t[e.crmType+"_id"]}),i={status:this.status};i.customer_id=t,this.loading=!0,Object(a.b)(i).then(function(t){e.$message({type:"success",message:"操作成功"}),e.loading=!1,e.$emit("handle",{type:"deal_status"}),e.handleCancel()}).catch(function(){e.loading=!1})}}},n=(i("ByPb"),i("KHd+")),l=Object(n.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{visible:e.visible,"append-to-body":!0,"close-on-click-modal":!1,title:"客户成交状态",width:"400px"},on:{close:e.handleCancel}},[i("div",{staticClass:"handle-box"},[i("flexbox",{staticClass:"handle-item",attrs:{align:"stretch"}},[i("div",{staticClass:"handle-item-name",staticStyle:{"margin-top":"8px"}},[e._v("成交状态:")]),e._v(" "),i("el-select",{staticClass:"handle-item-content",model:{value:e.status,callback:function(t){e.status=t},expression:"status"}},e._l(e.options,function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(t){return e.handleCancel(t)}}},[e._v("取消")]),e._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:e.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[e._v("保存")])],1)])},[],!1,null,"70c61a2a",null);l.options.__file="DealStatusHandle.vue";t.a=l.exports},oC1z:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iV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i.n(a).a},"p3/6":function(e,t,i){"use strict";var a=i("8GhS"),s=i("7Dod"),n={name:"TeamsHandle",components:{XhUserCell:a.p},mixins:[],props:{dialogVisible:{type:Boolean,required:!0,default:!1},crmType:{type:String,default:""},selectionList:{type:Array,default:function(){return[]}},type:{type:String,default:""},members:Array},data:function(){return{loading:!1,visible:!1,pickerOptions:{disabledDate:function(e){return e.getTime()<new Date((new Date).toLocaleDateString()).getTime()}},usersList:[],handleType:1,addsTypes:[],validType:"",target_time:""}},computed:{addsTypesShow:function(){return"customer"===this.crmType},isCreate:function(){return"add"===this.type},title:function(){return{add:"添加团队成员",delete:"移除团队成员"}[this.type]}},watch:{dialogVisible:{handler:function(e){this.visible=e,e||this.resetData()},deep:!0,immediate:!0}},mounted:function(){this.visible=this.dialogVisible},methods:{resetData:function(){this.usersList=[],this.handleType=1,this.addsTypes=[]},handleCancel:function(){this.visible=!1,this.$emit("update:dialogVisible",!1)},userChage:function(e){this.usersList=e.value},handleConfirm:function(){var e=this;if(this.members||0!==this.usersList.length)if("end"!==this.validType||this.target_time){var t={types_id:this.selectionList.map(function(t){return t[e.crmType+"_id"]}),user_id:this.usersList.map(function(e){return e.id})};this.members&&(t.user_id=this.members.map(function(e){return e.id})),this.addsTypesShow&&(t.module=this.addsTypes),t.target_time="end"===this.validType?this.target_time:"",this.isCreate?t.type=this.handleType:t.is_del=1,this.loading=!0,t.types="crm_"+this.crmType,Object(s.T)(t).then(function(t){e.$message({type:"success",message:"操作成功"}),e.loading=!1,e.handleCancel(),e.$emit("handle",{type:e.isCreate?"add_user":"delete_user"})}).catch(function(){e.loading=!1})}else this.$message.error("请选择截止日期");else this.$message.error("请选择团队成员")}}},l=(i("ZiWE"),i("KHd+")),o=Object(l.a)(n,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:e.title,visible:e.visible,"append-to-body":!0,"close-on-click-modal":!1,width:"400px"},on:{"update:visible":function(t){e.visible=t},close:e.handleCancel}},[i("div",{staticClass:"handle-box"},[e.members?e._e():i("flexbox",{staticClass:"handle-item",attrs:{align:"stretch"}},[i("div",{staticClass:"handle-item-name",staticStyle:{"margin-top":"8px"}},[e._v("选择团队成员:")]),e._v(" "),i("xh-user-cell",{staticClass:"handle-item-content",attrs:{radio:!1,value:e.usersList,placeholder:"点击选择(多选)"},on:{"value-change":e.userChage}}),e._v(" "),"添加团队成员"!=e.title?i("div",{staticClass:"tips"},[e._v("此操作不可移除数据负责人")]):e._e()],1),e._v(" "),"添加团队成员"==e.title?i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("权限:")]),e._v(" "),i("el-radio-group",{model:{value:e.handleType,callback:function(t){e.handleType=t},expression:"handleType"}},[i("el-radio",{attrs:{label:1}},[e._v("只读"),i("el-tooltip",{staticStyle:{"margin-left":"3px"},attrs:{content:"支持查看详细资料、添加和查看活动中所有跟进记录",effect:"dark",placement:"top"}},[i("i",{staticClass:"wk wk-help wk-help-tips"})])],1),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("读写"),i("el-tooltip",{staticStyle:{"margin-left":"3px"},attrs:{content:"支持编辑和查看详细资料、可以添加和查看活动中所有跟进记录",effect:"dark",placement:"top"}},[i("i",{staticClass:"wk wk-help wk-help-tips"})])],1)],1)],1):e._e(),e._v(" "),e.addsTypesShow?i("flexbox",{staticClass:"handle-item",style:{marginTop:e.isCreate?0:"8px"}},[i("div",{staticClass:"handle-item-name"},[e._v(e._s(e.isCreate?"同时添加至":"同时移除")+":")]),e._v(" "),i("el-checkbox-group",{model:{value:e.addsTypes,callback:function(t){e.addsTypes=t},expression:"addsTypes"}},[i("el-checkbox",{attrs:{label:"crm_contacts"}},[e._v("联系人")]),e._v(" "),i("el-checkbox",{attrs:{label:"crm_business"}},[e._v("商机")]),e._v(" "),i("el-checkbox",{attrs:{label:"crm_contract"}},[e._v("合同")])],1)],1):e._e(),e._v(" "),e.isCreate?i("flexbox",{staticClass:"handle-item"},[i("div",{staticClass:"handle-item-name"},[e._v("有效时间:")]),e._v(" "),i("el-select",{model:{value:e.validType,callback:function(t){e.validType=t},expression:"validType"}},[i("el-option",{attrs:{label:"不限",value:""}}),e._v(" "),i("el-option",{attrs:{label:"截止到",value:"end"}})],1),e._v(" "),"end"===e.validType?i("el-date-picker",{staticStyle:{"margin-left":"8px"},attrs:{"picker-options":e.pickerOptions,"value-format":"yyyy-MM-dd",type:"date",placeholder:"选择日期"},model:{value:e.target_time,callback:function(t){e.target_time=t},expression:"target_time"}}):e._e()],1):e._e()],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{nativeOn:{click:function(t){return e.handleCancel(t)}}},[e._v("取消")]),e._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:e.handleConfirm,expression:"handleConfirm"}],attrs:{type:"primary"}},[e._v("保存")])],1)])},[],!1,null,"9e55396c",null);o.options.__file="TeamsHandle.vue";t.a=o.exports},p3hS:function(e,t,i){var a={"./board.png":"5XBl","./business.png":"dTTw","./contacts.png":"JAjk","./contract.png":"U4MQ","./customer.png":"wfwE","./customer_not.png":"cLla","./invoice.png":"R1k5","./leads.png":"keIY","./leads_not.png":"K4QM","./marketing.png":"ShYU","./nearby.png":"t4Dm","./nearby_not.png":"L+lS","./product.png":"wbJn","./receivables.png":"bok9","./receivables_plan.png":"oC1z","./seas.png":"riSQ","./seas_not.png":"goM+","./todo.png":"0Dkb","./visit.png":"9cPJ"};function s(e){var t=n(e);return i(t)}function n(e){var t=a[e];if(!(t+1)){var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}return t}s.keys=function(){return Object.keys(a)},s.resolve=n,e.exports=s,s.id="p3hS"},raay:function(e,t,i){"use strict";var a=i("m1cH"),s=i.n(a),n=i("YEIV"),l=i.n(n),o=i("QbLZ"),c=i.n(o),r=i("L2JU"),d=i("c2Co"),u=i("7Dod"),h=i("AAeT"),m=i("ERJp"),p=i("d9x6"),b=i("1DpC"),v=i("zhwh"),A=i("Y4Le"),f=i("VcMt"),g=i("+lNB"),y=i("WGjG"),w=i("nslc"),k=i("JCWM"),I={name:"CRMDetailHead",components:{TransferHandle:g.a,AllocHandle:y.a,DealStatusHandle:w.a,PutPoolHandle:k.a},props:{id:[String,Number],pool_id:[String,Number],poolAuth:Object,crmType:{type:String,default:""},isSeas:{type:Boolean,default:!1},detail:{type:Object,default:function(){return{}}},headDetails:{type:Array,default:function(){return[]}},pageList:Array},data:function(){return{moreTypes:[],transferDialogShow:!1,allocDialogShow:!1,dealStatusShow:!1,putPoolShow:!1}},computed:c()({},Object(r.b)(["crm"]),{crmIcon:function(){return i("p3hS")("./"+this.crmType+".png")},typeName:function(){return{leads:"线索",customer:"客户",contacts:"联系人",product:"产品",business:"商机",contract:"合同",receivables:"回款",visit:"回访",invoice:"发票"}[this.crmType]||""},name:function(){return"receivables"===this.crmType?this.detail.number:"customer"===this.crmType?this.detail.name:"business"===this.crmType?this.detail.name:"visit"===this.crmType?this.detail.number:"invoice"===this.crmType?this.detail.essential.invoice_apple_number:this.detail.name},showTransfer:function(){return"customer"!==this.crmType&&"visit"!==this.crmType&&!this.isSeas&&("contract"===this.crmType?this.detail&&8!=this.detail.check_status&&this.crm[this.crmType].transfer:this.crm[this.crmType].transfer)},showEdit:function(){return!this.isSeas&&this.crm[this.crmType].update},showGet:function(){return this.isSeas&&this.whetherTypeShowByPermision("get")},showAlloc:function(){return this.isSeas&&this.whetherTypeShowByPermision("alloc")},isLock:function(){return!!this.detail&&2==this.detail.status},showDealStatus:function(){return!this.isSeas&&"customer"==this.crmType&&this.crm[this.crmType].dealStatus},permissionMoreTypes:function(){var e=this;return this.moreTypes.filter(function(t){return e.whetherTypeShowByPermision(t.type)})}}),watch:{isSeas:function(){this.moreTypes=this.getSelectionHandleItemsInfo()}},mounted:function(){this.moreTypes=this.getSelectionHandleItemsInfo()},methods:{handleTypeClick:function(e){var t=this;if("edit"==e)this.$emit("handle",{type:"edit"});else if("transfer"==e)this.transferDialogShow=!0;else if("transform"==e||"delete"==e||"lock"==e||"unlock"==e||"start"==e||"disable"==e||"get"==e||"cancel"==e){var i="";"transform"==e?i="确定将这些线索转换为客户吗?":"delete"==e?i=this.isSeas?"若客户下有联系人,联系人将一并删除。确定删除?":"确定删除?":"lock"==e?i="确定要锁定该客户吗?锁定后将不会掉入公海。":"unlock"==e?i="确定要解锁该客户吗?":"start"==e?i="确定要上架该产品吗?":"disable"==e?i="确定要下架该产品吗?":"get"==e?i="确定要领取该客户吗?":"cancel"==e&&(i="确定要作废此合同吗?",this.detail.receivablesCount&&(i="合同下有相关回款,确定要作废吗?")),this.$confirm(i,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.confirmHandle(e)}).catch(function(){})}else if("alloc"==e)this.allocDialogShow=!0;else if("deal_status"==e)this.dealStatusShow=!0;else if("put_seas"==e)this.putPoolShow=!0;else if("print"==e){var a=this.detail[this.crmType+"_id"],s=this.$router.resolve("/print/?module="+this.crmType+"&id="+a);window.open(s.href,"_blank")}else"copyContract"==e&&this.$emit("handle-click",{type:e})},confirmHandle:function(e){var t=this;if("lock"===e||"unlock"===e)Object(u.n)({is_lock:"lock"===e?"1":"2",customer_id:[this.id]}).then(function(i){t.$message({type:"success",message:"操作成功"}),t.$emit("handle",{type:e})}).catch(function(){});else if("transform"===e)Object(d.n)(l()({},this.crmType+"_id",[this.id])).then(function(i){t.$message({type:"success",message:"转化成功"}),t.$store.dispatch("GetMessageNum"),t.$emit("handle",{type:e})}).catch(function(){});else if("start"===e||"disable"===e)Object(A.l)({id:[this.id],status:"start"===e?"上架":"下架"}).then(function(i){t.$message({type:"success",message:"操作成功"}),t.$emit("handle",{type:e})}).catch(function(){});else if("delete"===e){var i={leads:d.a,customer:this.isSeas?u.p:u.c,contacts:h.a,business:m.b,contract:p.b,receivables:b.a,visit:v.a,product:A.a,invoice:f.a}[this.crmType],a={};this.isSeas&&(a.pool_id=this.pool_id,a.isSeas=1),a.id=[parseInt(this.id)],i(this.isSeas?a:{id:[].concat(s()(a.id))}).then(function(i){t.$message({type:"success",message:"删除成功"}),t.$emit("handle",{type:e})}).catch(function(){})}else"get"===e?Object(u.O)({customer_id:[this.id],pool_id:this.pool_id}).then(function(i){t.$message({type:"success",message:"操作成功"}),t.$store.dispatch("GetMessageNum"),t.$emit("handle",{type:e})}).catch(function(){}):"cancel"===e&&Object(p.a)({contract_id:this.id}).then(function(i){t.$message.success("操作成功"),t.$emit("handle",{type:e})}).catch(function(){})},handleCallBack:function(e){this.$emit("handle",{type:e.type})},getSelectionHandleItemsInfo:function(){var e={transfer:{name:"转移",type:"transfer",icon:"transfer"},transform:{name:"转化为客户",type:"transform",icon:"transform"},export:{name:"导出选中",type:"export",icon:"export"},delete:{name:"删除",type:"delete",icon:"delete"},put_seas:{name:"放入公海",type:"put_seas",icon:"seas"},lock:{name:"锁定",type:"lock",icon:"lock"},unlock:{name:"解锁",type:"unlock",icon:"unlock"},add_user:{name:"添加团队成员",type:"add_user",icon:"add"},delete_user:{name:"移除团队成员",type:"delete_user",icon:"remove"},alloc:{name:"分配",type:"alloc",icon:"alloc"},get:{name:"领取",type:"get",icon:"receive"},start:{name:"上架",type:"start",icon:"shelves"},disable:{name:"下架",type:"disable",icon:"sold-out"},deal_status:{name:"更改成交状态",type:"deal_status",icon:"s-status"},cancel:{name:"合同作废",type:"cancel",icon:"invalid"},print:{name:"打印",type:"print",icon:"print"},copyContract:{name:"复制合同",type:"copyContract",icon:"icon-double-note"}};return"leads"==this.crmType?this.forSelectionHandleItems(e,["transform","delete"]):"customer"==this.crmType?this.isSeas?this.forSelectionHandleItems(e,["delete"]):this.forSelectionHandleItems(e,["transfer","put_seas","lock","unlock","delete"]):"contacts"==this.crmType?this.forSelectionHandleItems(e,["delete"]):"business"==this.crmType?this.forSelectionHandleItems(e,["print","delete"]):"contract"==this.crmType?this.forSelectionHandleItems(e,["print","delete","cancel","copyContract"]):"receivables"==this.crmType?this.forSelectionHandleItems(e,["print","delete"]):"product"==this.crmType?this.forSelectionHandleItems(e,["delete","start","disable"]):"visit"==this.crmType?this.forSelectionHandleItems(e,["delete"]):"invoice"==this.crmType?this.forSelectionHandleItems(e,["delete"]):[]},forSelectionHandleItems:function(e,t){for(var i=[],a=0;a<t.length;a++)i.push(e[t[a]]);return i},whetherTypeShowByPermision:function(e){return"transfer"==e?this.crm[this.crmType].transfer:"transform"==e?this.crm[this.crmType].transform:"export"==e?this.isSeas?this.pool_id?this.poolAuth.excelexport:this.crm.pool.excelexport:this.crm[this.crmType].excelexport:"delete"==e?this.isSeas?this.pool_id?this.poolAuth&&this.poolAuth.delete:this.crm.pool.delete&&this.pool_id:this.crm[this.crmType].delete:"put_seas"==e?this.crm[this.crmType].putinpool:"lock"==e||"unlock"==e?this.crm[this.crmType].lock:"add_user"==e||"delete_user"==e?this.crm[this.crmType].teamsave:"alloc"==e?this.pool_id?this.poolAuth&&this.poolAuth.distribute:this.crm.pool.distribute:"get"==e?this.pool_id?this.poolAuth&&this.poolAuth.receive:this.crm.pool.receive&&this.pool_id:"start"==e||"disable"==e?this.crm[this.crmType].status:"deal_status"==e?this.crm[this.crmType].dealStatus:"cancel"==e?!(!this.crm[this.crmType].cancel||2!==this.detail.check_status):"print"==e?this.crm[this.crmType].print:"copyContract"!=e||this.crm[this.crmType].save}}},j=(i("gf9f"),i("UxRY"),i("KHd+")),R=Object(j.a)(I,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"container"},[i("flexbox",{staticClass:"t-section",attrs:{align:"stretch"}},[i("img",{staticClass:"t-section__hd",attrs:{src:e.crmIcon}}),e._v(" "),i("div",{staticClass:"t-section__bd"},[i("div",{staticClass:"type-name"},[e._v(e._s(e.typeName))]),e._v(" "),i("flexbox",{staticClass:"type-content"},[i("el-tooltip",{attrs:{disabled:!e.name,content:e.name,effect:"dark",placement:"top-start"}},[i("div",{staticClass:"name"},[e._v(e._s(e.name))])]),e._t("name"),e._v(" "),e.pageList&&e.pageList.length>1?i("el-button-group",{staticClass:"wk-header-page-btn"},[i("el-button",{attrs:{icon:"el-icon-arrow-left"},on:{click:function(t){e.$emit("pageChange","left")}}}),e._v(" "),i("el-button",{attrs:{icon:"el-icon-arrow-right"},on:{click:function(t){e.$emit("pageChange","right")}}})],1):e._e()],2)],1),e._v(" "),i("div",{staticClass:"t-section__ft"},[e.showTransfer?i("el-button",{staticClass:"head-handle-button",attrs:{type:"primary",icon:"wk wk-transfer"},nativeOn:{click:function(t){e.handleTypeClick("transfer")}}},[e._v("转移")]):e._e(),e._v(" "),e.showEdit?i("el-button",{staticClass:"head-handle-button xr-btn--green",attrs:{icon:"wk wk-circle-edit",type:"primary"},nativeOn:{click:function(t){e.handleTypeClick("edit")}}},[e._v("编辑")]):e._e(),e._v(" "),e.showGet?i("el-button",{staticClass:"head-handle-button",attrs:{icon:"wk wk-receive",type:"primary"},nativeOn:{click:function(t){e.handleTypeClick("get")}}},[e._v("领取")]):e._e(),e._v(" "),e.showAlloc?i("el-button",{staticClass:"head-handle-button xr-btn--green",attrs:{type:"primary",icon:"wk wk-alloc"},nativeOn:{click:function(t){e.handleTypeClick("alloc")}}},[e._v("分配")]):e._e(),e._v(" "),e.showDealStatus?i("el-button",{staticClass:"head-handle-button",attrs:{type:"primary",icon:"wk wk-success"},nativeOn:{click:function(t){e.handleTypeClick("deal_status")}}},[e._v("更改成交状态")]):e._e(),e._v(" "),e.permissionMoreTypes&&e.permissionMoreTypes.length>0?i("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleTypeClick}},[i("el-button",{staticClass:"t-more",attrs:{icon:"el-icon-more"}}),e._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.permissionMoreTypes,function(t,a){return i("el-dropdown-item",{key:a,attrs:{icon:e._f("wkIconPre")(t.icon),command:t.type}},[e._v(e._s(t.name))])}))],1):e._e()],1)]),e._v(" "),i("flexbox",{staticClass:"h-section",attrs:{align:"stretch"}},e._l(e.headDetails,function(t,a){return i("flexbox-item",{directives:[{name:"show",rawName:"v-show",value:t.title,expression:"item.title"}],key:a,staticClass:"h-item",attrs:{span:"200"}},[i("div",{staticClass:"h-title"},[e._v(e._s(t.title))]),e._v(" "),i("div",{staticClass:"h-value text-one-line"},[t.showIcon?i("i",{class:t.icon,style:t.style}):e._e(),e._v(e._s(t.value))])])})),e._v(" "),e._t("default"),e._v(" "),i("transfer-handle",{attrs:{"crm-type":e.crmType,"selection-list":[e.detail],"dialog-visible":e.transferDialogShow},on:{"update:dialogVisible":function(t){e.transferDialogShow=t},handle:e.handleCallBack}}),e._v(" "),i("alloc-handle",{attrs:{"crm-type":e.crmType,pool_id:e.pool_id,"selection-list":[e.detail],"dialog-visible":e.allocDialogShow},on:{"update:dialogVisible":function(t){e.allocDialogShow=t},handle:e.handleCallBack}}),e._v(" "),i("deal-status-handle",{attrs:{value:e.detail.dealStatus,"crm-type":e.crmType,"selection-list":[e.detail],visible:e.dealStatusShow},on:{"update:visible":function(t){e.dealStatusShow=t},handle:e.handleCallBack}}),e._v(" "),i("put-pool-handle",{attrs:{visible:e.putPoolShow,"selection-list":[e.detail]},on:{"update:visible":function(t){e.putPoolShow=t},handle:e.handleCallBack}})],2)},[],!1,null,"6c6ffbbf",null);R.options.__file="CRMDetailHead.vue";t.a=R.exports},riSQ:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyID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PBp4hctomJ2bbOwtKS6Y/6PFV5w9fpYOku6JiwVHZwx7idvP2bE+ykU9mnvN7DJDzbEI6KihxRyBr3BXdV6VPbn4celK8hpNxE2ge5Y/7Eletk0s8jUdxUasJlu4oPS5OsNxmq7V+2X3wqqr9V04AaUANqQA2oATWgBtSAGvB/BDgSYb6kAHZHGHCfAHYi/AfuqJkwdQrgcXo7fS/9YgTALo6zCNPxvwUYAD/KxtakgdJgAAAAAElFTkSuQmCC"},t4Dm:function(e,t,i){e.exports=i.p+"static/img/nearby.2d86e3c.png"},u2hk:function(e,t,i){"use strict";var a=i("7Qib"),s={name:"FileListView",filters:{fontSizeValue:function(e){return Object(a.h)(e)}},props:{list:{type:Array,required:!0}},data:function(){return{}},methods:{getFileTypeIcon:function(e){if(!e)return"";var t=e?e.split("."):[],i="";return i=t.length>0?t[t.length-1]:"",Object(a.n)(i)},downloadClick:function(e){Object(a.d)({path:e.filePath||e.url,name:e.name,save_name:e.save_name})},previewClick:function(e,t){this.$bus.emit("preview-image-bus",{index:t,data:this.list.map(function(e){return{url:e.filePath||e.url||e.file_path,name:e.name,save_name:e.save_name}})})}}},n=(i("2q0V"),i("KHd+")),l=Object(n.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"file-list-view"},e._l(e.list,function(t,a){return i("div",{key:a,staticClass:"file-item"},[i("img",{staticClass:"pic-icon",attrs:{src:e.getFileTypeIcon(t.name),alt:""}}),e._v(" "),i("div",{staticClass:"file-name text-one-line"},[e._v(e._s(t.name))]),e._v(" "),i("div",{staticClass:"file-size"},[e._v("( "+e._s(e._f("fontSizeValue")(t.size))+" )")]),e._v(" "),i("div",{staticClass:"down"},[i("span",{on:{click:function(i){e.previewClick(t,a)}}},[e._v("预览")]),e._v(" "),i("span",{on:{click:function(i){e.downloadClick(t)}}},[e._v("下载")])])])}))},[],!1,null,"4bc64cbe",null);l.options.__file="FileListView.vue";t.a=l.exports},w4ZA:function(e,t,i){"use strict";var a=i("YEIV"),s=i.n(a),n=i("m1cH"),l=i.n(n),o=i("QbLZ"),c=i.n(o),r=i("4XAY"),d=i("8GhS"),u=i("iWcH"),h=i("84Wq"),m=i("ZoMv"),p=i("h59h"),b=i("Vm8M"),v=i("u2hk"),A=i("dAOq"),f=i("jHPx"),g=i("7Qib"),y=i("a/5N"),w=i("L2JU"),k=i("m77o"),I=i("IEYw"),j={name:"CRMEditBaseInfo",components:{Sections:p.a,MapView:b.a,FileListView:v.a,XhUserCell:d.p,XhStructureCell:d.n,XhFiles:d.f,CrmRelativeCell:d.a,XhProuctCate:d.j,XhBusinessStatus:d.b,XhReceivablesPlan:d.k,CRMFullScreenDetail:function(){return Promise.all([i.e("chunk-3146"),i.e("chunk-1bca"),i.e("chunk-2a3e"),i.e("chunk-21d9"),i.e("chunk-78d3")]).then(i.bind(null,"3z7q"))},WkFieldView:u.default,WkField:h.a},filters:{},mixins:[A.a,I.a],props:{id:[String,Number],pool_id:[String,Number],isSeas:{type:Boolean,default:!1},detail:{type:Object,default:function(){return{}}},crmType:{type:String,default:""},filedList:Array,otherList:Array,ignoreFields:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1,list:[],showMapView:!1,mapViewInfo:{},showFullDetail:!1,fullDetailId:"",fullDetailType:"",showSaveButton:!1,editRules:{},editForm:{},allForm:{},currentEditRules:{},editOptions:{},editFieldData:[],invoiceTypeOptions:[{name:"增值税专用发票",value:1},{name:"增值税普通发票",value:2},{name:"国税通用机打发票",value:3},{name:"地税通用机打发票",value:4},{name:"收据",value:5}]}},inject:["rootTabs"],computed:c()({},Object(w.b)(["crm"])),watch:{id:function(e){this.filedList||this.getBaseInfo(!0)},filedList:function(){this.list=this.filedList},"rootTabs.currentName":function(e){"CRMEditBaseInfo"===e&&this.getBaseInfo(!1)}},created:function(){var e=this;this.$bus.on("crm-detail-update",function(t){e.getBaseInfo(!1)})},beforeDestroy:function(){this.$bus.off("crm-detail-update")},mounted:function(){this.filedList?this.list=this.filedList:this.getBaseInfo(!0)},methods:{getBaseInfo:function(e){var t=this;if(this.loading=!!e,"marketing"===this.crmType);else{var i={id:this.id,types:m.a[this.crmType],action_id:this.id,module:"crm",controller:this.crmType,action:"read",system:1};this.pool_id&&(i.pool_id=this.pool_id),Object(r.y)(i).then(function(e){var i=[],a=[],s=[],n={};e.data.forEach(function(e){"floatnumber"===e.form_type?e.value=Object(f.h)(e.value):"date"===e.form_type&&(e.value=Object(g.r)(e.value)),1==e.system?a.push(e):"product"!==e.form_type&&i.push(e)});var o=t.getFormAssistIds([i]);i.forEach(function(e){t.getFormItemDefaultProperty(e,!1),e.show=!o.includes(e.formAssistId),t.ignoreFields.includes(e.field)&&delete e.optionsData;var i=t.getItemIsCanEdit(e,"update"),a=Object(g.t)(e);e.show&&i&&(n[e.field]=t.getRules(a)),e.disabled=!i,t.getItemRadio(e,e),"detail_table"===e.form_type?(Object(y.b)(e.value)||(e.value=t.getItemValue(e,null,"update")),t.allForm[e.field]=e.value||null):t.allForm[e.field]=t.getItemValue(a,null,"update"),s.push(e)}),t.editFieldData=s,t.editRules=n,t.otherList?t.list=[{name:"基本信息",list:i}].concat(l()(t.otherList),[{name:"系统信息",list:a}]):t.list=[{name:"基本信息",list:i},{name:"系统信息",list:a}],t.editCancel(),t.loading=!1}).catch(function(){t.loading=!1})}},formChange:function(e,t,i,a){if(["select","checkbox"].includes(e.form_type)&&"options_type"===e.remark&&e.optionsData){var s=this.getFormContentByOptionsChange([this.editFieldData],c()({},this.allForm,this.editForm),this.editRules,null,"update"),n=s.fieldForm,l=s.fieldRules,o={},r={};this.editFieldData.forEach(function(e){e.show&&e.isEdit&&(o[e.field]=n[e.field],r[e.field]=l[e.field]),!e.show&&e.isEdit&&(e.isEdit=!1)}),this.editForm=o,this.currentEditRules=r}},checkMapView:function(e){e.value&&""!==e.value&&(this.mapViewInfo={title:e.value.location,lat:e.value.lat,lng:e.value.lng},this.showMapView=!0)},getArrayKey:function(e){return"structure"===e?"name":"user"===e?"realname":""},arrayValue:function(e,t){return e&&"[object Array]"===Object.prototype.toString.call(e)?e.map(function(e){return t?e[t]:e}).join(","):""},isModule:function(e){return["customer","business","contract","contacts"].includes(e.form_type)},isSpecialField:function(e){return["category","statusName","typeName"].includes(e.form_type)},isBlockShowField:function(e){return["map_address","file","detail_table"].includes(e.form_type)},getShowBlock:function(e){return["map_address","file"].includes(e)},getModuleName:function(e){var t={customer:"name",business:"name",contract:"num",contacts:"name",category:"name",statusName:"name",typeName:"name"}[e.form_type];return e.value?0==e.value.length?"":e.value[0][t]||e.value:""},getFieldOption:function(e){var t=this.editOptions[e.field],i=[];return t&&("select"===e.form_type||"checkbox"===e.form_type?i=t.setting.length>0&&"string"==typeof t.setting[0]?t.setting.map(function(e){return{name:e,value:e}}):t.setting:"business_status"===e.form_type&&(i=t.setting.map(function(e){return e.value=e.statusId,e}))),i},getCommonShowValue:function(e){if(this.isModule(e))return this.getModuleName(e);if("invoice_type"===e.props.fieldName){var t=this.invoiceTypeOptions.find(function(t){return t.value==e.value});return t?t.name:""}return Object(k.a)(e.form_type,e.value,"",e)},checkModuleDetail:function(e){var t=e.value;if(this.isModule(e)){var i="";Object(y.c)(t)?i=t[e.form_type+"_id"]:Object(y.a)(t)&&t.length>0&&(i=t[0][e.form_type+"_id"]),i&&(this.fullDetailType=e.form_type,this.fullDetailId=i,this.showFullDetail=!0)}},getEditAuth:function(e){return!this.isSeas&&(("business"!=this.crmType||!["business_type","business_status"].includes(e.form_type))&&(("contract"!=this.crmType||!["business","contacts","customer"].includes(e.form_type))&&(("receivables"!=this.crmType||!["contract","customer"].includes(e.form_type))&&(("visit"!=this.crmType||!["business","contacts","customer"].includes(e.form_type))&&(1===e.writeStatus&&this.crm&&this.crm[this.crmType]&&this.crm[this.crmType].update)))))},editClick:function(e){var t=Object(g.t)(this.allForm[e.fieldName]);"detail_table"===e.form_type&&Object(y.b)(t)&&(t=this.getItemValue(Object(g.t)(e),null,"update")),this.$set(this.editForm,e.fieldName,t),this.$set(e,"isEdit",!0),this.$set(this.editOptions,e.fieldName,e),this.$set(this.currentEditRules,e.fieldName,this.editRules[e.fieldName]||[]),this.showSaveButton=!0},editCancel:function(){var e=this;this.$refs.editForm0[0].clearValidate&&this.$refs.editForm0[0].clearValidate(),this.$nextTick(function(){e.editFieldData.forEach(function(e){e.isEdit=!1}),e.editForm={},e.editOptions={},e.showSaveButton=!1})},editConfirm:function(){var e=this;this.$refs.editForm0[0].validate(function(t){t&&e.submiteInfo()})},submiteInfo:function(){var e=this;this.loading=!0;for(var t=[],i=0;i<this.editFieldData.length;i++){var a=this.editFieldData[i];"desc_text"===a.form_type||!a.isEdit&&a.show||t.push({fieldName:a.fieldName,field:a.field,field_type:a.field_type,name:a.name,type:a.type,field_id:a.field_id,value:a.show?this.getRealParams(a,this.editForm[a.fieldName]):null})}Object(r.B)({types:"crm_"+this.crmType,action_id:this.id,list:t.map(function(e){return s()({},e.field,e.value)})}).then(function(t){e.loading=!1,e.editCancel(),e.$emit("handle",{type:"save-success"})}).catch(function(){e.loading=!1})},arrayValueChange:function(e,t){this.editForm[t.field]=e.value||[]},getShowValue:function(e){return!e.hasOwnProperty("show")||e.show},getSelectShowValue:function(e){var t=e.props,i=e.value;if(null!==i){var a=t.setting.find(function(e){return e.value===i});return a?a.name:""}return""}}},R=(i("oFcz"),i("KHd+")),N=Object(R.a)(j,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"b-cont"},[e.showSaveButton?i("div",{staticClass:"b-cont__handle"},[i("el-button",{nativeOn:{click:function(t){return e.editCancel(t)}}},[e._v("取消")]),e._v(" "),i("el-button",{directives:[{name:"debounce",rawName:"v-debounce",value:e.editConfirm,expression:"editConfirm"}],attrs:{type:"primary"}},[e._v("保存")])],1):e._e(),e._v(" "),e._l(e.list,function(t,a){return i("sections",{key:a,staticClass:"b-cells",attrs:{title:t.name,"content-height":"auto"}},[i("el-form",{ref:"editForm"+a,refInFor:!0,staticClass:"el-form--flex",attrs:{model:e.editForm,rules:e.currentEditRules,"label-position":"left","label-width":"100px"}},e._l(t.list,function(t,a){return e.getShowValue(t)?i("el-form-item",{key:a,class:[{"is-block":e.isBlockShowField(t)},,"is-"+t.form_type],attrs:{prop:t.field}},[i("span",{attrs:{slot:"label"},slot:"label"},[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),t.isEdit?[i("wk-field",{attrs:{item:t,index:a,"field-from":e.editForm,"ignore-fields":e.ignoreFields},on:{change:e.formChange},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.data;return t.index,["business_status"===a.form_type?i("el-select",{staticStyle:{width:"100%"},attrs:{clearable:""},model:{value:e.editForm[a.fieldName],callback:function(t){e.$set(e.editForm,a.fieldName,t)},expression:"editForm[data.fieldName]"}},e._l(e.getFieldOption(a),function(e,t){return i("el-option",{key:t,attrs:{label:e.name,value:e.value}})})):e._e(),e._v(" "),"status"==a.fieldName?i("el-select",{staticStyle:{width:"100%"},model:{value:e.editForm[a.fieldName],callback:function(t){e.$set(e.editForm,a.fieldName,t)},expression:"editForm[data.fieldName]"}},e._l(a.setting,function(e){return i("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})):"contacts"===a.form_type||"customer"===a.form_type||"contract"===a.form_type||"business"===a.form_type?i("crm-relative-cell",{attrs:{"relative-type":a.form_type,value:e.editForm[a.fieldName]},on:{"value-change":function(t){e.arrayValueChange(t,a)}}}):"category"===a.form_type?i("xh-prouct-cate",{attrs:{value:e.editForm[a.fieldName]},on:{"value-change":function(t){e.arrayValueChange(t,a)}}}):e._e(),e._v(" "),"invoice_type"==a.fieldName?i("el-select",{staticStyle:{width:"100%"},model:{value:e.editForm[a.fieldName],callback:function(t){e.$set(e.editForm,a.fieldName,t)},expression:"editForm[data.fieldName]"}},e._l(e.invoiceTypeOptions,function(e){return i("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})):e._e()]}}])})]:["map_address"===t.form_type?i("div",{attrs:{gutter:0,wrap:"wrap"}},[i("div",{staticClass:"b-cell",attrs:{span:.5},on:{click:function(i){e.checkMapView(t)}}},[i("flexbox",{staticClass:"b-cell-b"},[i("div",{staticClass:"b-cell-name"},[e._v("定位")]),e._v(" "),i("div",{staticClass:"b-cell-value",staticStyle:{color:"#3E84E9",cursor:"pointer"}},[e._v(e._s(t.value.location))])])],1),e._v(" "),i("div",{staticClass:"b-cell",attrs:{span:.5}},[i("flexbox",{staticClass:"b-cell-b"},[i("div",{staticClass:"b-cell-name"},[e._v("区域")]),e._v(" "),i("div",{staticClass:"b-cell-value"},[e._v(e._s(t.value.address.join()))])])],1),e._v(" "),i("div",{staticClass:"b-cell",attrs:{span:.5}},[i("flexbox",{staticClass:"b-cell-b"},[i("div",{staticClass:"b-cell-name"},[e._v("详细地址")]),e._v(" "),i("div",{staticClass:"b-cell-value"},[e._v(e._s(t.value.detail_address))])])],1)]):i("flexbox",{staticClass:"form-item__value",class:{"can-check":e.isModule(t)},staticStyle:{width:"100%"},attrs:{align:"stretch"}},[i("wk-field-view",{attrs:{props:t,form_type:t.form_type,value:t.value,"ignore-fields":e.ignoreFields},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.data;return["business_type"===a.form_type?i("span",[e._v(e._s(e.detail?e.detail.typeName:""))]):"business_status"===a.form_type?i("span",[e._v(e._s(e.detail?e.detail.statusName:""))]):"category"===a.form_type?i("span",[e._v(e._s(e.detail?e.detail.categoryName:""))]):"receivables_plan"===a.form_type?i("span",[e._v(e._s(e.detail?e.detail.planNum:""))]):e.ignoreFields.includes(a.props.field)&&"status"===a.props.field?i("span",[e._v(e._s(e.getSelectShowValue(a)))]):i("span",{on:{click:function(t){e.checkModuleDetail(a)}}},[e._v(e._s(e.getCommonShowValue(a)))])]}}])}),e._v(" "),e.getEditAuth(t)?i("i",{staticClass:"wk wk-edit form-item__edit",on:{click:function(i){i.stopPropagation(),e.editClick(t,a)}}}):e._e()],1)]],2):e._e()}))],1)}),e._v(" "),e._t("default"),e._v(" "),e.showMapView?i("map-view",{attrs:{title:e.mapViewInfo.title,lat:e.mapViewInfo.lat,lng:e.mapViewInfo.lng},on:{hidden:function(t){e.showMapView=!1}}}):e._e(),e._v(" "),i("c-r-m-full-screen-detail",{attrs:{visible:e.showFullDetail,id:e.fullDetailId,"crm-type":e.fullDetailType},on:{"update:visible":function(t){e.showFullDetail=t}}})],2)},[],!1,null,"794e1153",null);N.options.__file="CRMEditBaseInfo.vue";t.a=N.exports},wHwM:function(e,t,i){},wbJn:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0RkJENTRDN0RB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KqbRJV7BpC6sYTsS+Zpa5h3lTVIe5aZqswX9Xg4WifzCNZ2840nl1pdKjPNzGcCGsWBdw/APHrYHijvF0nCO8l6G+lhkGqOvj3FzDMs5aLFwOoGYds+4K1tLWeeC6ihdThf2o3Qesd1q8BndtYyQbm0y5cTLIEPSvTtvEN2BoNI0fSZMBzi4A72Z4wWO+rQyb8r4AXSzhqiITeh+kzQM4twiEr/1E/Gvh4xvdwJM+DU7Hn92vsa56Q9LVRT9+5kXhVh7A7AK3bg227mA4G1Iw9pYXdNGDexi8dRZ+TTCae3dHeUlxmxqDe9HcOmv3Mdy9rNrDRWPTq9M69p5aPQ5zAs7MLU2Q501QoYVta2TU7eT+f/OSipdTuecLt1WYCQFXXPTL9+Iu+phc1JXlos61wP4WZo0aFC5aDC7bRRuyjOZTHBh+xX/v6sWRQBN02wjrCrjby3D+mILR15Ry+e8jmu8hctGGPBe9cieF4Vju2W7qV5/3a+aswciZ8lw0FGCYnkXO/vEAtW6MmdRkyo1zRxSS/GRhPGDL9qV6+5vhrwe6TiuZsSpuPnydyYpeqUPdKlq9xrRd4lPIiRspY1fQY+CnB4+LGZ+inBu3K6hmrIoBB0f06xdLhRhDjGV4DdreRSWgBJSAElACSkAJaA3AuI35FgVg1MaAjwRghDRvQzjBFBGAE6Qg6SEpYQOwxDKLYJr4JcAAgnO65/3FDNAAAAAASUVORK5CYII="},xVOl:function(e,t,i){"use strict";var a=i("wHwM");i.n(a).a},yIOY:function(e,t,i){},ymSI:function(e,t,i){},zJJs:function(e,t,i){"use strict";var a=i("yIOY");i.n(a).a}}]); |