index-d960cf80.js 4.3 KB

1
  1. import{d as U,P as B,r as s,x as O,b as z,a4 as D,o as i,c as j,f as t,A as r,k as u,C as p,a as _,B as l,E as o,D as k,F as E,X as F,J,Y as M,Z as N,_ as R,__tla as T}from"./index-286756b9.js";import{_ as X,__tla as Y}from"./ContentWrap-83998678.js";import{O as Z,a as q,__tla as G}from"./OrderPercentageForm-ccf179b8.js";import{u as H,__tla as K}from"./useMessage-084b1e70.js";import{__tla as L}from"./el-card-d3d5a654.js";import{__tla as V}from"./Dialog-4c2de357.js";import{__tla as W}from"./Tooltip-4edd88be.js";let x,$=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return W}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){H(),B();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 q.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 z(()=>{P()}),(n,w)=>{const e=F,y=J,v=M,b=X,h=D("hasPermi"),Q=N;return i(),j(E,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: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(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: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(Z,{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};