"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6109],{3599:function(b,T,a){a.r(T);var g=a(48305),r=a.n(g),m=a(50959),i=a(94675),l=a(33917),v=a(92790),u=a(11527);T.default=function(h){var s=h.values,y=h.modalOpenState,d=h.onModalOpenState,O=(0,m.useState)(null),p=r()(O,2),j=p[0],E=p[1],C=(0,m.useState)(null),c=r()(C,2),P=c[0],f=c[1];(0,m.useEffect)(function(){s!=null&&s.id&&(0,v.QN)(s==null?void 0:s.id).then(function(o){var n=o.data;f(n||[])}).catch(function(){})},[s]);var D=[{title:"id",dataIndex:"id",search:!1},{title:"\u6295\u8D44\u4EBA",dataIndex:"shop",search:!1,render:function(n,t){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{children:["\u7528\u6237\u540D\uFF1A",t==null?void 0:t.userName]}),(0,u.jsxs)("div",{children:["\u624B\u673A\u53F7\uFF1A",t==null?void 0:t.phone]}),(0,u.jsxs)("div",{children:["\u7B49\u7EA7\uFF1A",t==null?void 0:t.level]})]})}},{title:"\u7C7B\u578B",dataIndex:"typeValue",search:!1},{title:"\u91D1\u989D",dataIndex:"points",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",search:!1}];return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(i.Z,{width:"800px",title:"\u5206\u7EA2",open:y,onOk:function(){d(!1)},onCancel:function(){d(!1)},children:(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(l.Z,{rowKey:"id",columns:D,dataSource:P,pagination:!1})})})})}},92790:function(b,T,a){a.d(T,{KP:function(){return C},Lp:function(){return O},QN:function(){return y},a5:function(){return j},aT:function(){return v},nr:function(){return D},sb:function(){return P},tX:function(){return h}});var g=a(90228),r=a.n(g),m=a(87999),i=a.n(m),l=a(7485);function v(n){return u.apply(this,arguments)}function u(){return u=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),u.apply(this,arguments)}function h(n){return s.apply(this,arguments)}function s(){return s=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/export",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{},responseType:"blob"}));case 1:case"end":return e.stop()}},n)})),s.apply(this,arguments)}function y(n){return d.apply(this,arguments)}function d(){return d=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/orderIncomeList?id=".concat(t),{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return e.stop()}},n)})),d.apply(this,arguments)}function O(n){return p.apply(this,arguments)}function p(){return p=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/orderRefund",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),p.apply(this,arguments)}function j(n){return E.apply(this,arguments)}function E(){return E=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/getWeiXinCollect",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),E.apply(this,arguments)}function C(n){return c.apply(this,arguments)}function c(){return c=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/getCollect",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),c.apply(this,arguments)}function P(n){return f.apply(this,arguments)}function f(){return f=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/getBalance",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),f.apply(this,arguments)}function D(n){return o.apply(this,arguments)}function o(){return o=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/orders/getZhiFuBaoCollect",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),o.apply(this,arguments)}}}]);
