You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
44 KiB
1 line
44 KiB
4 years ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-34a4"],{"0dur":function(e,t,a){"use strict";var i=a("zhwh"),n=a("Ew9n"),s=a("raay"),l=a("w4ZA"),c=a("3gPr"),o=a("CjUg"),r=a("8OTK"),d=a("h59h"),u=a("f6dm"),m={name:"VisitDetail",components:{SlideView:n.a,CRMDetailHead:s.a,CRMEditBaseInfo:l.a,RelativeFiles:c.a,RelativeHandle:o.a,CRMAllCreate:r.default,Sections:d.a},mixins:[u.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:"visit",headDetails:[{title:"客户名称",value:""},{title:"回访时间",value:""},{title:"回访人",value:""},{title:"回访形式",value:""}],tabCurrentName:"CRMEditBaseInfo",isCreate:!1}},computed:{tabNames:function(){return[{label:"详细资料",name:"CRMEditBaseInfo"},{label:this.getTabName("附件",this.tabsNumber.fileCount),name:"RelativeFiles"},{label:"操作记录",name:"RelativeHandle"}]}},mounted:function(){},methods:{getDetial:function(){var e=this;this.loading=!0,Object(i.d)({id:this.id}).then(function(t){e.loading=!1,e.detailData=t.data,e.headDetails[0].value=t.data.customer_name,e.headDetails[1].value=t.data.visit_time,e.headDetails[2].value=t.data.owner_user_name,e.headDetails[3].value=t.data.shape}).catch(function(){e.loading=!1,e.hideView()})},hideView:function(){this.$emit("hide-view")},editSaveSuccess:function(){this.$emit("handle",{type:"save-success"}),this.getDetial()},previewImage:function(e,t){this.$bus.emit("preview-image-bus",{index:t,data:e})}}},h=(a("tPTb"),a("KHd+")),v=Object(h.a)(m,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("slide-view",{directives:[{name:"empty",rawName:"v-empty",value:!e.canShowDetail,expression:"!canShowDetail"}],attrs:{"listener-ids":e.listenerIDs,"no-listener-ids":e.noListenerIDs,"no-listener-class":e.noListenerClass,"body-style":{padding:0,height:"100%"},"xs-empty-icon":"nopermission","xs-empty-text":"暂无权限"},on:{afterEnter:e.viewAfterEnter,close:e.hideView}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"crmDetailMain",staticClass:"detail-main"},[e.canShowDetail&&e.detailData?a("flexbox",{staticClass:"d-container",attrs:{direction:"column",align:"stretch"}},[a("c-r-m-detail-head",{attrs:{detail:e.detailData,"head-details":e.headDetails,id:e.id,"crm-type":e.crmType},on:{handle:e.detailHeadHandle,close:e.hideView}}),e._v(" "),a("flexbox",{staticClass:"d-container-bd",attrs:{align:"stretch"}},[a("el-tabs",{staticClass:"d-container-bd--left",attrs:{type:"border-card"},model:{value:e.tabCurrentName,callback:function(t){e.tabCurrentName=t},expression:"tabCurrentName"}},e._l(e.tabNames,function(t,i){return a("el-tab-pane",{key:i,attrs:{label:t.label,name:t.name,lazy:""}},[a(t.name,{tag:"component",attrs:{detail:e.detailData,id:e.id,"crm-type":e.crmType}})],1)}))],1)],1):e._e()],1),e._v(" "),e.isCreate?a("c-r-m-all-create",{attrs:{action:{type:"update",id:e.id,batchId:e.detailData.batchId,editDetail:e.detailData},"crm-type":e.crmType},on:{"save-success":e.editSaveSuccess,close:function(t){e.isCreate=!1}}}):e._e()],1)},[],!1,null,"1000b537",null);v.options.__file="Detail.vue";t.a=v.exports},"0obv":function(e,t,a){"use strict";var i=a("GTvT");a.n(i).a},"2/Ty":function(e,t,a){},"3ojK":function(e,t,a){"use strict";var i=a("c2Co"),n=a("4XAY"),s=a("Ew9n"),l=a("raay"),c=a("eOwn"),o=a("BzA1"),r=a("w4ZA"),d=a("3gPr"),u=a("CjUg"),m=a("8OTK"),h=a("f6dm"),v={name:"LeadsDetail",components:{SlideView:s.a,CRMDetailHead:l.a,Activity:c.a,CRMEditBaseInfo:r.a,RelativeFiles:d.a,RelativeHandle:u.a,ImportInfo:o.a,CRMAllCreate:m.default},mixins:[h.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:
|