index-dc0a1384.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 N,o as b,c as v,B as R,i as a,w as r,k as S,m as u,F as q,q as B,E as D,W as U,X as V,s as j,K as A}from"./index-92f7a16c.js";import{E as K}from"./el-card-e60c275e.js";import{g as O}from"./index-cf076621.js";import{u as T}from"./tagsView-7a231d41.js";import X from"./UserAccountInfo-9a8cc1fb.js";import{_ as G}from"./UserAddressList.vue_vue_type_script_setup_true_lang-e16e90c8.js";import H from"./UserBasicInfo-ce8700b1.js";import{_ as J}from"./UserBrokerageList.vue_vue_type_script_setup_true_lang-fae7057c.js";import{_ as Q}from"./UserCouponList.vue_vue_type_script_setup_true_name_UserCouponList_lang-f12f4dbe.js";import{_ as Y}from"./UserExperienceRecordList.vue_vue_type_script_setup_true_lang-f84c4cfa.js";import{_ as Z}from"./UserOrderList.vue_vue_type_script_setup_true_lang-578a15a6.js";import{_ as $}from"./UserPointList.vue_vue_type_script_setup_true_lang-1272ccd1.js";import{_ as aa}from"./UserSignList.vue_vue_type_script_setup_true_lang-d3862b1f.js";import{_ as ra}from"./UserFavoriteList.vue_vue_type_script_setup_true_lang-27f3a51d.js";import{C as d}from"./CardTitle-2b76161f.js";import{_ as ea}from"./_plugin-vue_export-helper-1b428a4d.js";import"./el-descriptions-item-fcf01bb5.js";import"./Descriptions.vue_vue_type_style_index_0_scoped_59d56eec_lang-50d12fbe.js";import"./DictTag.vue_vue_type_script_lang-34041e25.js";import"./color-6e929987.js";import"./dict-b31d62c6.js";import"./DescriptionsItemLabel-5ff038eb.js";import"./index-8c6e520a.js";import"./formatTime-71947df8.js";import"./el-avatar-82b0b8fa.js";import"./index.vue_vue_type_script_setup_true_lang-059ec67a.js";import"./index-579dde8f.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-93cdc892.js";import"./index-a2f8665c.js";import"./coupon-db1c6fbd.js";import"./useMessage-f6048a9f.js";import"./index-672652a7.js";import"./index-0d87b5e4.js";import"./index-d100a2cf.js";import"./OrderTableColumn-29f2b966.js";import"./el-image-b5c91f66.js";import"./el-image-viewer-668f12f8.js";import"./constants-e43f22dd.js";import"./index-53ab5084.js";import"./index-6df8b42d.js";import"./index-ac1f8515.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 O(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=B,_=D,y=K,i=U,g=V,k=j,I=N("UserForm"),P=A;return b(),v(q,null,[R((b(),v("div",null,[a(k,{gutter:10},{default:r(()=>[a(_,{span:14,class:"detail-info-item"},{default:r(()=>[a(H,{user:e(s)},{header:r(()=>[S("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(X,{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(Y,{"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(G,{"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(Q,{"user-id":e(l)},null,8,["user-id"])]),_:1}),a(i,{label:"\u63A8\u5E7F\u7528\u6237",lazy:""},{default:r(()=>[a(J,{"bind-user-id":e(l)},null,8,["bind-user-id"])]),_:1})]),_:1})]),_:1})]),_:1})])),[[P,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};