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.

policyInfo.c557884e.js 5.4KB

3 months ago
1
  1. import{d as w,f as h,g as l,c as r,e as a,w as e,h as s,t as d,F as I,q as y,n as b,b as Y,v as k,M as P}from"./index.2f2d2ba5.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"},F={key:1},O={key:0,class:"mt-8"},q={class:"image-slot"},A={key:1},E=w({name:"policyInfo"}),H=Object.assign(E,{props:{detailData:{type:Object,default:()=>{}}},setup(t){return(L,z)=>{const i=h("el-form-item"),n=h("el-col"),_=h("el-row"),D=h("Picture"),g=h("el-icon"),v=h("el-image");return l(),r("div",x,[a(_,{gutter:30},{default:e(()=>[a(n,{span:12},{default:e(()=>[a(i,{label:"\u4FDD\u9669\u91D1\u989D"},{default:e(()=>[s(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(()=>[s(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(()=>[s(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(()=>[s(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(),r("div",M,[(l(!0),r(I,null,y(t.detailData.forcedInsurancePhoto,(f,o)=>(l(),b(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))])):(l(),r("span",T,"-"))]}),_:1})]),_:1}),a(n,{span:8},{default:e(()=>[a(i,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[s(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(()=>[s(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(),r("div",B,[(l(!0),r(I,null,y(t.detailData.commercialInsurancePhoto,(f,o)=>(l(),b(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))])):(l(),r("span",j,"-"))]}),_:1})]),_:1}),a(n,{span:8},{default:e(()=>[a(i,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[s(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(()=>[s(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(),r("div",C,[(l(!0),r(I,null,y(t.detailData.drivingInsurancePhoto,(f,o)=>(l(),b(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))])):(l(),r("span",F,"-"))]}),_:1})]),_:1}),a(n,{span:8},{default:e(()=>[a(i,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[s(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(()=>[s(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(),r("div",O,[(l(!0),r(I,null,y(t.detailData.thirdInsurancePhoto,(f,o)=>(l(),b(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",q,[a(g,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),r("span",A,"-"))]}),_:1})]),_:1}),a(n,{span:8},{default:e(()=>[a(i,{label:"\u4FDD\u5355\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[s(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(()=>[s(d(t.detailData.thirdInsuranceValidity===1?"1\u5E74":"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{H as default};