import{ap as w,d as b,r as l,B as y,C as h,a as t,o as v,l as g,w as n,i as a,L as x,M as A,N as I,_ as N,__tla as S}from"./index-2c56227b.js";import{_ as L,__tla as M}from"./DictTag-cfe1898d.js";import{D as O,__tla as T}from"./dict-763dd292.js";import{d as U,__tla as C}from"./formatTime-7f0ec2bf.js";import"./color-6e929987.js";let p,P=Promise.all([(()=>{try{return S}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return C}catch{}})()]).then(async()=>{p=N(b({__name:"UserAddressList",props:{userId:{type:Number,required:!0}},setup(o){const{userId:d}=o,r=l(!0);l(0);const s=l([]),u=async()=>{r.value=!0;try{s.value=await(async i=>await w.get({url:"/member/address/list",params:i}))({userId:d})}finally{r.value=!1}};return y(()=>{u()}),(i,q)=>{const e=x,_=L,c=A,m=I;return h((v(),g(c,{data:t(s),stripe:!0,"show-overflow-tooltip":!0},{default:n(()=>[a(e,{label:"\u5730\u5740\u7F16\u53F7",align:"center",prop:"id",width:"150px"}),a(e,{label:"\u6536\u4EF6\u4EBA\u540D\u79F0",align:"center",prop:"name",width:"150px"}),a(e,{label:"\u624B\u673A\u53F7",align:"center",prop:"mobile",width:"150px"}),a(e,{label:"\u5730\u533A\u7F16\u7801",align:"center",prop:"areaId",width:"150px"}),a(e,{label:"\u6536\u4EF6\u8BE6\u7EC6\u5730\u5740",align:"center",prop:"detailAddress"}),a(e,{label:"\u662F\u5426\u9ED8\u8BA4",align:"center",prop:"defaultStatus",width:"150px"},{default:n(f=>[a(_,{type:t(O).COMMON_STATUS,value:Number(f.row.defaultStatus)},null,8,["type","value"])]),_:1}),a(e,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:t(U),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[m,t(r)]])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/member/user/detail/UserAddressList.vue"]])});export{P as __tla,p as default};
