PageSourceSearch

https://www.3hfit.com/assets/pages-private-sale-order.CMVQAG2p.js

js 3hfit.com collected 2026-10-07 02:59:31 UTC 6,797 bytes, 1 lines download raw bytes

1import{_ as t,l as e,L as a,i as s,E as l,O as i,P as r,b as o,w as d,j as n,o as u,a as f,k as c,t as h,c as p,r as g,F as m,q as _,m as y,A as x,x as w,B as k}from"./index-C7T5aXQx.js";import{_ as M}from"./uni-popup.Cy8bmHD6.js";import{o as C}from"./orderStatus.Pu9GE_6q.js";import{h as j}from"./moment.CZgoA8Sj.js";import{a as L}from"./service.Br_6I9HW.js";import{T as R}from"./transBack.D-oXAnZw.js";const S=t({name:"orderList",components:{RocImg:e,TransBack:R,LoadingPage:a},data:()=>({page:1,loading:!1,data:[],time:j(),money:0,type:0,status:999,orderType:{1:{text:"执照"},2:{text:"证书"},3:{text:"讲座"},4:{text:"BLS"},5:{text:"大礼包"},6:{text:"促销装"},7:{text:"3HFIT严选"},8:{text:"考试订单"},10:{text:"动作库"},11:{text:"训练"},12:{text:"网课"}},orderStatus:C}),onLoad(){this.init()},onReachBottom(){this.init()},computed:{userInfo:()=>s.state.userInfo},methods:{async init(){if(this.loading)return;this.loading=!0;let t={page:this.page,size:20,"create_time[0]":this.time.startOf("month").unix(),"create_time[1]":this.time.endOf("month").unix(),"dutyIds[0]":this.userInfo.id};this.type&&(t.type=this.type),999!=this.status&&(t["order_status[0]"]=this.status);let e=await L(t);this.loading=!1,20==e.data.length?this.page++:this.data.length=20*(this.page-1),1==this.page?this.data=e.data:this.data=[...this.data,...e.data],this.money=0,e.data.map((t=>{1!=t.order_status&&4!=t.order_status&&5!=t.order_status&&6!=t.order_status&&20!=t.order_status||(this.money+=parseFloat(t.bonus_money))}))},changeTime(t){this.page=1,this.data=[],this.time=j(t.detail.value),this.init()},allReset(){this.type=0,this.status=999,this.data=[],this.page=1,this.$refs.showRight.close(),this.init()},search(){this.data=[],this.page=1,this.$refs.showRight.close(),this.init()}}},[["render",function(t,e,a,s,C,j){const L=x,R=n,S=w,b=l("trans-back"),I=l("roc-img"),B=l("loading-page"),z=k,D=i(r("uni-popup"),M);return u(),o(R,null,{default:d((()=>[f(b,{ref:"tabBar",layout:"header"},{default:d((()=>[f(S,{style:{"font-size":"24rpx"},fields:"month",mode:"date",value:C.time.format("YYYY-MM"),onChange:j.changeTime},{default:d((()=>[f(R,null,{default:d((()=>[c(h(C.time.format("YYYY年MM月"))+" ",1),f(L,{class:"cuIcon-triangledownfill"})])),_:1})])),_:1},8,["value","onChange"]),f(R,{style:{"font-size":"24rpx",flex:"1","margin-left":"24rpx"}},{default:d((()=>[c(" 总业绩 "+h(C.money),1)])),_:1}),f(L,{onClick:e[0]||(e[0]=e=>t.$refs.showRight.open()),style:{"font-size":"32rpx",color:"#4B4B4B","margin-left":"12rpx"}},{default:d((()=>[f(L,{class:"cuIcon-filter",style:{"margin-left":"8rpx"}})])),_:1})])),_:1},512),(u(!0),p(m,null,g(C.data,((e,a)=>(u(),o(R,{class:"orderList",key:a},{default:d((()=>[f(R,{class:"header flex justify-between"},{default:d((()=>[f(R,null,{default:d((()=>[f(R,{style:{"font-size":"24rpx","font-weight":"bold"}},{default:d((()=>[c("订单号 "+h(e.id),1)])),_:2},1024),f(R,{style:{"font-size":"24rpx","line-height":"24rpx"}},{default:d((()=>[f(L,null,{default:d((()=>[c(h(e.creator.title),1)])),_:2},1024),f(L,{style:{"margin-left":"8rpx"},onClick:a=>t.CALL(e.creator.phone),class:"uni-color-primary"},{default:d((()=>[c(h(e.creator.phone),1)])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1024),f(R,{style:{"font-size":"28rpx","font-weight":"bold"}},{default:d((()=>[c(h(C.orderStatus[e.order_status].text),1)])),_:2},1024)])),_:2},1024),f(R,{class:"flex align-center justify-between orderShop marginAuto"},{default:d((()=>[f(R,{class:"orderShopLeft"},{default:d((()=>[f(I,{src:e.goods_id.image},null,8,["src"])])),_:2},1024),f(R,{class:"orderShopRight"},{default:d((()=>[f(R,{class:"orderShopRightTop flex align-center justify-between"},{default:d((()=>[f(R,{class:"hideWords-More1 fontWeight orderShopRightName"},{default:d((()=>[c(h(e.goods_id.label),1)])),_:2},1024)])),_:2},1024),f(R,{class:"orderShopRightAddress hideWords-More2",style:{"font-size":"24rpx"}},{default:d((()=>[c(h(e.class_id.label),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),f(R,{class:"orderShopInfoOther flex justify-end",style:{"font-size":"24rpx",color:"#010101",padding:"24rpx 0"}},{default:d((()=>[f(L,{style:{"margin-left":"16rpx"}},{default:d((()=>
1[c("定价 ¥"+h(e.order_money),1)])),_:2},1024),f(L,{style:{"margin-left":"16rpx"}},{default:d((()=>[c("优惠 ¥"+h(e.coupon_money),1)])),_:2},1024),f(L,{style:{"margin-left":"16rpx"}},{default:d((()=>[c("积分抵扣 ¥"+h(e.integral_money),1)])),_:2},1024),f(L,{style:{"margin-left":"16rpx"}},{default:d((()=>[c("实付款 ¥"+h(e.money),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128)),f(B,{loading:C.loading,layout:"load"},null,8,["loading"]),f(D,{type:"right",ref:"showRight"},{default:d((()=>[f(R,{class:"drawerView"},{default:d((()=>[f(R,{class:"drawerViewTop flex align-center justify-around"},{default:d((()=>[c(" 筛选 "),f(R,{class:"drawerViewClose flex align-center justify-around",onClick:e[1]||(e[1]=_((e=>t.$refs.showRight.close()),["stop"]))},{default:d((()=>[f(L,{class:"cuIcon-close"})])),_:1})])),_:1}),f(z,{"scroll-y":"true",style:{height:"calc(100% - 260rpx)",width:"100%"}},{default:d((()=>[f(R,{class:"filterModule"},{default:d((()=>[f(R,{class:"filterModuleName"},{default:d((()=>[c("订单类型")])),_:1}),f(R,{class:"filterModuleData flex flex-wrap"},{default:d((()=>[f(R,{onClick:e[2]||(e[2]=t=>C.type=0),class:y(["filterModuleDataList",0==C.type?"currentFilterModuleData":""])},{default:d((()=>[c("全部 ")])),_:1},8,["class"]),(u(!0),p(m,null,g(C.orderType,((t,e)=>(u(),o(R,{onClick:t=>C.type=e,class:y(["filterModuleDataList",C.type==e?"currentFilterModuleData":""]),key:e},{default:d((()=>[c(h(t.text),1)])),_:2},1032,["onClick","class"])))),128))])),_:1})])),_:1}),f(R,{class:"filterModule"},{default:d((()=>[f(R,{class:"filterModuleName"},{default:d((()=>[c("订单状态")])),_:1}),f(R,{class:"filterModuleData flex flex-wrap"},{default:d((()=>[f(R,{class:y(["filterModuleDataList",999==C.status?"currentFilterModuleData":""]),onClick:e[3]||(e[3]=t=>C.status=999)},{default:d((()=>[c("全部 ")])),_:1},8,["class"]),(u(!0),p(m,null,g(C.orderStatus,((t,e)=>(u(),o(R,{class:y(["filterModuleDataList",C.status==e?"currentFilterModuleData":""]),onClick:t=>C.status=e,key:e},{default:d((()=>[c(h(t.text),1)])),_:2},1032,["onClick","class"])))),128))])),_:1})])),_:1})])),_:1}),f(R,{class:"drawerViewHandle flex align-center justify-around"},{default:d((()=>[f(R,{class:"drawerViewHandleBtn flex align-center justify-around reset",onClick:j.allReset},{default:d((()=>[c("重置")])),_:1},8,["onClick"]),f(R,{class:"drawerViewHandleBtn flex align-center justify-around submit",onClick:j.search},{default:d((()=>[c("确认")])),_:1},8,["onClick"])])),_:1}),f(R,{style:{width:"100%",height:"50rpx"}})])),_:1})])),_:1},512)])),_:1})}],["__scopeId","data-v-c3259f9e"]]);export{S as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.