(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-551d"],{"17Mw":function(t,e,s){"use strict";var i=s("pxSB");s.n(i).a},"2f65":function(t,e,s){},"7mY3":function(t,e,s){"use strict";var i=s("2f65");s.n(i).a},"9GgJ":function(t,e,s){"use strict";var i={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)}}},n=(s("7mY3"),s("KHd+")),a=Object(n.a)(i,function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("flexbox",{staticClass:"xr-header"},[t.iconClass?s("div",{staticClass:"xr-header__icon",style:{backgroundColor:t.iconColor}},[s("i",{class:t.iconClass})]):t._e(),t._v(" "),s("div",{staticClass:"xr-header__label"},[t.$slots.label?t._t("label"):[t._v(t._s(t.label))]],2),t._v(" "),t.showSearch?s("el-input",t._b({staticClass:"xr-header__search",class:{"is-text":"text"===t.searchIconType},style:{"margin-top":t.ftTop},attrs:{placeholder:t.placeholder},on:{input:t.inputChange},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.searchClick(e):null}},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},"el-input",t.inputAttr,!1),["text"===t.searchIconType?s("el-button",{attrs:{slot:"append",type:"primary"},nativeOn:{click:function(e){return t.searchClick(e)}},slot:"append"},[t._v("搜索")]):s("el-button",{attrs:{slot:"append",icon:"el-icon-search"},nativeOn:{click:function(e){return t.searchClick(e)}},slot:"append"})],1):t._e(),t._v(" "),s("div",{staticClass:"xr-header__ft",style:{top:t.ftTop}},[t._t("ft")],2)],1)},[],!1,null,"acb6d756",null);a.options.__file="index.vue";e.a=a.exports},BE6L:function(t,e,s){"use strict";var i=s("ircL");s.n(i).a},Csel:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjU0OTlCOUZDRERCMjExRTg4MjVEQ0RGOThFMUY2OTEyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjU0OTlCOUZERERCMjExRTg4MjVEQ0RGOThFMUY2OTEyIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTQ5OUI5RkFEREIyMTFFODgyNURDREY5OEUxRjY5MTIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NTQ5OUI5RkJEREIyMTFFODgyNURDREY5OEUxRjY5MTIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5iPiS9AAAAY0lEQVR42mI8c+aMLQMDw0IgVmQgHdwH4jgmIDEHiNOBmJEMDNI3lxHokv9QAXLBfyYGKoBRQzABC7bQJkIfIyFDGEdjZxAZcguIXcjUD9J3CxTFKUC8CIgVyDDkARDHAgQYANTlEN4TaBTMAAAAAElFTkSuQmCC"},Ed7x:function(t,e,s){"use strict";var i=s("RMZg");s.n(i).a},K8OL:function(t,e,s){},KToL:function(t,e,s){"use strict";var i=s("eVJH");s.n(i).a},KWCB:function(t,e,s){"use strict";var i=s("n9M2");s.n(i).a},RMZg:function(t,e,s){},"UX/I":function(t,e,s){"use strict";var i=s("ve4p");s.n(i).a},WcnQ:function(t,e,s){"use strict";s.r(e);var i=s("6iAj"),n={name:"FollowLogTypeSet",components:{},data:function(){return{loading:!1,list:[]}},created:function(){this.getDetail()},methods:{getDetail:function(){var t=this;this.loading=!0,Object(i.r)().then(function(e){t.loading=!1,t.list=e.data.map(function(t){return{value:t}})}).catch(function(){t.loading=!1})},addItem:function(){this.list.push({value:""})},deleteItem:function(t,e){this.list.splice(e,1)},save:function(){for(var t=this,e=[],s=0;s0}).map(Number),this.settingList=t.settingList,this.settingList&&0!=this.settingList.length||(this.settingList=[{name:"",rate:""}])}},mounted:function(){var t=this;Object(c.j)().then(function(e){t.optionsDep=e.data})},methods:{businessClose:function(){this.$emit("businessClose")},businessSubmit:function(){var t=this;if(this.name)if(this.businessDep){for(var e=!0,s=0;s0?"-":"";if(n.value)if(1==n.type)e=e+""+a+n.value;else if(2==n.type){var l="";n.value&&(l={yyyy:"YYYY",yyyyMM:"YYYYMM",yyyyMMdd:"YYYYMMDD"}[n.value]),e=e+""+a+(l?O()().format(l):"")}else if(3==n.type){var o=n.value?n.value.length:0,c=parseInt(n.value||0),r=parseInt(n.increase_number||0);1==s&&(c+=r);var u=c.toString()||"";if(u.length!=o)for(var d=o-u.length,p=0;p2&&t.splice(e,1)},typeChange:function(t,e,s){3==t.type?this.$set(e,s,{type:t.type,value:"",increase_number:"",reset:4}):2==t.type?this.$set(e,s,{type:t.type,value:"yyyy"}):this.$set(e,s,{type:t.type,value:""})},save:function(){for(var t=this,e=!0,s=0;s2、若自动生成的编号与系统现有编号重复时,自动跳过此编号,依次往下生成
3、编号规则至少设置两级
4、文本类型的最多支持12个字符,数字类型编号起始编号位数1-9"}}),t._v(" "),t._l(t.list,function(e,i){return s("div",{key:i,staticClass:"rule-section"},[s("div",{staticClass:"rule-header"},[s("span",{staticClass:"rule-header-title"},[t._v(t._s(t._f("labelName")(e.number_type)))]),t._v(" "),s("el-switch",{attrs:{"active-value":1,"inactive-value":0},model:{value:e.status,callback:function(s){t.$set(e,"status",s)},expression:"listItem.status"}}),t._v(" "),s("span",{class:{inactive:1!=e.status}},[t._v(t._s(1==e.status?"已启用自动生成规则":"已停用自动生成规则"))])],1),t._v(" "),1==e.status?[s("flexbox",[s("div",{staticClass:"rule-body"},[s("div",{staticClass:"example"},[t._v("编号示例:"+t._s(t._f("exampleName")(e.setting)))]),t._v(" "),t._l(e.setting,function(i,n){return s("div",{key:"rule"+n,staticClass:"rule"},[s("span",[t._v(t._s(t._f("typeListName")(n)))]),t._v(" "),s("el-select",{staticClass:"rule-type",on:{change:function(s){t.typeChange(i,e.setting,n)}},model:{value:i.type,callback:function(e){t.$set(i,"type",e)},expression:"typeItem.type"}},t._l(t.typeOptions,function(t){return s("el-option",{key:"type"+t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),[1==i.type?s("el-input",{staticClass:"rule-input",attrs:{maxlength:12},model:{value:i.value,callback:function(e){t.$set(i,"value",e)},expression:"typeItem.value"}}):2==i.type?[s("el-select",{staticClass:"rule-select",model:{value:i.value,callback:function(e){t.$set(i,"value",e)},expression:"typeItem.value"}},t._l(t.timeOptions,function(t){return s("el-option",{key:"time"+t.value,attrs:{label:t.label,value:t.value}})}))]:3==i.type?[s("span",{staticClass:"rule-code-span"},[t._v("起始编号")]),t._v(" "),s("el-input",{staticClass:"rule-code-input",attrs:{maxlength:9,type:"number"},on:{input:function(t){i.value.length>9&&(i.value=i.value.slice(0,9))}},model:{value:i.value,callback:function(e){t.$set(i,"value",e)},expression:"typeItem.value"}}),t._v(" "),s("span",{staticClass:"rule-code-span"},[t._v("递增数")]),t._v(" "),s("el-input",{staticClass:"rule-code-input",attrs:{maxlength:9,type:"number"},on:{input:function(t){i.increase_number.length>9&&(i.increase_number=i.increase_number.slice(0,9))}},model:{value:i.increase_number,callback:function(e){t.$set(i,"increase_number",e)},expression:"typeItem.increase_number"}}),t._v(" "),s("span",{staticClass:"rule-code-span"},[t._v("重新开始编号")]),t._v(" "),s("el-select",{staticClass:"rule-code-input",model:{value:i.reset,callback:function(e){t.$set(i,"reset",e)},expression:"typeItem.reset"}},t._l(t.intervalOptions,function(t){return s("el-option",{key:"interval"+t.value,attrs:{label:t.label,value:t.value}})}))]:t._e()],t._v(" "),e.setting.length>2?s("i",{staticClass:"el-icon-remove",on:{click:function(s){t.deleteItem(e.setting,n)}}}):t._e()],2)}),t._v(" "),s("el-button",{attrs:{disabled:e.setting.length>=6,type:"text"},on:{click:function(s){t.addItem(e.setting)}}},[t._v("+添加一级")])],2)])]:t._e()],2)})],2)])},[],!1,null,"6eebf273",null));N.options.__file="SerialNumberSet.vue";var R={name:"BizParam",components:{BusinessGroupSet:v,ProductCategorySet:f,FollowLogTypeSet:o,ContractExpireSet:y,CustomerLimitSet:w,VisitRemindSet:E,SerialNumberSet:N.exports,XrHeader:s("9GgJ").a},data:function(){return{menuList:[{label:"跟进记录类型设置",key:"follow-log-type-set"},{label:"商机组设置",key:"business-group-set"},{label:"产品类别设置",key:"product-category-set"},{label:"合同到期提醒设置",key:"contract-expire-set"},{label:"拥有客户数限制",key:"own"},{label:"锁定客户数限制",key:"lock"},{label:"客户回访提醒设置",key:"VisitRemindSet"},{label:"编号规则设置",key:"SerialNumberSet"}],menuIndex:"follow-log-type-set",types:""}},computed:{componentName:function(){return"own"==this.menuIndex||"lock"==this.menuIndex?"customer-limit-set":this.menuIndex}},methods:{menuSelect:function(t){"own"!=t&&"lock"!=t||(this.types={own:1,lock:2}[t]),this.menuIndex=t}}},M=(s("rlov"),Object(a.a)(R,function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"system-customer"},[s("xr-header",{attrs:{"icon-class":"wk wk-s-seas","icon-color":"#487DFF",label:"业务参数设置"}}),t._v(" "),s("div",{staticClass:"customer-content"},[s("div",{staticClass:"system-view-nav"},t._l(t.menuList,function(e,i){return s("div",{key:i,staticClass:"menu-item",class:{"is-select":e.key==t.menuIndex},on:{click:function(s){t.menuSelect(e.key)}}},[t._v("\n "+t._s(e.label)+"\n ")])})),t._v(" "),s("keep-alive",[s(t.componentName,{tag:"component",staticClass:"system-view-content",attrs:{types:t.types}})],1)],1)],1)},[],!1,null,"25a76beb",null));M.options.__file="index.vue";e.default=M.exports},XDnj:function(t,e,s){"use strict";var i=s("j+kt");s.n(i).a},Y2XP:function(t,e,s){},aJir:function(t,e,s){},eVJH:function(t,e,s){},eomO:function(t,e,s){"use strict";var i=s("Y2XP");s.n(i).a},iZxQ:function(t,e,s){},ircL:function(t,e,s){},"j+kt":function(t,e,s){},jY4q:function(t,e,s){"use strict";var i=s("K8OL");s.n(i).a},jzeO:function(t,e,s){"use strict";var i={name:"Reminder",components:{},props:{closeShow:{type:Boolean,default:!1},content:{type:String,default:"内容"},fontSize:{type:String,default:"13"}},data:function(){return{}},computed:{},mounted:function(){},destroyed:function(){},methods:{close:function(){this.$emit("close")}}},n=(s("KWCB"),s("KHd+")),a=Object(n.a)(i,function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("flexbox",{staticClass:"reminder-wrapper"},[s("flexbox",{staticClass:"reminder-body",attrs:{align:"stretch"}},[s("i",{staticClass:"wk wk-warning reminder-icon"}),t._v(" "),s("div",{staticClass:"reminder-content",style:{"font-size":t.fontSize+"px"},domProps:{innerHTML:t._s(t.content)}}),t._v(" "),t._t("default"),t._v(" "),t.closeShow?s("i",{staticClass:"el-icon-close close",on:{click:t.close}}):t._e()],2)],1)},[],!1,null,"36522fcc",null);a.options.__file="Reminder.vue";e.a=a.exports},k6RD:function(t,e,s){"use strict";var i=s("aJir");s.n(i).a},n9M2:function(t,e,s){},pxSB:function(t,e,s){},rlov:function(t,e,s){"use strict";var i=s("iZxQ");s.n(i).a},ve4p:function(t,e,s){},zXZL:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjVENzhCOEIzRERCMjExRTg4QjUxREJEMjVGMDBFOUEyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjVENzhCOEI0RERCMjExRTg4QjUxREJEMjVGMDBFOUEyIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NUQ3OEI4QjFEREIyMTFFODhCNTFEQkQyNUYwMEU5QTIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NUQ3OEI4QjJEREIyMTFFODhCNTFEQkQyNUYwMEU5QTIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5zKmg/AAAAcElEQVR42mI8c+aMLQMDw0IgVmQgHdwH4jgmIDEHiNOBmJEMDNI3lxHokv9QAXLBfyYGKgBiDPlPDUMYho4hLESGAboYIyFDGLEYwDiCApYYQxjp5pJbQOxCpn6QvlugKE4B4kVArECGIQ+AOBYgwAB2pxPdB9NdPQAAAABJRU5ErkJggg=="}}]);