| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesA-crm-createCustomer-editCustomer","pages-index-groupCompany-contact-contactDetail~pages-index-groupCompany-contact-editInfo~pages-index~54577a3e","pages-index-groupCompany-cost-addCost~pages-index-newSche-newSche~pagesA-cost-index~pagesA-crm-custo~82b164c9"],{"0184":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uRate:n("a0dd").default,tkiTree:n("6f45").default,uSelect:n("d29e").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",["input"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-view",{staticClass:"form_input"},[e.isEdit?n("v-uni-input",{class:e.objInfo.value?"valueActive":"",attrs:{type:e.objInfo.config.inputType?e.objInfo.config.inputType:"text","placeholder-style":"color:#999;font-size:32rpx;",value:e.objInfo.value,placeholder:e.isEdit?e.objInfo.config.placeholder:""},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.changeInput.apply(void 0,arguments)}}}):e._e(),e.isEdit?e._e():n("v-uni-view",{staticClass:"valueActive"},[e._v(e._s(e.objInfo.value?e.objInfo.value:""))])],1)],1),"input-number"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-view",{staticClass:"form_input"},[n("v-uni-input",{class:e.objInfo.value?"valueActive":"",attrs:{type:"","placeholder-style":"color:#999;font-size:32rpx;",disabled:!e.isEdit,value:e.objInfo.value,placeholder:e.isEdit?e.objInfo.config.placeholder:""},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.changeInput.apply(void 0,arguments)}}})],1)],1),"select"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-view",{staticClass:"form_right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeSelect.apply(void 0,arguments)}}},[n("v-uni-view",{class:e.objInfo.value?"valueActive":""},[e._v(e._s(e.isEdit||e.objInfo.value?e.objInfo.value?e.objInfo.value:e.objInfo.config.placeholder:""))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),"Rate"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[n("u-rate",{attrs:{disabled:!e.isEdit,"active-color":"#FFD049","inactive-color":"#b2b2b2",size:35,gutter:10},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeRate.apply(void 0,arguments)}},model:{value:e.objInfo.value,callback:function(t){e.$set(e.objInfo,"value",t)},expression:"objInfo.value"}})],1)],1)],1),"TimePicker"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-picker",{attrs:{mode:"multiSelector",disabled:!e.isEdit,range:e.dateTimeArray,value:e.dateTime},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeTime.apply(void 0,arguments)},columnchange:function(t){arguments[0]=t=e.$handleEvent(t),e.changeColumn.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",{class:e.objInfo.value?"valueActive":""},[e._v(e._s(e.objInfo.value?e.objInfo.value:e.objInfo.config.placeholder))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),"textarea"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_area"},[n("v-uni-view",{staticClass:"area_head"},[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-textarea",{class:e.objInfo.value?"valueActive":"",style:{height:e.height+"rpx"},attrs:{maxlength:"-1","auto-height":e.autoHeight,value:e.objInfo.value?e.objInfo.value:"",disabled:!e.isEdit,placeholder:e.isEdit?e.objInfo.config.placeholder:"","placeholder-style":"color:#999;font-size:32rpx;"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.changeTextarea.apply(void 0,arguments)}}})],1),"radio"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-view",{staticClass:"form_right"},[n("v-uni-radio-group",{staticClass:"labellist",attrs:{disabled:!e.isEdit},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeRadio.apply(void 0,arguments)}}},e._l(e.objInfo.config.content,(function(t,i){return n("v-uni-label",{key:i,staticClass:"labelbox",attrs:{class:"labelbox"}},[n("v-uni-view",[n("v-uni-radio",{attrs:{color:"#008EFF",disabled:!e.isEdit,value:t.value,checked:t.value==e.objInfo.value}})],1),n("v-uni-view",[e._v(e._s(t.value))])],1)})),1)],1)],1),"checkbox"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_area"},[n("v-uni-view",{staticClass:"area_head"},[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-checkbox-group",{staticStyle:{display:"flex","justify-content":"flex-start","flex-wrap":"wrap"},attrs:{value:e.objInfo.value},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeCheckbox.apply(void 0,arguments)}}},e._l(e.objInfo.config.content,(function(t,i){return n("v-uni-label",{key:i,staticStyle:{"margin-right":"15rpx","margin-bottom":"25rpx",display:"block"}},[n("v-uni-checkbox",{staticClass:"checkbox",attrs:{color:"#ff7800",value:t.value,checked:-1!=e.objInfo.value.indexOf(t.value),disabled:!e.isEdit}}),n("span",[e._v(e._s(t.value))])],1)})),1)],1),"Cascader"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),e.isEdit?n("v-uni-view",{staticClass:"form_right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.show=!0}}},[n("v-uni-view",{class:e.objInfo.value?"valueActive":""},[e._v(e._s(e.isEdit||e.objInfo.value?e.objInfo.value?e.objInfo.value:e.objInfo.config.placeholder:""))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1):n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",{class:e.objInfo.value?"valueActive":""},[e._v(e._s(e.isEdit||e.objInfo.value?e.objInfo.value?e.objInfo.value:e.objInfo.config.placeholder:""))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),"DatePicker"!=e.objInfo.component||1!=e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",{class:1==e.objInfo.config.required?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.objInfo.config.label))],1),n("v-uni-picker",{attrs:{mode:"date",disabled:!e.isEdit},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeDate.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",{class:e.objInfo.value?"valueActive":""},[e._v(e._s(e.isEdit||e.objInfo.value?e.objInfo.value?e.objInfo.value:e.objInfo.config.placeholder:""))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),"uploadImage"!=e.objInfo.component||!e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("upload-image",{attrs:{flag:e.objInfo.config.required,imgList:e.objInfo.value?e.objInfo.value:[],title:e.objInfo.config.label,single:e.objInfo.config.maxnum,isEdit:e.isEdit,istype:e.istype},on:{uploadImg:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadImg.apply(void 0,arguments)},delImg:function(t){arguments[0]=t=e.$handleEvent(t),e.delImg.apply(void 0,arguments)}}}),"uploadFile"!=e.objInfo.component||!e.objInfo.config.required&&e.isNotRequired||e.objInfo.config.addShow?e._e():n("upload-file",{attrs:{title:e.objInfo.config.label,flag:e.objInfo.config.required,fileList:e.objInfo.value?e.objInfo.value:[],isEdit:e.isEdit},on:{uploadFile:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadFile.apply(void 0,arguments)},delFile:function(t){arguments[0]=t=e.$handleEvent(t),e.delFile.apply(void 0,arguments)}}}),"select"==e.objInfo.component?n("tki-tree",{ref:"tkitree",attrs:{range:e.objInfo.config.content,multiple:e.objInfo.config.multiple,rangeKey:"label",idKey:"nodeKey",confirmColor:"#008EFF"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.selectTree.apply(void 0,arguments)}}}):e._e(),n("u-select",{attrs:{mode:"mutil-column-auto","value-name":"code","label-name":"name","child-name":"children",list:e.addressList},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}})],1)},o=[]},"08ef":function(e,t,n){"use strict";var i=n("5e546"),a=n.n(i);a.a},"0e34":function(e,t,n){var i=n("216c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("b2a168fa",i,!0,{sourceMap:!1,shadowMode:!1})},1392:function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.popup_title[data-v-8aa32ac2]{text-align:center;font-size:%?34?%;color:#333;padding:%?24?%}.searbox[data-v-8aa32ac2]{width:%?690?%;height:%?60?%;margin:0 %?24?% %?15?%;border-radius:%?30?%;padding:0 %?24?%;display:flex;justify-content:flex-start;align-items:center;background:#f5f5f5}.searbox .searimg[data-v-8aa32ac2]{width:%?50?%;height:%?50?%;margin-right:%?10?%}.searbox .li_box[data-v-8aa32ac2]{width:%?630?%}.scrollbox[data-v-8aa32ac2]{width:100%;height:%?600?%;background:#f5f5f5}.scrollbox .liwarp[data-v-8aa32ac2]{width:%?702?%;padding:%?20?% %?30?%;margin:%?20?% auto;background:#fff;border-radius:%?10?%;display:flex;justify-content:space-between;align-items:center}.scrollbox .liwarp .warpleft[data-v-8aa32ac2]{flex:1;display:flex;justify-content:flex-start;align-items:center}.scrollbox .liwarp .warpleft .headerimg[data-v-8aa32ac2]{width:%?50?%;height:%?50?%;border-radius:50%;margin-right:%?15?%}.scrollbox .liwarp .warpleft .name[data-v-8aa32ac2]{font-size:%?24?%;color:#333}.scrollbox .liwarp .warpleft .number[data-v-8aa32ac2]{font-size:%?24?%;color:#999;margin:%?15?% 0}.scrollbox .liwarp .warpleft .guishu[data-v-8aa32ac2]{font-size:%?24?%;color:#666}.btnlist[data-v-8aa32ac2]{width:%?750?%;display:flex;justify-content:space-around;padding:%?30?% 0;border-top:%?1?% solid #f5f5f5}.btnlist .btn[data-v-8aa32ac2]{width:%?200?%;height:%?60?%;border-radius:%?30?%;font-size:%?24?%;color:#fff;text-align:center;line-height:%?60?%}.btnlist .firbtn[data-v-8aa32ac2]{background:#14c2c1}.btnlist .secbtn[data-v-8aa32ac2]{background:#ff7800}',""]),e.exports=t},"17e0":function(e,t,n){"use strict";var i=n("0e34"),a=n.n(i);a.a},"1a8e":function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("bf0f"),n("2797"),n("aa9c");var a=i(n("9c8b")),o=n("efcd"),s=n("391e"),c=n("af8c"),r=(n("f426"),n("3a07")),l=i(n("5c92")),u=n("d41c"),d={mixins:[o.pageJumps],components:{formItem:a.default,selectCustomer:l.default},data:function(){return{BASE_IMG_URL:r.BASE_IMG_URL,id:"",checked:!0,linkManChecked:!0,name:"",subname:"",industry:"",level:"",source:"",follow:"",address_dingwei:"",address_detail:"",lng:"",lat:"",parent_id:"",parentList:[],plist:[],parentName:"",industryList:[],industryindex:null,followList:[],followIndex:null,sourceList:[],sourceIndex:null,scaleList:[],scaleIndex:null,info:{},listForm:[],addressList:[],show:!1}},onLoad:function(e){this.addressList=u.citys,this.id=e.id,this.getKehuInfo(),this.getSelectlist()},onShow:function(){},onHide:function(){},methods:{confirm:function(e){this.address_dingwei=e[0].label+e[1].label+e[2].label},getKehuInfo:function(){var e=this;(0,s.netKehuDetail)({id:this.id}).then((function(t){t=t.data,e.info=t,e.name=t.name,e.location=t.location,e.address_detail=t.address_detail,e.address_dingwei=t.address,e.lng=t.lng,e.lat=t.lat,e.parent_id=t.parent_id,e.getPrevCoustomer(),e.getForm()}))},getPrevCoustomer:function(){var e=this;(0,s.netPrevCustomer)().then((function(t){e.parentList=t.data,e.handleData(t.data),e.handleParent()}))},getForm:function(){var e=this;(0,c.netSetForm)({type:"customer"}).then((function(t){t=t.data.data;var n=[];t.forEach((function(t,i){t.value=e.info[t.id],"name"!=t.id&&n.push(t)})),e.listForm=n}))},handleData:function(e){var t=[];e.forEach((function(e){t.push(e.name)})),this.plist=t},handleParent:function(){var e=this,t=this.parent_id;this.parentList.forEach((function(n,i){n.id==t&&(e.parentName=n.name)}))},changeData:function(e,t,n){var i=this,a=this.listForm;a.forEach((function(e,a){e.id==n.id&&(e.value=t,i.$set(i.listForm,a,e))}))},getSelectlist:function(){var e=this;(0,s.netSelect)().then((function(t){e.industryList=t.data["行业"],e.followList=t.data["客户状态"],e.sourceList=t.data["客户来源"],e.scaleList=t.data["企业规模"],e.roleList=t.data["联系人角色"],e.tyieldList=t.data["天地盖产量"],e.pyieldList=t.data["皮壳产量"],e.numberList=t.data["员工人数"]}))},checkName:function(){var e=this.name;console.log(e),e?(0,s.netCheckName)({name:e}).then((function(e){uni.showToast({title:e.msg,icon:"none",duration:2e3})})):uni.showToast({title:"请填写客户姓名",icon:"none",duration:2e3})},changeLocation:function(e){this.location=e.detail.value[0]+"/"+e.detail.value[1]+"/"+e.detail.value[2]},changeParent:function(){this.$refs.customerChild.init()},sureSelect:function(e){this.parentName=e.name,this.parent_id=e.id},change:function(){this.is_event=!this.is_event},changeFollowTime:function(e){this.event_start_time=e.detail.value},changeRemind:function(e){this.remindIndex=e.detail.value,this.remindtype=this.remindList[e.detail.value]},detailAddClick:function(){var e=this;uni.chooseLocation({success:function(t){e.lat=t.latitude,e.lng=t.longitude,e.address_detail=t.name,e.address_dingwei=t.address},fail:function(e){console.log(e),"chooseLocation:fail auth deny"==e.errMsg&&uni.showToast({title:"请允许使用位置信息",icon:"none"})}})},subSave:function(){var e=this.name,t=this.location,n=this.address_dingwei,i=this.address_detail,a=this.lng,o=this.lat,c=this.parent_id;if(e){var r=this.checkCommonForm(this.listForm);r&&(r=Object.assign({},r,{id:this.id,name:e,location:t,address_detail:i,lng:a,lat:o,parent_id:c,address:n}),console.log(r),(0,s.netEditKehu)(r).then((function(e){uni.showToast({title:e.msg,icon:"none",duration:2e3}),setTimeout((function(){uni.navigateBack({delta:1})}),2e3)})))}else uni.showToast({title:"请填写客户名称",icon:"none",duration:2e3})}}};t.default=d},"1c36":function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa"),n("bf0f"),n("2797"),n("aa9c"),n("5ef2"),n("4626"),n("5ac7"),n("dd2b");var a=n("2632"),o=i(n("6f45")),s=i(n("52c1")),c=i(n("e2dc")),r=n("d41c"),l={props:{objInfo:{type:Object,default:{}},isEdit:{type:Boolean,default:!0},height:{type:Number,default:300},autoHeight:{type:Boolean,default:!1},index:{type:Number,default:null},isNotRequired:{type:Boolean,default:!1},istype:{type:String,default:"all"}},components:{tkiTree:o.default,uploadImage:s.default,uploadFile:c.default},data:function(){return{dateTimeArray:[],dateArr:[],dateTime:[],addressList:[],show:!1}},computed:{},watch:{},created:function(){"TimePicker"==this.objInfo.component&&this.initTime(),"Cascader"==this.objInfo.component&&(this.addressList=r.citys)},onShow:function(){},methods:{changeInput:function(e){var t=this.objInfo.id,n=e.detail.value;this.$emit("changeData",t,n,this.objInfo)},changeSelect:function(){this.isEdit&&this.$refs.tkitree._show()},selectTree:function(e){console.log(e,"选择");var t=this.objInfo.id;if(e.length>0){console.log("123456");var n=[];e.forEach((function(e){n.push(e.label)})),this.$emit("changeData",t,n.join(","),this.objInfo)}else this.$emit("changeData",t,"",this.objInfo)},changeRate:function(e){var t=e,n=this.objInfo.id;this.$emit("changeData",n,t,this.objInfo)},changeTextarea:function(e){var t=this.objInfo.id,n=e.detail.value;this.$emit("changeData",t,n,this.objInfo)},changeRadio:function(e){var t=e.detail.value,n=this.objInfo.id;this.$emit("changeData",n,t,this.objInfo)},changeCheckbox:function(e){var t=this.objInfo.id,n=e.detail.value;this.$emit("changeData",t,n.join(","),this.objInfo)},changeAddress:function(e){var t=e.detail.value[0];if(-1!=t.indexOf("市")){var n=t.indexOf("市");t=t.substring(0,n)}var i=t+"/"+e.detail.value[1]+"/"+e.detail.value[2],a=this.objInfo.id;this.$emit("changeData",a,i,this.objInfo)},confirm:function(e){var t=e[0].label+e[1].label+e[2].label,n=this.objInfo.id;this.$emit("changeData",n,t,this.objInfo)},changeDate:function(e){var t=e.detail.value,n=this.objInfo.id;this.$emit("changeData",n,t,this.objInfo)},withData:function(e){return e<10?"0"+e:""+e},initTime:function(){var e=(0,a.dateTimePicker)();e.dateTimeArray.pop(),e.dateTime.pop(),e.dateArray.pop();this.dateTimeArray=e.dateTimeArray,this.dateArr=e.dateArray,this.dateTime=e.dateTime},changeColumn:function(e){var t=e.detail.column;e.detail.value;if(1==t){var n=(0,a.dateTimePicker)();n.dateTimeArray.pop(),n.dateTime.pop(),n.dateArray.pop();this.dateTimeArray=n.dateTimeArray,this.dateArr=n.dateArray,this.dateTime=n.dateTime}},changeTime:function(e){var t=e.detail.value;if(t.includes(-1))uni.showToast({title:"请选择正确的时间",icon:"none"});else{var n=this.handleTime(t),i=this.objInfo.id;this.$emit("changeData",i,n,this.objInfo,this.index)}},changeAlipayTime:function(e){var t=this.objInfo.id;this.$emit("changeData",t,e.detail.value,this.objInfo)},handleTime:function(e){var t=this.dateArr[0][e[0]],n=this.dateArr[1][e[1]],i=this.dateArr[2][e[2]],a=this.dateArr[3][e[3]],o=this.dateArr[4][e[4]],s=t+"-"+n+"-"+i+" "+a+":"+o;return s},uploadImg:function(e){var t=this.objInfo.id,n=this.objInfo.value?this.objInfo.value:[];n.push(e),this.$emit("changeData",t,n,this.objInfo)},delImg:function(e){var t=this.objInfo.id,n=this.objInfo.value;n.splice(e,1),this.$emit("changeData",t,n,this.objInfo)},uploadFile:function(e){var t=this.objInfo.id,n=this.objInfo.value?this.objInfo.value:[];n.push(e),this.$emit("changeData",t,n,this.objInfo)},delFile:function(e){var t=this.objInfo.id,n=this.objInfo.value;n.splice(e,1),this.$emit("changeData",t,n,this.objInfo)}}};t.default=l},"216c":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.doc_item[data-v-fd42ce0e]{display:flex;justify-content:space-between;align-items:center;padding:%?24?% %?35?%;background:#fff;border-bottom:%?1?% solid #ededed}.doc_item .remarkimg[data-v-fd42ce0e]{width:%?31?%;height:%?33?%;margin-right:%?15?%}.doc_item .deleimg[data-v-fd42ce0e]{width:%?44?%;height:%?44?%}.doc_item .doc_name[data-v-fd42ce0e]{width:%?575?%;font-size:%?24?%;color:#333;overflow:hidden}.inp_warp[data-v-fd42ce0e]{padding:%?30?%;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:%?1?% solid #ededed}.inp_warp .inp_title[data-v-fd42ce0e]{font-size:%?32?%;color:#999}.inp_warp .form_right[data-v-fd42ce0e]{display:flex;justify-content:flex-end;align-items:center;color:#999;min-width:%?450?%;text-align:right}.inp_warp .form_right uni-image[data-v-fd42ce0e]{width:%?40?%;height:%?40?%;margin-left:%?24?%}.inp_warp .form_right .rightinput[data-v-fd42ce0e]{width:100%;text-align:right}.inp_warp .add_in[data-v-fd42ce0e]{display:flex;justify-content:flex-end;align-items:center;font-size:%?26?%;color:#ffa205}.inp_warp .add_in .icon-jiahaocu[data-v-fd42ce0e]{font-size:%?28?%;color:#ffa205;margin-right:%?5?%}',""]),e.exports=t},2935:function(e,t,n){"use strict";n.r(t);var i=n("e60a"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},2947:function(e,t,n){var i=n("2b72");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("18c03769",i,!0,{sourceMap:!1,shadowMode:!1})},"2b72":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.fllow_form[data-v-8d682e7c]{display:flex;justify-content:space-between;align-items:center;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?30?% %?20?%;color:#999;font-size:%?32?%}.fllow_form[data-v-8d682e7c] :first-child{flex-shrink:0;font-weight:%?32?%}.fllow_form .form_right[data-v-8d682e7c]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;color:#999;text-align:right;font-weight:%?32?%}.fllow_form .theme[data-v-8d682e7c]{color:#5ca9fe}.fllow_form uni-text[data-v-8d682e7c]{margin-left:%?10?%}.fllow_form .form_input uni-input[data-v-8d682e7c]{text-align:right;margin-right:%?10?%}.fllow_area[data-v-8d682e7c]{background-color:#fff;padding:%?30?% %?20?%;padding-bottom:%?30?%;color:#999;font-size:%?32?%}.fllow_area .area_head[data-v-8d682e7c]{margin-bottom:%?24?%}.fllow_area uni-textarea[data-v-8d682e7c]{width:80%;height:%?300?%;padding:%?30?%;background:#f8f8f8;margin:0 auto}',""]),e.exports=t},"31bd":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,"uni-radio[data-v-8aa32ac2]{-webkit-transform:scale(.7);transform:scale(.7)}",""]),e.exports=t},3492:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uSelect:n("d29e").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"create_customer"},[n("v-uni-view",{staticClass:"fllow_form",staticStyle:{margin:"30rpx 0"}},[n("v-uni-input",{attrs:{type:"text","placeholder-style":"font-size:30rpx;color: #999;",placeholder:"输入客户名称"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),n("v-uni-view",{staticClass:"form_right theme"},[n("v-uni-image",{staticStyle:{width:"40rpx",height:"40rpx",margin:"0 20rpx 0 30rpx"},attrs:{src:e.BASE_IMG_URL+"chachong.png",mode:"scaleToFill"}}),n("v-uni-view",{staticStyle:{color:"#008EFF"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.checkName.apply(void 0,arguments)}}},[e._v("查重")])],1)],1),n("v-uni-view",{staticClass:"info_head"},[e._v("基础信息")]),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[e._v("上级公司")]),n("v-uni-view",{staticClass:"form_right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeParent.apply(void 0,arguments)}}},[n("v-uni-view",[e._v(e._s(e.parentName?e.parentName:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[e._v("地理位置")]),n("v-uni-view",{staticClass:"form_right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.show=!0}}},[n("v-uni-view",{class:e.address_dingwei?"valueActive":""},[e._v(e._s(e.address_dingwei?e.address_dingwei:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),n("v-uni-view",{staticClass:"fllow_form_text"},[n("v-uni-view",{staticStyle:{"flex-shrink":"0"}},[n("v-uni-text",[e._v("*")]),e._v("详细地址")],1),n("v-uni-view",{staticClass:"form_right"},[n("v-uni-textarea",{staticClass:"detailText",class:e.address_detail?"valueActive":"",attrs:{placeholder:"填写详细地址","placeholder-style":"font-size:30rpx;color: #999;"},model:{value:e.address_detail,callback:function(t){e.address_detail=t},expression:"address_detail"}})],1)],1),e._l(e.listForm,(function(t,i){return n("form-item",{key:i,attrs:{objInfo:t},on:{changeData:function(t){arguments[0]=t=e.$handleEvent(t),e.changeData.apply(void 0,arguments)}}})})),n("v-uni-view",{staticClass:"btn_g bg-blue button-hover round",attrs:{id:"btn"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.subSave.apply(void 0,arguments)}}},[e._v("保存")]),n("u-select",{attrs:{mode:"mutil-column-auto","value-name":"code","label-name":"name","child-name":"children",list:e.addressList},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}}),n("select-customer",{ref:"customerChild",on:{getCustomerinfo:function(t){arguments[0]=t=e.$handleEvent(t),e.sureSelect.apply(void 0,arguments)}}})],2)},o=[]},3711:function(e,t,n){var i=n("7a60");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("15389468",i,!0,{sourceMap:!1,shadowMode:!1})},"391e":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.daibanKehuFollow=function(e){return(0,i.myRequest)("record/getcustomerList",e)},t.netAddComment=function(e){return(0,i.myRequest)("record/addComment",e)},t.netAddCost=function(e){return(0,i.myRequest)("consume/addConsume",e)},t.netAddFollowRecords=function(e){return(0,i.myRequest)("record/createRecord",e)},t.netAddLianxiren=function(e){return(0,i.myRequest)("contacts/addContacts",e)},t.netAddPayment=function(e){return(0,i.myRequest)("receivables/addReceivables",e)},t.netAddPlan=function(e){return(0,i.myRequest)("receivables_plan/addPlan",e)},t.netAddkehu=function(e){return(0,i.myRequest)("customer/addCustomer",e)},t.netCancelExamine=function(e){return(0,i.myRequest)("contract/cancel",e)},t.netCheckName=function(e){return(0,i.myRequest)("customer/selectName",e)},t.netConcatDetailInfo=function(e){return(0,i.myRequest)("contacts/getDetail",e)},t.netContact=function(e){return(0,i.myRequest)("contacts/getSelectList",e)},t.netContactFileList=function(e){return(0,i.myRequest)("contacts/getFilesList",e)},t.netContactList=function(e){return(0,i.myRequest)("contacts/getList",e)},t.netContinueIsFollow=function(e){return(0,i.myRequest)("record/record_add",e)},t.netContractDetail=function(e){return(0,i.myRequest)("contract/getDetail",e)},t.netContractFileList=function(e){return(0,i.myRequest)("contract/getFilesList",e)},t.netContractList=function(e){return(0,i.myRequest)("contract/getCustomerContacts",e)},t.netContractNum=function(){return(0,i.myRequest)("contract/getContractNumber")},t.netContractProduct=function(e){return(0,i.myRequest)("product/getSelectList",e)},t.netCostDetail=function(e){return(0,i.myRequest)("consume/getDetail",e)},t.netCostList=function(e){return(0,i.myRequest)("consume/getList",e)},t.netCreateContract=function(e){return(0,i.myRequest)("contract/addContract",e)},t.netCrmContractList=function(e){return(0,i.myRequest)("contract/getList",e)},t.netDelContact=function(e){return(0,i.myRequest)("contacts/delContacts",e)},t.netEditContactInfo=function(e){return(0,i.myRequest)("contacts/editContacts",e)},t.netEditContract=function(e){return(0,i.myRequest)("contract/editContract",e)},t.netEditCost=function(e){return(0,i.myRequest)("consume/editConsume",e)},t.netEditFileName=function(e){return(0,i.myRequest)("file/editName",e)},t.netEditKehu=function(e){return(0,i.myRequest)("customer/editCustomer",e)},t.netEditPaymentInfo=function(e){return(0,i.myRequest)("receivables/editReceivables",e)},t.netExamine=function(e){return(0,i.myRequest)("examine_record/examine",e)},t.netFollowRecordDetail=function(e){return(0,i.myRequest)("record/getRecordDetail",e)},t.netGetBriefdata=function(e){return(0,i.myRequest)("index/briefing",e)},t.netGetBumenList=function(e){return(0,i.myRequest)("achievement/getDepartmentList",e)},t.netGetCommentList=function(e){return(0,i.myRequest)("record/commentList",e)},t.netGetDefaultMoney=function(e){return(0,i.myRequest)("achievement/getAchievementDetail",e)},t.netGetDefaultSelfDetail=function(e){return(0,i.myRequest)("achievement/getMyAchievementDetail",e)},t.netGetDepTargetlist=function(e){return(0,i.myRequest)("achievement/getStaffList",e)},t.netGetGongsiList=function(e){return(0,i.myRequest)("achievement/getCompanyAchievement",e)},t.netGetOthersReceivable=function(){return(0,i.myRequest)("statistics/staffReceivablesStatistics")},t.netGetRecordDetail=function(e){return(0,i.myRequest)("achievement/getRecordsDetail",e)},t.netGetRecordList=function(e){return(0,i.myRequest)("achievement/editRecords",e)},t.netGetTargetSelect=function(){return(0,i.myRequest)("achievement/getDepartment")},t.netGetTealList=function(e){return(0,i.myRequest)("achievement/getTeamList",e)},t.netGetreceivableStaff=function(){return(0,i.myRequest)("statistics/receivablesStatistics")},t.netKehuDetail=function(e){return(0,i.myRequest)("customer/customerDetail",e)},t.netKehuFileList=function(e){return(0,i.myRequest)("customer/getFilesList",e)},t.netKehuFollow=function(e){return(0,i.myRequest)("record/getList",e)},t.netKehuList=function(e){return(0,i.myRequest)("customer/getList",e)},t.netKeyCollect=function(e){return(0,i.myRequest)("customer/collect",e)},t.netLianxiren=function(e){return(0,i.myRequest)("contacts/getSelectList",e)},t.netOperationList=function(e){return(0,i.myRequest)("operation/getList",e)},t.netPaymentApproval=function(e){return(0,i.myRequest)("examine_record/getList",e)},t.netPaymentCancel=function(e){return(0,i.myRequest)("receivables/cancel",e)},t.netPaymentDetail=function(e){return(0,i.myRequest)("receivables/getDetail",e)},t.netPaymentList=function(e){return(0,i.myRequest)("receivables/getList",e)},t.netPaymentNum=function(e){return(0,i.myRequest)("receivables_plan/getSelectList",e)},t.netPaymentNumber=function(){return(0,i.myRequest)("receivables/getReceivablesNumber")},t.netPlanListf=function(e){return(0,i.myRequest)("receivables_plan/getList",e)},t.netPrevCustomer=function(e){return(0,i.myRequest)("customer/getSelectList",e)},t.netProductClass=function(e){return(0,i.myRequest)("product/getProducttypeList",e)},t.netProductDetail=function(e){return(0,i.myRequest)("product/getProductDetail",e)},t.netQueryData=function(e){return(0,i.myRequest)("index/search",e)},t.netReceiveKehu=function(e){return(0,i.myRequest)("customer/receive",e)},t.netRemoveColect=function(e){return(0,i.myRequest)("customer/cancelCollect",e)},t.netRemoveSeas=function(e){return(0,i.myRequest)("customer/moveSeas",e)},t.netSearchStaffList=function(e){return(0,i.myRequest)("customer/getSearchStaffList",e)},t.netSelect=function(){return(0,i.myRequest)("common/selectOption")},t.netSelectContract=function(e){return(0,i.myRequest)("contract/getSelectList",e)},t.netSetMymubiao=function(e){return(0,i.myRequest)("achievement/staffEditAchievement",e)},t.netSetTargetMoney=function(e){return(0,i.myRequest)("achievement/addAchievement",e)},t.netStaffList=function(e){return(0,i.myRequest)("common/getSelectStaff",e)},t.netSubordList=function(e){return(0,i.myRequest)("customer/getLowerCustomer",e)},t.netTransKehu=function(e){return(0,i.myRequest)("customer/transfer",e)},t.netTurnoverList=function(e){return(0,i.myRequest)("index/contractRanding",e)};var i=n("3a07")},"39e5":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uniPopup:n("02f0").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("uni-popup",{ref:"popup",attrs:{type:"bottom","background-color":"#fff"},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t)}}},[n("v-uni-view",{staticClass:"popup_title"},[e._v("选择客户")]),n("v-uni-view",{staticClass:"searbox"},[n("v-uni-image",{staticClass:"searimg",attrs:{src:e.BASE_IMG_URL+"ss.png",mode:"scaleToFill"}}),n("v-uni-input",{staticClass:"li_box",class:e.keyword?"fontactive":"",attrs:{type:"text","placeholder-style":"color:#999;",placeholder:"客户名称"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.searchName.apply(void 0,arguments)}},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}})],1),n("v-uni-scroll-view",{staticClass:"scrollbox",attrs:{"scroll-y":!0,"lower-threshold":"30"},on:{scrolltolower:function(t){arguments[0]=t=e.$handleEvent(t),e.loadMoredata.apply(void 0,arguments)}}},[e._l(e.customerlist,(function(t,i){return n("v-uni-view",{key:i,staticClass:"liwarp",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.selectItem(t,i)}}},[n("v-uni-view",{staticClass:"warpleft"},[n("v-uni-view",{staticClass:"name"},[e._v("名称:"+e._s(t.name))])],1),n("v-uni-label",{staticClass:"radio"},[n("v-uni-radio",{attrs:{value:"r1",color:"#008EFF",checked:e.preseCustomerObj.id==t.id}})],1)],1)})),0==e.customerlist.length?n("v-uni-view",{staticClass:"noData"},[e._v("暂无更多")]):e._e()],2),n("v-uni-view",{staticClass:"btnlist",on:{click:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t)}}},[n("v-uni-view",{staticClass:"btn secbtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.hideSelect.apply(void 0,arguments)}}},[e._v("取消")]),n("v-uni-view",{staticClass:"btn firbtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.sureSelect.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1)},o=[]},"4bca":function(e,t,n){"use strict";n.r(t);var i=n("eb54"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},5144:function(e,t,n){"use strict";var i=n("985f"),a=n.n(i);a.a},"52c1":function(e,t,n){"use strict";n.r(t);var i=n("e2fa"),a=n("4bca");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("604e");var s=n("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"cffaf83a",null,!1,i["a"],void 0);t["default"]=c.exports},"53f9":function(e,t,n){var i=n("1392");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("03ee0026",i,!0,{sourceMap:!1,shadowMode:!1})},5848:function(e,t,n){"use strict";n.r(t);var i=n("1c36"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"5c92":function(e,t,n){"use strict";n.r(t);var i=n("39e5"),a=n("63e7");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("5144"),n("dc690");var s=n("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"8aa32ac2",null,!1,i["a"],void 0);t["default"]=c.exports},"5e546":function(e,t,n){var i=n("ee9b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("74b07b46",i,!0,{sourceMap:!1,shadowMode:!1})},"604e":function(e,t,n){"use strict";var i=n("c4e3"),a=n.n(i);a.a},"63e7":function(e,t,n){"use strict";n.r(t);var i=n("c7a9"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"67f5":function(e,t,n){"use strict";var i=n("3711"),a=n.n(i);a.a},"69ae":function(e,t,n){"use strict";n.r(t);var i=n("3492"),a=n("9b16");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("08ef");var s=n("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"6d53ab4e",null,!1,i["a"],void 0);t["default"]=c.exports},"7a60":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.b_color[data-v-8d682e7c]{color:red}.bo_color[data-v-8d682e7c]{color:#fff}.valueActive[data-v-8d682e7c]{color:#333}.labellist[data-v-8d682e7c]{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap}.labellist .labelbox[data-v-8d682e7c]{display:flex;justify-content:flex-start;align-items:center}uni-radio[data-v-8d682e7c]{-webkit-transform:scale(.6);transform:scale(.6)}.sales_item[data-v-8d682e7c]{display:flex;justify-content:flex-start;padding-bottom:%?15?%;flex-wrap:wrap}.sales_item .checkbox[data-v-8d682e7c]{display:flex;justify-content:flex-start;margin-right:%?20?%;margin-bottom:%?20?%}.u-checkbox__icon[data-v-8d682e7c]{width:%?20?%;height:%?20?%}',""]),e.exports=t},"8e90":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{},[n("v-uni-view",{staticClass:"inp_warp"},[n("v-uni-view",{staticClass:"inp_title key"},[n("v-uni-text",{class:e.flag?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.title)+":")],1),e.isEdit?n("v-uni-view",{staticClass:"form_right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toUploadFile.apply(void 0,arguments)}}},[n("v-uni-view",[e._v("点击上传")]),n("v-uni-view",{staticClass:"iconfont icon-you"})],1):e._e()],1),e._l(e.fileList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"doc_item"},[n("v-uni-image",{staticClass:"remarkimg",attrs:{src:e.BASE_IMG_URL+"/file-clip.png"}}),n("v-uni-view",{staticClass:"doc_name",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.toLookFile(t)}}},[e._v(e._s(t.name))]),e.isEdit?n("v-uni-image",{staticClass:"deleimg",attrs:{src:e.BASE_IMG_URL+"/file_del.png"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delFile(i)}}}):e._e()],1)}))],2)},a=[]},"985f":function(e,t,n){var i=n("31bd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("5b2407fd",i,!0,{sourceMap:!1,shadowMode:!1})},"9b16":function(e,t,n){"use strict";n.r(t);var i=n("1a8e"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"9c8b":function(e,t,n){"use strict";n.r(t);var i=n("0184"),a=n("5848");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("67f5"),n("b3e2");var s=n("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"8d682e7c",null,!1,i["a"],void 0);t["default"]=c.exports},b3e2:function(e,t,n){"use strict";var i=n("2947"),a=n.n(i);a.a},c4e3:function(e,t,n){var i=n("dd92");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("8dc222c6",i,!0,{sourceMap:!1,shadowMode:!1})},c7a9:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("c223");var i=n("391e"),a=n("3a07"),o={props:{},data:function(){return{keyword:"",customerlist:[],page:1,totalPage:1,preseCustomerObj:{},BASE_IMG_URL:a.BASE_IMG_URL}},methods:{init:function(){this.$refs.popup.open(),this.page=1,this.customerlist=[],this.getList()},getList:function(){var e=this,t={page:this.page,name:this.keyword};(0,i.netKehuList)(t).then((function(t){e.customerlist=e.customerlist.concat(t.data.data),e.totalPage=t.data.last_page}))},loadMoredata:function(){this.page>=this.totalPage||(this.page++,this.getList())},searchName:function(e){this.page=1,this.customerlist=[],this.getList()},selectItem:function(e,t){this.preseCustomerObj=e},closePopup:function(){this.$refs.popup.close()},sureSelect:function(){this.preseCustomerObj?(this.$refs.popup.close(),this.$emit("getCustomerinfo",this.preseCustomerObj)):this.$refs.popup.close()},hideSelect:function(){this.$refs.popup.close()}}};t.default=o},dc690:function(e,t,n){"use strict";var i=n("53f9"),a=n.n(i);a.a},dd92:function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.b_color[data-v-cffaf83a]{color:red}.bo_color[data-v-cffaf83a]{color:#fff}.imglist[data-v-cffaf83a]{padding:%?24?% %?34?%;background:#fff;border-bottom:%?1?% solid #ededed;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.imglist .imgbox[data-v-cffaf83a]{width:%?160?%;height:%?160?%;margin-right:%?14?%;position:relative;margin-bottom:%?24?%}.imglist .imgbox[data-v-cffaf83a]:nth-child(4n){margin-right:0}.imglist .imgbox .delimg[data-v-cffaf83a]{width:%?32?%;height:%?32?%;border-radius:50%;position:absolute;right:%?-16?%;top:%?-16?%;background:rgba(0,0,0,.5);z-index:2}.imglist .imgbox .selfimg_img[data-v-cffaf83a]{width:%?160?%;height:%?160?%}.imglist .imgbox_tow[data-v-cffaf83a]{width:%?75?%;height:%?75?%}.imglist .imgbox_tow .selfimg[data-v-cffaf83a]{width:%?75?%;height:%?75?%}.inp_warp[data-v-cffaf83a]{padding:%?30?%;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:%?1?% solid #ededed}.inp_warp .inp_title[data-v-cffaf83a]{font-size:%?32?%;color:#999}.inp_warp .form_right[data-v-cffaf83a]{display:flex;justify-content:flex-end;align-items:center;color:#999;min-width:%?450?%;text-align:right}',""]),e.exports=t},e2dc:function(e,t,n){"use strict";n.r(t);var i=n("8e90"),a=n("2935");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("17e0");var s=n("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"fd42ce0e",null,!1,i["a"],void 0);t["default"]=c.exports},e2fa:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("v-uni-view",{staticClass:"inp_warp"},[n("v-uni-view",{staticClass:"inp_title key"},[n("v-uni-text",{class:e.flag?"b_color":"bo_color"},[e._v("*")]),e._v(e._s(e.title)+":")],1),e.isEdit?n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v("上传图片")]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1):e._e()],1),n("v-uni-view",{staticClass:"imglist"},[e._l(e.imgList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"imgbox"},[e.isEdit?n("v-uni-image",{staticClass:"delimg",attrs:{src:e.BASE_IMG_URL+"/close.png"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delImg(i)}}}):e._e(),n("v-uni-image",{staticClass:"selfimg_img",attrs:{src:t.file_path},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toPriveImg(i)}}})],1)})),e.imgList.length<e.single&&e.isEdit?n("v-uni-view",{staticClass:"imgbox_tow",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadFiles.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"selfimg",attrs:{src:e.BASE_IMG_URL+"/addfile.png"}})],1):e._e()],2)],1)},a=[]},e60a:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("3a07"),a=n("af8c"),o={props:{title:{type:String,default:"附件"},flag:{type:Boolean,default:!1},fileList:{type:Array,default:[]},isEdit:{type:Boolean,default:!0}},data:function(){return{BASE_IMG_URL:i.BASE_IMG_URL}},methods:{toUploadFile:function(){var e=this;wx.chooseMessageFile({count:1,success:function(t){var n=t.tempFiles[0];e.Upload(n.path,n.name)}})},Upload:function(e,t){var n=this;uni.uploadFile({url:a.uploadUrl,name:"file",header:{token:uni.getStorageSync("token")},filePath:e,formData:{name:t},success:function(e){var i=JSON.parse(e.data);if(1==i.code){var a=i.data;a.name=t,a.file_path=a.url,console.log(a,"上传文件"),n.$emit("uploadFile",a)}else uni.showToast({title:"上传失败",icon:"none"})},fail:function(e){console.log(e)}})},toLookFile:function(e){this.openCommonFile(e)},delFile:function(e,t){console.log("删除文件"),this.$emit("delFile",t)}}};t.default=o},eb54:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa"),n("bf0f"),n("2797"),n("18f7"),n("de6c"),n("dc89"),n("2425");var i=n("3a07"),a=n("af8c"),o={props:{imgList:{type:Array,default:[]},flag:{type:Boolean,default:!0},title:{type:String,default:"附件"},single:{type:Number,default:9},istype:{type:String,default:"all"},isEdit:{type:Boolean,default:!0}},data:function(){return{BASE_IMG_URL:i.BASE_IMG_URL}},methods:{toPriveImg:function(e){this.openCommonImg(this.imgList,e)},uploadFiles:function(){var e=this,t=[];"all"==this.istype?t=["album","camera"]:"album"==this.istype?t=["album"]:"camera"==this.istype&&(t=["camera"]),uni.chooseImage({count:this.single,sourceType:t,sizeType:["compressed"],success:function(t){console.log(t,"====");var n=t.tempFilePaths;n.forEach((function(t){e.imgList.length<e.single&&e.toUpload(t)}))}})},toUpload:function(e){var t=this;uni.uploadFile({url:a.uploadUrl,name:"file",header:{token:uni.getStorageSync("token")},filePath:e,success:function(e){var n=JSON.parse(e.data);if(1==n.code){var i={id:n.data.id,file_path:n.data.url};t.$emit("uploadImg",i)}else uni.showToast({title:"上传失败",icon:"none"})},fail:function(e){console.log(e)}})},delImg:function(e){this.$emit("delImg",e)},getImageInfo:function(e){return new Promise((function(t,n){uni.showLoading({title:"压缩中...",icon:"none"}),uni.getImageInfo({src:e,success:function(e){console.log("压缩前",e);var n=e.width,i=e.height,a=new Image;a.src=e.path;var o=document.createElement("canvas"),s=o.getContext("2d");o.width=n/2,o.height=i/2,console.log(a),s.drawImage(a,0,0,n/2,i/2),o.toBlob((function(e){var n=window.URL.createObjectURL(e);console.log("压缩后",n),t(n),uni.hideLoading()}))}})}))}}};t.default=o},ee9b:function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.fllow_form_text[data-v-6d53ab4e]{background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?30?% %?40?%;color:#999;font-size:%?32?%}.fllow_form_text .theme[data-v-6d53ab4e]{color:#5ca9fe}.fllow_form_text uni-text[data-v-6d53ab4e]{color:red;margin-left:%?10?%}.fllow_form_text .detailText[data-v-6d53ab4e]{width:85%;background:#f8f8f8;border-radius:%?10?%;height:%?120?%;padding:%?10?%;margin:%?20?% auto 0}.create_customer[data-v-6d53ab4e]{font-size:%?28?%}.create_customer .info_head[data-v-6d53ab4e]{height:%?80?%;line-height:%?80?%;font-size:%?24?%;color:#999;padding-left:%?24?%}.create_customer .mar_top[data-v-6d53ab4e]{margin-top:%?30?%}.create_customer .fllow_form[data-v-6d53ab4e]{display:flex;justify-content:space-between;align-items:center;line-height:%?40?%;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?20?% %?30?%;color:#999;font-size:%?32?%}.create_customer .fllow_form .form_right[data-v-6d53ab4e]{display:flex;color:#999;text-align:right;align-items:center}.create_customer .fllow_form .form_right uni-image[data-v-6d53ab4e]{width:%?40?%;height:%?40?%;margin:%?28?% %?5?% 0 0}.create_customer .fllow_form .theme[data-v-6d53ab4e]{color:#5ca9fe}.create_customer .fllow_form uni-text[data-v-6d53ab4e]{color:red;margin-left:%?10?%}.create_customer .fllow_form .form_input uni-input[data-v-6d53ab4e]{line-height:%?40?%;text-align:right;margin-right:%?10?%}.create_customer .fllow_area[data-v-6d53ab4e]{background-color:#fff;padding:0 %?30?%;margin-bottom:%?30?%}.create_customer .fllow_area .area_head[data-v-6d53ab4e]{height:%?100?%;line-height:%?100?%}.create_customer .fllow_area .area_head uni-text[data-v-6d53ab4e]{color:red}.create_customer .fllow_area uni-textarea[data-v-6d53ab4e]{width:100%;height:%?300?%}#btn[data-v-6d53ab4e]{font-size:%?26?%;color:#fff;text-align:center;line-height:%?88?%;width:%?500?%;height:%?88?%;background:#008eff;border-radius:%?29?%;margin:%?30?% auto}',""]),e.exports=t},efcd:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.pageJumps=void 0;var i={methods:{selectMemberClick:function(){uni.navigateTo({url:"/pagesA/crm/selectMember/selectMember"})},foTimeClick:function(){uni.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/selectTime/selectTime"})},followPeopleClick:function(){uni.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/selectLinkman/selectLinkman"})},taskRemindClick:function(){uni.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/taskManager/taskManager"})},remindWayClick:function(){uni.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/remindWay/remindWay"})},selectDateClick:function(){uni.navigateTo({url:"/pagesA/crm/customerManagement/newFllow/selectTime/selectTime"})}}};t.pageJumps=i}}]);
|