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
4.0KB

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