You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
6.6 KiB

6 months ago
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[315],{68934:function(X,A,e){e.d(A,{tm:function(){return p},Vo:function(){return j},oh:function(){return b},Nm:function(){return O},tr:function(){return v},ts:function(){return D},qb:function(){return T}});var D={};e.r(D),e.d(D,{Params:function(){return U},request:function(){return L}});var p={};e.r(p),e.d(p,{Params:function(){return C},request:function(){return W}});var j={};e.r(j),e.d(j,{Params:function(){return K},request:function(){return Z}});var b={};e.r(b),e.d(b,{Params:function(){return M},request:function(){return z}});var O={};e.r(O),e.d(O,{Params:function(){return I},request:function(){return g}});var v={};e.r(v),e.d(v,{Params:function(){return c},request:function(){return $}});var T={};e.r(T),e.d(T,{Params:function(){return x},request:function(){return l}});var f=e(97857),n=e.n(f),y=e(72004),m=e.n(y),B=e(12444),u=e.n(B),o=e(88593),U=m()(function t(){u()(this,t)});function L(t,r,h){return(0,o.request)("/wallet/account",n()({method:"POST",params:n()({},t),data:n()({},r)},h||{}))}var C=m()(function t(){u()(this,t)});function W(t,r,h){return(0,o.request)("/wallet/account",n()({method:"DELETE",params:n()({},t),data:n()({},r)},h||{}))}var K=m()(function t(){u()(this,t)});function Z(t,r){return(0,o.request)("/wallet/accountList",n()({method:"GET",params:n()({},t),data:{}},r||{}))}var F=e(9783),a=e.n(F),M=m()(function t(){u()(this,t),a()(this,"endTime",void 0),a()(this,"page",void 0),a()(this,"page_size",void 0),a()(this,"receipt",void 0),a()(this,"startTime",void 0)});function z(t,r){return(0,o.request)("/wallet/commission",n()({method:"GET",params:n()({},t),data:{}},r||{}))}var I=m()(function t(){u()(this,t)});function g(t,r){return(0,o.request)("/wallet/detail",n()({method:"GET",params:n()({},t),data:{}},r||{}))}var c=m()(function t(){u()(this,t),a()(this,"page",void 0),a()(this,"page_size",void 0),a()(this,"status",void 0)});function $(t,r){return(0,o.request)("/wallet/withdrawal",n()({method:"GET",params:n()({},t),data:{}},r||{}))}var x=m()(function t(){u()(this,t)});function l(t,r,h){return(0,o.request)("/wallet/withdrawal",n()({method:"POST",params:n()({},t),data:n()({},r)},h||{}))}},40277:function(X,A,e){e.r(A),e.d(A,{default:function(){return z}});var D=e(15009),p=e.n(D),j=e(99289),b=e.n(j),O=e(97857),v=e.n(O),T=e(5574),f=e.n(T),n=e(67294),y=e(8702),m=e(59652),B=e(71230),u=e(15746),o=e(74763),U=e(71577),L=e(80284),C=e(68934),W=e(88593),K=e(44685),Z=e(30381),F=e.n(Z),a=e(85893),M=function(g){var c=g.receipt,$=(0,n.useState)({}),x=f()($,2),l=x[0],t=x[1],r=(0,n.useState)(1),h=f()(r,2),w=h[0],k=h[1],q=(0,n.useState)(20),V=f()(q,2),ee=V[0],te=V[1],ae=(0,n.useState)(!1),Q=f()(ae,2),J=Q[0],G=Q[1],ne=[{title:"\u9009\u62E9\u65E5\u671F",valueType:"dateTimeRange",dataIndex:"time",hideInTable:!0,search:{transform:function(s){return{startTime:s[0],endTime:s[1]}}}},{title:"\u5165\u8D26\u65F6\u95F4",dataIndex:"createdAt",key:"createdAt",hideInSearch:!0,valueType:"dateTime"},{title:"\u5546\u5BB6\u8BA2\u5355\u53F7",dataIndex:"order_id",key:"order_id",hideInSearch:!0},{title:"\u8D26\u6237\u7C7B\u578B",dataIndex:"status",key:"status",hideInSearch:!0,valueType:"select",fieldProps:{options:[{label:"\u652F\u51FA",value:1},{label:"\u6536\u5165",value:2}]}},{title:"\u6536\u652F\u91D1\u989D",dataIndex:"price",key:"price",hideInSearch:!0},{title:"\u4E1A\u52A1\u63CF\u8FF0",dataIndex:"type",key:"type",hideInSearch:!0,valueType:"select",fieldProps:{options:[{label:"\u4F63\u91D1",value:"1"},{label:"\u8BA2\u5355",value:"2"},{label:"\u63D0\u73B0",value:"3"}]}},{title:"\u5907\u6CE8",dataIndex:"remark",key:"remark",hideInSearch:!0}],re=function(s){return k(s==null?void 0:s.current),te(s==null?void 0:s.pageSize),C.oh.request(v()(v()({},s),{},{page:s.current,page_size:s.pageSize,receipt:c})).then(function(d){var _,E,P;return t(d==null||(_=d.data)===null||_===void 0?void 0:_.totalScan),{success:!0,data:(d==null||(E=d.data)===null||E===void 0?void 0:E.list)||[],total:d==null||(P=d.data)===null||P===void 0?void 0:P.total}})},se=function(){var R=b()(p()().mark(function s(){var d,_,E,P;r