index-7388e91a.js 4.3 KB

1
  1. import{d as U,h as z,r as s,e as O,k as B,Q as j,o as i,c as D,f as t,w as r,x as u,v as p,a as _,g as l,t as o,m as k,F,G,C as H,H as M,I as N,_ as R,__tla as T}from"./index-430b3151.js";import{_ as q,__tla as E}from"./ContentWrap-60842994.js";import{O as J,a as K,__tla as L}from"./OrderPercentageForm-23fb077d.js";import{u as V,__tla as W}from"./useMessage-d226ba89.js";import{__tla as X}from"./el-card-dee5b36b.js";import{__tla as Y}from"./Dialog-cd42c639.js";import{__tla as Z}from"./Tooltip-8267f500.js";let x,$=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})()]).then(async()=>{let f,g;f=l("h3",{class:"m-y-1"},"\u79EF\u5206",-1),g=l("h3",{class:"m-y-1"},"\u8EAB\u4EF7",-1),x=R(U({name:"OrderPercentage",__name:"index",setup(aa){V(),z();const c=s(!0),d=s([]),A=s(0),C=O({pageNo:1,pageSize:10,grossProfitPerc:void 0,grossProfitUserQuotaPerc:void 0,grossProfitAncestorQuotaPerc:void 0,grossProfitBonusQuotaPerc:void 0,grossProfitPlatformQuotaPerc:void 0,divideIntoPerc:void 0,createTime:[]});s(),s(!1);const P=async()=>{c.value=!0;try{const n=await K.getOrderPercentagePage(C);d.value=n.list,A.value=n.total}finally{c.value=!1}},m=s(),S=(n,w)=>{m.value.open(n,w)};return B(()=>{P()}),(n,w)=>{const e=G,v=H,y=M,b=q,h=j("hasPermi"),Q=N;return i(),D(F,null,[f,t(b,null,{default:r(()=>[u((i(),p(y,{data:_(d),stripe:!0,"show-overflow-tooltip":!0},{default:r(()=>[t(e,{label:"\u6BDB\u5229",align:"center",prop:"grossProfitPerc"},{default:r(a=>[l("span",null,o(100*a.row.grossProfitPerc)+"%",1)]),_:1}),t(e,{label:"\u7528\u6237\u81EA\u5F97",align:"center",prop:"grossProfitUserQuotaPerc"},{default:r(a=>[l("span",null,o(100*a.row.grossProfitUserQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u76F4\u63A8\u5956",align:"center",prop:"grossProfitAncestorQuotaPerc"},{default:r(a=>[l("span",null,o(100*a.row.grossProfitAncestorQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u5408\u8D62\u5956",align:"center",prop:"grossProfitBonusQuotaPerc"},{default:r(a=>[l("span",null,o(100*a.row.grossProfitBonusQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"grossProfitPlatformQuotaPerc"},{default:r(a=>[l("span",null,o(100*a.row.grossProfitPlatformQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u5206\u6210\u767E\u5206\u6BD4",align:"center",prop:"divideIntoPerc"},{default:r(a=>[l("span",null,o(100*a.row.divideIntoPerc)+"%",1)]),_:1}),t(e,{label:"\u64CD\u4F5C",align:"center"},{default:r(a=>[u((i(),p(v,{link:"",type:"primary",onClick:I=>S("update1",a.row.id)},{default:r(()=>[k(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[h,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[Q,_(c)]])]),_:1}),g,t(b,null,{default:r(()=>[u((i(),p(y,{data:_(d),stripe:!0,"show-overflow-tooltip":!0},{default:r(()=>[t(e,{label:"\u8D2D\u7269\u81EA\u5F97",align:"center",prop:"orderUserSocialStatus"},{default:r(a=>[l("span",null,o(a.row.orderUserSocialStatus),1)]),_:1}),t(e,{label:"\u8D2D\u7269\u63A8\u8350\u4EBA\u83B7\u5F97",align:"center",prop:"orderAncestorSocialStatus"},{default:r(a=>[l("span",null,o(a.row.orderAncestorSocialStatus),1)]),_:1}),t(e,{label:"\u6CE8\u518C\u9ED8\u8BA4\u8EAB\u4EF7",align:"center",prop:"registerSocialStatus"},{default:r(a=>[l("span",null,o(a.row.registerSocialStatus),1)]),_:1}),t(e,{label:"\u63A8\u8350\u6CE8\u518C\u8EAB\u4EF7",align:"center",prop:"registerAncestorSocialStatus"},{default:r(a=>[l("span",null,o(a.row.registerAncestorSocialStatus),1)]),_:1}),t(e,{label:"\u6536\u85CF\u83B7\u5F97",align:"center",prop:"collectSocialStatus"},{default:r(a=>[l("span",null,o(a.row.collectSocialStatus),1)]),_:1}),t(e,{label:"\u7B7E\u5230\u83B7\u5F97",align:"center",prop:"signInSocialStatus"}),t(e,{label:"\u7B7E\u5230\u53EF\u83B7\u5F97\u7684\u6700\u5927\u8EAB\u4EF7\u503C",align:"center",prop:"signInSocialStatusMax"}),t(e,{label:"\u64CD\u4F5C",align:"center"},{default:r(a=>[u((i(),p(v,{link:"",type:"primary",onClick:I=>S("update2",a.row.id)},{default:r(()=>[k(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[h,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[Q,_(c)]])]),_:1}),t(J,{ref_key:"formRef",ref:m,onSuccess:P},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/orderpercentage/index.vue"]])});export{$ as __tla,x as default};