index-db2060d9.js 4.6 KB

1
  1. import{d as F,r as m,u as G,Y as L,b as M,bg as P,a as e,as as R,o as c,c as v,l as V,f as a,B as r,C as A,G as u,F as B,L as D,J as E,a7 as S,a8 as U,M as j,X as q}from"./index-39d329c4.js";import{E as J}from"./el-card-5cc80b8a.js";import{g as N}from"./index-5f6073f3.js";import{u as O}from"./tagsView-58b1e0b4.js";import T from"./UserAccountInfo-692c03ae.js";import{_ as X}from"./UserAddressList.vue_vue_type_script_setup_true_lang-0a12f57e.js";import Y from"./UserBasicInfo-c27bb436.js";import{_ as H}from"./UserBrokerageList.vue_vue_type_script_setup_true_lang-b555ab20.js";import{_ as K}from"./UserCouponList.vue_vue_type_script_setup_true_name_UserCouponList_lang-510984ce.js";import{_ as Q}from"./UserExperienceRecordList.vue_vue_type_script_setup_true_lang-605306d4.js";import{_ as Z}from"./UserOrderList.vue_vue_type_script_setup_true_lang-75c05826.js";import{_ as $}from"./UserPointList.vue_vue_type_script_setup_true_lang-cc2ccfd6.js";import{_ as aa}from"./UserSignList.vue_vue_type_script_setup_true_lang-929a109e.js";import{_ as ra}from"./UserFavoriteList.vue_vue_type_script_setup_true_lang-b8310ebb.js";import{C as d}from"./CardTitle-a76ab7fd.js";import{_ as ea}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-descriptions-item-a2a4aeac.js";import"./Descriptions.vue_vue_type_style_index_0_scoped_59d56eec_lang-9eff3c3e.js";import"./DictTag.vue_vue_type_script_lang-b95bb985.js";import"./color-6e929987.js";import"./dict-0856c143.js";import"./DescriptionsItemLabel-271bfdec.js";import"./index-aa8d6a4a.js";import"./formatTime-4c4af720.js";import"./el-avatar-2446e325.js";import"./index.vue_vue_type_script_setup_true_lang-24521fcb.js";import"./index-e66b1f22.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-f3ab50e7.js";import"./index-118cc62c.js";import"./coupon-8870a624.js";import"./useMessage-47346882.js";import"./index-d1c9b307.js";import"./index-84cf70f4.js";import"./index-ca4ae7bf.js";import"./OrderTableColumn-cc33c4e0.js";import"./el-image-7f18c10a.js";import"./el-image-viewer-b66eac2e.js";import"./constants-c811e5ff.js";import"./index-0c406c8d.js";import"./index-c617972a.js";import"./index-3b048130.js";const la={class:"card-header"},ta=ea(F({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:z}=G(),{delView:h}=O(),w=L(),l=Number(w.params.id);return M(()=>{if(!l)return P.warning("\u53C2\u6570\u9519\u8BEF\uFF0C\u4F1A\u5458\u7F16\u53F7\u4E0D\u80FD\u4E3A\u7A7A\uFF01"),void h(e(z));f(l)}),(n,t)=>{const g=D,_=E,b=J,i=S,x=U,C=j,I=R("UserForm"),W=q;return c(),v(B,null,[V((c(),v("div",null,[a(C,{gutter:10},{default:r(()=>[a(_,{span:14,class:"detail-info-item"},{default:r(()=>[a(Y,{user:e(s)},{header:r(()=>[A("div",la,[a(e(d),{title:"\u57FA\u672C\u4FE1\u606F"}),a(g,{type:"primary",size:"small",text:"",onClick:t[0]||(t[0]=k=>{return y="update",void p.value.open(y,l);var y})},{default:r(()=>t[2]||(t[2]=[u(" \u7F16\u8F91 ")])),_:1})])]),_:1},8,["user"])]),_:1}),a(_,{span:10,class:"detail-info-item"},{default:r(()=>[a(b,{shadow:"never",class:"h-full"},{header:r(()=>[a(e(d),{title:"\u8D26\u6237\u4FE1\u606F"})]),default:r(()=>[a(T,{user:e(s)},null,8,["user"])]),_:1})]),_:1}),a(b,{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(x,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(X,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u8BA2\u5355\u7BA1\u7406",lazy:""},{default:r(()=>[a(Z,{"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(K,{"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})])),[[W,e(o)]]),a(I,{ref_key:"formRef",ref:p,onSuccess:t[1]||(t[1]=k=>f(e(l)))},null,512)],64)}}}),[["__scopeId","data-v-200407d0"]]);export{ta as default};