Files
aiot-platform-ui/apps/web-antd/dist/js/data-De3JeHyd.js
lzh cb81829d4c
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 24s
chore: build and deploy web-antd
2026-01-14 14:15:09 +08:00

2 lines
4.9 KiB
JavaScript

var c=Object.defineProperty,s=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var m=(t,e,i)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e)=>{for(var i in e||(e={}))f.call(e,i)&&m(t,i,e[i]);if(d)for(var i of d(e))p.call(e,i)&&m(t,i,e[i]);return t},a=(t,e)=>s(t,u(e));import{g as n}from"./rangePickerProps-DUeXxnB4.js";import{D as o}from"./dict-enum-DRf9W45H.js";import{cX as l}from"../jse/index-index-CAIAj58w.js";import{at as h}from"./bootstrap-CvQmCMXe.js";function k(){return[{fieldName:"bindUserId",label:"推广员编号",component:"Input",componentProps:{placeholder:"请输入推广员编号",allowClear:!0}},{fieldName:"brokerageEnabled",label:"推广资格",component:"RadioGroup",componentProps:{placeholder:"请选择推广资格",allowClear:!0,options:[{label:"有",value:!0},{label:"无",value:!1}]},defaultValue:!0},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:a(r({},n()),{allowClear:!0})}]}function R(t){return[{field:"id",title:"用户编号",minWidth:80},{field:"avatar",title:"头像",minWidth:70,cellRender:{name:"CellImage"}},{field:"nickname",title:"昵称",minWidth:80},{field:"brokerageUserCount",title:"推广人数",minWidth:80},{field:"brokerageOrderCount",title:"推广订单数量",minWidth:110},{field:"brokerageOrderPrice",title:"推广订单金额",minWidth:110,formatter:({row:e})=>`${l(e.brokerageOrderPrice)}`},{field:"withdrawPrice",title:"已提现金额",minWidth:100,formatter:({row:e})=>`${l(e.withdrawPrice)}`},{field:"withdrawCount",title:"已提现次数",minWidth:100},{field:"price",title:"未提现金额",minWidth:100,formatter:({row:e})=>`${l(e.price)}`},{field:"frozenPrice",title:"冻结中佣金",minWidth:100,formatter:({row:e})=>`${l(e.frozenPrice)}`},{field:"brokerageEnabled",title:"推广资格",minWidth:80,align:"center",cellRender:{attrs:{beforeChange:t},name:"CellSwitch",props:{checkedValue:!0,uncheckedValue:!1,checkedChildren:"有",unCheckedChildren:"无"}}},{field:"brokerageTime",title:"成为推广员时间",minWidth:180,formatter:"formatDateTime"},{field:"bindUserId",title:"上级推广员编号",minWidth:150},{field:"bindUserTime",title:"推广员绑定时间",minWidth:180,formatter:"formatDateTime"},{title:"操作",width:150,fixed:"right",slots:{default:"actions"}}]}function w(){return[{fieldName:"userId",label:"分销员编号",component:"InputSearch",componentProps:{placeholder:"请输入分销员编号"},rules:"required"},{fieldName:"bindUserId",label:"上级推广员编号",component:"InputSearch",componentProps:{placeholder:"请输入上级推广员编号"},rules:"required"}]}function T(){return[{fieldName:"bindUserId",label:"上级推广员编号",component:"InputSearch",componentProps:{placeholder:"请输入上级推广员编号"},rules:"required"}]}function U(){return[{fieldName:"level",label:"用户类型",component:"Select",componentProps:{options:[{label:"全部",value:void 0},{label:"一级推广人",value:"1"},{label:"二级推广人",value:"2"}],allowClear:!0}},{fieldName:"bindUserTime",label:"绑定时间",component:"RangePicker",componentProps:a(r({},n()),{allowClear:!0})}]}function I(){return[{field:"id",title:"用户编号",minWidth:80},{field:"avatar",title:"头像",minWidth:70,cellRender:{name:"CellImage",props:{width:24,height:24,shape:"circle"}}},{field:"nickname",title:"昵称",minWidth:80},{field:"brokerageUserCount",title:"推广人数",minWidth:80},{field:"brokerageOrderCount",title:"推广订单数量",minWidth:110},{field:"brokerageEnabled",title:"推广资格",minWidth:80,cellRender:{name:"CellDict",props:{type:o.INFRA_BOOLEAN_STRING}}},{field:"bindUserTime",title:"绑定时间",width:180,formatter:"formatDateTime"}]}function S(){return[{fieldName:"sourceUserLevel",label:"用户类型",component:"Select",componentProps:{options:[{label:"全部",value:0},{label:"一级推广人",value:1},{label:"二级推广人",value:2}]},defaultValue:0},{fieldName:"status",label:"状态",component:"Select",componentProps:{placeholder:"请选择状态",allowClear:!0,options:h(o.BROKERAGE_RECORD_STATUS,"number")}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:a(r({},n()),{allowClear:!0})}]}function N(){return[{field:"bizId",title:"订单编号",minWidth:80},{field:"sourceUserId",title:"用户编号",minWidth:80},{field:"sourceUserAvatar",title:"头像",minWidth:70,cellRender:{name:"CellImage",props:{width:24,height:24}}},{field:"sourceUserNickname",title:"昵称",minWidth:80},{field:"price",title:"佣金",minWidth:100,formatter:({row:t})=>`${l(t.price)}`},{field:"status",title:"状态",minWidth:85,cellRender:{name:"CellDict",props:{type:o.BROKERAGE_RECORD_STATUS}}},{field:"createTime",title:"创建时间",width:180,formatter:"formatDateTime"}]}export{k as a,w as b,N as c,S as d,T as e,I as f,U as g,R as u};