1 |
- import{d as B,P as O,r as p,x as T,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-6e0fa573.js";import{_ as X,__tla as Y}from"./ContentWrap.vue_vue_type_script_setup_true_lang-bed37a76.js";import{_ as q,O as G,__tla as H}from"./OrderPercentageForm.vue_vue_type_script_setup_true_lang-b2ca98ea.js";import{u as K,__tla as L}from"./useMessage-7f978edc.js";import{__tla as V}from"./el-card-f999e23d.js";import{__tla as Z}from"./Dialog-a16029e3.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as $}from"./Tooltip.vue_vue_type_script_setup_true_lang-17cc4e0c.js";let M,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,v,C,k;h=l("h3",{class:"m-y-1"},"\u4F63\u91D1",-1),v=l("h3",{class:"m-y-1"},"\u516C\u4F17\u63D0\u73B0",-1),C=l("h3",{class:"m-y-1"},"\u8EAB\u4EF7",-1),k=l("h3",{class:"m-y-1"},"\u6D88\u8D39\u5206",-1),M=B({name:"OrderPercentage",__name:"index",setup(ta){K(),O();const c=p(!0),d=p([]),I=p(0),x=T({pageNo:1,pageSize:10,grossProfitPerc:void 0,grossProfitUserQuotaPerc:void 0,grossProfitAncestorQuotaPerc:void 0,grossProfitBonusQuotaPerc:void 0,grossProfitPlatformQuotaPerc:void 0,divideIntoPerc:void 0,createTime:[]});p(),p(!1);const Q=async()=>{c.value=!0;try{const _=await G.getOrderPercentagePage(x);d.value=_.list,I.value=_.total}finally{c.value=!1}},A=p(),f=(_,U)=>{A.value.open(_,U)};return j(()=>{Q()}),(_,U)=>{const e=F,g=J,P=N,m=X,w=z("hasPermi"),S=R;return n(),D(E,null,[h,r(m,null,{default:t(()=>[s((n(),i(P,{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=>f("update1",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(c)]])]),_:1}),v,r(m,null,{default:t(()=>[s((n(),i(P,{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=>f("withdraw",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(c)]])]),_:1}),C,r(m,null,{default:t(()=>[s((n(),i(P,{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=>f("update2",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(c)]])]),_:1}),k,r(m,null,{default:t(()=>[s((n(),i(P,{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:"\u89E6\u53D1\u500D\u7387\u7684\u6700\u4F4E\u91D1\u989D",align:"center",prop:"triggerMagnificationPoints"},{default:t(a=>[l("span",null,o(a.row.triggerMagnificationPoints),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=>f("consumption",a.row.id)},{default:t(()=>[y(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[w,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[S,u(c)]])]),_:1}),r(q,{ref_key:"formRef",ref:A,onSuccess:Q},null,512)],64)}}})});export{aa as __tla,M as default};
|