Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 linhas
2.2KB

  1. import{d as x,f as s,g as i,c as l,e,w as t,h as _,t as m,b as f,F as p,q as L,n as y,p as k,v as w,M as P}from"./index.32194486.js";const b={class:"driverlicenseInfo"},B={class:"flex"},F={key:0,class:"mt-8"},V={class:"image-slot"},C={key:1},N={key:0,class:"mt-8"},T={class:"image-slot"},Y=x({name:"driverlicenseInfo"}),S=Object.assign(Y,{props:{detailData:{type:Object,default:()=>{}}},setup(a){return(j,M)=>{const r=s("el-form-item"),c=s("el-col"),v=s("el-row"),h=s("Picture"),D=s("el-icon"),g=s("el-image");return i(),l("div",b,[e(v,{gutter:30},{default:t(()=>[e(c,{span:12},{default:t(()=>[e(r,{label:"\u51C6\u9A7E\u8F66\u578B"},{default:t(()=>[_(m(a.detailData.driverLicenseType||"-"),1)]),_:1})]),_:1})]),_:1}),e(v,{gutter:30},{default:t(()=>[e(c,{span:8},{default:t(()=>[f("div",B,[e(r,{label:"\u9A7E\u9A76\u8BC1\u7167\u7247"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoFront?(i(),l("div",F,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoFront,(d,o)=>(i(),y(g,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.driverLicensePhotoFront.map(u=>u.url),fit:"cover"},{error:t(()=>[f("div",V,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(i(),l("span",C,"-"))]}),_:1}),e(r,{class:"ml-40"},{default:t(()=>{var n;return[(n=a.detailData)!=null&&n.driverLicensePhotoReverse?(i(),l("div",N,[(i(!0),l(p,null,L(a.detailData.driverLicensePhotoReverse,(d,o)=>(i(),y(g,{key:o,class:"imgBox mr-8",src:d.url,"initial-index":o,"preview-src-list":a.detailData.driverLicensePhotoReverse.map(u=>u.url),fit:"cover"},{error:t(()=>[f("div",T,[e(D,null,{default:t(()=>[e(h)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):k("",!0)]}),_:1})])]),_:1}),e(c,{span:8},{default:t(()=>[e(r,{label:"\u9A7E\u9A76\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:t(()=>[_(m(a.detailData.driverLicenseStartTime?w(P)(a.detailData.driverLicenseStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),e(c,{span:8},{default:t(()=>[e(r,{label:"\u6709\u6548\u671F\u9650"},{default:t(()=>[_(m({0:"\u957F\u671F",6:"6\u5E74",10:"10\u5E74"}[a.detailData.driverLicenseValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{S as default};