1 |
- import{d as B,P as O,r as p,x as T,b as z,a4 as D,o as n,c as j,f as e,A as t,k as s,C as i,a as u,B as l,E as o,D as y,F as E,X as F,J,Y as N,Z as R,_ as X,__tla as Y}from"./index-54aa57d8.js";import{_ as Z,__tla as q}from"./ContentWrap-260746ab.js";import{O as G,a as H,__tla as K}from"./OrderPercentageForm-a1266a21.js";import{u as L,__tla as V}from"./useMessage-f56cafbb.js";import{__tla as W}from"./el-card-e7d6628c.js";import{__tla as $}from"./Dialog-7bb778a5.js";import{__tla as aa}from"./Tooltip-b383fd4d.js";let x,ta=Promise.all([(()=>{try{return Y}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})()]).then(async()=>{let h,v,k,C;h=l("h3",{class:"m-y-1"},"\u4F63\u91D1",-1),v=l("h3",{class:"m-y-1"},"\u516C\u4F17\u63D0\u73B0",-1),k=l("h3",{class:"m-y-1"},"\u8EAB\u4EF7",-1),C=l("h3",{class:"m-y-1"},"\u6D88\u8D39\u5206",-1),x=X(B({name:"OrderPercentage",__name:"index",setup(ea){L(),O();const c=p(!0),d=p([]),I=p(0),M=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 H.getOrderPercentagePage(M);d.value=_.list,I.value=_.total}finally{c.value=!1}},A=p(),f=(_,U)=>{A.value.open(_,U)};return z(()=>{Q()}),(_,U)=>{const r=F,g=J,P=N,m=Z,w=D("hasPermi"),S=R;return n(),j(E,null,[h,e(m,null,{default:t(()=>[s((n(),i(P,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(r,{label:"\u6BDB\u5229",align:"center",prop:"grossProfitPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitPerc)+"%",1)]),_:1}),e(r,{label:"\u7528\u6237\u81EA\u5F97",align:"center",prop:"grossProfitUserQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitUserQuotaPerc)+"%",1)]),_:1}),e(r,{label:"\u76F4\u63A8\u5956",align:"center",prop:"grossProfitAncestorQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitAncestorQuotaPerc)+"%",1)]),_:1}),e(r,{label:"\u5408\u8D62\u5956",align:"center",prop:"grossProfitBonusQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitBonusQuotaPerc)+"%",1)]),_:1}),e(r,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"grossProfitPlatformQuotaPerc"},{default:t(a=>[l("span",null,o(100*a.row.grossProfitPlatformQuotaPerc)+"%",1)]),_:1}),e(r,{label:"\u5206\u6210\u767E\u5206\u6BD4",align:"center",prop:"divideIntoPerc"},{default:t(a=>[l("span",null,o(100*a.row.divideIntoPerc)+"%",1)]),_:1}),e(r,{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,e(m,null,{default:t(()=>[s((n(),i(P,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(r,{label:"\u63D0\u73B0\u6BD4\u4F8B",align:"center",prop:"withdrawCommission"},{default:t(a=>[l("span",null,o(100*a.row.withdrawCommission)+"%",1)]),_:1}),e(r,{label:"\u6D88\u8D39\u5206\u6BD4\u4F8B",align:"center",prop:"withdrawConsumption"},{default:t(a=>[l("span",null,o(100*a.row.withdrawConsumption)+"%",1)]),_:1}),e(r,{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}),k,e(m,null,{default:t(()=>[s((n(),i(P,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(r,{label:"\u8D2D\u7269\u81EA\u5F97",align:"center",prop:"orderUserSocialStatus"},{default:t(a=>[l("span",null,o(a.row.orderUserSocialStatus),1)]),_:1}),e(r,{label:"\u8D2D\u7269\u63A8\u8350\u4EBA\u83B7\u5F97",align:"center",prop:"orderAncestorSocialStatus"},{default:t(a=>[l("span",null,o(a.row.orderAncestorSocialStatus),1)]),_:1}),e(r,{label:"\u6CE8\u518C\u9ED8\u8BA4\u8EAB\u4EF7",align:"center",prop:"registerSocialStatus"},{default:t(a=>[l("span",null,o(a.row.registerSocialStatus),1)]),_:1}),e(r,{label:"\u63A8\u8350\u6CE8\u518C\u8EAB\u4EF7",align:"center",prop:"registerAncestorSocialStatus"},{default:t(a=>[l("span",null,o(a.row.registerAncestorSocialStatus),1)]),_:1}),e(r,{label:"\u6536\u85CF\u83B7\u5F97",align:"center",prop:"collectSocialStatus"},{default:t(a=>[l("span",null,o(a.row.collectSocialStatus),1)]),_:1}),e(r,{label:"\u7B7E\u5230\u83B7\u5F97",align:"center",prop:"signInSocialStatus"}),e(r,{label:"\u7B7E\u5230\u53EF\u83B7\u5F97\u7684\u6700\u5927\u8EAB\u4EF7\u503C",align:"center",prop:"signInSocialStatusMax"}),e(r,{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}),C,e(m,null,{default:t(()=>[s((n(),i(P,{data:u(d),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(r,{label:"\u5145\u503C\u500D\u7387",align:"center",prop:"consumptionMagnification"},{default:t(a=>[l("span",null,o(100*a.row.consumptionMagnification)+"%",1)]),_:1}),e(r,{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}),e(r,{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}),e(r,{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}),e(G,{ref_key:"formRef",ref:A,onSuccess:Q},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/orderpercentage/index.vue"]])});export{ta as __tla,x as default};
|