1 |
- import{d as _t,r as c,l as U,a as t,o as n,c as v,F as nt,q as yt,g as z,t as u,_ as A,f as e,e as N,w as m,n as f,ea as k,G as D,H as V,h as ht,v as b,aO as gt,P as w,x as vt,O as P,W as bt,X as xt,C as wt,I as It,__tla as zt}from"./index-297c97b3.js";import{_ as St,__tla as kt}from"./ContentWrap-2a772ce5.js";import{_ as At,__tla as Tt}from"./SPuUploadImg-217bfd78.js";import{_ as Ut,__tla as Mt}from"./Dialog-6d866407.js";import Nt,{__tla as Dt}from"./UserForm-c25a5265.js";import{A as Vt,__tla as Pt}from"./AfterSale-32206d11.js";import{O as Yt,__tla as Ft}from"./Order-026c4c53.js";import{b as Ht,c as jt,d as Zt,e as Ot,__tla as Lt}from"./index-f4e695b9.js";import{g as Qt,__tla as Ct}from"./index-1790b7ea.js";import qt,{__tla as Gt}from"./index-ad17350f.js";import{_ as Y,__tla as Rt}from"./index-eead3ef4.js";import{f as F,__tla as Wt}from"./formatTime-43b819e0.js";import Xt,{__tla as Bt}from"./index-c0412067.js";import{u as Et,__tla as Jt}from"./useMessage-8a849e40.js";import{__tla as Kt}from"./el-card-22a26825.js";import{__tla as $t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-ae102e4a.js";import{__tla as ta}from"./index-ef616a81.js";import{__tla as aa}from"./el-image-viewer-3c943bf5.js";import{__tla as ea}from"./el-tree-select-4c70bd2d.js";import{__tla as ra}from"./dict-299f12fd.js";import"./tree-0af4953a.js";import{__tla as la}from"./index-40f9ff9c.js";import{__tla as oa}from"./index-31557480.js";import{__tla as _a}from"./index-3e17e916.js";import{__tla as na}from"./OrderDeliveryForm-c940b652.js";import{__tla as sa}from"./index-30c02983.js";import{__tla as ia}from"./OrderBaseInfo-f44703d4.js";import{__tla as ma}from"./OrderProduct-50ac8efa.js";import{__tla as ua}from"./el-descriptions-item-32aa8ffa.js";import{__tla as pa}from"./DictTag-c4e6f16f.js";import"./color-6e929987.js";import{__tla as ca}from"./OrderUpdateRemarkForm-b2c570d9.js";import{__tla as da}from"./index-e722e9de.js";import{__tla as fa}from"./OrderIndex-d8993d6f.js";import{__tla as ya}from"./OrderComment-8c4cbe40.js";import{__tla as ha}from"./el-image-82bf40c6.js";import{__tla as ga}from"./OrderService-a03532b2.js";import{__tla as va}from"./OrderLogistics-fb9f0265.js";import{__tla as ba}from"./el-timeline-item-caa273b5.js";import{__tla as xa}from"./orderPay-12977c51.js";import{__tla as wa}from"./OrderLogs-f336b8ef.js";import{__tla as Ia}from"./OrderUpdateAddressForm-8354ef6b.js";import{__tla as za}from"./index-97931d72.js";import"./download-20922b56.js";import{__tla as Sa}from"./Echart-997d9006.js";import{__tla as ka}from"./Descendants-ec7a141e.js";import{__tla as Aa}from"./index-ff6f0adf.js";import"./constants-637baed6.js";import{__tla as Ta}from"./spu-d00e1e27.js";import{__tla as Ua}from"./category-d1509c57.js";import{__tla as Ma}from"./index-b159c4cf.js";import{__tla as Na}from"./tagsView-4da0e5e4.js";import{__tla as Da}from"./InfoForm-0ca63423.js";import{__tla as Va}from"./UploadImgs-2eb5bd0c.js";import{__tla as Pa}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-22dc46a8.js";import{__tla as Ya}from"./brand-d865b56f.js";import{__tla as Fa}from"./formRules-b4d34ddc.js";import{__tla as Ha}from"./DescriptionForm-3e305826.js";import{__tla as ja}from"./Editor-5eae0fc5.js";import{__tla as Za}from"./OtherForm-e1ca8f74.js";import{__tla as Oa}from"./SkuForm-a3f463f9.js";import{__tla as La}from"./index-7d8d1352.js";import{__tla as Qa}from"./SkuList-8ab676f5.js";import{__tla as Ca}from"./UploadImg-76828272.js";import{__tla as qa}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-f12c4225.js";import{__tla as Ga}from"./ProductAttributes-77824756.js";import{__tla as Ra}from"./el-text-85a32bfc.js";import{__tla as Wa}from"./property-27197f49.js";import{__tla as Xa}from"./ProductPropertyAddForm-1e7ea467.js";import{__tla as Ba}from"./DeliveryForm-495b9cce.js";import{__tla as Ea}from"./index-f4176fa9.js";import{__tla as Ja}from"./Service-a1b78f5f.js";import{__tla as Ka}from"./Comment-427fad69.js";let st,$a=Promise.all([(()=>{try{return zt}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Dt}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return $t}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return va}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return xa}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return Ia}catch{}})(),(()=>{try{return za}catch{}})(),(()=>{try{return Sa}catch{}})(),(()=>{try{return ka}catch{}})(),(()=>{try{return Aa}catch{}})(),(()=>{try{return Ta}catch{}})(),(()=>{try{return Ua}catch{}})(),(()=>{try{return Ma}catch{}})(),(()=>{try{return Na}catch{}})(),(()=>{try{return Da}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return Pa}catch{}})(),(()=>{try{return Ya}catch{}})(),(()=>{try{return Fa}catch{}})(),(()=>{try{return Ha}catch{}})(),(()=>{try{return ja}catch{}})(),(()=>{try{return Za}catch{}})(),(()=>{try{return Oa}catch{}})(),(()=>{try{return La}catch{}})(),(()=>{try{return Qa}catch{}})(),(()=>{try{return Ca}catch{}})(),(()=>{try{return qa}catch{}})(),(()=>{try{return Ga}catch{}})(),(()=>{try{return Ra}catch{}})(),(()=>{try{return Wa}catch{}})(),(()=>{try{return Xa}catch{}})(),(()=>{try{return Ba}catch{}})(),(()=>{try{return Ea}catch{}})(),(()=>{try{return Ja}catch{}})(),(()=>{try{return Ka}catch{}})()]).then(async()=>{let H,j,Z,O,L,Q,C,M,q,G,R,W,X,B,E,J,K,$,tt,at,et,rt,lt;H={key:0,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},j={key:1},Z={class:"rating-title"},O={class:"content"},L={class:"details"},Q={class:"product-model"},C={class:"first-aftersale"},M=A(_t({__name:"Address",props:{obj:{type:Object,default:()=>{}},openSource:{type:String,default:""},userId:{type:Number,default:void 0},addressType:{type:Number,default:void 0}},setup(x){const p=x;console.log(p.addressType);const y=c({}),d=c([]);U(async()=>{d.value=await Qt(),console.log("\u516C\u5171\u552E\u540E\u9875\u9762\uFF0C\u8FDB\u6765\u7684\u7C7B\u578B\u662F:",p.openSource),p.openSource=="MemberUser"&&(async _=>{let i=await Ht(_,p.addressType);Array.isArray(i)||i==null||(i=[i]),y.value=i,console.log("formData",y.value)})(p.userId)});const s=_=>((r,l)=>{const h=[];let o=l;for(;o!==null;){const a=r.get(o);if(!a)break;h.unshift(a.name),o=a.parentId}return h})((r=>{const l=new Map,h=[...r.map(o=>({...o,parentId:null}))];for(;h.length>0;){const o=h.pop();l.set(o.id,{name:o.name,parentId:o.parentId}),o.children&&h.push(...o.children.map(a=>({...a,parentId:o.id})))}return l})(d.value),_).join("");return(_,i)=>t(y)==null||t(y)==""?(n(),v("div",H," \u6682\u65E0\u5730\u5740 ")):(n(),v("div",j,[(n(!0),v(nt,null,yt(t(y),r=>(n(),v("div",{class:"aftersale-container",key:r},[z("h3",Z,u(r.name),1),z("div",O,[z("div",L,[z("p",Q,u(r.mobile),1),z("p",null,u(s(r==null?void 0:r.areaId))+u(r.detailAddress),1),z("p",C,"\u662F\u5426\u9ED8\u8BA4: "+u(r.defaultStatus?"\u662F":"\u5426"),1)])])]))),128))]))}}),[["__scopeId","data-v-c5414a00"],["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ZxTemplate/Address/Address.vue"]]),q=A({__name:"Team",props:{userId:{type:Number,default:0},openSource:{type:String,default:""}},setup:x=>(p,y)=>(n(),v("div",null,[e(qt,{userId:x.userId,isDetail:!0},null,8,["userId"])]))},[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ZxTemplate/Team/Team.vue"]]),G={key:0,style:{"margin-top":"10px",padding:"10px"}},R={key:1,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},W=A({__name:"Points",props:{userId:{type:Number,default:0}},setup(x){const p=c(0),y=x,d=c([]),s=N({pageNo:1,pageSize:10,userId:void 0}),_=async()=>{const i=await jt(s);d.value=i.list,p.value=i.total};return U(()=>{s.userId=y.userId,_()}),(i,r)=>{const l=D,h=V,o=Y;return t(d).length>0?(n(),v("div",G,[e(h,{data:t(d),stripe:!0,"show-overflow-tooltip":!0},{default:m(()=>[e(l,{label:"\u83B7\u5F97",align:"center",prop:"amount"},{default:m(a=>[f(u(t(k)(a.row.amount||0)),1)]),_:1}),e(l,{label:"\u53EF\u7528",align:"center",prop:"afterAmount"},{default:m(a=>[f(u(t(k)(a.row.afterAmount||0)),1)]),_:1}),e(l,{label:"\u5F85\u786E\u6743",align:"center",prop:"freezeAmount"},{default:m(a=>[f(u(t(k)(a.row.freezeAmount||0)),1)]),_:1}),e(l,{label:"\u51BB\u7ED3\u4F59\u989D",align:"center",prop:"afterFreezeAmount"},{default:m(a=>[f(u(t(k)(a.row.afterFreezeAmount||0)),1)]),_:1}),e(l,{label:"\u6700\u5927\u53EF\u7528\u79EF\u5206\u989D\u5EA6\u53D8\u5316\u503C",align:"center",prop:"maxAvailablePointsAmount"},{default:m(a=>[f(u(t(k)(a.row.maxAvailablePointsAmount||0)),1)]),_:1}),e(l,{label:"\u6700\u5927\u53EF\u7528\u79EF\u5206\u989D\u5EA6",align:"center",prop:"afterMaxAvailablePointsAmount"},{default:m(a=>[f(u(t(k)(a.row.afterMaxAvailablePointsAmount||0)),1)]),_:1}),e(l,{label:"\u5408\u8D62\u5956\u8D85\u51FA\u503C",align:"center",prop:"accumulatedQuotaAmount"},{default:m(a=>[f(u(t(k)(a.row.accumulatedQuotaAmount||0)),1)]),_:1}),e(l,{label:"\u76F4\u63A8\u5956\u8D85\u51FA\u503C",align:"center",prop:"ancestorQuotaAmount"},{default:m(a=>[f(u(t(k)(a.row.ancestorQuotaAmount||0)),1)]),_:1}),e(l,{label:"\u7C7B\u522B",align:"center",prop:"profitStatusName",width:"180"},{default:m(a=>[f(u(a.row.profitStatusName)+" "+u(a.row.username?"("+a.row.username+")":""),1)]),_:1}),e(l,{label:"\u65F6\u95F4",align:"center",prop:"createTime",width:"180"},{default:m(a=>[f(u(t(F)(a.row.createTime,"YYYY-MM-DD HH:mm")),1)]),_:1})]),_:1},8,["data"]),e(o,{total:t(p),page:t(s).pageNo,"onUpdate:page":r[0]||(r[0]=a=>t(s).pageNo=a),limit:t(s).pageSize,"onUpdate:limit":r[1]||(r[1]=a=>t(s).pageSize=a),onPagination:_},null,8,["total","page","limit"])])):(n(),v("div",R," \u6682\u65E0\u79EF\u5206\u8BB0\u5F55 "))}}},[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ZxTemplate/Points/Points.vue"]]),X=A({__name:"Favorite",props:{userId:{type:Number,default:0}},setup:x=>(p,y)=>(n(),v("div",null,[e(Xt,{userId:x.userId,isDetail:!0},null,8,["userId"])]))},[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ZxTemplate/Favorite/Favorite.vue"]]),B={key:0,style:{"margin-top":"10px",padding:"10px"}},E={key:1,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},J=A({__name:"Level",props:{userId:{type:Number,default:0}},setup(x){const p=c(0),y=x,d=c([]),s=N({pageNo:1,pageSize:10,userId:void 0}),_=async()=>{const i=await Zt(s);d.value=i.list,p.value=i.total};return U(()=>{s.userId=y.userId,_()}),(i,r)=>{const l=D,h=V,o=Y;return t(d).length>0?(n(),v("div",B,[e(h,{data:t(d),stripe:!0,"show-overflow-tooltip":!0},{default:m(()=>[e(l,{label:"\u6765\u6E90",align:"center",prop:"description"}),e(l,{label:"\u589E\u52A0\u8EAB\u4EF7",align:"center",prop:"variationValue"},{default:m(a=>[f(u(a.row.variationValue),1)]),_:1}),e(l,{label:"\u65F6\u95F4",align:"center",prop:"createTime"},{default:m(a=>[f(u(t(F)(a.row.createTime,"YYYY-MM-DD HH:mm")),1)]),_:1})]),_:1},8,["data"]),e(o,{total:t(p),page:t(s).pageNo,"onUpdate:page":r[0]||(r[0]=a=>t(s).pageNo=a),limit:t(s).pageSize,"onUpdate:limit":r[1]||(r[1]=a=>t(s).pageSize=a),onPagination:_},null,8,["total","page","limit"])])):(n(),v("div",E," \u6682\u65E0\u8EAB\u4EF7\u8BB0\u5F55 "))}}},[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ZxTemplate/Level/Level.vue"]]),K={key:0,style:{"margin-top":"10px",padding:"10px"}},$={key:1,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},tt=A({__name:"SignUp",props:{userId:{type:Number,default:0}},setup(x){const p=c(0),y=x,d=c([]),s=N({pageNo:1,pageSize:10,userId:void 0}),_=async()=>{const i=await Ot(s);d.value=i.list,p.value=i.total};return U(()=>{s.userId=y.userId,_()}),(i,r)=>{const l=D,h=V,o=Y;return t(d).length>0?(n(),v("div",K,[e(h,{data:t(d),stripe:!0,"show-overflow-tooltip":!0},{default:m(()=>[e(l,{label:"\u7F16\u53F7",align:"center",prop:"sort"},{default:m(a=>[f(u(a.row.sort),1)]),_:1}),e(l,{label:"\u65F6\u95F4",align:"center",prop:"createTime"},{default:m(a=>[f(u(t(F)(a.row.createTime,"YYYY-MM-DD HH:mm:ss")),1)]),_:1}),e(l,{label:"\u83B7\u5F97\u7684\u8EAB\u4EF7",align:"center",prop:"variationValue"},{default:m(a=>[f(u(a.row.variationValue),1)]),_:1})]),_:1},8,["data"]),e(o,{total:t(p),page:t(s).pageNo,"onUpdate:page":r[0]||(r[0]=a=>t(s).pageNo=a),limit:t(s).pageSize,"onUpdate:limit":r[1]||(r[1]=a=>t(s).pageSize=a),onPagination:_},null,8,["total","page","limit"])])):(n(),v("div",$," \u6682\u65E0\u7B7E\u5230\u8BB0\u5F55 "))}}},[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ZxTemplate/SignUp/SignUp.vue"]]),at={class:"left"},et={class:"right"},rt=z("div",{style:{clear:"both"}},null,-1),lt={class:"dialog-footer"},st=A(_t({__name:"MemberUserTab",emits:["success"],setup(x,{expose:p,emit:y}){const{t:d}=ht();Et();const s=c(!1),_=c("info"),i=c(!1),r=c(""),l=c(!1),h=c("view"),o=c({}),a=c("avatar");p({open:async(S,I)=>{I.avatar==""?a.value="\u9ED8\u8BA4\u56FE\u7247":a.value=I.avatar,o.value=I,h.value=S,r.value=d("action."+S),S=="view"&&(r.value="\u67E5\u770B"),S=="view"?l.value=!0:(l.value=!1,_.value="info"),i.value=!0}});const it=y,ot=c(),mt=async()=>{var S;await((S=ot.value)==null?void 0:S.submitForm())&&(it("success"),i.value=!1)};return(S,I)=>{const ut=At,g=bt,pt=xt,ct=St,dt=wt,ft=It;return n(),b(Ut,{title:t(r),modelValue:t(i),"onUpdate:modelValue":I[2]||(I[2]=T=>P(i)?i.value=T:null),width:"70%"},gt({default:m(()=>[vt((n(),b(ct,{style:{"max-height":"650px","min-height":"650px","overflow-y":"auto",border:"none"}},{default:m(()=>[z("div",at,[e(ut,{modelValue:t(a),"onUpdate:modelValue":I[0]||(I[0]=T=>P(a)?a.value=T:null),disabled:t(l)},null,8,["modelValue","disabled"]),e(pt,{modelValue:t(_),"onUpdate:modelValue":I[1]||(I[1]=T=>P(_)?_.value=T:null),"tab-position":"left",class:"child-tabs"},{default:m(()=>[e(g,{label:"\u57FA\u672C\u4FE1\u606F",name:"info"}),t(l)?(n(),v(nt,{key:0},[e(g,{label:"\u8EAB\u4EF7",name:"level"}),e(g,{label:"\u56E2\u961F",name:"team"}),e(g,{label:"\u79EF\u5206",name:"points"}),e(g,{label:"\u770B\u70B9",name:"highlights"}),e(g,{label:"\u4EFB\u52A1",name:"task"}),e(g,{label:"\u8BA2\u5355",name:"order"}),e(g,{label:"\u552E\u540E",name:"aftersales"}),e(g,{label:"\u6536\u85CF",name:"collection"}),e(g,{label:"\u70B9\u8D5E",name:"like"}),e(g,{label:"\u7B7E\u5230",name:"signin"}),e(g,{label:"\u5B9E\u4F53\u6536\u8D27\u5730\u5740",name:"address"}),e(g,{label:"\u865A\u62DF\u6536\u8D27\u5730\u5740",name:"virtualaddress"})],64)):w("",!0)]),_:1},8,["modelValue"])]),z("div",et,[t(_)=="info"?(n(),b(Nt,{key:0,obj:t(o),ref_key:"userFormRef",ref:ot,isDetail:t(l),openType:t(h),avatar:t(a)},null,8,["obj","isDetail","openType","avatar"])):w("",!0),t(_)=="aftersales"?(n(),b(Vt,{key:1,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="order"?(n(),b(Yt,{key:2,id:t(o).id,openSource:"MemberUser"},null,8,["id"])):w("",!0),t(_)=="address"?(n(),b(M,{key:3,userId:t(o).id,addressType:1,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="team"?(n(),b(q,{key:4,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="points"?(n(),b(W,{key:5,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="collection"?(n(),b(X,{key:6,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="level"?(n(),b(J,{key:7,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="signin"?(n(),b(tt,{key:8,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0),t(_)=="virtualaddress"?(n(),b(M,{key:9,addressType:2,userId:t(o).id,openSource:"MemberUser"},null,8,["userId"])):w("",!0)]),rt]),_:1})),[[ft,t(s)]])]),_:2},[t(l)?void 0:{name:"footer",fn:m(()=>[z("div",lt,[t(l)?w("",!0):(n(),b(dt,{key:0,loading:t(s),type:"primary",onClick:mt},{default:m(()=>[f("\u4FDD\u5B58")]),_:1},8,["loading"]))])]),key:"0"}]),1032,["title","modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/member/user/components/MemberUserTab.vue"]])});export{$a as __tla,st as default};
|