text: webpackJsonp([9],{"+ste":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),r=a.n(s),o=a("woOf"),i=a.n(o),n=a("KQHe"),l=(a("tLvy"),a("LkbC")),c=a("TIfe"),m=a("zmr2"),u=a("EAZf"),p=a.n(u),_=a("VI/i"),d=a.n(_),h=a("7t+N"),b=a.n(h),f={status:"draft",title:"",content:"",content_short:"",source_uri:"",image_uri:"",source_name:"",display_time:void 0,id:void 0,platforms:["a-platform"],comment_disabled:!1},v=function(t,e){var a,s,r;try{s=t.toString().split(".")[1].length}catch(t){s=0}try{r=e.toString().split(".")[1].length}catch(t){r=0}return a=Math.pow(10,Math.max(s,r)),parseInt((t*a+e*a)/a*1e4)/1e4},g={name:"articleDetail",components:{Upload:n.a,Viewer:p.a},data:function(){var t=this,e=function(e,a,s){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),s(null)):s()},a=function(t,e,a){return e?/^(0|[1-9][0-9]*)$/.test(e)?a():a(new Error("请填写正确信息")):a(new Error("此项为必填项"))},s=function(t,e,a){return e?/^(0|[1-9][0-9]*)$/.test(e)?a():a(new Error("请填写正确信息")):a()},r=function(t,e,a){return e?a():a(new Error("此项为必填项"))},o=function(t,e,a){return e?/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(e)?a():a(new Error("请填写正确信息")):a(new Error("此项为必填项"))},n=function(t,e,a){return e?/^1[34578]\d{9}$/.test(e)?a():a(new Error("请填写正确信息")):a(new Error("此项为必填项"))};return{videoSrc:"",aliUploadHost:"",aliUploadHost2:"",imgDir:"",imgDir2:"",imgData:{},imgData2:{},img_add:{},img_delete:{},imgDialog:!1,resResult:[],resImages:[],imgTypes:[{index:1,title:"身份证"},{index:2,title:"授权书"},{index:3,title:"征信报告"},{index:4,title:"户口本"},{index:5,title:"房产证明"},{index:6,title:"银行流水"},{index:12,title:"驾驶证"},{index:13,title:"公司合同"},{index:14,title:"收入证明"},{index:15,title:"其他"},{index:18,title:"车商资料"},{index:7,title:"家访视频"},{index:8,title:"面签视频"}],imgSelectVal:1,customerData:{customer_name:"",customer_sex:"",customer_age:"",customer_certificate_number:"",customer_telephone:null,hukou:"",customer_address:"",customer_marital_status:"1",customer_has_bondsman:"1",customer_company_phone_number:"",customer_company_name:"",company_address:"",spouse_name:"",spouse_certificate_number:"",spouse_telephone:"",spouse_company_telephone:"",spouse_company_name:"",constract_no:"",product_class_number:"XC",car_brand:"",car_type:"",car_price:"",car_vehicle_identification_number:"",loan_bank:"03",loan_prize:"",loan_date:"12个月",first_pay:"",first_pay_ratio:"",loan_rate:"",has_insurance:"1",commercial_insurance:"",compulsory_insurance:"",vehicle_vessel_tax:"",gross_premium:"",total_expense:"",inputrequest_description:"",bondsman_name:"",bondsman_certificate_number:"",bondsman_telephone:"",bondsman_company_telephone:"",bondsman_company_name:"",bondsman_company_address:"",bondsman_spouse_name:"",bondsman_spouse_idcard:"",inquire_result:"1",inquire_description:"",product_name:"",salesman_city:"",visitor_name:"",merchant_name:"",salesman_name:"",create_time:"",contacts_man_name:"",contacts_man_relationship:"1",contacts_man_certificate_number:"",contacts_man_telephone:"",carshop_name:"",carshop_address:"",loan_card:"信用卡贷款",token:Object(c.a)(),work_id:this.$route.query.id,item_instance_id:this.$route.query.item_instance_id,type:1,imgs:""},zcFlag:!0,tjFlag:!0,requestData:{token:Object(c.a)(),work_id:this.$route.query.id,item_instance_id:this.$route.query.item_instance_id},route_name:this.$route.name,auditProcess:[],labelwidth:"76px",space:"200px",divgutter:20,cartype:"1",imgs1:[],imgs2:[],postForm:i()({},f),fetchSuccess:!0,loading:!1,userLIstOptions:[],isEdit:!1,platformsOptions:[{key:"a-platform",name:"a-platform"},{key:"b-platform",name:"b-platform"},{key:"c-platform",name:"c-platform"}],rules:{image_uri:[{validator:e}],title:[{validator:e}],content:[{validator:e}],source_uri:[{validator:function(e,a,s){a?validateURL(a)?s():(t.$message({message:"外链url填写不正确",type:"error"}),s(null)):s()}}],customer_name:[{validator:r,trigger:"blur"}],spouse_name:[{validator:r,trigger:"blur"}],spouse_certificate_number:[{validator:o,trigger:"blur"}],customer_certificate_number:[{validator:o,trigger:"blur"}],customer_telephone:[{validator:n,trigger:"blur"}],hukou:[{validator:r,trigger:"blur"}],customer_address:[{validator:r,trigger:"blur"}],customer_company_name:[{validator:r,trigger:"blur"}],spouse_telephone:[{validator:n,trigger:"blur"}],car_brand:[{validator:r,trigger:"blur"}],car_type:[{validator:r,trigger:"blur"}],car_price:[{validator:a,trigger:"blur"}],car_vehicle_identification_number:[{validator:function(t,e,a){return e?/^[a-zA-Z0-9]{17}$/.test(e)?a():a(new Error("此项为17数字和字母组合")):a(new Error("此项为必填项"))},trigger:"blur"}],first_pay:[{validator:a,trigger:"change"}],loan_prize:[{validator:a,trigger:"change"}],loan_rate:[{validator:function(t,e,a){return e?/^(0|[1-9][0-9]*)(\.\d{1,2})?$/.test(e)?a():a(new Error("请填写正确的信息")):a(new Error("此项为必填项"))},trigger:"blur"}],bondsman_name:[{validator:r,trigger:"blur"}],bondsman_certificate_number:[{validator:o,trigger:"blur"}],bondsman_telephone:[{validator:n,trigger:"blur"}],commercial_insurance:[{validator:s,trigger:"blur"}],compulsory_insurance:[{validator:s,trigger:"blur"}],vehicle_vessel_tax:[{validator:s,trigger:"blur"}],total_expense:[{validator:function(t,e,a){return e?/^(0|[1-9][0-9]*)(\.\d{1,2})?$/.test(e)?a():a(new Error("请填写正确的信息")):a()},trigger:"blur"}]}}},computed:{imgSum:function(){var t={1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,12:0,13:0,14:0,15:0,18:0};for(var e in this.resImages){var a=this.resImages[e].file_class_id;t.hasOwnProperty(a)&&t[a]++}return t},thisUploadType:function(){return"7"==this.imgSelectVal||"8"==this.imgSelectVal?"video/*":"image/*"},imgShow:function(){var t=[];for(var e in this.resImages)this.resImages[e].file_class_id==this.imgSelectVal&&t.push(this.resImages[e]);return t},imgDataRequest:function(){return 7==this.imgSelectVal||8==this.imgSelectVal?this.imgData2:this.imgData},imgCompleted:function(){return this.imgShow.length>0&&(7!=this.imgSelectVal&&8!=this.imgSelectVal)},videoCompleted:function(){return 7==this.imgSelectVal||8==this.imgSelectVal},pagedata:function(){var t={add:this.img_add,delete:this.img_delete};return{timea:null,token:Object(c.a)(),work_id:this.$route.query.id,type:1,customer_name:this.customerData.customer_name,customer_sex:this.discriCardSex,customer_age:this.discriCardAge,customer_certificate_number:this.customerData.customer_certificate_number,customer_telephone:this.customerData.customer_telephone,hukou:this.customerData.hukou,customer_address:this.customerData.customer_address,customer_marital_status:this.customerData.customer_marital_status,customer_has_bondsman:this.customerData.customer_has_bondsman,customer_company_phone_number:this.customerData.customer_company_phone_number,customer_company_name:this.customerData.customer_company_name,company_address:this.customerData.company_address,spouse_name:this.customerData.spouse_name,spouse_certificate_number:this.customerData.spouse_certificate_number,spouse_telephone:this.customerData.spouse_telephone,spouse_company_telephone:this.customerData.spouse_company_telephone,spouse_company_name:this.customerData.spouse_company_name,constract_no:this.customerData.constract_no,product_class_number:this.customerData.product_class_number,car_brand:this.customerData.car_brand,car_type:this.customerData.car_type,car_price:this.customerData.car_price,car_vehicle_identification_number:this.customerData.car_vehicle_identification_number,loan_bank:this.customerData.loan_bank,loan_prize:this.customerData.loan_prize,loan_date:this.customerData.loan_date,first_pay:this.customerData.first_pay,loan_rate:this.customerData.loan_rate,has_insurance:this.customerData.has_insurance,insurance_company:this.customerData.insurance_company,commercial_insurance:this.customerData.commercial_insurance,compulsory_insurance:this.customerData.compulsory_insurance,vehicle_vessel_tax:this.customerData.vehicle_vessel_tax,total_expense:this.customerData.total_expense,inputrequest_description:this.customerData.inputrequest_description,bondsman_name:this.customerData.bondsman_name,bondsman_certificate_number:this.customerData.bondsman_certificate_number,bondsman_telephone:this.customerData.bondsman_telephone,bondsman_company_telephone:this.customerData.bondsman_company_telephone,bondsman_company_name:this.customerData.bondsman_company_name,bondsman_company_address:this.customerData.bondsman_company_address,bondsman_spouse_name:this.customerData.bondsman_spouse_name,bondsman_spouse_idcard:this.customerData.bondsman_spouse_idcard,contacts_man_name:this.customerData.contacts_man_name,contacts_man_relationship:this.customerData.contacts_man_relationship,contacts_man_certificate_number:this.customerData.contacts_man_certificate_number,contacts_man_telephone:this.customerData.contacts_man_telephone,first_pay_ratio:this.firstPayRatio,gross_premium:this.grossPremium,carshop_name:this.customerData.carshop_name,carshop_address:this.customerData.carshop_address,imgs:r()(t)}},nowDay:function(){function t(t){return t<10?"0"+t:t}var e=new Date(1e3*this.customerData.create_time),a=e.getFullYear(),s=e.getMonth()+1,r=e.getDate(),o=e.getHours(),i=e.getMinutes(),n=e.getSeconds();return a+"-"+t(s)+"-"+t(r)+" "+t(o)+":"+t(i)+":"+t(n)},contentShortLength:function(){return this.postForm.content_short.length},firstPayRatio:function(){if(this.customerData.car_price&&/^[1-9]\d*$/.test(this.customerData.car_price)&&""!=this.customerData.car_price&&this.customerData.first_pay&&/^[1-9]\d*$/.test(this.customerData.first_pay)&&""!=this.customerData.first_pay){var t=Number(this.customerData.first_pay)/Number(this.customerData.car_price)*100;return this.customerData.first_pay_ratio=t.toFixed(2)}return this.customerData.first_pay_ratio=""},grossPremium:function(){this.customerData.gross_premium;var t,e,a=this.customerData.commercial_insurance,s=this.customerData.compulsory_insurance,r=this.customerData.vehicle_vessel_tax;return""!=a&&/^(0|[1-9][0-9]*)$/.test(a)||(a=0),0!=s&&/^(0|[1-9][0-9]*)$/.test(s)||(s=0),""!=r&&/^(0|[1-9][0-9]*)$/.test(r)||(r=0),""==a&&""==s&&""==r?"":/^(0|[1-9][0-9]*)$/.test(a)||/^(0|[1-9][0-9]*)$/.test(s)||/^(0|[1-9][0-9]*)$/.test(r)?(t=v(Number(a),Number(s)),e=v(t,Number(r)).toFixed(2),e):""},customerDataRequest:function(){var t=this.customerData,e={add:this.img_add,delete:this.img_delete};return t.img=r()(e),t},customerMaritalStatus:function(){return"2"==this.customerData.customer_marital_status||"3"==this.customerData.customer_marital_status||"4"==this.customerData.customer_marital_status},discriCardAge:function(){var t=this.customerData.customer_certificate_number,e=this.customerData.customer_age;if(/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(t)){t.substring(6,10),t.substring(10,12),t.substring(12,14);var a=new Date,s=a.getMonth()+1,r=a.getDate(),o=a.getFullYear()-t.substring(6,10)-1;return(t.substring(10,12)<s||t.substring(10,12)==s&&t.substring(12,14)<=r)&&o++,e=o}return e},discriCardSex:function(){var t=this.customerData.customer_certificate_number,e=this.customerData.customer_sex;return/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(t)?e=parseInt(t.substr(16,1))%2==1?"男":"女":e}},created:function(){this.getDetailInfo(),this.getAuditProcess(),this.getImgs(),this.getUploadForm(),this.getUploadForm2()},filters:{imgSumFilter:function(t,e,a){var s="";return s=7==a||8==a?"段":"张",t+"("+e+s+")"},statusFilter:function(t){return{published:"success",draft:"info",deleted:"danger"}[t]},typeFilter:function(t){return calendarTypeKeyValue[t]},productType:function(t){return"XC"==t?"新车":"二手车"},auditResult:function(t){return"1"==t?"通过":"2"==t?"未通过":"3"==t?"未征信":void 0},hasBondsman:function(t){return"1"==t?"有担保人":"无担保人"},maritalStatus:function(t){return"1"==t?"已婚":"2"==t?"未婚":"3"==t?"离婚":"4"==t?"丧偶":void 0},hasInsurance:function(t){return"1"==t?"有保险":"无保险"},FormatDate:function(t,e){function a(t){return t<10?"0"+t:t}var s=new Date(1e3*t),r=s.getFullYear(),o=s.getMonth()+1,i=s.getDate(),n=s.getHours(),l=s.getMinutes(),c=s.getSeconds(),m=r+"."+a(o)+"."+a(i),u=a(n)+":"+a(l)+":"+a(c);return"1"==e?m:"2"==e?u:void 0}},methods:{uploadCar:function(){this.imgDialog=!0,setTimeout(function(){b()(".imgmenuitem[dataindex=18]").click()},200)},imgDownload:function(){var t=this,e={data:{token:Object(c.a)(),work_id:t.$route.query.id},success:function(e){200==e.error_no?location.href=e.result:t.$alert(e.error_msg,"下载失败",{confirmButtonText:"确定"})},error:function(t){}};m.a.getImgDownload(e)},delImg:function(){var t=b()(".viewer-active>img").attr("data-index"),e={org:this.imgShow[t].thumb_file,src:this.imgShow[t].file_path,alt:function(t){var e=t.split("/");return e[e.length-1].split(".")[0]}(this.imgShow[t].file_path)};this.imgShow[t].hasOwnProperty("id")&&(e.id=this.imgShow[t].id),this.img_delete.hasOwnProperty(this.imgSelectVal)||(this.img_delete[this.imgSelectVal]={source_type:"image",source_lists:[]}),this.img_delete[this.imgSelectVal].source_lists.push(e);for(var a in this.resImages)if(this.resImages[a].file_id==e.alt){this.resImages.splice(a,1);break}},getUploadForm:function(){var t=this,e={data:{file_type:"image",project:"anjie"},success:function(e){var a=e.result;t.aliUploadHost=a.host,t.imgDir=a.dir,t.imgData.policy=a.policy,t.imgData.OSSAccessKeyId=a.accessid,t.imgData.success_action_status=200,t.imgData.callback=a.callback,t.imgData["x-oss-security-token"]=a.token,t.imgData["x-oss-object-acl"]=a.acl,t.imgData.signature=a.signature},error:function(t){}};m.a.uploadForm(e)},getUploadForm2:function(){var t=this,e={data:{file_type:"video",project:"anjie"},success:function(e){var a=e.result;t.aliUploadHost2=a.host,t.imgDir2=a.dir,t.imgData2.policy=a.policy,t.imgData2.OSSAccessKeyId=a.accessid,t.imgData2.success_action_status=200,t.imgData2.callback=a.callback,t.imgData2["x-oss-security-token"]=a.token,t.imgData2["x-oss-object-acl"]=a.acl,t.imgData2.signature=a.signature},error:function(t){}};m.a.uploadForm(e)},uploadSuccess:function(t,e,a){if(!this.img_add.hasOwnProperty(this.imgSelectVal)){var s="image";"7"!=this.imgSelectVal&&"8"!=this.imgSelectVal||(s="video"),this.img_add[this.imgSelectVal]={source_type:s,source_lists:[]}}var r={obj:[],obj1:[]};for(var o in a){var i={org:a[o].response.result.url,src:a[o].response.result.url,alt:a[o].response.result.fid},n={file_class_id:this.imgSelectVal,file_id:a[o].response.result.fid,file_path:a[o].response.result.url,thumb_file:a[o].response.result.url};r.obj.push(i),r.obj1.push(n)}for(var o in r.obj)this.img_add[this.imgSelectVal].source_lists.push(r.obj[o]);for(var o in r.obj1)this.resImages.push(r.obj1[o]);this.$refs.upload.clearFiles()},beforeUpload:function(t){var e="image/bmp"===t.type||"image/jpeg"===t.type||"image/png"===t.type,a=/^(video\/)/.test(t.type),s=(t.size,t.name.split(".")[0]+t.uid),r=t.name.split(".")[1].toLowerCase(),o=d.a.createHash("md5");if(o.update(s),7==this.imgSelectVal||8==this.imgSelectVal){if(!a)return this.$message.error("上传视频只能是 MP4/MPG/MOV/AVI 格式!"),!1;this.imgData2.name=o.digest("hex")+"."+r,this.imgData2.key=this.imgDir2+this.imgData2.name}else{if(!e)return this.$message.error("上传图片只能是 JPG/PNG/BMP 格式!"),!1;this.imgData.name=o.digest("hex")+"."+r,this.imgData.key=this.imgDir+this.imgData.name}},imgChange:function(t){this.imgSelectVal=t},videoChange:function(t,e){this.videoSrc=t},imgModal:function(){this.imgDialog=!0,setTimeout(function(){b()(".imgmenuitem[dataindex=1]").click()},200)},getImgs:function(){var t=this,e={data:t.requestData,success:function(e){200==e.error_no&&(t.resResult=e.result,t.resImages=e.result)},error:function(t){}};m.a.getListImgs(e)},getDetailInfo:function(){var t=this,e={data:this.requestData,success:function(e){200==e.error_no?(t.customerData.customer_name=e.result.customer_name,t.customerData.customer_sex=e.result.customer_sex,t.customerData.customer_age=e.result.customer_age,t.customerData.hukou=e.result.hukou,t.customerData.customer_certificate_number=e.result.customer_certificate_number,""==e.result.customer_has_bondsman||null==e.result.customer_has_bondsman?t.customerData.customer_has_bondsman="1":t.customerData.customer_has_bondsman=e.result.customer_has_bondsman,t.customerData.customer_telephone=e.result.customer_telephone,t.customerData.customer_company_phone_number=e.result.customer_company_phone_number,""==e.result.customer_marital_status||null==e.result.customer_marital_status?t.customerData.customer_marital_status="1":t.customerData.customer_marital_status=e.result.customer_marital_status,t.customerData.customer_company_name=e.result.customer_company_name,t.customerData.company_address=e.result.company_address,t.customerData.customer_address=e.result.customer_address,t.customerData.spouse_name=e.result.spouse_name,t.customerData.spouse_certificate_number=e.result.spouse_certificate_number,t.customerData.spouse_telephone=e.result.spouse_telephone,t.customerData.spouse_company_telephone=e.result.spouse_company_telephone,t.customerData.spouse_company_name=e.result.spouse_company_name,""==e.result.contacts_man_relationship||null==e.result.contacts_man_relationship?t.customerData.contacts_man_relationship="":t.customerData.contacts_man_relationship=e.result.contacts_man_relationship,t.customerData.contacts_man_name=e.result.contacts_man_name,t.customerData.contacts_man_certificate_number=e.result.contacts_man_certificate_number,t.customerData.contacts_man_telephone=e.result.contacts_man_telephone,t.customerData.bondsman_name=e.result.bondsman_name,t.customerData.bondsman_certificate_number=e.result.bondsman_certificate_number,t.customerData.bondsman_telephone=e.result.bondsman_telephone,t.customerData.bondsman_company_telephone=e.result.bondsman_company_telephone,t.customerData.bondsman_company_name=e.result.bondsman_company_name,t.customerData.bondsman_company_address=e.result.bondsman_company_address,t.customerData.bondsman_spouse_name=e.result.bondsman_spouse_name,t.customerData.bondsman_spouse_idcard=e.result.bondsman_spouse_idcard,t.customerData.constract_no=e.result.constract_no,t.customerData.car_brand=e.result.car_brand,""==e.result.product_class_number||null==e.result.product_class_number?t.customerData.product_class_number="XC":t.customerData.product_class_number=e.result.product_class_number,t.customerData.car_type=e.result.car_type,null==e.result.car_price?t.customerData.car_price="":t.customerData.car_price=e.result.car_price,t.customerData.car_vehicle_identification_number=e.result.car_vehicle_identification_number,""==e.result.loan_bank||null==e.result.loan_bank?t.customerData.loan_bank="03":t.customerData.loan_bank=e.result.loan_bank,null==e.result.loan_prize?t.customerData.loan_prize="":t.customerData.loan_prize=e.result.loan_prize,""==e.result.loan_date||null==e.result.loan_date?t.customerData.loan_date="":t.customerData.loan_date=e.result.loan_date,null==e.result.first_pay?t.customerData.first_pay="":t.customerData.first_pay=e.result.first_pay,t.customerData.first_pay_ratio=e.result.first_pay_ratio,t.customerData.loan_rate=e.result.loan_rate,""==e.result.has_insurance||null==e.result.has_insurance?t.customerData.has_insurance="1":t.customerData.has_insurance=e.result.has_insurance,null==e.result.commercial_insurance?t.customerData.commercial_insurance="":t.customerData.commercial_insurance=e.result.commercial_insurance,null==e.result.compulsory_insurance?t.customerData.compulsory_insurance="":t.customerData.compulsory_insurance=e.result.compulsory_insurance,null==e.result.vehicle_vessel_tax?t.customerData.vehicle_vessel_tax="":t.customerData.vehicle_vessel_tax=e.result.vehicle_vessel_tax,t.customerData.insurance_company=e.result.insurance_company,t.customerData.gross_premium=e.result.gross_premium,t.customerData.carshop_name=e.result.carshop_name,t.customerData.carshop_address=e.result.carshop_address,t.customerData.total_expense=e.result.total_expense,t.customerData.inputrequest_description=e.result.inputrequest_description,t.customerData.inquire_result=e.result.inquire_result,""==e.result.inquire_description||null==e.result.inquire_description?t.customerData.inquire_description="无":t.customerData.inquire_description=e.result.inquire_description,t.customerData.product_name=e.result.product_name,t.customerData.salesman_city=e.result.salesman_city,t.customerData.visitor_name=e.result.visitor_name,t.customerData.merchant_name=e.result.merchant_name,t.customerData.salesman_name=e.result.salesman_name,t.customerData.create_time=e.result.create_time):alert(e.error_msg)},error:function(){}};m.a.getArtificalOneDetail(e)},getAuditProcess:function(){var t=this,e={data:this.requestData,success:function(e){if(200==e.error_no){var a=e.result;a.forEach(function(t,e){""!=t.msg&&null!=t.msg||("1"==t.status&&(t.msg="已认领"),"4"==t.status&&(t.msg="待认领"),"2"==t.status&&"1"==t.task_status&&(t.msg="审核已通过"),"2"==t.status&&"2"==t.task_status&&(t.msg="已拒件"))}),t.auditProcess=a}else t.$alert(e.error_msg,"风控初审",{confirmButtonText:"确定",beforeClose:function(t,e,a){a()}})},error:function(){}};m.a.getAuditProcess(e)},submitInfo:function(t,e){var a=this,s=this.pagedata;s.type=e,"detailinputrequest"!=this.$route.name&&"detailsalessupplement"!=this.$route.name||(s.item_instance_id=this.$route.query.item_instance_id);var r={data:s,success:function(t){if(200==t.error_no){var e=t.error_msg;2==s.type&&(e="暂存成功"),a.$alert(e,"申请录入",{confirmButtonText:"确定",beforeClose:function(t,e,s){a.zcFlag=!0,a.tjFlag=!0,s(),"detailsalessupplement"==a.$route.name?a.$router.push({path:"/work/salessupplement",query:{searchtype:"2"}}):"changetask"==a.$route.name?a.$router.push({path:"/taskquery/taskquerymanager"}):a.$router.push({path:"/work/inputrequest",query:{searchtype:"2"}})}})}else a.zcFlag=!0,a.tjFlag=!0,a.$alert(t.error_msg,"申请录入",{confirmButtonText:"确定",beforeClose:function(t,e,a){a()}})},error:function(){}};this.$confirm("是否确定提交","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){1==s.type?a.$refs.customerData.validate(function(t){t?a.tjFlag&&(a.tjFlag=!1,"changetask"==a.$route.name?m.a.changetask(r):"detailsalessupplement"==a.$route.name?m.a.salesSupplement(r):m.a.basicInfo(r)):a.$alert("信息不完整,请检查信息","申请录入",{confirmButtonText:"确定"})}):2==s.type&&a.zcFlag&&(a.zcFlag=!1,m.a.basicInfo(r))}).catch(function(){})},show:function(){this.$el.querySelector(".images").$viewer.show()},draftForm:function(){0!==this.postForm.content.length&&0!==this.postForm.title.length?(this.$message({message:"保存成功",type:"success",showClose:!0,duration:1e3}),this.postForm.status="draft"):this.$message({message:"请填写必要的标题和内容",type:"warning"})},getRemoteUserList:function(t){var e=this;Object(l.a)(t).then(function(t){t.data.items&&(e.userLIstOptions=t.data.items.map(function(t){return{key:t.name}}))})}},watch:{imgSelectVal:function(t){if(7==t||8==t){for(var e in this.resImages)if(this.resImages[e].file_class_id==t){this.videoSrc=this.resImages[e].file_path;break}}else this.videoSrc=""},"customerData.first_pay":function(t,e){var a=/^(0|[1-9][0-9]*)$/;a.test(this.customerData.car_price)&&a.test(this.customerData.first_pay)?this.customerData.loan_prize=Number(this.customerData.car_price)-Number(this.customerData.first_pay):this.customerData.loan_prize=""},"customerData.loan_prize":function(t,e){var a=/^(0|[1-9][0-9]*)$/;a.test(this.customerData.car_price)&&a.test(this.customerData.loan_prize)?this.customerData.first_pay=Number(this.customerData.car_price)-Number(this.customerData.loan_prize):this.customerData.first_pay=""}}},D={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container inputrequest"},[a("el-form",{ref:"customerData",staticClass:"form-container",attrs:{model:t.customerData,rules:t.rules}},[a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{staticClass:"left",staticStyle:{padding:"40px"},attrs:{span:13}},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:16}},[a("h2",[t._v("客户基本资料")])]),t._v(" "),a("el-col",{attrs:{span:7}},[a("h2",[a("el-button",{attrs:{type:"primary"},on:{click:t.imgModal}},[a("svg-icon",{staticStyle:{"margin-right":"10px","vertical-align":"middle",width:"18px",height:"12px"},attrs:{"icon-class":"video"}}),t._v("客户影像资料")],1)],1)])],1),t._v(" "),a("el-row",{staticClass:"resoursces",attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("h3",{staticClass:"sub-title"},[t._v("来源信息")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"产品类型"}},[a("span",{domProps:{textContent:t._s(t.customerData.product_name)}})])],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"申请件来源"}},[a("span",{domProps:{textContent:t._s(t.customerData.merchant_name)}})])],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"业务地区"}},[a("span",{domProps:{textContent:t._s(t.customerData.salesman_city)}})])],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"业务人员"}},[a("span",{domProps:{textContent:t._s(t.customerData.salesman_name)}})])],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"家访人员"}},[a("span",{domProps:{textContent:t._s(t.customerData.visitor_name)}})])],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"申请时间"}},[a("span",{domProps:{textContent:t._s(t.nowDay)}})])],1)],1)],1)]),t._v(" "),a("el-col",{attrs:{span:12}},[a("h3",{staticClass:"sub-title"},[t._v("人行征信")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"征信结果"}},[a("span",[t._v(t._s(t._f("auditResult")(t.customerData.inquire_result)))])])],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"备注"}},[a("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:5,disabled:"disabled"},model:{value:t.customerData.inquire_description,callback:function(e){t.$set(t.customerData,"inquire_description",e)},expression:"customerData.inquire_description"}})],1)],1)],1)],1)])],1),t._v(" "),a("h3",{staticClass:"sub-title"},[t._v("基本信息")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"姓名",prop:"customer_name"}},[a("el-input",{attrs:{placeholder:"请输入姓名(必填)"},model:{value:t.customerData.customer_name,callback:function(e){t.$set(t.customerData,"customer_name",e)},expression:"customerData.customer_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{height:"66px"}},[a("span",[t._v(t._s(t.discriCardSex)+" / "+t._s(t.discriCardAge)+" 岁")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"身份证号",prop:"customer_certificate_number"}},[a("el-input",{attrs:{placeholder:"请输入身份证号(必填)"},model:{value:t.customerData.customer_certificate_number,callback:function(e){t.$set(t.customerData,"customer_certificate_number",e)},expression:"customerData.customer_certificate_number"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"手机号",prop:"customer_telephone"}},[a("el-input",{attrs:{placeholder:"请输入手机号(必填)"},model:{value:t.customerData.customer_telephone,callback:function(e){t.$set(t.customerData,"customer_telephone",e)},expression:"customerData.customer_telephone"}})],1)],1),t._v(" "),a("el-col",{staticStyle:{"padding-left":"0"},attrs:{span:24}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"户口所在地",prop:"hukou"}},[a("el-input",{attrs:{placeholder:"请输入户口所在地(必填)"},model:{value:t.customerData.hukou,callback:function(e){t.$set(t.customerData,"hukou",e)},expression:"customerData.hukou"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"居住地址",prop:"customer_address"}},[a("el-input",{attrs:{placeholder:"请输入居住地址(必填)"},model:{value:t.customerData.customer_address,callback:function(e){t.$set(t.customerData,"customer_address",e)},expression:"customerData.customer_address"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"婚姻状况"}},[a("el-select",{staticClass:"filter-item",staticStyle:{width:"100%"},model:{value:t.customerData.customer_marital_status,callback:function(e){t.$set(t.customerData,"customer_marital_status",e)},expression:"customerData.customer_marital_status"}},[a("el-option",{attrs:{label:"已婚",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"未婚",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"离婚",value:"3"}}),t._v(" "),a("el-option",{attrs:{label:"丧偶",value:"4"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item select",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"担保人"}},[a("el-radio",{attrs:{label:"1"},model:{value:t.customerData.customer_has_bondsman,callback:function(e){t.$set(t.customerData,"customer_has_bondsman",e)},expression:"customerData.customer_has_bondsman"}},[t._v("有担保人")]),t._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.customerData.customer_has_bondsman,callback:function(e){t.$set(t.customerData,"customer_has_bondsman",e)},expression:"customerData.customer_has_bondsman"}},[t._v("无担保人")])],1)],1),t._v(" "),a("el-col",{staticStyle:{"padding-left":"0"},attrs:{span:24}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"单位电话"}},[a("el-input",{attrs:{placeholder:"请输入单位电话(选填)"},model:{value:t.customerData.customer_company_phone_number,callback:function(e){t.$set(t.customerData,"customer_company_phone_number",e)},expression:"customerData.customer_company_phone_number"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"工作单位",prop:"customer_company_name"}},[a("el-input",{attrs:{placeholder:"请输入工作单位(必填)"},model:{value:t.customerData.customer_company_name,callback:function(e){t.$set(t.customerData,"customer_company_name",e)},expression:"customerData.customer_company_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"单位地址"}},[a("el-input",{attrs:{placeholder:"请输入单位地址(选填)"},model:{value:t.customerData.company_address,callback:function(e){t.$set(t.customerData,"company_address",e)},expression:"customerData.company_address"}})],1)],1)],1)],1),t._v(" "),"1"==t.customerData.customer_marital_status?a("h3",{staticClass:"sub-title"},[t._v("配偶信息")]):t._e(),t._v(" "),"1"==t.customerData.customer_marital_status?a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"配偶姓名:",prop:"spouse_name"}},[a("el-input",{attrs:{placeholder:"请输入配偶姓名(必填)"},model:{value:t.customerData.spouse_name,callback:function(e){t.$set(t.customerData,"spouse_name",e)},expression:"customerData.spouse_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"身份证号",prop:"spouse_certificate_number"}},[a("el-input",{attrs:{placeholder:"请输入配偶身份证号(必填)"},model:{value:t.customerData.spouse_certificate_number,callback:function(e){t.$set(t.customerData,"spouse_certificate_number",e)},expression:"customerData.spouse_certificate_number"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"手机号",prop:"spouse_telephone"}},[a("el-input",{attrs:{placeholder:"请输入配偶的手机号(必填)"},model:{value:t.customerData.spouse_telephone,callback:function(e){t.$set(t.customerData,"spouse_telephone",e)},expression:"customerData.spouse_telephone"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"单位电话"}},[a("el-input",{attrs:{placeholder:"请输入单位电话(选填)"},model:{value:t.customerData.spouse_company_telephone,callback:function(e){t.$set(t.customerData,"spouse_company_telephone",e)},expression:"customerData.spouse_company_telephone"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"工作单位"}},[a("el-input",{attrs:{placeholder:"请输入工作单位(选填)"},model:{value:t.customerData.spouse_company_name,callback:function(e){t.$set(t.customerData,"spouse_company_name",e)},expression:"customerData.spouse_company_name"}})],1)],1)],1)],1):t._e(),t._v(" "),t.customerMaritalStatus?a("h3",{staticClass:"sub-title"},[t._v("联系人信息")]):t._e(),t._v(" "),t.customerMaritalStatus?a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"联系人姓名:"}},[a("el-input",{attrs:{placeholder:"请输入姓名(选填)"},model:{value:t.customerData.contacts_man_name,callback:function(e){t.$set(t.customerData,"contacts_man_name",e)},expression:"customerData.contacts_man_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"关系"}},[a("el-select",{staticClass:"filter-item",staticStyle:{width:"100%"},model:{value:t.customerData.contacts_man_relationship,callback:function(e){t.$set(t.customerData,"contacts_man_relationship",e)},expression:"customerData.contacts_man_relationship"}},[a("el-option",{attrs:{label:"父母",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"朋友",value:"2"}}),t._v(" "),a("el-option",{attrs:{label:"亲戚",value:"3"}}),t._v(" "),a("el-option",{attrs:{label:"其他",value:"4"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"身份证号"}},[a("el-input",{attrs:{placeholder:"请输入身份证号(选填)"},model:{value:t.customerData.contacts_man_certificate_number,callback:function(e){t.$set(t.customerData,"contacts_man_certificate_number",e)},expression:"customerData.contacts_man_certificate_number"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"手机号"}},[a("el-input",{attrs:{placeholder:"请输入手机号(选填)"},model:{value:t.customerData.contacts_man_telephone,callback:function(e){t.$set(t.customerData,"contacts_man_telephone",e)},expression:"customerData.contacts_man_telephone"}})],1)],1)],1)],1):t._e(),t._v(" "),1==t.customerData.customer_has_bondsman?a("div",{staticClass:"postInfo-container"},[a("h3",{staticClass:"sub-title"},[t._v("担保人信息")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"担保人姓名",prop:"bondsman_name"}},[a("el-input",{attrs:{placeholder:"请输入姓名(必填)"},model:{value:t.customerData.bondsman_name,callback:function(e){t.$set(t.customerData,"bondsman_name",e)},expression:"customerData.bondsman_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"身份证号",prop:"bondsman_certificate_number"}},[a("el-input",{attrs:{placeholder:"请输入身份证号(必填)"},model:{value:t.customerData.bondsman_certificate_number,callback:function(e){t.$set(t.customerData,"bondsman_certificate_number",e)},expression:"customerData.bondsman_certificate_number"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"手机号",prop:"bondsman_telephone"}},[a("el-input",{attrs:{placeholder:"请输入手机号(必填)"},model:{value:t.customerData.bondsman_telephone,callback:function(e){t.$set(t.customerData,"bondsman_telephone",e)},expression:"customerData.bondsman_telephone"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"单位电话"}},[a("el-input",{attrs:{placeholder:"请输入单位电话(选填)"},model:{value:t.customerData.bondsman_company_telephone,callback:function(e){t.$set(t.customerData,"bondsman_company_telephone",e)},expression:"customerData.bondsman_company_telephone"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"工作单位"}},[a("el-input",{attrs:{placeholder:"请输入工作单位(选填)"},model:{value:t.customerData.bondsman_company_name,callback:function(e){t.$set(t.customerData,"bondsman_company_name",e)},expression:"customerData.bondsman_company_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"单位地址"}},[a("el-input",{attrs:{placeholder:"请输入单位地址(选填)"},model:{value:t.customerData.bondsman_company_address,callback:function(e){t.$set(t.customerData,"bondsman_company_address",e)},expression:"customerData.bondsman_company_address"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"配偶姓名"}},[a("el-input",{attrs:{placeholder:"请输入姓名(选填)"},model:{value:t.customerData.bondsman_spouse_name,callback:function(e){t.$set(t.customerData,"bondsman_spouse_name",e)},expression:"customerData.bondsman_spouse_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"身份证号"}},[a("el-input",{attrs:{placeholder:"请输入身份证号(选填)"},model:{value:t.customerData.bondsman_spouse_idcard,callback:function(e){t.$set(t.customerData,"bondsman_spouse_idcard",e)},expression:"customerData.bondsman_spouse_idcard"}})],1)],1)],1)],1)]):t._e(),t._v(" "),a("h3",{staticClass:"sub-title"},[t._v("商品信息")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"合同编号"}},[a("el-input",{attrs:{placeholder:"请输入合同编号(选填)"},model:{value:t.customerData.constract_no,callback:function(e){t.$set(t.customerData,"constract_no",e)},expression:"customerData.constract_no"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item select",staticStyle:{width:"100%",height:"56px"},attrs:{"label-width":t.labelwidth,label:"车辆类型"}},[a("el-radio",{attrs:{label:"XC"},model:{value:t.customerData.product_class_number,callback:function(e){t.$set(t.customerData,"product_class_number",e)},expression:"customerData.product_class_number"}},[t._v("新车")]),t._v(" "),a("el-radio",{attrs:{label:"ES"},model:{value:t.customerData.product_class_number,callback:function(e){t.$set(t.customerData,"product_class_number",e)},expression:"customerData.product_class_number"}},[t._v("二手车")])],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车辆品牌",prop:"car_brand"}},[a("el-input",{attrs:{placeholder:"请输入车辆品牌(必填)"},model:{value:t.customerData.car_brand,callback:function(e){t.$set(t.customerData,"car_brand",e)},expression:"customerData.car_brand"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车辆型号",prop:"car_type"}},[a("el-input",{attrs:{placeholder:"请输入车辆型号(必填)"},model:{value:t.customerData.car_type,callback:function(e){t.$set(t.customerData,"car_type",e)},expression:"customerData.car_type"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车辆价格",prop:"car_price"}},[a("el-input",{attrs:{placeholder:"请输入车辆价格(必填)"},model:{value:t.customerData.car_price,callback:function(e){t.$set(t.customerData,"car_price",e)},expression:"customerData.car_price"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车架号",prop:"car_vehicle_identification_number"}},[a("el-input",{attrs:{placeholder:"请输入车架号(必填)"},model:{value:t.customerData.car_vehicle_identification_number,callback:function(e){t.$set(t.customerData,"car_vehicle_identification_number",e)},expression:"customerData.car_vehicle_identification_number"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款银行"}},[a("el-select",{staticClass:"filter-item",staticStyle:{width:"100%"},attrs:{placeholder:""},model:{value:t.customerData.loan_bank,callback:function(e){t.$set(t.customerData,"loan_bank",e)},expression:"customerData.loan_bank"}},[a("el-option",{attrs:{label:"临沂经开行",value:"03"}}),t._v(" "),a("el-option",{attrs:{label:"济南市中工行",value:"01"}}),t._v(" "),a("el-option",{attrs:{label:"济南乐源支行",value:"02"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款形式"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:t.customerData.loan_card,callback:function(e){t.$set(t.customerData,"loan_card",e)},expression:"customerData.loan_card"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款金额",prop:"loan_prize"}},[a("el-input",{attrs:{placeholder:"请输入贷款金额(必填)"},model:{value:t.customerData.loan_prize,callback:function(e){t.$set(t.customerData,"loan_prize",e)},expression:"customerData.loan_prize"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款期数"}},[a("el-select",{staticClass:"filter-item",staticStyle:{width:"100%"},attrs:{placeholder:"贷款期数"},model:{value:t.customerData.loan_date,callback:function(e){t.$set(t.customerData,"loan_date",e)},expression:"customerData.loan_date"}},[a("el-option",{attrs:{label:"12个月",value:"12个月"}}),t._v(" "),a("el-option",{attrs:{label:"24个月",value:"24个月"}}),t._v(" "),a("el-option",{attrs:{label:"36个月",value:"36个月"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"首付款",prop:"first_pay"}},[a("el-input",{attrs:{placeholder:"请输入首付款(必填)"},model:{value:t.customerData.first_pay,callback:function(e){t.$set(t.customerData,"first_pay",e)},expression:"customerData.first_pay"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"首付比例"}},[a("el-input",{attrs:{placeholder:"首付比例自动计算",disabled:"disabled"},model:{value:t.firstPayRatio,callback:function(e){t.firstPayRatio=e},expression:"firstPayRatio"}},[a("template",{slot:"append"},[t._v("%")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"利率",prop:"loan_rate"}},[a("el-input",{attrs:{placeholder:"请输入利率(必填)"},model:{value:t.customerData.loan_rate,callback:function(e){t.$set(t.customerData,"loan_rate",e)},expression:"customerData.loan_rate"}},[a("template",{slot:"append"},[t._v("%")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item select",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"有无保险"}},[a("el-radio",{attrs:{label:"1"},model:{value:t.customerData.has_insurance,callback:function(e){t.$set(t.customerData,"has_insurance",e)},expression:"customerData.has_insurance"}},[t._v("有保险")]),t._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:t.customerData.has_insurance,callback:function(e){t.$set(t.customerData,"has_insurance",e)},expression:"customerData.has_insurance"}},[t._v("无保险")])],1)],1)],1)],1),t._v(" "),1==t.customerData.has_insurance?a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"保险公司"}},[a("el-input",{attrs:{placeholder:"请输入保险公司(选填)"},model:{value:t.customerData.insurance_company,callback:function(e){t.$set(t.customerData,"insurance_company",e)},expression:"customerData.insurance_company"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"商业险",prop:"commercial_insurance"}},[a("el-input",{attrs:{placeholder:"请输入商业险(选填)"},model:{value:t.customerData.commercial_insurance,callback:function(e){t.$set(t.customerData,"commercial_insurance",e)},expression:"customerData.commercial_insurance"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"交强险",prop:"compulsory_insurance"}},[a("el-input",{attrs:{placeholder:"请输入交强险(选填)"},model:{value:t.customerData.compulsory_insurance,callback:function(e){t.$set(t.customerData,"compulsory_insurance",e)},expression:"customerData.compulsory_insurance"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车船税",prop:"vehicle_vessel_tax"}},[a("el-input",{attrs:{placeholder:"请输入车船税(选填)"},model:{value:t.customerData.vehicle_vessel_tax,callback:function(e){t.$set(t.customerData,"vehicle_vessel_tax",e)},expression:"customerData.vehicle_vessel_tax"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"保费总额"}},[a("el-input",{attrs:{placeholder:"自动计算",disabled:"disabled"},model:{value:t.grossPremium,callback:function(e){t.grossPremium=e},expression:"grossPremium"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1)],1)],1):t._e(),t._v(" "),a("h3",{staticClass:"sub-title"},[t._v("车行信息"),a("el-button",{staticStyle:{float:"right","margin-right":"8%",padding:"6px 4px"},attrs:{type:"primary"},on:{click:t.uploadCar}},[t._v("上传车商资料照片")])],1),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车行名称"}},[a("el-input",{attrs:{placeholder:"请输入车行名称(选填)"},model:{value:t.customerData.carshop_name,callback:function(e){t.$set(t.customerData,"carshop_name",e)},expression:"customerData.carshop_name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车行地址"}},[a("el-input",{attrs:{placeholder:"请输入车行地址(选填)"},model:{value:t.customerData.carshop_address,callback:function(e){t.$set(t.customerData,"carshop_address",e)},expression:"customerData.carshop_address"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:24}})],1)],1),t._v(" "),a("h3",{staticClass:"sub-title"},[t._v("费用信息")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"费用合计",prop:"total_expense"}},[a("el-input",{attrs:{placeholder:"请输入家访费、调查费等费用总额(选填)"},model:{value:t.customerData.total_expense,callback:function(e){t.$set(t.customerData,"total_expense",e)},expression:"customerData.total_expense"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1)],1)],1),t._v(" "),a("h3",{staticClass:"sub-title"},[t._v("备注信息")]),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:24}},[a("el-input",{attrs:{type:"textarea",rows:5,placeholder:"(选填)"},model:{value:t.customerData.inputrequest_description,callback:function(e){t.$set(t.customerData,"inputrequest_description",e)},expression:"customerData.inputrequest_description"}})],1)],1)],1),t._v(" "),a("div",{staticStyle:{overflow:"hidden","padding-top":"10px"}},[a("el-button",{staticStyle:{float:"right",width:"120px",height:"40px"},attrs:{type:"primary"},on:{click:function(e){t.submitInfo("customerData",1)}}},[t._v("提交")]),t._v(" "),"detailinputrequest"==this.$route.name?a("el-button",{staticStyle:{float:"right",width:"120px",height:"40px","margin-right":"40px"},on:{click:function(e){t.submitInfo("customerData",2)}}},[t._v("暂存")]):t._e()],1)],1),t._v(" "),a("el-col",{staticClass:"right",staticStyle:{padding:"40px"},attrs:{span:10,gutter:t.divgutter}},[a("h3",[t._v("审核流程")]),t._v(" "),a("div",{staticStyle:{position:"relative"}},[a("el-steps",{attrs:{direction:"vertical","process-status":"success"}},t._l(t.auditProcess,function(e,s){return a("el-step",{staticClass:"step-pl"},[""!=e.name?a("template",{slot:"title"},[t._v(t._s(e.task_title)+"("+t._s(e.name)+")")]):a("template",{slot:"title"},[t._v(t._s(e.task_title)+t._s(e.name))]),t._v(" "),a("template",{slot:"title"},[a("span",{staticClass:"step-date-fl"},[t._v(t._s(t._f("FormatDate")(e.create_time,"1",e.create_time)))]),t._v(" "),a("span",{staticClass:"step-time-fl"},[t._v(t._s(t._f("FormatDate")(e.create_time,"2",e.create_time)))])]),t._v(" "),a("template",{slot:"description"},[a("div",{staticStyle:{"padding-bottom":"40px"},domProps:{innerHTML:t._s(e.msg)}})]),t._v(" "),s==t.auditProcess.length-1?a("template",{slot:"icon"},[a("svg-icon",{staticStyle:{width:"18px",height:"18px"},attrs:{"icon-class":"finish1"}})],1):a("template",{slot:"icon"},[a("svg-icon",{staticStyle:{width:"18px",height:"18px"},attrs:{"icon-class":"finish"}})],1)],2)}))],1)])],1)],1)]),t._v(" "),a("el-dialog",{attrs:{title:"影像资料",visible:t.imgDialog,width:"990px"},on:{"update:visible":function(e){t.imgDialog=e}}},[a("div",{staticStyle:{position:"absolute",left:"100px",top:"15px"}},[a("span",[t._v("（")]),a("span",{staticStyle:{"text-decoration":"underline",color:"#bdc2cb",cursor:"pointer"},on:{click:t.imgDownload}},[t._v("打包下载")]),a("span",[t._v("）")])]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-upload",{ref:"upload",staticClass:"upload-demo",staticStyle:{"text-align":"right"},attrs:{action:t.aliUploadHost,data:t.imgDataRequest,accept:t.thisUploadType,"on-remove":t.handleRemove,"on-success":t.uploadSuccess,"before-remove":t.beforeRemove,"before-upload":t.beforeUpload,multiple:!0,limit:100,"show-file-list":!1}},[a("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击上传")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:6,id:"selectMenu"}},[a("el-menu",{ref:"selectMenu",staticClass:"el-menu-vertical-demo",attrs:{index:t.imgSelectVal,"default-active":1},on:{select:t.imgChange}},[t._l(t.imgTypes,function(e){return[1==e.index?a("div",{staticStyle:{"padding-left":"20px","font-size":"18px",height:"40px","line-height":"40px","font-weight":"bold"}},[t._v("照片")]):t._e(),t._v(" "),7==e.index?a("div",{staticStyle:{"padding-left":"20px","font-size":"18px",height:"40px","line-height":"40px","font-weight":"bold"}},[t._v("视频")]):t._e(),t._v(" "),a("el-menu-item",{staticClass:"imgmenuitem",staticStyle:{height:"30px","line-height":"30px"},attrs:{index:e.index,dataindex:e.index}},[a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t._f("imgSumFilter")(e.title,t.imgSum[e.index],e.index)))])])]})],2)],1),t._v(" "),a("el-col",{attrs:{span:18}},[t.imgCompleted?[a("el-button",{staticStyle:{position:"absolute",right:"0",bottom:"60px","z-index":"999"},attrs:{size:"small",type:"primary"},on:{click:t.delImg}},[t._v("删除当前图片")])]:t._e(),t._v(" "),a("div",{staticStyle:{width:"100%",height:"616px","background-color":"#F6F7FA"}},[t.imgCompleted?[a("div",{directives:[{name:"viewer",rawName:"v-viewer",value:{movable:!0,inline:!0,navbar:!0,url:"data-original"},expression:"{movable: true,inline: true,navbar: true,url: 'data-original'}"}],staticClass:"images"},t._l(t.imgShow,function(t){return a("img",{key:t.file_id,staticStyle:{width:"100px",height:"200px",display:"none"},attrs:{src:t.thumb_file,"data-original":t.file_path}})}))]:t._e(),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.videoCompleted,expression:"videoCompleted"}]},[a("div",{staticStyle:{width:"100%",height:"555px"}},[a("video",{attrs:{id:"mainVideo",width:"100%",src:t.videoSrc,height:"100%",controls:""}},[a("source",{attrs:{src:t.videoSrc,type:"video/mp4"}})])]),t._v(" "),t.videoCompleted?a("div",{staticStyle:{"border-top":"1px solid #ffffff",width:"100%",height:"65px"}},[a("div",{staticStyle:{position:"relative",width:"100%",height:"84px","overflow-x":"scroll","overflow-y":"hidden"}},[a("ul",{staticStyle:{position:"absolute",top:"0",padding:"0",height:"60px",margin:"0"}},t._l(t.imgShow,function(e){return a("li",{staticStyle:{position:"relative",width:"60px",height:"60px",display:"inline-block"}},[a("div",{staticClass:"videoMeng",staticStyle:{width:"100%",height:"100%",position:"absolute",top:"0","z-index":"1000"},attrs:{"data-id":e.file_id,"data-src":e.file_path},on:{click:function(a){t.videoChange(e.file_path,e.file_id)}}}),t._v(" "),a("video",{staticClass:"list-video",attrs:{width:"60",height:"60"}},[a("source",{attrs:{src:e.file_path,type:"video/mp4"}})])])}))])]):t._e()])],2)],2)],1)],1)],1)},staticRenderFns:[]},y=a("VU/8")(g,D,!1,function(t){a("oNhc"),a("mR7S")},"data-v-cd26bbde",null);e.default=y.exports},"2JuK":function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,"\nbody{ background:#F2F5F9;\n}\n.left,.right{ background: #fff;\n}\n.right{ margin-left: 10px;\n}\n.el-form-item__label{\n    \ttext-align: left;\n    \tpadding:0px;\n}\n.el-row-pl{ padding-left: 0;\n}\n.el-form-item{\n  \t/*margin-bottom: 10px;*/\n  \tfont-size: 14px;\n\t\tcolor: #4A4A4A;\n}\n.mb{ margin-bottom: 25px;\n}\n.el-step__icon.is-text {\n    border-radius: 0;\n    border: none;\n    border-color: inherit;\n}\n.el-step__icon{\n\t  width: 18px;\n    height: 18px;\n}\n.el-step.is-vertical .el-step__line{\n\t  width: 2px;\n    top: 0;\n    bottom: 0;\n    left: 8px;\n}\n.el-step__title{\n\tfont-size: 18px;\n}\n.el-step__title.is-wait{\n\tcolor: #4A4A4A;\n}\n.el-step__description{\n\tfont-size: 14px;\n}\n.el-step__description.is-wait{\n\tcolor: #9B9B9B;\n}\n.inputrequest .postInfo-container-item .el-form-item__label{\n   \tline-height: 36px;\n   \tcolor:#4A4A4A;\n}\n.inputrequest  .resoursces .postInfo-container-item  .el-form-item__label{\n   \tline-height: normal;\n}\n\t/*.inputrequest .select .el-form-item__content{\n   \tline-height: 36px;\n   \tcolor:#4A4A4A;\n  }*/\n.inputrequest .postInfo-container-item .el-form-item__content{\n   \tline-height: 36px;\n   \tmargin-bottom: 20px;\n   \tcolor:#4A4A4A;\n}\n.inputrequest  .resoursces .postInfo-container-item .el-form-item__content{\n   \tline-height: normal;\n   \tmargin-bottom: 20px;\n   \tcolor:#4A4A4A;\n}\n.el-input__inner{\n\n\t\theight: 36px;\n}\n.createPost-main-container .el-input{\n\t\twidth: 100%;\n}\n.postInfo-container .el-form-item{\n\t\tmargin-bottom: 0px;\n}\n.el-step.is-vertical .el-step__title{\n\t\tpadding-bottom: 20px;\n}\n.el-textarea.is-disabled .el-textarea__inner{\n\t\tcolor:#4A4A4A;\n}\n.el-input.is-disabled .el-input__inner{\n\t\tcolor:#4A4A4A;\n}\n",""])},MftT:function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,'\n@charset "UTF-8";\n.title-prompt[data-v-cd26bbde] {\n  position: absolute;\n  right: 0px;\n  font-size: 12px;\n  top: 10px;\n  color: #ff4949;\n}\n.createPost-container[data-v-cd26bbde] {\n  position: relative;\n  /*来源信息公用样式*/\n  /*右侧部分的内容*/\n}\n.createPost-container .createPost-main-container[data-v-cd26bbde] {\n    padding: 15px 10px 20px 40px;\n}\n.createPost-container .createPost-main-container .postInfo-container[data-v-cd26bbde] {\n      position: relative;\n      margin-bottom: 10px;\n}\n.createPost-container .createPost-main-container .postInfo-container[data-v-cd26bbde]:after {\n        content: "";\n        display: table;\n        clear: both;\n}\n.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-cd26bbde] {\n        float: left;\n}\n.createPost-container .createPost-main-container .editor-container[data-v-cd26bbde] {\n      min-height: 500px;\n      margin: 0 0 30px;\n}\n.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-cd26bbde] {\n        text-align: right;\n        margin-right: 10px;\n}\n.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-cd26bbde] {\n          display: inline-block;\n}\n.createPost-container .sub-title[data-v-cd26bbde] {\n    margin-bottom: 30px;\n    margin-top: 20px;\n    color: #4A4A4A;\n}\n.createPost-container .word-counter[data-v-cd26bbde] {\n    width: 40px;\n    position: absolute;\n    right: -10px;\n    top: 0px;\n}\n.createPost-container .pl[data-v-cd26bbde] {\n    width: 100%;\n    padding-left: 10px;\n    padding-right: 10px;\n    font-size: 14px;\n    color: #4A4A4A;\n    margin-bottom: 22px;\n    position: relative;\n}\n.createPost-container .pl span[data-v-cd26bbde] {\n    display: inline-block;\n}\n.createPost-container .pl .title[data-v-cd26bbde] {\n    position: absolute;\n}\n.createPost-container .pl .text[data-v-cd26bbde] {\n    /*\tmargin-left: 95px;*/\n}\n.createPost-container .step-pl[data-v-cd26bbde] {\n    padding-left: 113px;\n    position: relative;\n}\n.createPost-container .step-date-fl[data-v-cd26bbde] {\n    position: absolute;\n    left: 2px;\n    font-size: 18px;\n    color: #4A4A4A;\n}\n.createPost-container .step-time-fl[data-v-cd26bbde] {\n    position: absolute;\n    left: 35px;\n    font-size: 14px;\n    color: #4A4A4A;\n    top: 30px;\n}\n',""])},mR7S:function(t,e,a){var s=a("2JuK");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("rjj0")("77bb0b02",s,!0)},oNhc:function(t,e,a){var s=a("MftT");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("rjj0")("58a299be",s,!0)}});