UserAddressList-88558567.js 1.7 KB

1
  1. import{aA as b,d as w,r as l,b as h,k as y,a as t,o as x,C as g,A as n,f as a,X as v,Y as A,Z as I,_ as S,__tla as N}from"./index-54aa57d8.js";import{_ as T,__tla as U}from"./DictTag-638f5ebc.js";import{D as z,__tla as C}from"./dict-573b3b04.js";import{d as D,__tla as L}from"./formatTime-e6197688.js";import"./color-6e929987.js";let p,M=Promise.all([(()=>{try{return N}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return L}catch{}})()]).then(async()=>{p=S(w({__name:"UserAddressList",props:{userId:{type:Number,required:!0}},setup(d){const{userId:o}=d,r=l(!0);l(0);const s=l([]),_=async()=>{r.value=!0;try{s.value=await(async i=>await b.get({url:"/member/address/list",params:i}))({userId:o})}finally{r.value=!1}};return h(()=>{_()}),(i,O)=>{const e=v,u=T,c=A,m=I;return y((x(),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(u,{type:t(z).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","D:/zx/mall-newfeifan-zx-admin/src/views/member/user/detail/UserAddressList.vue"]])});export{M as __tla,p as default};