Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

2 rindas
3.1KB

  1. import{d as P,f as c,g as n,c as o,e as a,w as e,h as i,t as s,v,M as g,b as _,F as y,q as x,n as k,p as Y}from"./index.2f2d2ba5.js";const N={class:"basicInfo"},B={class:"flex"},C={key:0,class:"mt-8"},F={class:"image-slot"},M={key:1},V={key:0,class:"mt-8"},R={class:"image-slot"},j=P({name:"basicInfo"}),I=Object.assign(j,{props:{detailData:{type:Object,default:()=>{}}},setup(t){return(S,T)=>{const l=c("el-form-item"),d=c("el-col"),D=c("Picture"),b=c("el-icon"),h=c("el-image"),w=c("el-row");return n(),o("div",N,[a(w,{gutter:30},{default:e(()=>[a(d,{span:12},{default:e(()=>[a(l,{label:"\u59D3\u540D"},{default:e(()=>[i(s(t.detailData.realName),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u624B\u673A\u53F7"},{default:e(()=>[i(s(t.detailData.phone),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:e(()=>[i(s(t.detailData.companyName),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6CE8\u518C\u5730\u533A"},{default:e(()=>[i(s(t.detailData.driveRegionName||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:e(()=>[i(s(t.detailData.idCard||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u6027\u522B"},{default:e(()=>[i(s({1:"\u7537",2:"\u5973"}[t.detailData.gender]||"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u51FA\u751F\u65E5\u671F"},{default:e(()=>[i(s(t.detailData.birthDate?v(g)(t.detailData.birthDate).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(d,{span:12},{default:e(()=>[a(l,{label:"\u5E74\u9F84"},{default:e(()=>[i(s(t.detailData.age||"-"),1)]),_:1})]),_:1}),a(d,{span:24},{default:e(()=>[a(l,{label:"\u73B0\u4F4F\u5730\u5740"},{default:e(()=>[i(s(t.detailData.address||"-"),1)]),_:1})]),_:1}),a(d,{span:24},{default:e(()=>[_("div",B,[a(l,{label:"\u8EAB\u4EFD\u8BC1\u7167\u7247"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoFront?(n(),o("div",C,[(n(!0),o(y,null,x(t.detailData.cardPhotoFront,(f,u)=>(n(),k(h,{key:u,class:"imgBox mr-8",src:f.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoFront.map(m=>m.url),fit:"cover"},{error:e(()=>[_("div",F,[a(b,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):(n(),o("span",M,"-"))]}),_:1}),a(l,{class:"ml-40"},{default:e(()=>{var r;return[(r=t.detailData)!=null&&r.cardPhotoReverse?(n(),o("div",V,[(n(!0),o(y,null,x(t.detailData.cardPhotoReverse,(f,u)=>(n(),k(h,{key:u,class:"imgBox mr-8",src:f.url,"initial-index":u,"preview-src-list":t.detailData.cardPhotoReverse.map(m=>m.url),fit:"cover"},{error:e(()=>[_("div",R,[a(b,null,{default:e(()=>[a(D)]),_:1})])]),_:2},1032,["src","initial-index","preview-src-list"]))),128))])):Y("",!0)]}),_:1})])]),_:1}),a(d,{span:8},{default:e(()=>[a(l,{label:"\u8EAB\u4EFD\u8BC1\u6709\u6548\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[i(s(t.detailData.cardStartTime?v(g)(t.detailData.cardStartTime).format("YYYY-MM-DD"):"-"),1)]),_:1})]),_:1}),a(d,{span:8},{default:e(()=>[a(l,{label:"\u6709\u6548\u671F\u9650"},{default:e(()=>[i(s({0:"\u957F\u671F",10:"10\u5E74",20:"20\u5E74"}[t.detailData.cardValidity]||"-"),1)]),_:1})]),_:1})]),_:1})])}}});export{I as default};