index-6dbc4b61.js 3.6 KB

1
  1. import{d as C,h as I,r as l,e as S,l as A,Q as O,o as f,c as B,f as t,w as r,x as y,v as h,a as o,g as s,t as n,n as N,F as T,G as j,C as D,H as F,I as G,_ as H,__tla as R}from"./index-bd9277a1.js";import{_ as q,__tla as E}from"./ContentWrap-7c73ab26.js";import{_ as J,__tla as K}from"./index-3118d255.js";import{d as L,__tla as M}from"./formatTime-8639ba1a.js";import{O as V,a as W,__tla as X}from"./OrderPercentageForm-0e0e5ce1.js";import{u as Y,__tla as Z}from"./useMessage-274788d4.js";import{__tla as $}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5f6a2d0d.js";import{__tla as aa}from"./el-card-bc8cec83.js";import{__tla as ta}from"./index-49ecf2ef.js";import{__tla as ra}from"./Dialog-eba103da.js";import{__tla as ea}from"./Tooltip-61304978.js";let w,oa=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return ea}catch{}})()]).then(async()=>{w=H(C({name:"OrderPercentage",__name:"index",setup(la){Y(),I();const c=l(!0),d=l([]),g=l(0),i=S({pageNo:1,pageSize:10,grossProfitPerc:void 0,grossProfitUserQuotaPerc:void 0,grossProfitAncestorQuotaPerc:void 0,grossProfitBonusQuotaPerc:void 0,grossProfitPlatformQuotaPerc:void 0,divideIntoPerc:void 0,createTime:[]});l(),l(!1);const u=async()=>{c.value=!0;try{const p=await W.getOrderPercentagePage(i);d.value=p.list,g.value=p.total}finally{c.value=!1}},P=l();return A(()=>{u()}),(p,_)=>{const e=j,Q=D,b=F,x=J,z=q,U=O("hasPermi"),k=G;return f(),B(T,null,[t(z,null,{default:r(()=>[y((f(),h(b,{data:o(d),stripe:!0,"show-overflow-tooltip":!0},{default:r(()=>[t(e,{label:"\u7F16\u53F7",align:"center",prop:"id"}),t(e,{label:"\u6BDB\u5229",align:"center",prop:"grossProfitPerc"},{default:r(a=>[s("span",null,n(100*a.row.grossProfitPerc)+"%",1)]),_:1}),t(e,{label:"\u7528\u6237\u81EA\u5F97",align:"center",prop:"grossProfitUserQuotaPerc"},{default:r(a=>[s("span",null,n(100*a.row.grossProfitUserQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u76F4\u63A8\u5956",align:"center",prop:"grossProfitAncestorQuotaPerc"},{default:r(a=>[s("span",null,n(100*a.row.grossProfitAncestorQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u5408\u8D62\u5956",align:"center",prop:"grossProfitBonusQuotaPerc"},{default:r(a=>[s("span",null,n(100*a.row.grossProfitBonusQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"grossProfitPlatformQuotaPerc"},{default:r(a=>[s("span",null,n(100*a.row.grossProfitPlatformQuotaPerc)+"%",1)]),_:1}),t(e,{label:"\u5206\u6210\u767E\u5206\u6BD4",align:"center",prop:"divideIntoPerc"},{default:r(a=>[s("span",null,n(100*a.row.divideIntoPerc)+"%",1)]),_:1}),t(e,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:o(L),width:"180px"},null,8,["formatter"]),t(e,{label:"\u64CD\u4F5C",align:"center"},{default:r(a=>[y((f(),h(Q,{link:"",type:"primary",onClick:sa=>{return m="update",v=a.row.id,void P.value.open(m,v);var m,v}},{default:r(()=>[N(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[U,["distri:order-percentage:update"]]])]),_:1})]),_:1},8,["data"])),[[k,o(c)]]),t(x,{total:o(g),page:o(i).pageNo,"onUpdate:page":_[0]||(_[0]=a=>o(i).pageNo=a),limit:o(i).pageSize,"onUpdate:limit":_[1]||(_[1]=a=>o(i).pageSize=a),onPagination:u},null,8,["total","page","limit"])]),_:1}),t(V,{ref_key:"formRef",ref:P,onSuccess:u},null,512)],64)}}}),[["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/views/system/distri/orderpercentage/index.vue"]])});export{oa as __tla,w as default};