1 |
- import{d as x,P as B,r as s,x as O,b as j,a3 as z,o as i,c as D,f as t,A as r,k as u,C as p,a as _,B as l,E as o,D as A,F as E,W as F,J,X as M,Y as N,__tla as R}from"./index-f65577b8.js";import{_ as T,__tla as W}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9fbbd655.js";import{_ as X,O as Y,__tla as q}from"./OrderPercentageForm.vue_vue_type_script_setup_true_lang-8ffdfa63.js";import{u as G,__tla as H}from"./useMessage-4dbf0ae4.js";import{__tla as K}from"./el-card-ab53e6aa.js";import{__tla as L}from"./Dialog-bd3317a7.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as V}from"./Tooltip.vue_vue_type_script_setup_true_lang-39b6cedc.js";let k,Z=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return V}catch{}})()]).then(async()=>{let f,g;f=l("h3",{class:"m-y-1"},"\u4F63\u91D1",-1),g=l("h3",{class:"m-y-1"},"\u8EAB\u4EF7",-1),k=x({name:"OrderPercentage",__name:"index",setup($){G(),B();const c=s(!0),d=s([]),C=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 Y.getOrderPercentagePage(I);d.value=n.list,C.value=n.total}finally{c.value=!1}},m=s(),S=(n,w)=>{m.value.open(n,w)};return j(()=>{P()}),(n,w)=>{const e=F,y=J,b=M,v=T,h=z("hasPermi"),Q=N;return i(),D(E,null,[f,t(v,null,{default:r(()=>[u((i(),p(b,{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(()=>[A(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[h,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[Q,_(c)]])]),_:1}),g,t(v,null,{default:r(()=>[u((i(),p(b,{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(()=>[A(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[h,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[Q,_(c)]])]),_:1}),t(X,{ref_key:"formRef",ref:m,onSuccess:P},null,512)],64)}}})});export{Z as __tla,k as default};
|