pages-index-groupCompany-subsidiary-newSubsidiary-newSubsidiary.bf009cbf.js 33 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-groupCompany-subsidiary-newSubsidiary-newSubsidiary"],{"0446":function(e,t,n){var i=n("5c6a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("57a030ba",i,!0,{sourceMap:!1,shadowMode:!1})},"046f":function(e,t,n){var i=n("a309");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("7116c6dc",i,!0,{sourceMap:!1,shadowMode:!1})},"30f7":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n("7a76"),n("c9b5")},3221:function(e,t,n){"use strict";var i=n("0446"),a=n.n(i);a.a},3370:function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("39d8")),o=i(n("b7c7"));n("bf0f"),n("2797"),n("c223"),n("dd2b"),n("aa9c"),n("4626"),n("5ac7");var r,s=n("2632"),c=n("af8c"),l=i(n("9c8b")),u=n("f426"),d=n("efcd"),f=n("391e"),m=n("3a07"),v={mixins:[d.pageJumps],components:{formItem:l.default},data:function(){return{BASE_IMG_URL:m.BASE_IMG_URL,noClick:!0,name:"",subname:"",industry:"",level:"",source:"",follow:"",address_dingwei:"",address_detail:"",lng:"",lat:"",parent_id:"",parentList:[],plist:[],parentIndex:null,parentName:"",is_event:!0,event_start_time:"",event_title:"",remindtype:"",remindList:["准时提醒","5分钟前","15分钟前","30分钟前","一个小时前","两个小时前","一天前","两天前","一周前"],remindIndex:null,location:"",is_contacts:!0,is_record:1,followList:[],follow_type:null,followIndex:null,next_time:"",uploadShow:!1,uploadActions:[{id:1,text:"拍照",color:"#008EFF"},{id:2,text:"从相册中选择",color:"#008EFF"}],imgList:[],fileList:[],content:"",DefaultRemind:[],remindPeople:[],sourceList:[],sourceIndex:null,listForm:[],firstContactForm:[],dateTimeArray:[],dateArr:[],dateTime:[],countryType:1}},onLoad:function(e){this.parent_id=e.id,this.getSelectlist(),this.getPrevCoustomer(),this.listForm=[],this.firstContactForm=[],this.getForm(),this.getFirstContactform(),this.initTime()},onShow:function(){this.remindPeople=[],this.getDefaultRemind()},onUnload:function(){uni.removeStorageSync("remindlist")},methods:(r={moreClick:function(){uni.navigateTo({url:"/pagesA/crm/selectMember/selectMember"})},getDefaultRemind:function(){var e=this;(0,c.netStaffDefaultReviewer)({type:"record"}).then((function(t){t=t.data,t.forEach((function(e,t){e.isDel=!1})),e.DefaultRemind=t,e.remindPeople=e.$deWeight([].concat((0,o.default)(t),(0,o.default)(uni.getStorageSync("remindlist"))))}))},delRemind:function(e){this.remindPeople.splice(e,1),uni.setStorageSync("remindlist",this.remindPeople)},getForm:function(){var e=this;(0,c.netSetForm)({type:"customer"}).then((function(t){t=t.data.data,t.forEach((function(e,n){"name"==e.id&&t.splice(n,1),e.value=e.value?e.value:""})),e.listForm=t}))},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))}))},getFirstContactform:function(){var e=this;(0,c.netSetForm)({type:"contacts"}).then((function(t){t=t.data.data,t.forEach((function(e){e.value=e.value?e.value:""})),e.firstContactForm=t,e.changeCountry(e.countryType)}))},changeCountry:function(e){this.countryType=e;var t=this.firstContactForm;1==e?t.forEach((function(e,t){"mobile"==e.id&&(e.config.required=!0),"email"==e.id&&(e.config.required=!1)})):t.forEach((function(e,t){"mobile"==e.id&&(e.config.required=!0),"email"==e.id&&(e.config.required=!0)})),this.firstContactForm=t},changeContactData:function(e,t,n){var i=this,a=this.firstContactForm;a.forEach((function(e,a){e.id==n.id&&(e.value=t,i.$set(i.firstContactForm,a,e))}))},getPrevCoustomer:function(){var e=this;(0,f.netPrevCustomer)().then((function(t){e.parentList=t.data,e.handleData(t.data),e.parent_id?(e.handleParent(),e.parentDisabled=!0):e.parentDisabled=!1}))},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.parentIndex=i,e.parentName=n.name)}))},getSelectlist:function(){var e=this;(0,f.netSelect)().then((function(t){e.followList=t.data["跟进类型"],e.sourceList=t.data["客户来源"]}))},changeFollow:function(e){this.followIndex=e.detail.value,this.follow_type=this.followList[e.detail.value]},changeTime:function(e){var t=e.detail.value,n=this.handleTime(t);this.next_time=n},changeAlipayTime:function(e){this.next_time=e.detail.value},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]],r=t+"-"+n+"-"+i+" "+a+":"+o;return r},uploadClick:function(){this.uploadShow=!0},onCancel:function(){this.uploadShow=!1},uploadType:function(e){var t=this;0==e?uni.chooseImage({sourceType:["camera"],sizeType:["compressed"],success:function(e){var n=e.tempFilePaths;n.forEach((function(e){t.uploadFile(e,1)}))}}):1==e?uni.chooseImage({sourceType:["album"],sizeType:["compressed"],success:function(e){var n=e.tempFilePaths;n.forEach((function(e){t.uploadFile(e,1)}))}}):wx.chooseMessageFile({count:1,type:"file",success:function(e){console.log(e);var n=e.tempFiles[0];t.uploadFile(n,2)},fail:function(e){console.log(e)}})},uploadFile:function(e,t){var n=this;uni.uploadFile({url:c.uploadUrl,name:"file",header:{token:uni.getStorageSync("token")},filePath:1==t?e:e.path,success:function(i){var a=JSON.parse(i.data);if(n.uploadShow=!1,1==a.code)if(1==t){var o={id:a.data.id,file_path:a.data.url};n.imgList.push(o)}else{var r={id:a.data.id,file_path:a.data.url};e=Object.assign({},e,r),n.fileList.push(e)}else uni.showToast({title:"上传失败",icon:"none"})},fail:function(e){console.log(e)}})},delImg:function(e){this.imgList.splice(e,1)},delFile:function(e){this.fileList.splice(e,1)},changeContent:function(e){this.content=e.detail.value},checkName:function(){var e=this.name;e?(0,f.netCheckName)({name:e}).then((function(e){uni.showToast({title:e.msg,icon:"none",duration:2e3})})):uni.showToast({title:"请填写客户姓名",icon:"none",duration:2e3})},changeParent:function(e){this.parentIndex=e.detail.value,this.parentName=this.parentList[e.detail.value].name,this.parent_id=this.parentList[e.detail.value].id},changeSwitch:function(){this.is_event=!this.is_event},initTime:function(){var e=new Date,t=e.getFullYear(),n=(0,s.dateTimePicker)(this.startYear,t);n.dateTimeArray.pop(),n.dateTime.pop(),n.dateArray.pop();this.dateTimeArray=n.dateTimeArray,this.dateArr=n.dateArray,this.dateTime=n.dateTime},changeFollowTime:function(e){var t=e.detail.value;if(t.includes(-1))uni.showToast({title:"请选择正确的时间",icon:"none"});else{var n=this.handleTime(t);this.event_start_time=n}}},(0,a.default)(r,"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]],r=t+"-"+n+"-"+i+" "+a+":"+o;return r})),(0,a.default)(r,"changeRemind",(function(e){this.remindIndex=e.detail.value,this.remindtype=this.remindList[e.detail.value]})),(0,a.default)(r,"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){"chooseLocation:fail auth deny"==e.errMsg&&uni.showToast({title:"请允许使用位置信息",icon:"none"})}})})),(0,a.default)(r,"subSave",(function(){var e=this.name,t=(this.location,this.address_dingwei),n=this.address_detail,i=this.lng,a=this.lat,o=this.parent_id,r=(this.is_event,this.event_start_time,this.event_title,this.remindtype,this.is_contacts),s=this.is_record,c=this.follow_type,l=this.next_time,d=this.imgList,m=this.fileList,v=this.content,h=this.remindPeople;if(e)if(i&&a){var p={is_contacts:r?1:0,is_record:s},g=[],_={};this.listForm.forEach((function(e){g.push({name:e.id,required:e.config.required,msg:e.config.placeholder,value:e.value})}));for(var b=0;b<g.length;b++){if(g[b].required&&!g[b].value)return void uni.showToast({title:g[b].msg,icon:"none"});if("mobile"==g[b].name&&!(0,u.checkPhone)(g[b].value))return void uni.showToast({title:"请填写正确的手机号",icon:"none"});if("telephone"==g[b].name&&!(0,u.checkPhone)(g[b].value))return void uni.showToast({title:"请填写正确的手机号",icon:"none"});if(("mobile"==g[b].name||"telephone"==g[b].name)&&g[b].value&&!(0,u.checkPhone)(g[b].value))return void uni.showToast({title:"请填写正确的手机号",icon:"none"});_[g[b].name]=g[b].value}_=Object.assign({},_,{name:e,address_detail:n,lng:i,lat:a,address:t,parent_id:o});var y={},w=[];this.firstContactForm.forEach((function(e){w.push({name:e.id,required:e.config.required,msg:e.config.placeholder,value:e.value})}));for(var C=0;C<w.length;C++){if(w[C].required&&!w[C].value&&r)return void uni.showToast({title:w[C].msg,icon:"none"});if("mobile"==w[C].name&&!(0,u.checkPhone)(w[C].value))return void uni.showToast({title:"请填写正确的手机号",icon:"none"});if("telephone"==w[C].name&&!(0,u.checkPhone)(w[C].value))return void uni.showToast({title:"请填写正确的手机号",icon:"none"});y[w[C].name]=w[C].value}if(c)if(l)if(v){var x,R=[];d.forEach((function(e){R.push(e.id)})),m.forEach((function(e){R.push(e.id)})),x=R.join(",");var k,L=[];h.forEach((function(e){L.push(e.id)})),k=L.join(",");var q={files:x,follow_type:c,next_time:l,content:v,reminds_id:k};p.record=q,p.customer=_,p.contacts=y,(0,f.netAddkehu)(p).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});else uni.showToast({title:"请选择跟进时间",icon:"none",duration:2e3});else uni.showToast({title:"请选择跟进类型",icon:"none",duration:2e3})}else uni.showToast({title:"请选择所在位置",icon:"none",duration:2e3});else uni.showToast({title:"请填写客户名称",icon:"none",duration:2e3})})),r)};t.default=v},"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")},"3fc3":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={uPopup:n("de5b").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("u-popup",{attrs:{mode:"bottom","border-radius":e.borderRadius,popup:!1,maskCloseAble:e.maskCloseAble,length:"auto",safeAreaInsetBottom:e.safeAreaInsetBottom,"z-index":e.uZIndex},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.popupClose.apply(void 0,arguments)}},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},[e.tips.text?n("v-uni-view",{staticClass:"u-tips u-border-bottom",style:[e.tipsStyle]},[e._v(e._s(e.tips.text))]):e._e(),e._l(e.list,(function(t,i){return[n("v-uni-view",{key:i+"_0",staticClass:"u-action-sheet-item u-line-1",class:[i<e.list.length-1?"u-border-bottom":""],style:[e.itemStyle(i)],attrs:{"hover-stay-time":150},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t)},click:function(t){arguments[0]=t=e.$handleEvent(t),e.itemClick(i)}}},[n("v-uni-text",[e._v(e._s(t.text))]),t.subText?n("v-uni-text",{staticClass:"u-action-sheet-item__subtext u-line-1"},[e._v(e._s(t.subText))]):e._e()],1)]})),e.cancelBtn?n("v-uni-view",{staticClass:"u-gab"}):e._e(),e.cancelBtn?n("v-uni-view",{staticClass:"u-actionsheet-cancel u-action-sheet-item",attrs:{"hover-class":"u-hover-class","hover-stay-time":150},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t)},click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[e._v(e._s(e.cancelText))]):e._e()],2)},o=[]},4733:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(Array.isArray(e))return(0,i.default)(e)};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("8d0b"))},"57d3":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa");var i={name:"u-action-sheet",props:{maskCloseAble:{type:Boolean,default:!0},list:{type:Array,default:function(){return[]}},tips:{type:Object,default:function(){return{text:"",color:"",fontSize:"26"}}},cancelBtn:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},value:{type:Boolean,default:!1},borderRadius:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:0},cancelText:{type:String,default:"取消"}},computed:{tipsStyle:function(){var e={};return this.tips.color&&(e.color=this.tips.color),this.tips.fontSize&&(e.fontSize=this.tips.fontSize+"rpx"),e},itemStyle:function(){var e=this;return function(t){var n={};return e.list[t].color&&(n.color=e.list[t].color),e.list[t].fontSize&&(n.fontSize=e.list[t].fontSize+"rpx"),e.list[t].disabled&&(n.color="#c0c4cc"),n}},uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},methods:{close:function(){this.popupClose(),this.$emit("close")},popupClose:function(){this.$emit("input",!1)},itemClick:function(e){this.list[e].disabled||(this.$emit("click",e),this.$emit("input",!1))}}};t.default=i},"5c6a":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.u-tips[data-v-921eb322]{font-size:%?26?%;text-align:center;padding:%?34?% 0;line-height:1;color:#909399}.u-action-sheet-item[data-v-921eb322]{display:flex;flex-direction:row;line-height:1;justify-content:center;align-items:center;font-size:%?32?%;padding:%?34?% 0;flex-direction:column}.u-action-sheet-item__subtext[data-v-921eb322]{font-size:%?24?%;color:#909399;margin-top:%?20?%}.u-gab[data-v-921eb322]{height:%?12?%;background-color:#eaeaec}.u-actionsheet-cancel[data-v-921eb322]{color:#303133}',""]),e.exports=t},"66a4":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={uActionSheet:n("d8f3").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"},[n("v-uni-input",{staticClass:"nameinput",attrs:{type:"text",placeholder:"输入客户名称","placeholder-style":"color:#999;font-size:32rpx;"},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:{margin:"0 15rpx 0 0"},attrs:{id:"img",src:e.BASE_IMG_URL+"chachong.png",mode:"scaleToFill"}}),n("v-uni-view",{staticStyle:{color:"#008EFF","font-size":"26rpx"},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",{staticStyle:{color:"#999","font-size":"32rpx"}},[e._v("上级公司")]),n("v-uni-picker",{attrs:{disabled:e.parentDisabled,value:e.parentIndex,range:e.plist},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeParent.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",{class:e.parentName?"valueActive":""},[e._v(e._s(e.parentName?e.parentName:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),n("v-uni-view",{staticClass:"fllow_form",staticStyle:{color:"#999","font-size":"32rpx"}},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("地址定位")],1),n("v-uni-view",{staticClass:"form_right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.detailAddClick.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"location",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",staticStyle:{color:"#999","font-size":"32rpx"}},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("详细地址")],1),n("v-uni-view",{staticClass:"form_right"},[n("v-uni-input",{class:e.address_detail?"valueActive":"",attrs:{type:"text","placeholder-style":"font-size:30rpx;color: #999;",placeholder:"填写详细地址"},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-item1",{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:"linktab"},[n("v-uni-view",{staticClass:"info_head"},[e._v("首联系人")]),n("v-uni-view",{staticClass:"link_right"},[n("v-uni-view",{staticClass:"linkbtn",class:1==e.countryType?"linkbtnactive":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeCountry(1)}}},[e._v("国内")]),n("v-uni-view",{staticClass:"linkbtn",class:2==e.countryType?"linkbtnactive":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeCountry(2)}}},[e._v("国外")])],1)],1),n("v-uni-view",e._l(e.firstContactForm,(function(t,i){return n("form-item1",{key:i,attrs:{objInfo:t},on:{changeData:function(t){arguments[0]=t=e.$handleEvent(t),e.changeContactData.apply(void 0,arguments)}}})})),1),n("v-uni-view",{staticClass:"info_head"},[e._v("跟进任务")]),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("跟进类型")],1),n("v-uni-picker",{attrs:{value:e.followIndex,range:e.followList},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeFollow.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v(e._s(e.follow_type?e.follow_type:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("下次跟进时间")],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.uploadClick.apply(void 0,arguments)}}},[n("v-uni-view",[e._v("选择附件")]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),0!=e.imgList.length?n("v-uni-view",{staticClass:"imglist"},e._l(e.imgList,(function(t,i){return n("v-uni-view",{key:e.index,staticClass:"imgbox"},[n("v-uni-image",{staticClass:"delimg",attrs:{src:e.BASE_IMG_URL+"close.png",mode:"scaleToFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delImg(i)}}}),n("v-uni-image",{staticClass:"selfimg",attrs:{src:t.url,mode:"scaleToFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openCommonImg(e.imgList,i)}}})],1)})),1):e._e(),0!=e.fileList.length?n("v-uni-view",{staticClass:"fllow_file_li"},e._l(e.fileList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"fil_li"},[n("v-uni-image",{staticClass:"fileimg",attrs:{src:e.BASE_IMG_URL+"fujian.png",mode:"scaleToFill"}}),n("v-uni-view",{staticClass:"filename",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.openCommonFile(t)}}},[e._v(e._s(t.name))]),n("v-uni-image",{staticClass:"closeimg",attrs:{src:e.BASE_IMG_URL+"close.png",mode:"scaleToFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delFile(i)}}})],1)})),1):e._e(),n("v-uni-view",{staticClass:"fllow_area"},[n("v-uni-view",{staticClass:"area_head"},[n("v-uni-text",[e._v("*")]),e._v("跟进内容")],1),n("v-uni-textarea",{attrs:{value:e.content,placeholder:"勤跟进,多签单","placeholder-style":"color:#999"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.changeContent.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"affiliation"},[n("v-uni-view",{staticClass:"aff_head"},[e._v("提醒谁看")]),n("v-uni-view",{staticClass:"aff_con"},[e._l(e.remindPeople,(function(t,i){return n("v-uni-view",{key:i,staticClass:"aff_item affbox"},[t.isDel?n("v-uni-image",{staticClass:"delremind",attrs:{src:e.BASE_IMG_URL+"close.png",mode:"scaleToFill"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delRemind(i)}}}):e._e(),n("v-uni-image",{attrs:{src:t.img?t.img:e.BASE_IMG_URL+"headImg.png",mode:"scaleToFill"}}),n("v-uni-view",[e._v(e._s(t.name))])],1)})),n("v-uni-view",{staticClass:"aff_last",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.moreClick.apply(void 0,arguments)}}},[n("v-uni-image",{attrs:{src:e.BASE_IMG_URL+"morebtn.png",mode:"scaleToFill"}})],1)],2)],1),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.$noMultipleClicks(e.subSave)}}},[e._v("保存")]),n("u-action-sheet",{attrs:{list:e.uploadActions},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadType.apply(void 0,arguments)}},model:{value:e.uploadShow,callback:function(t){e.uploadShow=t},expression:"uploadShow"}})],2)},o=[]},8312:function(e,t,n){"use strict";n.r(t);var i=n("66a4"),a=n("cc08");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("a327");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"4aabd1f0",null,!1,i["a"],void 0);t["default"]=s.exports},a309:function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */#img[data-v-4aabd1f0]{float:left;margin-right:%?15?%}.linktab[data-v-4aabd1f0]{padding:%?0?% %?24?% %?20?% 0;display:flex;justify-content:space-between;align-items:center}.linktab .link_right[data-v-4aabd1f0]{display:flex;justify-content:flex-end;align-items:center;margin-top:%?15?%}.linktab .link_right .linkbtn[data-v-4aabd1f0]{margin-right:%?15?%;width:%?120?%;height:%?60?%;border-radius:%?45?%;font-size:%?24?%;color:#666;text-align:center;line-height:%?58?%;border:%?1?% solid #ddd}.linktab .link_right .linkbtnactive[data-v-4aabd1f0]{background:#008eff;border:%?1?% solid #008eff;color:#fff}.valueActive[data-v-4aabd1f0]{color:#333}.affiliation[data-v-4aabd1f0]{background-color:#fff;margin-bottom:%?20?%;padding-bottom:%?40?%}.affiliation .aff_head[data-v-4aabd1f0]{font-size:%?32?%;color:#999;height:%?100?%;line-height:%?100?%;padding-left:%?50?%}.affiliation .aff_con[data-v-4aabd1f0]{display:flex;text-align:center;flex-wrap:wrap}.affiliation .aff_con .aff_item[data-v-4aabd1f0]{width:%?100?%;margin-right:%?15?%;margin-bottom:%?15?%}.affiliation .aff_con .aff_item uni-image[data-v-4aabd1f0]{margin-bottom:%?15?%;width:%?60?%;height:%?60?%;border-radius:50%}.affiliation .aff_con .affbox[data-v-4aabd1f0]{position:relative}.affiliation .aff_con .affbox .delremind[data-v-4aabd1f0]{width:%?32?%;height:%?32?%;border-radius:50%;position:absolute;right:%?-16?%;top:%?-16?%;background:rgba(0,0,0,.5);z-index:2}.affiliation .aff_con .aff_last uni-image[data-v-4aabd1f0]{margin-bottom:%?15?%;width:%?48?%;height:%?48?%}.imglist[data-v-4aabd1f0]{padding:%?24?% %?34?%;background:#fff;border-bottom:%?1?% solid #eaeaea;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.imglist .imgbox[data-v-4aabd1f0]{width:%?160?%;height:%?160?%;margin-right:%?14?%;position:relative;margin-bottom:%?24?%;border:%?1?% solid #eaeaea}.imglist .imgbox .delimg[data-v-4aabd1f0]{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[data-v-4aabd1f0]{width:%?160?%;height:%?160?%}.fllow_file_li[data-v-4aabd1f0]{padding:%?24?% %?34?%;background:#fff;border-bottom:%?1?% solid #eaeaea}.fllow_file_li .fil_li[data-v-4aabd1f0]{display:flex;justify-content:space-between;align-items:center;margin-bottom:%?14?%}.fllow_file_li .fil_li .fileimg[data-v-4aabd1f0]{width:%?20?%;height:%?20?%}.fllow_file_li .fil_li .filename[data-v-4aabd1f0]{font-size:%?24?%;color:#999}.fllow_file_li .fil_li .closeimg[data-v-4aabd1f0]{width:%?32?%;height:%?32?%}.create_customer[data-v-4aabd1f0]{font-size:%?28?%}.create_customer .info_head[data-v-4aabd1f0]{height:%?80?%;line-height:%?80?%;font-size:%?30?%;color:#999;padding-left:%?50?%}.create_customer .mar_top[data-v-4aabd1f0]{margin-top:%?30?%}.create_customer .fllow_form[data-v-4aabd1f0]{display:flex;justify-content:space-between;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?30?% %?40?% %?30?% %?50?%;font-size:%?32?%;color:#999}.create_customer .fllow_form .nameinput[data-v-4aabd1f0]{width:%?500?%}.create_customer .fllow_form .form_right[data-v-4aabd1f0]{display:flex;color:#999;text-align:right}.create_customer .fllow_form .form_right .location[data-v-4aabd1f0]{width:%?300?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.create_customer .fllow_form .form_right uni-image[data-v-4aabd1f0]{width:%?40?%;height:%?40?%;margin:%?28?% %?5?% 0 0}.create_customer .fllow_form .theme[data-v-4aabd1f0]{color:#5ca9fe}.create_customer .fllow_form uni-text[data-v-4aabd1f0]{color:red;margin-left:%?10?%}.create_customer .fllow_form .form_input uni-input[data-v-4aabd1f0]{width:%?300?%;text-align:right;height:%?100?%;line-height:%?100?%;text-align:right;margin-right:%?10?%}.create_customer .fllow_area[data-v-4aabd1f0]{background-color:#fff;padding:0 %?30?% 0 %?50?%;margin-bottom:%?30?%}.create_customer .fllow_area .area_head[data-v-4aabd1f0]{height:%?100?%;line-height:%?100?%;color:#999;font-size:%?32?%}.create_customer .fllow_area .area_head uni-text[data-v-4aabd1f0]{color:red}.create_customer .fllow_area uni-textarea[data-v-4aabd1f0]{margin:0 auto;width:95%;height:%?300?%}#btn[data-v-4aabd1f0]{width:%?500?%;height:%?88?%;background:#008eff;border-radius:%?29?%;font-size:%?34?%;color:#fff;line-height:%?88?%}',""]),e.exports=t},a327:function(e,t,n){"use strict";var i=n("046f"),a=n.n(i);a.a},b7c7:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)||(0,a.default)(e)||(0,o.default)(e)||(0,r.default)()};var i=s(n("4733")),a=s(n("d14d")),o=s(n("5d6b")),r=s(n("30f7"));function s(e){return e&&e.__esModule?e:{default:e}}},cc08:function(e,t,n){"use strict";n.r(t);var i=n("3370"),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},d14d:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("08eb")},d8f3:function(e,t,n){"use strict";n.r(t);var i=n("3fc3"),a=n("dbf6");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("3221");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"921eb322",null,!1,i["a"],void 0);t["default"]=s.exports},dbf6:function(e,t,n){"use strict";n.r(t);var i=n("57d3"),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},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}}]);