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