👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
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.
 
 
 

1 lines
3.8 KiB

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[3284],{16894:function(d,o,t){"use strict";var P=t(80392),c=t(14487);o.ZP=c.Z},51630:function(d){d.exports={title:"title___-lUBE"}},29969:function(d,o,t){"use strict";t.r(o),t.d(o,{default:function(){return N}});var P=t(58024),c=t(91894),K=t(48736),v=t(27049),U=t(98858),n=t(4914),L=t(54029),x=t(79166),b=t(75362),y=t(16894),Q=t(67294),D=t(25377),A=t(3182),W=t(94043),j=t.n(W);function R(){return m.apply(this,arguments)}function m(){return m=(0,A.Z)(j().mark(function f(){return j().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,D.WY)("/api/profile/basic"));case 1:case"end":return u.stop()}},f)})),m.apply(this,arguments)}var T=t(51630),B=t.n(T),e=t(85893),G=[{title:"\u65F6\u95F4",dataIndex:"time",key:"time"},{title:"\u5F53\u524D\u8FDB\u5EA6",dataIndex:"rate",key:"rate"},{title:"\u72B6\u6001",dataIndex:"status",key:"status",render:function(i){return i==="success"?(0,e.jsx)(x.Z,{status:"success",text:"\u6210\u529F"}):(0,e.jsx)(x.Z,{status:"processing",text:"\u8FDB\u884C\u4E2D"})}},{title:"\u64CD\u4F5C\u5458ID",dataIndex:"operator",key:"operator"},{title:"\u8017\u65F6",dataIndex:"cost",key:"cost"}],M=function(){var i=(0,D.QT)(function(){return R()}),u=i.data,E=i.loading,p=u||{basicGoods:[],basicProgress:[]},a=p.basicGoods,O=p.basicProgress,I=[];if(a.length){var Z=0,F=0;a.forEach(function(l){Z+=Number(l.num),F+=Number(l.amount)}),I=a.concat({id:"\u603B\u8BA1",num:Z,amount:F})}var g=function(r,h,s){var C={children:r,props:{}};return s===a.length&&(C.props.colSpan=0),C},S=[{title:"\u5546\u54C1\u7F16\u53F7",dataIndex:"id",key:"id",render:function(r,h,s){return s<a.length?(0,e.jsx)("span",{children:r}):{children:(0,e.jsx)("span",{style:{fontWeight:600},children:"\u603B\u8BA1"}),props:{colSpan:4}}}},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"name",key:"name",render:g},{title:"\u5546\u54C1\u6761\u7801",dataIndex:"barcode",key:"barcode",render:g},{title:"\u5355\u4EF7",dataIndex:"price",key:"price",align:"right",render:g},{title:"\u6570\u91CF\uFF08\u4EF6\uFF09",dataIndex:"num",key:"num",align:"right",render:function(r,h,s){return s<a.length?r:(0,e.jsx)("span",{style:{fontWeight:600},children:r})}},{title:"\u91D1\u989D",dataIndex:"amount",key:"amount",align:"right",render:function(r,h,s){return s<a.length?r:(0,e.jsx)("span",{style:{fontWeight:600},children:r})}}];return(0,e.jsx)(b.ZP,{children:(0,e.jsxs)(c.Z,{bordered:!1,children:[(0,e.jsxs)(n.Z,{title:"\u9000\u6B3E\u7533\u8BF7",style:{marginBottom:32},children:[(0,e.jsx)(n.Z.Item,{label:"\u53D6\u8D27\u5355\u53F7",children:"1000000000"}),(0,e.jsx)(n.Z.Item,{label:"\u72B6\u6001",children:"\u5DF2\u53D6\u8D27"}),(0,e.jsx)(n.Z.Item,{label:"\u9500\u552E\u5355\u53F7",children:"1234123421"}),(0,e.jsx)(n.Z.Item,{label:"\u5B50\u8BA2\u5355",children:"3214321432"})]}),(0,e.jsx)(v.Z,{style:{marginBottom:32}}),(0,e.jsxs)(n.Z,{title:"\u7528\u6237\u4FE1\u606F",style:{marginBottom:32},children:[(0,e.jsx)(n.Z.Item,{label:"\u7528\u6237\u59D3\u540D",children:"\u4ED8\u5C0F\u5C0F"}),(0,e.jsx)(n.Z.Item,{label:"\u8054\u7CFB\u7535\u8BDD",children:"18100000000"}),(0,e.jsx)(n.Z.Item,{label:"\u5E38\u7528\u5FEB\u9012",children:"\u83DC\u9E1F\u4ED3\u50A8"}),(0,e.jsx)(n.Z.Item,{label:"\u53D6\u8D27\u5730\u5740",children:"\u6D59\u6C5F\u7701\u676D\u5DDE\u5E02\u897F\u6E56\u533A\u4E07\u5858\u8DEF18\u53F7"}),(0,e.jsx)(n.Z.Item,{label:"\u5907\u6CE8",children:"\u65E0"})]}),(0,e.jsx)(v.Z,{style:{marginBottom:32}}),(0,e.jsx)("div",{className:B().title,children:"\u9000\u8D27\u5546\u54C1"}),(0,e.jsx)(y.ZP,{style:{marginBottom:24},pagination:!1,search:!1,loading:E,options:!1,toolBarRender:!1,dataSource:I,columns:S,rowKey:"id"}),(0,e.jsx)("div",{className:B().title,children:"\u9000\u8D27\u8FDB\u5EA6"}),(0,e.jsx)(y.ZP,{style:{marginBottom:16},pagination:!1,loading:E,search:!1,options:!1,toolBarRender:!1,dataSource:O,columns:G})]})})},N=M}}]);