index-1a3c75f5.js 4.6 KB

1
  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-abad4030.js";import{E as K}from"./el-card-ae8ad827.js";import{g as N}from"./index-763c435b.js";import{u as T}from"./tagsView-2e2b378d.js";import Z from"./UserAccountInfo-97723e4e.js";import{_ as A}from"./UserAddressList.vue_vue_type_script_setup_true_lang-bb13ef6b.js";import G from"./UserBasicInfo-48550633.js";import{_ as H}from"./UserBrokerageList.vue_vue_type_script_setup_true_lang-a9962398.js";import{_ as J}from"./UserCouponList.vue_vue_type_script_setup_true_name_UserCouponList_lang-fc844334.js";import{_ as Q}from"./UserExperienceRecordList.vue_vue_type_script_setup_true_lang-f6b04d64.js";import{_ as Y}from"./UserOrderList.vue_vue_type_script_setup_true_lang-5592f513.js";import{_ as $}from"./UserPointList.vue_vue_type_script_setup_true_lang-23362c63.js";import{_ as aa}from"./UserSignList.vue_vue_type_script_setup_true_lang-6664781f.js";import{_ as ra}from"./UserFavoriteList.vue_vue_type_script_setup_true_lang-6c2c6fee.js";import{C as d}from"./CardTitle-ea79d0a8.js";import{_ as ea}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-descriptions-item-d2e860f6.js";import"./Descriptions.vue_vue_type_style_index_0_scoped_59d56eec_lang-4df30487.js";import"./DictTag.vue_vue_type_script_lang-dadba9ff.js";import"./color-6e929987.js";import"./dict-a9a468ec.js";import"./DescriptionsItemLabel-d0898edd.js";import"./index-03761d4f.js";import"./formatTime-775c05ee.js";import"./el-avatar-450a30b7.js";import"./index.vue_vue_type_script_setup_true_lang-bec51e2c.js";import"./index-84234f22.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-7f96d0ff.js";import"./index-4f21c953.js";import"./coupon-b2def46c.js";import"./useMessage-7954cb2f.js";import"./index-48aa43a3.js";import"./index-454e797b.js";import"./index-1e5e2a71.js";import"./OrderTableColumn-eddc80dd.js";import"./el-image-56b655c9.js";import"./el-image-viewer-589d6dbb.js";import"./constants-e43f22dd.js";import"./index-b9506fe9.js";import"./index-23c615d8.js";import"./index-e4756fce.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};