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

  1. import{d as w,f as _,g as i,c as l,e,w as t,h as P,t as h,b as u,F as g,q as D,n as y,p as b,v as p,M as B}from"./index.ef739cdb.js";const A={class:"drivinglicenseInfo"},L={class:"flex"},V={key:0,class:"mt-8"},F={class:"image-slot"},N={key:1},C={key:0,class:"mt-8"},Y={class:"image-slot"},j={class:"flex"},M={key:0,class:"mt-8"},R={class:"image-slot"},I={key:1},O={class:"flex"},T={key:0,class:"mt-8"},q={class:"image-slot"},E={key:1},S={key:0},z={key:1},G=w({name:"drivinglicenseInfo"}),Q=Object.assign(G,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(H,J)=>{const d=_("el-form-item"),r=_("el-col"),x=_("el-row"),m=_("Picture"),f=_("el-icon"),v=_("el-image");return i(),l("div",A,[e(x,{gutter:30},{default:t(()=>[e(r,{span:12},{default:t(()=>[e(d,{label:"\u8F66\u724C\u53F7"},{default:t(()=>[P(h(a.detailData.carNo||"-"),1)]),_:1})]),_:1}),e(r,{span:12},{default:t(()=>[e(d,{label:"\u8F66\u8F86\u7C7B\u578B"},{default:t(()=>[P(h(a.detailData.vehicleType||"-"),1)]),_:1})]),_:1})]),_:1}),e(x,{gutter:30},{default:t(()=>[e(r,{span:12},{default:t(()=>[u("div",L,[e(d,{label:"\u884C\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var s;return[(s=a.detailData)!=null&&s.drivingLicensePhotoFront?(i(),l("div",V,[(i(!0),l(g,null,D(a.detailData.drivingLicensePhotoFront,(n,o)=>(i(),y(v,{key:o,class:"imgBox mr-8",src:n.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoFront.map(c=>c.url),fit:"cover"},{error:t(()=>[u("div",F,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",N,"-"))]}),_:1}),e(d,{class:"ml-40"},{default:t(()=>{var s;return[(s=a.detailData)!=null&&s.drivingLicensePhotoReverse?(i(),l("div",C,[(i(!0),l(g,null,D(a.detailData.drivingLicensePhotoReverse,(n,o)=>(i(),y(v,{key:o,class:"imgBox mr-8",src:n.url,"initial-index":o,"preview-src-list":a.detailData.drivingLicensePhotoReverse.map(c=>c.url),fit:"cover"},{error:t(()=>[u("div",Y,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):b("",!0)]}),_:1})])]),_:1}),e(r,{span:12},{default:t(()=>[u("div",j,[e(d,{label:"\u8F66\u8F86\u7167\u7247"},{default:t(()=>{var s,n;return[(n=(s=a.detailData)==null?void 0:s.carPhoto)!=null&&n.length?(i(),l("div",M,[(i(!0),l(g,null,D(a.detailData.carPhoto,(o,c)=>(i(),y(v,{key:c,class:"imgBox mr-8",src:o.url,"initial-index":c,"preview-src-list":a.detailData.carPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[u("div",R,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",I,"-"))]}),_:1})])]),_:1}),e(r,{span:8},{default:t(()=>[u("div",O,[e(d,{label:"\u5E74\u5BA1\u4FE1\u606F"},{default:t(()=>{var s,n;return[(n=(s=a.detailData)==null?void 0:s.annualAuditPhoto)!=null&&n.length?(i(),l("div",T,[(i(!0),l(g,null,D(a.detailData.annualAuditPhoto,(o,c)=>(i(),y(v,{key:c,class:"imgBox mr-8",src:o.url,"initial-index":c,"preview-src-list":a.detailData.annualAuditPhoto.map(k=>k.url),fit:"cover"},{error:t(()=>[u("div",q,[e(f,null,{default:t(()=>[e(m)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",E,"-"))]}),_:1})])]),_:1}),e(r,{span:8},{default:t(()=>[e(d,{label:"\u5E74\u5BA1\u901A\u8FC7\u65E5\u671F"},{default:t(()=>[P(h(a.detailData.annualAuditPass?p(B)(a.detailData.annualAuditPass).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(r,{span:8},{default:t(()=>[e(d,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[a.detailData.annualAuditValidity?(i(),l("span",S,h(a.detailData.annualAuditValidity)+"\u5E74 ",1)):(i(),l("span",z,"-"))]),_:1})]),_:1})]),_:1})])}}});export{Q as default};