1 |
- import{am as w,d as b,r as s,q as h,z as y,a as t,o as x,x as g,w as p,f as a,I as v,J as I,K as A,_ as S,__tla as U}from"./index-35524533.js";import{_ as N,__tla as T}from"./DictTag-03861b20.js";import{D as q,__tla as z}from"./dict-d4a9f1d4.js";import{d as D,__tla as L}from"./formatTime-bb4f4a05.js";import"./color-6e929987.js";let n,M=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return L}catch{}})()]).then(async()=>{n=S(b({__name:"UserAddressList",props:{userId:{type:Number,required:!0}},setup(u){const{userId:o}=u,r=s(!0);s(0);const l=s([]),_=async()=>{r.value=!0;try{l.value=await(async i=>await w.get({url:"/member/address/list",params:i}))({userId:o})}finally{r.value=!1}};return h(()=>{_()}),(i,O)=>{const e=v,d=N,c=I,m=A;return y((x(),g(c,{data:t(l),stripe:!0,"show-overflow-tooltip":!0},{default:p(()=>[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:p(f=>[a(d,{type:t(q).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(D),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[m,t(r)]])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-business/src/views/member/user/detail/UserAddressList.vue"]])});export{M as __tla,n as default};
|