import{s as a,c as t,v as e,o as s,b3 as l,x as o,e as i,f as d,w as n,l as r,j as u,p as c,u as f,t as m,g as p,A as _,k as g,r as y,F as x,C as h,i as v,q as w,m as b,S}from"./index-219abc09.js";import{_ as j}from"./s-empty.0224d4b9.js";import{_ as k}from"./s-layout.e3f07a22.js";import{P as T}from"./point.bb29c158.js";import{_ as M}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */import"./form.480ce5b4.js";const $=M({__name:"team",setup(M){a.$platform.device.statusBarHeight,t((()=>a.$store("user").userInfo)),a.$platform.navbar;const $=e({currentTab:0,pagination:{list:0,total:0,pageSize:6,pageNo:1},loadStatus:"",date:[],today:"",showModel:!1,showQueModel:!1}),F=[{name:"全部",value:"all"},{name:"收入",value:"true"},{name:"支出",value:"false"}];async function N(){$.loadStatus="loading";let{code:a,data:t}=await T.getPointRecordPage({pageNo:$.pagination.pageNo,pageSize:$.pagination.pageSize,addStatus:$.currentTab>0?F[$.currentTab].value:void 0,"createTime[0]":$.date[0]+" 00:00:00","createTime[1]":$.date[1]+" 23:59:59"});0===a&&($.pagination.list=t.list,$.pagination.total=t.total,$.loadStatus=$.pagination.list.length<$.pagination.total?"more":"noMore")}return t((()=>$.date[0]===$.date[1]?$.date[0]:$.date.join("~"))),s((()=>{$.today=l().format("YYYY-MM-DD"),$.date=[$.today,$.today],N()})),o((()=>{"noMore"!==$.loadStatus&&($.pagination.pageNo++,N())})),(t,e)=>{const s=h,l=v,o=w,T=r(b("s-empty"),j),M=S,F=r(b("s-layout"),k);return i(),d(F,{class:"wallet-wrap",bgStyle:{backgroundColor:"#ffffff"},title:"",navbar:"normal"},{default:n((()=>[u(l,{class:"model-box ss-flex-col"},{default:n((()=>[u(l,{class:"all-title ss-p-x-30 ss-p-t-30"},{default:n((()=>[c(" 团队成员 "),u(s,{style:{float:"right"}},{default:n((()=>[c("共12345人")])),_:1})])),_:1}),u(l,{class:"list-box",style:{width:"100%"}},{default:n((()=>[$.pagination.total>0?(i(),d(l,{key:0},{default:n((()=>[u(l,{class:"list-item ss-flex ss-col-center ss-row-between",style:{padding:"30rpx 0"}},{default:n((()=>[u(l,{class:"ss-flex ss-col-center",style:{width:"100%"}},{default:n((()=>[u(l,null,{default:n((()=>[c("    ")])),_:1}),u(l,{class:"avatar-box ss-m-x-20"},{default:n((()=>[u(o,{class:"avatar-img",src:f(a).$url.static("/static/img/shop/default_avatar.png"),mode:"aspectFill"},null,8,["src"])])),_:1}),u(l,{class:"ss-flex ss-m-t-10",style:{"flex-direction":"column","align-items":"flex-start",width:"calc(100% - 5.5rem)"}},{default:n((()=>[u(l,{class:"name",style:{width:"100%"}},{default:n((()=>[c(m(t.name||"空")+" ",1),u(s,{class:"ss-m-l-16"},{default:n((()=>[c("推荐老师")])),_:1})])),_:1}),u(l,{class:"time",style:{width:"100%"}},{default:n((()=>[c(" 身价 ")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):p("",!0),u(l,null,{default:n((()=>[u(M,{style:{width:"96%"},"scroll-y":"true",onTouchmove:e[0]||(e[0]=_((()=>{}),["stop"]))},{default:n((()=>[$.pagination.total>0?(i(),d(l,{key:0},{default:n((()=>[(i(!0),g(x,null,y($.pagination.list,((t,e)=>(i(),d(l,{class:"list-item ss-flex ss-col-center ss-row-between",key:t.id,style:{padding:"30rpx 0"}},{default:n((()=>[u(l,{class:"ss-flex ss-col-center",style:{width:"100%"}},{default:n((()=>[u(l,null,{default:n((()=>[c(m(e+1),1)])),_:2},1024),u(l,{class:"avatar-box ss-m-x-20"},{default:n((()=>[u(o,{class:"avatar-img",src:f(a).$url.static("/static/img/shop/default_avatar.png"),mode:"aspectFill"},null,8,["src"])])),_:1}),u(l,{class:"ss-flex ss-m-t-10",style:{"flex-direction":"column","align-items":"flex-start",width:"calc(100% - 5.5rem)"}},{default:n((()=>[u(l,{class:"name",style:{width:"100%"}},{default:n((()=>[c(m(t.name||"空")+" ",1),u(s,{style:{float:"right"}},{default:n((()=>[c("消费额:￥32")])),_:1})])),_:2},1024),u(l,{class:"time",style:{width:"100%"}},{default:n((()=>[c(" 身价 "),u(s,{style:{float:"right"}},{default:n((()=>[c(m(f(a).$helper.timeFormat(t.createTime,"yyyy-mm-dd")),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})):(i(),d(T,{key:1,text:"暂无数据",icon:"/static/data-empty.png"}))])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-ba6e3192"]]);export{$ as default};
