|
- import{h as I,a as b,f as Y}from"./uploadAction.d4782c23.js";import{d as M,y as S,s as T,f as i,g as j,c as A,e,w as l,v as a,h as s,b as y}from"./index.a7edfbd5.js";const k={class:"policyInfo"},w=s("\u226550\u4E07\u5143"),x=s(" <50\u4E07\u5143 "),z=s("\u22652\u4E07\u5143/\u5EA7"),B=s(" <2\u4E07\u5143/\u5EA7 "),C=s("\u5DF2\u8D2D\u4E70"),F=s("\u672A\u8D2D\u4E70"),N=s("\u226512\u5E74"),E=s(" <12\u5E74"),O=s("\u226520\u4E07\u516C\u91CC"),q=s(" <20\u4E07\u516C\u91CC"),G=y("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),H=s("1\u5E74"),J=y("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),K=s("1\u5E74"),L=y("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),Q=s("1\u5E74"),R=y("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1),W=s("1\u5E74"),X=M({name:"policyInfo"}),ee=Object.assign(X,{props:{formData:{type:Object,default:()=>{}}},emits:["updata:formData"],setup(h,{emit:D}){const U=h,f=S.dictStore.uploadUrl,o=T({get(){return U.formData},set(v){D("updata:formData",v)}});return(v,n)=>{const P=i("el-input"),d=i("el-form-item"),r=i("el-col"),c=i("el-row"),u=i("el-radio"),p=i("el-radio-group"),m=i("Plus"),_=i("el-icon"),g=i("el-upload"),V=i("el-date-picker");return j(),A("div",k,[e(c,{gutter:30},{default:l(()=>[e(r,{span:12},{default:l(()=>[e(d,{label:"\u4FDD\u9669\u91D1\u989D",prop:"insuredAmount"},{default:l(()=>[e(P,{modelValue:a(o).insuredAmount,"onUpdate:modelValue":n[0]||(n[0]=t=>a(o).insuredAmount=t),type:"number",placeholder:"\u8BF7\u8F93\u5165\u4FDD\u9669\u91D1\u989D"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,{gutter:30},{default:l(()=>[e(r,{span:8},{default:l(()=>[e(d,{label:"\u7B2C\u4E09\u8005\u8D23\u4EFB\u9669",prop:"thirdInsurance"},{default:l(()=>[e(p,{modelValue:a(o).thirdInsurance,"onUpdate:modelValue":n[1]||(n[1]=t=>a(o).thirdInsurance=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[w]),_:1}),e(u,{label:2},{default:l(()=>[x]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u8F66\u4E0A\u4EBA\u5458\u8D23\u4EFB\u9669",prop:"personnelInsurance"},{default:l(()=>[e(p,{modelValue:a(o).personnelInsurance,"onUpdate:modelValue":n[2]||(n[2]=t=>a(o).personnelInsurance=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[z]),_:1}),e(u,{label:2},{default:l(()=>[B]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u4EA4\u5F3A\u9669",prop:"forcedInsurance"},{default:l(()=>[e(p,{modelValue:a(o).forcedInsurance,"onUpdate:modelValue":n[3]||(n[3]=t=>a(o).forcedInsurance=t)},{default:l(()=>[e(u,{label:!0},{default:l(()=>[C]),_:1}),e(u,{label:!1},{default:l(()=>[F]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u8F66\u9F84",prop:"vehicleAge"},{default:l(()=>[e(p,{modelValue:a(o).vehicleAge,"onUpdate:modelValue":n[4]||(n[4]=t=>a(o).vehicleAge=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[N]),_:1}),e(u,{label:2},{default:l(()=>[E]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u7D2F\u8BA1\u884C\u9A76\u91CC\u7A0B",prop:"mileage"},{default:l(()=>[e(p,{modelValue:a(o).mileage,"onUpdate:modelValue":n[5]||(n[5]=t=>a(o).mileage=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[O]),_:1}),e(u,{label:2},{default:l(()=>[q]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,{gutter:30},{default:l(()=>[e(r,{span:8},{default:l(()=>[e(d,{label:"\u4EA4\u5F3A\u9669\u4FDD\u5355\u7167\u7247",prop:"forcedInsurancePhoto"},{default:l(()=>[e(g,{"file-list":a(o).forcedInsurancePhoto,"onUpdate:file-list":n[6]||(n[6]=t=>a(o).forcedInsurancePhoto=t),class:"picture-card",action:a(f),"list-type":"picture-card",limit:10,"on-success":t=>a(I)(t,a(o).forcedInsurancePhoto),"on-error":a(b),"before-upload":t=>a(Y)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[G]),default:l(()=>[e(_,{class:"avatar-uploader-icon"},{default:l(()=>[e(m)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F",prop:"forcedInsuranceStartTime"},{default:l(()=>[e(V,{modelValue:a(o).forcedInsuranceStartTime,"onUpdate:modelValue":n[7]||(n[7]=t=>a(o).forcedInsuranceStartTime=t),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u6709\u6548\u671F\u9650",prop:"forcedInsuranceValidity"},{default:l(()=>[e(p,{modelValue:a(o).forcedInsuranceValidity,"onUpdate:modelValue":n[8]||(n[8]=t=>a(o).forcedInsuranceValidity=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[H]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,{gutter:30},{default:l(()=>[e(r,{span:8},{default:l(()=>[e(d,{label:"\u5546\u4E1A\u9669\u4FDD\u5355\u7167\u7247",prop:"commercialInsurancePhoto"},{default:l(()=>[e(g,{"file-list":a(o).commercialInsurancePhoto,"onUpdate:file-list":n[9]||(n[9]=t=>a(o).commercialInsurancePhoto=t),class:"picture-card",action:a(f),"list-type":"picture-card",limit:10,"on-success":t=>a(I)(t,a(o).commercialInsurancePhoto),"on-error":a(b),"before-upload":t=>a(Y)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[J]),default:l(()=>[e(_,{class:"avatar-uploader-icon"},{default:l(()=>[e(m)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F",prop:"commercialInsuranceStartTime"},{default:l(()=>[e(V,{modelValue:a(o).commercialInsuranceStartTime,"onUpdate:modelValue":n[10]||(n[10]=t=>a(o).commercialInsuranceStartTime=t),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u6709\u6548\u671F\u9650",prop:"commercialInsuranceValidity"},{default:l(()=>[e(p,{modelValue:a(o).commercialInsuranceValidity,"onUpdate:modelValue":n[11]||(n[11]=t=>a(o).commercialInsuranceValidity=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[K]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,{gutter:30},{default:l(()=>[e(r,{span:8},{default:l(()=>[e(d,{label:"\u67B6\u4E58\u9669\u7167\u7247",prop:"drivingInsurancePhoto"},{default:l(()=>[e(g,{"file-list":a(o).drivingInsurancePhoto,"onUpdate:file-list":n[12]||(n[12]=t=>a(o).drivingInsurancePhoto=t),class:"picture-card",action:a(f),"list-type":"picture-card",limit:10,"on-success":t=>a(I)(t,a(o).drivingInsurancePhoto),"on-error":a(b),"before-upload":t=>a(Y)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[L]),default:l(()=>[e(_,{class:"avatar-uploader-icon"},{default:l(()=>[e(m)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F",prop:"drivingInsuranceStartTime"},{default:l(()=>[e(V,{modelValue:a(o).drivingInsuranceStartTime,"onUpdate:modelValue":n[13]||(n[13]=t=>a(o).drivingInsuranceStartTime=t),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u6709\u6548\u671F\u9650",prop:"drivingInsuranceValidity"},{default:l(()=>[e(p,{modelValue:a(o).drivingInsuranceValidity,"onUpdate:modelValue":n[14]||(n[14]=t=>a(o).drivingInsuranceValidity=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[Q]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,{gutter:30},{default:l(()=>[e(r,{span:8},{default:l(()=>[e(d,{label:"\u7B2C\u4E09\u65B9\u8D23\u4EFB\u9669\u7167\u7247",prop:"thirdInsurancePhoto"},{default:l(()=>[e(g,{"file-list":a(o).thirdInsurancePhoto,"onUpdate:file-list":n[15]||(n[15]=t=>a(o).thirdInsurancePhoto=t),class:"picture-card",action:a(f),"list-type":"picture-card",limit:10,"on-success":t=>a(I)(t,a(o).thirdInsurancePhoto),"on-error":a(b),"before-upload":t=>a(Y)(t,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[R]),default:l(()=>[e(_,{class:"avatar-uploader-icon"},{default:l(()=>[e(m)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F",prop:"thirdInsuranceStartTime"},{default:l(()=>[e(V,{modelValue:a(o).thirdInsuranceStartTime,"onUpdate:modelValue":n[16]||(n[16]=t=>a(o).thirdInsuranceStartTime=t),type:"date",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:8},{default:l(()=>[e(d,{label:"\u6709\u6548\u671F\u9650",prop:"thirdInsuranceValidity"},{default:l(()=>[e(p,{modelValue:a(o).thirdInsuranceValidity,"onUpdate:modelValue":n[17]||(n[17]=t=>a(o).thirdInsuranceValidity=t)},{default:l(()=>[e(u,{label:1},{default:l(()=>[W]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{ee as default};
|