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.4KB

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