mer-tradescreen/yusi/assets/finance-uBvUXspn.js

6 lines
14 KiB
JavaScript
Raw Normal View History

2024-06-19 19:24:23 +08:00
import{_ as V,a as Y,i as B,r as p,o as z,j as L,b as s,f as r,d as t,q as y,h as b,F,g as N,c as k,k as P,w as H,T as X,n as a,t as c,y as q,z as J}from"./index-YcrvWpTH.js";import{_ as M}from"./TABBG-WY6uizpD.js";import{_ as O}from"./Bill-0XrImhvO.js";import{x as U,y as S,z as W,A as K,B as Q,C as ee}from"./api-cxsdgs3-.js";import"./axios-QLjAsgXu.js";const te="/yusi/assets/TC-V-mBZomo.png",C=w=>(q("data-v-c57eba8c"),w=w(),J(),w),ie={class:"box"},le={class:"img-cls"},ae=C(()=>t("img",{src:M,style:{width:"100%",height:"100%",position:"absolute"},alt:""},null,-1)),ne={class:"content"},ce={class:"btns"},oe={style:{display:"flex"}},se={style:{"margin-right":"0vw"}},de={key:0,style:{display:"flex",color:"white","justify-content":"flex-end","margin-right":"5vw",cursor:"pointer"}},re={key:0,class:"bill"},he={key:1,class:"table"},ue={key:0,class:"pop"},ge=C(()=>t("img",{src:te,alt:"",style:{width:"35vw",height:"40vh",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)"}},null,-1)),ve={class:"pop-content"},pe={class:"pop-content-head"},be={class:"gradient-text"},_e={style:{"font-size":"10px"}},xe={class:"pop-li"},ye={style:{margin:"0 .5vw"}},we={class:"price"},fe={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},ke={style:{margin:"0 .5vw"}},me={class:"price",style:{color:"white"}},$e={class:"pop-li",style:{"margin-top":"3vh"}},Be={style:{margin:"0 2vw"}},Ce={class:"price"},De={class:"pop-li",style:{"margin-top":"3vh"}},Ee={style:{margin:"0 2vw"}},Ie={class:"price"},Ge={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},Te={style:{margin:"0 .5vw"}},Ae={class:"price",style:{color:"white"}},Fe={style:{margin:"0 .5vw"}},Ne={class:"price",style:{color:"white"}},Se={style:{margin:"0 1vw"}},je={class:"price",style:{color:"white"}},Re={style:{display:"flex","justify-content":"space-between"},class:"pop-li"},Ze={style:{margin:"0 .5vw"}},Ve={class:"price",style:{color:"white"}},Ye={style:{margin:"0 .5vw"}},ze={class:"price",style:{color:"white"}},Le=C(()=>t("div",{style:{opacity:"0"}},[a(" 返回手续费 "),t("span",{style:{margin:"0 1vw"}},[t("span",{class:"price",style:{color:"white"}},"16.6"),a("元")]),t("span",null,"2笔")],-1)),Pe={class:"pop-li",style:{"margin-top":"3vh"}},He={class:"price"},Xe={__name:"finance",setup(w){const h=Y(),_=B(1),D=i=>{_.value=i,x(2,i)},E=p([{icon:"DD",text:"订单总金额收入",num:1245},{icon:"CZ",text:"退款支出金额",num:1245},{icon:"YJ",text:"佣金支出金额",num:1245},{icon:"PT",text:"平台手续费",num:1245},{icon:"CZ",text:"充值金额",num:1245},{icon:"CZXF",text:"充值消费金额",num:1245},{icon:"CS",text:"产生交易的商户数",num:1245},{icon:"YH",text:"优惠券",num:1245},{icon:"CS",text:"入口商户金额",num:1245},{icon:"YC",text:"云仓库佣金",num:1245},{icon:"XZ",text:"小组服务佣金",num:1245},{icon:"CY",text:"村佣金",num:1245},{icon:"ZY",text:"镇佣金",num:1245},{icon:"PT",text:"平台剩余手续费",num:1245}]);U({...h.area}).then(i=>{i.data.stat.forEach((e,l)=>{E[l].num=e.count})});const x=(i,e)=>{i==0&&(v.data.splice(0,v.data.length),W({...h.area,limit:50}).then(l=>{f(l.data.list)})),i==1&&(u.data.splice(0,u.data.length),K({...h.area,limit:50}).then(l=>{f(l.data.list)})),i==2&&(g.data.splice(0,g.data.length),S({...h.area,limit:50,type:e}).then(l=>{m=l.data.list,f(l.data.list)})),o.value=i,A()},j=i=>{i.columnIndex==10},I=i=>{if(i==0)return"银行卡";if(i==1)return"支付宝";if(i==2)return"微信";if(i==3)return"零钱"},G=i=>{if(i==-1)return"未通过";if(i==0)return"审核中";if(i==1)return"已提现"},f=i=>{i.reverse().forEach((e,l)=>{o.value==0&&(l%2==0?v.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${l+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>
2024-06-19 11:01:39 +08:00
<img src=${e.extract_pic} style='width:30px;height:30px'>
</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;' >${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.extract_price}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${I(e.extract_type)}</div>`,"<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>--</div>",`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.bank_code}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${G(e.status)}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.fail_msg||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.create_time||"--"}</div>`]):v.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>
<img src=${e.extract_pic} style='width:30px;height:30px'>
</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.real_name}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.extract_price}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${I(e.extract_type)}</div>`,"<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>--</div>",`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.bank_code}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${G(e.status)}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.fail_msg||"--"}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.create_time||"--"}</div>`])),o.value==1&&(l%2==0?u.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;' >${e.nickname}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.number}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.title}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.mark}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.create_time}</div>`]):u.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.uid}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.nickname}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.number}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.title}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.mark}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.create_time}</div>`])),o.value==2&&(l%2==0?g.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${l+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;' >${e.time}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.income}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.expend}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;'>${e.charge}</div>`,"<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #02243D;color:#59D7F3;cursor: pointer;'></div>"]):g.data.push([`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${l+1}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.time}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.income}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.expend}</div>`,`<div style='width: 100%;text-align: center; height: 100%; color: aliceblue; background: #102B3E;'>${e.charge}</div>`,"<div style='widt