Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

2 рядки
4.4KB

  1. import{d as p,f,g as l,c as n,e as t,w as e,h as u,t as m,b as _,F as x,s as b,p as v,q as P}from"./index.551f5afa.js";const B={class:"drivinglicenseInfo"},L={class:"flex"},F={key:0,class:"mt-8"},N={class:"image-slot"},C={key:1},T={key:0,class:"mt-8"},V={class:"image-slot"},E={class:"flex"},R={key:0,class:"mt-8"},j={class:"image-slot"},I={key:1},O={class:"flex"},q={key:0,class:"mt-8"},A={class:"image-slot"},S={key:1},z=p({name:"drivinglicenseInfo"}),K=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(G,H)=>{const i=f("el-form-item"),s=f("el-col"),y=f("el-row"),h=f("Picture"),g=f("el-icon"),D=f("el-image"),w=f("el-badge");return l(),n("div",B,[t(y,{gutter:30},{default:e(()=>[t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u724C\u53F7"},{default:e(()=>[u(m(a.detailData.carNo||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:e(()=>[u(m(a.detailData.vehicleType||"-"),1)]),_:1})]),_:1})]),_:1}),t(y,{gutter:30},{default:e(()=>[t(s,{span:12},{default:e(()=>[_("div",L,[t(i,{label:"\u884C\u9A76\u8BC1\u7167\u7247"},{default:e(()=>{var c;return[(c=a.detailData)!=null&&c.drivingLicensePhotoFront?(l(),n("div",F,[(l(!0),n(x,null,b(a.detailData.drivingLicensePhotoFront,(d,o)=>(l(),v(D,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoFront.map(r=>r.url),fit:"cover"},{error:e(()=>[_("div",N,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),n("span",C,"-"))]}),_:1}),t(i,{class:"ml-40"},{default:e(()=>{var c;return[(c=a.detailData)!=null&&c.drivingLicensePhotoReverse?(l(),n("div",T,[(l(!0),n(x,null,b(a.detailData.drivingLicensePhotoReverse,(d,o)=>(l(),v(D,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoReverse.map(r=>r.url),fit:"cover"},{error:e(()=>[_("div",V,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):P("",!0)]}),_:1})])]),_:1}),t(s,{span:12},{default:e(()=>[_("div",E,[t(i,{label:"\u8F66\u8F86\u7167\u7247"},{default:e(()=>{var c,d;return[(d=(c=a.detailData)==null?void 0:c.carPhoto)!=null&&d.length?(l(),n("div",R,[(l(!0),n(x,null,b(a.detailData.carPhoto,(o,r)=>(l(),v(D,{key:r,class:"imgBox mr-8",src:o.url,"initial-index":r,"preview-src-list":a.detailData.carPhoto.map(k=>k.url),fit:"cover"},{error:e(()=>[_("div",j,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),n("span",I,"-"))]}),_:1})])]),_:1}),t(s,{span:24},{default:e(()=>[_("div",O,[t(i,{label:"\u8F66\u8F86\u4FDD\u517B\u8BB0\u5F55"},{default:e(()=>{var c,d;return[(d=(c=a.detailData)==null?void 0:c.maintenancePhoto)!=null&&d.length?(l(),n("div",q,[(l(!0),n(x,null,b(a.detailData.maintenancePhoto,(o,r)=>(l(),v(D,{key:r,class:"imgBox mr-8",src:o.url,"initial-index":r,"preview-src-list":a.detailData.maintenancePhoto.map(k=>k.url),fit:"cover"},{error:e(()=>[_("div",A,[t(g,null,{default:e(()=>[t(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(l(),n("span",S,"-"))]}),_:1})])]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u9F84"},{default:e(()=>[u(m({1:"\u226512\u5E74",2:"<12\u5E74"}[a.detailData.vehicleAge]||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u7D2F\u8BA1\u884C\u9A76\u91CC\u7A0B"},{default:e(()=>[u(m({1:"\u226520\u4E07\u516C\u91CC",2:"<20\u4E07\u516C\u91CC"}[a.detailData.mileage]||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u4FDD\u517B\u662F\u5426\u5230\u671F"},{default:e(()=>[u(m({true:"\u662F",false:"\u5426"}[a.detailData.maintenanceExpired]||"-"),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u662F\u5426\u8FC7\u5BA1"},{default:e(()=>[u(m({true:"\u662F",false:"\u5426"}[a.detailData.auditPassed]||"-"),1)]),_:1})]),_:1}),a.detailData.maintenanceExpired?(l(),v(s,{key:0,span:12},{default:e(()=>[t(w,{value:"\u5DF2\u8FC7\u6709\u6548\u671F",class:"item",style:{"background-color":"#f2f4f7",padding:"10px"}},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u4FDD\u517B\u65F6\u95F4"},{default:e(()=>[u(m(a.detailData.maintenanceTime||"-"),1)]),_:1})]),_:1})]),_:1})):P("",!0),t(s,{span:12},{default:e(()=>[t(i,{label:"\u8F66\u8F86\u4FDD\u517B\u65F6\u95F4"},{default:e(()=>[u(m(a.detailData.maintenanceTime||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{K as default};