import{d as B,P as M,r as c,x as O,b as j,a3 as z,o as n,c as D,f as r,A as t,k as s,C as i,a as u,B as l,E as o,D as y,F as E,W as F,J,X as N,Y as R,__tla as W}from"./index-e8bcd6ed.js";import{_ as X,__tla as Y}from"./ContentWrap.vue_vue_type_script_setup_true_lang-a87dc5ee.js";import{_ as q,O as G,__tla as H}from"./OrderPercentageForm.vue_vue_type_script_setup_true_lang-00550ba8.js";import{u as K,__tla as L}from"./useMessage-c9898ef4.js";import{__tla as V}from"./el-card-5eb68390.js";import{__tla as Z}from"./Dialog-e8e59ffc.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as $}from"./Tooltip.vue_vue_type_script_setup_true_lang-71dcc31b.js";let T,aa=Promise.all([(()=>{try{return W}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})()]).then(async()=>{let h,C,v,k;h=l("h3",{class:"m-y-1"},"\u4F63\u91D1",-1),C=l("h3",{class:"m-y-1"},"\u516C\u4F17\u63D0\u73B0",-1),v=l("h3",{class:"m-y-1"},"\u8EAB\u4EF7",-1),k=l("h3",{class:"m-y-1"},"\u6D88\u8D39\u5206",-1),T=B({name:"OrderPercentage",__name:"index",setup(ta){K(),M();const p=c(!0),d=c([]),I=c(0),x=O({pageNo:1,pageSize:10,grossProfitPerc:void 0,grossProfitUserQuotaPerc:void 0,grossProfitAncestorQuotaPerc:void 0,grossProfitBonusQuotaPerc:void 0,grossProfitPlatformQuotaPerc:void 0,divideIntoPerc:void 0,createTime:[]});c(),c(!1);const Q=async()=>{p.value=!0;try{const f=await G.getOrderPercentagePage(x);d.value=f.list,I.value=f.total}finally{p.value=!1}},U=c(),_=(f,A)=>{U.value.open(f,A)};return j(()=>{Q()}),(f,A)=>{const e=F,g=J,m=N,P=X,w=z("hasPermi"),S=R;return n(),D(E,null,[h,r(P,null,{default:t(()=>[s((n(),i(m,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[r(e,{label:"\u6BDB\u5229",align:"center",prop:"grossProfitPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitPerc)+"%",1)]),_:1}),r(e,{label:"\u7528\u6237\u81EA\u5F97",align:"center",prop:"grossProfitUserQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitUserQuotaPerc)+"%",1)]),_:1}),r(e,{label:"\u76F4\u63A8\u5956",align:"center",prop:"grossProfitAncestorQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitAncestorQuotaPerc)+"%",1)]),_:1}),r(e,{label:"\u5408\u8D62\u5956",align:"center",prop:"grossProfitBonusQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitBonusQuotaPerc)+"%",1)]),_:1}),r(e,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"grossProfitPlatformQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitPlatformQuotaPerc)+"%",1)]),_:1}),r(e,{label:"\u5206\u6210\u767E\u5206\u6BD4",align:"center",prop:"divideIntoPerc"},{default:t(a=>[l("span",null,o(100*a.row.divideIntoPerc)+"%",1)]),_:1}),r(e,{label:"\u64CD\u4F5C",align:"center"},{default:t(a=>[s((n(),i(g,{link:"",type:"primary",onClick:b=>_("update1",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(p)]])]),_:1}),C,r(P,null,{default:t(()=>[s((n(),i(m,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[r(e,{label:"\u63D0\u73B0\u6BD4\u4F8B",align:"center",prop:"withdrawCommission"},{default:t(a=>[l("span",null,o(100*a.row.withdrawCommission)+"%",1)]),_:1}),r(e,{label:"\u6D88\u8D39\u5206\u6BD4\u4F8B",align:"center",prop:"withdrawConsumption"},{default:t(a=>[l("span",null,o(100*a.row.withdrawConsumption)+"%",1)]),_:1}),r(e,{label:"\u64CD\u4F5C",align:"center"},{default:t(a=>[s((n(),i(g,{link:"",type:"primary",onClick:b=>_("withdraw",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(p)]])]),_:1}),v,r(P,null,{default:t(()=>[s((n(),i(m,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[r(e,{label:"\u8D2D\u7269\u81EA\u5F97",align:"center",prop:"orderUserSocialStatus"},{default:t(a=>[l("span",null,o(a.row.orderUserSocialStatus),1)]),_:1}),r(e,{label:"\u8D2D\u7269\u63A8\u8350\u4EBA\u83B7\u5F97",align:"center",prop:"orderAncestorSocialStatus"},{default:t(a=>[l("span",null,o(a.row.orderAncestorSocialStatus),1)]),_:1}),r(e,{label:"\u6CE8\u518C\u9ED8\u8BA4\u8EAB\u4EF7",align:"center",prop:"registerSocialStatus"},{default:t(a=>[l("span",null,o(a.row.registerSocialStatus),1)]),_:1}),r(e,{label:"\u63A8\u8350\u6CE8\u518C\u8EAB\u4EF7",align:"center",prop:"registerAncestorSocialStatus"},{default:t(a=>[l("span",null,o(a.row.registerAncestorSocialStatus),1)]),_:1}),r(e,{label:"\u6536\u85CF\u83B7\u5F97",align:"center",prop:"collectSocialStatus"},{default:t(a=>[l("span",null,o(a.row.collectSocialStatus),1)]),_:1}),r(e,{label:"\u7B7E\u5230\u83B7\u5F97",align:"center",prop:"signInSocialStatus"}),r(e,{label:"\u7B7E\u5230\u53EF\u83B7\u5F97\u7684\u6700\u5927\u8EAB\u4EF7\u503C",align:"center",prop:"signInSocialStatusMax"}),r(e,{label:"\u64CD\u4F5C",align:"center"},{default:t(a=>[s((n(),i(g,{link:"",type:"primary",onClick:b=>_("update2",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(p)]])]),_:1}),k,r(P,null,{default:t(()=>[s((n(),i(m,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[r(e,{label:"\u5145\u503C\u500D\u7387",align:"center",prop:"consumptionMagnification"},{default:t(a=>[l("span",null,o(100*a.row.consumptionMagnification)+"%",1)]),_:1}),r(e,{label:"\u9996\u6B21\u6700\u4F4E\u5145\u503C\u91D1\u989D",align:"center",prop:"firstTopUpConsumption"},{default:t(a=>[l("span",null,o(a.row.firstTopUpConsumption),1)]),_:1}),r(e,{label:"\u540E\u7EED\u5355\u6B21\u6700\u4F4E\u5145\u503C\u91D1\u989D",align:"center",prop:"followUpConsumption"},{default:t(a=>[l("span",null,o(a.row.followUpConsumption),1)]),_:1}),r(e,{label:"\u7528\u6237\u5355\u6B21\u6700\u4F4E\u5145\u503C\u91D1\u989D",align:"center",prop:"userTopUpConsumptionPoints"},{default:t(a=>[l("span",null,o(a.row.userTopUpConsumptionPoints),1)]),_:1}),r(e,{label:"\u64CD\u4F5C",align:"center"},{default:t(a=>[s((n(),i(g,{link:"",type:"primary",onClick:b=>_("consumption",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(p)]])]),_:1}),r(q,{ref_key:"formRef",ref:U,onSuccess:Q},null,512)],64)}}})});export{aa as __tla,T as default};