(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[1555,1322],{86031:function(C,o,t){"use strict";t.r(o),t.d(o,{default:function(){return L}});var v=t(3182),p=t(94043),r=t.n(p),f=t(67294),g=t(78009),y=t(16894),I=t(48971);function x(u){return i.apply(this,arguments)}function i(){return i=(0,v.Z)(r().mark(function u(s){return r().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.WY)("/kitchen/api/one-card/enterprise-reservation-page",{method:"Post",data:s}));case 1:case"end":return a.stop()}},u)})),i.apply(this,arguments)}var h=t(85893),R=function(){var s=(0,f.useRef)();(0,f.useEffect)(function(){},[]);var T=[{title:"\u4E3B\u952E",dataIndex:"id",hideInTable:!0,hideInSearch:!0},{title:"\u516C\u53F8",dataIndex:"name",valueType:"textarea"},{title:"\u9884\u7EA6\u4EBA\u6570",dataIndex:"peopleQuantity",search:!1,valueType:"textarea"},{title:"\u5230\u573A\u65F6\u95F4",dataIndex:"arrivalTimeList",hideInTable:!0,valueType:"dateTimeRange"},{title:"\u5230\u573A\u65F6\u95F4",dataIndex:"arrivalTime",search:!1,valueType:"dateTime"},{title:"\u9884\u7EA6\u65F6\u95F4",dataIndex:"createAtList",hideInTable:!0,valueType:"dateTimeRange"},{title:"\u9884\u7EA6\u65F6\u95F4",search:!1,dataIndex:"createAt",valueType:"dateTime"}];return(0,h.jsx)(g.ZP,{children:(0,h.jsx)(y.ZP,{headerTitle:"\u67E5\u8BE2\u8868\u683C",actionRef:s,showHiddenNum:!0,rowKey:"id",search:{labelWidth:120},request:function(){var a=(0,v.Z)(r().mark(function d(e){var l,c;return r().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.arrivalTimeList!=null&&(e.arrivalStartTime=e.arrivalTimeList[0],e.arrivalEndTime=e.arrivalTimeList[1]),e.createAtList!=null&&(e.createStartTime=e.createAtList[0],e.createEndTime=e.createAtList[1]),l=[],c=0,n.next=6,x(e).then(function(m){l=m.data.data.data,c=m.data.data.total});case 6:return n.abrupt("return",{data:l,success:!0,total:c});case 7:case"end":return n.stop()}},d)}));return function(d){return a.apply(this,arguments)}}(),columns:T,rowSelection:{onChange:function(d,e){setSelectedRows(e)}}})})},L=R}}]);
