"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9671],{19772:function(P,u,a){a.r(u);var h=a(54306),_=a.n(h),i=a(93236),E=a(92750),o=a(1045),f=a(90627),e=a(62086),p=f.Z.ShopController.shopTeam;u.default=function(d){var t=d.values,O=d.modalOpenState,v=d.onModalOpenState,x=(0,i.useState)(null),m=_()(x,2),D=m[0],A=m[1],j=(0,i.useState)(null),r=_()(j,2),M=r[0],I=r[1];(0,i.useEffect)(function(){t!=null&&t.id&&p({shop_id:t==null?void 0:t.id}).then(function(l){var s=l.data,n=l.success;n&&(I((s==null?void 0:s.shop1)||[]),A(s==null?void 0:s.shop2))}).catch(function(){})},[t]);var c=[{title:"ID",dataIndex:"id",search:!1},{title:"\u6295\u8D44\u4EBA",dataIndex:"shop",search:!1,render:function(s,n){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{children:["\u7528\u6237\u540D\uFF1A",n==null?void 0:n.username]}),(0,e.jsxs)("div",{children:["\u624B\u673A\u53F7\uFF1A",n==null?void 0:n.mobile]}),(0,e.jsxs)("div",{children:["\u7B49\u7EA7\uFF1A",n==null?void 0:n.vip]})]})}},{title:"\u4F59\u989D",dataIndex:"money",search:!1},{title:"\u5145\u7535\u6869",dataIndex:"device_num",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",search:!1}];return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(E.Z,{width:"800px",title:"",open:O,onOk:function(){v(!1)},onCancel:function(){v(!1)},children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{style:{margin:"15px 0"},children:"\u4E0A\u7EA7"}),(0,e.jsx)(o.Z,{rowKey:"id",columns:c,dataSource:M,pagination:!1}),(0,e.jsx)("div",{style:{margin:"15px 0"},children:"\u4E0B\u7EA7"}),(0,e.jsx)(o.Z,{rowKey:"id",columns:c,dataSource:D,pagination:!1})]})})})}}}]);
