You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
5.8KB

  1. import{d as w,f as h,g as n,c as r,e as a,w as e,h as d,t as s,F as I,q as b,n as y,b as Y,v as k,M as P}from"./index.32194486.js";const x={class:"policyInfo"},M={key:0,class:"mt-8"},S={class:"image-slot"},T={key:1},B={key:0,class:"mt-8"},V={class:"image-slot"},j={key:1},C={key:0,class:"mt-8"},N={class:"image-slot"},A={key:1},F={key:0,class:"mt-8"},O={class:"image-slot"},q={key:1},E=w({name:"policyInfo"}),H=Object.assign(E,{props:{detailData:{type:Object,default:()=>{}}},setup(t){return(L,z)=>{const l=h("el-form-item"),i=h("el-col"),_=h("el-row"),D=h("Picture"),g=h("el-icon"),v=h("el-image");return n(),r("div",x,[a(_,{gutter:30},{default:e(()=>[a(i,{span:12},{default:e(()=>[a(l,{label:"\u4FDD\u9669\u91D1\u989D"},{default:e(()=>[d(s(t.detailData.insuredAmount||"-"),1)]),_:1})]),_:1})]),_:1}),a(_,{gutter:30},{default:e(()=>[a(i,{span:8},{default:e(()=>[a(l,{label:"\u7B2C\u4E09\u8005\u8D23\u4EFB\u9669"},{default:e(()=>[d(s({1:"\u226550\u4E07\u5143",2:"<50\u4E07\u5143"}[t.detailData.thirdInsurance]||"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u8F66\u4E0A\u4EBA\u5458\u8D23\u4EFB\u9669"},{default:e(()=>[d(s({1:"\u22652\u4E07\u5143/\u5EA7",2:"<2\u4E07\u5143/\u5EA7"}[t.detailData.personnelInsurance]||"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u4EA4\u5F3A\u9669"},{default:e(()=>[d(s(t.detailData.forcedInsurance?"\u5DF2\u8D2D\u4E70":"\u672A\u8D2D\u4E70"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u8F66\u9F84"},{default:e(()=>[d(s({1:"\u226512\u5E74",2:"<12\u5E74"}[t.detailData.vehicleAge]||"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u7D2F\u8BA1\u884C\u9A76\u91CC\u7A0B"},{default:e(()=>[d(s({1:"\u226520\u4E07\u516C\u91CC",2:"<20\u4E07\u516C\u91CC"}[t.detailData.mileage]||"-"),1)]),_:1})]),_:1})]),_:1}),a(_,{gutter:30},{default:e(()=>[a(i,{span:8},{default:e(()=>[a(l,{label:"\u4EA4\u5F3A\u9669\u4FDD\u5355\u7167\u7247"},{default:e(()=>{var c,u;return[(u=(c=t.detailData)==null?void 0:c.forcedInsurancePhoto)!=null&&u.length?(n(),r("div",M,[(n(!0),r(I,null,b(t.detailData.forcedInsurancePhoto,(f,o)=>(n(),y(v,{key:o,class:"imgBox mr-8",src:f.url,"initial-index":o,"preview-src-list":t.detailData.forcedInsurancePhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[Y("div",S,[a(g,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),r("span",T,"-"))]}),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[d(s(t.detailData.forcedInsuranceStartTime?k(P)(t.detailData.forcedInsuranceStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[d(s(t.detailData.forcedInsuranceValidity===1?"1\u5E74":"-"),1)]),_:1})]),_:1})]),_:1}),a(_,{gutter:30},{default:e(()=>[a(i,{span:8},{default:e(()=>[a(l,{label:"\u5546\u4E1A\u9669\u4FDD\u5355\u7167\u7247"},{default:e(()=>{var c,u;return[(u=(c=t.detailData)==null?void 0:c.commercialInsurancePhoto)!=null&&u.length?(n(),r("div",B,[(n(!0),r(I,null,b(t.detailData.commercialInsurancePhoto,(f,o)=>(n(),y(v,{key:o,class:"imgBox mr-8",src:f.url,"initial-index":o,"preview-src-list":t.detailData.commercialInsurancePhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[Y("div",V,[a(g,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),r("span",j,"-"))]}),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[d(s(t.detailData.commercialInsuranceStartTime?k(P)(t.detailData.commercialInsuranceStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[d(s(t.detailData.commercialInsuranceValidity===1?"1\u5E74":"-"),1)]),_:1})]),_:1})]),_:1}),a(_,{gutter:30},{default:e(()=>[a(i,{span:8},{default:e(()=>[a(l,{label:"\u67B6\u4E58\u9669\u7167\u7247"},{default:e(()=>{var c,u;return[(u=(c=t.detailData)==null?void 0:c.drivingInsurancePhoto)!=null&&u.length?(n(),r("div",C,[(n(!0),r(I,null,b(t.detailData.drivingInsurancePhoto,(f,o)=>(n(),y(v,{key:o,class:"imgBox mr-8",src:f.url,"initial-index":o,"preview-src-list":t.detailData.drivingInsurancePhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[Y("div",N,[a(g,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),r("span",A,"-"))]}),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[d(s(t.detailData.drivingInsuranceStartTime?k(P)(t.detailData.drivingInsuranceStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[d(s(t.detailData.drivingInsuranceValidity===1?"1\u5E74":"-"),1)]),_:1})]),_:1})]),_:1}),a(_,{gutter:30},{default:e(()=>[a(i,{span:8},{default:e(()=>[a(l,{label:"\u7B2C\u4E09\u65B9\u8D23\u4EFB\u9669\u7167\u7247"},{default:e(()=>{var c,u;return[(u=(c=t.detailData)==null?void 0:c.thirdInsurancePhoto)!=null&&u.length?(n(),r("div",F,[(n(!0),r(I,null,b(t.detailData.thirdInsurancePhoto,(f,o)=>(n(),y(v,{key:o,class:"imgBox mr-8",src:f.url,"initial-index":o,"preview-src-list":t.detailData.thirdInsurancePhoto.map(m=>m.url),fit:"cover"},{error:e(()=>[Y("div",O,[a(g,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),r("span",q,"-"))]}),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[d(s(t.detailData.thirdInsuranceStartTime?k(P)(t.detailData.thirdInsuranceStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(i,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[d(s(t.detailData.thirdInsuranceValidity===1?"1\u5E74":"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{H as default};