1 |
- import{d as C,r as m,u as E,L as F,x as L,a_ as M,a as e,h as P,o as b,c as v,B as S,i as a,w as r,k as q,m as u,F as B,q as D,E as O,W as U,X as V,s as X,K as j}from"./index-df709923.js";import{E as K}from"./el-card-91c2276d.js";import{g as N}from"./index-75e278eb.js";import{u as T}from"./tagsView-38c5284d.js";import Z from"./UserAccountInfo-349f3e1b.js";import{_ as A}from"./UserAddressList.vue_vue_type_script_setup_true_lang-43deae5b.js";import G from"./UserBasicInfo-3aaf4e42.js";import{_ as H}from"./UserBrokerageList.vue_vue_type_script_setup_true_lang-6c19d4ea.js";import{_ as J}from"./UserCouponList.vue_vue_type_script_setup_true_name_UserCouponList_lang-80b05cf7.js";import{_ as Q}from"./UserExperienceRecordList.vue_vue_type_script_setup_true_lang-50e0919b.js";import{_ as Y}from"./UserOrderList.vue_vue_type_script_setup_true_lang-9b99850e.js";import{_ as $}from"./UserPointList.vue_vue_type_script_setup_true_lang-664445a2.js";import{_ as aa}from"./UserSignList.vue_vue_type_script_setup_true_lang-81d7b36a.js";import{_ as ra}from"./UserFavoriteList.vue_vue_type_script_setup_true_lang-fcf6d3d7.js";import{C as d}from"./CardTitle-81b7c9e6.js";import{_ as ea}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-descriptions-item-cc479a39.js";import"./Descriptions.vue_vue_type_style_index_0_scoped_59d56eec_lang-777aded1.js";import"./DictTag.vue_vue_type_script_lang-6753827b.js";import"./color-6e929987.js";import"./dict-017bf708.js";import"./DescriptionsItemLabel-65dbbcaa.js";import"./index-d59b46b3.js";import"./formatTime-c6262bd7.js";import"./el-avatar-4550c324.js";import"./index.vue_vue_type_script_setup_true_lang-6fb625ff.js";import"./index-c8bd5ba7.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-e908c5dd.js";import"./index-bdc3aa36.js";import"./coupon-1e581a65.js";import"./useMessage-89e9d1aa.js";import"./index-69e91744.js";import"./index-ae39e56f.js";import"./index-ef1d4885.js";import"./OrderTableColumn-9165e084.js";import"./el-image-29d644a2.js";import"./el-image-viewer-90ad41b7.js";import"./constants-e43f22dd.js";import"./index-54511734.js";import"./index-2509d158.js";import"./index-15c126dc.js";const la={class:"card-header"},ta=ea(C({name:"MemberDetail",__name:"index",setup(ia){const o=m(!0),s=m({}),p=m(),f=async n=>{o.value=!0;try{s.value=await N(n)}finally{o.value=!1}},{currentRoute:h}=E(),{delView:z}=T(),w=F(),l=Number(w.params.id);return L(()=>{if(!l)return M.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4F1A\u5458\u7F16\u53F7\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void z(e(h));f(l)}),(n,t)=>{const x=D,_=O,y=K,i=U,g=V,k=X,I=P("UserForm"),R=j;return b(),v(B,null,[S((b(),v("div",null,[a(k,{gutter:10},{default:r(()=>[a(_,{span:14,class:"detail-info-item"},{default:r(()=>[a(G,{user:e(s)},{header:r(()=>[q("div",la,[a(e(d),{title:"\u57FA\u672C\u4FE1\u606F"}),a(x,{type:"primary",size:"small",text:"",onClick:t[0]||(t[0]=W=>{return c="update",void p.value.open(c,l);var c})},{default:r(()=>t[2]||(t[2]=[u(" \u7F16\u8F91 ")])),_:1})])]),_:1},8,["user"])]),_:1}),a(_,{span:10,class:"detail-info-item"},{default:r(()=>[a(y,{shadow:"never",class:"h-full"},{header:r(()=>[a(e(d),{title:"\u8D26\u6237\u4FE1\u606F"})]),default:r(()=>[a(Z,{user:e(s)},null,8,["user"])]),_:1})]),_:1}),a(y,{header:"\u8D26\u6237\u660E\u7EC6",style:{width:"100%","margin-top":"20px"},shadow:"never"},{header:r(()=>[a(e(d),{title:"\u8D26\u6237\u660E\u7EC6"})]),default:r(()=>[a(g,null,{default:r(()=>[a(i,{label:"\u4F63\u91D1"},{default:r(()=>[a($,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u7B7E\u5230",lazy:""},{default:r(()=>[a(aa,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u6210\u957F\u503C",lazy:""},{default:r(()=>[a(Q,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u4F59\u989D",lazy:""},{default:r(()=>t[3]||(t[3]=[u("\u4F59\u989D(WIP)")])),_:1}),a(i,{label:"\u6536\u8D27\u5730\u5740",lazy:""},{default:r(()=>[a(A,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u8BA2\u5355\u7BA1\u7406",lazy:""},{default:r(()=>[a(Y,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u552E\u540E\u7BA1\u7406",lazy:""},{default:r(()=>t[4]||(t[4]=[u("\u552E\u540E\u7BA1\u7406(WIP)")])),_:1}),a(i,{label:"\u6536\u85CF\u8BB0\u5F55",lazy:""},{default:r(()=>[a(ra,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u4F18\u60E0\u52B5",lazy:""},{default:r(()=>[a(J,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u63A8\u5E7F\u7528\u6237",lazy:""},{default:r(()=>[a(H,{"bind-user-id":e(l)},null,8,["bind-user-id"])]),_:1})]),_:1})]),_:1})]),_:1})])),[[R,e(o)]]),a(I,{ref_key:"formRef",ref:p,onSuccess:t[1]||(t[1]=W=>f(e(l)))},null,512)],64)}}}),[["__scopeId","data-v-200407d0"]]);export{ta as default};
|