(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f7ae"],{"2f65":function(e,t,i){},"7mY3":function(e,t,i){"use strict";var A=i("2f65");i.n(A).a},"97O7":function(e,t,i){},"9GgJ":function(e,t,i){"use strict";var A={name:"XrHeader",components:{},props:{iconClass:[String,Array],iconColor:String,label:String,showSearch:{type:Boolean,default:!1},searchIconType:{type:String,default:"text"},placeholder:{type:String,default:"请输入内容"},ftTop:{type:String,default:"15px"},content:[String,Number],inputAttr:{type:Object,default:function(){}}},data:function(){return{search:""}},computed:{},watch:{content:{handler:function(){this.search!=this.content&&(this.search=this.content)},immediate:!0}},mounted:function(){},beforeDestroy:function(){},methods:{inputChange:function(){this.$emit("update:content",this.search)},searchClick:function(){this.$emit("search",this.search)}}},l=(i("7mY3"),i("KHd+")),n=Object(l.a)(A,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("flexbox",{staticClass:"xr-header"},[e.iconClass?i("div",{staticClass:"xr-header__icon",style:{backgroundColor:e.iconColor}},[i("i",{class:e.iconClass})]):e._e(),e._v(" "),i("div",{staticClass:"xr-header__label"},[e.$slots.label?e._t("label"):[e._v(e._s(e.label))]],2),e._v(" "),e.showSearch?i("el-input",e._b({staticClass:"xr-header__search",class:{"is-text":"text"===e.searchIconType},style:{"margin-top":e.ftTop},attrs:{placeholder:e.placeholder},on:{input:e.inputChange},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchClick(t):null}},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},"el-input",e.inputAttr,!1),["text"===e.searchIconType?i("el-button",{attrs:{slot:"append",type:"primary"},nativeOn:{click:function(t){return e.searchClick(t)}},slot:"append"},[e._v("搜索")]):i("el-button",{attrs:{slot:"append",icon:"el-icon-search"},nativeOn:{click:function(t){return e.searchClick(t)}},slot:"append"})],1):e._e(),e._v(" "),i("div",{staticClass:"xr-header__ft",style:{top:e.ftTop}},[e._t("ft")],2)],1)},[],!1,null,"acb6d756",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lml7nUk5NK+XKW+PgWQIPKfBHLnuvP/rAbKZRlz7IjGsbm3R1bP3g+A7SsEnoyNtwjEtDFhfB+Kb3n4Lu+pLhw3QBa+r4SHx62psvuAk/XiWxE5PIrnsi6WVXa/lu30SVtuXqlt8zRAxqAMy0blu/N/KJduK101LqHFd03X62RdLItlli/QOlziJsOc9d0eJ3cfwCGjJMiXWfL8i935O2VQr1yiy5mOfJGIZbHM1JFaB+tyblqMV9+QizwGMGOirtMGDQ/NO/MPULEY+GZdx76uimWy7MwrtK6KZ7Rup2+D+jwBkFFF4eu6GRqsvxuAjx8CqrYA42eG93WXWPatr2ldVVu1brYhnC9cRNSjAAsW665wsAK/a/x68FvgygeA6c+7fd0+qsdpXayTdXMjgm1x+dj2Xgfo2q87/L00/B6g/jdg2nPApPk9H2OxTtbNrX22xfVQytX2Hl8HZuRpYxMG6f9Hfwa2vaBrQS5TOtqi7wnVfA1sflzXgAUlbWtFdu1da/Uu9WQkwgjhjve8EfG/f5dGPFGQ954LMz6u/qxl3Gr9biUUTB6h8TJ3oj0kbwH86xeZOR/UDVSXvlqt+4SDs3y2ndVZbVsSHh7VeFg9HpJ3AHJQ78yWPT2utZ3vAbZ/26A7vb7qwn1QBtAAGkADaABNBtBCuYQUfULXWa8BDFL8QGDCndaF26KF4965yii2JXoA62v0AXpv62i17oz3yUnk02eBk4Heg8e6K6QNiN7bK9H/nQgfZPMnCsmZPQsvIHfd/k36Dk4U5b0f2tgkYgBNBtAAGkADaDKABtAAGkCTATSABtAAmjoEGDAMEauRACuNQ8SqIMASSXXG4pxFZiUEeEDSZEkbJTUYl7OqoYUVmR34V4ABAF/sbYX6T/lVAAAAAElFTkSuQmCC"},CZoS:function(e,t,i){"use strict";var A=i("mzN/");i.n(A).a},JAjk:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpV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Xs92MqMe5IIMB8gBcoAcIAfIATIP0MRivnkSUMliQAUJWINmYCEcyVRDAqrR5GjtaGYWgJkXWUgm9S8BBgDNKvPAuGUeNQAAAABJRU5ErkJggg=="},N10N:function(e,t,i){"use strict";i.r(t);var A=i("6iAj"),l=i("p2mV"),n=i("9GgJ"),c={name:"CustomField",components:{PreviewFieldView:l.a,XrHeader:n.a},data:function(){return{loading:!1,tableHeight:document.documentElement.clientHeight-140,tableList:[],tablePreviewData:{types:"",typesId:""},showTablePreview:!1}},created:function(){window.onresize=function(){self.tableHeight=document.documentElement.clientHeight-140},this.getDetail()},methods:{getDetail:function(){var e=this;this.loading=!0,Object(A.t)().then(function(t){e.tableList=t.data,e.loading=!1}).catch(function(){e.loading=!1})},handleCustomField:function(e,t,i){"edit"==e?this.$router.push({name:"handlefield",params:{type:t.types,id:"none",label:{crm_leads:1,crm_customer:2,crm_contacts:3,crm_product:4,crm_business:5,crm_contract:6,crm_receivables:7,crm_visit:17}[t.types]}}):"preview"==e&&(this.tablePreviewData=t,this.showTablePreview=!0)},getCustomFieldIcon:function(e){return i("crm_leads"===e?"keIY":"crm_customer"===e?"wfwE":"crm_contacts"===e?"JAjk":"crm_business"===e?"dTTw":"crm_contract"===e?"U4MQ":"crm_product"===e?"wbJn":"crm_receivables"===e?"bok9":"crm_visit"===e?"9cPJ":"wbJn")}}},a=(i("o9VS"),i("KHd+")),s=Object(a.a)(c,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"system-customer"},[i("xr-header",{attrs:{"icon-class":"wk wk-double-gear","icon-color":"#1CBAF5",label:"自定义字段设置"}}),e._v(" "),i("div",{staticClass:"customer-content"},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableList,height:e.tableHeight,"highlight-current-row":""}},[i("el-table-column",{attrs:{prop:"name",label:"模块","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[i("img",{staticClass:"table-item-icon",attrs:{src:e.getCustomFieldIcon(t.row.types)}}),e._v(" "),i("span",{staticClass:"table-item-label"},[e._v(e._s(t.row.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"update_time",label:"更新时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"table-item-time"},[e._v(e._s(0==t.row.update_time?"暂无":t.row.update_time))])]}}])}),e._v(" "),i("el-table-column",{attrs:{fixed:"right",label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){e.handleCustomField("edit",t.row,t.$index)}}},[e._v("编辑")]),e._v(" "),i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){e.handleCustomField("preview",t.row,t.$index)}}},[e._v("预览")])]}}])})],1)],1),e._v(" "),e.showTablePreview?i("preview-field-view",{attrs:{types:e.tablePreviewData.types,"types-id":e.tablePreviewData.typesId,label:e.tablePreviewData.label},on:{"hiden-view":function(t){e.showTablePreview=!1}}}):e._e()],1)},[],!1,null,"1e8d0dbc",null);s.options.__file="index.vue";t.default=s.exports},U4MQ:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1ze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0"),n=i("6iAj"),c=i("8GhS"),a={name:"PreviewFieldView",components:{CreateView:A.a,CreateSections:l.a,XhInput:c.g,XhTextarea:c.o,XhSelect:c.l,XhMultipleSelect:c.h,XhDate:c.d,XhDateTime:c.e,XhUserCell:c.p,XhStructureCell:c.n,XhFiles:c.f,CrmRelativeCell:c.a,XhProuctCate:c.j,XhProduct:c.i,XhBusinessStatus:c.b,XhCustomerAddress:c.c,XhReceivablesPlan:c.k},filters:{typeToComponentName:function(e){return"text"==e||"number"==e||"floatnumber"==e||"mobile"==e||"email"==e?"XhInput":"textarea"==e?"XhTextarea":"select"==e||"business_status"==e?"XhSelect":"checkbox"==e?"XhMultipleSelect":"date"==e?"XhDate":"datetime"==e?"XhDateTime":"user"==e||"single_user"==e?"XhUserCell":"structure"==e?"XhStructureCell":"file"==e||"pic"==e?"XhFiles":"contacts"==e||"customer"==e||"contract"==e||"business"==e?"CrmRelativeCell":"category"==e?"XhProuctCate":"business_type"==e?"XhBusinessStatus":"product"==e?"XhProduct":"map_address"==e?"XhCustomerAddress":"receivables_plan"==e?"XhReceivablesPlan":void 0}},props:{types:{type:String,default:""},typesId:{type:[String,Number],default:""},label:{type:[String,Number],default:""}},data:function(){return{title:"预览",loading:!1,crmForm:{crmFields:[]}}},computed:{},watch:{types:function(e){this.crmForm={crmFields:[]},this.getField()}},mounted:function(){document.body.appendChild(this.$el),this.getField()},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{getField:function(){var e=this;this.loading=!0;var t=n.u,i={};i.types=this.types,"oa_examine"===this.types&&(t=n.v,i.types_id=this.typesId),t(i).then(function(t){e.getcrmRulesAndModel(t.data),e.loading=!1}).catch(function(){e.loading=!1})},getcrmRulesAndModel:function(e){for(var t=0;t