1 |
- import{d as C,i as z,r as s,f as O,l as B,R as j,o as i,c as D,g as t,w as r,y as u,x as p,a as _,h as l,t as o,n as x,F as R,H as F,D as H,I as J,J as M,_ as N,__tla as T}from"./index-3fb48822.js";import{_ as q,__tla as E}from"./ContentWrap-afa47a64.js";import{O as G,a as K,__tla as L}from"./OrderPercentageForm-5397c8e7.js";import{u as V,__tla as W}from"./useMessage-b6c78c26.js";import{__tla as X}from"./el-card-8960fd94.js";import{__tla as Y}from"./Dialog-7d4425a0.js";import{__tla as Z}from"./Tooltip-309fdd03.js";let k,$=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),k=N(C({name:"OrderPercentage",__name:"index",setup(aa){V(),z();const c=s(!0),d=s([]),A=s(0),I=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(I);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=F,y=H,v=J,b=q,h=j("hasPermi"),Q=M;return i(),D(R,null,[f,t(b,null,{default:r(()=>[u((i(),p(v,{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(y,{link:"",type:"primary",onClick:U=>S("update1",a.row.id)},{default:r(()=>[x(" \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(v,{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(y,{link:"",type:"primary",onClick:U=>S("update2",a.row.id)},{default:r(()=>[x(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[h,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[Q,_(c)]])]),_:1}),t(G,{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,k as default};
|